@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.visionai.v1.ClassificationPredictionResult)) {
      return super.equals(obj);
    }
    com.google.cloud.visionai.v1.ClassificationPredictionResult other =
        (com.google.cloud.visionai.v1.ClassificationPredictionResult) obj;

    if (!getIdsList().equals(other.getIdsList())) return false;
    if (!getDisplayNamesList().equals(other.getDisplayNamesList())) return false;
    if (!getConfidencesList().equals(other.getConfidencesList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The Model's confidences in correctness of the predicted IDs, higher value
means higher confidence. Order matches the Ids.
</pre>

<code>repeated float confidences = 3;</code>

@param index The index of the element to return.
@return The confidences at the given index.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ClassificationPredictionResult.java