Class InteractionStatusUpdate
java.lang.Object
com.google.genai.gaos.models.interactions.InteractionStatusUpdate
- All Implemented Interfaces:
InteractionSSEEvent
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInteractionStatusUpdate(String interactionId, InteractionStatusUpdateStatus status) InteractionStatusUpdate(String continuationToken, String eventId, String interactionId, InteractionStatusUpdateStatus status, Usage usage) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()An optional opaque continuation token used to resume decoding from the latest checkpoint after a disconnected stream.booleaneventId()The event_id token to be used to resume the interaction stream, from this event.inthashCode()status()toString()usage()Statistics on the interaction request's token usage.withContinuationToken(String continuationToken) An optional opaque continuation token used to resume decoding from the latest checkpoint after a disconnected stream.withEventId(String eventId) The event_id token to be used to resume the interaction stream, from this event.withInteractionId(String interactionId) Statistics on the interaction request's token usage.
-
Constructor Details
-
InteractionStatusUpdate
public InteractionStatusUpdate(@Nullable String continuationToken, @Nullable String eventId, @Nonnull String interactionId, @Nonnull InteractionStatusUpdateStatus status, @Nullable Usage usage) -
InteractionStatusUpdate
public InteractionStatusUpdate(@Nonnull String interactionId, @Nonnull InteractionStatusUpdateStatus status)
-
-
Method Details
-
continuationToken
An optional opaque continuation token used to resume decoding from the latest checkpoint after a disconnected stream. -
eventId
The event_id token to be used to resume the interaction stream, from this event. -
eventType
- Specified by:
eventTypein interfaceInteractionSSEEvent
-
interactionId
-
status
-
usage
Statistics on the interaction request's token usage. -
builder
-
withContinuationToken
An optional opaque continuation token used to resume decoding from the latest checkpoint after a disconnected stream. -
withEventId
The event_id token to be used to resume the interaction stream, from this event. -
withInteractionId
-
withStatus
-
withUsage
Statistics on the interaction request's token usage. -
equals
-
hashCode
public int hashCode() -
toString
-