Class CopyPagesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<CopyPagesRequest.Builder>
com.ironsoftware.ironpdf.internal.proto.CopyPagesRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CopyPagesRequestOrBuilder, Cloneable
Enclosing class:
CopyPagesRequest

public static final class CopyPagesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CopyPagesRequest.Builder> implements CopyPagesRequestOrBuilder
Protobuf type IronPdfEngine.Proto.CopyPagesRequest
  • Method Details

    • 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<CopyPagesRequest.Builder>
    • clear

      public CopyPagesRequest.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<CopyPagesRequest.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<CopyPagesRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public CopyPagesRequest.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CopyPagesRequest.Builder>
    • setField

      public CopyPagesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CopyPagesRequest.Builder>
    • clearField

      public CopyPagesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CopyPagesRequest.Builder>
    • clearOneof

      public CopyPagesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CopyPagesRequest.Builder>
    • setRepeatedField

      public CopyPagesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CopyPagesRequest.Builder>
    • addRepeatedField

      public CopyPagesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CopyPagesRequest.Builder>
    • mergeFrom

      public CopyPagesRequest.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<CopyPagesRequest.Builder>
    • mergeFrom

      public CopyPagesRequest.Builder mergeFrom(CopyPagesRequest other)
    • isInitialized

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

      public CopyPagesRequest.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<CopyPagesRequest.Builder>
      Throws:
      IOException
    • hasDocument

      public boolean hasDocument()
      .IronPdfEngine.Proto.PdfDocument document = 1;
      Specified by:
      hasDocument in interface CopyPagesRequestOrBuilder
      Returns:
      Whether the document field is set.
    • getDocument

      public PdfDocument getDocument()
      .IronPdfEngine.Proto.PdfDocument document = 1;
      Specified by:
      getDocument in interface CopyPagesRequestOrBuilder
      Returns:
      The document.
    • setDocument

      public CopyPagesRequest.Builder setDocument(PdfDocument value)
      .IronPdfEngine.Proto.PdfDocument document = 1;
    • setDocument

      public CopyPagesRequest.Builder setDocument(PdfDocument.Builder builderForValue)
      .IronPdfEngine.Proto.PdfDocument document = 1;
    • mergeDocument

      public CopyPagesRequest.Builder mergeDocument(PdfDocument value)
      .IronPdfEngine.Proto.PdfDocument document = 1;
    • clearDocument

      public CopyPagesRequest.Builder clearDocument()
      .IronPdfEngine.Proto.PdfDocument document = 1;
    • getDocumentBuilder

      public PdfDocument.Builder getDocumentBuilder()
      .IronPdfEngine.Proto.PdfDocument document = 1;
    • getDocumentOrBuilder

      public PdfDocumentOrBuilder getDocumentOrBuilder()
      .IronPdfEngine.Proto.PdfDocument document = 1;
      Specified by:
      getDocumentOrBuilder in interface CopyPagesRequestOrBuilder
    • getPageIndexesList

      public List<Integer> getPageIndexesList()
      repeated int32 page_indexes = 2;
      Specified by:
      getPageIndexesList in interface CopyPagesRequestOrBuilder
      Returns:
      A list containing the pageIndexes.
    • getPageIndexesCount

      public int getPageIndexesCount()
      repeated int32 page_indexes = 2;
      Specified by:
      getPageIndexesCount in interface CopyPagesRequestOrBuilder
      Returns:
      The count of pageIndexes.
    • getPageIndexes

      public int getPageIndexes(int index)
      repeated int32 page_indexes = 2;
      Specified by:
      getPageIndexes in interface CopyPagesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The pageIndexes at the given index.
    • setPageIndexes

      public CopyPagesRequest.Builder setPageIndexes(int index, int value)
      repeated int32 page_indexes = 2;
      Parameters:
      index - The index to set the value at.
      value - The pageIndexes to set.
      Returns:
      This builder for chaining.
    • addPageIndexes

      public CopyPagesRequest.Builder addPageIndexes(int value)
      repeated int32 page_indexes = 2;
      Parameters:
      value - The pageIndexes to add.
      Returns:
      This builder for chaining.
    • addAllPageIndexes

      public CopyPagesRequest.Builder addAllPageIndexes(Iterable<? extends Integer> values)
      repeated int32 page_indexes = 2;
      Parameters:
      values - The pageIndexes to add.
      Returns:
      This builder for chaining.
    • clearPageIndexes

      public CopyPagesRequest.Builder clearPageIndexes()
      repeated int32 page_indexes = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final CopyPagesRequest.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<CopyPagesRequest.Builder>
    • mergeUnknownFields

      public final CopyPagesRequest.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<CopyPagesRequest.Builder>