Searched refs:OptionalMessage (Results 1 – 9 of 9) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | test_util.py | 277 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 …]
|
D | protobuf_test.py | 63 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,
|
D | protourlencode_test.py | 44 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()
|
D | webapp_test_util.py | 43 @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)
|
D | end2end_test.py | 37 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'),
|
D | protorpc_test.proto | 34 message OptionalMessage { message 81 optional OptionalMessage nested = 1; 82 repeated OptionalMessage repeated_nested = 2;
|
D | protojson_test.py | 278 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,
|
D | descriptor_test.py | 515 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),
|
D | protorpc_test_pb2.py | 390 class OptionalMessage(six.with_metaclass(reflection.GeneratedProtocolMessageType, message.Message)): class
|