The goog.proto Namespace

The goog.proto.Serializer Class

Object that can serialize objects or values to a protocol buffer string. … more

.serialize(object)

Serializes an object or a value to a protocol buffer string.

object {Object}
The object to serialize.
returns {string}
The serialized protocol buffer string.