allowed Function Names
public abstract FunctionCallingConfig.Builder allowedFunctionNames(List<String> allowedFunctionNames)
@CanIgnoreReturnValue()
Setter for allowedFunctionNames.
allowedFunctionNames: Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.