|
| 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 |
0 commit comments