Interface EvaluationInstance.DeprecatedAgentData.AgentEventOrBuilder (3.100.0)

public static interface EvaluationInstance.DeprecatedAgentData.AgentEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActiveTools(int index)

public abstract Tool getActiveTools(int index)

Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the AgentConfig.tools if set.

repeated .google.cloud.aiplatform.v1beta1.Tool active_tools = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Tool

getActiveToolsCount()

public abstract int getActiveToolsCount()

Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the AgentConfig.tools if set.

repeated .google.cloud.aiplatform.v1beta1.Tool active_tools = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getActiveToolsList()

public abstract List<Tool> getActiveToolsList()

Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the AgentConfig.tools if set.

repeated .google.cloud.aiplatform.v1beta1.Tool active_tools = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Tool>

getActiveToolsOrBuilder(int index)

public abstract ToolOrBuilder getActiveToolsOrBuilder(int index)

Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the AgentConfig.tools if set.

repeated .google.cloud.aiplatform.v1beta1.Tool active_tools = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ToolOrBuilder

getActiveToolsOrBuilderList()

public abstract List<? extends ToolOrBuilder> getActiveToolsOrBuilderList()

Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the AgentConfig.tools if set.

repeated .google.cloud.aiplatform.v1beta1.Tool active_tools = 5 [(.google.api.field_behavior) = OPTIONAL];

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

getAuthor()

public abstract String getAuthor()

Required. The ID of the agent or entity that generated this event.

optional string author = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The author.

getAuthorBytes()

public abstract ByteString getAuthorBytes()

Required. The ID of the agent or entity that generated this event.

optional string author = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for author.

getContent()

public abstract Content getContent()

Required. The content of the event (e.g., text response, tool call, tool response).

.google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Content

The content.

getContentOrBuilder()

public abstract ContentOrBuilder getContentOrBuilder()

Required. The content of the event (e.g., text response, tool call, tool response).

.google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ContentOrBuilder

getEventTime()

public abstract Timestamp getEventTime()

Optional. The timestamp when the event occurred.

.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The eventTime.

getEventTimeOrBuilder()

public abstract TimestampOrBuilder getEventTimeOrBuilder()

Optional. The timestamp when the event occurred.

.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getStateDelta()

public abstract Struct getStateDelta()

Optional. The change in the session state caused by this event. This is a key-value map of fields that were modified or added by the event.

.google.protobuf.Struct state_delta = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The stateDelta.

getStateDeltaOrBuilder()

public abstract StructOrBuilder getStateDeltaOrBuilder()

Optional. The change in the session state caused by this event. This is a key-value map of fields that were modified or added by the event.

.google.protobuf.Struct state_delta = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

hasAuthor()

public abstract boolean hasAuthor()

Required. The ID of the agent or entity that generated this event.

optional string author = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the author field is set.

hasContent()

public abstract boolean hasContent()

Required. The content of the event (e.g., text response, tool call, tool response).

.google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the content field is set.

hasEventTime()

public abstract boolean hasEventTime()

Optional. The timestamp when the event occurred.

.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the eventTime field is set.

hasStateDelta()

public abstract boolean hasStateDelta()

Optional. The change in the session state caused by this event. This is a key-value map of fields that were modified or added by the event.

.google.protobuf.Struct state_delta = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the stateDelta field is set.