Home
last modified time | relevance | path

Searched refs:encode_message (Results 1 – 5 of 5) sorted by relevance

/external/python/apitools/apitools/base/protorpclite/
Dtest_util.py438 self.PROTOLIB.encode_message, message)
456 self.CompareEncoded(encoded, self.PROTOLIB.encode_message(message))
537 self.PROTOLIB.encode_message,
550 self.PROTOLIB.encode_message(loaded_message))
597 MyMessage, self.PROTOLIB.encode_message(message))
610 MyMessage, self.PROTOLIB.encode_message(message))
Dprotojson.py174 def encode_message(self, message): member in ProtoJson
365 encode_message = ProtoJson.get_default().encode_message variable
Dprotojson_test.py271 protojson.encode_message,
369 decoded_message = protojson.encode_message(
396 decoded_message = protojson.encode_message(MyMessage(a_custom=1))
442 self.protojson.encode_message(MyMessage(a_string='xyz')))
/external/python/apitools/apitools/base/py/
Dencoding.py96 return codec.decode_message(type(message), codec.encode_message(message))
101 result = _ProtoJsonApiTools.Get().encode_message(message)
330 def encode_message(self, message): member in _ProtoJsonApiTools
332 return '[%s]' % (', '.join(self.encode_message(x)
340 result = super(_ProtoJsonApiTools, self).encode_message(message)
370 value = json.loads(self.encode_message(value))
/external/protobuf/python/google/protobuf/internal/
Dencoder.py816 encode_message = MessageEncoder(field_descriptor.number, False, False)
821 encode_message(write, entry_msg)