Class InteractionCompletedEvent
java.lang.Object
com.google.genai.gaos.models.interactions.InteractionCompletedEvent
- All Implemented Interfaces:
InteractionSSEEvent
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInteractionCompletedEvent(InteractionSseEventInteraction interaction) InteractionCompletedEvent(String eventId, InteractionSseEventInteraction interaction) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaneventId()The event_id token to be used to resume the interaction stream, from this event.inthashCode()Partial interaction resource emitted by interaction lifecycle SSE events.toString()withEventId(String eventId) The event_id token to be used to resume the interaction stream, from this event.withInteraction(InteractionSseEventInteraction interaction) Partial interaction resource emitted by interaction lifecycle SSE events.
-
Constructor Details
-
InteractionCompletedEvent
public InteractionCompletedEvent(@Nullable String eventId, @Nonnull InteractionSseEventInteraction interaction) -
InteractionCompletedEvent
-
-
Method Details
-
eventId
The event_id token to be used to resume the interaction stream, from this event. -
eventType
- Specified by:
eventTypein interfaceInteractionSSEEvent
-
interaction
Partial interaction resource emitted by interaction lifecycle SSE events. Streaming lifecycle payloads may omit fields that are only available on full non-streaming Interaction responses. -
builder
-
withEventId
The event_id token to be used to resume the interaction stream, from this event. -
withInteraction
public InteractionCompletedEvent withInteraction(@Nonnull InteractionSseEventInteraction interaction) Partial interaction resource emitted by interaction lifecycle SSE events. Streaming lifecycle payloads may omit fields that are only available on full non-streaming Interaction responses. -
equals
-
hashCode
public int hashCode() -
toString
-