Class Page.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PageOrBuilder, Cloneable
    Enclosing class:
    Page

    public static final class Page.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Page.Builder>
    implements PageOrBuilder
    Protobuf type IronPdfEngine.Proto.Page
    • 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<Page.Builder>
      • clear

        public Page.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<Page.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<Page.Builder>
      • getDefaultInstanceForType

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

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

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

        public Page.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Page.Builder>
      • setField

        public Page.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Page.Builder>
      • clearField

        public Page.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Page.Builder>
      • clearOneof

        public Page.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Page.Builder>
      • setRepeatedField

        public Page.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             int index,
                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Page.Builder>
      • addRepeatedField

        public Page.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Page.Builder>
      • mergeFrom

        public Page.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Page.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Page.Builder>
      • mergeFrom

        public Page.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<Page.Builder>
        Throws:
        IOException
      • getWidth

        public double getWidth()
        double width = 1;
        Specified by:
        getWidth in interface PageOrBuilder
        Returns:
        The width.
      • setWidth

        public Page.Builder setWidth​(double value)
        double width = 1;
        Parameters:
        value - The width to set.
        Returns:
        This builder for chaining.
      • clearWidth

        public Page.Builder clearWidth()
        double width = 1;
        Returns:
        This builder for chaining.
      • getHeight

        public double getHeight()
        double height = 2;
        Specified by:
        getHeight in interface PageOrBuilder
        Returns:
        The height.
      • setHeight

        public Page.Builder setHeight​(double value)
        double height = 2;
        Parameters:
        value - The height to set.
        Returns:
        This builder for chaining.
      • clearHeight

        public Page.Builder clearHeight()
        double height = 2;
        Returns:
        This builder for chaining.
      • getPrintWidth

        public double getPrintWidth()
        double print_width = 3;
        Specified by:
        getPrintWidth in interface PageOrBuilder
        Returns:
        The printWidth.
      • setPrintWidth

        public Page.Builder setPrintWidth​(double value)
        double print_width = 3;
        Parameters:
        value - The printWidth to set.
        Returns:
        This builder for chaining.
      • clearPrintWidth

        public Page.Builder clearPrintWidth()
        double print_width = 3;
        Returns:
        This builder for chaining.
      • getPrintHeight

        public double getPrintHeight()
        double print_height = 4;
        Specified by:
        getPrintHeight in interface PageOrBuilder
        Returns:
        The printHeight.
      • setPrintHeight

        public Page.Builder setPrintHeight​(double value)
        double print_height = 4;
        Parameters:
        value - The printHeight to set.
        Returns:
        This builder for chaining.
      • clearPrintHeight

        public Page.Builder clearPrintHeight()
        double print_height = 4;
        Returns:
        This builder for chaining.
      • hasPageRotation

        public boolean hasPageRotation()
        .IronPdfEngine.Proto.PageRotation page_rotation = 5;
        Specified by:
        hasPageRotation in interface PageOrBuilder
        Returns:
        Whether the pageRotation field is set.
      • setPageRotation

        public Page.Builder setPageRotation​(PageRotation value)
        .IronPdfEngine.Proto.PageRotation page_rotation = 5;
      • mergePageRotation

        public Page.Builder mergePageRotation​(PageRotation value)
        .IronPdfEngine.Proto.PageRotation page_rotation = 5;
      • clearPageRotation

        public Page.Builder clearPageRotation()
        .IronPdfEngine.Proto.PageRotation page_rotation = 5;
      • getPageRotationBuilder

        public PageRotation.Builder getPageRotationBuilder()
        .IronPdfEngine.Proto.PageRotation page_rotation = 5;
      • setUnknownFields

        public final Page.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<Page.Builder>
      • mergeUnknownFields

        public final Page.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<Page.Builder>