Class ChromeHtmlHeaderFooterP.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ChromeHtmlHeaderFooterP.Builder>
      • clear

        public ChromeHtmlHeaderFooterP.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ChromeHtmlHeaderFooterP.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ChromeHtmlHeaderFooterP.Builder>
      • getDefaultInstanceForType

        public ChromeHtmlHeaderFooterP getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ChromeHtmlHeaderFooterP build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ChromeHtmlHeaderFooterP buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChromeHtmlHeaderFooterP.Builder>
        Throws:
        IOException
      • setBaseUrl

        public ChromeHtmlHeaderFooterP.Builder setBaseUrl​(String value)
        optional string base_url = 1;
        Parameters:
        value - The baseUrl to set.
        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.
      • setMaxHeight

        public ChromeHtmlHeaderFooterP.Builder setMaxHeight​(int value)
        optional int32 max_height = 2;
        Parameters:
        value - The maxHeight to set.
        Returns:
        This builder for chaining.
      • 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.
      • 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.
      • setHtmlFragment

        public ChromeHtmlHeaderFooterP.Builder setHtmlFragment​(String value)
        optional string html_fragment = 5;
        Parameters:
        value - The htmlFragment to set.
        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.
      • 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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ChromeHtmlHeaderFooterP.Builder>
      • mergeUnknownFields

        public final ChromeHtmlHeaderFooterP.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ChromeHtmlHeaderFooterP.Builder>