health_pb2.py 1.9 KB

1234567891011121314151617181920212223242526272829303132
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: grpc_m/health/health.proto
  4. # Protobuf Python Version: 4.25.0
  5. """Generated protocol buffer code."""
  6. from google.protobuf import descriptor as _descriptor
  7. from google.protobuf import descriptor_pool as _descriptor_pool
  8. from google.protobuf import symbol_database as _symbol_database
  9. from google.protobuf.internal import builder as _builder
  10. # @@protoc_insertion_point(imports)
  11. _sym_db = _symbol_database.Default()
  12. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1agrpc_m/health/health.proto\x12\x0egrpc.health.v1\"%\n\x12HealthCheckRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\"\xa9\x01\n\x13HealthCheckResponse\x12\x41\n\x06status\x18\x01 \x01(\x0e\x32\x31.grpc.health.v1.HealthCheckResponse.ServingStatus\"O\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\x12\x13\n\x0fSERVICE_UNKNOWN\x10\x03\x32\xae\x01\n\x06Health\x12P\n\x05\x43heck\x12\".grpc.health.v1.HealthCheckRequest\x1a#.grpc.health.v1.HealthCheckResponse\x12R\n\x05Watch\x12\".grpc.health.v1.HealthCheckRequest\x1a#.grpc.health.v1.HealthCheckResponse0\x01\x62\x06proto3')
  13. _globals = globals()
  14. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
  15. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'grpc_m.health.health_pb2', _globals)
  16. if _descriptor._USE_C_DESCRIPTORS == False:
  17. DESCRIPTOR._options = None
  18. _globals['_HEALTHCHECKREQUEST']._serialized_start=46
  19. _globals['_HEALTHCHECKREQUEST']._serialized_end=83
  20. _globals['_HEALTHCHECKRESPONSE']._serialized_start=86
  21. _globals['_HEALTHCHECKRESPONSE']._serialized_end=255
  22. _globals['_HEALTHCHECKRESPONSE_SERVINGSTATUS']._serialized_start=176
  23. _globals['_HEALTHCHECKRESPONSE_SERVINGSTATUS']._serialized_end=255
  24. _globals['_HEALTH']._serialized_start=258
  25. _globals['_HEALTH']._serialized_end=432
  26. # @@protoc_insertion_point(module_scope)