# Interface Agent.AgentToolsetOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface Agent.AgentToolsetOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getToolIds(int index)

    public abstract String getToolIds(int index)

Optional. The tools IDs to filter the toolset.

`repeated string tool_ids = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The toolIds at the given index. |

### getToolIdsBytes(int index)

    public abstract ByteString getToolIdsBytes(int index)

Optional. The tools IDs to filter the toolset.

`repeated string tool_ids = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the toolIds at the given index. |

### getToolIdsCount()

    public abstract int getToolIdsCount()

Optional. The tools IDs to filter the toolset.

`repeated string tool_ids = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of toolIds. |

### getToolIdsList()

    public abstract List<String> getToolIdsList()

Optional. The tools IDs to filter the toolset.

`repeated string tool_ids = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the toolIds. |

### getToolset()

    public abstract String getToolset()

Required. The resource name of the toolset.
Format:
`projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`

`
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The toolset. |

### getToolsetBytes()

    public abstract ByteString getToolsetBytes()

Required. The resource name of the toolset.
Format:
`projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`

`
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for toolset. |