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()
1437 def message_definition(self): member in Field
1659 self.__type_name, self.message_definition())
1816 self.__type_name, self.message_definition())
1996 parent = relative_to.message_definition()
Dmessages_test.py321 self.assertEquals(None, OuterEnum.message_definition())
329 OuterMessage, OuterMessage.InnerEnum.message_definition())
1155 MyMessage.field_by_name('my_field').message_definition())
1486 self.assertEquals(Trade, Trade.Duration.message_definition())
1500 self.assertEquals(Trade, Trade.Agent.message_definition())
1501 self.assertEquals(Trade, Trade.Lot.message_definition())
1759 self.assertEquals(None, OuterMessage.message_definition())
1761 OuterMessage.InnerMessage.message_definition())