GeneratedMessage.
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite
|
| protected static class | GeneratedMessageLite.DefaultInstanceBasedParser<T extends GeneratedMessageLite
A |
| pack-priv static class | GeneratedMessageLite.EqualsVisitor
Implements equals. |
| public abstract static class | GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.
Lite equivalent of |
| public abstract static class | GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.
Lite equivalent of |
| public static interface | GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.
Lite equivalent of |
| pack-priv static class | |
| public static class | GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite, Type>
Lite equivalent to |
| pack-priv static class | GeneratedMessageLite.HashCodeVisitor
Implements hashCode by accumulating state. |
| protected static class | GeneratedMessageLite.MergeFromVisitor
Implements field merging semantics over the visitor interface. |
| public static enum | GeneratedMessageLite.MethodToInvoke
Defines which method path to invoke in |
| protected static class | GeneratedMessageLite.SerializedForm
A serialized (serializable) form of the generated message. |
| protected static interface | GeneratedMessageLite.Visitor
An abstract visitor that the generated code calls into that we use to implement various features. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final boolean | |
| protected int | memoizedSerializedSize
For use by generated code only. |
| protected UnknownFieldSetLite | unknownFields
For use by generated code only. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static <MessageType extends GeneratedMessageLite. | checkIsLite(ExtensionLite<MessageType, T> extension)
Checks that the |
| private static <T extends GeneratedMessageLite | Returns: The message to check.Helper method to check if message is initialized. |
| protected final <MessageType extends GeneratedMessageLite | |
| protected final <MessageType extends GeneratedMessageLite | |
| protected abstract Object | dynamicMethod(GeneratedMessageLite.
A method that implements different types of operations described in |
| protected Object | dynamicMethod(GeneratedMessageLite.
Same as |
| protected Object | dynamicMethod(GeneratedMessageLite.
Same as |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static <E> Internal. | |
| private final void | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| pack-priv boolean | equals(GeneratedMessageLite.
Same as |
| public final MessageType | getDefaultInstanceForType()
Implements com. |
| pack-priv int | |
| pack-priv static Method | getMethodOrDie(Class<T> clazz, String name, Class<T>... params)
Calls Class.getMethod and throws a RuntimeException if it fails. |
| public final Parser | getParserForType()
Implements com. |
| public int | |
| pack-priv int | |
| pack-priv static Object | invokeOrDie(Method method, Object object, Object... params)
Calls invoke and throws a RuntimeException if it fails. |
| public final boolean | isInitialized()
Implements com. |
| protected static final <T extends GeneratedMessageLite | isInitialized(T message, boolean shouldMemoize)
A static helper method for checking if a message is initialized, optionally memoizing. |
| protected void | |
| protected void | mergeLengthDelimitedField(int fieldNumber, ByteString value)
Called by subclasses to parse an unknown field. |
| protected final void | mergeUnknownFields(UnknownFieldSetLite unknownFields)
Merge some unknown fields into the |
| protected void | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static <E> Internal. | |
| public final BuilderType | newBuilderForType()
Implements com. |
| public static <ContainingType extends MessageLite, Type> GeneratedMessageLite. | newRepeatedGeneratedExtension(final ContainingType containingTypeDefaultInstance, final MessageLite messageDefaultInstance, final Internal.
For use by generated code only. |
| public static <ContainingType extends MessageLite, Type> GeneratedMessageLite. | newSingularGeneratedExtension(final ContainingType containingTypeDefaultInstance, final Type defaultValue, final MessageLite messageDefaultInstance, final Internal.
For use by generated code only. |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| protected static <T extends GeneratedMessageLite | |
| private static <T extends GeneratedMessageLite | parsePartialDelimitedFrom(T defaultInstance, InputStream input, ExtensionRegistryLite extensionRegistry)
|
| pack-priv static <T extends GeneratedMessageLite | parsePartialFrom(T instance, CodedInputStream input, ExtensionRegistryLite extensionRegistry)
A static helper method for parsing a partial from input using the extension registry and the instance. |
| pack-priv static <T extends GeneratedMessageLite | parsePartialFrom(T instance, byte[] input, int offset, int length, ExtensionRegistryLite extensionRegistry)
A static helper method for parsing a partial from byte array. |
| protected static <T extends GeneratedMessageLite | |
| private static <T extends GeneratedMessageLite | |
| private static <T extends GeneratedMessageLite | |
| protected boolean | Returns: true unless the tag is an end-group tag.Called by subclasses to parse an unknown field. |
| pack-priv void | |
| public final BuilderType | toBuilder()
Implements com. |
| public String | |
| pack-priv void |