private void buildPartialRepeatedFields(
        com.google.cloud.visionai.v1.OccupancyCountingPredictionResult result) {
      if (identifiedBoxesBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          identifiedBoxes_ = java.util.Collections.unmodifiableList(identifiedBoxes_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.identifiedBoxes_ = identifiedBoxes_;
      } else {
        result.identifiedBoxes_ = identifiedBoxesBuilder_.build();
      }
      if (trackInfoBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)) {
          trackInfo_ = java.util.Collections.unmodifiableList(trackInfo_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.trackInfo_ = trackInfo_;
      } else {
        result.trackInfo_ = trackInfoBuilder_.build();
      }
      if (dwellTimeInfoBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0)) {
          dwellTimeInfo_ = java.util.Collections.unmodifiableList(dwellTimeInfo_);
          bitField0_ = (bitField0_ & ~0x00000010);
        }
        result.dwellTimeInfo_ = dwellTimeInfo_;
      } else {
        result.dwellTimeInfo_ = dwellTimeInfoBuilder_.build();
      }
    }
<pre>
The prediction result proto for occupancy counting.
</pre>

Protobuf type {@code google.cloud.visionai.v1.OccupancyCountingPredictionResult}
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/OccupancyCountingPredictionResult.java