timestamp_pb2.py 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: google/protobuf/timestamp.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/timestamp.proto',
  14. package='google.protobuf',
  15. syntax='proto3',
  16. serialized_pb=_b('\n\x1fgoogle/protobuf/timestamp.proto\x12\x0fgoogle.protobuf\"+\n\tTimestamp\x12\x0f\n\x07seconds\x18\x01 \x01(\x03\x12\r\n\x05nanos\x18\x02 \x01(\x05\x42~\n\x13\x63om.google.protobufB\x0eTimestampProtoP\x01Z+github.com/golang/protobuf/ptypes/timestamp\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3')
  17. )
  18. _TIMESTAMP = _descriptor.Descriptor(
  19. name='Timestamp',
  20. full_name='google.protobuf.Timestamp',
  21. filename=None,
  22. file=DESCRIPTOR,
  23. containing_type=None,
  24. fields=[
  25. _descriptor.FieldDescriptor(
  26. name='seconds', full_name='google.protobuf.Timestamp.seconds', index=0,
  27. number=1, type=3, cpp_type=2, label=1,
  28. has_default_value=False, default_value=0,
  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='nanos', full_name='google.protobuf.Timestamp.nanos', index=1,
  34. number=2, type=5, cpp_type=1, label=1,
  35. has_default_value=False, default_value=0,
  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=52,
  52. serialized_end=95,
  53. )
  54. DESCRIPTOR.message_types_by_name['Timestamp'] = _TIMESTAMP
  55. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  56. Timestamp = _reflection.GeneratedProtocolMessageType('Timestamp', (_message.Message,), dict(
  57. DESCRIPTOR = _TIMESTAMP,
  58. __module__ = 'google.protobuf.timestamp_pb2'
  59. # @@protoc_insertion_point(class_scope:google.protobuf.Timestamp)
  60. ))
  61. _sym_db.RegisterMessage(Timestamp)
  62. DESCRIPTOR.has_options = True
  63. DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\023com.google.protobufB\016TimestampProtoP\001Z+github.com/golang/protobuf/ptypes/timestamp\370\001\001\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTypes'))
  64. # @@protoc_insertion_point(module_scope)