Class AddTextAnnotationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<AddTextAnnotationRequest.Builder>
com.ironsoftware.ironpdf.internal.proto.AddTextAnnotationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,AddTextAnnotationRequestOrBuilder
,Cloneable
- Enclosing class:
AddTextAnnotationRequest
public static final class AddTextAnnotationRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AddTextAnnotationRequest.Builder>
implements AddTextAnnotationRequestOrBuilder
Protobuf type
IronPdfEngine.Proto.AddTextAnnotationRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
.IronPdfEngine.Proto.PdfDocument document = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional int32 height = 7;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) int32 page_index = 2;
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
optional int32 width = 6;
clearX()
int32 x = 3;
clearY()
int32 y = 4;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
.IronPdfEngine.Proto.PdfDocument document = 1;
.IronPdfEngine.Proto.PdfDocument document = 1;
.IronPdfEngine.Proto.PdfDocument document = 1;
int
optional int32 height = 7;
int
int32 page_index = 2;
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
int
getWidth()
optional int32 width = 6;
int
getX()
int32 x = 3;
int
getY()
int32 y = 4;
boolean
.IronPdfEngine.Proto.PdfDocument document = 1;
boolean
optional int32 height = 7;
boolean
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
boolean
hasWidth()
optional int32 width = 6;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeDocument
(PdfDocument value) .IronPdfEngine.Proto.PdfDocument document = 1;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) .IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setDocument
(PdfDocument value) .IronPdfEngine.Proto.PdfDocument document = 1;
setDocument
(PdfDocument.Builder builderForValue) .IronPdfEngine.Proto.PdfDocument document = 1;
setHeight
(int value) optional int32 height = 7;
setPageIndex
(int value) int32 page_index = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTextAnnotation
(TextAnnotation value) .IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
setTextAnnotation
(TextAnnotation.Builder builderForValue) .IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setWidth
(int value) optional int32 width = 6;
setX
(int value) int32 x = 3;
setY
(int value) int32 y = 4;
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<AddTextAnnotationRequest.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<AddTextAnnotationRequest.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<AddTextAnnotationRequest.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<AddTextAnnotationRequest.Builder>
-
setField
public AddTextAnnotationRequest.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<AddTextAnnotationRequest.Builder>
-
clearField
public AddTextAnnotationRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddTextAnnotationRequest.Builder>
-
clearOneof
public AddTextAnnotationRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddTextAnnotationRequest.Builder>
-
setRepeatedField
public AddTextAnnotationRequest.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<AddTextAnnotationRequest.Builder>
-
addRepeatedField
public AddTextAnnotationRequest.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<AddTextAnnotationRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AddTextAnnotationRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddTextAnnotationRequest.Builder>
-
mergeFrom
public AddTextAnnotationRequest.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<AddTextAnnotationRequest.Builder>
- Throws:
IOException
-
hasDocument
public boolean hasDocument().IronPdfEngine.Proto.PdfDocument document = 1;
- Specified by:
hasDocument
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- Whether the document field is set.
-
getDocument
.IronPdfEngine.Proto.PdfDocument document = 1;
- Specified by:
getDocument
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- The document.
-
setDocument
.IronPdfEngine.Proto.PdfDocument document = 1;
-
setDocument
.IronPdfEngine.Proto.PdfDocument document = 1;
-
mergeDocument
.IronPdfEngine.Proto.PdfDocument document = 1;
-
clearDocument
.IronPdfEngine.Proto.PdfDocument document = 1;
-
getDocumentBuilder
.IronPdfEngine.Proto.PdfDocument document = 1;
-
getDocumentOrBuilder
.IronPdfEngine.Proto.PdfDocument document = 1;
- Specified by:
getDocumentOrBuilder
in interfaceAddTextAnnotationRequestOrBuilder
-
getPageIndex
public int getPageIndex()int32 page_index = 2;
- Specified by:
getPageIndex
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- The pageIndex.
-
setPageIndex
int32 page_index = 2;
- Parameters:
value
- The pageIndex to set.- Returns:
- This builder for chaining.
-
clearPageIndex
int32 page_index = 2;
- Returns:
- This builder for chaining.
-
getX
public int getX()int32 x = 3;
- Specified by:
getX
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- The x.
-
setX
int32 x = 3;
- Parameters:
value
- The x to set.- Returns:
- This builder for chaining.
-
clearX
int32 x = 3;
- Returns:
- This builder for chaining.
-
getY
public int getY()int32 y = 4;
- Specified by:
getY
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- The y.
-
setY
int32 y = 4;
- Parameters:
value
- The y to set.- Returns:
- This builder for chaining.
-
clearY
int32 y = 4;
- Returns:
- This builder for chaining.
-
hasTextAnnotation
public boolean hasTextAnnotation().IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
- Specified by:
hasTextAnnotation
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- Whether the textAnnotation field is set.
-
getTextAnnotation
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
- Specified by:
getTextAnnotation
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- The textAnnotation.
-
setTextAnnotation
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
-
setTextAnnotation
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
-
mergeTextAnnotation
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
-
clearTextAnnotation
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
-
getTextAnnotationBuilder
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
-
getTextAnnotationOrBuilder
.IronPdfEngine.Proto.TextAnnotation text_annotation = 5;
- Specified by:
getTextAnnotationOrBuilder
in interfaceAddTextAnnotationRequestOrBuilder
-
hasWidth
public boolean hasWidth()optional int32 width = 6;
- Specified by:
hasWidth
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- Whether the width field is set.
-
getWidth
public int getWidth()optional int32 width = 6;
- Specified by:
getWidth
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- The width.
-
setWidth
optional int32 width = 6;
- Parameters:
value
- The width to set.- Returns:
- This builder for chaining.
-
clearWidth
optional int32 width = 6;
- Returns:
- This builder for chaining.
-
hasHeight
public boolean hasHeight()optional int32 height = 7;
- Specified by:
hasHeight
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- Whether the height field is set.
-
getHeight
public int getHeight()optional int32 height = 7;
- Specified by:
getHeight
in interfaceAddTextAnnotationRequestOrBuilder
- Returns:
- The height.
-
setHeight
optional int32 height = 7;
- Parameters:
value
- The height to set.- Returns:
- This builder for chaining.
-
clearHeight
optional int32 height = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AddTextAnnotationRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddTextAnnotationRequest.Builder>
-
mergeUnknownFields
public final AddTextAnnotationRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddTextAnnotationRequest.Builder>
-