Class TextStamperInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<TextStamperInfo.Builder>
com.ironsoftware.ironpdf.internal.proto.TextStamperInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,TextStamperInfoOrBuilder
,Cloneable
- Enclosing class:
TextStamperInfo
public static final class TextStamperInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TextStamperInfo.Builder>
implements TextStamperInfoOrBuilder
Protobuf type
IronPdfEngine.Proto.TextStamperInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string background_color = 9;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string font_family = 5;
optional int32 font_size = 6;
optional bool is_bold = 1;
optional bool is_italic = 2;
optional bool is_strikethrough = 4;
optional bool is_underline = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string text_color = 8;
optional bool use_google_font = 7;
clone()
optional string background_color = 9;
com.google.protobuf.ByteString
optional string background_color = 9;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional string font_family = 5;
com.google.protobuf.ByteString
optional string font_family = 5;
int
optional int32 font_size = 6;
boolean
optional bool is_bold = 1;
boolean
optional bool is_italic = 2;
boolean
optional bool is_strikethrough = 4;
boolean
optional bool is_underline = 3;
optional string text_color = 8;
com.google.protobuf.ByteString
optional string text_color = 8;
boolean
optional bool use_google_font = 7;
boolean
optional string background_color = 9;
boolean
optional string font_family = 5;
boolean
optional int32 font_size = 6;
boolean
optional bool is_bold = 1;
boolean
optional bool is_italic = 2;
boolean
optional bool is_strikethrough = 4;
boolean
optional bool is_underline = 3;
boolean
optional string text_color = 8;
boolean
optional bool use_google_font = 7;
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
(TextStamperInfo other) final TextStamperInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setBackgroundColor
(String value) optional string background_color = 9;
setBackgroundColorBytes
(com.google.protobuf.ByteString value) optional string background_color = 9;
setFontFamily
(String value) optional string font_family = 5;
setFontFamilyBytes
(com.google.protobuf.ByteString value) optional string font_family = 5;
setFontSize
(int value) optional int32 font_size = 6;
setIsBold
(boolean value) optional bool is_bold = 1;
setIsItalic
(boolean value) optional bool is_italic = 2;
setIsStrikethrough
(boolean value) optional bool is_strikethrough = 4;
setIsUnderline
(boolean value) optional bool is_underline = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTextColor
(String value) optional string text_color = 8;
setTextColorBytes
(com.google.protobuf.ByteString value) optional string text_color = 8;
final TextStamperInfo.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUseGoogleFont
(boolean value) optional bool use_google_font = 7;
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<TextStamperInfo.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<TextStamperInfo.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<TextStamperInfo.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<TextStamperInfo.Builder>
-
setField
public TextStamperInfo.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<TextStamperInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextStamperInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextStamperInfo.Builder>
-
setRepeatedField
public TextStamperInfo.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<TextStamperInfo.Builder>
-
addRepeatedField
public TextStamperInfo.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<TextStamperInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TextStamperInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextStamperInfo.Builder>
-
mergeFrom
public TextStamperInfo.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<TextStamperInfo.Builder>
- Throws:
IOException
-
hasIsBold
public boolean hasIsBold()optional bool is_bold = 1;
- Specified by:
hasIsBold
in interfaceTextStamperInfoOrBuilder
- Returns:
- Whether the isBold field is set.
-
getIsBold
public boolean getIsBold()optional bool is_bold = 1;
- Specified by:
getIsBold
in interfaceTextStamperInfoOrBuilder
- Returns:
- The isBold.
-
setIsBold
optional bool is_bold = 1;
- Parameters:
value
- The isBold to set.- Returns:
- This builder for chaining.
-
clearIsBold
optional bool is_bold = 1;
- Returns:
- This builder for chaining.
-
hasIsItalic
public boolean hasIsItalic()optional bool is_italic = 2;
- Specified by:
hasIsItalic
in interfaceTextStamperInfoOrBuilder
- Returns:
- Whether the isItalic field is set.
-
getIsItalic
public boolean getIsItalic()optional bool is_italic = 2;
- Specified by:
getIsItalic
in interfaceTextStamperInfoOrBuilder
- Returns:
- The isItalic.
-
setIsItalic
optional bool is_italic = 2;
- Parameters:
value
- The isItalic to set.- Returns:
- This builder for chaining.
-
clearIsItalic
optional bool is_italic = 2;
- Returns:
- This builder for chaining.
-
hasIsUnderline
public boolean hasIsUnderline()optional bool is_underline = 3;
- Specified by:
hasIsUnderline
in interfaceTextStamperInfoOrBuilder
- Returns:
- Whether the isUnderline field is set.
-
getIsUnderline
public boolean getIsUnderline()optional bool is_underline = 3;
- Specified by:
getIsUnderline
in interfaceTextStamperInfoOrBuilder
- Returns:
- The isUnderline.
-
setIsUnderline
optional bool is_underline = 3;
- Parameters:
value
- The isUnderline to set.- Returns:
- This builder for chaining.
-
clearIsUnderline
optional bool is_underline = 3;
- Returns:
- This builder for chaining.
-
hasIsStrikethrough
public boolean hasIsStrikethrough()optional bool is_strikethrough = 4;
- Specified by:
hasIsStrikethrough
in interfaceTextStamperInfoOrBuilder
- Returns:
- Whether the isStrikethrough field is set.
-
getIsStrikethrough
public boolean getIsStrikethrough()optional bool is_strikethrough = 4;
- Specified by:
getIsStrikethrough
in interfaceTextStamperInfoOrBuilder
- Returns:
- The isStrikethrough.
-
setIsStrikethrough
optional bool is_strikethrough = 4;
- Parameters:
value
- The isStrikethrough to set.- Returns:
- This builder for chaining.
-
clearIsStrikethrough
optional bool is_strikethrough = 4;
- Returns:
- This builder for chaining.
-
hasFontFamily
public boolean hasFontFamily()optional string font_family = 5;
- Specified by:
hasFontFamily
in interfaceTextStamperInfoOrBuilder
- Returns:
- Whether the fontFamily field is set.
-
getFontFamily
optional string font_family = 5;
- Specified by:
getFontFamily
in interfaceTextStamperInfoOrBuilder
- Returns:
- The fontFamily.
-
getFontFamilyBytes
public com.google.protobuf.ByteString getFontFamilyBytes()optional string font_family = 5;
- Specified by:
getFontFamilyBytes
in interfaceTextStamperInfoOrBuilder
- Returns:
- The bytes for fontFamily.
-
setFontFamily
optional string font_family = 5;
- Parameters:
value
- The fontFamily to set.- Returns:
- This builder for chaining.
-
clearFontFamily
optional string font_family = 5;
- Returns:
- This builder for chaining.
-
setFontFamilyBytes
optional string font_family = 5;
- Parameters:
value
- The bytes for fontFamily to set.- Returns:
- This builder for chaining.
-
hasFontSize
public boolean hasFontSize()optional int32 font_size = 6;
- Specified by:
hasFontSize
in interfaceTextStamperInfoOrBuilder
- Returns:
- Whether the fontSize field is set.
-
getFontSize
public int getFontSize()optional int32 font_size = 6;
- Specified by:
getFontSize
in interfaceTextStamperInfoOrBuilder
- Returns:
- The fontSize.
-
setFontSize
optional int32 font_size = 6;
- Parameters:
value
- The fontSize to set.- Returns:
- This builder for chaining.
-
clearFontSize
optional int32 font_size = 6;
- Returns:
- This builder for chaining.
-
hasUseGoogleFont
public boolean hasUseGoogleFont()optional bool use_google_font = 7;
- Specified by:
hasUseGoogleFont
in interfaceTextStamperInfoOrBuilder
- Returns:
- Whether the useGoogleFont field is set.
-
getUseGoogleFont
public boolean getUseGoogleFont()optional bool use_google_font = 7;
- Specified by:
getUseGoogleFont
in interfaceTextStamperInfoOrBuilder
- Returns:
- The useGoogleFont.
-
setUseGoogleFont
optional bool use_google_font = 7;
- Parameters:
value
- The useGoogleFont to set.- Returns:
- This builder for chaining.
-
clearUseGoogleFont
optional bool use_google_font = 7;
- Returns:
- This builder for chaining.
-
hasTextColor
public boolean hasTextColor()optional string text_color = 8;
- Specified by:
hasTextColor
in interfaceTextStamperInfoOrBuilder
- Returns:
- Whether the textColor field is set.
-
getTextColor
optional string text_color = 8;
- Specified by:
getTextColor
in interfaceTextStamperInfoOrBuilder
- Returns:
- The textColor.
-
getTextColorBytes
public com.google.protobuf.ByteString getTextColorBytes()optional string text_color = 8;
- Specified by:
getTextColorBytes
in interfaceTextStamperInfoOrBuilder
- Returns:
- The bytes for textColor.
-
setTextColor
optional string text_color = 8;
- Parameters:
value
- The textColor to set.- Returns:
- This builder for chaining.
-
clearTextColor
optional string text_color = 8;
- Returns:
- This builder for chaining.
-
setTextColorBytes
optional string text_color = 8;
- Parameters:
value
- The bytes for textColor to set.- Returns:
- This builder for chaining.
-
hasBackgroundColor
public boolean hasBackgroundColor()optional string background_color = 9;
- Specified by:
hasBackgroundColor
in interfaceTextStamperInfoOrBuilder
- Returns:
- Whether the backgroundColor field is set.
-
getBackgroundColor
optional string background_color = 9;
- Specified by:
getBackgroundColor
in interfaceTextStamperInfoOrBuilder
- Returns:
- The backgroundColor.
-
getBackgroundColorBytes
public com.google.protobuf.ByteString getBackgroundColorBytes()optional string background_color = 9;
- Specified by:
getBackgroundColorBytes
in interfaceTextStamperInfoOrBuilder
- Returns:
- The bytes for backgroundColor.
-
setBackgroundColor
optional string background_color = 9;
- Parameters:
value
- The backgroundColor to set.- Returns:
- This builder for chaining.
-
clearBackgroundColor
optional string background_color = 9;
- Returns:
- This builder for chaining.
-
setBackgroundColorBytes
optional string background_color = 9;
- Parameters:
value
- The bytes for backgroundColor to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TextStamperInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextStamperInfo.Builder>
-
mergeUnknownFields
public final TextStamperInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextStamperInfo.Builder>
-