Class ChromeTextHeaderFooterP.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ChromeTextHeaderFooterP.Builder>
-
- com.ironsoftware.ironpdf.internal.proto.ChromeTextHeaderFooterP.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ChromeTextHeaderFooterPOrBuilder
,Cloneable
- Enclosing class:
- ChromeTextHeaderFooterP
public static final class ChromeTextHeaderFooterP.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChromeTextHeaderFooterP.Builder> implements ChromeTextHeaderFooterPOrBuilder
Protobuf typeironpdfengineproto.ChromeTextHeaderFooterP
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChromeTextHeaderFooterP
build()
ChromeTextHeaderFooterP
buildPartial()
ChromeTextHeaderFooterP.Builder
clear()
ChromeTextHeaderFooterP.Builder
clearCenterText()
optional string center_text = 2;
ChromeTextHeaderFooterP.Builder
clearDividerLineColor()
optional string divider_line_color = 7;
ChromeTextHeaderFooterP.Builder
clearDrawDividerLine()
optional bool draw_divider_line = 4;
ChromeTextHeaderFooterP.Builder
clearFont()
optional .ironpdfengineproto.FontTypeP font = 5;
ChromeTextHeaderFooterP.Builder
clearFontSize()
optional double font_size = 6;
ChromeTextHeaderFooterP.Builder
clearLeftText()
optional string left_text = 1;
ChromeTextHeaderFooterP.Builder
clearRightText()
optional string right_text = 3;
String
getCenterText()
optional string center_text = 2;
com.google.protobuf.ByteString
getCenterTextBytes()
optional string center_text = 2;
ChromeTextHeaderFooterP
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDividerLineColor()
optional string divider_line_color = 7;
com.google.protobuf.ByteString
getDividerLineColorBytes()
optional string divider_line_color = 7;
boolean
getDrawDividerLine()
optional bool draw_divider_line = 4;
FontTypeP
getFont()
optional .ironpdfengineproto.FontTypeP font = 5;
FontTypeP.Builder
getFontBuilder()
optional .ironpdfengineproto.FontTypeP font = 5;
FontTypePOrBuilder
getFontOrBuilder()
optional .ironpdfengineproto.FontTypeP font = 5;
double
getFontSize()
optional double font_size = 6;
String
getLeftText()
optional string left_text = 1;
com.google.protobuf.ByteString
getLeftTextBytes()
optional string left_text = 1;
String
getRightText()
optional string right_text = 3;
com.google.protobuf.ByteString
getRightTextBytes()
optional string right_text = 3;
boolean
hasCenterText()
optional string center_text = 2;
boolean
hasDividerLineColor()
optional string divider_line_color = 7;
boolean
hasDrawDividerLine()
optional bool draw_divider_line = 4;
boolean
hasFont()
optional .ironpdfengineproto.FontTypeP font = 5;
boolean
hasFontSize()
optional double font_size = 6;
boolean
hasLeftText()
optional string left_text = 1;
boolean
hasRightText()
optional string right_text = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ChromeTextHeaderFooterP.Builder
mergeFont(FontTypeP value)
optional .ironpdfengineproto.FontTypeP font = 5;
ChromeTextHeaderFooterP.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ChromeTextHeaderFooterP.Builder
mergeFrom(com.google.protobuf.Message other)
ChromeTextHeaderFooterP.Builder
mergeFrom(ChromeTextHeaderFooterP other)
ChromeTextHeaderFooterP.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ChromeTextHeaderFooterP.Builder
setCenterText(String value)
optional string center_text = 2;
ChromeTextHeaderFooterP.Builder
setCenterTextBytes(com.google.protobuf.ByteString value)
optional string center_text = 2;
ChromeTextHeaderFooterP.Builder
setDividerLineColor(String value)
optional string divider_line_color = 7;
ChromeTextHeaderFooterP.Builder
setDividerLineColorBytes(com.google.protobuf.ByteString value)
optional string divider_line_color = 7;
ChromeTextHeaderFooterP.Builder
setDrawDividerLine(boolean value)
optional bool draw_divider_line = 4;
ChromeTextHeaderFooterP.Builder
setFont(FontTypeP value)
optional .ironpdfengineproto.FontTypeP font = 5;
ChromeTextHeaderFooterP.Builder
setFont(FontTypeP.Builder builderForValue)
optional .ironpdfengineproto.FontTypeP font = 5;
ChromeTextHeaderFooterP.Builder
setFontSize(double value)
optional double font_size = 6;
ChromeTextHeaderFooterP.Builder
setLeftText(String value)
optional string left_text = 1;
ChromeTextHeaderFooterP.Builder
setLeftTextBytes(com.google.protobuf.ByteString value)
optional string left_text = 1;
ChromeTextHeaderFooterP.Builder
setRightText(String value)
optional string right_text = 3;
ChromeTextHeaderFooterP.Builder
setRightTextBytes(com.google.protobuf.ByteString value)
optional string right_text = 3;
ChromeTextHeaderFooterP.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, 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
-
-
-
-
Method Detail
-
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<ChromeTextHeaderFooterP.Builder>
-
clear
public ChromeTextHeaderFooterP.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<ChromeTextHeaderFooterP.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<ChromeTextHeaderFooterP.Builder>
-
getDefaultInstanceForType
public ChromeTextHeaderFooterP getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ChromeTextHeaderFooterP build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ChromeTextHeaderFooterP buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ChromeTextHeaderFooterP.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ChromeTextHeaderFooterP.Builder>
-
mergeFrom
public ChromeTextHeaderFooterP.Builder mergeFrom(ChromeTextHeaderFooterP other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChromeTextHeaderFooterP.Builder>
-
mergeFrom
public ChromeTextHeaderFooterP.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<ChromeTextHeaderFooterP.Builder>
- Throws:
IOException
-
hasLeftText
public boolean hasLeftText()
optional string left_text = 1;
- Specified by:
hasLeftText
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- Whether the leftText field is set.
-
getLeftText
public String getLeftText()
optional string left_text = 1;
- Specified by:
getLeftText
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The leftText.
-
getLeftTextBytes
public com.google.protobuf.ByteString getLeftTextBytes()
optional string left_text = 1;
- Specified by:
getLeftTextBytes
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The bytes for leftText.
-
setLeftText
public ChromeTextHeaderFooterP.Builder setLeftText(String value)
optional string left_text = 1;
- Parameters:
value
- The leftText to set.- Returns:
- This builder for chaining.
-
clearLeftText
public ChromeTextHeaderFooterP.Builder clearLeftText()
optional string left_text = 1;
- Returns:
- This builder for chaining.
-
setLeftTextBytes
public ChromeTextHeaderFooterP.Builder setLeftTextBytes(com.google.protobuf.ByteString value)
optional string left_text = 1;
- Parameters:
value
- The bytes for leftText to set.- Returns:
- This builder for chaining.
-
hasCenterText
public boolean hasCenterText()
optional string center_text = 2;
- Specified by:
hasCenterText
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- Whether the centerText field is set.
-
getCenterText
public String getCenterText()
optional string center_text = 2;
- Specified by:
getCenterText
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The centerText.
-
getCenterTextBytes
public com.google.protobuf.ByteString getCenterTextBytes()
optional string center_text = 2;
- Specified by:
getCenterTextBytes
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The bytes for centerText.
-
setCenterText
public ChromeTextHeaderFooterP.Builder setCenterText(String value)
optional string center_text = 2;
- Parameters:
value
- The centerText to set.- Returns:
- This builder for chaining.
-
clearCenterText
public ChromeTextHeaderFooterP.Builder clearCenterText()
optional string center_text = 2;
- Returns:
- This builder for chaining.
-
setCenterTextBytes
public ChromeTextHeaderFooterP.Builder setCenterTextBytes(com.google.protobuf.ByteString value)
optional string center_text = 2;
- Parameters:
value
- The bytes for centerText to set.- Returns:
- This builder for chaining.
-
hasRightText
public boolean hasRightText()
optional string right_text = 3;
- Specified by:
hasRightText
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- Whether the rightText field is set.
-
getRightText
public String getRightText()
optional string right_text = 3;
- Specified by:
getRightText
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The rightText.
-
getRightTextBytes
public com.google.protobuf.ByteString getRightTextBytes()
optional string right_text = 3;
- Specified by:
getRightTextBytes
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The bytes for rightText.
-
setRightText
public ChromeTextHeaderFooterP.Builder setRightText(String value)
optional string right_text = 3;
- Parameters:
value
- The rightText to set.- Returns:
- This builder for chaining.
-
clearRightText
public ChromeTextHeaderFooterP.Builder clearRightText()
optional string right_text = 3;
- Returns:
- This builder for chaining.
-
setRightTextBytes
public ChromeTextHeaderFooterP.Builder setRightTextBytes(com.google.protobuf.ByteString value)
optional string right_text = 3;
- Parameters:
value
- The bytes for rightText to set.- Returns:
- This builder for chaining.
-
hasDrawDividerLine
public boolean hasDrawDividerLine()
optional bool draw_divider_line = 4;
- Specified by:
hasDrawDividerLine
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- Whether the drawDividerLine field is set.
-
getDrawDividerLine
public boolean getDrawDividerLine()
optional bool draw_divider_line = 4;
- Specified by:
getDrawDividerLine
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The drawDividerLine.
-
setDrawDividerLine
public ChromeTextHeaderFooterP.Builder setDrawDividerLine(boolean value)
optional bool draw_divider_line = 4;
- Parameters:
value
- The drawDividerLine to set.- Returns:
- This builder for chaining.
-
clearDrawDividerLine
public ChromeTextHeaderFooterP.Builder clearDrawDividerLine()
optional bool draw_divider_line = 4;
- Returns:
- This builder for chaining.
-
hasFont
public boolean hasFont()
optional .ironpdfengineproto.FontTypeP font = 5;
- Specified by:
hasFont
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- Whether the font field is set.
-
getFont
public FontTypeP getFont()
optional .ironpdfengineproto.FontTypeP font = 5;
- Specified by:
getFont
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The font.
-
setFont
public ChromeTextHeaderFooterP.Builder setFont(FontTypeP value)
optional .ironpdfengineproto.FontTypeP font = 5;
-
setFont
public ChromeTextHeaderFooterP.Builder setFont(FontTypeP.Builder builderForValue)
optional .ironpdfengineproto.FontTypeP font = 5;
-
mergeFont
public ChromeTextHeaderFooterP.Builder mergeFont(FontTypeP value)
optional .ironpdfengineproto.FontTypeP font = 5;
-
clearFont
public ChromeTextHeaderFooterP.Builder clearFont()
optional .ironpdfengineproto.FontTypeP font = 5;
-
getFontBuilder
public FontTypeP.Builder getFontBuilder()
optional .ironpdfengineproto.FontTypeP font = 5;
-
getFontOrBuilder
public FontTypePOrBuilder getFontOrBuilder()
optional .ironpdfengineproto.FontTypeP font = 5;
- Specified by:
getFontOrBuilder
in interfaceChromeTextHeaderFooterPOrBuilder
-
hasFontSize
public boolean hasFontSize()
optional double font_size = 6;
- Specified by:
hasFontSize
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- Whether the fontSize field is set.
-
getFontSize
public double getFontSize()
optional double font_size = 6;
- Specified by:
getFontSize
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The fontSize.
-
setFontSize
public ChromeTextHeaderFooterP.Builder setFontSize(double value)
optional double font_size = 6;
- Parameters:
value
- The fontSize to set.- Returns:
- This builder for chaining.
-
clearFontSize
public ChromeTextHeaderFooterP.Builder clearFontSize()
optional double font_size = 6;
- Returns:
- This builder for chaining.
-
hasDividerLineColor
public boolean hasDividerLineColor()
optional string divider_line_color = 7;
- Specified by:
hasDividerLineColor
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- Whether the dividerLineColor field is set.
-
getDividerLineColor
public String getDividerLineColor()
optional string divider_line_color = 7;
- Specified by:
getDividerLineColor
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The dividerLineColor.
-
getDividerLineColorBytes
public com.google.protobuf.ByteString getDividerLineColorBytes()
optional string divider_line_color = 7;
- Specified by:
getDividerLineColorBytes
in interfaceChromeTextHeaderFooterPOrBuilder
- Returns:
- The bytes for dividerLineColor.
-
setDividerLineColor
public ChromeTextHeaderFooterP.Builder setDividerLineColor(String value)
optional string divider_line_color = 7;
- Parameters:
value
- The dividerLineColor to set.- Returns:
- This builder for chaining.
-
clearDividerLineColor
public ChromeTextHeaderFooterP.Builder clearDividerLineColor()
optional string divider_line_color = 7;
- Returns:
- This builder for chaining.
-
setDividerLineColorBytes
public ChromeTextHeaderFooterP.Builder setDividerLineColorBytes(com.google.protobuf.ByteString value)
optional string divider_line_color = 7;
- Parameters:
value
- The bytes for dividerLineColor to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ChromeTextHeaderFooterP.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChromeTextHeaderFooterP.Builder>
-
mergeUnknownFields
public final ChromeTextHeaderFooterP.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChromeTextHeaderFooterP.Builder>
-
-