Class Bookmark.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Bookmark.Builder>
com.ironsoftware.ironpdf.internal.proto.Bookmark.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,BookmarkOrBuilder
,Cloneable
- Enclosing class:
Bookmark
public static final class Bookmark.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Bookmark.Builder>
implements BookmarkOrBuilder
Protobuf type
IronPdfEngine.Proto.Bookmark
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string next_bookmark_text = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) int32 page_index = 4;
optional string parent_bookmark_text = 3;
optional string previous_bookmark_text = 5;
string text = 6;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
optional string next_bookmark_text = 2;
com.google.protobuf.ByteString
optional string next_bookmark_text = 2;
int
int32 page_index = 4;
optional string parent_bookmark_text = 3;
com.google.protobuf.ByteString
optional string parent_bookmark_text = 3;
optional string previous_bookmark_text = 5;
com.google.protobuf.ByteString
optional string previous_bookmark_text = 5;
getText()
string text = 6;
com.google.protobuf.ByteString
string text = 6;
boolean
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
boolean
optional string next_bookmark_text = 2;
boolean
optional string parent_bookmark_text = 3;
boolean
optional string previous_bookmark_text = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final Bookmark.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
setDestinationType
(BookmarkDestinations.Builder builderForValue) optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
setNextBookmarkText
(String value) optional string next_bookmark_text = 2;
setNextBookmarkTextBytes
(com.google.protobuf.ByteString value) optional string next_bookmark_text = 2;
setPageIndex
(int value) int32 page_index = 4;
setParentBookmarkText
(String value) optional string parent_bookmark_text = 3;
setParentBookmarkTextBytes
(com.google.protobuf.ByteString value) optional string parent_bookmark_text = 3;
setPreviousBookmarkText
(String value) optional string previous_bookmark_text = 5;
setPreviousBookmarkTextBytes
(com.google.protobuf.ByteString value) optional string previous_bookmark_text = 5;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) string text = 6;
setTextBytes
(com.google.protobuf.ByteString value) string text = 6;
final Bookmark.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<Bookmark.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<Bookmark.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<Bookmark.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<Bookmark.Builder>
-
setField
public Bookmark.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<Bookmark.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Bookmark.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Bookmark.Builder>
-
setRepeatedField
public Bookmark.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<Bookmark.Builder>
-
addRepeatedField
public Bookmark.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<Bookmark.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Bookmark.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Bookmark.Builder>
-
mergeFrom
public Bookmark.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<Bookmark.Builder>
- Throws:
IOException
-
hasDestinationType
public boolean hasDestinationType()optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
- Specified by:
hasDestinationType
in interfaceBookmarkOrBuilder
- Returns:
- Whether the destinationType field is set.
-
getDestinationType
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
- Specified by:
getDestinationType
in interfaceBookmarkOrBuilder
- Returns:
- The destinationType.
-
setDestinationType
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
-
setDestinationType
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
-
mergeDestinationType
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
-
clearDestinationType
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
-
getDestinationTypeBuilder
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
-
getDestinationTypeOrBuilder
optional .IronPdfEngine.Proto.BookmarkDestinations destination_type = 1;
- Specified by:
getDestinationTypeOrBuilder
in interfaceBookmarkOrBuilder
-
hasNextBookmarkText
public boolean hasNextBookmarkText()optional string next_bookmark_text = 2;
- Specified by:
hasNextBookmarkText
in interfaceBookmarkOrBuilder
- Returns:
- Whether the nextBookmarkText field is set.
-
getNextBookmarkText
optional string next_bookmark_text = 2;
- Specified by:
getNextBookmarkText
in interfaceBookmarkOrBuilder
- Returns:
- The nextBookmarkText.
-
getNextBookmarkTextBytes
public com.google.protobuf.ByteString getNextBookmarkTextBytes()optional string next_bookmark_text = 2;
- Specified by:
getNextBookmarkTextBytes
in interfaceBookmarkOrBuilder
- Returns:
- The bytes for nextBookmarkText.
-
setNextBookmarkText
optional string next_bookmark_text = 2;
- Parameters:
value
- The nextBookmarkText to set.- Returns:
- This builder for chaining.
-
clearNextBookmarkText
optional string next_bookmark_text = 2;
- Returns:
- This builder for chaining.
-
setNextBookmarkTextBytes
optional string next_bookmark_text = 2;
- Parameters:
value
- The bytes for nextBookmarkText to set.- Returns:
- This builder for chaining.
-
hasParentBookmarkText
public boolean hasParentBookmarkText()optional string parent_bookmark_text = 3;
- Specified by:
hasParentBookmarkText
in interfaceBookmarkOrBuilder
- Returns:
- Whether the parentBookmarkText field is set.
-
getParentBookmarkText
optional string parent_bookmark_text = 3;
- Specified by:
getParentBookmarkText
in interfaceBookmarkOrBuilder
- Returns:
- The parentBookmarkText.
-
getParentBookmarkTextBytes
public com.google.protobuf.ByteString getParentBookmarkTextBytes()optional string parent_bookmark_text = 3;
- Specified by:
getParentBookmarkTextBytes
in interfaceBookmarkOrBuilder
- Returns:
- The bytes for parentBookmarkText.
-
setParentBookmarkText
optional string parent_bookmark_text = 3;
- Parameters:
value
- The parentBookmarkText to set.- Returns:
- This builder for chaining.
-
clearParentBookmarkText
optional string parent_bookmark_text = 3;
- Returns:
- This builder for chaining.
-
setParentBookmarkTextBytes
optional string parent_bookmark_text = 3;
- Parameters:
value
- The bytes for parentBookmarkText to set.- Returns:
- This builder for chaining.
-
getPageIndex
public int getPageIndex()int32 page_index = 4;
- Specified by:
getPageIndex
in interfaceBookmarkOrBuilder
- Returns:
- The pageIndex.
-
setPageIndex
int32 page_index = 4;
- Parameters:
value
- The pageIndex to set.- Returns:
- This builder for chaining.
-
clearPageIndex
int32 page_index = 4;
- Returns:
- This builder for chaining.
-
hasPreviousBookmarkText
public boolean hasPreviousBookmarkText()optional string previous_bookmark_text = 5;
- Specified by:
hasPreviousBookmarkText
in interfaceBookmarkOrBuilder
- Returns:
- Whether the previousBookmarkText field is set.
-
getPreviousBookmarkText
optional string previous_bookmark_text = 5;
- Specified by:
getPreviousBookmarkText
in interfaceBookmarkOrBuilder
- Returns:
- The previousBookmarkText.
-
getPreviousBookmarkTextBytes
public com.google.protobuf.ByteString getPreviousBookmarkTextBytes()optional string previous_bookmark_text = 5;
- Specified by:
getPreviousBookmarkTextBytes
in interfaceBookmarkOrBuilder
- Returns:
- The bytes for previousBookmarkText.
-
setPreviousBookmarkText
optional string previous_bookmark_text = 5;
- Parameters:
value
- The previousBookmarkText to set.- Returns:
- This builder for chaining.
-
clearPreviousBookmarkText
optional string previous_bookmark_text = 5;
- Returns:
- This builder for chaining.
-
setPreviousBookmarkTextBytes
optional string previous_bookmark_text = 5;
- Parameters:
value
- The bytes for previousBookmarkText to set.- Returns:
- This builder for chaining.
-
getText
string text = 6;
- Specified by:
getText
in interfaceBookmarkOrBuilder
- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()string text = 6;
- Specified by:
getTextBytes
in interfaceBookmarkOrBuilder
- Returns:
- The bytes for text.
-
setText
string text = 6;
- Parameters:
value
- The text to set.- Returns:
- This builder for chaining.
-
clearText
string text = 6;
- Returns:
- This builder for chaining.
-
setTextBytes
string text = 6;
- Parameters:
value
- The bytes for text to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Bookmark.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Bookmark.Builder>
-