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.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
com.google.protobuf.Descriptors.Descriptor
boolean
optional bool hidden = 3;
getIcon()
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
double
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;
optional string subject = 9;
com.google.protobuf.ByteString
optional string subject = 9;
getTitle()
optional string title = 10;
com.google.protobuf.ByteString
optional string title = 10;
boolean
optional string color_code = 1;
boolean
optional string contents = 2;
boolean
optional bool hidden = 3;
boolean
hasIcon()
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
hasTitle()
optional string title = 10;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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.Builder
mergeUnknownFields
(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.Builder
setUnknownFields
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
setField
public TextAnnotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
addRepeatedField
public TextAnnotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TextAnnotation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TextAnnotation.Builder>
- Throws:
IOException
-
hasColorCode
public boolean hasColorCode()optional string color_code = 1;
- Specified by:
hasColorCode
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the colorCode field is set.
-
getColorCode
optional string color_code = 1;
- Specified by:
getColorCode
in interfaceTextAnnotationOrBuilder
- Returns:
- The colorCode.
-
getColorCodeBytes
public com.google.protobuf.ByteString getColorCodeBytes()optional string color_code = 1;
- Specified by:
getColorCodeBytes
in 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:
hasContents
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the contents field is set.
-
getContents
optional string contents = 2;
- Specified by:
getContents
in interfaceTextAnnotationOrBuilder
- Returns:
- The contents.
-
getContentsBytes
public com.google.protobuf.ByteString getContentsBytes()optional string contents = 2;
- Specified by:
getContentsBytes
in 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:
hasHidden
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the hidden field is set.
-
getHidden
public boolean getHidden()optional bool hidden = 3;
- Specified by:
getHidden
in 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:
hasOpacity
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the opacity field is set.
-
getOpacity
public double getOpacity()optional double opacity = 4;
- Specified by:
getOpacity
in 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:
hasOpenByDefault
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the openByDefault field is set.
-
getOpenByDefault
public boolean getOpenByDefault()optional bool open_by_default = 5;
- Specified by:
getOpenByDefault
in 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:
hasPrintable
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the printable field is set.
-
getPrintable
public boolean getPrintable()optional bool printable = 6;
- Specified by:
getPrintable
in 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:
hasReadOnly
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()optional bool read_only = 7;
- Specified by:
getReadOnly
in 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:
hasRotateable
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the rotateable field is set.
-
getRotateable
public boolean getRotateable()optional bool rotateable = 8;
- Specified by:
getRotateable
in 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:
hasSubject
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the subject field is set.
-
getSubject
optional string subject = 9;
- Specified by:
getSubject
in interfaceTextAnnotationOrBuilder
- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()optional string subject = 9;
- Specified by:
getSubjectBytes
in 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:
hasTitle
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the title field is set.
-
getTitle
optional string title = 10;
- Specified by:
getTitle
in interfaceTextAnnotationOrBuilder
- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()optional string title = 10;
- Specified by:
getTitleBytes
in 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:
hasIcon
in interfaceTextAnnotationOrBuilder
- Returns:
- Whether the icon field is set.
-
getIcon
optional .IronPdfEngine.Proto.AnnotationIcon icon = 11;
- Specified by:
getIcon
in 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:
getIconOrBuilder
in interfaceTextAnnotationOrBuilder
-
setUnknownFields
public final TextAnnotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-
mergeUnknownFields
public final TextAnnotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.Builder>
-