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 Summary
Modifier and TypeMethodDescriptiongetEvents(int index) Optional.intOptional.Optional.getEventsOrBuilder(int index) Optional.List<? extends AgentEventOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.intRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
Optional. The list of events that occurred during this turn.
repeated .google.cloud.aiplatform.v1beta1.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];
-