Class PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder (0.11.0)

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

Bounding Box in the normalized coordinates.

Protobuf type google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox build()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox

buildPartial()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox buildPartial()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox

clear()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder clear()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearHeight()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder clearHeight()

Height of the bounding box.

float height = 4;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWidth()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder clearWidth()

Width of the bounding box.

float width = 3;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder

This builder for chaining.

clearXmin()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder clearXmin()

Min in x coordinate.

float xmin = 1;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder

This builder for chaining.

clearYmin()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder clearYmin()

Min in y coordinate.

float ymin = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder

This builder for chaining.

clone()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder clone()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder
Overrides

getDefaultInstanceForType()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox getDefaultInstanceForType()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.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(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHeight(float value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWidth(float value)

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

This builder for chaining.

setXmin(float value)

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder setXmin(float value)

Min in x coordinate.

float xmin = 1;

Parameter
Name Description
value float

The xmin to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder

This builder for chaining.

setYmin(float value)

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder setYmin(float value)

Min in y coordinate.

float ymin = 2;

Parameter
Name Description
value float

The ymin to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder

This builder for chaining.