Class Partition.SpatialPartition.Builder (0.8.0)

public static final class Partition.SpatialPartition.Builder extends GeneratedMessageV3.Builder<Partition.SpatialPartition.Builder> implements Partition.SpatialPartitionOrBuilder

Partition of asset in space.

Protobuf type google.cloud.visionai.v1.Partition.SpatialPartition

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Partition.SpatialPartition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

build()

public Partition.SpatialPartition build()
Returns
Type Description
Partition.SpatialPartition

buildPartial()

public Partition.SpatialPartition buildPartial()
Returns
Type Description
Partition.SpatialPartition

clear()

public Partition.SpatialPartition.Builder clear()
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Partition.SpatialPartition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Partition.SpatialPartition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

clearXMax()

public Partition.SpatialPartition.Builder clearXMax()

The maximum x coordinate value.

optional int64 x_max = 3;

Returns
Type Description
Partition.SpatialPartition.Builder

This builder for chaining.

clearXMin()

public Partition.SpatialPartition.Builder clearXMin()

The minimum x coordinate value.

optional int64 x_min = 1;

Returns
Type Description
Partition.SpatialPartition.Builder

This builder for chaining.

clearYMax()

public Partition.SpatialPartition.Builder clearYMax()

The maximum y coordinate value.

optional int64 y_max = 4;

Returns
Type Description
Partition.SpatialPartition.Builder

This builder for chaining.

clearYMin()

public Partition.SpatialPartition.Builder clearYMin()

The minimum y coordinate value.

optional int64 y_min = 2;

Returns
Type Description
Partition.SpatialPartition.Builder

This builder for chaining.

clone()

public Partition.SpatialPartition.Builder clone()
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

getDefaultInstanceForType()

public Partition.SpatialPartition getDefaultInstanceForType()
Returns
Type Description
Partition.SpatialPartition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getXMax()

public long getXMax()

The maximum x coordinate value.

optional int64 x_max = 3;

Returns
Type Description
long

The xMax.

getXMin()

public long getXMin()

The minimum x coordinate value.

optional int64 x_min = 1;

Returns
Type Description
long

The xMin.

getYMax()

public long getYMax()

The maximum y coordinate value.

optional int64 y_max = 4;

Returns
Type Description
long

The yMax.

getYMin()

public long getYMin()

The minimum y coordinate value.

optional int64 y_min = 2;

Returns
Type Description
long

The yMin.

hasXMax()

public boolean hasXMax()

The maximum x coordinate value.

optional int64 x_max = 3;

Returns
Type Description
boolean

Whether the xMax field is set.

hasXMin()

public boolean hasXMin()

The minimum x coordinate value.

optional int64 x_min = 1;

Returns
Type Description
boolean

Whether the xMin field is set.

hasYMax()

public boolean hasYMax()

The maximum y coordinate value.

optional int64 y_max = 4;

Returns
Type Description
boolean

Whether the yMax field is set.

hasYMin()

public boolean hasYMin()

The minimum y coordinate value.

optional int64 y_min = 2;

Returns
Type Description
boolean

Whether the yMin field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Partition.SpatialPartition other)

public Partition.SpatialPartition.Builder mergeFrom(Partition.SpatialPartition other)
Parameter
Name Description
other Partition.SpatialPartition
Returns
Type Description
Partition.SpatialPartition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Partition.SpatialPartition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Partition.SpatialPartition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Partition.SpatialPartition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Partition.SpatialPartition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Partition.SpatialPartition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Partition.SpatialPartition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

setXMax(long value)

public Partition.SpatialPartition.Builder setXMax(long value)

The maximum x coordinate value.

optional int64 x_max = 3;

Parameter
Name Description
value long

The xMax to set.

Returns
Type Description
Partition.SpatialPartition.Builder

This builder for chaining.

setXMin(long value)

public Partition.SpatialPartition.Builder setXMin(long value)

The minimum x coordinate value.

optional int64 x_min = 1;

Parameter
Name Description
value long

The xMin to set.

Returns
Type Description
Partition.SpatialPartition.Builder

This builder for chaining.

setYMax(long value)

public Partition.SpatialPartition.Builder setYMax(long value)

The maximum y coordinate value.

optional int64 y_max = 4;

Parameter
Name Description
value long

The yMax to set.

Returns
Type Description
Partition.SpatialPartition.Builder

This builder for chaining.

setYMin(long value)

public Partition.SpatialPartition.Builder setYMin(long value)

The minimum y coordinate value.

optional int64 y_min = 2;

Parameter
Name Description
value long

The yMin to set.

Returns
Type Description
Partition.SpatialPartition.Builder

This builder for chaining.