public static final class PersonalProtectiveEquipmentDetectionOutput.DetectedPerson extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BODY_COVERAGE_SCORE_FIELD_NUMBER
public static final int BODY_COVERAGE_SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DETECTED_PERSON_IDENTIFIED_BOX_FIELD_NUMBER
public static final int DETECTED_PERSON_IDENTIFIED_BOX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DETECTED_PPE_IDENTIFIED_BOXES_FIELD_NUMBER
public static final int DETECTED_PPE_IDENTIFIED_BOXES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EYES_COVERAGE_SCORE_FIELD_NUMBER
public static final int EYES_COVERAGE_SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FACE_COVERAGE_SCORE_FIELD_NUMBER
public static final int FACE_COVERAGE_SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FEET_COVERAGE_SCORE_FIELD_NUMBER
public static final int FEET_COVERAGE_SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HANDS_COVERAGE_SCORE_FIELD_NUMBER
public static final int HANDS_COVERAGE_SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HEAD_COVERAGE_SCORE_FIELD_NUMBER
public static final int HEAD_COVERAGE_SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PERSON_ID_FIELD_NUMBER
public static final int PERSON_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder newBuilder()
newBuilder(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson prototype)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder newBuilder(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson prototype)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseDelimitedFrom(InputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(CodedInputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(InputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getDetectedPersonIdentifiedBox()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox getDetectedPersonIdentifiedBox()
The info of detected person identified box.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;
getDetectedPersonIdentifiedBoxOrBuilder()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder getDetectedPersonIdentifiedBoxOrBuilder()
The info of detected person identified box.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;
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
|
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;
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
|
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.
|
getParserForType()
public Parser<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson> getParserForType()
Overrides
getPersonId()
public long getPersonId()
The id of detected person.
int64 person_id = 1;
Returns |
Type |
Description |
long |
The personId.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides