Interface ConversationTurnOrBuilder (3.100.0)

public interface ConversationTurnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvents(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
AgentEvent

getEventsCount()

public abstract 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];

Returns
Type Description
int

getEventsList()

public abstract 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];

Returns
Type Description
List<AgentEvent>

getEventsOrBuilder(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
AgentEventOrBuilder

getEventsOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.AgentEventOrBuilder>

getTurnId()

public abstract 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
Type Description
String

The turnId.

getTurnIdBytes()

public abstract 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
Type Description
ByteString

The bytes for turnId.

getTurnIndex()

public abstract 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
Type Description
int

The turnIndex.

hasTurnIndex()

public abstract 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
Type Description
boolean

Whether the turnIndex field is set.