@java.lang.Override
    public int getMaxPredictions() {
      return maxPredictions_;
    }
<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