| Modifier and Type | Field and Description |
|---|---|
| protected FieldArray | unknownFieldData
A container for fields unknown to the message, including extensions. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public M | |
| protected int | computeSerializedSize()
Overrides com. |
| public final <T> T | getExtension(Extension<M, T> extension)
Gets the value stored in the specified extension of this message. |
| public final boolean | hasExtension(Extension<M, ?> extension)
Checks if there is a value stored for the specified extension in this message. |
| public final <T> M | setExtension(Extension<M, T> extension, T value)
Sets the value of the specified extension of this message. |
| protected final boolean | Returns: true unless the tag is an end-group tag.the input buffer. input, int the tag of the field. tag)Stores the binary data of an unknown field. |
| public void | writeTo(CodedOutputByteBufferNano
the output to receive the serialized form. output)Overrides com. output.
|
| unknownFieldData | back to summary |
|---|---|
| protected FieldArray unknownFieldData A container for fields unknown to the message, including extensions. Extension fields can
can be accessed through the | |
| ExtendableMessageNano | back to summary |
|---|---|
| public ExtendableMessageNano() | |
| clone | back to summary |
|---|---|
| public M clone() throws CloneNotSupportedException Overrides com. Doc from com. Provides support for cloning. This only works if you specify the generate_clone method.
| |
| computeSerializedSize | back to summary |
|---|---|
| protected int computeSerializedSize() Overrides com. Doc from com. Computes the number of bytes required to encode this message. This does not update the cached size.
| |
| getExtension | back to summary |
|---|---|
| public final <T> T getExtension(Extension<M, T> extension) Gets the value stored in the specified extension of this message. | |
| hasExtension | back to summary |
|---|---|
| public final boolean hasExtension(Extension<M, ?> extension) Checks if there is a value stored for the specified extension in this message. | |
| setExtension | back to summary |
|---|---|
| public final <T> M setExtension(Extension<M, T> extension, T value) Sets the value of the specified extension of this message. | |
| storeUnknownField | back to summary |
|---|---|
| protected final boolean storeUnknownField(CodedInputByteBufferNano input, int tag) throws IOException Stores the binary data of an unknown field. Generated messages will call this for unknown fields if the store_unknown_fields option is on. Note that the tag might be a end-group tag (rather than the start of an unknown field) in which case we do not want to add an unknown field entry.
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(CodedOutputByteBufferNano output) throws IOException Overrides com. Doc from com. Serializes the message and writes it to
| |