Class InsertBookmarkRequest.Builder

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

public static final class InsertBookmarkRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InsertBookmarkRequest.Builder> implements InsertBookmarkRequestOrBuilder
Protobuf type IronPdfEngine.Proto.InsertBookmarkRequest
  • 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<InsertBookmarkRequest.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<InsertBookmarkRequest.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<InsertBookmarkRequest.Builder>
    • getDefaultInstanceForType

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

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

      public InsertBookmarkRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<InsertBookmarkRequest.Builder>
    • setField

      public InsertBookmarkRequest.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<InsertBookmarkRequest.Builder>
    • clearField

      public InsertBookmarkRequest.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<InsertBookmarkRequest.Builder>
    • clearOneof

      public InsertBookmarkRequest.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<InsertBookmarkRequest.Builder>
    • setRepeatedField

      public InsertBookmarkRequest.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<InsertBookmarkRequest.Builder>
    • addRepeatedField

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

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

    • isInitialized

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

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

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

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

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

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

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

      public InsertBookmarkRequest.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 InsertBookmarkRequestOrBuilder
    • getPageIndex

      public int getPageIndex()
      int32 page_index = 2;
      Specified by:
      getPageIndex in interface InsertBookmarkRequestOrBuilder
      Returns:
      The pageIndex.
    • setPageIndex

      public InsertBookmarkRequest.Builder setPageIndex(int value)
      int32 page_index = 2;
      Parameters:
      value - The pageIndex to set.
      Returns:
      This builder for chaining.
    • clearPageIndex

      public InsertBookmarkRequest.Builder clearPageIndex()
      int32 page_index = 2;
      Returns:
      This builder for chaining.
    • getText

      public String getText()
      string text = 3;
      Specified by:
      getText in interface InsertBookmarkRequestOrBuilder
      Returns:
      The text.
    • getTextBytes

      public com.google.protobuf.ByteString getTextBytes()
      string text = 3;
      Specified by:
      getTextBytes in interface InsertBookmarkRequestOrBuilder
      Returns:
      The bytes for text.
    • setText

      public InsertBookmarkRequest.Builder setText(String value)
      string text = 3;
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

      public InsertBookmarkRequest.Builder clearText()
      string text = 3;
      Returns:
      This builder for chaining.
    • setTextBytes

      public InsertBookmarkRequest.Builder setTextBytes(com.google.protobuf.ByteString value)
      string text = 3;
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.
    • hasParentText

      public boolean hasParentText()
      optional string parent_text = 4;
      Specified by:
      hasParentText in interface InsertBookmarkRequestOrBuilder
      Returns:
      Whether the parentText field is set.
    • getParentText

      public String getParentText()
      optional string parent_text = 4;
      Specified by:
      getParentText in interface InsertBookmarkRequestOrBuilder
      Returns:
      The parentText.
    • getParentTextBytes

      public com.google.protobuf.ByteString getParentTextBytes()
      optional string parent_text = 4;
      Specified by:
      getParentTextBytes in interface InsertBookmarkRequestOrBuilder
      Returns:
      The bytes for parentText.
    • setParentText

      public InsertBookmarkRequest.Builder setParentText(String value)
      optional string parent_text = 4;
      Parameters:
      value - The parentText to set.
      Returns:
      This builder for chaining.
    • clearParentText

      public InsertBookmarkRequest.Builder clearParentText()
      optional string parent_text = 4;
      Returns:
      This builder for chaining.
    • setParentTextBytes

      public InsertBookmarkRequest.Builder setParentTextBytes(com.google.protobuf.ByteString value)
      optional string parent_text = 4;
      Parameters:
      value - The bytes for parentText to set.
      Returns:
      This builder for chaining.
    • hasPreviousText

      public boolean hasPreviousText()
      optional string previous_text = 5;
      Specified by:
      hasPreviousText in interface InsertBookmarkRequestOrBuilder
      Returns:
      Whether the previousText field is set.
    • getPreviousText

      public String getPreviousText()
      optional string previous_text = 5;
      Specified by:
      getPreviousText in interface InsertBookmarkRequestOrBuilder
      Returns:
      The previousText.
    • getPreviousTextBytes

      public com.google.protobuf.ByteString getPreviousTextBytes()
      optional string previous_text = 5;
      Specified by:
      getPreviousTextBytes in interface InsertBookmarkRequestOrBuilder
      Returns:
      The bytes for previousText.
    • setPreviousText

      public InsertBookmarkRequest.Builder setPreviousText(String value)
      optional string previous_text = 5;
      Parameters:
      value - The previousText to set.
      Returns:
      This builder for chaining.
    • clearPreviousText

      public InsertBookmarkRequest.Builder clearPreviousText()
      optional string previous_text = 5;
      Returns:
      This builder for chaining.
    • setPreviousTextBytes

      public InsertBookmarkRequest.Builder setPreviousTextBytes(com.google.protobuf.ByteString value)
      optional string previous_text = 5;
      Parameters:
      value - The bytes for previousText to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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