any_pb2.py 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: google/protobuf/any.proto
  3. import sys
  4. _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
  5. from google.protobuf import descriptor as _descriptor
  6. from google.protobuf import message as _message
  7. from google.protobuf import reflection as _reflection
  8. from google.protobuf import symbol_database as _symbol_database
  9. from google.protobuf import descriptor_pb2
  10. # @@protoc_insertion_point(imports)
  11. _sym_db = _symbol_database.Default()
  12. DESCRIPTOR = _descriptor.FileDescriptor(
  13. name='google/protobuf/any.proto',
  14. package='google.protobuf',
  15. syntax='proto3',
  16. serialized_pb=_b('\n\x19google/protobuf/any.proto\x12\x0fgoogle.protobuf\"&\n\x03\x41ny\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x42o\n\x13\x63om.google.protobufB\x08\x41nyProtoP\x01Z%github.com/golang/protobuf/ptypes/any\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3')
  17. )
  18. _ANY = _descriptor.Descriptor(
  19. name='Any',
  20. full_name='google.protobuf.Any',
  21. filename=None,
  22. file=DESCRIPTOR,
  23. containing_type=None,
  24. fields=[
  25. _descriptor.FieldDescriptor(
  26. name='type_url', full_name='google.protobuf.Any.type_url', index=0,
  27. number=1, type=9, cpp_type=9, label=1,
  28. has_default_value=False, default_value=_b("").decode('utf-8'),
  29. message_type=None, enum_type=None, containing_type=None,
  30. is_extension=False, extension_scope=None,
  31. options=None),
  32. _descriptor.FieldDescriptor(
  33. name='value', full_name='google.protobuf.Any.value', index=1,
  34. number=2, type=12, cpp_type=9, label=1,
  35. has_default_value=False, default_value=_b(""),
  36. message_type=None, enum_type=None, containing_type=None,
  37. is_extension=False, extension_scope=None,
  38. options=None),
  39. ],
  40. extensions=[
  41. ],
  42. nested_types=[],
  43. enum_types=[
  44. ],
  45. options=None,
  46. is_extendable=False,
  47. syntax='proto3',
  48. extension_ranges=[],
  49. oneofs=[
  50. ],
  51. serialized_start=46,
  52. serialized_end=84,
  53. )
  54. DESCRIPTOR.message_types_by_name['Any'] = _ANY
  55. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  56. Any = _reflection.GeneratedProtocolMessageType('Any', (_message.Message,), dict(
  57. DESCRIPTOR = _ANY,
  58. __module__ = 'google.protobuf.any_pb2'
  59. # @@protoc_insertion_point(class_scope:google.protobuf.Any)
  60. ))
  61. _sym_db.RegisterMessage(Any)
  62. DESCRIPTOR.has_options = True
  63. DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\023com.google.protobufB\010AnyProtoP\001Z%github.com/golang/protobuf/ptypes/any\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTypes'))
  64. # @@protoc_insertion_point(module_scope)