Home
last modified time | relevance | path

Searched refs:message_definition (Results 1 – 3 of 3) sorted by relevance

/external/python/apitools/apitools/base/protorpclite/
Ddescriptor.py341 def describe_message(message_definition): argument
351 message_descriptor.name = message_definition.definition_name().split(
354 fields = sorted(message_definition.all_fields(),
360 nested_messages = message_definition.__messages__
366 value = getattr(message_definition, name)
372 nested_enums = message_definition.__enums__
378 value = getattr(message_definition, name)
Dmessages.py192 def message_definition(cls): member in _DefinitionClass
264 outer_definition = cls.message_definition()
275 outer_definition = cls.message_definition()
1101 message_class = self.__field.message_definition()
1443 def message_definition(self): member in Field
1665 self.__type_name, self.message_definition())
1822 self.__type_name, self.message_definition())
2002 parent = relative_to.message_definition()
Dmessages_test.py316 self.assertEquals(None, OuterEnum.message_definition())
324 OuterMessage, OuterMessage.InnerEnum.message_definition())
1150 MyMessage.field_by_name('my_field').message_definition())
1481 self.assertEquals(Trade, Trade.Duration.message_definition())
1495 self.assertEquals(Trade, Trade.Agent.message_definition())
1496 self.assertEquals(Trade, Trade.Lot.message_definition())
1754 self.assertEquals(None, OuterMessage.message_definition())
1756 OuterMessage.InnerMessage.message_definition())