Class TextAnnotation

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

public final class TextAnnotation extends com.google.protobuf.GeneratedMessageV3 implements TextAnnotationOrBuilder
Protobuf type IronPdfEngine.Proto.TextAnnotation
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type IronPdfEngine.Proto.TextAnnotation

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    optional string color_code = 1;
    com.google.protobuf.ByteString
    optional string color_code = 1;
    optional string contents = 2;
    com.google.protobuf.ByteString
    optional string contents = 2;
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    boolean
    optional bool hidden = 3;
    optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
    optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
    double
    optional double opacity = 4;
    boolean
    optional bool open_by_default = 5;
    com.google.protobuf.Parser<TextAnnotation>
     
    boolean
    optional bool printable = 6;
    boolean
    optional bool read_only = 7;
    boolean
    optional bool rotateable = 8;
    int
     
    optional string subject = 9;
    com.google.protobuf.ByteString
    optional string subject = 9;
    optional string title = 10;
    com.google.protobuf.ByteString
    optional string title = 10;
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    optional string color_code = 1;
    boolean
    optional string contents = 2;
    int
     
    boolean
    optional bool hidden = 3;
    boolean
    optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
    boolean
    optional double opacity = 4;
    boolean
    optional bool open_by_default = 5;
    boolean
    optional bool printable = 6;
    boolean
    optional bool read_only = 7;
    boolean
    optional bool rotateable = 8;
    boolean
    optional string subject = 9;
    boolean
    optional string title = 10;
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<TextAnnotation>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • 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
    • hasColorCode

      public boolean hasColorCode()
      optional string color_code = 1;
      Specified by:
      hasColorCode in interface TextAnnotationOrBuilder
      Returns:
      Whether the colorCode field is set.
    • getColorCode

      public String getColorCode()
      optional string color_code = 1;
      Specified by:
      getColorCode in interface TextAnnotationOrBuilder
      Returns:
      The colorCode.
    • getColorCodeBytes

      public com.google.protobuf.ByteString getColorCodeBytes()
      optional string color_code = 1;
      Specified by:
      getColorCodeBytes in interface TextAnnotationOrBuilder
      Returns:
      The bytes for colorCode.
    • hasContents

      public boolean hasContents()
      optional string contents = 2;
      Specified by:
      hasContents in interface TextAnnotationOrBuilder
      Returns:
      Whether the contents field is set.
    • getContents

      public String getContents()
      optional string contents = 2;
      Specified by:
      getContents in interface TextAnnotationOrBuilder
      Returns:
      The contents.
    • getContentsBytes

      public com.google.protobuf.ByteString getContentsBytes()
      optional string contents = 2;
      Specified by:
      getContentsBytes in interface TextAnnotationOrBuilder
      Returns:
      The bytes for contents.
    • hasHidden

      public boolean hasHidden()
      optional bool hidden = 3;
      Specified by:
      hasHidden in interface TextAnnotationOrBuilder
      Returns:
      Whether the hidden field is set.
    • getHidden

      public boolean getHidden()
      optional bool hidden = 3;
      Specified by:
      getHidden in interface TextAnnotationOrBuilder
      Returns:
      The hidden.
    • hasOpacity

      public boolean hasOpacity()
      optional double opacity = 4;
      Specified by:
      hasOpacity in interface TextAnnotationOrBuilder
      Returns:
      Whether the opacity field is set.
    • getOpacity

      public double getOpacity()
      optional double opacity = 4;
      Specified by:
      getOpacity in interface TextAnnotationOrBuilder
      Returns:
      The opacity.
    • hasOpenByDefault

      public boolean hasOpenByDefault()
      optional bool open_by_default = 5;
      Specified by:
      hasOpenByDefault in interface TextAnnotationOrBuilder
      Returns:
      Whether the openByDefault field is set.
    • getOpenByDefault

      public boolean getOpenByDefault()
      optional bool open_by_default = 5;
      Specified by:
      getOpenByDefault in interface TextAnnotationOrBuilder
      Returns:
      The openByDefault.
    • hasPrintable

      public boolean hasPrintable()
      optional bool printable = 6;
      Specified by:
      hasPrintable in interface TextAnnotationOrBuilder
      Returns:
      Whether the printable field is set.
    • getPrintable

      public boolean getPrintable()
      optional bool printable = 6;
      Specified by:
      getPrintable in interface TextAnnotationOrBuilder
      Returns:
      The printable.
    • hasReadOnly

      public boolean hasReadOnly()
      optional bool read_only = 7;
      Specified by:
      hasReadOnly in interface TextAnnotationOrBuilder
      Returns:
      Whether the readOnly field is set.
    • getReadOnly

      public boolean getReadOnly()
      optional bool read_only = 7;
      Specified by:
      getReadOnly in interface TextAnnotationOrBuilder
      Returns:
      The readOnly.
    • hasRotateable

      public boolean hasRotateable()
      optional bool rotateable = 8;
      Specified by:
      hasRotateable in interface TextAnnotationOrBuilder
      Returns:
      Whether the rotateable field is set.
    • getRotateable

      public boolean getRotateable()
      optional bool rotateable = 8;
      Specified by:
      getRotateable in interface TextAnnotationOrBuilder
      Returns:
      The rotateable.
    • hasSubject

      public boolean hasSubject()
      optional string subject = 9;
      Specified by:
      hasSubject in interface TextAnnotationOrBuilder
      Returns:
      Whether the subject field is set.
    • getSubject

      public String getSubject()
      optional string subject = 9;
      Specified by:
      getSubject in interface TextAnnotationOrBuilder
      Returns:
      The subject.
    • getSubjectBytes

      public com.google.protobuf.ByteString getSubjectBytes()
      optional string subject = 9;
      Specified by:
      getSubjectBytes in interface TextAnnotationOrBuilder
      Returns:
      The bytes for subject.
    • hasTitle

      public boolean hasTitle()
      optional string title = 10;
      Specified by:
      hasTitle in interface TextAnnotationOrBuilder
      Returns:
      Whether the title field is set.
    • getTitle

      public String getTitle()
      optional string title = 10;
      Specified by:
      getTitle in interface TextAnnotationOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
      optional string title = 10;
      Specified by:
      getTitleBytes in interface TextAnnotationOrBuilder
      Returns:
      The bytes for title.
    • hasIcon

      public boolean hasIcon()
      optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
      Specified by:
      hasIcon in interface TextAnnotationOrBuilder
      Returns:
      Whether the icon field is set.
    • getIcon

      public AnnotationIcon getIcon()
      optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
      Specified by:
      getIcon in interface TextAnnotationOrBuilder
      Returns:
      The icon.
    • getIconOrBuilder

      public AnnotationIconOrBuilder getIconOrBuilder()
      optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
      Specified by:
      getIconOrBuilder in interface TextAnnotationOrBuilder
    • 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 TextAnnotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static TextAnnotation.Builder newBuilder()
    • newBuilder

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

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

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

      public static TextAnnotation getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<TextAnnotation> 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 TextAnnotation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder