public Builder mergeFrom(com.google.cloud.visionai.v1.ClassificationPredictionResult other) {
      if (other == com.google.cloud.visionai.v1.ClassificationPredictionResult.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();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Prediction output format for Image and Text Classification.
</pre>

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