Package com.google.genai.types
Class LiveServerGoAway
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.LiveServerGoAway
Server will not be able to service client soon.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for LiveServerGoAway. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LiveServerGoAway.Builder
builder()
Instantiates a builder for LiveServerGoAway.static LiveServerGoAway
Deserializes a JSON string to a LiveServerGoAway object.timeLeft()
The remaining time before the connection will be terminated as ABORTED.abstract LiveServerGoAway.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
LiveServerGoAway
public LiveServerGoAway()
-
-
Method Details
-
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. -
builder
Instantiates a builder for LiveServerGoAway. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a LiveServerGoAway object.
-