public static final class ToolsetTool.Builder extends GeneratedMessage.Builder<ToolsetTool.Builder> implements ToolsetToolOrBuilderA tool that is created from a toolset.
Protobuf type google.cloud.ces.v1.ToolsetTool
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ToolsetTool.BuilderImplements
ToolsetToolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ToolsetTool build()| Returns | |
|---|---|
| Type | Description |
ToolsetTool |
|
buildPartial()
public ToolsetTool buildPartial()| Returns | |
|---|---|
| Type | Description |
ToolsetTool |
|
clear()
public ToolsetTool.Builder clear()| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
|
clearToolId()
public ToolsetTool.Builder clearToolId()Optional. The tool ID to filter the tools to retrieve the schema for.
string tool_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
This builder for chaining. |
clearToolset()
public ToolsetTool.Builder clearToolset() Required. The resource name of the Toolset from which this tool is derived.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ToolsetTool getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ToolsetTool |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getToolId()
public String getToolId()Optional. The tool ID to filter the tools to retrieve the schema for.
string tool_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The toolId. |
getToolIdBytes()
public ByteString getToolIdBytes()Optional. The tool ID to filter the tools to retrieve the schema for.
string tool_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for toolId. |
getToolset()
public String getToolset() Required. The resource name of the Toolset from which this tool is derived.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The toolset. |
getToolsetBytes()
public ByteString getToolsetBytes() Required. The resource name of the Toolset from which this tool is derived.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for toolset. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ToolsetTool other)
public ToolsetTool.Builder mergeFrom(ToolsetTool other)| Parameter | |
|---|---|
| Name | Description |
other |
ToolsetTool |
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ToolsetTool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ToolsetTool.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
|
setToolId(String value)
public ToolsetTool.Builder setToolId(String value)Optional. The tool ID to filter the tools to retrieve the schema for.
string tool_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe toolId to set. |
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
This builder for chaining. |
setToolIdBytes(ByteString value)
public ToolsetTool.Builder setToolIdBytes(ByteString value)Optional. The tool ID to filter the tools to retrieve the schema for.
string tool_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for toolId to set. |
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
This builder for chaining. |
setToolset(String value)
public ToolsetTool.Builder setToolset(String value) Required. The resource name of the Toolset from which this tool is derived.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe toolset to set. |
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
This builder for chaining. |
setToolsetBytes(ByteString value)
public ToolsetTool.Builder setToolsetBytes(ByteString value) Required. The resource name of the Toolset from which this tool is derived.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for toolset to set. |
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
This builder for chaining. |