You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
281 lines
10 KiB
281 lines
10 KiB
# Generated by the protocol buffer compiler. DO NOT EDIT! |
|
# source: google/protobuf/unittest_mset.proto |
|
|
|
import sys |
|
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) |
|
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 |
|
from google.protobuf import descriptor_pb2 |
|
# @@protoc_insertion_point(imports) |
|
|
|
_sym_db = _symbol_database.Default() |
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor( |
|
name='google/protobuf/unittest_mset.proto', |
|
package='protobuf_unittest', |
|
serialized_pb=_b('\n#google/protobuf/unittest_mset.proto\x12\x11protobuf_unittest\"\x1e\n\x0eTestMessageSet*\x08\x08\x04\x10\xff\xff\xff\xff\x07:\x02\x08\x01\"Q\n\x17TestMessageSetContainer\x12\x36\n\x0bmessage_set\x18\x01 \x01(\x0b\x32!.protobuf_unittest.TestMessageSet\"\x96\x01\n\x18TestMessageSetExtension1\x12\t\n\x01i\x18\x0f \x01(\x05\x32o\n\x15message_set_extension\x12!.protobuf_unittest.TestMessageSet\x18\xb0\xa6^ \x01(\x0b\x32+.protobuf_unittest.TestMessageSetExtension1\"\x98\x01\n\x18TestMessageSetExtension2\x12\x0b\n\x03str\x18\x19 \x01(\t2o\n\x15message_set_extension\x12!.protobuf_unittest.TestMessageSet\x18\xf9\xbb^ \x01(\x0b\x32+.protobuf_unittest.TestMessageSetExtension2\"n\n\rRawMessageSet\x12\x33\n\x04item\x18\x01 \x03(\n2%.protobuf_unittest.RawMessageSet.Item\x1a(\n\x04Item\x12\x0f\n\x07type_id\x18\x02 \x02(\x05\x12\x0f\n\x07message\x18\x03 \x02(\x0c\x42\x02H\x01') |
|
) |
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR) |
|
|
|
|
|
|
|
|
|
_TESTMESSAGESET = _descriptor.Descriptor( |
|
name='TestMessageSet', |
|
full_name='protobuf_unittest.TestMessageSet', |
|
filename=None, |
|
file=DESCRIPTOR, |
|
containing_type=None, |
|
fields=[ |
|
], |
|
extensions=[ |
|
], |
|
nested_types=[], |
|
enum_types=[ |
|
], |
|
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('\010\001')), |
|
is_extendable=True, |
|
extension_ranges=[(4, 2147483647), ], |
|
oneofs=[ |
|
], |
|
serialized_start=58, |
|
serialized_end=88, |
|
) |
|
|
|
|
|
_TESTMESSAGESETCONTAINER = _descriptor.Descriptor( |
|
name='TestMessageSetContainer', |
|
full_name='protobuf_unittest.TestMessageSetContainer', |
|
filename=None, |
|
file=DESCRIPTOR, |
|
containing_type=None, |
|
fields=[ |
|
_descriptor.FieldDescriptor( |
|
name='message_set', full_name='protobuf_unittest.TestMessageSetContainer.message_set', index=0, |
|
number=1, type=11, cpp_type=10, label=1, |
|
has_default_value=False, default_value=None, |
|
message_type=None, enum_type=None, containing_type=None, |
|
is_extension=False, extension_scope=None, |
|
options=None), |
|
], |
|
extensions=[ |
|
], |
|
nested_types=[], |
|
enum_types=[ |
|
], |
|
options=None, |
|
is_extendable=False, |
|
extension_ranges=[], |
|
oneofs=[ |
|
], |
|
serialized_start=90, |
|
serialized_end=171, |
|
) |
|
|
|
|
|
_TESTMESSAGESETEXTENSION1 = _descriptor.Descriptor( |
|
name='TestMessageSetExtension1', |
|
full_name='protobuf_unittest.TestMessageSetExtension1', |
|
filename=None, |
|
file=DESCRIPTOR, |
|
containing_type=None, |
|
fields=[ |
|
_descriptor.FieldDescriptor( |
|
name='i', full_name='protobuf_unittest.TestMessageSetExtension1.i', index=0, |
|
number=15, type=5, cpp_type=1, label=1, |
|
has_default_value=False, default_value=0, |
|
message_type=None, enum_type=None, containing_type=None, |
|
is_extension=False, extension_scope=None, |
|
options=None), |
|
], |
|
extensions=[ |
|
_descriptor.FieldDescriptor( |
|
name='message_set_extension', full_name='protobuf_unittest.TestMessageSetExtension1.message_set_extension', index=0, |
|
number=1545008, type=11, cpp_type=10, label=1, |
|
has_default_value=False, default_value=None, |
|
message_type=None, enum_type=None, containing_type=None, |
|
is_extension=True, extension_scope=None, |
|
options=None), |
|
], |
|
nested_types=[], |
|
enum_types=[ |
|
], |
|
options=None, |
|
is_extendable=False, |
|
extension_ranges=[], |
|
oneofs=[ |
|
], |
|
serialized_start=174, |
|
serialized_end=324, |
|
) |
|
|
|
|
|
_TESTMESSAGESETEXTENSION2 = _descriptor.Descriptor( |
|
name='TestMessageSetExtension2', |
|
full_name='protobuf_unittest.TestMessageSetExtension2', |
|
filename=None, |
|
file=DESCRIPTOR, |
|
containing_type=None, |
|
fields=[ |
|
_descriptor.FieldDescriptor( |
|
name='str', full_name='protobuf_unittest.TestMessageSetExtension2.str', index=0, |
|
number=25, 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, |
|
options=None), |
|
], |
|
extensions=[ |
|
_descriptor.FieldDescriptor( |
|
name='message_set_extension', full_name='protobuf_unittest.TestMessageSetExtension2.message_set_extension', index=0, |
|
number=1547769, type=11, cpp_type=10, label=1, |
|
has_default_value=False, default_value=None, |
|
message_type=None, enum_type=None, containing_type=None, |
|
is_extension=True, extension_scope=None, |
|
options=None), |
|
], |
|
nested_types=[], |
|
enum_types=[ |
|
], |
|
options=None, |
|
is_extendable=False, |
|
extension_ranges=[], |
|
oneofs=[ |
|
], |
|
serialized_start=327, |
|
serialized_end=479, |
|
) |
|
|
|
|
|
_RAWMESSAGESET_ITEM = _descriptor.Descriptor( |
|
name='Item', |
|
full_name='protobuf_unittest.RawMessageSet.Item', |
|
filename=None, |
|
file=DESCRIPTOR, |
|
containing_type=None, |
|
fields=[ |
|
_descriptor.FieldDescriptor( |
|
name='type_id', full_name='protobuf_unittest.RawMessageSet.Item.type_id', index=0, |
|
number=2, type=5, cpp_type=1, label=2, |
|
has_default_value=False, default_value=0, |
|
message_type=None, enum_type=None, containing_type=None, |
|
is_extension=False, extension_scope=None, |
|
options=None), |
|
_descriptor.FieldDescriptor( |
|
name='message', full_name='protobuf_unittest.RawMessageSet.Item.message', index=1, |
|
number=3, type=12, cpp_type=9, label=2, |
|
has_default_value=False, default_value=_b(""), |
|
message_type=None, enum_type=None, containing_type=None, |
|
is_extension=False, extension_scope=None, |
|
options=None), |
|
], |
|
extensions=[ |
|
], |
|
nested_types=[], |
|
enum_types=[ |
|
], |
|
options=None, |
|
is_extendable=False, |
|
extension_ranges=[], |
|
oneofs=[ |
|
], |
|
serialized_start=551, |
|
serialized_end=591, |
|
) |
|
|
|
_RAWMESSAGESET = _descriptor.Descriptor( |
|
name='RawMessageSet', |
|
full_name='protobuf_unittest.RawMessageSet', |
|
filename=None, |
|
file=DESCRIPTOR, |
|
containing_type=None, |
|
fields=[ |
|
_descriptor.FieldDescriptor( |
|
name='item', full_name='protobuf_unittest.RawMessageSet.item', index=0, |
|
number=1, type=10, cpp_type=10, label=3, |
|
has_default_value=False, default_value=[], |
|
message_type=None, enum_type=None, containing_type=None, |
|
is_extension=False, extension_scope=None, |
|
options=None), |
|
], |
|
extensions=[ |
|
], |
|
nested_types=[_RAWMESSAGESET_ITEM, ], |
|
enum_types=[ |
|
], |
|
options=None, |
|
is_extendable=False, |
|
extension_ranges=[], |
|
oneofs=[ |
|
], |
|
serialized_start=481, |
|
serialized_end=591, |
|
) |
|
|
|
_TESTMESSAGESETCONTAINER.fields_by_name['message_set'].message_type = _TESTMESSAGESET |
|
_RAWMESSAGESET_ITEM.containing_type = _RAWMESSAGESET |
|
_RAWMESSAGESET.fields_by_name['item'].message_type = _RAWMESSAGESET_ITEM |
|
DESCRIPTOR.message_types_by_name['TestMessageSet'] = _TESTMESSAGESET |
|
DESCRIPTOR.message_types_by_name['TestMessageSetContainer'] = _TESTMESSAGESETCONTAINER |
|
DESCRIPTOR.message_types_by_name['TestMessageSetExtension1'] = _TESTMESSAGESETEXTENSION1 |
|
DESCRIPTOR.message_types_by_name['TestMessageSetExtension2'] = _TESTMESSAGESETEXTENSION2 |
|
DESCRIPTOR.message_types_by_name['RawMessageSet'] = _RAWMESSAGESET |
|
|
|
TestMessageSet = _reflection.GeneratedProtocolMessageType('TestMessageSet', (_message.Message,), dict( |
|
DESCRIPTOR = _TESTMESSAGESET, |
|
__module__ = 'google.protobuf.unittest_mset_pb2' |
|
# @@protoc_insertion_point(class_scope:protobuf_unittest.TestMessageSet) |
|
)) |
|
_sym_db.RegisterMessage(TestMessageSet) |
|
|
|
TestMessageSetContainer = _reflection.GeneratedProtocolMessageType('TestMessageSetContainer', (_message.Message,), dict( |
|
DESCRIPTOR = _TESTMESSAGESETCONTAINER, |
|
__module__ = 'google.protobuf.unittest_mset_pb2' |
|
# @@protoc_insertion_point(class_scope:protobuf_unittest.TestMessageSetContainer) |
|
)) |
|
_sym_db.RegisterMessage(TestMessageSetContainer) |
|
|
|
TestMessageSetExtension1 = _reflection.GeneratedProtocolMessageType('TestMessageSetExtension1', (_message.Message,), dict( |
|
DESCRIPTOR = _TESTMESSAGESETEXTENSION1, |
|
__module__ = 'google.protobuf.unittest_mset_pb2' |
|
# @@protoc_insertion_point(class_scope:protobuf_unittest.TestMessageSetExtension1) |
|
)) |
|
_sym_db.RegisterMessage(TestMessageSetExtension1) |
|
|
|
TestMessageSetExtension2 = _reflection.GeneratedProtocolMessageType('TestMessageSetExtension2', (_message.Message,), dict( |
|
DESCRIPTOR = _TESTMESSAGESETEXTENSION2, |
|
__module__ = 'google.protobuf.unittest_mset_pb2' |
|
# @@protoc_insertion_point(class_scope:protobuf_unittest.TestMessageSetExtension2) |
|
)) |
|
_sym_db.RegisterMessage(TestMessageSetExtension2) |
|
|
|
RawMessageSet = _reflection.GeneratedProtocolMessageType('RawMessageSet', (_message.Message,), dict( |
|
|
|
Item = _reflection.GeneratedProtocolMessageType('Item', (_message.Message,), dict( |
|
DESCRIPTOR = _RAWMESSAGESET_ITEM, |
|
__module__ = 'google.protobuf.unittest_mset_pb2' |
|
# @@protoc_insertion_point(class_scope:protobuf_unittest.RawMessageSet.Item) |
|
)) |
|
, |
|
DESCRIPTOR = _RAWMESSAGESET, |
|
__module__ = 'google.protobuf.unittest_mset_pb2' |
|
# @@protoc_insertion_point(class_scope:protobuf_unittest.RawMessageSet) |
|
)) |
|
_sym_db.RegisterMessage(RawMessageSet) |
|
_sym_db.RegisterMessage(RawMessageSet.Item) |
|
|
|
_TESTMESSAGESETEXTENSION1.extensions_by_name['message_set_extension'].message_type = _TESTMESSAGESETEXTENSION1 |
|
TestMessageSet.RegisterExtension(_TESTMESSAGESETEXTENSION1.extensions_by_name['message_set_extension']) |
|
_TESTMESSAGESETEXTENSION2.extensions_by_name['message_set_extension'].message_type = _TESTMESSAGESETEXTENSION2 |
|
TestMessageSet.RegisterExtension(_TESTMESSAGESETEXTENSION2.extensions_by_name['message_set_extension']) |
|
|
|
DESCRIPTOR.has_options = True |
|
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('H\001')) |
|
_TESTMESSAGESET.has_options = True |
|
_TESTMESSAGESET._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('\010\001')) |
|
# @@protoc_insertion_point(module_scope)
|
|
|