Class LiveServerGoAway.Builder

java.lang.Object
com.google.genai.types.LiveServerGoAway.Builder
Enclosing class:
LiveServerGoAway

public abstract static class LiveServerGoAway.Builder extends Object
Builder for LiveServerGoAway.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • timeLeft

      public abstract LiveServerGoAway.Builder timeLeft(Duration timeLeft)
      Setter for timeLeft.

      timeLeft: The remaining time before the connection will be terminated as ABORTED. The minimal time returned here is specified differently together with the rate limits for a given model.

    • build

      public abstract LiveServerGoAway build()