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 SummaryModifier 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.BuildergetAllFields, 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.BuilderfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.BuilderaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.BuildermergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.BuildermergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
- 
Method Details- 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
- 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
clear- Specified by:
- clearin interface- com.google.protobuf.Message.Builder
- Specified by:
- clearin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clearin class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
getDescriptorForTypepublic com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.Message.Builder
- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.MessageOrBuilder
- Overrides:
- getDescriptorForTypein class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
getDefaultInstanceForType- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
- 
build- Specified by:
- buildin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildin interface- com.google.protobuf.MessageLite.Builder
 
- 
buildPartial- Specified by:
- buildPartialin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildPartialin interface- com.google.protobuf.MessageLite.Builder
 
- 
clone- Specified by:
- clonein interface- com.google.protobuf.Message.Builder
- Specified by:
- clonein interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clonein class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
setFieldpublic TextAnnotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
- setFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
clearField- Specified by:
- clearFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
clearOneof- Specified by:
- clearOneofin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearOneofin class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
setRepeatedFieldpublic TextAnnotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
- setRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
addRepeatedFieldpublic TextAnnotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
- addRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- addRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
mergeFrom- Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<TextAnnotation.Builder>
 
- 
mergeFrom
- 
isInitializedpublic final boolean isInitialized()- Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
mergeFrompublic TextAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Specified by:
- mergeFromin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<TextAnnotation.Builder>
- Throws:
- IOException
 
- 
hasColorCodepublic boolean hasColorCode()optional string color_code = 1;- Specified by:
- hasColorCodein interface- TextAnnotationOrBuilder
- Returns:
- Whether the colorCode field is set.
 
- 
getColorCodeoptional string color_code = 1;- Specified by:
- getColorCodein interface- TextAnnotationOrBuilder
- Returns:
- The colorCode.
 
- 
getColorCodeBytespublic com.google.protobuf.ByteString getColorCodeBytes()optional string color_code = 1;- Specified by:
- getColorCodeBytesin interface- TextAnnotationOrBuilder
- Returns:
- The bytes for colorCode.
 
- 
setColorCodeoptional string color_code = 1;- Parameters:
- value- The colorCode to set.
- Returns:
- This builder for chaining.
 
- 
clearColorCodeoptional string color_code = 1;- Returns:
- This builder for chaining.
 
- 
setColorCodeBytesoptional string color_code = 1;- Parameters:
- value- The bytes for colorCode to set.
- Returns:
- This builder for chaining.
 
- 
hasContentspublic boolean hasContents()optional string contents = 2;- Specified by:
- hasContentsin interface- TextAnnotationOrBuilder
- Returns:
- Whether the contents field is set.
 
- 
getContentsoptional string contents = 2;- Specified by:
- getContentsin interface- TextAnnotationOrBuilder
- Returns:
- The contents.
 
- 
getContentsBytespublic com.google.protobuf.ByteString getContentsBytes()optional string contents = 2;- Specified by:
- getContentsBytesin interface- TextAnnotationOrBuilder
- Returns:
- The bytes for contents.
 
- 
setContentsoptional string contents = 2;- Parameters:
- value- The contents to set.
- Returns:
- This builder for chaining.
 
- 
clearContentsoptional string contents = 2;- Returns:
- This builder for chaining.
 
- 
setContentsBytesoptional string contents = 2;- Parameters:
- value- The bytes for contents to set.
- Returns:
- This builder for chaining.
 
- 
hasHiddenpublic boolean hasHidden()optional bool hidden = 3;- Specified by:
- hasHiddenin interface- TextAnnotationOrBuilder
- Returns:
- Whether the hidden field is set.
 
- 
getHiddenpublic boolean getHidden()optional bool hidden = 3;- Specified by:
- getHiddenin interface- TextAnnotationOrBuilder
- Returns:
- The hidden.
 
- 
setHiddenoptional bool hidden = 3;- Parameters:
- value- The hidden to set.
- Returns:
- This builder for chaining.
 
- 
clearHiddenoptional bool hidden = 3;- Returns:
- This builder for chaining.
 
- 
hasOpacitypublic boolean hasOpacity()optional double opacity = 4;- Specified by:
- hasOpacityin interface- TextAnnotationOrBuilder
- Returns:
- Whether the opacity field is set.
 
- 
getOpacitypublic double getOpacity()optional double opacity = 4;- Specified by:
- getOpacityin interface- TextAnnotationOrBuilder
- Returns:
- The opacity.
 
- 
setOpacityoptional double opacity = 4;- Parameters:
- value- The opacity to set.
- Returns:
- This builder for chaining.
 
- 
clearOpacityoptional double opacity = 4;- Returns:
- This builder for chaining.
 
- 
hasOpenByDefaultpublic boolean hasOpenByDefault()optional bool open_by_default = 5;- Specified by:
- hasOpenByDefaultin interface- TextAnnotationOrBuilder
- Returns:
- Whether the openByDefault field is set.
 
- 
getOpenByDefaultpublic boolean getOpenByDefault()optional bool open_by_default = 5;- Specified by:
- getOpenByDefaultin interface- TextAnnotationOrBuilder
- Returns:
- The openByDefault.
 
