Interface EvaluationInstance.DeprecatedAgentData.ConversationTurnOrBuilder (3.100.0)

public static interface EvaluationInstance.DeprecatedAgentData.ConversationTurnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvents(int index)

public abstract EvaluationInstance.DeprecatedAgentData.AgentEvent getEvents(int index)

Optional. The list of events that occurred during this turn.

repeated .google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentData.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
EvaluationInstance.DeprecatedAgentData.AgentEvent

getEventsCount()

public abstract int getEventsCount()

Optional. The list of events that occurred during this turn.

repeated .google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentData.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getEventsList()

public abstract List<EvaluationInstance.DeprecatedAgentData.AgentEvent> getEventsList()

Optional. The list of events that occurred during this turn.

repeated .google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentData.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AgentEvent>

getEventsOrBuilder(int index)

public abstract EvaluationInstance.DeprecatedAgentData.AgentEventOrBuilder getEventsOrBuilder(int index)

Optional. The list of events that occurred during this turn.

repeated .google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentData.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
EvaluationInstance.DeprecatedAgentData.AgentEventOrBuilder

getEventsOrBuilderList()

public abstract List<? extends EvaluationInstance.DeprecatedAgentData.AgentEventOrBuilder> getEventsOrBuilderList()

Optional. The list of events that occurred during this turn.

repeated .google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentData.AgentEvent events = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentData.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.