| Modifier and Type | Field and Description |
|---|---|
| private Extension | |
| private List | unknownFieldData
The serialised values for this object. |
| private Object |
| Access | Constructor and Description |
|---|---|
| pack-priv <T> | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public final FieldData | |
| pack-priv int | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| pack-priv UnknownFieldData | |
| pack-priv int | |
| pack-priv <T> T | |
| public int | |
| pack-priv <T> void | |
| private byte[] | |
| pack-priv void |
| cachedExtension | back to summary |
|---|---|
| private Extension<?, ?> cachedExtension | |
| unknownFieldData | back to summary |
|---|---|
| private List<UnknownFieldData> unknownFieldData The serialised values for this object. Will be cleared if getValue is called | |
| value | back to summary |
|---|---|
| private Object value | |
| FieldData | back to summary |
|---|---|
| pack-priv <T> FieldData(Extension<?, T> extension, T newValue) | |
| FieldData | back to summary |
|---|---|
| pack-priv FieldData() | |
| addUnknownField | back to summary |
|---|---|
| pack-priv void addUnknownField(UnknownFieldData unknownField) | |
| clone | back to summary |
|---|---|
| public final FieldData clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| computeSerializedSize | back to summary |
|---|---|
| pack-priv int computeSerializedSize() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getUnknownField | back to summary |
|---|---|
| pack-priv UnknownFieldData getUnknownField(int index) | |
| getUnknownFieldSize | back to summary |
|---|---|
| pack-priv int getUnknownFieldSize() | |
| getValue | back to summary |
|---|---|
| pack-priv <T> T getValue(Extension<?, T> extension) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setValue | back to summary |
|---|---|
| pack-priv <T> void setValue(Extension<?, T> extension, T newValue) | |
| toByteArray | back to summary |
|---|---|
| private byte[] toByteArray() throws IOException | |
| writeTo | back to summary |
|---|---|
| pack-priv void writeTo(CodedOutputByteBufferNano output) throws IOException | |