public Builder mergeFrom(
            com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.CrossingLineCount
                other) {
          if (other
              == com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats
                  .CrossingLineCount.getDefaultInstance()) return this;
          if (other.hasAnnotation()) {
            mergeAnnotation(other.getAnnotation());
          }
          if (positiveDirectionCountsBuilder_ == null) {
            if (!other.positiveDirectionCounts_.isEmpty()) {
              if (positiveDirectionCounts_.isEmpty()) {
                positiveDirectionCounts_ = other.positiveDirectionCounts_;
                bitField0_ = (bitField0_ & ~0x00000002);
              } else {
                ensurePositiveDirectionCountsIsMutable();
                positiveDirectionCounts_.addAll(other.positiveDirectionCounts_);
              }
              onChanged();
            }
          } else {
            if (!other.positiveDirectionCounts_.isEmpty()) {
              if (positiveDirectionCountsBuilder_.isEmpty()) {
                positiveDirectionCountsBuilder_.dispose();
                positiveDirectionCountsBuilder_ = null;
                positiveDirectionCounts_ = other.positiveDirectionCounts_;
                bitField0_ = (bitField0_ & ~0x00000002);
                positiveDirectionCountsBuilder_ =
                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                        ? getPositiveDirectionCountsFieldBuilder()
                        : null;
              } else {
                positiveDirectionCountsBuilder_.addAllMessages(other.positiveDirectionCounts_);
              }
            }
          }
          if (negativeDirectionCountsBuilder_ == null) {
            if (!other.negativeDirectionCounts_.isEmpty()) {
              if (negativeDirectionCounts_.isEmpty()) {
                negativeDirectionCounts_ = other.negativeDirectionCounts_;
                bitField0_ = (bitField0_ & ~0x00000004);
              } else {
                ensureNegativeDirectionCountsIsMutable();
                negativeDirectionCounts_.addAll(other.negativeDirectionCounts_);
              }
              onChanged();
            }
          } else {
            if (!other.negativeDirectionCounts_.isEmpty()) {
              if (negativeDirectionCountsBuilder_.isEmpty()) {
                negativeDirectionCountsBuilder_.dispose();
                negativeDirectionCountsBuilder_ = null;
                negativeDirectionCounts_ = other.negativeDirectionCounts_;
                bitField0_ = (bitField0_ & ~0x00000004);
                negativeDirectionCountsBuilder_ =
                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                        ? getNegativeDirectionCountsFieldBuilder()
                        : null;
              } else {
                negativeDirectionCountsBuilder_.addAllMessages(other.negativeDirectionCounts_);
              }
            }
          }
          if (accumulatedPositiveDirectionCountsBuilder_ == null) {
            if (!other.accumulatedPositiveDirectionCounts_.isEmpty()) {
              if (accumulatedPositiveDirectionCounts_.isEmpty()) {
                accumulatedPositiveDirectionCounts_ = other.accumulatedPositiveDirectionCounts_;
                bitField0_ = (bitField0_ & ~0x00000008);
              } else {
                ensureAccumulatedPositiveDirectionCountsIsMutable();
                accumulatedPositiveDirectionCounts_.addAll(
                    other.accumulatedPositiveDirectionCounts_);
              }
              onChanged();
            }
          } else {
            if (!other.accumulatedPositiveDirectionCounts_.isEmpty()) {
              if (accumulatedPositiveDirectionCountsBuilder_.isEmpty()) {
                accumulatedPositiveDirectionCountsBuilder_.dispose();
                accumulatedPositiveDirectionCountsBuilder_ = null;
                accumulatedPositiveDirectionCounts_ = other.accumulatedPositiveDirectionCounts_;
                bitField0_ = (bitField0_ & ~0x00000008);
                accumulatedPositiveDirectionCountsBuilder_ =
                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                        ? getAccumulatedPositiveDirectionCountsFieldBuilder()
                        : null;
              } else {
                accumulatedPositiveDirectionCountsBuilder_.addAllMessages(
                    other.accumulatedPositiveDirectionCounts_);
              }
            }
          }
          if (accumulatedNegativeDirectionCountsBuilder_ == null) {
            if (!other.accumulatedNegativeDirectionCounts_.isEmpty()) {
              if (accumulatedNegativeDirectionCounts_.isEmpty()) {
                accumulatedNegativeDirectionCounts_ = other.accumulatedNegativeDirectionCounts_;
                bitField0_ = (bitField0_ & ~0x00000010);
              } else {
                ensureAccumulatedNegativeDirectionCountsIsMutable();
                accumulatedNegativeDirectionCounts_.addAll(
                    other.accumulatedNegativeDirectionCounts_);
              }
              onChanged();
            }
          } else {
            if (!other.accumulatedNegativeDirectionCounts_.isEmpty()) {
              if (accumulatedNegativeDirectionCountsBuilder_.isEmpty()) {
                accumulatedNegativeDirectionCountsBuilder_.dispose();
                accumulatedNegativeDirectionCountsBuilder_ = null;
                accumulatedNegativeDirectionCounts_ = other.accumulatedNegativeDirectionCounts_;
                bitField0_ = (bitField0_ & ~0x00000010);
                accumulatedNegativeDirectionCountsBuilder_ =
                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                        ? getAccumulatedNegativeDirectionCountsFieldBuilder()
                        : null;
              } else {
                accumulatedNegativeDirectionCountsBuilder_.addAllMessages(
                    other.accumulatedNegativeDirectionCounts_);
              }
            }
          }
          this.mergeUnknownFields(other.getUnknownFields());
          onChanged();
          return this;
        }
<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