# Class LlmRecording

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

public abstract class LlmRecording extends Object
Paired LLM request and response for replay.

- ## Nested Class Summary

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LlmRecording()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static LlmRecording.Builder`
  `builder()`
  `abstract Optional<LlmRequest>`
  `llmRequest()`
  The LLM request.
  `abstract Optional<List<LlmResponse>>`
  `llmResponses()`
  The LLM responses.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### LlmRecording

    public LlmRecording()

- ## Method Details

  - ### llmRequest

    public abstract Optional<LlmRequest> llmRequest()
    The LLM request.

  - ### llmResponses

    public abstract Optional<List<LlmResponse>> llmResponses()
    The LLM responses.

  - ### builder

    public static LlmRecording.Builder builder()