Searched refs:decode_message (Results 1 – 4 of 4) sorted by relevance
/external/python/apitools/apitools/base/protorpclite/ |
D | protojson_test.py | 158 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 …]
|
D | test_util.py | 454 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(
|
D | protojson.py | 191 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/ |
D | encoding.py | 96 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(
|