# Class Recording

java.lang.Object
com.google.adk.plugins.recordings.Recording

public abstract class Recording extends Object
Single interaction recording, ordered by request timestamp.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `Recording.Builder`
  Builder for Recording.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Recording()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract String`
  `agentName()`
  Name of the agent.
  `static Recording.Builder`
  `builder()`
  `abstract Optional<LlmRecording>`
  `llmRecording()`
  LLM request-response pair.
  `abstract Optional<ToolRecording>`
  `toolRecording()`
  Tool call-response pair.
  `abstract int`
  `userMessageIndex()`
  Index of the user message this recording belongs to (0-based).

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### Recording

    public Recording()

- ## Method Details

  - ### userMessageIndex

    public abstract int userMessageIndex()
    Index of the user message this recording belongs to (0-based).

  - ### agentName

    public abstract String agentName()
    Name of the agent.

  - ### llmRecording

    public abstract Optional<LlmRecording> llmRecording()
    LLM request-response pair.

  - ### toolRecording

    public abstract Optional<ToolRecording> toolRecording()
    Tool call-response pair.

  - ### builder

    public static Recording.Builder builder()