Class ChromePdfRenderOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ChromePdfRenderOptions.Builder>
com.ironsoftware.ironpdf.internal.proto.ChromePdfRenderOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ChromePdfRenderOptionsOrBuilder
,Cloneable
- Enclosing class:
ChromePdfRenderOptions
public static final class ChromePdfRenderOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ChromePdfRenderOptions.Builder>
implements ChromePdfRenderOptionsOrBuilder
we not allow to add HeaderFooter because html and string could be too long to handle that we need to use stream which will makes things complicated.Protobuf type
IronPdfEngine.Proto.ChromePdfRenderOptions
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional bool apply_margin_to_header_and_footer = 1;optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
optional string custom_css_url = 2;
optional double custom_paper_height = 24;
optional double custom_paper_width = 23;
optional bool enable_java_script = 3;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
optional bool generate_unique_document_identifiers = 6;
optional bool gray_scale = 7;
optional string input_encoding = 21;
optional double margin_bottom = 8;
optional double margin_left = 9;
optional double margin_right = 10;
optional double margin_top = 11;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
optional bool print_html_backgrounds = 14;
optional int32 render_delay = 15;
optional int32 timeout = 16;
optional string title = 17;
optional int32 view_port_height = 18;
optional int32 view_port_width = 19;
optional int32 zoom = 20;
clone()
boolean
optional bool apply_margin_to_header_and_footer = 1;optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
optional string custom_css_url = 2;
com.google.protobuf.ByteString
optional string custom_css_url = 2;
double
optional double custom_paper_height = 24;
double
optional double custom_paper_width = 23;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
optional bool enable_java_script = 3;
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
boolean
optional bool generate_unique_document_identifiers = 6;
boolean
optional bool gray_scale = 7;
optional string input_encoding = 21;
com.google.protobuf.ByteString
optional string input_encoding = 21;
double
optional double margin_bottom = 8;
double
optional double margin_left = 9;
double
optional double margin_right = 10;
double
optional double margin_top = 11;
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
boolean
optional bool print_html_backgrounds = 14;
int
optional int32 render_delay = 15;
int
optional int32 timeout = 16;
getTitle()
optional string title = 17;
com.google.protobuf.ByteString
optional string title = 17;
int
optional int32 view_port_height = 18;
int
optional int32 view_port_width = 19;
int
getZoom()
optional int32 zoom = 20;
boolean
optional bool apply_margin_to_header_and_footer = 1;boolean
optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
boolean
optional string custom_css_url = 2;
boolean
optional double custom_paper_height = 24;
boolean
optional double custom_paper_width = 23;
boolean
optional bool enable_java_script = 3;
boolean
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
boolean
optional bool generate_unique_document_identifiers = 6;
boolean
optional bool gray_scale = 7;
boolean
optional string input_encoding = 21;
boolean
optional double margin_bottom = 8;
boolean
optional double margin_left = 9;
boolean
optional double margin_right = 10;
boolean
optional double margin_top = 11;
boolean
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
boolean
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
boolean
optional bool print_html_backgrounds = 14;
boolean
optional int32 render_delay = 15;
boolean
optional int32 timeout = 16;
boolean
hasTitle()
optional string title = 17;
boolean
optional int32 view_port_height = 18;
boolean
optional int32 view_port_width = 19;
boolean
hasZoom()
optional int32 zoom = 20;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeCssMediaType
(PdfCssMediaType value) optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(ChromePdfRenderOptions other) optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
mergePaperSize
(PdfPaperSize value) optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCreatePdfFormsFromHtml
(boolean value) optional bool apply_margin_to_header_and_footer = 1;setCssMediaType
(PdfCssMediaType value) optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
setCssMediaType
(PdfCssMediaType.Builder builderForValue) optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
setCustomCssUrl
(String value) optional string custom_css_url = 2;
setCustomCssUrlBytes
(com.google.protobuf.ByteString value) optional string custom_css_url = 2;
setCustomPaperHeight
(double value) optional double custom_paper_height = 24;
setCustomPaperWidth
(double value) optional double custom_paper_width = 23;
setEnableJavaScript
(boolean value) optional bool enable_java_script = 3;
setFitToPaperMode
(FitToPaperModes value) optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
setFitToPaperMode
(FitToPaperModes.Builder builderForValue) optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
setGenerateUniqueDocumentIdentifiers
(boolean value) optional bool generate_unique_document_identifiers = 6;
setGrayScale
(boolean value) optional bool gray_scale = 7;
setInputEncoding
(String value) optional string input_encoding = 21;
setInputEncodingBytes
(com.google.protobuf.ByteString value) optional string input_encoding = 21;
setMarginBottom
(double value) optional double margin_bottom = 8;
setMarginLeft
(double value) optional double margin_left = 9;
setMarginRight
(double value) optional double margin_right = 10;
setMarginTop
(double value) optional double margin_top = 11;
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
setPaperOrientation
(PdfPaperOrientation.Builder builderForValue) optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
setPaperSize
(PdfPaperSize value) optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
setPaperSize
(PdfPaperSize.Builder builderForValue) optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
setPrintHtmlBackgrounds
(boolean value) optional bool print_html_backgrounds = 14;
setRenderDelay
(int value) optional int32 render_delay = 15;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTimeout
(int value) optional int32 timeout = 16;
optional string title = 17;
setTitleBytes
(com.google.protobuf.ByteString value) optional string title = 17;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setViewPortHeight
(int value) optional int32 view_port_height = 18;
setViewPortWidth
(int value) optional int32 view_port_width = 19;
setZoom
(int value) optional int32 zoom = 20;
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<ChromePdfRenderOptions.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<ChromePdfRenderOptions.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<ChromePdfRenderOptions.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<ChromePdfRenderOptions.Builder>
-
setField
public ChromePdfRenderOptions.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<ChromePdfRenderOptions.Builder>
-
clearField
public ChromePdfRenderOptions.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<ChromePdfRenderOptions.Builder>
-
clearOneof
public ChromePdfRenderOptions.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<ChromePdfRenderOptions.Builder>
-
setRepeatedField
public ChromePdfRenderOptions.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<ChromePdfRenderOptions.Builder>
-
addRepeatedField
public ChromePdfRenderOptions.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<ChromePdfRenderOptions.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ChromePdfRenderOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChromePdfRenderOptions.Builder>
-
mergeFrom
public ChromePdfRenderOptions.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<ChromePdfRenderOptions.Builder>
- Throws:
IOException
-
hasCreatePdfFormsFromHtml
public boolean hasCreatePdfFormsFromHtml()optional bool apply_margin_to_header_and_footer = 1;
optional bool create_pdf_forms_from_html = 1;
- Specified by:
hasCreatePdfFormsFromHtml
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the createPdfFormsFromHtml field is set.
-
getCreatePdfFormsFromHtml
public boolean getCreatePdfFormsFromHtml()optional bool apply_margin_to_header_and_footer = 1;
optional bool create_pdf_forms_from_html = 1;
- Specified by:
getCreatePdfFormsFromHtml
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The createPdfFormsFromHtml.
-
setCreatePdfFormsFromHtml
optional bool apply_margin_to_header_and_footer = 1;
optional bool create_pdf_forms_from_html = 1;
- Parameters:
value
- The createPdfFormsFromHtml to set.- Returns:
- This builder for chaining.
-
clearCreatePdfFormsFromHtml
optional bool apply_margin_to_header_and_footer = 1;
optional bool create_pdf_forms_from_html = 1;
- Returns:
- This builder for chaining.
-
hasCustomCssUrl
public boolean hasCustomCssUrl()optional string custom_css_url = 2;
- Specified by:
hasCustomCssUrl
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the customCssUrl field is set.
-
getCustomCssUrl
optional string custom_css_url = 2;
- Specified by:
getCustomCssUrl
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The customCssUrl.
-
getCustomCssUrlBytes
public com.google.protobuf.ByteString getCustomCssUrlBytes()optional string custom_css_url = 2;
- Specified by:
getCustomCssUrlBytes
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The bytes for customCssUrl.
-
setCustomCssUrl
optional string custom_css_url = 2;
- Parameters:
value
- The customCssUrl to set.- Returns:
- This builder for chaining.
-
clearCustomCssUrl
optional string custom_css_url = 2;
- Returns:
- This builder for chaining.
-
setCustomCssUrlBytes
optional string custom_css_url = 2;
- Parameters:
value
- The bytes for customCssUrl to set.- Returns:
- This builder for chaining.
-
hasEnableJavaScript
public boolean hasEnableJavaScript()optional bool enable_java_script = 3;
- Specified by:
hasEnableJavaScript
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the enableJavaScript field is set.
-
getEnableJavaScript
public boolean getEnableJavaScript()optional bool enable_java_script = 3;
- Specified by:
getEnableJavaScript
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The enableJavaScript.
-
setEnableJavaScript
optional bool enable_java_script = 3;
- Parameters:
value
- The enableJavaScript to set.- Returns:
- This builder for chaining.
-
clearEnableJavaScript
optional bool enable_java_script = 3;
- Returns:
- This builder for chaining.
-
hasFitToPaperMode
public boolean hasFitToPaperMode()optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
- Specified by:
hasFitToPaperMode
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the fitToPaperMode field is set.
-
getFitToPaperMode
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
- Specified by:
getFitToPaperMode
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The fitToPaperMode.
-
setFitToPaperMode
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
-
setFitToPaperMode
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
-
mergeFitToPaperMode
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
-
clearFitToPaperMode
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
-
getFitToPaperModeBuilder
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
-
getFitToPaperModeOrBuilder
optional .IronPdfEngine.Proto.FitToPaperModes fit_to_paper_mode = 5;
- Specified by:
getFitToPaperModeOrBuilder
in interfaceChromePdfRenderOptionsOrBuilder
-
hasGenerateUniqueDocumentIdentifiers
public boolean hasGenerateUniqueDocumentIdentifiers()optional bool generate_unique_document_identifiers = 6;
- Specified by:
hasGenerateUniqueDocumentIdentifiers
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the generateUniqueDocumentIdentifiers field is set.
-
getGenerateUniqueDocumentIdentifiers
public boolean getGenerateUniqueDocumentIdentifiers()optional bool generate_unique_document_identifiers = 6;
- Specified by:
getGenerateUniqueDocumentIdentifiers
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The generateUniqueDocumentIdentifiers.
-
setGenerateUniqueDocumentIdentifiers
optional bool generate_unique_document_identifiers = 6;
- Parameters:
value
- The generateUniqueDocumentIdentifiers to set.- Returns:
- This builder for chaining.
-
clearGenerateUniqueDocumentIdentifiers
optional bool generate_unique_document_identifiers = 6;
- Returns:
- This builder for chaining.
-
hasGrayScale
public boolean hasGrayScale()optional bool gray_scale = 7;
- Specified by:
hasGrayScale
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the grayScale field is set.
-
getGrayScale
public boolean getGrayScale()optional bool gray_scale = 7;
- Specified by:
getGrayScale
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The grayScale.
-
setGrayScale
optional bool gray_scale = 7;
- Parameters:
value
- The grayScale to set.- Returns:
- This builder for chaining.
-
clearGrayScale
optional bool gray_scale = 7;
- Returns:
- This builder for chaining.
-
hasMarginBottom
public boolean hasMarginBottom()optional double margin_bottom = 8;
- Specified by:
hasMarginBottom
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the marginBottom field is set.
-
getMarginBottom
public double getMarginBottom()optional double margin_bottom = 8;
- Specified by:
getMarginBottom
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The marginBottom.
-
setMarginBottom
optional double margin_bottom = 8;
- Parameters:
value
- The marginBottom to set.- Returns:
- This builder for chaining.
-
clearMarginBottom
optional double margin_bottom = 8;
- Returns:
- This builder for chaining.
-
hasMarginLeft
public boolean hasMarginLeft()optional double margin_left = 9;
- Specified by:
hasMarginLeft
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the marginLeft field is set.
-
getMarginLeft
public double getMarginLeft()optional double margin_left = 9;
- Specified by:
getMarginLeft
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The marginLeft.
-
setMarginLeft
optional double margin_left = 9;
- Parameters:
value
- The marginLeft to set.- Returns:
- This builder for chaining.
-
clearMarginLeft
optional double margin_left = 9;
- Returns:
- This builder for chaining.
-
hasMarginRight
public boolean hasMarginRight()optional double margin_right = 10;
- Specified by:
hasMarginRight
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the marginRight field is set.
-
getMarginRight
public double getMarginRight()optional double margin_right = 10;
- Specified by:
getMarginRight
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The marginRight.
-
setMarginRight
optional double margin_right = 10;
- Parameters:
value
- The marginRight to set.- Returns:
- This builder for chaining.
-
clearMarginRight
optional double margin_right = 10;
- Returns:
- This builder for chaining.
-
hasMarginTop
public boolean hasMarginTop()optional double margin_top = 11;
- Specified by:
hasMarginTop
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the marginTop field is set.
-
getMarginTop
public double getMarginTop()optional double margin_top = 11;
- Specified by:
getMarginTop
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The marginTop.
-
setMarginTop
optional double margin_top = 11;
- Parameters:
value
- The marginTop to set.- Returns:
- This builder for chaining.
-
clearMarginTop
optional double margin_top = 11;
- Returns:
- This builder for chaining.
-
hasPaperOrientation
public boolean hasPaperOrientation()optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
- Specified by:
hasPaperOrientation
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the paperOrientation field is set.
-
getPaperOrientation
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
- Specified by:
getPaperOrientation
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The paperOrientation.
-
setPaperOrientation
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
-
setPaperOrientation
public ChromePdfRenderOptions.Builder setPaperOrientation(PdfPaperOrientation.Builder builderForValue) optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
-
mergePaperOrientation
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
-
clearPaperOrientation
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
-
getPaperOrientationBuilder
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
-
getPaperOrientationOrBuilder
optional .IronPdfEngine.Proto.PdfPaperOrientation paper_orientation = 12;
- Specified by:
getPaperOrientationOrBuilder
in interfaceChromePdfRenderOptionsOrBuilder
-
hasPaperSize
public boolean hasPaperSize()optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
- Specified by:
hasPaperSize
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the paperSize field is set.
-
getPaperSize
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
- Specified by:
getPaperSize
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The paperSize.
-
setPaperSize
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
-
setPaperSize
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
-
mergePaperSize
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
-
clearPaperSize
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
-
getPaperSizeBuilder
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
-
getPaperSizeOrBuilder
optional .IronPdfEngine.Proto.PdfPaperSize paper_size = 13;
- Specified by:
getPaperSizeOrBuilder
in interfaceChromePdfRenderOptionsOrBuilder
-
hasPrintHtmlBackgrounds
public boolean hasPrintHtmlBackgrounds()optional bool print_html_backgrounds = 14;
- Specified by:
hasPrintHtmlBackgrounds
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the printHtmlBackgrounds field is set.
-
getPrintHtmlBackgrounds
public boolean getPrintHtmlBackgrounds()optional bool print_html_backgrounds = 14;
- Specified by:
getPrintHtmlBackgrounds
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The printHtmlBackgrounds.
-
setPrintHtmlBackgrounds
optional bool print_html_backgrounds = 14;
- Parameters:
value
- The printHtmlBackgrounds to set.- Returns:
- This builder for chaining.
-
clearPrintHtmlBackgrounds
optional bool print_html_backgrounds = 14;
- Returns:
- This builder for chaining.
-
hasRenderDelay
public boolean hasRenderDelay()optional int32 render_delay = 15;
- Specified by:
hasRenderDelay
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the renderDelay field is set.
-
getRenderDelay
public int getRenderDelay()optional int32 render_delay = 15;
- Specified by:
getRenderDelay
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The renderDelay.
-
setRenderDelay
optional int32 render_delay = 15;
- Parameters:
value
- The renderDelay to set.- Returns:
- This builder for chaining.
-
clearRenderDelay
optional int32 render_delay = 15;
- Returns:
- This builder for chaining.
-
hasTimeout
public boolean hasTimeout()optional int32 timeout = 16;
- Specified by:
hasTimeout
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the timeout field is set.
-
getTimeout
public int getTimeout()optional int32 timeout = 16;
- Specified by:
getTimeout
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The timeout.
-
setTimeout
optional int32 timeout = 16;
- Parameters:
value
- The timeout to set.- Returns:
- This builder for chaining.
-
clearTimeout
optional int32 timeout = 16;
- Returns:
- This builder for chaining.
-
hasTitle
public boolean hasTitle()optional string title = 17;
- Specified by:
hasTitle
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the title field is set.
-
getTitle
optional string title = 17;
- Specified by:
getTitle
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()optional string title = 17;
- Specified by:
getTitleBytes
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The bytes for title.
-
setTitle
optional string title = 17;
- Parameters:
value
- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
optional string title = 17;
- Returns:
- This builder for chaining.
-
setTitleBytes
optional string title = 17;
- Parameters:
value
- The bytes for title to set.- Returns:
- This builder for chaining.
-
hasViewPortHeight
public boolean hasViewPortHeight()optional int32 view_port_height = 18;
- Specified by:
hasViewPortHeight
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the viewPortHeight field is set.
-
getViewPortHeight
public int getViewPortHeight()optional int32 view_port_height = 18;
- Specified by:
getViewPortHeight
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The viewPortHeight.
-
setViewPortHeight
optional int32 view_port_height = 18;
- Parameters:
value
- The viewPortHeight to set.- Returns:
- This builder for chaining.
-
clearViewPortHeight
optional int32 view_port_height = 18;
- Returns:
- This builder for chaining.
-
hasViewPortWidth
public boolean hasViewPortWidth()optional int32 view_port_width = 19;
- Specified by:
hasViewPortWidth
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the viewPortWidth field is set.
-
getViewPortWidth
public int getViewPortWidth()optional int32 view_port_width = 19;
- Specified by:
getViewPortWidth
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The viewPortWidth.
-
setViewPortWidth
optional int32 view_port_width = 19;
- Parameters:
value
- The viewPortWidth to set.- Returns:
- This builder for chaining.
-
clearViewPortWidth
optional int32 view_port_width = 19;
- Returns:
- This builder for chaining.
-
hasZoom
public boolean hasZoom()optional int32 zoom = 20;
- Specified by:
hasZoom
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the zoom field is set.
-
getZoom
public int getZoom()optional int32 zoom = 20;
- Specified by:
getZoom
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The zoom.
-
setZoom
optional int32 zoom = 20;
- Parameters:
value
- The zoom to set.- Returns:
- This builder for chaining.
-
clearZoom
optional int32 zoom = 20;
- Returns:
- This builder for chaining.
-
hasInputEncoding
public boolean hasInputEncoding()optional string input_encoding = 21;
- Specified by:
hasInputEncoding
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the inputEncoding field is set.
-
getInputEncoding
optional string input_encoding = 21;
- Specified by:
getInputEncoding
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The inputEncoding.
-
getInputEncodingBytes
public com.google.protobuf.ByteString getInputEncodingBytes()optional string input_encoding = 21;
- Specified by:
getInputEncodingBytes
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The bytes for inputEncoding.
-
setInputEncoding
optional string input_encoding = 21;
- Parameters:
value
- The inputEncoding to set.- Returns:
- This builder for chaining.
-
clearInputEncoding
optional string input_encoding = 21;
- Returns:
- This builder for chaining.
-
setInputEncodingBytes
optional string input_encoding = 21;
- Parameters:
value
- The bytes for inputEncoding to set.- Returns:
- This builder for chaining.
-
hasCssMediaType
public boolean hasCssMediaType()optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
- Specified by:
hasCssMediaType
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the cssMediaType field is set.
-
getCssMediaType
optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
- Specified by:
getCssMediaType
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The cssMediaType.
-
setCssMediaType
optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
-
setCssMediaType
optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
-
mergeCssMediaType
optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
-
clearCssMediaType
optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
-
getCssMediaTypeBuilder
optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
-
getCssMediaTypeOrBuilder
optional .IronPdfEngine.Proto.PdfCssMediaType css_media_type = 22;
- Specified by:
getCssMediaTypeOrBuilder
in interfaceChromePdfRenderOptionsOrBuilder
-
hasCustomPaperWidth
public boolean hasCustomPaperWidth()optional double custom_paper_width = 23;
- Specified by:
hasCustomPaperWidth
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the customPaperWidth field is set.
-
getCustomPaperWidth
public double getCustomPaperWidth()optional double custom_paper_width = 23;
- Specified by:
getCustomPaperWidth
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The customPaperWidth.
-
setCustomPaperWidth
optional double custom_paper_width = 23;
- Parameters:
value
- The customPaperWidth to set.- Returns:
- This builder for chaining.
-
clearCustomPaperWidth
optional double custom_paper_width = 23;
- Returns:
- This builder for chaining.
-
hasCustomPaperHeight
public boolean hasCustomPaperHeight()optional double custom_paper_height = 24;
- Specified by:
hasCustomPaperHeight
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- Whether the customPaperHeight field is set.
-
getCustomPaperHeight
public double getCustomPaperHeight()optional double custom_paper_height = 24;
- Specified by:
getCustomPaperHeight
in interfaceChromePdfRenderOptionsOrBuilder
- Returns:
- The customPaperHeight.
-
setCustomPaperHeight
optional double custom_paper_height = 24;
- Parameters:
value
- The customPaperHeight to set.- Returns:
- This builder for chaining.
-
clearCustomPaperHeight
optional double custom_paper_height = 24;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ChromePdfRenderOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChromePdfRenderOptions.Builder>
-
mergeUnknownFields
public final ChromePdfRenderOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChromePdfRenderOptions.Builder>
-