# Interface CreateToolsetRequestOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface CreateToolsetRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getParent()

    public abstract String getParent()

Required. The resource name of the app to create a toolset in.

`
string parent = 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 parent. |

### getParentBytes()

    public abstract ByteString getParentBytes()

Required. The resource name of the app to create a toolset in.

`
string parent = 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 parent. |

### getToolset()

    public abstract Toolset getToolset()

Required. The toolset to create.

`.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Toolset` | The toolset. |

### getToolsetId()

    public abstract String getToolsetId()

Optional. The ID to use for the toolset, which will become the final
component of the toolset's resource name. If not provided, a unique ID will
be automatically assigned for the toolset.

`string toolset_id = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getToolsetIdBytes()

    public abstract ByteString getToolsetIdBytes()

Optional. The ID to use for the toolset, which will become the final
component of the toolset's resource name. If not provided, a unique ID will
be automatically assigned for the toolset.

`string toolset_id = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getToolsetOrBuilder()

    public abstract ToolsetOrBuilder getToolsetOrBuilder()

Required. The toolset to create.

`.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.ToolsetOrBuilder` |   |

### hasToolset()

    public abstract boolean hasToolset()

Required. The toolset to create.

`.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the toolset field is set. |