Class Rectangle.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Rectangle.Builder>
-
- com.ironsoftware.ironpdf.internal.proto.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 typeironpdfengineproto.Rectangle
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Rectangle.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Rectangle
build()
Rectangle
buildPartial()
Rectangle.Builder
clear()
Rectangle.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Rectangle.Builder
clearHeight()
double height = 4;
Rectangle.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Rectangle.Builder
clearWidth()
double width = 3;
Rectangle.Builder
clearX()
double x = 1;
Rectangle.Builder
clearY()
double y = 2;
Rectangle.Builder
clone()
Rectangle
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getHeight()
double height = 4;
double
getWidth()
double width = 3;
double
getX()
double x = 1;
double
getY()
double y = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Rectangle.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Rectangle.Builder
mergeFrom(com.google.protobuf.Message other)
Rectangle.Builder
mergeFrom(Rectangle other)
Rectangle.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Rectangle.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Rectangle.Builder
setHeight(double value)
double height = 4;
Rectangle.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Rectangle.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Rectangle.Builder
setWidth(double value)
double width = 3;
Rectangle.Builder
setX(double value)
double x = 1;
Rectangle.Builder
setY(double value)
double y = 2;
-
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
-
-
-
-
Method Detail
-
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<Rectangle.Builder>
-
clear
public Rectangle.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<Rectangle.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<Rectangle.Builder>
-
getDefaultInstanceForType
public Rectangle getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Rectangle build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Rectangle buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Rectangle.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<Rectangle.Builder>
-
setField
public Rectangle.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<Rectangle.Builder>
-
clearField
public Rectangle.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<Rectangle.Builder>
-
clearOneof
public Rectangle.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<Rectangle.Builder>
-
setRepeatedField
public Rectangle.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<Rectangle.Builder>
-
addRepeatedField
public Rectangle.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<Rectangle.Builder>
-
mergeFrom
public Rectangle.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Rectangle.Builder>
-
mergeFrom
public Rectangle.Builder mergeFrom(Rectangle other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Rectangle.Builder>
- Throws:
IOException
-
getX
public double getX()
double x = 1;
- Specified by:
getX
in interfaceRectangleOrBuilder
- 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 interfaceRectangleOrBuilder
- 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 interfaceRectangleOrBuilder
- 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 interfaceRectangleOrBuilder
- 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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rectangle.Builder>
-
mergeUnknownFields
public final Rectangle.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rectangle.Builder>
-
-