# Interface PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder (0.50.0)

0.50.0 (latest) 0.48.0 0.45.0 0.44.0 0.42.0 0.40.0 0.39.0 0.37.0 0.35.0 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.27.0 0.25.0 0.24.0 0.21.0 0.20.0 0.19.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public static interface PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getBodyCoverageScore()

    public abstract float getBodyCoverageScore()

Coverage score for body.

`optional float body_coverage_score = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The bodyCoverageScore. |

### getDetectedPersonIdentifiedBox()

    public abstract PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox getDetectedPersonIdentifiedBox()

The info of detected person identified box.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox` | The detectedPersonIdentifiedBox. |

### getDetectedPersonIdentifiedBoxOrBuilder()

    public abstract PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder getDetectedPersonIdentifiedBoxOrBuilder()

The info of detected person identified box.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder` |   |

### getDetectedPpeIdentifiedBoxes(int index)

    public abstract 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox` |   |

### getDetectedPpeIdentifiedBoxesCount()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getDetectedPpeIdentifiedBoxesList()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox>` |   |

### getDetectedPpeIdentifiedBoxesOrBuilder(int index)

    public abstract 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder` |   |

### getDetectedPpeIdentifiedBoxesOrBuilderList()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder>` |   |

### getEyesCoverageScore()

    public abstract float getEyesCoverageScore()

Coverage score for eyes.

`optional float eyes_coverage_score = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The eyesCoverageScore. |

### getFaceCoverageScore()

    public abstract float getFaceCoverageScore()

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

`optional float face_coverage_score = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The faceCoverageScore. |

### getFeetCoverageScore()

    public abstract float getFeetCoverageScore()

Coverage score for feet.

`optional float feet_coverage_score = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The feetCoverageScore. |

### getHandsCoverageScore()

    public abstract float getHandsCoverageScore()

Coverage score for hands.

`optional float hands_coverage_score = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The handsCoverageScore. |

### getHeadCoverageScore()

    public abstract float getHeadCoverageScore()

Coverage score for head.

`optional float head_coverage_score = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The headCoverageScore. |

### getPersonId()

    public abstract long getPersonId()

The id of detected person.

`int64 person_id = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The personId. |

### hasBodyCoverageScore()

    public abstract boolean hasBodyCoverageScore()

Coverage score for body.

`optional float body_coverage_score = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the bodyCoverageScore field is set. |

### hasDetectedPersonIdentifiedBox()

    public abstract boolean hasDetectedPersonIdentifiedBox()

The info of detected person identified box.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the detectedPersonIdentifiedBox field is set. |

### hasEyesCoverageScore()

    public abstract boolean hasEyesCoverageScore()

Coverage score for eyes.

`optional float eyes_coverage_score = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the eyesCoverageScore field is set. |

### hasFaceCoverageScore()

    public abstract boolean hasFaceCoverageScore()

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

`optional float face_coverage_score = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the faceCoverageScore field is set. |

### hasFeetCoverageScore()

    public abstract boolean hasFeetCoverageScore()

Coverage score for feet.

`optional float feet_coverage_score = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the feetCoverageScore field is set. |

### hasHandsCoverageScore()

    public abstract boolean hasHandsCoverageScore()

Coverage score for hands.

`optional float hands_coverage_score = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the handsCoverageScore field is set. |

### hasHeadCoverageScore()

    public abstract boolean hasHeadCoverageScore()

Coverage score for head.

`optional float head_coverage_score = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the headCoverageScore field is set. |