Skip to content

Commit

Permalink
chore: auto-gen by protobufs
Browse files Browse the repository at this point in the history
triggered by commit: instill-ai/protobufs@aaf9e56
  • Loading branch information
droplet-bot committed Aug 31, 2023
1 parent 3ec9301 commit afe7772
Show file tree
Hide file tree
Showing 76 changed files with 14,895 additions and 0 deletions.
1,340 changes: 1,340 additions & 0 deletions base/metric/v1alpha/metric_pb2.pyi

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions base/metric/v1alpha/metric_pb2_grpc.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import abc
import collections.abc
import grpc
import grpc.aio
import typing

_T = typing.TypeVar('_T')

class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta):
...

class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore
...
13 changes: 13 additions & 0 deletions base/metric/v1alpha/metric_service_pb2.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
This is the POC for metric-backend service that supports
1. receiving usage reports from pipeline-backend and model-backend clients
2. uploading usage to InfluxDB
3. uploading usage to Stripe
4. responding usage/price enquiries from clients
"""
import google.protobuf.descriptor

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
494 changes: 494 additions & 0 deletions base/metric/v1alpha/metric_service_pb2_grpc.pyi

Large diffs are not rendered by default.

682 changes: 682 additions & 0 deletions base/mgmt/v1alpha/metric_pb2.pyi

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions base/mgmt/v1alpha/metric_pb2_grpc.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import abc
import collections.abc
import grpc
import grpc.aio
import typing

_T = typing.TypeVar('_T')

class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta):
...

class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore
...
932 changes: 932 additions & 0 deletions base/mgmt/v1alpha/mgmt_pb2.pyi

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions base/mgmt/v1alpha/mgmt_pb2_grpc.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import abc
import collections.abc
import grpc
import grpc.aio
import typing

_T = typing.TypeVar('_T')

class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta):
...

class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore
...
7 changes: 7 additions & 0 deletions base/mgmt/v1alpha/mgmt_private_service_pb2.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import google.protobuf.descriptor

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
171 changes: 171 additions & 0 deletions base/mgmt/v1alpha/mgmt_private_service_pb2_grpc.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import abc
import base.mgmt.v1alpha.mgmt_pb2
import collections.abc
import grpc
import grpc.aio
import typing

_T = typing.TypeVar('_T')

class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta):
...

class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore
...

class MgmtPrivateServiceStub:
"""Mgmt service responds to internal access"""

def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
ListUsersAdmin: grpc.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.ListUsersAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.ListUsersAdminResponse,
]
"""ListUsersAdmin method receives a ListUsersAdminRequest message and returns
a ListUsersAdminResponse message.
"""
CreateUserAdmin: grpc.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.CreateUserAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.CreateUserAdminResponse,
]
"""CreateUserAdmin receives a CreateUserAdminRequest message and returns a
a GetUserAdminResponse
"""
GetUserAdmin: grpc.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.GetUserAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.GetUserAdminResponse,
]
"""GetUserAdmin method receives a GetUserAdminRequest message and returns
a GetUserAdminResponse message.
"""
UpdateUserAdmin: grpc.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminResponse,
]
"""UpdateUserAdmin method receives a UpdateUserAdminRequest message and
returns a UpdateUserAdminResponse
"""
DeleteUserAdmin: grpc.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminResponse,
]
"""DeleteUserAdmin method receives a DeleteUserAdminRequest message and
returns a DeleteUserAdminResponse
"""
LookUpUserAdmin: grpc.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminResponse,
]
"""LookUpUserAdmin method receives a LookUpUserAdminRequest message and
returns a LookUpUserAdminResponse
"""

class MgmtPrivateServiceAsyncStub:
"""Mgmt service responds to internal access"""

ListUsersAdmin: grpc.aio.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.ListUsersAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.ListUsersAdminResponse,
]
"""ListUsersAdmin method receives a ListUsersAdminRequest message and returns
a ListUsersAdminResponse message.
"""
CreateUserAdmin: grpc.aio.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.CreateUserAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.CreateUserAdminResponse,
]
"""CreateUserAdmin receives a CreateUserAdminRequest message and returns a
a GetUserAdminResponse
"""
GetUserAdmin: grpc.aio.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.GetUserAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.GetUserAdminResponse,
]
"""GetUserAdmin method receives a GetUserAdminRequest message and returns
a GetUserAdminResponse message.
"""
UpdateUserAdmin: grpc.aio.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminResponse,
]
"""UpdateUserAdmin method receives a UpdateUserAdminRequest message and
returns a UpdateUserAdminResponse
"""
DeleteUserAdmin: grpc.aio.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminResponse,
]
"""DeleteUserAdmin method receives a DeleteUserAdminRequest message and
returns a DeleteUserAdminResponse
"""
LookUpUserAdmin: grpc.aio.UnaryUnaryMultiCallable[
base.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminRequest,
base.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminResponse,
]
"""LookUpUserAdmin method receives a LookUpUserAdminRequest message and
returns a LookUpUserAdminResponse
"""

class MgmtPrivateServiceServicer(metaclass=abc.ABCMeta):
"""Mgmt service responds to internal access"""

@abc.abstractmethod
def ListUsersAdmin(
self,
request: base.mgmt.v1alpha.mgmt_pb2.ListUsersAdminRequest,
context: _ServicerContext,
) -> typing.Union[base.mgmt.v1alpha.mgmt_pb2.ListUsersAdminResponse, collections.abc.Awaitable[base.mgmt.v1alpha.mgmt_pb2.ListUsersAdminResponse]]:
"""ListUsersAdmin method receives a ListUsersAdminRequest message and returns
a ListUsersAdminResponse message.
"""
@abc.abstractmethod
def CreateUserAdmin(
self,
request: base.mgmt.v1alpha.mgmt_pb2.CreateUserAdminRequest,
context: _ServicerContext,
) -> typing.Union[base.mgmt.v1alpha.mgmt_pb2.CreateUserAdminResponse, collections.abc.Awaitable[base.mgmt.v1alpha.mgmt_pb2.CreateUserAdminResponse]]:
"""CreateUserAdmin receives a CreateUserAdminRequest message and returns a
a GetUserAdminResponse
"""
@abc.abstractmethod
def GetUserAdmin(
self,
request: base.mgmt.v1alpha.mgmt_pb2.GetUserAdminRequest,
context: _ServicerContext,
) -> typing.Union[base.mgmt.v1alpha.mgmt_pb2.GetUserAdminResponse, collections.abc.Awaitable[base.mgmt.v1alpha.mgmt_pb2.GetUserAdminResponse]]:
"""GetUserAdmin method receives a GetUserAdminRequest message and returns
a GetUserAdminResponse message.
"""
@abc.abstractmethod
def UpdateUserAdmin(
self,
request: base.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminRequest,
context: _ServicerContext,
) -> typing.Union[base.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminResponse, collections.abc.Awaitable[base.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminResponse]]:
"""UpdateUserAdmin method receives a UpdateUserAdminRequest message and
returns a UpdateUserAdminResponse
"""
@abc.abstractmethod
def DeleteUserAdmin(
self,
request: base.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminRequest,
context: _ServicerContext,
) -> typing.Union[base.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminResponse, collections.abc.Awaitable[base.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminResponse]]:
"""DeleteUserAdmin method receives a DeleteUserAdminRequest message and
returns a DeleteUserAdminResponse
"""
@abc.abstractmethod
def LookUpUserAdmin(
self,
request: base.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminRequest,
context: _ServicerContext,
) -> typing.Union[base.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminResponse, collections.abc.Awaitable[base.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminResponse]]:
"""LookUpUserAdmin method receives a LookUpUserAdminRequest message and
returns a LookUpUserAdminResponse
"""

def add_MgmtPrivateServiceServicer_to_server(servicer: MgmtPrivateServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
7 changes: 7 additions & 0 deletions base/mgmt/v1alpha/mgmt_public_service_pb2.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import google.protobuf.descriptor

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
Loading

0 comments on commit afe7772

Please sign in to comment.