Class GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,​BuilderType>,​BuilderType extends GeneratedMessageLite.Builder<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 of GeneratedMessage.

    Users should generally ignore this class and use the MessageLite interface instead.

    • Field Detail

      • unknownFields

        protected UnknownFieldSetLite unknownFields
        For use by generated code only. Lazily initialized to reduce allocations.
    • Constructor Detail

      • GeneratedMessageLite

        public GeneratedMessageLite()
    • Method Detail

      • makeImmutable

        protected void makeImmutable()
        Called by subclasses to complete parsing. 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.