Package | Description |
---|---|
com.google.protobuf.nano |
Modifier and Type | Method and Description |
---|---|
static <M extends ExtendableMessageNano<M>,T extends MessageNano> |
Extension.createMessageTyped(int type,
Class<T> clazz,
int tag)
Deprecated.
use
createMessageTyped(int, Class, long) instead. |
static <M extends ExtendableMessageNano<M>,T extends MessageNano> |
Extension.createMessageTyped(int type,
Class<T> clazz,
long tag)
Creates an
Extension of the given message type and tag number. |
static <M extends ExtendableMessageNano<M>,T> |
Extension.createPrimitiveTyped(int type,
Class<T> clazz,
long tag)
Creates an
Extension of the given primitive type and tag number. |
static <M extends ExtendableMessageNano<M>,T extends MessageNano> |
Extension.createRepeatedMessageTyped(int type,
Class<T[]> clazz,
long tag)
Creates a repeated
Extension of the given message type and tag number. |
static <M extends ExtendableMessageNano<M>,T> |
Extension.createRepeatedPrimitiveTyped(int type,
Class<T> clazz,
long tag,
long nonPackedTag,
long packedTag)
Creates a repeated
Extension of the given primitive type and tag number. |
Modifier and Type | Method and Description |
---|---|
<T> T |
ExtendableMessageNano.getExtension(Extension<M,T> extension)
Gets the value stored in the specified extension of this message.
|
boolean |
ExtendableMessageNano.hasExtension(Extension<M,?> extension)
Checks if there is a value stored for the specified extension in this
message.
|
<T> M |
ExtendableMessageNano.setExtension(Extension<M,T> extension,
T value)
Sets the value of the specified extension of this message.
|
Copyright © 2008–2018. All rights reserved.