123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protobuf/common/messageData.proto
- import sys
- _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
- from google.protobuf.internal import enum_type_wrapper
- from google.protobuf import descriptor as _descriptor
- from google.protobuf import message as _message
- from google.protobuf import reflection as _reflection
- from google.protobuf import symbol_database as _symbol_database
- # @@protoc_insertion_point(imports)
- _sym_db = _symbol_database.Default()
- DESCRIPTOR = _descriptor.FileDescriptor(
- name='protobuf/common/messageData.proto',
- package='protobuf.common',
- syntax='proto3',
- serialized_options=None,
- serialized_pb=_b('\n!protobuf/common/messageData.proto\x12\x0fprotobuf.common\"\xc1\x01\n\x0bmessageData\x12\x11\n\ttimestamp\x18\x01 \x01(\x01\x12\x31\n\x0b\x65nvironment\x18\x02 \x01(\x0e\x32\x1c.protobuf.common.Environment\x12\x17\n\x0fsending_service\x18\x03 \x01(\t\x12\x0c\n\x04uuid\x18\x04 \x01(\t\x12\x10\n\x08iso_date\x18\x05 \x01(\t\x12\x0e\n\x06offset\x18\x06 \x01(\x03\x12\x11\n\tpartition\x18\x07 \x01(\x03\x12\x10\n\x08trace_id\x18\x08 \x01(\t*T\n\x0b\x45nvironment\x12\x17\n\x13UNKNOWN_ENVIRONMENT\x10\x00\x12\x0e\n\nPRODUCTION\x10\x01\x12\x0f\n\x0b\x44\x45VELOPMENT\x10\x02\x12\x0b\n\x07STAGING\x10\x03\x62\x06proto3')
- )
- _ENVIRONMENT = _descriptor.EnumDescriptor(
- name='Environment',
- full_name='protobuf.common.Environment',
- filename=None,
- file=DESCRIPTOR,
- values=[
- _descriptor.EnumValueDescriptor(
- name='UNKNOWN_ENVIRONMENT', index=0, number=0,
- serialized_options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='PRODUCTION', index=1, number=1,
- serialized_options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='DEVELOPMENT', index=2, number=2,
- serialized_options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='STAGING', index=3, number=3,
- serialized_options=None,
- type=None),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=250,
- serialized_end=334,
- )
- _sym_db.RegisterEnumDescriptor(_ENVIRONMENT)
- Environment = enum_type_wrapper.EnumTypeWrapper(_ENVIRONMENT)
- UNKNOWN_ENVIRONMENT = 0
- PRODUCTION = 1
- DEVELOPMENT = 2
- STAGING = 3
- _MESSAGEDATA = _descriptor.Descriptor(
- name='messageData',
- full_name='protobuf.common.messageData',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='timestamp', full_name='protobuf.common.messageData.timestamp', index=0,
- number=1, type=1, cpp_type=5, label=1,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='environment', full_name='protobuf.common.messageData.environment', index=1,
- number=2, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='sending_service', full_name='protobuf.common.messageData.sending_service', index=2,
- number=3, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='uuid', full_name='protobuf.common.messageData.uuid', index=3,
- number=4, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='iso_date', full_name='protobuf.common.messageData.iso_date', index=4,
- number=5, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='offset', full_name='protobuf.common.messageData.offset', index=5,
- number=6, type=3, cpp_type=2, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='partition', full_name='protobuf.common.messageData.partition', index=6,
- number=7, type=3, cpp_type=2, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='trace_id', full_name='protobuf.common.messageData.trace_id', index=7,
- number=8, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=55,
- serialized_end=248,
- )
- _MESSAGEDATA.fields_by_name['environment'].enum_type = _ENVIRONMENT
- DESCRIPTOR.message_types_by_name['messageData'] = _MESSAGEDATA
- DESCRIPTOR.enum_types_by_name['Environment'] = _ENVIRONMENT
- _sym_db.RegisterFileDescriptor(DESCRIPTOR)
- messageData = _reflection.GeneratedProtocolMessageType('messageData', (_message.Message,), dict(
- DESCRIPTOR = _MESSAGEDATA,
- __module__ = 'protobuf.common.messageData_pb2'
- # @@protoc_insertion_point(class_scope:protobuf.common.messageData)
- ))
- _sym_db.RegisterMessage(messageData)
- # @@protoc_insertion_point(module_scope)
|