public int getMaxFunctionCalls() {
    return maxFunctionCalls;
  }
Gets the maximum number of function calls to make in a row.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/generativeai/AutomaticFunctionCallingResponder.java