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.py158 message = protojson.decode_message(MyMessage, '{"a_float": 10}')
165 message = protojson.decode_message(MyMessage,
181 protojson.decode_message,
184 protojson.decode_message,
187 protojson.decode_message,
192 message = protojson.decode_message(MyMessage, '{"an_enum": 2}')
204 protojson.decode_message,
210 message = protojson.decode_message(MyMessage, '{"an_enum": "RED"}')
222 protojson.decode_message,
231 protojson.decode_message,
[all …]
Dtest_util.py454 message = self.PROTOLIB.decode_message(type(expected_message), encoded)
542 loaded_message = self.PROTOLIB.decode_message(
584 self.PROTOLIB.decode_message,
596 decoded = self.PROTOLIB.decode_message(
609 decoded = self.PROTOLIB.decode_message(
Dprotojson.py191 def decode_message(self, message_type, encoded_message): member in ProtoJson
367 decode_message = ProtoJson.get_default().decode_message variable
/external/python/apitools/apitools/base/py/
Dencoding.py96 return codec.decode_message(type(message), codec.encode_message(message))
107 return _ProtoJsonApiTools.Get().decode_message(message_type, message)
286 def decode_message(self, message_type, encoded_message): member in _ProtoJsonApiTools
291 result = super(_ProtoJsonApiTools, self).decode_message(
313 field_value = self.decode_message(