Class ResumabilityConfig

java.lang.Object
com.google.adk.apps.ResumabilityConfig

@Deprecated public abstract class ResumabilityConfig extends Object
Deprecated.
Partial feature: only event-reconstruction-based pause/resume for SequentialAgent is 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.
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.
  • Constructor Details

    • ResumabilityConfig

      public ResumabilityConfig()
      Deprecated.
  • Method Details

    • isResumable

      public abstract boolean isResumable()
      Deprecated.
      Whether the app supports agent resumption.
    • isPlainTextContinuationAutoResume

      @Deprecated public abstract boolean isPlainTextContinuationAutoResume()
      Deprecated.
      Back-compat shim for callers that deliver a resume as a plain-text turn. Migrate to Runner.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-text runAsync continuation -- 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-text runAsync always starts a new invocation and a paused invocation is resumed explicitly.
    • builder

      public static ResumabilityConfig.Builder builder()
      Deprecated.