Interface ToolCallValidInputOrBuilder (3.40.0)

public interface ToolCallValidInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstances(int index)

public abstract ToolCallValidInstance getInstances(int index)

Required. Repeated tool call valid instances.

repeated .google.cloud.aiplatform.v1beta1.ToolCallValidInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolCallValidInstance

getInstancesCount()

public abstract int getInstancesCount()

Required. Repeated tool call valid instances.

repeated .google.cloud.aiplatform.v1beta1.ToolCallValidInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getInstancesList()

public abstract List<ToolCallValidInstance> getInstancesList()

Required. Repeated tool call valid instances.

repeated .google.cloud.aiplatform.v1beta1.ToolCallValidInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<ToolCallValidInstance>

getInstancesOrBuilder(int index)

public abstract ToolCallValidInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated tool call valid instances.

repeated .google.cloud.aiplatform.v1beta1.ToolCallValidInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolCallValidInstanceOrBuilder

getInstancesOrBuilderList()

public abstract List<? extends ToolCallValidInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated tool call valid instances.

repeated .google.cloud.aiplatform.v1beta1.ToolCallValidInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ToolCallValidInstanceOrBuilder>

getMetricSpec()

public abstract ToolCallValidSpec getMetricSpec()

Required. Spec for tool call valid metric.

.google.cloud.aiplatform.v1beta1.ToolCallValidSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ToolCallValidSpec

The metricSpec.

getMetricSpecOrBuilder()

public abstract ToolCallValidSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for tool call valid metric.

.google.cloud.aiplatform.v1beta1.ToolCallValidSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ToolCallValidSpecOrBuilder

hasMetricSpec()

public abstract boolean hasMetricSpec()

Required. Spec for tool call valid metric.

.google.cloud.aiplatform.v1beta1.ToolCallValidSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the metricSpec field is set.