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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox build()
buildPartial()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox buildPartial()
clear()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clear()
Overrides
clearBoxId()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearBoxId()
An unique id for this box.
int64 box_id = 1;
clearConfidenceScore()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearConfidenceScore()
Confidence score associated with this box.
float confidence_score = 3;
clearField(Descriptors.FieldDescriptor field)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNormalizedBoundingBox()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearNormalizedBoundingBox()
Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPersonEntity()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearPersonEntity()
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;
clone()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNormalizedBoundingBox()
public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox getNormalizedBoundingBox()
Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;
getNormalizedBoundingBoxBuilder()
public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder()
Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;
getNormalizedBoundingBoxOrBuilder()
public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()
Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;
getPersonEntity()
public PersonalProtectiveEquipmentDetectionOutput.PersonEntity getPersonEntity()
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;
getPersonEntityBuilder()
public PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder getPersonEntityBuilder()
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;
getPersonEntityOrBuilder()
public PersonalProtectiveEquipmentDetectionOutput.PersonEntityOrBuilder getPersonEntityOrBuilder()
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox other)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder mergeFrom(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox other)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
mergePersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity value)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder mergePersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity value)
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setPersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity value)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setPersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity value)
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides