Class AddTextAnnotationRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.ironsoftware.ironpdf.internal.proto.AddTextAnnotationRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AddTextAnnotationRequestOrBuilder, Serializable

public final class AddTextAnnotationRequest extends com.google.protobuf.GeneratedMessageV3 implements AddTextAnnotationRequestOrBuilder
Protobuf type IronPdfEngine.Proto.AddTextAnnotationRequest
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasDocument

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

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

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

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

      public int getX()
      int32 x = 3;
      Specified by:
      getX in interface AddTextAnnotationRequestOrBuilder
      Returns:
      The x.
    • getY

      public int getY()
      int32 y = 4;
      Specified by:
      getY in interface AddTextAnnotationRequestOrBuilder
      Returns:
      The y.
    • hasTextAnnotation

      public boolean hasTextAnnotation()
      .IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
      Specified by:
      hasTextAnnotation in interface AddTextAnnotationRequestOrBuilder
      Returns:
      Whether the textAnnotation field is set.
    • getTextAnnotation

      public TextAnnotation getTextAnnotation()
      .IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
      Specified by:
      getTextAnnotation in interface AddTextAnnotationRequestOrBuilder
      Returns:
      The textAnnotation.
    • getTextAnnotationOrBuilder

      public TextAnnotationOrBuilder getTextAnnotationOrBuilder()
      .IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
      Specified by:
      getTextAnnotationOrBuilder in interface AddTextAnnotationRequestOrBuilder
    • hasWidth

      public boolean hasWidth()
      optional int32 width = 6;
      Specified by:
      hasWidth in interface AddTextAnnotationRequestOrBuilder
      Returns:
      Whether the width field is set.
    • getWidth

      public int getWidth()
      optional int32 width = 6;
      Specified by:
      getWidth in interface AddTextAnnotationRequestOrBuilder
      Returns:
      The width.
    • hasHeight

      public boolean hasHeight()
      optional int32 height = 7;
      Specified by:
      hasHeight in interface AddTextAnnotationRequestOrBuilder
      Returns:
      Whether the height field is set.
    • getHeight

      public int getHeight()
      optional int32 height = 7;
      Specified by:
      getHeight in interface AddTextAnnotationRequestOrBuilder
      Returns:
      The height.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AddTextAnnotationRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AddTextAnnotationRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AddTextAnnotationRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AddTextAnnotationRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AddTextAnnotationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AddTextAnnotationRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AddTextAnnotationRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AddTextAnnotationRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AddTextAnnotationRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AddTextAnnotationRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AddTextAnnotationRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AddTextAnnotationRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AddTextAnnotationRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AddTextAnnotationRequest.Builder newBuilder()
    • newBuilder

      public static AddTextAnnotationRequest.Builder newBuilder(AddTextAnnotationRequest prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AddTextAnnotationRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static AddTextAnnotationRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AddTextAnnotationRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<AddTextAnnotationRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public AddTextAnnotationRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder