Class 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:
    Serialized Form
    • Method Detail

      • 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.
      • 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.
      • 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.
      • hasOpacity

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

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

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

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

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

        public boolean hasSubject()
        optional string subject = 9;
        Specified by:
        hasSubject in interface TextAnnotationOrBuilder
        Returns:
        Whether the subject field is set.
      • 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.
      • 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.
      • 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​(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
      • 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