Class ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder (0.1.0)

public static final class ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder extends GeneratedMessageV3.Builder<ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder> implements ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder

Bounding Box in the normalized coordinates.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder
Overrides

clearHeight()

public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearHeight()

Height of the bounding box.

float height = 4;

Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder
Overrides

clearWidth()

public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearWidth()

Width of the bounding box.

float width = 3;

Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

clearXmin()

public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearXmin()

Min in x coordinate.

float xmin = 1;

Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

clearYmin()

public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearYmin()

Min in y coordinate.

float ymin = 2;

Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

clone()

public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clone()
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder
Overrides

getDefaultInstanceForType()

public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox getDefaultInstanceForType()
Returns
Type Description
ObjectDetectionPredictionResult.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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder
Overrides

setHeight(float value)

public ObjectDetectionPredictionResult.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
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder
Overrides

setWidth(float value)

public ObjectDetectionPredictionResult.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
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

setXmin(float value)

public ObjectDetectionPredictionResult.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
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.

setYmin(float value)

public ObjectDetectionPredictionResult.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
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder

This builder for chaining.