Class PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder (0.2.0)

public static final class PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder extends GeneratedMessageV3.Builder<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder> implements PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder

Detected Person contains the detected person and their associated ppes and their protecting information.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addAllDetectedPpeIdentifiedBoxes(Iterable<? extends PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox> values)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder addAllDetectedPpeIdentifiedBoxes(Iterable<? extends PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox> values)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox>
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

addDetectedPpeIdentifiedBoxes(PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder addDetectedPpeIdentifiedBoxes(PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox value)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameter
Name Description
value PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

addDetectedPpeIdentifiedBoxes(PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder builderForValue)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder addDetectedPpeIdentifiedBoxes(PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder builderForValue)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameter
Name Description
builderForValue PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

addDetectedPpeIdentifiedBoxes(int index, PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder addDetectedPpeIdentifiedBoxes(int index, PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox value)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameters
Name Description
index int
value PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

addDetectedPpeIdentifiedBoxes(int index, PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder builderForValue)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder addDetectedPpeIdentifiedBoxes(int index, PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder builderForValue)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameters
Name Description
index int
builderForValue PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

addDetectedPpeIdentifiedBoxesBuilder()

public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder addDetectedPpeIdentifiedBoxesBuilder()

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder

addDetectedPpeIdentifiedBoxesBuilder(int index)

public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder addDetectedPpeIdentifiedBoxesBuilder(int index)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameter
Name Description
index int
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearBodyCoverageScore()

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder clearBodyCoverageScore()

Coverage score for body.

optional float body_coverage_score = 8;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

clearDetectedPersonIdentifiedBox()

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder clearDetectedPersonIdentifiedBox()

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

clearDetectedPpeIdentifiedBoxes()

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder clearDetectedPpeIdentifiedBoxes()

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

clearEyesCoverageScore()

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder clearEyesCoverageScore()

Coverage score for eyes.

optional float eyes_coverage_score = 5;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

clearFaceCoverageScore()

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder clearFaceCoverageScore()

Coverage score for each body part. Coverage score for face.

optional float face_coverage_score = 4;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

clearFeetCoverageScore()

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder clearFeetCoverageScore()

Coverage score for feet.

optional float feet_coverage_score = 9;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHandsCoverageScore()

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder clearHandsCoverageScore()

Coverage score for hands.

optional float hands_coverage_score = 7;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

clearHeadCoverageScore()

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder clearHeadCoverageScore()

Coverage score for head.

optional float head_coverage_score = 6;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPersonId()

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder clearPersonId()

The id of detected person.

int64 person_id = 1;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

clone()

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

getBodyCoverageScore()

public float getBodyCoverageScore()

Coverage score for body.

optional float body_coverage_score = 8;

Returns
Type Description
float

The bodyCoverageScore.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getDetectedPersonIdentifiedBox()

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox getDetectedPersonIdentifiedBox()

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox

The detectedPersonIdentifiedBox.

getDetectedPersonIdentifiedBoxBuilder()

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder getDetectedPersonIdentifiedBoxBuilder()

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder

getDetectedPersonIdentifiedBoxOrBuilder()

public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder getDetectedPersonIdentifiedBoxOrBuilder()

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder

getDetectedPpeIdentifiedBoxes(int index)

public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox getDetectedPpeIdentifiedBoxes(int index)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameter
Name Description
index int
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox

getDetectedPpeIdentifiedBoxesBuilder(int index)

public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder getDetectedPpeIdentifiedBoxesBuilder(int index)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameter
Name Description
index int
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder

getDetectedPpeIdentifiedBoxesBuilderList()

public List<PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder> getDetectedPpeIdentifiedBoxesBuilderList()

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Returns
Type Description
List<Builder>

getDetectedPpeIdentifiedBoxesCount()

public int getDetectedPpeIdentifiedBoxesCount()

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Returns
Type Description
int

getDetectedPpeIdentifiedBoxesList()

public List<PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox> getDetectedPpeIdentifiedBoxesList()

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Returns
Type Description
List<PPEIdentifiedBox>

getDetectedPpeIdentifiedBoxesOrBuilder(int index)

public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder getDetectedPpeIdentifiedBoxesOrBuilder(int index)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameter
Name Description
index int
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder

getDetectedPpeIdentifiedBoxesOrBuilderList()

public List<? extends PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder> getDetectedPpeIdentifiedBoxesOrBuilderList()

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder>

getEyesCoverageScore()

public float getEyesCoverageScore()

Coverage score for eyes.

optional float eyes_coverage_score = 5;

Returns
Type Description
float

The eyesCoverageScore.

getFaceCoverageScore()

public float getFaceCoverageScore()

Coverage score for each body part. Coverage score for face.

optional float face_coverage_score = 4;

Returns
Type Description
float

The faceCoverageScore.

getFeetCoverageScore()

public float getFeetCoverageScore()

Coverage score for feet.

optional float feet_coverage_score = 9;

Returns
Type Description
float

The feetCoverageScore.

getHandsCoverageScore()

public float getHandsCoverageScore()

Coverage score for hands.

optional float hands_coverage_score = 7;

Returns
Type Description
float

The handsCoverageScore.

getHeadCoverageScore()

public float getHeadCoverageScore()

Coverage score for head.

optional float head_coverage_score = 6;

Returns
Type Description
float

The headCoverageScore.

getPersonId()

public long getPersonId()

The id of detected person.

int64 person_id = 1;

Returns
Type Description
long

The personId.

hasBodyCoverageScore()

public boolean hasBodyCoverageScore()

Coverage score for body.

optional float body_coverage_score = 8;

Returns
Type Description
boolean

Whether the bodyCoverageScore field is set.

hasDetectedPersonIdentifiedBox()

public boolean hasDetectedPersonIdentifiedBox()

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

Returns
Type Description
boolean

Whether the detectedPersonIdentifiedBox field is set.

hasEyesCoverageScore()

public boolean hasEyesCoverageScore()

Coverage score for eyes.

optional float eyes_coverage_score = 5;

Returns
Type Description
boolean

Whether the eyesCoverageScore field is set.

hasFaceCoverageScore()

public boolean hasFaceCoverageScore()

Coverage score for each body part. Coverage score for face.

optional float face_coverage_score = 4;

Returns
Type Description
boolean

Whether the faceCoverageScore field is set.

hasFeetCoverageScore()

public boolean hasFeetCoverageScore()

Coverage score for feet.

optional float feet_coverage_score = 9;

Returns
Type Description
boolean

Whether the feetCoverageScore field is set.

hasHandsCoverageScore()

public boolean hasHandsCoverageScore()

Coverage score for hands.

optional float hands_coverage_score = 7;

Returns
Type Description
boolean

Whether the handsCoverageScore field is set.

hasHeadCoverageScore()

public boolean hasHeadCoverageScore()

Coverage score for head.

optional float head_coverage_score = 6;

Returns
Type Description
boolean

Whether the headCoverageScore field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDetectedPersonIdentifiedBox(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder mergeDetectedPersonIdentifiedBox(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox value)

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

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

mergeFrom(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDetectedPpeIdentifiedBoxes(int index)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder removeDetectedPpeIdentifiedBoxes(int index)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameter
Name Description
index int
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

setBodyCoverageScore(float value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setBodyCoverageScore(float value)

Coverage score for body.

optional float body_coverage_score = 8;

Parameter
Name Description
value float

The bodyCoverageScore to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

setDetectedPersonIdentifiedBox(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setDetectedPersonIdentifiedBox(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox value)

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

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

setDetectedPersonIdentifiedBox(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder builderForValue)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setDetectedPersonIdentifiedBox(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder builderForValue)

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

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

setDetectedPpeIdentifiedBoxes(int index, PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setDetectedPpeIdentifiedBoxes(int index, PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox value)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameters
Name Description
index int
value PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

setDetectedPpeIdentifiedBoxes(int index, PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder builderForValue)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setDetectedPpeIdentifiedBoxes(int index, PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder builderForValue)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameters
Name Description
index int
builderForValue PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

setEyesCoverageScore(float value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setEyesCoverageScore(float value)

Coverage score for eyes.

optional float eyes_coverage_score = 5;

Parameter
Name Description
value float

The eyesCoverageScore to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

setFaceCoverageScore(float value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setFaceCoverageScore(float value)

Coverage score for each body part. Coverage score for face.

optional float face_coverage_score = 4;

Parameter
Name Description
value float

The faceCoverageScore to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

setFeetCoverageScore(float value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setFeetCoverageScore(float value)

Coverage score for feet.

optional float feet_coverage_score = 9;

Parameter
Name Description
value float

The feetCoverageScore to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHandsCoverageScore(float value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setHandsCoverageScore(float value)

Coverage score for hands.

optional float hands_coverage_score = 7;

Parameter
Name Description
value float

The handsCoverageScore to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

setHeadCoverageScore(float value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setHeadCoverageScore(float value)

Coverage score for head.

optional float head_coverage_score = 6;

Parameter
Name Description
value float

The headCoverageScore to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

setPersonId(long value)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder setPersonId(long value)

The id of detected person.

int64 person_id = 1;

Parameter
Name Description
value long

The personId to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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