Class ListStringP.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListStringPOrBuilder, Cloneable
    Enclosing class:
    ListStringP

    public static final class ListStringP.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListStringP.Builder>
    implements ListStringPOrBuilder
    Protobuf type ironpdfengineproto.ListStringP
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListStringP.Builder>
      • clear

        public ListStringP.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListStringP.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListStringP.Builder>
      • getDefaultInstanceForType

        public ListStringP getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListStringP build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListStringP buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public ListStringP.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListStringP.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListStringP.Builder>
      • mergeFrom

        public ListStringP.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListStringP.Builder>
        Throws:
        IOException
      • getItemsList

        public com.google.protobuf.ProtocolStringList getItemsList()
        repeated string items = 1;
        Specified by:
        getItemsList in interface ListStringPOrBuilder
        Returns:
        A list containing the items.
      • getItems

        public String getItems​(int index)
        repeated string items = 1;
        Specified by:
        getItems in interface ListStringPOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The items at the given index.
      • getItemsBytes

        public com.google.protobuf.ByteString getItemsBytes​(int index)
        repeated string items = 1;
        Specified by:
        getItemsBytes in interface ListStringPOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the items at the given index.
      • setItems

        public ListStringP.Builder setItems​(int index,
                                            String value)
        repeated string items = 1;
        Parameters:
        index - The index to set the value at.
        value - The items to set.
        Returns:
        This builder for chaining.
      • addItems

        public ListStringP.Builder addItems​(String value)
        repeated string items = 1;
        Parameters:
        value - The items to add.
        Returns:
        This builder for chaining.
      • addAllItems

        public ListStringP.Builder addAllItems​(Iterable<String> values)
        repeated string items = 1;
        Parameters:
        values - The items to add.
        Returns:
        This builder for chaining.
      • clearItems

        public ListStringP.Builder clearItems()
        repeated string items = 1;
        Returns:
        This builder for chaining.
      • addItemsBytes

        public ListStringP.Builder addItemsBytes​(com.google.protobuf.ByteString value)
        repeated string items = 1;
        Parameters:
        value - The bytes of the items to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListStringP.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListStringP.Builder>
      • mergeUnknownFields

        public final ListStringP.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListStringP.Builder>