Home
last modified time | relevance | path

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

/external/python/apitools/apitools/base/protorpclite/
Dtest_util.py283 class OptionalMessage(messages.Message): class
341 nested = messages.MessageField(OptionalMessage, 1)
342 repeated_nested = messages.MessageField(OptionalMessage, 2, repeated=True)
459 self.EncodeDecode(self.encoded_empty_message, OptionalMessage())
463 message = OptionalMessage()
468 message.enum_value = OptionalMessage.SimpleEnum.VAL2
474 message = OptionalMessage()
483 message.enum_value = OptionalMessage.SimpleEnum.VAL2
527 message = OptionalMessage()
543 OptionalMessage, self.unexpected_tag_message)
[all …]
Dprotojson_test.py276 message = protojson.decode_message(test_util.OptionalMessage, '')
277 self.assertEquals(test_util.OptionalMessage(), message)
279 message = protojson.decode_message(test_util.OptionalMessage, ' ')
280 self.assertEquals(test_util.OptionalMessage(), message)
420 test_util.OptionalMessage,
Ddescriptor_test.py430 test_util.OptionalMessage.SimpleEnum.VAL1),
431 descriptor.describe(test_util.OptionalMessage.SimpleEnum.VAL1))
439 descriptor.describe_enum(test_util.OptionalMessage.SimpleEnum),
440 descriptor.describe(test_util.OptionalMessage.SimpleEnum))
474 test_util.OptionalMessage.SimpleEnum.VAL1),