# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/protobuf/internal/factory_test2.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool 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() from google.protobuf.internal import factory_test1_pb2 as google_dot_protobuf_dot_internal_dot_factory__test1__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,google/protobuf/internal/factory_test2.proto\x12\x1fgoogle.protobuf.python.internal\x1a,google/protobuf/internal/factory_test1.proto\"\xd8\x0b\n\x0f\x46\x61\x63tory2Message\x12\x11\n\tmandatory\x18\x01 \x02(\x05\x12\x45\n\x0e\x66\x61\x63tory_2_enum\x18\x02 \x01(\x0e\x32-.google.protobuf.python.internal.Factory2Enum\x12\x62\n\x15nested_factory_2_enum\x18\x03 \x01(\x0e\x32\x43.google.protobuf.python.internal.Factory2Message.NestedFactory2Enum\x12h\n\x18nested_factory_2_message\x18\x04 \x01(\x0b\x32\x46.google.protobuf.python.internal.Factory2Message.NestedFactory2Message\x12K\n\x11\x66\x61\x63tory_1_message\x18\x05 \x01(\x0b\x32\x30.google.protobuf.python.internal.Factory1Message\x12\x45\n\x0e\x66\x61\x63tory_1_enum\x18\x06 \x01(\x0e\x32-.google.protobuf.python.internal.Factory1Enum\x12\x62\n\x15nested_factory_1_enum\x18\x07 \x01(\x0e\x32\x43.google.protobuf.python.internal.Factory1Message.NestedFactory1Enum\x12h\n\x18nested_factory_1_message\x18\x08 \x01(\x0b\x32\x46.google.protobuf.python.internal.Factory1Message.NestedFactory1Message\x12J\n\x10\x63ircular_message\x18\t \x01(\x0b\x32\x30.google.protobuf.python.internal.Factory2Message\x12\x14\n\x0cscalar_value\x18\n \x01(\t\x12\x12\n\nlist_value\x18\x0b \x03(\t\x12I\n\x07grouped\x18\x0c \x03(\n28.google.protobuf.python.internal.Factory2Message.Grouped\x12:\n\x04loop\x18\x0f \x01(\x0b\x32,.google.protobuf.python.internal.LoopMessage\x12\x1e\n\x10int_with_default\x18\x10 \x01(\x05:\x04\x31\x37\x37\x36\x12!\n\x13\x64ouble_with_default\x18\x11 \x01(\x01:\x04\x39.99\x12(\n\x13string_with_default\x18\x12 \x01(\t:\x0bhello world\x12 \n\x11\x62ool_with_default\x18\x13 \x01(\x08:\x05\x66\x61lse\x12[\n\x11\x65num_with_default\x18\x14 \x01(\x0e\x32-.google.protobuf.python.internal.Factory2Enum:\x11\x46\x41\x43TORY_2_VALUE_1\x12&\n\x12\x62ytes_with_default\x18\x15 \x01(\x0c:\na\\373\\000c\x12\x13\n\toneof_int\x18\x16 \x01(\x05H\x00\x12\x16\n\x0coneof_string\x18\x17 \x01(\tH\x00\x1a&\n\x15NestedFactory2Message\x12\r\n\x05value\x18\x01 \x01(\t\x1a)\n\x07Grouped\x12\x0e\n\x06part_1\x18\r \x01(\t\x12\x0e\n\x06part_2\x18\x0e \x01(\t\"P\n\x12NestedFactory2Enum\x12\x1c\n\x18NESTED_FACTORY_2_VALUE_0\x10\x00\x12\x1c\n\x18NESTED_FACTORY_2_VALUE_1\x10\x01\x32I\n\x0eone_more_field\x12\x30.google.protobuf.python.internal.Factory1Message\x18\xe9\x07 \x01(\tB\r\n\x0boneof_field\"M\n\x0bLoopMessage\x12>\n\x04loop\x18\x01 \x01(\x0b\x32\x30.google.protobuf.python.internal.Factory2Message\"D\n\x19MessageWithNestedEnumOnly\"\'\n\nNestedEnum\x12\x19\n\x15NESTED_MESSAGE_ENUM_0\x10\x00\"\'\n\x11MessageWithOption\x12\x0e\n\x06\x66ield1\x18\x01 \x01(\x05:\x02\x10\x01*<\n\x0c\x46\x61\x63tory2Enum\x12\x15\n\x11\x46\x41\x43TORY_2_VALUE_0\x10\x00\x12\x15\n\x11\x46\x41\x43TORY_2_VALUE_1\x10\x01:H\n\ranother_field\x12\x30.google.protobuf.python.internal.Factory1Message\x18\xea\x07 \x01(\t') _FACTORY2ENUM = DESCRIPTOR.enum_types_by_name['Factory2Enum'] Factory2Enum = enum_type_wrapper.EnumTypeWrapper(_FACTORY2ENUM) FACTORY_2_VALUE_0 = 0 FACTORY_2_VALUE_1 = 1 ANOTHER_FIELD_FIELD_NUMBER = 1002 another_field = DESCRIPTOR.extensions_by_name['another_field'] _FACTORY2MESSAGE = DESCRIPTOR.message_types_by_name['Factory2Message'] _FACTORY2MESSAGE_NESTEDFACTORY2MESSAGE = _FACTORY2MESSAGE.nested_types_by_name['NestedFactory2Message'] _FACTORY2MESSAGE_GROUPED = _FACTORY2MESSAGE.nested_types_by_name['Grouped'] _LOOPMESSAGE = DESCRIPTOR.message_types_by_name['LoopMessage'] _MESSAGEWITHNESTEDENUMONLY = DESCRIPTOR.message_types_by_name['MessageWithNestedEnumOnly'] _MESSAGEWITHOPTION = DESCRIPTOR.message_types_by_name['MessageWithOption'] _FACTORY2MESSAGE_NESTEDFACTORY2ENUM = _FACTORY2MESSAGE.enum_types_by_name['NestedFactory2Enum'] _MESSAGEWITHNESTEDENUMONLY_NESTEDENUM = _MESSAGEWITHNESTEDENUMONLY.enum_types_by_name['NestedEnum'] Factory2Message = _reflection.GeneratedProtocolMessageType('Factory2Message', (_message.Message,), { 'NestedFactory2Message' : _reflection.GeneratedProtocolMessageType('NestedFactory2Message', (_message.Message,), { 'DESCRIPTOR' : _FACTORY2MESSAGE_NESTEDFACTORY2MESSAGE, '__module__' : 'google.protobuf.internal.factory_test2_pb2' # @@protoc_insertion_point(class_scope:google.protobuf.python.internal.Factory2Message.NestedFactory2Message) }) , 'Grouped' : _reflection.GeneratedProtocolMessageType('Grouped', (_message.Message,), { 'DESCRIPTOR' : _FACTORY2MESSAGE_GROUPED, '__module__' : 'google.protobuf.internal.factory_test2_pb2' # @@protoc_insertion_point(class_scope:google.protobuf.python.internal.Factory2Message.Grouped) }) , 'DESCRIPTOR' : _FACTORY2MESSAGE, '__module__' : 'google.protobuf.internal.factory_test2_pb2' # @@protoc_insertion_point(class_scope:google.protobuf.python.internal.Factory2Message) }) _sym_db.RegisterMessage(Factory2Message) _sym_db.RegisterMessage(Factory2Message.NestedFactory2Message) _sym_db.RegisterMessage(Factory2Message.Grouped) LoopMessage = _reflection.GeneratedProtocolMessageType('LoopMessage', (_message.Message,), { 'DESCRIPTOR' : _LOOPMESSAGE, '__module__' : 'google.protobuf.internal.factory_test2_pb2' # @@protoc_insertion_point(class_scope:google.protobuf.python.internal.LoopMessage) }) _sym_db.RegisterMessage(LoopMessage) MessageWithNestedEnumOnly = _reflection.GeneratedProtocolMessageType('MessageWithNestedEnumOnly', (_message.Message,), { 'DESCRIPTOR' : _MESSAGEWITHNESTEDENUMONLY, '__module__' : 'google.protobuf.internal.factory_test2_pb2' # @@protoc_insertion_point(class_scope:google.protobuf.python.internal.MessageWithNestedEnumOnly) }) _sym_db.RegisterMessage(MessageWithNestedEnumOnly) MessageWithOption = _reflection.GeneratedProtocolMessageType('MessageWithOption', (_message.Message,), { 'DESCRIPTOR' : _MESSAGEWITHOPTION, '__module__' : 'google.protobuf.internal.factory_test2_pb2' # @@protoc_insertion_point(class_scope:google.protobuf.python.internal.MessageWithOption) }) _sym_db.RegisterMessage(MessageWithOption) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_internal_dot_factory__test1__pb2.Factory1Message.RegisterExtension(another_field) google_dot_protobuf_dot_internal_dot_factory__test1__pb2.Factory1Message.RegisterExtension(_FACTORY2MESSAGE.extensions_by_name['one_more_field']) DESCRIPTOR._options = None _MESSAGEWITHOPTION._options = None _MESSAGEWITHOPTION._serialized_options = b'\020\001' _FACTORY2ENUM._serialized_start=1816 _FACTORY2ENUM._serialized_end=1876 _FACTORY2MESSAGE._serialized_start=128 _FACTORY2MESSAGE._serialized_end=1624 _FACTORY2MESSAGE_NESTEDFACTORY2MESSAGE._serialized_start=1371 _FACTORY2MESSAGE_NESTEDFACTORY2MESSAGE._serialized_end=1409 _FACTORY2MESSAGE_GROUPED._serialized_start=1411 _FACTORY2MESSAGE_GROUPED._serialized_end=1452 _FACTORY2MESSAGE_NESTEDFACTORY2ENUM._serialized_start=1454 _FACTORY2MESSAGE_NESTEDFACTORY2ENUM._serialized_end=1534 _LOOPMESSAGE._serialized_start=1626 _LOOPMESSAGE._serialized_end=1703 _MESSAGEWITHNESTEDENUMONLY._serialized_start=1705 _MESSAGEWITHNESTEDENUMONLY._serialized_end=1773 _MESSAGEWITHNESTEDENUMONLY_NESTEDENUM._serialized_start=1734 _MESSAGEWITHNESTEDENUMONLY_NESTEDENUM._serialized_end=1773 _MESSAGEWITHOPTION._serialized_start=1775 _MESSAGEWITHOPTION._serialized_end=1814 # @@protoc_insertion_point(module_scope)