Package akka.protobuf

Class GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite,​BuilderType extends GeneratedMessageLite.Builder>

    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • getDefaultInstanceForType

        public abstract MessageType getDefaultInstanceForType()
        Description copied from interface: MessageLiteOrBuilder
        Get an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from the getDefaultInstance() method of generated message classes in that this method is an abstract method of the MessageLite interface whereas getDefaultInstance() is a static method of a specific class. They return the same thing.
      • parseUnknownField

        protected boolean parseUnknownField​(CodedInputStream input,
                                            ExtensionRegistryLite extensionRegistry,
                                            int tag)
                                     throws java.io.IOException
        Called by subclasses to parse an unknown field.
        Returns:
        true unless the tag is an end-group tag.
        Throws:
        java.io.IOException