public Builder addDetectedPersons(
        int index,
        com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson
                .Builder
            builderForValue) {
      if (detectedPersonsBuilder_ == null) {
        ensureDetectedPersonsIsMutable();
        detectedPersons_.add(index, builderForValue.build());
        onChanged();
      } else {
        detectedPersonsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
<pre>
A list of DetectedPersons.
</pre>

<code>
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/PersonalProtectiveEquipmentDetectionOutput.java