Class TextAnnotation.Builder

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

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

      public TextAnnotation.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<TextAnnotation.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<TextAnnotation.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public TextAnnotation.Builder mergeFrom(TextAnnotation other)
    • isInitialized

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

      public TextAnnotation.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<TextAnnotation.Builder>
      Throws:
      IOException
    • 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.
    • setColorCode

      public TextAnnotation.Builder setColorCode(String value)
      optional string color_code = 1;
      Parameters:
      value - The colorCode to set.
      Returns:
      This builder for chaining.
    • clearColorCode

      public TextAnnotation.Builder clearColorCode()
      optional string color_code = 1;
      Returns:
      This builder for chaining.
    • setColorCodeBytes

      public TextAnnotation.Builder setColorCodeBytes(com.google.protobuf.ByteString value)
      optional string color_code = 1;
      Parameters:
      value - The bytes for colorCode to set.
      Returns:
      This builder for chaining.
    • 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.
    • setContents

      public TextAnnotation.Builder setContents(String value)
      optional string contents = 2;
      Parameters:
      value - The contents to set.
      Returns:
      This builder for chaining.
    • clearContents

      public TextAnnotation.Builder clearContents()
      optional string contents = 2;
      Returns:
      This builder for chaining.
    • setContentsBytes

      public TextAnnotation.Builder setContentsBytes(com.google.protobuf.ByteString value)
      optional string contents = 2;
      Parameters:
      value - The bytes for contents to set.
      Returns:
      This builder for chaining.
    • 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.
    • setHidden

      public TextAnnotation.Builder setHidden(boolean value)
      optional bool hidden = 3;
      Parameters:
      value - The hidden to set.
      Returns:
      This builder for chaining.
    • clearHidden

      public TextAnnotation.Builder clearHidden()
      optional bool hidden = 3;
      Returns:
      This builder for chaining.
    • 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.
    • setOpacity

      public TextAnnotation.Builder setOpacity(double value)
      optional double opacity = 4;
      Parameters:
      value - The opacity to set.
      Returns:
      This builder for chaining.
    • clearOpacity

      public TextAnnotation.Builder clearOpacity()
      optional double opacity = 4;
      Returns:
      This builder for chaining.
    • 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.
    • setOpenByDefault

      public TextAnnotation.Builder setOpenByDefault(boolean value)
      optional bool open_by_default = 5;
      Parameters:
      value - The openByDefault to set.
      Returns:
      This builder for chaining.
    • clearOpenByDefault

      public TextAnnotation.Builder clearOpenByDefault()
      optional bool open_by_default = 5;
      Returns:
      This builder for chaining.
    • 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.
    • setPrintable

      public TextAnnotation.Builder setPrintable(boolean value)
      optional bool printable = 6;
      Parameters:
      value - The printable to set.
      Returns:
      This builder for chaining.
    • clearPrintable

      public TextAnnotation.Builder clearPrintable()
      optional bool printable = 6;
      Returns:
      This builder for chaining.
    • 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.
    • setReadOnly

      public TextAnnotation.Builder setReadOnly(boolean value)
      optional bool read_only = 7;
      Parameters:
      value - The readOnly to set.
      Returns:
      This builder for chaining.
    • clearReadOnly

      public TextAnnotation.Builder clearReadOnly()
      optional bool read_only = 7;
      Returns:
      This builder for chaining.
    • 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.
    • setRotateable

      public TextAnnotation.Builder setRotateable(boolean value)
      optional bool rotateable = 8;
      Parameters:
      value - The rotateable to set.
      Returns:
      This builder for chaining.
    • clearRotateable

      public TextAnnotation.Builder clearRotateable()
      optional bool rotateable = 8;
      Returns:
      This builder for chaining.
    • 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.
    • setSubject

      public TextAnnotation.Builder setSubject(String value)
      optional string subject = 9;
      Parameters:
      value - The subject to set.
      Returns:
      This builder for chaining.
    • clearSubject

      public TextAnnotation.Builder clearSubject()
      optional string subject = 9;
      Returns:
      This builder for chaining.
    • setSubjectBytes

      public TextAnnotation.Builder setSubjectBytes(com.google.protobuf.ByteString value)
      optional string subject = 9;
      Parameters:
      value - The bytes for subject to set.
      Returns:
      This builder for chaining.
    • 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.
    • setTitle

      public TextAnnotation.Builder setTitle(String value)
      optional string title = 10;
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public TextAnnotation.Builder clearTitle()
      optional string title = 10;
      Returns:
      This builder for chaining.
    • setTitleBytes

      public TextAnnotation.Builder setTitleBytes(com.google.protobuf.ByteString value)
      optional string title = 10;
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • 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.
    • setIcon

      public TextAnnotation.Builder setIcon(AnnotationIcon value)
      optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
    • setIcon

      public TextAnnotation.Builder setIcon(AnnotationIcon.Builder builderForValue)
      optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
    • mergeIcon

      public TextAnnotation.Builder mergeIcon(AnnotationIcon value)
      optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
    • clearIcon

      public TextAnnotation.Builder clearIcon()
      optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
    • getIconBuilder

      public AnnotationIcon.Builder getIconBuilder()
      optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
    • getIconOrBuilder

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

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

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