1000 lines
54 KiB
Python
1000 lines
54 KiB
Python
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
# source: google/protobuf/unittest_proto3_arena.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()
|
||
|
|
||
|
|
||
|
from google.protobuf import unittest_import_pb2 as google_dot_protobuf_dot_unittest__import__pb2
|
||
|
try:
|
||
|
google_dot_protobuf_dot_unittest__import__public__pb2 = google_dot_protobuf_dot_unittest__import__pb2.google_dot_protobuf_dot_unittest__import__public__pb2
|
||
|
except AttributeError:
|
||
|
google_dot_protobuf_dot_unittest__import__public__pb2 = google_dot_protobuf_dot_unittest__import__pb2.google.protobuf.unittest_import_public_pb2
|
||
|
|
||
|
|
||
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
||
|
name='google/protobuf/unittest_proto3_arena.proto',
|
||
|
package='proto3_arena_unittest',
|
||
|
syntax='proto3',
|
||
|
serialized_options=_b('\370\001\001'),
|
||
|
serialized_pb=_b('\n+google/protobuf/unittest_proto3_arena.proto\x12\x15proto3_arena_unittest\x1a%google/protobuf/unittest_import.proto\"\xc9\x11\n\x0cTestAllTypes\x12\x16\n\x0eoptional_int32\x18\x01 \x01(\x05\x12\x16\n\x0eoptional_int64\x18\x02 \x01(\x03\x12\x17\n\x0foptional_uint32\x18\x03 \x01(\r\x12\x17\n\x0foptional_uint64\x18\x04 \x01(\x04\x12\x17\n\x0foptional_sint32\x18\x05 \x01(\x11\x12\x17\n\x0foptional_sint64\x18\x06 \x01(\x12\x12\x18\n\x10optional_fixed32\x18\x07 \x01(\x07\x12\x18\n\x10optional_fixed64\x18\x08 \x01(\x06\x12\x19\n\x11optional_sfixed32\x18\t \x01(\x0f\x12\x19\n\x11optional_sfixed64\x18\n \x01(\x10\x12\x16\n\x0eoptional_float\x18\x0b \x01(\x02\x12\x17\n\x0foptional_double\x18\x0c \x01(\x01\x12\x15\n\roptional_bool\x18\r \x01(\x08\x12\x17\n\x0foptional_string\x18\x0e \x01(\t\x12\x16\n\x0eoptional_bytes\x18\x0f \x01(\x0c\x12R\n\x17optional_nested_message\x18\x12 \x01(\x0b\x32\x31.proto3_arena_unittest.TestAllTypes.NestedMessage\x12G\n\x18optional_foreign_message\x18\x13 \x01(\x0b\x32%.proto3_arena_unittest.ForeignMessage\x12H\n\x17optional_import_message\x18\x14 \x01(\x0b\x32\'.protobuf_unittest_import.ImportMessage\x12L\n\x14optional_nested_enum\x18\x15 \x01(\x0e\x32..proto3_arena_unittest.TestAllTypes.NestedEnum\x12\x41\n\x15optional_foreign_enum\x18\x16 \x01(\x0e\x32\".proto3_arena_unittest.ForeignEnum\x12!\n\x15optional_string_piece\x18\x18 \x01(\tB\x02\x08\x02\x12\x19\n\roptional_cord\x18\x19 \x01(\tB\x02\x08\x01\x12U\n\x1eoptional_public_import_message\x18\x1a \x01(\x0b\x32-.protobuf_unittest_import.PublicImportMessage\x12T\n\x15optional_lazy_message\x18\x1b \x01(\x0b\x32\x31.proto3_arena_unittest.TestAllTypes.NestedMessageB\x02(\x01\x12Q\n\x1coptional_lazy_import_message\x18s \x01(\x0b\x32\'.protobuf_unittest_import.ImportMessageB\x02(\x01\x12\x16\n\x0erepeated_int32\x18\x1f \x03(\x05\x12\x16\n\x0erepeated_int64\x18 \x03(\x03\x12\x17\n\x0frepeated_uint32\x18! \x03(\r\x12\x17\n\x0frepeated_uint64\x18\" \x03(\x04\x12\x17\n\x0frepeated_sint32\x18# \x03(\x11\x12\x17\n\x0frepeated_sint64\x18$ \x03(\x12\x12\x18\n\x10repeated_fixed32\x18% \x03(\x07\x12\x18\n\x10repeated_fixed64\x18& \x03(\x06\x12\x19\n\x11repeated_sfixed32\x18\' \x03(\x0f\x12\x19\n\x11repeated_sfixed64\x18( \x03(\x10\x12\x16\n\x0erepeated_float\x18) \x03(\x02\x12\x17\n\x0frepeated_double\x18* \x03(\x01\x12\x15\n\rrepeated_bool\x18+ \x03(\x08\x12\x17\n\x0frepeated_string\x18, \x03(\t\x12\x16\n\x0erepeated_bytes\x18- \x03(\x0c\x12R\n\x17repeated_nested_message\x18\x30 \x03(\x0b\x32\x31.proto3_arena_unittest.TestAllTypes.NestedMessage\x12G\n\x18repeated_foreign_message\x18\x31 \x03(\x0b\x32%.proto3_arena_unittest.ForeignMessage\x12H\n\x17repeated_import_message\x18\x32 \x03(\x0b\x32\'.protobuf_unittest_import.ImportMessage\x12L\n\x14repeated_nested_enum\x18\x33 \x03(\x0e\x32..proto3_arena_unittest.TestAllTypes.NestedEnum\x12\x41\n\x15repeated_foreign_enum\x18\x34 \x03(\x0e\x32\".proto3_arena_unittest.ForeignEnum\x12!\n\x15repeated_string_piece\x18\x36 \x03(\tB\x02\x08\x02\x12\x19\n\rrepeated_cord\x18\x37 \x03(\tB\x02\x08\x01\x12T\n\x15repeated_lazy_message\x18\x39 \x03(\x0b\x32\x31.proto3_arena_unittest.TestAllTypes.NestedMessageB\x02(\x01\x12\x16\n\x0coneof_uint32\x18o \x01(\rH\x00\x12Q\n\x14oneof_nested_message\x18p \x01(\x0b\x32\x31.proto3_arena_unittest.TestAllTypes.NestedMessageH\x00\x12\x16\n\x0coneof_string\x18q \x01(\tH\x00\x12\x15\n\x0boneof_bytes\x18r \x01(\x0cH\x00\x1a\x1b\n\rNestedMessage\x12\n\n\x02\x62\x62\x18\x01 \x01(\x05\"C\n\nNestedEnum\x12\x08\n\x04ZERO\x10\x00\x12\x07\n\x03\x46OO\x10\x01\x12\x07\n\x03\x42\x41R\x10\x02\x12\x07\n\x03\x42\x41Z\x10\x03\x12\x10\n\x03NEG\x10\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\x42\r\n\x0boneof_field\"\xae\x03\n\x0fTestPackedTypes\x12\x18\n\x0cpacked_int32\x18Z \x03(\x05\x42\x02\x10\x01\x12\x18\n\x0cpacked_int64\x18[ \x03(\x03\x42\x02\x10\x01\x12\x19\n\rpacked_uint32\x18\\ \x03(\rB\x02\x10\x01\x12\x19\n\rpacked_uint64\x18] \x03(\x04\x42\x02\x10\x01\x12\x19\n\rpacked_sint32\x18^ \x03(\x11\x42\x02\x10\x01\x12\x19\n\rpacked_sint64\x18_ \x03(\x12\x42\x02\x10\x01\x12\x1a\n\x0epacked_f
|
||
|
,
|
||
|
dependencies=[google_dot_protobuf_dot_unittest__import__pb2.DESCRIPTOR,])
|
||
|
|
||
|
_FOREIGNENUM = _descriptor.EnumDescriptor(
|
||
|
name='ForeignEnum',
|
||
|
full_name='proto3_arena_unittest.ForeignEnum',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
values=[
|
||
|
_descriptor.EnumValueDescriptor(
|
||
|
name='FOREIGN_ZERO', index=0, number=0,
|
||
|
serialized_options=None,
|
||
|
type=None),
|
||
|
_descriptor.EnumValueDescriptor(
|
||
|
name='FOREIGN_FOO', index=1, number=4,
|
||
|
serialized_options=None,
|
||
|
type=None),
|
||
|
_descriptor.EnumValueDescriptor(
|
||
|
name='FOREIGN_BAR', index=2, number=5,
|
||
|
serialized_options=None,
|
||
|
type=None),
|
||
|
_descriptor.EnumValueDescriptor(
|
||
|
name='FOREIGN_BAZ', index=3, number=6,
|
||
|
serialized_options=None,
|
||
|
type=None),
|
||
|
],
|
||
|
containing_type=None,
|
||
|
serialized_options=None,
|
||
|
serialized_start=3527,
|
||
|
serialized_end=3609,
|
||
|
)
|
||
|
_sym_db.RegisterEnumDescriptor(_FOREIGNENUM)
|
||
|
|
||
|
ForeignEnum = enum_type_wrapper.EnumTypeWrapper(_FOREIGNENUM)
|
||
|
FOREIGN_ZERO = 0
|
||
|
FOREIGN_FOO = 4
|
||
|
FOREIGN_BAR = 5
|
||
|
FOREIGN_BAZ = 6
|
||
|
|
||
|
|
||
|
_TESTALLTYPES_NESTEDENUM = _descriptor.EnumDescriptor(
|
||
|
name='NestedEnum',
|
||
|
full_name='proto3_arena_unittest.TestAllTypes.NestedEnum',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
values=[
|
||
|
_descriptor.EnumValueDescriptor(
|
||
|
name='ZERO', index=0, number=0,
|
||
|
serialized_options=None,
|
||
|
type=None),
|
||
|
_descriptor.EnumValueDescriptor(
|
||
|
name='FOO', index=1, number=1,
|
||
|
serialized_options=None,
|
||
|
type=None),
|
||
|
_descriptor.EnumValueDescriptor(
|
||
|
name='BAR', index=2, number=2,
|
||
|
serialized_options=None,
|
||
|
type=None),
|
||
|
_descriptor.EnumValueDescriptor(
|
||
|
name='BAZ', index=3, number=3,
|
||
|
serialized_options=None,
|
||
|
type=None),
|
||
|
_descriptor.EnumValueDescriptor(
|
||
|
name='NEG', index=4, number=-1,
|
||
|
serialized_options=None,
|
||
|
type=None),
|
||
|
],
|
||
|
containing_type=None,
|
||
|
serialized_options=None,
|
||
|
serialized_start=2277,
|
||
|
serialized_end=2344,
|
||
|
)
|
||
|
_sym_db.RegisterEnumDescriptor(_TESTALLTYPES_NESTEDENUM)
|
||
|
|
||
|
|
||
|
_TESTALLTYPES_NESTEDMESSAGE = _descriptor.Descriptor(
|
||
|
name='NestedMessage',
|
||
|
full_name='proto3_arena_unittest.TestAllTypes.NestedMessage',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
containing_type=None,
|
||
|
fields=[
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='bb', full_name='proto3_arena_unittest.TestAllTypes.NestedMessage.bb', index=0,
|
||
|
number=1, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
],
|
||
|
extensions=[
|
||
|
],
|
||
|
nested_types=[],
|
||
|
enum_types=[
|
||
|
],
|
||
|
serialized_options=None,
|
||
|
is_extendable=False,
|
||
|
syntax='proto3',
|
||
|
extension_ranges=[],
|
||
|
oneofs=[
|
||
|
],
|
||
|
serialized_start=2248,
|
||
|
serialized_end=2275,
|
||
|
)
|
||
|
|
||
|
_TESTALLTYPES = _descriptor.Descriptor(
|
||
|
name='TestAllTypes',
|
||
|
full_name='proto3_arena_unittest.TestAllTypes',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
containing_type=None,
|
||
|
fields=[
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_int32', full_name='proto3_arena_unittest.TestAllTypes.optional_int32', index=0,
|
||
|
number=1, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_int64', full_name='proto3_arena_unittest.TestAllTypes.optional_int64', index=1,
|
||
|
number=2, 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='optional_uint32', full_name='proto3_arena_unittest.TestAllTypes.optional_uint32', index=2,
|
||
|
number=3, type=13, cpp_type=3, 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='optional_uint64', full_name='proto3_arena_unittest.TestAllTypes.optional_uint64', index=3,
|
||
|
number=4, type=4, cpp_type=4, 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='optional_sint32', full_name='proto3_arena_unittest.TestAllTypes.optional_sint32', index=4,
|
||
|
number=5, type=17, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_sint64', full_name='proto3_arena_unittest.TestAllTypes.optional_sint64', index=5,
|
||
|
number=6, type=18, 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='optional_fixed32', full_name='proto3_arena_unittest.TestAllTypes.optional_fixed32', index=6,
|
||
|
number=7, type=7, cpp_type=3, 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='optional_fixed64', full_name='proto3_arena_unittest.TestAllTypes.optional_fixed64', index=7,
|
||
|
number=8, type=6, cpp_type=4, 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='optional_sfixed32', full_name='proto3_arena_unittest.TestAllTypes.optional_sfixed32', index=8,
|
||
|
number=9, type=15, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_sfixed64', full_name='proto3_arena_unittest.TestAllTypes.optional_sfixed64', index=9,
|
||
|
number=10, type=16, 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='optional_float', full_name='proto3_arena_unittest.TestAllTypes.optional_float', index=10,
|
||
|
number=11, type=2, cpp_type=6, 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='optional_double', full_name='proto3_arena_unittest.TestAllTypes.optional_double', index=11,
|
||
|
number=12, 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='optional_bool', full_name='proto3_arena_unittest.TestAllTypes.optional_bool', index=12,
|
||
|
number=13, type=8, cpp_type=7, label=1,
|
||
|
has_default_value=False, default_value=False,
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_string', full_name='proto3_arena_unittest.TestAllTypes.optional_string', index=13,
|
||
|
number=14, 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='optional_bytes', full_name='proto3_arena_unittest.TestAllTypes.optional_bytes', index=14,
|
||
|
number=15, type=12, cpp_type=9, label=1,
|
||
|
has_default_value=False, default_value=_b(""),
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_nested_message', full_name='proto3_arena_unittest.TestAllTypes.optional_nested_message', index=15,
|
||
|
number=18, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_foreign_message', full_name='proto3_arena_unittest.TestAllTypes.optional_foreign_message', index=16,
|
||
|
number=19, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_import_message', full_name='proto3_arena_unittest.TestAllTypes.optional_import_message', index=17,
|
||
|
number=20, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_nested_enum', full_name='proto3_arena_unittest.TestAllTypes.optional_nested_enum', index=18,
|
||
|
number=21, 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='optional_foreign_enum', full_name='proto3_arena_unittest.TestAllTypes.optional_foreign_enum', index=19,
|
||
|
number=22, 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='optional_string_piece', full_name='proto3_arena_unittest.TestAllTypes.optional_string_piece', index=20,
|
||
|
number=24, 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=_b('\010\002'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_cord', full_name='proto3_arena_unittest.TestAllTypes.optional_cord', index=21,
|
||
|
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,
|
||
|
serialized_options=_b('\010\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_public_import_message', full_name='proto3_arena_unittest.TestAllTypes.optional_public_import_message', index=22,
|
||
|
number=26, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_lazy_message', full_name='proto3_arena_unittest.TestAllTypes.optional_lazy_message', index=23,
|
||
|
number=27, 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,
|
||
|
serialized_options=_b('(\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='optional_lazy_import_message', full_name='proto3_arena_unittest.TestAllTypes.optional_lazy_import_message', index=24,
|
||
|
number=115, 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,
|
||
|
serialized_options=_b('(\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_int32', full_name='proto3_arena_unittest.TestAllTypes.repeated_int32', index=25,
|
||
|
number=31, type=5, cpp_type=1, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_int64', full_name='proto3_arena_unittest.TestAllTypes.repeated_int64', index=26,
|
||
|
number=32, type=3, cpp_type=2, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_uint32', full_name='proto3_arena_unittest.TestAllTypes.repeated_uint32', index=27,
|
||
|
number=33, type=13, cpp_type=3, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_uint64', full_name='proto3_arena_unittest.TestAllTypes.repeated_uint64', index=28,
|
||
|
number=34, type=4, cpp_type=4, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_sint32', full_name='proto3_arena_unittest.TestAllTypes.repeated_sint32', index=29,
|
||
|
number=35, type=17, cpp_type=1, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_sint64', full_name='proto3_arena_unittest.TestAllTypes.repeated_sint64', index=30,
|
||
|
number=36, type=18, cpp_type=2, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_fixed32', full_name='proto3_arena_unittest.TestAllTypes.repeated_fixed32', index=31,
|
||
|
number=37, type=7, cpp_type=3, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_fixed64', full_name='proto3_arena_unittest.TestAllTypes.repeated_fixed64', index=32,
|
||
|
number=38, type=6, cpp_type=4, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_sfixed32', full_name='proto3_arena_unittest.TestAllTypes.repeated_sfixed32', index=33,
|
||
|
number=39, type=15, cpp_type=1, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_sfixed64', full_name='proto3_arena_unittest.TestAllTypes.repeated_sfixed64', index=34,
|
||
|
number=40, type=16, cpp_type=2, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_float', full_name='proto3_arena_unittest.TestAllTypes.repeated_float', index=35,
|
||
|
number=41, type=2, cpp_type=6, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_double', full_name='proto3_arena_unittest.TestAllTypes.repeated_double', index=36,
|
||
|
number=42, type=1, cpp_type=5, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_bool', full_name='proto3_arena_unittest.TestAllTypes.repeated_bool', index=37,
|
||
|
number=43, type=8, cpp_type=7, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_string', full_name='proto3_arena_unittest.TestAllTypes.repeated_string', index=38,
|
||
|
number=44, type=9, cpp_type=9, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_bytes', full_name='proto3_arena_unittest.TestAllTypes.repeated_bytes', index=39,
|
||
|
number=45, type=12, cpp_type=9, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_nested_message', full_name='proto3_arena_unittest.TestAllTypes.repeated_nested_message', index=40,
|
||
|
number=48, type=11, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_foreign_message', full_name='proto3_arena_unittest.TestAllTypes.repeated_foreign_message', index=41,
|
||
|
number=49, type=11, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_import_message', full_name='proto3_arena_unittest.TestAllTypes.repeated_import_message', index=42,
|
||
|
number=50, type=11, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_nested_enum', full_name='proto3_arena_unittest.TestAllTypes.repeated_nested_enum', index=43,
|
||
|
number=51, type=14, cpp_type=8, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_foreign_enum', full_name='proto3_arena_unittest.TestAllTypes.repeated_foreign_enum', index=44,
|
||
|
number=52, type=14, cpp_type=8, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_string_piece', full_name='proto3_arena_unittest.TestAllTypes.repeated_string_piece', index=45,
|
||
|
number=54, type=9, cpp_type=9, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\010\002'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_cord', full_name='proto3_arena_unittest.TestAllTypes.repeated_cord', index=46,
|
||
|
number=55, type=9, cpp_type=9, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\010\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_lazy_message', full_name='proto3_arena_unittest.TestAllTypes.repeated_lazy_message', index=47,
|
||
|
number=57, type=11, 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,
|
||
|
serialized_options=_b('(\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='oneof_uint32', full_name='proto3_arena_unittest.TestAllTypes.oneof_uint32', index=48,
|
||
|
number=111, type=13, cpp_type=3, 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='oneof_nested_message', full_name='proto3_arena_unittest.TestAllTypes.oneof_nested_message', index=49,
|
||
|
number=112, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='oneof_string', full_name='proto3_arena_unittest.TestAllTypes.oneof_string', index=50,
|
||
|
number=113, 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='oneof_bytes', full_name='proto3_arena_unittest.TestAllTypes.oneof_bytes', index=51,
|
||
|
number=114, type=12, cpp_type=9, label=1,
|
||
|
has_default_value=False, default_value=_b(""),
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
],
|
||
|
extensions=[
|
||
|
],
|
||
|
nested_types=[_TESTALLTYPES_NESTEDMESSAGE, ],
|
||
|
enum_types=[
|
||
|
_TESTALLTYPES_NESTEDENUM,
|
||
|
],
|
||
|
serialized_options=None,
|
||
|
is_extendable=False,
|
||
|
syntax='proto3',
|
||
|
extension_ranges=[],
|
||
|
oneofs=[
|
||
|
_descriptor.OneofDescriptor(
|
||
|
name='oneof_field', full_name='proto3_arena_unittest.TestAllTypes.oneof_field',
|
||
|
index=0, containing_type=None, fields=[]),
|
||
|
],
|
||
|
serialized_start=110,
|
||
|
serialized_end=2359,
|
||
|
)
|
||
|
|
||
|
|
||
|
_TESTPACKEDTYPES = _descriptor.Descriptor(
|
||
|
name='TestPackedTypes',
|
||
|
full_name='proto3_arena_unittest.TestPackedTypes',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
containing_type=None,
|
||
|
fields=[
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_int32', full_name='proto3_arena_unittest.TestPackedTypes.packed_int32', index=0,
|
||
|
number=90, type=5, cpp_type=1, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_int64', full_name='proto3_arena_unittest.TestPackedTypes.packed_int64', index=1,
|
||
|
number=91, type=3, cpp_type=2, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_uint32', full_name='proto3_arena_unittest.TestPackedTypes.packed_uint32', index=2,
|
||
|
number=92, type=13, cpp_type=3, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_uint64', full_name='proto3_arena_unittest.TestPackedTypes.packed_uint64', index=3,
|
||
|
number=93, type=4, cpp_type=4, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_sint32', full_name='proto3_arena_unittest.TestPackedTypes.packed_sint32', index=4,
|
||
|
number=94, type=17, cpp_type=1, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_sint64', full_name='proto3_arena_unittest.TestPackedTypes.packed_sint64', index=5,
|
||
|
number=95, type=18, cpp_type=2, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_fixed32', full_name='proto3_arena_unittest.TestPackedTypes.packed_fixed32', index=6,
|
||
|
number=96, type=7, cpp_type=3, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_fixed64', full_name='proto3_arena_unittest.TestPackedTypes.packed_fixed64', index=7,
|
||
|
number=97, type=6, cpp_type=4, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_sfixed32', full_name='proto3_arena_unittest.TestPackedTypes.packed_sfixed32', index=8,
|
||
|
number=98, type=15, cpp_type=1, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_sfixed64', full_name='proto3_arena_unittest.TestPackedTypes.packed_sfixed64', index=9,
|
||
|
number=99, type=16, cpp_type=2, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_float', full_name='proto3_arena_unittest.TestPackedTypes.packed_float', index=10,
|
||
|
number=100, type=2, cpp_type=6, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_double', full_name='proto3_arena_unittest.TestPackedTypes.packed_double', index=11,
|
||
|
number=101, type=1, cpp_type=5, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_bool', full_name='proto3_arena_unittest.TestPackedTypes.packed_bool', index=12,
|
||
|
number=102, type=8, cpp_type=7, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='packed_enum', full_name='proto3_arena_unittest.TestPackedTypes.packed_enum', index=13,
|
||
|
number=103, type=14, cpp_type=8, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\001'), file=DESCRIPTOR),
|
||
|
],
|
||
|
extensions=[
|
||
|
],
|
||
|
nested_types=[],
|
||
|
enum_types=[
|
||
|
],
|
||
|
serialized_options=None,
|
||
|
is_extendable=False,
|
||
|
syntax='proto3',
|
||
|
extension_ranges=[],
|
||
|
oneofs=[
|
||
|
],
|
||
|
serialized_start=2362,
|
||
|
serialized_end=2792,
|
||
|
)
|
||
|
|
||
|
|
||
|
_TESTUNPACKEDTYPES = _descriptor.Descriptor(
|
||
|
name='TestUnpackedTypes',
|
||
|
full_name='proto3_arena_unittest.TestUnpackedTypes',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
containing_type=None,
|
||
|
fields=[
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_int32', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_int32', index=0,
|
||
|
number=1, type=5, cpp_type=1, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_int64', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_int64', index=1,
|
||
|
number=2, type=3, cpp_type=2, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_uint32', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_uint32', index=2,
|
||
|
number=3, type=13, cpp_type=3, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_uint64', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_uint64', index=3,
|
||
|
number=4, type=4, cpp_type=4, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_sint32', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_sint32', index=4,
|
||
|
number=5, type=17, cpp_type=1, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_sint64', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_sint64', index=5,
|
||
|
number=6, type=18, cpp_type=2, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_fixed32', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_fixed32', index=6,
|
||
|
number=7, type=7, cpp_type=3, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_fixed64', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_fixed64', index=7,
|
||
|
number=8, type=6, cpp_type=4, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_sfixed32', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_sfixed32', index=8,
|
||
|
number=9, type=15, cpp_type=1, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_sfixed64', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_sfixed64', index=9,
|
||
|
number=10, type=16, cpp_type=2, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_float', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_float', index=10,
|
||
|
number=11, type=2, cpp_type=6, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_double', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_double', index=11,
|
||
|
number=12, type=1, cpp_type=5, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_bool', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_bool', index=12,
|
||
|
number=13, type=8, cpp_type=7, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_nested_enum', full_name='proto3_arena_unittest.TestUnpackedTypes.repeated_nested_enum', index=13,
|
||
|
number=14, type=14, cpp_type=8, label=3,
|
||
|
has_default_value=False, default_value=[],
|
||
|
message_type=None, enum_type=None, containing_type=None,
|
||
|
is_extension=False, extension_scope=None,
|
||
|
serialized_options=_b('\020\000'), file=DESCRIPTOR),
|
||
|
],
|
||
|
extensions=[
|
||
|
],
|
||
|
nested_types=[],
|
||
|
enum_types=[
|
||
|
],
|
||
|
serialized_options=None,
|
||
|
is_extendable=False,
|
||
|
syntax='proto3',
|
||
|
extension_ranges=[],
|
||
|
oneofs=[
|
||
|
],
|
||
|
serialized_start=2795,
|
||
|
serialized_end=3274,
|
||
|
)
|
||
|
|
||
|
|
||
|
_NESTEDTESTALLTYPES = _descriptor.Descriptor(
|
||
|
name='NestedTestAllTypes',
|
||
|
full_name='proto3_arena_unittest.NestedTestAllTypes',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
containing_type=None,
|
||
|
fields=[
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='child', full_name='proto3_arena_unittest.NestedTestAllTypes.child', 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='payload', full_name='proto3_arena_unittest.NestedTestAllTypes.payload', index=1,
|
||
|
number=2, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='repeated_child', full_name='proto3_arena_unittest.NestedTestAllTypes.repeated_child', index=2,
|
||
|
number=3, type=11, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
],
|
||
|
extensions=[
|
||
|
],
|
||
|
nested_types=[],
|
||
|
enum_types=[
|
||
|
],
|
||
|
serialized_options=None,
|
||
|
is_extendable=False,
|
||
|
syntax='proto3',
|
||
|
extension_ranges=[],
|
||
|
oneofs=[
|
||
|
],
|
||
|
serialized_start=3277,
|
||
|
serialized_end=3476,
|
||
|
)
|
||
|
|
||
|
|
||
|
_FOREIGNMESSAGE = _descriptor.Descriptor(
|
||
|
name='ForeignMessage',
|
||
|
full_name='proto3_arena_unittest.ForeignMessage',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
containing_type=None,
|
||
|
fields=[
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='c', full_name='proto3_arena_unittest.ForeignMessage.c', index=0,
|
||
|
number=1, 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,
|
||
|
serialized_options=None, file=DESCRIPTOR),
|
||
|
],
|
||
|
extensions=[
|
||
|
],
|
||
|
nested_types=[],
|
||
|
enum_types=[
|
||
|
],
|
||
|
serialized_options=None,
|
||
|
is_extendable=False,
|
||
|
syntax='proto3',
|
||
|
extension_ranges=[],
|
||
|
oneofs=[
|
||
|
],
|
||
|
serialized_start=3478,
|
||
|
serialized_end=3505,
|
||
|
)
|
||
|
|
||
|
|
||
|
_TESTEMPTYMESSAGE = _descriptor.Descriptor(
|
||
|
name='TestEmptyMessage',
|
||
|
full_name='proto3_arena_unittest.TestEmptyMessage',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
containing_type=None,
|
||
|
fields=[
|
||
|
],
|
||
|
extensions=[
|
||
|
],
|
||
|
nested_types=[],
|
||
|
enum_types=[
|
||
|
],
|
||
|
serialized_options=None,
|
||
|
is_extendable=False,
|
||
|
syntax='proto3',
|
||
|
extension_ranges=[],
|
||
|
oneofs=[
|
||
|
],
|
||
|
serialized_start=3507,
|
||
|
serialized_end=3525,
|
||
|
)
|
||
|
|
||
|
_TESTALLTYPES_NESTEDMESSAGE.containing_type = _TESTALLTYPES
|
||
|
_TESTALLTYPES.fields_by_name['optional_nested_message'].message_type = _TESTALLTYPES_NESTEDMESSAGE
|
||
|
_TESTALLTYPES.fields_by_name['optional_foreign_message'].message_type = _FOREIGNMESSAGE
|
||
|
_TESTALLTYPES.fields_by_name['optional_import_message'].message_type = google_dot_protobuf_dot_unittest__import__pb2._IMPORTMESSAGE
|
||
|
_TESTALLTYPES.fields_by_name['optional_nested_enum'].enum_type = _TESTALLTYPES_NESTEDENUM
|
||
|
_TESTALLTYPES.fields_by_name['optional_foreign_enum'].enum_type = _FOREIGNENUM
|
||
|
_TESTALLTYPES.fields_by_name['optional_public_import_message'].message_type = google_dot_protobuf_dot_unittest__import__public__pb2._PUBLICIMPORTMESSAGE
|
||
|
_TESTALLTYPES.fields_by_name['optional_lazy_message'].message_type = _TESTALLTYPES_NESTEDMESSAGE
|
||
|
_TESTALLTYPES.fields_by_name['optional_lazy_import_message'].message_type = google_dot_protobuf_dot_unittest__import__pb2._IMPORTMESSAGE
|
||
|
_TESTALLTYPES.fields_by_name['repeated_nested_message'].message_type = _TESTALLTYPES_NESTEDMESSAGE
|
||
|
_TESTALLTYPES.fields_by_name['repeated_foreign_message'].message_type = _FOREIGNMESSAGE
|
||
|
_TESTALLTYPES.fields_by_name['repeated_import_message'].message_type = google_dot_protobuf_dot_unittest__import__pb2._IMPORTMESSAGE
|
||
|
_TESTALLTYPES.fields_by_name['repeated_nested_enum'].enum_type = _TESTALLTYPES_NESTEDENUM
|
||
|
_TESTALLTYPES.fields_by_name['repeated_foreign_enum'].enum_type = _FOREIGNENUM
|
||
|
_TESTALLTYPES.fields_by_name['repeated_lazy_message'].message_type = _TESTALLTYPES_NESTEDMESSAGE
|
||
|
_TESTALLTYPES.fields_by_name['oneof_nested_message'].message_type = _TESTALLTYPES_NESTEDMESSAGE
|
||
|
_TESTALLTYPES_NESTEDENUM.containing_type = _TESTALLTYPES
|
||
|
_TESTALLTYPES.oneofs_by_name['oneof_field'].fields.append(
|
||
|
_TESTALLTYPES.fields_by_name['oneof_uint32'])
|
||
|
_TESTALLTYPES.fields_by_name['oneof_uint32'].containing_oneof = _TESTALLTYPES.oneofs_by_name['oneof_field']
|
||
|
_TESTALLTYPES.oneofs_by_name['oneof_field'].fields.append(
|
||
|
_TESTALLTYPES.fields_by_name['oneof_nested_message'])
|
||
|
_TESTALLTYPES.fields_by_name['oneof_nested_message'].containing_oneof = _TESTALLTYPES.oneofs_by_name['oneof_field']
|
||
|
_TESTALLTYPES.oneofs_by_name['oneof_field'].fields.append(
|
||
|
_TESTALLTYPES.fields_by_name['oneof_string'])
|
||
|
_TESTALLTYPES.fields_by_name['oneof_string'].containing_oneof = _TESTALLTYPES.oneofs_by_name['oneof_field']
|
||
|
_TESTALLTYPES.oneofs_by_name['oneof_field'].fields.append(
|
||
|
_TESTALLTYPES.fields_by_name['oneof_bytes'])
|
||
|
_TESTALLTYPES.fields_by_name['oneof_bytes'].containing_oneof = _TESTALLTYPES.oneofs_by_name['oneof_field']
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_enum'].enum_type = _FOREIGNENUM
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_nested_enum'].enum_type = _TESTALLTYPES_NESTEDENUM
|
||
|
_NESTEDTESTALLTYPES.fields_by_name['child'].message_type = _NESTEDTESTALLTYPES
|
||
|
_NESTEDTESTALLTYPES.fields_by_name['payload'].message_type = _TESTALLTYPES
|
||
|
_NESTEDTESTALLTYPES.fields_by_name['repeated_child'].message_type = _NESTEDTESTALLTYPES
|
||
|
DESCRIPTOR.message_types_by_name['TestAllTypes'] = _TESTALLTYPES
|
||
|
DESCRIPTOR.message_types_by_name['TestPackedTypes'] = _TESTPACKEDTYPES
|
||
|
DESCRIPTOR.message_types_by_name['TestUnpackedTypes'] = _TESTUNPACKEDTYPES
|
||
|
DESCRIPTOR.message_types_by_name['NestedTestAllTypes'] = _NESTEDTESTALLTYPES
|
||
|
DESCRIPTOR.message_types_by_name['ForeignMessage'] = _FOREIGNMESSAGE
|
||
|
DESCRIPTOR.message_types_by_name['TestEmptyMessage'] = _TESTEMPTYMESSAGE
|
||
|
DESCRIPTOR.enum_types_by_name['ForeignEnum'] = _FOREIGNENUM
|
||
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||
|
|
||
|
TestAllTypes = _reflection.GeneratedProtocolMessageType('TestAllTypes', (_message.Message,), dict(
|
||
|
|
||
|
NestedMessage = _reflection.GeneratedProtocolMessageType('NestedMessage', (_message.Message,), dict(
|
||
|
DESCRIPTOR = _TESTALLTYPES_NESTEDMESSAGE,
|
||
|
__module__ = 'google.protobuf.unittest_proto3_arena_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:proto3_arena_unittest.TestAllTypes.NestedMessage)
|
||
|
))
|
||
|
,
|
||
|
DESCRIPTOR = _TESTALLTYPES,
|
||
|
__module__ = 'google.protobuf.unittest_proto3_arena_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:proto3_arena_unittest.TestAllTypes)
|
||
|
))
|
||
|
_sym_db.RegisterMessage(TestAllTypes)
|
||
|
_sym_db.RegisterMessage(TestAllTypes.NestedMessage)
|
||
|
|
||
|
TestPackedTypes = _reflection.GeneratedProtocolMessageType('TestPackedTypes', (_message.Message,), dict(
|
||
|
DESCRIPTOR = _TESTPACKEDTYPES,
|
||
|
__module__ = 'google.protobuf.unittest_proto3_arena_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:proto3_arena_unittest.TestPackedTypes)
|
||
|
))
|
||
|
_sym_db.RegisterMessage(TestPackedTypes)
|
||
|
|
||
|
TestUnpackedTypes = _reflection.GeneratedProtocolMessageType('TestUnpackedTypes', (_message.Message,), dict(
|
||
|
DESCRIPTOR = _TESTUNPACKEDTYPES,
|
||
|
__module__ = 'google.protobuf.unittest_proto3_arena_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:proto3_arena_unittest.TestUnpackedTypes)
|
||
|
))
|
||
|
_sym_db.RegisterMessage(TestUnpackedTypes)
|
||
|
|
||
|
NestedTestAllTypes = _reflection.GeneratedProtocolMessageType('NestedTestAllTypes', (_message.Message,), dict(
|
||
|
DESCRIPTOR = _NESTEDTESTALLTYPES,
|
||
|
__module__ = 'google.protobuf.unittest_proto3_arena_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:proto3_arena_unittest.NestedTestAllTypes)
|
||
|
))
|
||
|
_sym_db.RegisterMessage(NestedTestAllTypes)
|
||
|
|
||
|
ForeignMessage = _reflection.GeneratedProtocolMessageType('ForeignMessage', (_message.Message,), dict(
|
||
|
DESCRIPTOR = _FOREIGNMESSAGE,
|
||
|
__module__ = 'google.protobuf.unittest_proto3_arena_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:proto3_arena_unittest.ForeignMessage)
|
||
|
))
|
||
|
_sym_db.RegisterMessage(ForeignMessage)
|
||
|
|
||
|
TestEmptyMessage = _reflection.GeneratedProtocolMessageType('TestEmptyMessage', (_message.Message,), dict(
|
||
|
DESCRIPTOR = _TESTEMPTYMESSAGE,
|
||
|
__module__ = 'google.protobuf.unittest_proto3_arena_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:proto3_arena_unittest.TestEmptyMessage)
|
||
|
))
|
||
|
_sym_db.RegisterMessage(TestEmptyMessage)
|
||
|
|
||
|
|
||
|
DESCRIPTOR._options = None
|
||
|
_TESTALLTYPES.fields_by_name['optional_string_piece']._options = None
|
||
|
_TESTALLTYPES.fields_by_name['optional_cord']._options = None
|
||
|
_TESTALLTYPES.fields_by_name['optional_lazy_message']._options = None
|
||
|
_TESTALLTYPES.fields_by_name['optional_lazy_import_message']._options = None
|
||
|
_TESTALLTYPES.fields_by_name['repeated_string_piece']._options = None
|
||
|
_TESTALLTYPES.fields_by_name['repeated_cord']._options = None
|
||
|
_TESTALLTYPES.fields_by_name['repeated_lazy_message']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_int32']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_int64']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_uint32']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_uint64']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_sint32']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_sint64']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_fixed32']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_fixed64']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_sfixed32']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_sfixed64']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_float']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_double']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_bool']._options = None
|
||
|
_TESTPACKEDTYPES.fields_by_name['packed_enum']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_int32']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_int64']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_uint32']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_uint64']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_sint32']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_sint64']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_fixed32']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_fixed64']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_sfixed32']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_sfixed64']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_float']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_double']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_bool']._options = None
|
||
|
_TESTUNPACKEDTYPES.fields_by_name['repeated_nested_enum']._options = None
|
||
|
# @@protoc_insertion_point(module_scope)
|