- 
setOpenByDefaultoptional bool open_by_default = 5;- Parameters:
- value- The openByDefault to set.
- Returns:
- This builder for chaining.
 
- 
clearOpenByDefaultoptional bool open_by_default = 5;- Returns:
- This builder for chaining.
 
- 
hasPrintablepublic boolean hasPrintable()optional bool printable = 6;- Specified by:
- hasPrintablein interface- TextAnnotationOrBuilder
- Returns:
- Whether the printable field is set.
 
- 
getPrintablepublic boolean getPrintable()optional bool printable = 6;- Specified by:
- getPrintablein interface- TextAnnotationOrBuilder
- Returns:
- The printable.
 
- 
setPrintableoptional bool printable = 6;- Parameters:
- value- The printable to set.
- Returns:
- This builder for chaining.
 
- 
clearPrintableoptional bool printable = 6;- Returns:
- This builder for chaining.
 
- 
hasReadOnlypublic boolean hasReadOnly()optional bool read_only = 7;- Specified by:
- hasReadOnlyin interface- TextAnnotationOrBuilder
- Returns:
- Whether the readOnly field is set.
 
- 
getReadOnlypublic boolean getReadOnly()optional bool read_only = 7;- Specified by:
- getReadOnlyin interface- TextAnnotationOrBuilder
- Returns:
- The readOnly.
 
- 
setReadOnlyoptional bool read_only = 7;- Parameters:
- value- The readOnly to set.
- Returns:
- This builder for chaining.
 
- 
clearReadOnlyoptional bool read_only = 7;- Returns:
- This builder for chaining.
 
- 
hasRotateablepublic boolean hasRotateable()optional bool rotateable = 8;- Specified by:
- hasRotateablein interface- TextAnnotationOrBuilder
- Returns:
- Whether the rotateable field is set.
 
- 
getRotateablepublic boolean getRotateable()optional bool rotateable = 8;- Specified by:
- getRotateablein interface- TextAnnotationOrBuilder
- Returns:
- The rotateable.
 
- 
setRotateableoptional bool rotateable = 8;- Parameters:
- value- The rotateable to set.
- Returns:
- This builder for chaining.
 
- 
clearRotateableoptional bool rotateable = 8;- Returns:
- This builder for chaining.
 
- 
hasSubjectpublic boolean hasSubject()optional string subject = 9;- Specified by:
- hasSubjectin interface- TextAnnotationOrBuilder
- Returns:
- Whether the subject field is set.
 
- 
getSubjectoptional string subject = 9;- Specified by:
- getSubjectin interface- TextAnnotationOrBuilder
- Returns:
- The subject.
 
- 
getSubjectBytespublic com.google.protobuf.ByteString getSubjectBytes()optional string subject = 9;- Specified by:
- getSubjectBytesin interface- TextAnnotationOrBuilder
- Returns:
- The bytes for subject.
 
- 
setSubjectoptional string subject = 9;- Parameters:
- value- The subject to set.
- Returns:
- This builder for chaining.
 
- 
clearSubjectoptional string subject = 9;- Returns:
- This builder for chaining.
 
- 
setSubjectBytesoptional string subject = 9;- Parameters:
- value- The bytes for subject to set.
- Returns:
- This builder for chaining.
 
- 
hasTitlepublic boolean hasTitle()optional string title = 10;- Specified by:
- hasTitlein interface- TextAnnotationOrBuilder
- Returns:
- Whether the title field is set.
 
- 
getTitleoptional string title = 10;- Specified by:
- getTitlein interface- TextAnnotationOrBuilder
- Returns:
- The title.
 
- 
getTitleBytespublic com.google.protobuf.ByteString getTitleBytes()optional string title = 10;- Specified by:
- getTitleBytesin interface- TextAnnotationOrBuilder
- Returns:
- The bytes for title.
 
- 
setTitleoptional string title = 10;- Parameters:
- value- The title to set.
- Returns:
- This builder for chaining.
 
- 
clearTitleoptional string title = 10;- Returns:
- This builder for chaining.
 
- 
setTitleBytesoptional string title = 10;- Parameters:
- value- The bytes for title to set.
- Returns:
- This builder for chaining.
 
- 
hasIconpublic boolean hasIcon()optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;- Specified by:
- hasIconin interface- TextAnnotationOrBuilder
- Returns:
- Whether the icon field is set.
 
- 
getIconoptional .IronPdfEngine.Proto.AnnotationIcon icon = 11;- Specified by:
- getIconin interface- TextAnnotationOrBuilder
- Returns:
- The icon.
 
- 
setIconoptional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
- 
setIconoptional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
- 
mergeIconoptional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
- 
clearIconoptional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
- 
getIconBuilderoptional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
- 
getIconOrBuilderoptional .IronPdfEngine.Proto.AnnotationIcon icon = 11;- Specified by:
- getIconOrBuilderin interface- TextAnnotationOrBuilder
 
- 
setUnknownFieldspublic final TextAnnotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- setUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- setUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
- 
mergeUnknownFieldspublic final TextAnnotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- mergeUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
 
 
-