private void buildPartialRepeatedFields(
            com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.CrossingLineCount
                result) {
          if (positiveDirectionCountsBuilder_ == null) {
            if (((bitField0_ & 0x00000002) != 0)) {
              positiveDirectionCounts_ =
                  java.util.Collections.unmodifiableList(positiveDirectionCounts_);
              bitField0_ = (bitField0_ & ~0x00000002);
            }
            result.positiveDirectionCounts_ = positiveDirectionCounts_;
          } else {
            result.positiveDirectionCounts_ = positiveDirectionCountsBuilder_.build();
          }
          if (negativeDirectionCountsBuilder_ == null) {
            if (((bitField0_ & 0x00000004) != 0)) {
              negativeDirectionCounts_ =
                  java.util.Collections.unmodifiableList(negativeDirectionCounts_);
              bitField0_ = (bitField0_ & ~0x00000004);
            }
            result.negativeDirectionCounts_ = negativeDirectionCounts_;
          } else {
            result.negativeDirectionCounts_ = negativeDirectionCountsBuilder_.build();
          }
          if (accumulatedPositiveDirectionCountsBuilder_ == null) {
            if (((bitField0_ & 0x00000008) != 0)) {
              accumulatedPositiveDirectionCounts_ =
                  java.util.Collections.unmodifiableList(accumulatedPositiveDirectionCounts_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.accumulatedPositiveDirectionCounts_ = accumulatedPositiveDirectionCounts_;
          } else {
            result.accumulatedPositiveDirectionCounts_ =
                accumulatedPositiveDirectionCountsBuilder_.build();
          }
          if (accumulatedNegativeDirectionCountsBuilder_ == null) {
            if (((bitField0_ & 0x00000010) != 0)) {
              accumulatedNegativeDirectionCounts_ =
                  java.util.Collections.unmodifiableList(accumulatedNegativeDirectionCounts_);
              bitField0_ = (bitField0_ & ~0x00000010);
            }
            result.accumulatedNegativeDirectionCounts_ = accumulatedNegativeDirectionCounts_;
          } else {
            result.accumulatedNegativeDirectionCounts_ =
                accumulatedNegativeDirectionCountsBuilder_.build();
          }
        }
<pre>
Message for Crossing line count.
</pre>

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