public static final class PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder extends GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder> implements PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilderPersonIdentified box contains the location and the entity info of the person.
Protobuf type
google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
clearPersonEntity()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearPersonEntity()Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder |
|
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
setBoxId(long value)
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setBoxId(long value)An unique id for this box.
int64 box_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe 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 |
floatThe confidenceScore to set. |
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder |
This builder for chaining. |
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 |
|