# Class ToolRecording.Builder

java.lang.Object
com.google.adk.plugins.recordings.ToolRecording.Builder

Enclosing class:
  `ToolRecording`

public abstract static class ToolRecording.Builder extends Object
Builder for ToolRecording.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract ToolRecording`
  `build()`
  `abstract ToolRecording.Builder`
  `toolCall(com.google.genai.types.FunctionCall toolCall)`
  `abstract ToolRecording.Builder`
  `toolResponse(com.google.genai.types.FunctionResponse toolResponse)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### toolCall

    public abstract ToolRecording.Builder toolCall(@Nullable com.google.genai.types.FunctionCall toolCall)

  - ### toolResponse

    public abstract ToolRecording.Builder toolResponse(@Nullable com.google.genai.types.FunctionResponse toolResponse)

  - ### build

    public abstract ToolRecording build()