Interface TrajectoryOrBuilder (3.56.0)

public interface TrajectoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getToolCalls(int index)

public abstract ToolCall getToolCalls(int index)

Required. Tool calls in the trajectory.

repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolCall

getToolCallsCount()

public abstract int getToolCallsCount()

Required. Tool calls in the trajectory.

repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getToolCallsList()

public abstract List<ToolCall> getToolCallsList()

Required. Tool calls in the trajectory.

repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ToolCall>

getToolCallsOrBuilder(int index)

public abstract ToolCallOrBuilder getToolCallsOrBuilder(int index)

Required. Tool calls in the trajectory.

repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolCallOrBuilder

getToolCallsOrBuilderList()

public abstract List<? extends ToolCallOrBuilder> getToolCallsOrBuilderList()

Required. Tool calls in the trajectory.

repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];

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