Class StepStop.Builder

java.lang.Object
com.google.genai.gaos.models.interactions.StepStop.Builder
Enclosing class:
StepStop

public static final class StepStop.Builder extends Object
  • Method Details

    • eventId

      public StepStop.Builder eventId(@Nullable String eventId)
      The event_id token to be used to resume the interaction stream, from this event.
    • index

      public StepStop.Builder index(int index)
    • stepUsage

      public StepStop.Builder stepUsage(@Nullable Usage stepUsage)
      Statistics on the interaction request's token usage.
    • usage

      public StepStop.Builder usage(@Nullable Usage usage)
      Statistics on the interaction request's token usage.
    • build

      public StepStop build()