Class StepStop
java.lang.Object
com.google.genai.gaos.models.interactions.StepStop
- All Implemented Interfaces:
InteractionSSEEvent
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StepStop.Builderbuilder()booleaneventId()The event_id token to be used to resume the interaction stream, from this event.inthashCode()index()Statistics on the interaction request's token usage.toString()usage()Statistics on the interaction request's token usage.withEventId(String eventId) The event_id token to be used to resume the interaction stream, from this event.withIndex(int index) withStepUsage(Usage stepUsage) Statistics on the interaction request's token usage.Statistics on the interaction request's token usage.
-
Constructor Details
-
StepStop
-
StepStop
public StepStop(int index)
-
-
Method Details
-
eventId
The event_id token to be used to resume the interaction stream, from this event. -
eventType
- Specified by:
eventTypein interfaceInteractionSSEEvent
-
index
-
stepUsage
Statistics on the interaction request's token usage. -
usage
Statistics on the interaction request's token usage. -
builder
-
withEventId
The event_id token to be used to resume the interaction stream, from this event. -
withIndex
-
withStepUsage
Statistics on the interaction request's token usage. -
withUsage
Statistics on the interaction request's token usage. -
equals
-
hashCode
public int hashCode() -
toString
-