Builder

public abstract class Builder

Builder for FunctionCallingConfig.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
@CanIgnoreReturnValue()
public FunctionCallingConfig.Builder allowedFunctionNames(Array<String> allowedFunctionNames)
public abstract FunctionCallingConfig.Builder allowedFunctionNames(List<String> allowedFunctionNames)
Setter for allowedFunctionNames.
Link copied to clipboard
public abstract FunctionCallingConfig build()
Link copied to clipboard
Clears the value of allowedFunctionNames field.
Link copied to clipboard
@CanIgnoreReturnValue()
public FunctionCallingConfig.Builder clearMode()
Clears the value of mode field.
Link copied to clipboard
Clears the value of streamFunctionCallArguments field.
Link copied to clipboard
Setter for mode.
@CanIgnoreReturnValue()
public FunctionCallingConfig.Builder mode(FunctionCallingConfigMode.Known knownType)
Setter for mode given a known enum.
@CanIgnoreReturnValue()
public FunctionCallingConfig.Builder mode(String mode)
Setter for mode given a string.
Link copied to clipboard
public abstract FunctionCallingConfig.Builder streamFunctionCallArguments(boolean streamFunctionCallArguments)
Setter for streamFunctionCallArguments.