public Builder mergeFrom(
        com.google.cloud.visionai.v1.ImageObjectDetectionPredictionResult other) {
      if (other
          == com.google.cloud.visionai.v1.ImageObjectDetectionPredictionResult.getDefaultInstance())
        return this;
      if (!other.ids_.isEmpty()) {
        if (ids_.isEmpty()) {
          ids_ = other.ids_;
          ids_.makeImmutable();
          bitField0_ |= 0x00000001;
        } else {
          ensureIdsIsMutable();
          ids_.addAll(other.ids_);
        }
        onChanged();
      }
      if (!other.displayNames_.isEmpty()) {
        if (displayNames_.isEmpty()) {
          displayNames_ = other.displayNames_;
          bitField0_ |= 0x00000002;
        } else {
          ensureDisplayNamesIsMutable();
          displayNames_.addAll(other.displayNames_);
        }
        onChanged();
      }
      if (!other.confidences_.isEmpty()) {
        if (confidences_.isEmpty()) {
          confidences_ = other.confidences_;
          confidences_.makeImmutable();
          bitField0_ |= 0x00000004;
        } else {
          ensureConfidencesIsMutable();
          confidences_.addAll(other.confidences_);
        }
        onChanged();
      }
      if (bboxesBuilder_ == null) {
        if (!other.bboxes_.isEmpty()) {
          if (bboxes_.isEmpty()) {
            bboxes_ = other.bboxes_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureBboxesIsMutable();
            bboxes_.addAll(other.bboxes_);
          }
          onChanged();
        }
      } else {
        if (!other.bboxes_.isEmpty()) {
          if (bboxesBuilder_.isEmpty()) {
            bboxesBuilder_.dispose();
            bboxesBuilder_ = null;
            bboxes_ = other.bboxes_;
            bitField0_ = (bitField0_ & ~0x00000008);
            bboxesBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getBboxesFieldBuilder()
                    : null;
          } else {
            bboxesBuilder_.addAllMessages(other.bboxes_);
          }
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Prediction output format for Image Object Detection.
</pre>

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