Runtime Message Adapter
Properties
Field bindings by index. The indexes are consistent across all related fields including jsonNames, jsonAlternateNames, and the result of jsonAdapters.
When reading JSON these are alternate names for each field. If null the field has no alternate name.
When writing each field as JSON this is the name to use.
Path to the file containing the protobuf definition of this type.
Identifies this type for inclusion in a google.protobuf.Any. This is a string like "type.googleapis.com/packagename.messagename" or null if this type is either not a message (such as scalars and enums), or was code-generated before Wire 3.2 which introduced support for type URLS.
Functions
Returns an adapter for E but as a packed, repeated value.
Returns an adapter for E but as a repeated value.
Read an encoded message from data.
Encode value as a ByteString.
The size of the non-null data value. This does not include the size required for a length-delimited prefix (should the type require one).
The size of tag and value in the wire format. This size includes the tag, type, length-delimited prefix (should the type require one), and value. Returns 0 if value is null.
Write tag and value to writer. If value is null this does nothing.
Reads a value and appends it to destination if this has data available. Otherwise, it will only clear the reader state.