Home
last modified time | relevance | path

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

12

/external/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.py139 file_descriptor = unittest_custom_options_pb2.DESCRIPTOR
141 unittest_custom_options_pb2.TestMessageWithCustomOptions.DESCRIPTOR
147 unittest_custom_options_pb2.TestServiceWithCustomOptions.DESCRIPTOR
177 unittest_custom_options_pb2.DummyMessageContainingEnum.DESCRIPTOR)
190 unittest_custom_options_pb2.CustomOptionMinIntegerValues.DESCRIPTOR
216 unittest_custom_options_pb2.CustomOptionMaxIntegerValues.DESCRIPTOR
242 unittest_custom_options_pb2.CustomOptionOtherValues.DESCRIPTOR
260 unittest_custom_options_pb2.SettingRealsFromPositiveInts.DESCRIPTOR
268 unittest_custom_options_pb2.SettingRealsFromNegativeInts.DESCRIPTOR
277 unittest_custom_options_pb2.VariousComplexOptions.DESCRIPTOR
[all …]
Ddescriptor_pool_test.py67 factory_test1_pb2.DESCRIPTOR.serialized_pb)
69 factory_test2_pb2.DESCRIPTOR.serialized_pb)
277 more_messages_pb2.DESCRIPTOR.serialized_pb)
279 descriptor_pool_test1_pb2.DESCRIPTOR.serialized_pb)
281 descriptor_pool_test2_pb2.DESCRIPTOR.serialized_pb)
299 _CheckDefaultValue(descriptor_pool_test1_pb2.DESCRIPTOR)
303 self.assertIs(file_descriptor, descriptor_pool_test1_pb2.DESCRIPTOR)
308 descriptor_pool_test1_pb2.DESCRIPTOR.serialized_pb)
343 unittest_import_public_pb2.DESCRIPTOR.serialized_pb))
345 unittest_import_pb2.DESCRIPTOR.serialized_pb))
[all …]
Dsymbol_database_test.py54 db.RegisterFileDescriptor(unittest_pb2.DESCRIPTOR)
59 db.RegisterEnumDescriptor(unittest_pb2.ForeignEnum.DESCRIPTOR)
60 db.RegisterEnumDescriptor(unittest_pb2.TestAllTypes.NestedEnum.DESCRIPTOR)
65 unittest_pb2.TestAllTypes.DESCRIPTOR)
Denum_type_wrapper.py44 DESCRIPTOR = None variable in EnumTypeWrapper
49 self.DESCRIPTOR = enum_type;
Dproto_builder_test.py92 self.assertIs(proto_cls1.DESCRIPTOR, proto_cls2.DESCRIPTOR)
Dwell_known_types_test.py327 msg_descriptor = unittest_pb2.TestAllTypes.DESCRIPTOR
421 for field in src.DESCRIPTOR.fields:
585 msg_descriptor = msg.DESCRIPTOR
587 all_descriptor = all_types.DESCRIPTOR
628 'type.myservice.com/%s' % submessage.DESCRIPTOR.full_name)
632 'type.myservice.com/%s' % submessage.DESCRIPTOR.full_name)
636 '/%s' % submessage.DESCRIPTOR.full_name)
Dwell_known_types.py72 self.type_url = '%s/%s' % (type_url_prefix, msg.DESCRIPTOR.full_name)
74 self.type_url = '%s%s' % (type_url_prefix, msg.DESCRIPTOR.full_name)
79 descriptor = msg.DESCRIPTOR
468 message_descriptor = message.DESCRIPTOR
575 source_descriptor = source.DESCRIPTOR
Dpython_message.py243 if extension_handle.containing_type is not message.DESCRIPTOR:
248 message.DESCRIPTOR.full_name))
754 extension_handle.containing_type = cls.DESCRIPTOR
766 cls.DESCRIPTOR.full_name, extension_handle.number))
953 other.DESCRIPTOR != self.DESCRIPTOR):
959 if self.DESCRIPTOR.full_name == _AnyFullTypeName:
1052 self.DESCRIPTOR.full_name, ','.join(self.FindInitializationErrors())))
Dunknown_fields_test.py62 self.descriptor = unittest_pb2.TestAllTypes.DESCRIPTOR
146 self.descriptor = unittest_pb2.TestAllTypes.DESCRIPTOR
247 self.descriptor = missing_enum_values_pb2.TestEnumValues.DESCRIPTOR
Dmessage_factory_test.py54 factory_test1_pb2.DESCRIPTOR.serialized_pb)
56 factory_test2_pb2.DESCRIPTOR.serialized_pb)
/external/grpc-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 …]
/external/grpc-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 …]
/external/grpc-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 …]
Dgreeter_server_with_reflection.py38 helloworld_pb2.DESCRIPTOR.services_by_name['Greeter'].full_name,
/external/grpc-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 …]
/external/grpc-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 …]
/external/grpc-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 …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatParseInfoTreeTest.java44 private static final Descriptor DESCRIPTOR = TestAllTypes.getDescriptor(); field in TextFormatParseInfoTreeTest
46 DESCRIPTOR.findFieldByName("optional_int32");
48 DESCRIPTOR.findFieldByName("optional_boolean");
50 DESCRIPTOR.findFieldByName("repeated_int32");
52 DESCRIPTOR.findFieldByName("optional_nested_message");
54 DESCRIPTOR.findFieldByName("repeated_nested_message");
/external/protobuf/python/google/protobuf/
Djson_format.py99 message_descriptor = message.DESCRIPTOR
149 message_descriptor = message.DESCRIPTOR
216 message_descriptor = sub_message.DESCRIPTOR
261 oneof_descriptor = message.DESCRIPTOR.fields_by_name[which]
286 message.DESCRIPTOR.fields_by_name['value'], message.value)
335 message_descriptor = message.DESCRIPTOR
346 message.DESCRIPTOR.full_name, name))
354 message.DESCRIPTOR.full_name, oneof_name))
377 sub_message.DESCRIPTOR.full_name != 'google.protobuf.Value'):
415 message_descriptor = message.DESCRIPTOR
[all …]
/external/perfetto/tools/
Drun_ftrace_proto_gen19 DESCRIPTOR='gen/protos/perfetto/trace/ftrace.descriptor'
20 "$DIR/ninja" -C "$BUILDDIR" ftrace_proto_gen $DESCRIPTOR
28 --proto_descriptor "$BUILDDIR/$DESCRIPTOR" \
/external/grpc-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']
D_client_test.py33 services_pb2.DESCRIPTOR.services_by_name.get('FirstService') is None,
46 services_pb2.DESCRIPTOR.services_by_name.values(), self._fake_time)
48 services_pb2.DESCRIPTOR.services_by_name.values(), self._real_time)
/external/grpc-grpc/src/python/grpcio_tests/tests/reflection/
D_reflection_servicer_test.py75 _file_descriptor_to_proto(empty_pb2.DESCRIPTOR),))),
99 _file_descriptor_to_proto(empty_pb2.DESCRIPTOR),))),
128 empty2_extensions_pb2.DESCRIPTOR),))),

12