Home
last modified time | relevance | path

Searched refs:msg_descriptor (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py425 msg_descriptor = unittest_pb2.TestAllTypes.DESCRIPTOR
426 mask.AllFieldsFromDescriptor(msg_descriptor)
428 self.assertTrue(mask.IsValidForDescriptor(msg_descriptor))
429 for field in msg_descriptor.fields:
433 msg_descriptor = unittest_pb2.TestAllTypes.DESCRIPTOR
436 self.assertTrue(mask.IsValidForDescriptor(msg_descriptor))
438 mask.AllFieldsFromDescriptor(msg_descriptor)
439 self.assertTrue(mask.IsValidForDescriptor(msg_descriptor))
442 self.assertTrue(mask.IsValidForDescriptor(msg_descriptor))
445 self.assertFalse(mask.IsValidForDescriptor(msg_descriptor))
[all …]
Dreflection_test.py3182 msg_descriptor = descriptor.MakeDescriptor(
3186 DESCRIPTOR = msg_descriptor
3200 msg_descriptor = descriptor.MakeDescriptor(
3202 msg_class = reflection.MakeClass(msg_descriptor)
3216 msg_descriptor = descriptor.MakeDescriptor(
3218 msg_class = reflection.MakeClass(msg_descriptor)
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_enum_field.cc63 const Descriptor* msg_descriptor = descriptor->containing_type(); in SetEnumVariables() local
64 (*variables)["owning_message_class"] = ClassName(msg_descriptor); in SetEnumVariables()
Dobjectivec_oneof.cc50 const Descriptor* msg_descriptor = descriptor_->containing_type(); in OneofGenerator() local
51 variables_["owning_message_class"] = ClassName(msg_descriptor); in OneofGenerator()