public static final class EvaluationInstance.DeprecatedAgentConfig.Tools.Builder extends GeneratedMessage.Builder<EvaluationInstance.DeprecatedAgentConfig.Tools.Builder> implements EvaluationInstance.DeprecatedAgentConfig.ToolsOrBuilder
Represents a list of tools for an agent.
Protobuf type
google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig.Tools
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder addAllTool(Iterable<? extends Tool> values)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.Tool>
|
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder addTool(Tool value)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
Tool
|
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder addTool(Tool.Builder builderForValue)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder addTool(int index, Tool value)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters |
| Name |
Description |
index |
int
|
value |
Tool
|
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder addTool(int index, Tool.Builder builderForValue)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
public Tool.Builder addToolBuilder()
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
public Tool.Builder addToolBuilder(int index)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public EvaluationInstance.DeprecatedAgentConfig.Tools build()
public EvaluationInstance.DeprecatedAgentConfig.Tools buildPartial()
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder clear()
Overrides
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder clearTool()
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
public EvaluationInstance.DeprecatedAgentConfig.Tools getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Tool getTool(int index)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Tool |
|
public Tool.Builder getToolBuilder(int index)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public List<Tool.Builder> getToolBuilderList()
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
public int getToolCount()
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
public List<Tool> getToolList()
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
public ToolOrBuilder getToolOrBuilder(int index)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends ToolOrBuilder> getToolOrBuilderList()
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.ToolOrBuilder> |
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder mergeFrom(EvaluationInstance.DeprecatedAgentConfig.Tools other)
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder removeTool(int index)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder setTool(int index, Tool value)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters |
| Name |
Description |
index |
int
|
value |
Tool
|
public EvaluationInstance.DeprecatedAgentConfig.Tools.Builder setTool(int index, Tool.Builder builderForValue)
Optional. List of tools: each tool can have multiple function
declarations.
repeated .google.cloud.aiplatform.v1beta1.Tool tool = 1 [(.google.api.field_behavior) = OPTIONAL];