Class PdfiumPageP.Builder

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

    public static final class PdfiumPageP.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PdfiumPageP.Builder>
    implements PdfiumPagePOrBuilder
    Protobuf type ironpdfengineproto.PdfiumPageP
    • 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<PdfiumPageP.Builder>
      • clear

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

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

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

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

        public PdfiumPageP.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<PdfiumPageP.Builder>
      • isInitialized

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

        public PdfiumPageP.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<PdfiumPageP.Builder>
        Throws:
        IOException
      • setWidth

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

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

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

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

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

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

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

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

        public boolean hasPageRotation()
        .ironpdfengineproto.PdfiumPageRotationP page_rotation = 5;
        Specified by:
        hasPageRotation in interface PdfiumPagePOrBuilder
        Returns:
        Whether the pageRotation field is set.
      • clearPageRotation

        public PdfiumPageP.Builder clearPageRotation()
        .ironpdfengineproto.PdfiumPageRotationP page_rotation = 5;
      • getPageRotationBuilder

        public PdfiumPageRotationP.Builder getPageRotationBuilder()
        .ironpdfengineproto.PdfiumPageRotationP page_rotation = 5;
      • setPageIndex

        public PdfiumPageP.Builder setPageIndex​(int value)
        int32 page_index = 6;
        Parameters:
        value - The pageIndex to set.
        Returns:
        This builder for chaining.
      • clearPageIndex

        public PdfiumPageP.Builder clearPageIndex()
        int32 page_index = 6;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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