Class ChromeHtmlHeaderFooterP.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ChromeHtmlHeaderFooterP.Builder>
-
- com.ironsoftware.ironpdf.internal.proto.ChromeHtmlHeaderFooterP.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ChromeHtmlHeaderFooterPOrBuilder
,Cloneable
- Enclosing class:
- ChromeHtmlHeaderFooterP
public static final class ChromeHtmlHeaderFooterP.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChromeHtmlHeaderFooterP.Builder> implements ChromeHtmlHeaderFooterPOrBuilder
Protobuf typeironpdfengineproto.ChromeHtmlHeaderFooterP
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChromeHtmlHeaderFooterP.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ChromeHtmlHeaderFooterP
build()
ChromeHtmlHeaderFooterP
buildPartial()
ChromeHtmlHeaderFooterP.Builder
clear()
ChromeHtmlHeaderFooterP.Builder
clearBaseUrl()
optional string base_url = 1;
ChromeHtmlHeaderFooterP.Builder
clearDividerLineColor()
optional string divider_line_color = 4;
ChromeHtmlHeaderFooterP.Builder
clearDrawDividerLine()
optional bool draw_divider_line = 3;
ChromeHtmlHeaderFooterP.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ChromeHtmlHeaderFooterP.Builder
clearHtmlFragment()
optional string html_fragment = 5;
ChromeHtmlHeaderFooterP.Builder
clearLoadStylesAndCSSFromMainHtmlDocument()
optional bool loadStylesAndCSSFromMainHtmlDocument = 6;
ChromeHtmlHeaderFooterP.Builder
clearMaxHeight()
optional int32 max_height = 2;
ChromeHtmlHeaderFooterP.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ChromeHtmlHeaderFooterP.Builder
clone()
String
getBaseUrl()
optional string base_url = 1;
com.google.protobuf.ByteString
getBaseUrlBytes()
optional string base_url = 1;
ChromeHtmlHeaderFooterP
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDividerLineColor()
optional string divider_line_color = 4;
com.google.protobuf.ByteString
getDividerLineColorBytes()
optional string divider_line_color = 4;
boolean
getDrawDividerLine()
optional bool draw_divider_line = 3;
String
getHtmlFragment()
optional string html_fragment = 5;
com.google.protobuf.ByteString
getHtmlFragmentBytes()
optional string html_fragment = 5;
boolean
getLoadStylesAndCSSFromMainHtmlDocument()
optional bool loadStylesAndCSSFromMainHtmlDocument = 6;
int
getMaxHeight()
optional int32 max_height = 2;
boolean
hasBaseUrl()
optional string base_url = 1;
boolean
hasDividerLineColor()
optional string divider_line_color = 4;
boolean
hasDrawDividerLine()
optional bool draw_divider_line = 3;
boolean
hasHtmlFragment()
optional string html_fragment = 5;
boolean
hasLoadStylesAndCSSFromMainHtmlDocument()
optional bool loadStylesAndCSSFromMainHtmlDocument = 6;
boolean
hasMaxHeight()
optional int32 max_height = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ChromeHtmlHeaderFooterP.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ChromeHtmlHeaderFooterP.Builder
mergeFrom(com.google.protobuf.Message other)
ChromeHtmlHeaderFooterP.Builder
mergeFrom(ChromeHtmlHeaderFooterP other)
ChromeHtmlHeaderFooterP.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ChromeHtmlHeaderFooterP.Builder
setBaseUrl(String value)
optional string base_url = 1;
ChromeHtmlHeaderFooterP.Builder
setBaseUrlBytes(com.google.protobuf.ByteString value)
optional string base_url = 1;
ChromeHtmlHeaderFooterP.Builder
setDividerLineColor(String value)
optional string divider_line_color = 4;
ChromeHtmlHeaderFooterP.Builder
setDividerLineColorBytes(com.google.protobuf.ByteString value)
optional string divider_line_color = 4;
ChromeHtmlHeaderFooterP.Builder
setDrawDividerLine(boolean value)
optional bool draw_divider_line = 3;
ChromeHtmlHeaderFooterP.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ChromeHtmlHeaderFooterP.Builder
setHtmlFragment(String value)
optional string html_fragment = 5;
ChromeHtmlHeaderFooterP.Builder
setHtmlFragmentBytes(com.google.protobuf.ByteString value)
optional string html_fragment = 5;
ChromeHtmlHeaderFooterP.Builder
setLoadStylesAndCSSFromMainHtmlDocument(boolean value)
optional bool loadStylesAndCSSFromMainHtmlDocument = 6;
ChromeHtmlHeaderFooterP.Builder
setMaxHeight(int value)
optional int32 max_height = 2;
ChromeHtmlHeaderFooterP.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ChromeHtmlHeaderFooterP.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
-
-
-
-
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<ChromeHtmlHeaderFooterP.Builder>
-
clear
public ChromeHtmlHeaderFooterP.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<ChromeHtmlHeaderFooterP.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<ChromeHtmlHeaderFooterP.Builder>
-
getDefaultInstanceForType
public ChromeHtmlHeaderFooterP getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ChromeHtmlHeaderFooterP build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ChromeHtmlHeaderFooterP buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ChromeHtmlHeaderFooterP.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<ChromeHtmlHeaderFooterP.Builder>
-
setField
public ChromeHtmlHeaderFooterP.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<ChromeHtmlHeaderFooterP.Builder>
-
clearField
public ChromeHtmlHeaderFooterP.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<ChromeHtmlHeaderFooterP.Builder>
-
clearOneof
public ChromeHtmlHeaderFooterP.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<ChromeHtmlHeaderFooterP.Builder>
-
setRepeatedField
public ChromeHtmlHeaderFooterP.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<ChromeHtmlHeaderFooterP.Builder>
-
addRepeatedField
public ChromeHtmlHeaderFooterP.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<ChromeHtmlHeaderFooterP.Builder>
-
mergeFrom
public ChromeHtmlHeaderFooterP.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ChromeHtmlHeaderFooterP.Builder>
-
mergeFrom
public ChromeHtmlHeaderFooterP.Builder mergeFrom(ChromeHtmlHeaderFooterP other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChromeHtmlHeaderFooterP.Builder>
-
mergeFrom
public ChromeHtmlHeaderFooterP.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<ChromeHtmlHeaderFooterP.Builder>
- Throws:
IOException
-
hasBaseUrl
public boolean hasBaseUrl()
optional string base_url = 1;
- Specified by:
hasBaseUrl
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- Whether the baseUrl field is set.
-
getBaseUrl
public String getBaseUrl()
optional string base_url = 1;
- Specified by:
getBaseUrl
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- The baseUrl.
-
getBaseUrlBytes
public com.google.protobuf.ByteString getBaseUrlBytes()
optional string base_url = 1;
- Specified by:
getBaseUrlBytes
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- The bytes for baseUrl.
-
setBaseUrl
public ChromeHtmlHeaderFooterP.Builder setBaseUrl(String value)
optional string base_url = 1;
- Parameters:
value
- The baseUrl to set.- Returns:
- This builder for chaining.
-
clearBaseUrl
public ChromeHtmlHeaderFooterP.Builder clearBaseUrl()
optional string base_url = 1;
- Returns:
- This builder for chaining.
-
setBaseUrlBytes
public ChromeHtmlHeaderFooterP.Builder setBaseUrlBytes(com.google.protobuf.ByteString value)
optional string base_url = 1;
- Parameters:
value
- The bytes for baseUrl to set.- Returns:
- This builder for chaining.
-
hasMaxHeight
public boolean hasMaxHeight()
optional int32 max_height = 2;
- Specified by:
hasMaxHeight
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- Whether the maxHeight field is set.
-
getMaxHeight
public int getMaxHeight()
optional int32 max_height = 2;
- Specified by:
getMaxHeight
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- The maxHeight.
-
setMaxHeight
public ChromeHtmlHeaderFooterP.Builder setMaxHeight(int value)
optional int32 max_height = 2;
- Parameters:
value
- The maxHeight to set.- Returns:
- This builder for chaining.
-
clearMaxHeight
public ChromeHtmlHeaderFooterP.Builder clearMaxHeight()
optional int32 max_height = 2;
- Returns:
- This builder for chaining.
-
hasDrawDividerLine
public boolean hasDrawDividerLine()
optional bool draw_divider_line = 3;
- Specified by:
hasDrawDividerLine
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- Whether the drawDividerLine field is set.
-
getDrawDividerLine
public boolean getDrawDividerLine()
optional bool draw_divider_line = 3;
- Specified by:
getDrawDividerLine
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- The drawDividerLine.
-
setDrawDividerLine
public ChromeHtmlHeaderFooterP.Builder setDrawDividerLine(boolean value)
optional bool draw_divider_line = 3;
- Parameters:
value
- The drawDividerLine to set.- Returns:
- This builder for chaining.
-
clearDrawDividerLine
public ChromeHtmlHeaderFooterP.Builder clearDrawDividerLine()
optional bool draw_divider_line = 3;
- Returns:
- This builder for chaining.
-
hasDividerLineColor
public boolean hasDividerLineColor()
optional string divider_line_color = 4;
- Specified by:
hasDividerLineColor
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- Whether the dividerLineColor field is set.
-
getDividerLineColor
public String getDividerLineColor()
optional string divider_line_color = 4;
- Specified by:
getDividerLineColor
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- The dividerLineColor.
-
getDividerLineColorBytes
public com.google.protobuf.ByteString getDividerLineColorBytes()
optional string divider_line_color = 4;
- Specified by:
getDividerLineColorBytes
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- The bytes for dividerLineColor.
-
setDividerLineColor
public ChromeHtmlHeaderFooterP.Builder setDividerLineColor(String value)
optional string divider_line_color = 4;
- Parameters:
value
- The dividerLineColor to set.- Returns:
- This builder for chaining.
-
clearDividerLineColor
public ChromeHtmlHeaderFooterP.Builder clearDividerLineColor()
optional string divider_line_color = 4;
- Returns:
- This builder for chaining.
-
setDividerLineColorBytes
public ChromeHtmlHeaderFooterP.Builder setDividerLineColorBytes(com.google.protobuf.ByteString value)
optional string divider_line_color = 4;
- Parameters:
value
- The bytes for dividerLineColor to set.- Returns:
- This builder for chaining.
-
hasHtmlFragment
public boolean hasHtmlFragment()
optional string html_fragment = 5;
- Specified by:
hasHtmlFragment
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- Whether the htmlFragment field is set.
-
getHtmlFragment
public String getHtmlFragment()
optional string html_fragment = 5;
- Specified by:
getHtmlFragment
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- The htmlFragment.
-
getHtmlFragmentBytes
public com.google.protobuf.ByteString getHtmlFragmentBytes()
optional string html_fragment = 5;
- Specified by:
getHtmlFragmentBytes
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- The bytes for htmlFragment.
-
setHtmlFragment
public ChromeHtmlHeaderFooterP.Builder setHtmlFragment(String value)
optional string html_fragment = 5;
- Parameters:
value
- The htmlFragment to set.- Returns:
- This builder for chaining.
-
clearHtmlFragment
public ChromeHtmlHeaderFooterP.Builder clearHtmlFragment()
optional string html_fragment = 5;
- Returns:
- This builder for chaining.
-
setHtmlFragmentBytes
public ChromeHtmlHeaderFooterP.Builder setHtmlFragmentBytes(com.google.protobuf.ByteString value)
optional string html_fragment = 5;
- Parameters:
value
- The bytes for htmlFragment to set.- Returns:
- This builder for chaining.
-
hasLoadStylesAndCSSFromMainHtmlDocument
public boolean hasLoadStylesAndCSSFromMainHtmlDocument()
optional bool loadStylesAndCSSFromMainHtmlDocument = 6;
- Specified by:
hasLoadStylesAndCSSFromMainHtmlDocument
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- Whether the loadStylesAndCSSFromMainHtmlDocument field is set.
-
getLoadStylesAndCSSFromMainHtmlDocument
public boolean getLoadStylesAndCSSFromMainHtmlDocument()
optional bool loadStylesAndCSSFromMainHtmlDocument = 6;
- Specified by:
getLoadStylesAndCSSFromMainHtmlDocument
in interfaceChromeHtmlHeaderFooterPOrBuilder
- Returns:
- The loadStylesAndCSSFromMainHtmlDocument.
-
setLoadStylesAndCSSFromMainHtmlDocument
public ChromeHtmlHeaderFooterP.Builder setLoadStylesAndCSSFromMainHtmlDocument(boolean value)
optional bool loadStylesAndCSSFromMainHtmlDocument = 6;
- Parameters:
value
- The loadStylesAndCSSFromMainHtmlDocument to set.- Returns:
- This builder for chaining.
-
clearLoadStylesAndCSSFromMainHtmlDocument
public ChromeHtmlHeaderFooterP.Builder clearLoadStylesAndCSSFromMainHtmlDocument()
optional bool loadStylesAndCSSFromMainHtmlDocument = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ChromeHtmlHeaderFooterP.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChromeHtmlHeaderFooterP.Builder>
-
mergeUnknownFields
public final ChromeHtmlHeaderFooterP.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChromeHtmlHeaderFooterP.Builder>
-
-