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

    if (java.lang.Float.floatToIntBits(getConfidenceThreshold())
        != java.lang.Float.floatToIntBits(other.getConfidenceThreshold())) return false;
    if (getMaxPredictions() != other.getMaxPredictions()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
At most this many predictions will be returned per output frame.
Value 0 means to return all the detected entities.
</pre>

<code>int32 max_predictions = 2;</code>

@return The maxPredictions.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/VertexAutoMLVisionConfig.java