Searched refs:msg_descriptor (Results 1 – 4 of 4) sorted by relevance
425 msg_descriptor = unittest_pb2.TestAllTypes.DESCRIPTOR426 mask.AllFieldsFromDescriptor(msg_descriptor)428 self.assertTrue(mask.IsValidForDescriptor(msg_descriptor))429 for field in msg_descriptor.fields:433 msg_descriptor = unittest_pb2.TestAllTypes.DESCRIPTOR436 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 …]
3182 msg_descriptor = descriptor.MakeDescriptor(3186 DESCRIPTOR = msg_descriptor3200 msg_descriptor = descriptor.MakeDescriptor(3202 msg_class = reflection.MakeClass(msg_descriptor)3216 msg_descriptor = descriptor.MakeDescriptor(3218 msg_class = reflection.MakeClass(msg_descriptor)
63 const Descriptor* msg_descriptor = descriptor->containing_type(); in SetEnumVariables() local64 (*variables)["owning_message_class"] = ClassName(msg_descriptor); in SetEnumVariables()
50 const Descriptor* msg_descriptor = descriptor_->containing_type(); in OneofGenerator() local51 variables_["owning_message_class"] = ClassName(msg_descriptor); in OneofGenerator()