Class DebugLoggingPlugin.Builder

java.lang.Object
com.google.adk.plugins.DebugLoggingPlugin.Builder
Enclosing class:
DebugLoggingPlugin

public static final class DebugLoggingPlugin.Builder extends Object
Builder for DebugLoggingPlugin.
  • Method Details

    • outputPath

      @CanIgnoreReturnValue public DebugLoggingPlugin.Builder outputPath(Path outputPath)
      Sets the file the YAML documents are appended to; missing parent directories are created.
    • includeSessionState

      @CanIgnoreReturnValue public DebugLoggingPlugin.Builder includeSessionState(boolean includeSessionState)
      Sets whether a session state snapshot is recorded at the end of each invocation.
    • includeSystemInstruction

      @CanIgnoreReturnValue public DebugLoggingPlugin.Builder includeSystemInstruction(boolean includeSystemInstruction)
      Sets whether system instructions are recorded in full, rather than only their presence.
    • name

      @CanIgnoreReturnValue public DebugLoggingPlugin.Builder name(String name)
      Sets the plugin instance name.
    • build

      public DebugLoggingPlugin build()