Interface ConversationTurnOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ConversationTurn, ConversationTurn.Builder

@Generated public interface ConversationTurnOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasTurnIndex

      boolean hasTurnIndex()
       Required. The 0-based index of the turn in the conversation sequence.
       
      optional int32 turn_index = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the turnIndex field is set.
    • getTurnIndex

      int getTurnIndex()
       Required. The 0-based index of the turn in the conversation sequence.
       
      optional int32 turn_index = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The turnIndex.
    • getTurnId

      String getTurnId()
       Optional. A unique identifier for the turn.
       Useful for referencing specific turns across systems.
       
      string turn_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The turnId.
    • getTurnIdBytes

      com.google.protobuf.ByteString getTurnIdBytes()
       Optional. A unique identifier for the turn.
       Useful for referencing specific turns across systems.
       
      string turn_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for turnId.
    • getEventsList

      List<AgentEvent> getEventsList()
       Optional. The list of events that occurred during this turn.
       
      repeated .google.cloud.aiplatform.v1beta1.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getEvents

      AgentEvent getEvents(int index)
       Optional. The list of events that occurred during this turn.
       
      repeated .google.cloud.aiplatform.v1beta1.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getEventsCount

      int getEventsCount()
       Optional. The list of events that occurred during this turn.
       
      repeated .google.cloud.aiplatform.v1beta1.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getEventsOrBuilderList

      List<? extends AgentEventOrBuilder> getEventsOrBuilderList()
       Optional. The list of events that occurred during this turn.
       
      repeated .google.cloud.aiplatform.v1beta1.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getEventsOrBuilder

      AgentEventOrBuilder getEventsOrBuilder(int index)
       Optional. The list of events that occurred during this turn.
       
      repeated .google.cloud.aiplatform.v1beta1.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];