Class OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder (0.40.0)

public static final class OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder extends GeneratedMessage.Builder<OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder> implements OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder

Bounding Box in the normalized coordinates.

Protobuf type google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

Static Methods

getDescriptor()

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

Methods

build()

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox build()
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox

buildPartial()

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox buildPartial()
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox

clear()

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clear()
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder
Overrides

clearHeight()

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearHeight()

Height of the bounding box.

float height = 4;

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

clearWidth()

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearWidth()

Width of the bounding box.

float width = 3;

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

clearXmin()

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearXmin()

Min in x coordinate.

float xmin = 1;

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

clearYmin()

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearYmin()

Min in y coordinate.

float ymin = 2;

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

getDefaultInstanceForType()

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox getDefaultInstanceForType()
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox

getDescriptorForType()

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

getHeight()

public float getHeight()

Height of the bounding box.

float height = 4;

Returns
Type Description
float

The height.

getWidth()

public float getWidth()

Width of the bounding box.

float width = 3;

Returns
Type Description
float

The width.

getXmin()

public float getXmin()

Min in x coordinate.

float xmin = 1;

Returns
Type Description
float

The xmin.

getYmin()

public float getYmin()

Min in y coordinate.

float ymin = 2;

Returns
Type Description
float

The ymin.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox other)

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeFrom(OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox other)
Parameter
Name Description
other OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder
Overrides

setHeight(float value)

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setHeight(float value)

Height of the bounding box.

float height = 4;

Parameter
Name Description
value float

The height to set.

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

setWidth(float value)

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setWidth(float value)

Width of the bounding box.

float width = 3;

Parameter
Name Description
value float

The width to set.

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

setXmin(float value)

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setXmin(float value)

Min in x coordinate.

float xmin = 1;

Parameter
Name Description
value float

The xmin to set.

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

setYmin(float value)

public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setYmin(float value)

Min in y coordinate.

float ymin = 2;

Parameter
Name Description
value float

The ymin to set.

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.