Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dtest_util.py277 class OptionalMessage(messages.Message): class
343 nested = messages.MessageField(OptionalMessage, 1)
344 repeated_nested = messages.MessageField(OptionalMessage, 2, repeated=True)
460 self.EncodeDecode(self.encoded_empty_message, OptionalMessage())
464 message = OptionalMessage()
469 message.enum_value = OptionalMessage.SimpleEnum.VAL2
475 message = OptionalMessage()
484 message.enum_value = OptionalMessage.SimpleEnum.VAL2
528 message = OptionalMessage()
543 loaded_message = self.PROTOLIB.decode_message(OptionalMessage,
[all …]
Dprotobuf_test.py63 proto = protorpc_test_pb2.OptionalMessage()
68 proto.enum_value = protorpc_test_pb2.OptionalMessage.VAL2
74 proto = protorpc_test_pb2.OptionalMessage()
83 proto.enum_value = protorpc_test_pb2.OptionalMessage.VAL2
159 proto = protorpc_test_pb2.OptionalMessage()
166 field_num = test_util.OptionalMessage.enum_value.number
196 test_util.OptionalMessage,
207 test_util.OptionalMessage,
223 test_util.OptionalMessage,
228 decoded = protobuf.decode_message(test_util.OptionalMessage,
Dprotourlencode_test.py44 sub_message = messages.MessageField(test_util.OptionalMessage, 1)
45 sub_messages = messages.MessageField(test_util.OptionalMessage,
93 message = test_util.OptionalMessage()
101 self.assertEquals(test_util.OptionalMessage.SimpleEnum.VAL1,
147 test_util.OptionalMessage))
180 message = test_util.OptionalMessage()
186 message = test_util.OptionalMessage()
207 message = test_util.OptionalMessage()
Dwebapp_test_util.py43 @remote.method(test_util.OptionalMessage,
44 test_util.OptionalMessage)
241 @remote.method(test_util.OptionalMessage, test_util.OptionalMessage)
247 @remote.method(response_type=test_util.OptionalMessage)
249 return test_util.OptionalMessage(string_value=self.__message)
Dend2end_test.py37 self.assertEquals(test_util.OptionalMessage(string_value='+blar'),
51 self.assertEquals(test_util.OptionalMessage(string_value='uninitialized'),
53 self.assertEquals(test_util.OptionalMessage(string_value='initialized'),
Dprotorpc_test.proto34 message OptionalMessage { message
81 optional OptionalMessage nested = 1;
82 repeated OptionalMessage repeated_nested = 2;
Dprotojson_test.py278 message = protojson.decode_message(test_util.OptionalMessage, '')
279 self.assertEquals(test_util.OptionalMessage(), message)
281 message = protojson.decode_message(test_util.OptionalMessage, ' ')
282 self.assertEquals(test_util.OptionalMessage(), message)
401 test_util.OptionalMessage,
Ddescriptor_test.py515 test_util.OptionalMessage.SimpleEnum.VAL1),
516 descriptor.describe(test_util.OptionalMessage.SimpleEnum.VAL1))
524 descriptor.describe_enum(test_util.OptionalMessage.SimpleEnum),
525 descriptor.describe(test_util.OptionalMessage.SimpleEnum))
574 descriptor.describe_enum_value(test_util.OptionalMessage.SimpleEnum.VAL1),
Dprotorpc_test_pb2.py390 class OptionalMessage(six.with_metaclass(reflection.GeneratedProtocolMessageType, message.Message)): class