Class PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder (0.2.0)

public static final class PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder extends GeneratedMessageV3.Builder<PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder> implements PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder

PersonIdentified box contains the location and the entity info of the person.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearBoxId()

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearBoxId()

An unique id for this box.

int64 box_id = 1;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

This builder for chaining.

clearConfidenceScore()

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearConfidenceScore()

Confidence score associated with this box.

float confidence_score = 3;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearNormalizedBoundingBox()

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearNormalizedBoundingBox()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPersonEntity()

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearPersonEntity()

Person entity info.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

clone()

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

getBoxId()

public long getBoxId()

An unique id for this box.

int64 box_id = 1;

Returns
Type Description
long

The boxId.

getConfidenceScore()

public float getConfidenceScore()

Confidence score associated with this box.

float confidence_score = 3;

Returns
Type Description
float

The confidenceScore.

getDefaultInstanceForType()

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox getDefaultInstanceForType()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox

getDescriptorForType()

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

getNormalizedBoundingBox()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox getNormalizedBoundingBox()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox

The normalizedBoundingBox.

getNormalizedBoundingBoxBuilder()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder

getNormalizedBoundingBoxOrBuilder()

public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBoxOrBuilder

getPersonEntity()

public PersonalProtectiveEquipmentDetectionOutput.PersonEntity getPersonEntity()

Person entity info.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonEntity

The personEntity.

getPersonEntityBuilder()

public PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder getPersonEntityBuilder()

Person entity info.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder

getPersonEntityOrBuilder()

public PersonalProtectiveEquipmentDetectionOutput.PersonEntityOrBuilder getPersonEntityOrBuilder()

Person entity info.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonEntityOrBuilder

hasNormalizedBoundingBox()

public boolean hasNormalizedBoundingBox()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
boolean

Whether the normalizedBoundingBox field is set.

hasPersonEntity()

public boolean hasPersonEntity()

Person entity info.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;

Returns
Type Description
boolean

Whether the personEntity field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox value)

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder mergeNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox value)

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;

Parameter
Name Description
value PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

mergePersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity value)

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder mergePersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity value)

Person entity info.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;

Parameter
Name Description
value PersonalProtectiveEquipmentDetectionOutput.PersonEntity
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBoxId(long value)

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setBoxId(long value)

An unique id for this box.

int64 box_id = 1;

Parameter
Name Description
value long

The boxId to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

This builder for chaining.

setConfidenceScore(float value)

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setConfidenceScore(float value)

Confidence score associated with this box.

float confidence_score = 3;

Parameter
Name Description
value float

The confidenceScore to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox value)

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox value)

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;

Parameter
Name Description
value PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

setNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder builderForValue)

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder builderForValue)

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;

Parameter
Name Description
builderForValue PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

setPersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity value)

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setPersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity value)

Person entity info.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;

Parameter
Name Description
value PersonalProtectiveEquipmentDetectionOutput.PersonEntity
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

setPersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder builderForValue)

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setPersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder builderForValue)

Person entity info.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;

Parameter
Name Description
builderForValue PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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