Home
last modified time | relevance | path

Searched refs:DESCRIPTOR (Results 1 – 25 of 60) sorted by relevance

123

/third_party/protobuf/python/google/protobuf/internal/
Dgenerator_test.py69 proto_type.NestedMessage.DESCRIPTOR,
70 proto_type.DESCRIPTOR.fields_by_name[field_name].message_type)
114 desc = unittest_pb2.TestAllTypes.DESCRIPTOR
131 unittest_pb2.TestAllExtensions.DESCRIPTOR)
133 unittest_pb2.TestAllExtensions.DESCRIPTOR)
139 unittest_pb2.TestRequired.DESCRIPTOR)
145 message_descriptor = unittest_pb2.TestRequired.DESCRIPTOR
151 self.assertTrue(proto.DESCRIPTOR.GetOptions().message_set_wire_format)
155 enum_options = proto.DESCRIPTOR.enum_types_by_name['AnEnum'].GetOptions()
162 set(unittest_pb2.TestAllTypes.DESCRIPTOR.nested_types),
[all …]
Ddescriptor_test.py146 file_descriptor = unittest_custom_options_pb2.DESCRIPTOR
148 TestMessageWithCustomOptions.DESCRIPTOR)
157 TestServiceWithCustomOptions.DESCRIPTOR)
190 unittest_custom_options_pb2.DummyMessageContainingEnum.DESCRIPTOR)
201 TestMessageWithCustomOptions.DESCRIPTOR)
216 unittest_custom_options_pb2.CustomOptionMinIntegerValues.DESCRIPTOR
242 unittest_custom_options_pb2.CustomOptionMaxIntegerValues.DESCRIPTOR
268 unittest_custom_options_pb2.CustomOptionOtherValues.DESCRIPTOR
286 unittest_custom_options_pb2.SettingRealsFromPositiveInts.DESCRIPTOR
294 unittest_custom_options_pb2.SettingRealsFromNegativeInts.DESCRIPTOR
[all …]
Ddescriptor_pool_test.py425 _CheckDefaultValue(descriptor_pool_test1_pb2.DESCRIPTOR)
429 self.assertIs(file_descriptor, descriptor_pool_test1_pb2.DESCRIPTOR)
440 descriptor_pool_test1_pb2.DESCRIPTOR.serialized_pb)
475 unittest_import_public_pb2.DESCRIPTOR.serialized_pb))
477 unittest_import_pb2.DESCRIPTOR.serialized_pb))
479 unittest_pb2.DESCRIPTOR.serialized_pb))
482 unittest_pb2.TestAllTypes.DESCRIPTOR.full_name))
504 more_messages_pb2.DESCRIPTOR.serialized_pb)
506 descriptor_pool_test1_pb2.DESCRIPTOR.serialized_pb)
508 descriptor_pool_test2_pb2.DESCRIPTOR.serialized_pb)
[all …]
Ddescriptor_database_test.py57 factory_test2_pb2.DESCRIPTOR.serialized_pb)
59 no_package_pb2.DESCRIPTOR.serialized_pb)
98 unittest_pb2.DESCRIPTOR.serialized_pb)
114 unittest_pb2.DESCRIPTOR.serialized_pb)
117 unittest_pb2.DESCRIPTOR.serialized_pb)
Dsymbol_database_test.py56 db.RegisterFileDescriptor(unittest_pb2.DESCRIPTOR)
61 db.RegisterEnumDescriptor(unittest_pb2.ForeignEnum.DESCRIPTOR)
62 db.RegisterEnumDescriptor(unittest_pb2.TestAllTypes.NestedEnum.DESCRIPTOR)
68 unittest_pb2.TestAllTypes.DESCRIPTOR)
Denum_type_wrapper.py46 DESCRIPTOR = None variable in EnumTypeWrapper
51 self.DESCRIPTOR = enum_type # pylint: disable=invalid-name
Dproto_builder_test.py92 self.assertIs(proto_cls1.DESCRIPTOR, proto_cls2.DESCRIPTOR)
Dmessage_factory_test.py57 factory_test1_pb2.DESCRIPTOR.serialized_pb)
59 factory_test2_pb2.DESCRIPTOR.serialized_pb)
134 for ext in factory_msg1.DESCRIPTOR.file.pool.FindAllExtensions(
135 factory_msg1.DESCRIPTOR))))
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dgenerator_test.py63 proto_type.NestedMessage.DESCRIPTOR,
64 proto_type.DESCRIPTOR.fields_by_name[field_name].message_type)
108 desc = unittest_pb2.TestAllTypes.DESCRIPTOR
125 unittest_pb2.TestAllExtensions.DESCRIPTOR)
127 unittest_pb2.TestAllExtensions.DESCRIPTOR)
133 unittest_pb2.TestRequired.DESCRIPTOR)
139 message_descriptor = unittest_pb2.TestRequired.DESCRIPTOR
145 self.assertTrue(proto.DESCRIPTOR.GetOptions().message_set_wire_format)
149 enum_options = proto.DESCRIPTOR.enum_types_by_name['AnEnum'].GetOptions()
156 set(unittest_pb2.TestAllTypes.DESCRIPTOR.nested_types),
[all …]
Ddescriptor_test.py139 file_descriptor = unittest_custom_options_pb2.DESCRIPTOR
141 unittest_custom_options_pb2.TestMessageWithCustomOptions.DESCRIPTOR
147 unittest_custom_options_pb2.TestServiceWithCustomOptions.DESCRIPTOR
185 unittest_custom_options_pb2.CustomOptionMinIntegerValues.DESCRIPTOR
211 unittest_custom_options_pb2.CustomOptionMaxIntegerValues.DESCRIPTOR
237 unittest_custom_options_pb2.CustomOptionOtherValues.DESCRIPTOR
255 unittest_custom_options_pb2.SettingRealsFromPositiveInts.DESCRIPTOR
263 unittest_custom_options_pb2.SettingRealsFromNegativeInts.DESCRIPTOR
272 unittest_custom_options_pb2.VariousComplexOptions.DESCRIPTOR
321 file_descriptor = unittest_custom_options_pb2.DESCRIPTOR
[all …]
/third_party/grpc/test/http2_test/
Dmessages_pb2.py19 DESCRIPTOR = _descriptor.FileDescriptor( variable
25 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
31 file=DESCRIPTOR,
54 file=DESCRIPTOR,
85 file=DESCRIPTOR,
123 file=DESCRIPTOR,
161 file=DESCRIPTOR,
241 file=DESCRIPTOR,
286 file=DESCRIPTOR,
324 file=DESCRIPTOR,
[all …]
/third_party/grpc/examples/python/helloworld/
Dhelloworld_pb2.py18 DESCRIPTOR = _descriptor.FileDescriptor( variable
32 file=DESCRIPTOR,
63 file=DESCRIPTOR,
89 DESCRIPTOR.message_types_by_name['HelloRequest'] = _HELLOREQUEST
90 DESCRIPTOR.message_types_by_name['HelloReply'] = _HELLOREPLY
91 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
94 DESCRIPTOR = _HELLOREQUEST,
101 DESCRIPTOR = _HELLOREPLY,
108 DESCRIPTOR.has_options = True
109 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\033io.grpc.exa…
[all …]
/third_party/grpc/examples/python/interceptors/headers/
Dhelloworld_pb2.py18 DESCRIPTOR = _descriptor.FileDescriptor( variable
32 file=DESCRIPTOR,
63 file=DESCRIPTOR,
89 DESCRIPTOR.message_types_by_name['HelloRequest'] = _HELLOREQUEST
90 DESCRIPTOR.message_types_by_name['HelloReply'] = _HELLOREPLY
91 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
94 DESCRIPTOR = _HELLOREQUEST,
101 DESCRIPTOR = _HELLOREPLY,
108 DESCRIPTOR.has_options = True
109 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\033io.grpc.exa…
[all …]
/third_party/grpc/examples/python/metadata/
Dhelloworld_pb2.py18 DESCRIPTOR = _descriptor.FileDescriptor( variable
32 file=DESCRIPTOR,
63 file=DESCRIPTOR,
89 DESCRIPTOR.message_types_by_name['HelloRequest'] = _HELLOREQUEST
90 DESCRIPTOR.message_types_by_name['HelloReply'] = _HELLOREPLY
91 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
94 DESCRIPTOR = _HELLOREQUEST,
101 DESCRIPTOR = _HELLOREPLY,
108 DESCRIPTOR.has_options = True
109 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\033io.grpc.exa…
[all …]
/third_party/grpc/examples/python/multiplex/
Dhelloworld_pb2.py18 DESCRIPTOR = _descriptor.FileDescriptor( variable
32 file=DESCRIPTOR,
63 file=DESCRIPTOR,
89 DESCRIPTOR.message_types_by_name['HelloRequest'] = _HELLOREQUEST
90 DESCRIPTOR.message_types_by_name['HelloReply'] = _HELLOREPLY
91 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
94 DESCRIPTOR = _HELLOREQUEST,
101 DESCRIPTOR = _HELLOREPLY,
108 DESCRIPTOR.has_options = True
109 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\033io.grpc.exa…
[all …]
Droute_guide_pb2.py18 DESCRIPTOR = _descriptor.FileDescriptor( variable
32 file=DESCRIPTOR,
70 file=DESCRIPTOR,
108 file=DESCRIPTOR,
146 file=DESCRIPTOR,
184 file=DESCRIPTOR,
235 DESCRIPTOR.message_types_by_name['Point'] = _POINT
236 DESCRIPTOR.message_types_by_name['Rectangle'] = _RECTANGLE
237 DESCRIPTOR.message_types_by_name['Feature'] = _FEATURE
238 DESCRIPTOR.message_types_by_name['RouteNote'] = _ROUTENOTE
[all …]
/third_party/grpc/examples/python/interceptors/default_value/
Dhelloworld_pb2.py18 DESCRIPTOR = _descriptor.FileDescriptor( variable
32 file=DESCRIPTOR,
63 file=DESCRIPTOR,
89 DESCRIPTOR.message_types_by_name['HelloRequest'] = _HELLOREQUEST
90 DESCRIPTOR.message_types_by_name['HelloReply'] = _HELLOREPLY
91 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
94 DESCRIPTOR = _HELLOREQUEST,
101 DESCRIPTOR = _HELLOREPLY,
108 DESCRIPTOR.has_options = True
109 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\033io.grpc.exa…
[all …]
/third_party/grpc/examples/python/xds/
Dhelloworld_pb2.py18 DESCRIPTOR = _descriptor.FileDescriptor( variable
32 file=DESCRIPTOR,
63 file=DESCRIPTOR,
89 DESCRIPTOR.message_types_by_name['HelloRequest'] = _HELLOREQUEST
90 DESCRIPTOR.message_types_by_name['HelloReply'] = _HELLOREPLY
91 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
94 DESCRIPTOR = _HELLOREQUEST,
101 DESCRIPTOR = _HELLOREPLY,
108 DESCRIPTOR.has_options = True
109 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\033io.grpc.exa…
[all …]
/third_party/grpc/examples/python/route_guide/
Droute_guide_pb2.py18 DESCRIPTOR = _descriptor.FileDescriptor( variable
32 file=DESCRIPTOR,
70 file=DESCRIPTOR,
108 file=DESCRIPTOR,
146 file=DESCRIPTOR,
184 file=DESCRIPTOR,
235 DESCRIPTOR.message_types_by_name['Point'] = _POINT
236 DESCRIPTOR.message_types_by_name['Rectangle'] = _RECTANGLE
237 DESCRIPTOR.message_types_by_name['Feature'] = _FEATURE
238 DESCRIPTOR.message_types_by_name['RouteNote'] = _ROUTENOTE
[all …]
/third_party/grpc/examples/python/data_transmission/
Ddemo_pb2.py18 DESCRIPTOR = _descriptor.FileDescriptor( variable
33 file=DESCRIPTOR,
42 serialized_options=None, file=DESCRIPTOR),
49 serialized_options=None, file=DESCRIPTOR),
71 file=DESCRIPTOR,
80 serialized_options=None, file=DESCRIPTOR),
87 serialized_options=None, file=DESCRIPTOR),
104 DESCRIPTOR.message_types_by_name['Request'] = _REQUEST
105 DESCRIPTOR.message_types_by_name['Response'] = _RESPONSE
106 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatParseInfoTreeTest.java41 private static final Descriptor DESCRIPTOR = TestAllTypes.getDescriptor(); field in TextFormatParseInfoTreeTest
43 DESCRIPTOR.findFieldByName("optional_int32");
45 DESCRIPTOR.findFieldByName("optional_boolean");
47 DESCRIPTOR.findFieldByName("repeated_int32");
49 DESCRIPTOR.findFieldByName("optional_nested_message");
51 DESCRIPTOR.findFieldByName("repeated_nested_message");
/third_party/grpc/src/python/grpcio_tests/tests/testing/
D_application_testing_common.py22 if services_pb2.DESCRIPTOR.services_by_name.get('FirstService') is None:
29 FIRST_SERVICE = services_pb2.DESCRIPTOR.services_by_name['FirstService']
/third_party/protobuf/python/google/protobuf/
Djson_format.py209 message_descriptor = message.DESCRIPTOR
255 message_descriptor = message.DESCRIPTOR
333 message_descriptor = sub_message.DESCRIPTOR
363 oneof_descriptor = message.DESCRIPTOR.fields_by_name[which]
381 message.DESCRIPTOR.fields_by_name['value'], message.value)
476 message_descriptor = message.DESCRIPTOR
496 message_descriptor = message.DESCRIPTOR
530 message.DESCRIPTOR.full_name, name))
538 message.DESCRIPTOR.full_name, oneof_name))
566 sub_message.DESCRIPTOR.full_name != 'google.protobuf.Value'):
[all …]
Dmessage.py78 DESCRIPTOR = None variable in Message
398 message_descriptor = self.DESCRIPTOR
/third_party/grpc/src/python/grpcio_tests/tests/reflection/
D_reflection_servicer_test.py90 _file_descriptor_to_proto(empty_pb2.DESCRIPTOR),))),
114 _file_descriptor_to_proto(empty_pb2.DESCRIPTOR),))),
143 empty2_extensions_pb2.DESCRIPTOR),))),

123