Message interface which implements as many methods of
that interface as possible in terms of other methods.
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | AbstractMessage.Builder<BuilderType extends AbstractMessage.
A partial implementation of the |
| protected static interface | AbstractMessage.BuilderParent
Interface for the parent of a Builder that allows the builder to communicate invalidations back to the parent for use when using nested builders. |
| Modifier and Type | Field and Description |
|---|---|
| protected int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| pack-priv static boolean | compareFields(Map<Descriptors.
Compares two set of fields. |
| private static boolean | |
| private static Map | convertMapEntryListToMap(List<E> list)
Converts a list of MapEntry messages into a Map used for equals() and hashCode(). |
| public boolean | equals(final Object
object to be compared for equality with this message other)Overrides java. Implements com. |
| public List | findInitializationErrors()
Implements com. |
| public String | getInitializationErrorString()
Implements com. |
| pack-priv int | |
| public Descriptors. | getOneofFieldDescriptor(Descriptors.
Implements com. |
| public int | getSerializedSize()
Implements com. |
| protected static int | hashBoolean(boolean b)
Deprecated
from v3.0.0-beta-3+, for compatibility with v2.5.0 and v2.6.1
generated code.
|
| public int | hashCode()
Overrides java. Implements com. |
| protected static int | |
| protected static int | hashEnumList(List<? extends Internal.
Deprecated
from v3.0.0-beta-3+, for compatibility with v2.5.0 and v2.6.1
generated code.
|
| protected static int | hashFields(int hash, Map<Descriptors.
Get a hash code for given fields and values, using the given seed. |
| protected static int | hashLong(long n)
Deprecated
from v3.0.0-beta-3+, for compatibility with v2.5.0 and v2.6.1
generated code.
|
| private static int | |
| public boolean | hasOneof(Descriptors.
Implements com. |
| public boolean | isInitialized()
Implements com. |
| protected Message. | |
| pack-priv UninitializedMessageException | newUninitializedMessageException()
Overrides com. |
| pack-priv void | |
| private static ByteString | |
| public final String | toString()
Overrides java. Implements com. |
| public void | writeTo(final CodedOutputStream output)
Implements com. output.
|