Searched refs:descriptor_pb2 (Results 1 - 12 of 12) sorted by relevance
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | descriptor_database_test.py | 44 from google.protobuf import descriptor_pb2 namespace 56 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString( 58 file_desc_proto2 = descriptor_pb2.FileDescriptorProto.FromString( 97 file_desc_proto2 = descriptor_pb2.FileDescriptorProto.FromString( 113 unittest_fd = descriptor_pb2.FileDescriptorProto.FromString( 116 conflict_fd = descriptor_pb2.FileDescriptorProto.FromString(
|
H A D | descriptor_test.py | 48 from google.protobuf import descriptor_pb2 namespace 68 file_proto = descriptor_pb2.FileDescriptorProto( 76 type=descriptor_pb2.FieldDescriptorProto.TYPE_INT32, 77 label=descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL) 133 descriptor_pb2.EnumOptions()) 135 descriptor_pb2.EnumValueOptions()) 137 descriptor_pb2.MessageOptions()) 139 descriptor_pb2.FieldOptions()) 141 descriptor_pb2.MethodOptions()) 143 descriptor_pb2 [all...] |
H A D | message_factory_test.py | 42 from google.protobuf import descriptor_pb2 namespace 56 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString( 58 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString( 165 f = descriptor_pb2.FileDescriptorProto() 178 f = descriptor_pb2.FileDescriptorProto() 187 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL 195 f = descriptor_pb2.FileDescriptorProto() 204 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
|
H A D | descriptor_pool_test.py | 49 from google.protobuf import descriptor_pb2 namespace 439 descriptor_proto = descriptor_pb2.FileDescriptorProto.FromString( 474 pool.Add(descriptor_pb2.FileDescriptorProto.FromString( 476 pool.Add(descriptor_pb2.FileDescriptorProto.FromString( 478 pool.Add(descriptor_pb2.FileDescriptorProto.FromString( 492 file_desc = descriptor_pb2.FileDescriptorProto(name='some/file.proto') 503 more_messages_desc = descriptor_pb2.FileDescriptorProto.FromString( 505 test1_desc = descriptor_pb2.FileDescriptorProto.FromString( 507 test2_desc = descriptor_pb2.FileDescriptorProto.FromString( 522 unittest_fd = descriptor_pb2 [all...] |
H A D | proto_builder_test.py | 44 from google.protobuf import descriptor_pb2 namespace 54 ('foo', descriptor_pb2.FieldDescriptorProto.TYPE_INT64), 55 ('bar', descriptor_pb2.FieldDescriptorProto.TYPE_STRING),
|
H A D | reflection_test.py | 54 from google.protobuf import descriptor_pb2 namespace 1440 options=descriptor_pb2.FieldOptions(), 1447 options=descriptor_pb2.MessageOptions(), 1472 new_field.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL 1476 desc_proto = descriptor_pb2.DescriptorProto() 1478 fdp = descriptor_pb2.FieldDescriptorProto 1489 new_field.label = descriptor_pb2.FieldDescriptorProto.LABEL_REPEATED 1975 file_descriptor_proto = descriptor_pb2.FileDescriptorProto() 3261 file_descriptor = descriptor_pb2.FileDescriptorProto() 3277 file_descriptor = descriptor_pb2 [all...] |
H A D | text_format_test.py | 57 from google.protobuf import descriptor_pb2 namespace 514 message_proto = descriptor_pb2.DescriptorProto() 564 parsed_proto = descriptor_pb2.DescriptorProto()
|
H A D | message_test.py | 77 from google.protobuf import descriptor_pb2 namespace 2676 desc = descriptor_pb2.FileDescriptorProto()
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
H A D | descriptor_test.py | 41 from google.protobuf import descriptor_pb2 namespace 126 descriptor_pb2.EnumOptions()) 128 descriptor_pb2.EnumValueOptions()) 130 descriptor_pb2.MessageOptions()) 132 descriptor_pb2.FieldOptions()) 134 descriptor_pb2.MethodOptions()) 136 descriptor_pb2.ServiceOptions()) 420 descriptor_pb2.DescriptorProto, 436 descriptor_pb2.DescriptorProto, 453 descriptor_pb2 [all...] |
/third_party/protobuf/python/google/protobuf/ |
H A D | proto_builder.py | 40 from google.protobuf import descriptor_pb2 namespace 119 file_proto = descriptor_pb2.FileDescriptorProto() 128 field_proto.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
|
H A D | descriptor.py | 167 from google.protobuf import descriptor_pb2 namespace 169 options_class = getattr(descriptor_pb2, 224 """Copies this to the matching proto in descriptor_pb2. 227 proto: An empty proto instance from descriptor_pb2. 386 """Copies this to a descriptor_pb2.DescriptorProto. 389 proto: An empty descriptor_pb2.DescriptorProto. 448 options (descriptor_pb2.FieldOptions): Protocol message field options or 647 options (descriptor_pb2.EnumOptions): Enum options message or 686 """Copies this to a descriptor_pb2.EnumDescriptorProto. 689 proto (descriptor_pb2 1060 from google.protobuf import descriptor_pb2 global() namespace [all...] |
H A D | descriptor_pool.py | 213 from google.protobuf import descriptor_pb2 namespace 214 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString( 829 desc_proto: The descriptor_pb2.DescriptorProto protobuf message. 917 enum_proto: The descriptor_pb2.EnumDescriptorProto protobuf message. 1141 service_proto: The descriptor_pb2.ServiceDescriptorProto protobuf message.
|
Completed in 16 milliseconds