Skip to content

Commit 01876be

Browse files
committed
chore: auto-gen by protobufs
triggered by commit: instill-ai/protobufs@d3446a9
1 parent 83ee5f3 commit 01876be

17 files changed

+4993
-2
lines changed

agent/agent/v1alpha/agent_pb2.py

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

agent/agent/v1alpha/agent_pb2.pyi

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
"""
2+
@generated by mypy-protobuf. Do not edit manually!
3+
isort:skip_file
4+
"""
5+
import builtins
6+
import common.healthcheck.v1beta.healthcheck_pb2
7+
import google.protobuf.descriptor
8+
import google.protobuf.message
9+
import sys
10+
11+
if sys.version_info >= (3, 8):
12+
import typing as typing_extensions
13+
else:
14+
import typing_extensions
15+
16+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
17+
18+
@typing_extensions.final
19+
class LivenessRequest(google.protobuf.message.Message):
20+
"""LivenessRequest represents a request to check a service liveness status"""
21+
22+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
23+
24+
HEALTH_CHECK_REQUEST_FIELD_NUMBER: builtins.int
25+
@property
26+
def health_check_request(self) -> common.healthcheck.v1beta.healthcheck_pb2.HealthCheckRequest:
27+
"""HealthCheckRequest message"""
28+
def __init__(
29+
self,
30+
*,
31+
health_check_request: common.healthcheck.v1beta.healthcheck_pb2.HealthCheckRequest | None = ...,
32+
) -> None: ...
33+
def HasField(self, field_name: typing_extensions.Literal["_health_check_request", b"_health_check_request", "health_check_request", b"health_check_request"]) -> builtins.bool: ...
34+
def ClearField(self, field_name: typing_extensions.Literal["_health_check_request", b"_health_check_request", "health_check_request", b"health_check_request"]) -> None: ...
35+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_health_check_request", b"_health_check_request"]) -> typing_extensions.Literal["health_check_request"] | None: ...
36+
37+
global___LivenessRequest = LivenessRequest
38+
39+
@typing_extensions.final
40+
class LivenessResponse(google.protobuf.message.Message):
41+
"""LivenessResponse represents a response for a service liveness status"""
42+
43+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
44+
45+
HEALTH_CHECK_RESPONSE_FIELD_NUMBER: builtins.int
46+
@property
47+
def health_check_response(self) -> common.healthcheck.v1beta.healthcheck_pb2.HealthCheckResponse:
48+
"""HealthCheckResponse message"""
49+
def __init__(
50+
self,
51+
*,
52+
health_check_response: common.healthcheck.v1beta.healthcheck_pb2.HealthCheckResponse | None = ...,
53+
) -> None: ...
54+
def HasField(self, field_name: typing_extensions.Literal["health_check_response", b"health_check_response"]) -> builtins.bool: ...
55+
def ClearField(self, field_name: typing_extensions.Literal["health_check_response", b"health_check_response"]) -> None: ...
56+
57+
global___LivenessResponse = LivenessResponse
58+
59+
@typing_extensions.final
60+
class ReadinessRequest(google.protobuf.message.Message):
61+
"""ReadinessRequest represents a request to check a service readiness status"""
62+
63+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
64+
65+
HEALTH_CHECK_REQUEST_FIELD_NUMBER: builtins.int
66+
@property
67+
def health_check_request(self) -> common.healthcheck.v1beta.healthcheck_pb2.HealthCheckRequest:
68+
"""HealthCheckRequest message"""
69+
def __init__(
70+
self,
71+
*,
72+
health_check_request: common.healthcheck.v1beta.healthcheck_pb2.HealthCheckRequest | None = ...,
73+
) -> None: ...
74+
def HasField(self, field_name: typing_extensions.Literal["_health_check_request", b"_health_check_request", "health_check_request", b"health_check_request"]) -> builtins.bool: ...
75+
def ClearField(self, field_name: typing_extensions.Literal["_health_check_request", b"_health_check_request", "health_check_request", b"health_check_request"]) -> None: ...
76+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_health_check_request", b"_health_check_request"]) -> typing_extensions.Literal["health_check_request"] | None: ...
77+
78+
global___ReadinessRequest = ReadinessRequest
79+
80+
@typing_extensions.final
81+
class ReadinessResponse(google.protobuf.message.Message):
82+
"""ReadinessResponse represents a response for a service readiness status"""
83+
84+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
85+
86+
HEALTH_CHECK_RESPONSE_FIELD_NUMBER: builtins.int
87+
@property
88+
def health_check_response(self) -> common.healthcheck.v1beta.healthcheck_pb2.HealthCheckResponse:
89+
"""HealthCheckResponse message"""
90+
def __init__(
91+
self,
92+
*,
93+
health_check_response: common.healthcheck.v1beta.healthcheck_pb2.HealthCheckResponse | None = ...,
94+
) -> None: ...
95+
def HasField(self, field_name: typing_extensions.Literal["health_check_response", b"health_check_response"]) -> builtins.bool: ...
96+
def ClearField(self, field_name: typing_extensions.Literal["health_check_response", b"health_check_response"]) -> None: ...
97+
98+
global___ReadinessResponse = ReadinessResponse

agent/agent/v1alpha/agent_pb2_grpc.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2+
"""Client and server classes corresponding to protobuf-defined services."""
3+
import grpc
4+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""
2+
@generated by mypy-protobuf. Do not edit manually!
3+
isort:skip_file
4+
"""
5+
import abc
6+
import collections.abc
7+
import grpc
8+
import grpc.aio
9+
import typing
10+
11+
_T = typing.TypeVar('_T')
12+
13+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta):
14+
...
15+
16+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore
17+
...

0 commit comments

Comments
 (0)