public abstract class GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>> extends AbstractMessageLite<MessageType,BuilderType>
GeneratedMessage.
Users should generally ignore this class and use the MessageLite interface instead.
| Modifier and Type | Class and Description |
|---|---|
static class |
GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>> |
static class |
GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>
Lite equivalent to
GeneratedMessage.GeneratedExtension. |
AbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
protected UnknownFieldSetLite |
unknownFields
For use by generated code only.
|
memoizedHashCode| Constructor and Description |
|---|
GeneratedMessageLite() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
makeImmutable()
Called by subclasses to complete parsing.
|
static <ContainingType extends MessageLite,Type> |
newRepeatedGeneratedExtension(ContainingType containingTypeDefaultInstance,
MessageLite messageDefaultInstance,
Internal.EnumLiteMap<?> enumTypeMap,
int number,
WireFormat.FieldType type,
boolean isPacked,
Class<?> singularType)
For use by generated code only.
|
static GeneratedMessageLite.GeneratedExtension |
newRepeatedGeneratedExtensionMicroEJ(Object containingTypeDefaultInstance,
Object messageDefaultInstance,
Internal.EnumLiteMap<?> enumTypeMap,
int number,
WireFormat.FieldType type,
boolean isPacked,
Class<?> singularType)
MicroEJ-compatible factory for repeated extensions.
|
static <ContainingType extends MessageLite,Type> |
newSingularGeneratedExtension(ContainingType containingTypeDefaultInstance,
Type defaultValue,
MessageLite messageDefaultInstance,
Internal.EnumLiteMap<?> enumTypeMap,
int number,
WireFormat.FieldType type,
Class<?> singularType)
For use by generated code only.
|
static GeneratedMessageLite.GeneratedExtension |
newSingularGeneratedExtensionMicroEJ(Object containingTypeDefaultInstance,
Object defaultValue,
Object messageDefaultInstance,
Internal.EnumLiteMap<?> enumTypeMap,
int number,
WireFormat.FieldType type,
Class<?> singularType)
MicroEJ-compatible factory for singular extensions.
|
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParserForType, getSerializedSize, newBuilderForType, toBuilder, writeTogetDefaultInstanceForType, isInitializedprotected UnknownFieldSetLite unknownFields
protected void makeImmutable()
public static <ContainingType extends MessageLite,Type> GeneratedMessageLite.GeneratedExtension<ContainingType,Type> newRepeatedGeneratedExtension(ContainingType containingTypeDefaultInstance, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, boolean isPacked, Class<?> singularType)
public static GeneratedMessageLite.GeneratedExtension newRepeatedGeneratedExtensionMicroEJ(Object containingTypeDefaultInstance, Object messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, boolean isPacked, Class<?> singularType)
public static <ContainingType extends MessageLite,Type> GeneratedMessageLite.GeneratedExtension<ContainingType,Type> newSingularGeneratedExtension(ContainingType containingTypeDefaultInstance, Type defaultValue, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, Class<?> singularType)
public static GeneratedMessageLite.GeneratedExtension newSingularGeneratedExtensionMicroEJ(Object containingTypeDefaultInstance, Object defaultValue, Object messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, Class<?> singularType)