Modifier and Type | Method and Description |
---|---|
FieldEncoding |
ProtoReader.peekFieldEncoding()
Returns the encoding of the next field value.
|
static FieldEncoding |
FieldEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldEncoding[] |
FieldEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Message.Builder<T,B> |
Message.Builder.addUnknownField(int tag,
FieldEncoding fieldEncoding,
Object value) |
void |
ProtoWriter.writeTag(int fieldNumber,
FieldEncoding fieldEncoding)
Encode and write a tag.
|
Constructor and Description |
---|
ProtoAdapter(FieldEncoding fieldEncoding,
Class<?> javaType) |
Copyright © 2013–2016 Square, Inc.. All rights reserved.