Class ResumabilityConfig
java.lang.Object
com.google.adk.apps.ResumabilityConfig
Deprecated.
App resumability config, mirroring Python ADK v1's
ResumabilityConfig: pause on a
long-running call and resume from the last event. Applies to all agents in the app.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResumabilityConfig.Builderbuilder()Deprecated.abstract booleanDeprecated.Back-compat shim for callers that deliver a resume as a plain-text turn.abstract booleanDeprecated.Whether the app supports agent resumption.
-
Constructor Details
-
ResumabilityConfig
public ResumabilityConfig()Deprecated.
-
-
Method Details
-
isResumable
public abstract boolean isResumable()Deprecated.Whether the app supports agent resumption. -
isPlainTextContinuationAutoResume
Deprecated.Back-compat shim for callers that deliver a resume as a plain-text turn. Migrate toRunner.runAsync(userId, sessionId, invocationId, message, runConfig, stateDelta)(or send a function response to the paused call) and stop setting this flag; it will be removed.Whether a plain-textrunAsynccontinuation -- a user message that is not a function response -- resumes the last unfinished invocation instead of starting a new one. Off by default, matching Python ADK, where a plain-textrunAsyncalways starts a new invocation and a paused invocation is resumed explicitly. -
builder
Deprecated.
-
SequentialAgentis implemented. Full session resumability (persisted agent state, durable resume, other workflow agents) is not yet available. Forward-compatible: the same config will drive full resumability once it lands.