Package com.google.adk.plugins
Class DebugLoggingPlugin.Builder
java.lang.Object
com.google.adk.plugins.DebugLoggingPlugin.Builder
- Enclosing class:
- DebugLoggingPlugin
Builder for
DebugLoggingPlugin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()includeSessionState(boolean includeSessionState) Sets whether a session state snapshot is recorded at the end of each invocation.includeSystemInstruction(boolean includeSystemInstruction) Sets whether system instructions are recorded in full, rather than only their presence.Sets the plugin instance name.outputPath(Path outputPath) Sets the file the YAML documents are appended to; missing parent directories are created.
-
Method Details
-
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
Sets the plugin instance name. -
build
-