void resetRemainingFunctionCalls() {
    this.remainingFunctionCalls = this.maxFunctionCalls;
  }
Resets the remaining function calls to the maximum number of function calls.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/generativeai/AutomaticFunctionCallingResponder.java