Searched refs:message_definition (Results 1 – 3 of 3) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | descriptor.py | 376 def describe_message(message_definition): argument 386 message_descriptor.name = message_definition.definition_name().split('.')[-1] 388 fields = sorted(message_definition.all_fields(), 394 nested_messages = message_definition.__messages__ 400 value = getattr(message_definition, name) 406 nested_enums = message_definition.__enums__ 412 value = getattr(message_definition, name)
|
D | messages.py | 194 def message_definition(cls): member in _DefinitionClass 261 outer_definition = cls.message_definition() 273 outer_definition = cls.message_definition() 1082 message_class = self.__field.message_definition() 1386 def message_definition(self): member in Field 1601 message_type = find_definition(self.__type_name, self.message_definition()) 1753 found_type = find_definition(self.__type_name, self.message_definition()) 1923 parent = relative_to.message_definition()
|
D | messages_test.py | 304 self.assertEquals(None, OuterEnum.message_definition()) 311 self.assertEquals(OuterMessage, OuterMessage.InnerEnum.message_definition()) 1103 MyMessage.field_by_name('my_field').message_definition()) 1431 self.assertEquals(Trade, Trade.Duration.message_definition()) 1444 self.assertEquals(Trade, Trade.Agent.message_definition()) 1445 self.assertEquals(Trade, Trade.Lot.message_definition()) 1696 self.assertEquals(None, OuterMessage.message_definition()) 1698 OuterMessage.InnerMessage.message_definition())
|