Package com.google.protobuf
Class GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>>
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<MessageType,BuilderType>
-
- All Implemented Interfaces:
MessageLite,MessageLiteOrBuilder
public abstract class GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>> extends AbstractMessageLite<MessageType,BuilderType>
Lite version ofGeneratedMessage.Users should generally ignore this class and use the MessageLite interface instead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>>static classGeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>Lite equivalent toGeneratedMessage.GeneratedExtension.-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field Description protected UnknownFieldSetLiteunknownFieldsFor use by generated code only.-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Constructor Summary
Constructors Constructor Description GeneratedMessageLite()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidmakeImmutable()Called by subclasses to complete parsing.static <ContainingType extends MessageLite,Type>
GeneratedMessageLite.GeneratedExtension<ContainingType,Type>newRepeatedGeneratedExtension(ContainingType containingTypeDefaultInstance, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, boolean isPacked, java.lang.Class<?> singularType)For use by generated code only.static GeneratedMessageLite.GeneratedExtensionnewRepeatedGeneratedExtensionMicroEJ(java.lang.Object containingTypeDefaultInstance, java.lang.Object messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, boolean isPacked, java.lang.Class<?> singularType)MicroEJ-compatible factory for repeated extensions.static <ContainingType extends MessageLite,Type>
GeneratedMessageLite.GeneratedExtension<ContainingType,Type>newSingularGeneratedExtension(ContainingType containingTypeDefaultInstance, Type defaultValue, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, java.lang.Class<?> singularType)For use by generated code only.static GeneratedMessageLite.GeneratedExtensionnewSingularGeneratedExtensionMicroEJ(java.lang.Object containingTypeDefaultInstance, java.lang.Object defaultValue, java.lang.Object messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, java.lang.Class<?> singularType)MicroEJ-compatible factory for singular extensions.-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLite
getParserForType, getSerializedSize, newBuilderForType, toBuilder, writeTo
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Field Detail
-
unknownFields
protected UnknownFieldSetLite unknownFields
For use by generated code only. Lazily initialized to reduce allocations.
-
-
Method Detail
-
makeImmutable
protected void makeImmutable()
Called by subclasses to complete parsing. For use by generated code only.
-
newSingularGeneratedExtension
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, java.lang.Class<?> singularType)
For use by generated code only.
-
newRepeatedGeneratedExtension
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, java.lang.Class<?> singularType)
For use by generated code only.
-
newSingularGeneratedExtensionMicroEJ
public static GeneratedMessageLite.GeneratedExtension newSingularGeneratedExtensionMicroEJ(java.lang.Object containingTypeDefaultInstance, java.lang.Object defaultValue, java.lang.Object messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, java.lang.Class<?> singularType)
MicroEJ-compatible factory for singular extensions. Accepts Object types for the containing type and message default instance (avoids MessageLite bound). For use by protoc-gen-microej generated code only.
-
newRepeatedGeneratedExtensionMicroEJ
public static GeneratedMessageLite.GeneratedExtension newRepeatedGeneratedExtensionMicroEJ(java.lang.Object containingTypeDefaultInstance, java.lang.Object messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, boolean isPacked, java.lang.Class<?> singularType)
MicroEJ-compatible factory for repeated extensions. Accepts Object types for the containing type and message default instance (avoids MessageLite bound). For use by protoc-gen-microej generated code only.
-
-