Home
last modified time | relevance | path

Searched refs:decode_message (Results 1 – 4 of 4) sorted by relevance

/external/python/apitools/apitools/base/protorpclite/
Dprotojson_test.py163 message = protojson.decode_message(MyMessage, '{"a_float": 10}')
170 message = protojson.decode_message(MyMessage,
186 protojson.decode_message,
189 protojson.decode_message,
192 protojson.decode_message,
197 message = protojson.decode_message(MyMessage, '{"an_enum": 2}')
207 message = protojson.decode_message(MyMessage,
219 message = protojson.decode_message(MyMessage, '{"an_enum": "RED"}')
229 message = protojson.decode_message(MyMessage,
242 message = protojson.decode_message(MyMessage, '{"an_enum": ""}')
[all …]
Dtest_util.py454 message = self.PROTOLIB.decode_message(type(expected_message), encoded)
542 loaded_message = self.PROTOLIB.decode_message(
586 decoded = self.PROTOLIB.decode_message(OptionalMessage,
601 decoded = self.PROTOLIB.decode_message(
614 decoded = self.PROTOLIB.decode_message(
Dprotojson.py195 def decode_message(self, message_type, encoded_message): member in ProtoJson
381 decode_message = ProtoJson.get_default().decode_message variable
/external/python/apitools/apitools/base/py/
Dencoding_helper.py123 return _ProtoJsonApiTools.Get().decode_message(message_type, message)
303 def decode_message(self, message_type, encoded_message): member in _ProtoJsonApiTools
308 result = super(_ProtoJsonApiTools, self).decode_message(
330 field_value = self.decode_message(
461 return codec.decode_message(type(message), codec.encode_message(message))