Class ReplaceTextRequest.Builder

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

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

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

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

      public ReplaceTextRequest 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<ReplaceTextRequest.Builder>
    • setField

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

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

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

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

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

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

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

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

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

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

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

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

      public ReplaceTextRequest.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 ReplaceTextRequestOrBuilder
    • getPageIndex

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

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

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

      public String getCurrentText()
      string current_text = 3;
      Specified by:
      getCurrentText in interface ReplaceTextRequestOrBuilder
      Returns:
      The currentText.
    • getCurrentTextBytes

      public com.google.protobuf.ByteString getCurrentTextBytes()
      string current_text = 3;
      Specified by:
      getCurrentTextBytes in interface ReplaceTextRequestOrBuilder
      Returns:
      The bytes for currentText.
    • setCurrentText

      public ReplaceTextRequest.Builder setCurrentText(String value)
      string current_text = 3;
      Parameters:
      value - The currentText to set.
      Returns:
      This builder for chaining.
    • clearCurrentText

      public ReplaceTextRequest.Builder clearCurrentText()
      string current_text = 3;
      Returns:
      This builder for chaining.
    • setCurrentTextBytes

      public ReplaceTextRequest.Builder setCurrentTextBytes(com.google.protobuf.ByteString value)
      string current_text = 3;
      Parameters:
      value - The bytes for currentText to set.
      Returns:
      This builder for chaining.
    • getNewText

      public String getNewText()
      string new_text = 4;
      Specified by:
      getNewText in interface ReplaceTextRequestOrBuilder
      Returns:
      The newText.
    • getNewTextBytes

      public com.google.protobuf.ByteString getNewTextBytes()
      string new_text = 4;
      Specified by:
      getNewTextBytes in interface ReplaceTextRequestOrBuilder
      Returns:
      The bytes for newText.
    • setNewText

      public ReplaceTextRequest.Builder setNewText(String value)
      string new_text = 4;
      Parameters:
      value - The newText to set.
      Returns:
      This builder for chaining.
    • clearNewText

      public ReplaceTextRequest.Builder clearNewText()
      string new_text = 4;
      Returns:
      This builder for chaining.
    • setNewTextBytes

      public ReplaceTextRequest.Builder setNewTextBytes(com.google.protobuf.ByteString value)
      string new_text = 4;
      Parameters:
      value - The bytes for newText to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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