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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()optional string color_code = 1;optional string contents = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional bool hidden = 3;optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional double opacity = 4;optional bool open_by_default = 5;optional bool printable = 6;optional bool read_only = 7;optional bool rotateable = 8;optional string subject = 9;optional string title = 10;clone()optional string color_code = 1;com.google.protobuf.ByteStringoptional string color_code = 1;optional string contents = 2;com.google.protobuf.ByteStringoptional string contents = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorbooleanoptional bool hidden = 3;getIcon()optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;doubleoptional double opacity = 4;booleanoptional bool open_by_default = 5;booleanoptional bool printable = 6;booleanoptional bool read_only = 7;booleanoptional bool rotateable = 8;optional string subject = 9;com.google.protobuf.ByteStringoptional string subject = 9;getTitle()optional string title = 10;com.google.protobuf.ByteStringoptional string title = 10;booleanoptional string color_code = 1;booleanoptional string contents = 2;booleanoptional bool hidden = 3;booleanhasIcon()optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;booleanoptional double opacity = 4;booleanoptional bool open_by_default = 5;booleanoptional bool printable = 6;booleanoptional bool read_only = 7;booleanoptional bool rotateable = 8;booleanoptional string subject = 9;booleanhasTitle()optional string title = 10;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(TextAnnotation other) mergeIcon(AnnotationIcon value) optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;final TextAnnotation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setColorCode(String value) optional string color_code = 1;setColorCodeBytes(com.google.protobuf.ByteString value) optional string color_code = 1;setContents(String value) optional string contents = 2;setContentsBytes(com.google.protobuf.ByteString value) optional string contents = 2;setHidden(boolean value) optional bool hidden = 3;setIcon(AnnotationIcon value) optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;setIcon(AnnotationIcon.Builder builderForValue) optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;setOpacity(double value) optional double opacity = 4;setOpenByDefault(boolean value) optional bool open_by_default = 5;setPrintable(boolean value) optional bool printable = 6;setReadOnly(boolean value) optional bool read_only = 7;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRotateable(boolean value) optional bool rotateable = 8;setSubject(String value) optional string subject = 9;setSubjectBytes(com.google.protobuf.ByteString value) optional string subject = 9;optional string title = 10;setTitleBytes(com.google.protobuf.ByteString value) optional string title = 10;final TextAnnotation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
setField
public TextAnnotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
setRepeatedField
public TextAnnotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
addRepeatedField
public TextAnnotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TextAnnotation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TextAnnotation.Builder>- Throws:
IOException
-
hasColorCode
public boolean hasColorCode()optional string color_code = 1;- Specified by:
hasColorCodein interfaceTextAnnotationOrBuilder- Returns:
- Whether the colorCode field is set.
-
getColorCode
optional string color_code = 1;- Specified by:
getColorCodein interfaceTextAnnotationOrBuilder- Returns:
- The colorCode.
-
getColorCodeBytes
public com.google.protobuf.ByteString getColorCodeBytes()optional string color_code = 1;- Specified by:
getColorCodeBytesin interfaceTextAnnotationOrBuilder- Returns:
- The bytes for colorCode.
-
setColorCode
optional string color_code = 1;- Parameters:
value- The colorCode to set.- Returns:
- This builder for chaining.
-
clearColorCode
optional string color_code = 1;- Returns:
- This builder for chaining.
-
setColorCodeBytes
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:
hasContentsin interfaceTextAnnotationOrBuilder- Returns:
- Whether the contents field is set.
-
getContents
optional string contents = 2;- Specified by:
getContentsin interfaceTextAnnotationOrBuilder- Returns:
- The contents.
-
getContentsBytes
public com.google.protobuf.ByteString getContentsBytes()optional string contents = 2;- Specified by:
getContentsBytesin interfaceTextAnnotationOrBuilder- Returns:
- The bytes for contents.
-
setContents
optional string contents = 2;- Parameters:
value- The contents to set.- Returns:
- This builder for chaining.
-
clearContents
optional string contents = 2;- Returns:
- This builder for chaining.
-
setContentsBytes
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:
hasHiddenin interfaceTextAnnotationOrBuilder- Returns:
- Whether the hidden field is set.
-
getHidden
public boolean getHidden()optional bool hidden = 3;- Specified by:
getHiddenin interfaceTextAnnotationOrBuilder- Returns:
- The hidden.
-
setHidden
optional bool hidden = 3;- Parameters:
value- The hidden to set.- Returns:
- This builder for chaining.
-
clearHidden
optional bool hidden = 3;- Returns:
- This builder for chaining.
-
hasOpacity
public boolean hasOpacity()optional double opacity = 4;- Specified by:
hasOpacityin interfaceTextAnnotationOrBuilder- Returns:
- Whether the opacity field is set.
-
getOpacity
public double getOpacity()optional double opacity = 4;- Specified by:
getOpacityin interfaceTextAnnotationOrBuilder- Returns:
- The opacity.
-
setOpacity
optional double opacity = 4;- Parameters:
value- The opacity to set.- Returns:
- This builder for chaining.
-
clearOpacity
optional double opacity = 4;- Returns:
- This builder for chaining.
-
hasOpenByDefault
public boolean hasOpenByDefault()optional bool open_by_default = 5;- Specified by:
hasOpenByDefaultin interfaceTextAnnotationOrBuilder- Returns:
- Whether the openByDefault field is set.
-
getOpenByDefault
public boolean getOpenByDefault()optional bool open_by_default = 5;- Specified by:
getOpenByDefaultin interfaceTextAnnotationOrBuilder- Returns:
- The openByDefault.
-
setOpenByDefault
optional bool open_by_default = 5;- Parameters:
value- The openByDefault to set.- Returns:
- This builder for chaining.
-
clearOpenByDefault
optional bool open_by_default = 5;- Returns:
- This builder for chaining.
-
hasPrintable
public boolean hasPrintable()optional bool printable = 6;- Specified by:
hasPrintablein interfaceTextAnnotationOrBuilder- Returns:
- Whether the printable field is set.
-
getPrintable
public boolean getPrintable()optional bool printable = 6;- Specified by:
getPrintablein interfaceTextAnnotationOrBuilder- Returns:
- The printable.
-
setPrintable
optional bool printable = 6;- Parameters:
value- The printable to set.- Returns:
- This builder for chaining.
-
clearPrintable
optional bool printable = 6;- Returns:
- This builder for chaining.
-
hasReadOnly
public boolean hasReadOnly()optional bool read_only = 7;- Specified by:
hasReadOnlyin interfaceTextAnnotationOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()optional bool read_only = 7;- Specified by:
getReadOnlyin interfaceTextAnnotationOrBuilder- Returns:
- The readOnly.
-
setReadOnly
optional bool read_only = 7;- Parameters:
value- The readOnly to set.- Returns:
- This builder for chaining.
-
clearReadOnly
optional bool read_only = 7;- Returns:
- This builder for chaining.
-
hasRotateable
public boolean hasRotateable()optional bool rotateable = 8;- Specified by:
hasRotateablein interfaceTextAnnotationOrBuilder- Returns:
- Whether the rotateable field is set.
-
getRotateable
public boolean getRotateable()optional bool rotateable = 8;- Specified by:
getRotateablein interfaceTextAnnotationOrBuilder- Returns:
- The rotateable.
-
setRotateable
optional bool rotateable = 8;- Parameters:
value- The rotateable to set.- Returns:
- This builder for chaining.
-
clearRotateable
optional bool rotateable = 8;- Returns:
- This builder for chaining.
-
hasSubject
public boolean hasSubject()optional string subject = 9;- Specified by:
hasSubjectin interfaceTextAnnotationOrBuilder- Returns:
- Whether the subject field is set.
-
getSubject
optional string subject = 9;- Specified by:
getSubjectin interfaceTextAnnotationOrBuilder- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()optional string subject = 9;- Specified by:
getSubjectBytesin interfaceTextAnnotationOrBuilder- Returns:
- The bytes for subject.
-
setSubject
optional string subject = 9;- Parameters:
value- The subject to set.- Returns:
- This builder for chaining.
-
clearSubject
optional string subject = 9;- Returns:
- This builder for chaining.
-
setSubjectBytes
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:
hasTitlein interfaceTextAnnotationOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
optional string title = 10;- Specified by:
getTitlein interfaceTextAnnotationOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()optional string title = 10;- Specified by:
getTitleBytesin interfaceTextAnnotationOrBuilder- Returns:
- The bytes for title.
-
setTitle
optional string title = 10;- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
optional string title = 10;- Returns:
- This builder for chaining.
-
setTitleBytes
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:
hasIconin interfaceTextAnnotationOrBuilder- Returns:
- Whether the icon field is set.
-
getIcon
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;- Specified by:
getIconin interfaceTextAnnotationOrBuilder- Returns:
- The icon.
-
setIcon
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11; -
setIcon
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11; -
mergeIcon
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11; -
clearIcon
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11; -
getIconBuilder
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11; -
getIconOrBuilder
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;- Specified by:
getIconOrBuilderin interfaceTextAnnotationOrBuilder
-
setUnknownFields
public final TextAnnotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
mergeUnknownFields
public final TextAnnotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-