public Builder removeDetectedPersons(int index) {
      if (detectedPersonsBuilder_ == null) {
        ensureDetectedPersonsIsMutable();
        detectedPersons_.remove(index);
        onChanged();
      } else {
        detectedPersonsBuilder_.remove(index);
      }
      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