Package-level declarations
Types
Offers a nice wrapper around DoubleArray, that handles resizing the underlying array as needed and provides a trimToSize() method to truncate the underlying array to the current number of elements.
Encode a duration as a JSON string like "1.200s". From the spec:
Encodes enums using their declared names as defined in WireEnumConstant or their generated names if the declared name is empty. Decodes using either their declared names, their generated names, or their tags.
Read, write, and describe a tag within a message. This class knows how to assign fields to a builder object, and how to extract values from a message object.
Offers a nice wrapper around FloatArray, that handles resizing the underlying array as needed and provides a trimToSize() method to truncate the underlying array to the current number of elements.
Encode an instant as a JSON string like "1950-01-01T00:00:00Z". From the spec:
Offers a nice wrapper around IntArray, that handles resizing the underlying array as needed and provides a trimToSize() method to truncate the underlying array to the current number of elements.
Transforms a scalar value to and from JSON.
Integrates a JSON library like Moshi or Gson into proto. This rigid interface attempts to make it easy all JSON libraries to encode and decode JSON in the exact same way.
This annotation is an empty placeholder.
This annotation is an empty placeholder.
Offers a nice wrapper around LongArray, that handles resizing the underlying array as needed and provides a trimToSize() method to truncate the underlying array to the current number of elements.
A representation of a message and its builder class. Typically these are generated subtypes of com.squareup.wire.Message and com.squareup.wire.Message.Builder.
Functions
Maps oneOfName to the companion object field of type Set containing the eligible keys.
Convert string, from snake case to camel case.
Throw NullPointerException if any of list's items is null.
Throw NullPointerException if any ofmap's keys or values is null.
Returns the number of non-null values in a, b.
Returns the number of non-null values in a, b, c.
Returns the number of non-null values in a, b, c, d, rest.
Create an exception for missing required fields.