Class Rectangle.Builder

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

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

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

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

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

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

        public Rectangle.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<Rectangle.Builder>
      • setField

        public Rectangle.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<Rectangle.Builder>
      • clearField

        public Rectangle.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<Rectangle.Builder>
      • clearOneof

        public Rectangle.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<Rectangle.Builder>
      • setRepeatedField

        public Rectangle.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<Rectangle.Builder>
      • addRepeatedField

        public Rectangle.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<Rectangle.Builder>
      • mergeFrom

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

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

        public Rectangle.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<Rectangle.Builder>
        Throws:
        IOException
      • getX

        public double getX()
        double x = 1;
        Specified by:
        getX in interface RectangleOrBuilder
        Returns:
        The x.
      • setX

        public Rectangle.Builder setX​(double value)
        double x = 1;
        Parameters:
        value - The x to set.
        Returns:
        This builder for chaining.
      • clearX

        public Rectangle.Builder clearX()
        double x = 1;
        Returns:
        This builder for chaining.
      • getY

        public double getY()
        double y = 2;
        Specified by:
        getY in interface RectangleOrBuilder
        Returns:
        The y.
      • setY

        public Rectangle.Builder setY​(double value)
        double y = 2;
        Parameters:
        value - The y to set.
        Returns:
        This builder for chaining.
      • clearY

        public Rectangle.Builder clearY()
        double y = 2;
        Returns:
        This builder for chaining.
      • getWidth

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

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

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

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

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

        public Rectangle.Builder clearHeight()
        double height = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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