public static final class CreateToolsetRequest.Builder extends GeneratedMessage.Builder<CreateToolsetRequest.Builder> implements CreateToolsetRequestOrBuilderRequest message for AgentService.CreateToolset.
Protobuf type google.cloud.ces.v1.CreateToolsetRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateToolsetRequest.BuilderImplements
CreateToolsetRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateToolsetRequest build()| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest |
|
buildPartial()
public CreateToolsetRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest |
|
clear()
public CreateToolsetRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
|
clearParent()
public CreateToolsetRequest.Builder clearParent()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 |
CreateToolsetRequest.Builder |
This builder for chaining. |
clearToolset()
public CreateToolsetRequest.Builder clearToolset()Required. The toolset to create.
.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
|
clearToolsetId()
public CreateToolsetRequest.Builder clearToolsetId()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 |
CreateToolsetRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateToolsetRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public 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 |
String |
The parent. |
getParentBytes()
public 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 |
ByteString |
The bytes for parent. |
getToolset()
public Toolset getToolset()Required. The toolset to create.
.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Toolset |
The toolset. |
getToolsetBuilder()
public Toolset.Builder getToolsetBuilder()Required. The toolset to create.
.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Toolset.Builder |
|
getToolsetId()
public 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 |
String |
The toolsetId. |
getToolsetIdBytes()
public 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 |
ByteString |
The bytes for toolsetId. |
getToolsetOrBuilder()
public ToolsetOrBuilder getToolsetOrBuilder()Required. The toolset to create.
.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolsetOrBuilder |
|
hasToolset()
public boolean hasToolset()Required. The toolset to create.
.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the toolset field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateToolsetRequest other)
public CreateToolsetRequest.Builder mergeFrom(CreateToolsetRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateToolsetRequest |
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateToolsetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateToolsetRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
|
mergeToolset(Toolset value)
public CreateToolsetRequest.Builder mergeToolset(Toolset value)Required. The toolset to create.
.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Toolset |
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
|
setParent(String value)
public CreateToolsetRequest.Builder setParent(String value)Required. The resource name of the app to create a toolset in.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateToolsetRequest.Builder setParentBytes(ByteString value)Required. The resource name of the app to create a toolset in.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
This builder for chaining. |
setToolset(Toolset value)
public CreateToolsetRequest.Builder setToolset(Toolset value)Required. The toolset to create.
.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Toolset |
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
|
setToolset(Toolset.Builder builderForValue)
public CreateToolsetRequest.Builder setToolset(Toolset.Builder builderForValue)Required. The toolset to create.
.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Toolset.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
|
setToolsetId(String value)
public CreateToolsetRequest.Builder setToolsetId(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe toolsetId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
This builder for chaining. |
setToolsetIdBytes(ByteString value)
public CreateToolsetRequest.Builder setToolsetIdBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for toolsetId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateToolsetRequest.Builder |
This builder for chaining. |