# Interface ToolOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface ToolOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAgentTool()

    public abstract AgentTool getAgentTool()

Optional. The agent tool.

`
.google.cloud.ces.v1beta.AgentTool agent_tool = 23 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.AgentTool` | The agentTool. |

### getAgentToolOrBuilder()

    public abstract AgentToolOrBuilder getAgentToolOrBuilder()

Optional. The agent tool.

`
.google.cloud.ces.v1beta.AgentTool agent_tool = 23 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getClientFunction()

    public abstract ClientFunction getClientFunction()

Optional. The client function.

`
.google.cloud.ces.v1beta.ClientFunction client_function = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.ClientFunction` | The clientFunction. |

### getClientFunctionOrBuilder()

    public abstract ClientFunctionOrBuilder getClientFunctionOrBuilder()

Optional. The client function.

`
.google.cloud.ces.v1beta.ClientFunction client_function = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getConnectorTool()

    public abstract ConnectorTool getConnectorTool()

Optional. The Integration Connector tool.

`
.google.cloud.ces.v1beta.ConnectorTool connector_tool = 8 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.ConnectorTool` | The connectorTool. |

### getConnectorToolOrBuilder()

    public abstract ConnectorToolOrBuilder getConnectorToolOrBuilder()

Optional. The Integration Connector tool.

`
.google.cloud.ces.v1beta.ConnectorTool connector_tool = 8 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getCreateTime()

    public abstract Timestamp getCreateTime()

Output only. Timestamp when the tool was created.

`.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The createTime. |

### getCreateTimeOrBuilder()

    public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when the tool was created.

`.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getDataStoreTool()

    public abstract DataStoreTool getDataStoreTool()

Optional. The data store tool.

`
.google.cloud.ces.v1beta.DataStoreTool data_store_tool = 10 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.DataStoreTool` | The dataStoreTool. |

### getDataStoreToolOrBuilder()

    public abstract DataStoreToolOrBuilder getDataStoreToolOrBuilder()

Optional. The data store tool.

`
.google.cloud.ces.v1beta.DataStoreTool data_store_tool = 10 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getDisplayName()

    public abstract String getDisplayName()

Output only. The display name of the tool, derived based on the tool's
type. For example, display name of a ClientFunction
is derived from its `name` property.

`string display_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getDisplayNameBytes()

    public abstract ByteString getDisplayNameBytes()

Output only. The display name of the tool, derived based on the tool's
type. For example, display name of a ClientFunction
is derived from its `name` property.

`string display_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getEtag()

    public abstract String getEtag()

Etag used to ensure the object hasn't changed during a read-modify-write
operation. If the etag is empty, the update will overwrite any concurrent
changes.

`string etag = 14;`

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

### getEtagBytes()

    public abstract ByteString getEtagBytes()

Etag used to ensure the object hasn't changed during a read-modify-write
operation. If the etag is empty, the update will overwrite any concurrent
changes.

`string etag = 14;`

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

### getExecutionType()

    public abstract ExecutionType getExecutionType()

Optional. The execution type of the tool.

`
.google.cloud.ces.v1beta.ExecutionType execution_type = 12 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.ExecutionType` | The executionType. |

### getExecutionTypeValue()

    public abstract int getExecutionTypeValue()

Optional. The execution type of the tool.

`
.google.cloud.ces.v1beta.ExecutionType execution_type = 12 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for executionType. |

### getFileSearchTool()

    public abstract FileSearchTool getFileSearchTool()

Optional. The file search tool.

`
.google.cloud.ces.v1beta.FileSearchTool file_search_tool = 17 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.FileSearchTool` | The fileSearchTool. |

### getFileSearchToolOrBuilder()

    public abstract FileSearchToolOrBuilder getFileSearchToolOrBuilder()

Optional. The file search tool.

`
.google.cloud.ces.v1beta.FileSearchTool file_search_tool = 17 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getGeneratedSummary()

    public abstract String getGeneratedSummary()

Output only. If the tool is generated by the LLM assistant, this field
contains a descriptive summary of the generation.

`string generated_summary = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getGeneratedSummaryBytes()

    public abstract ByteString getGeneratedSummaryBytes()

Output only. If the tool is generated by the LLM assistant, this field
contains a descriptive summary of the generation.

`string generated_summary = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getGoogleSearchTool()

    public abstract GoogleSearchTool getGoogleSearchTool()

Optional. The google search tool.

`
.google.cloud.ces.v1beta.GoogleSearchTool google_search_tool = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.GoogleSearchTool` | The googleSearchTool. |

### getGoogleSearchToolOrBuilder()

    public abstract GoogleSearchToolOrBuilder getGoogleSearchToolOrBuilder()

Optional. The google search tool.

`
.google.cloud.ces.v1beta.GoogleSearchTool google_search_tool = 5 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getMcpTool()

    public abstract McpTool getMcpTool()

Optional. The MCP tool. An MCP tool cannot be created or updated directly
and is managed by the MCP toolset.

`.google.cloud.ces.v1beta.McpTool mcp_tool = 16 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.McpTool` | The mcpTool. |

### getMcpToolOrBuilder()

    public abstract McpToolOrBuilder getMcpToolOrBuilder()

Optional. The MCP tool. An MCP tool cannot be created or updated directly
and is managed by the MCP toolset.

`.google.cloud.ces.v1beta.McpTool mcp_tool = 16 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getName()

    public abstract String getName()

Identifier. The resource name of the tool. Format:

- `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for standalone tools.
- `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool}`
  for tools retrieved from a toolset.

  These tools are dynamic and output-only; they cannot be referenced directly
  where a tool is expected.

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Identifier. The resource name of the tool. Format:

- `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for standalone tools.
- `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool}`
  for tools retrieved from a toolset.

  These tools are dynamic and output-only; they cannot be referenced directly
  where a tool is expected.

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

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

### getOpenApiTool()

    public abstract OpenApiTool getOpenApiTool()

Optional. The open API tool.

`
.google.cloud.ces.v1beta.OpenApiTool open_api_tool = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.OpenApiTool` | The openApiTool. |

### getOpenApiToolOrBuilder()

    public abstract OpenApiToolOrBuilder getOpenApiToolOrBuilder()

Optional. The open API tool.

`
.google.cloud.ces.v1beta.OpenApiTool open_api_tool = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getPythonFunction()

    public abstract PythonFunction getPythonFunction()

Optional. The python function tool.

`
.google.cloud.ces.v1beta.PythonFunction python_function = 11 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.PythonFunction` | The pythonFunction. |

### getPythonFunctionOrBuilder()

    public abstract PythonFunctionOrBuilder getPythonFunctionOrBuilder()

Optional. The python function tool.

`
.google.cloud.ces.v1beta.PythonFunction python_function = 11 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getRemoteAgentTool()

    public abstract RemoteAgentTool getRemoteAgentTool()

Optional. The remote agent tool.

`
.google.cloud.ces.v1beta.RemoteAgentTool remote_agent_tool = 25 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.RemoteAgentTool` | The remoteAgentTool. |

### getRemoteAgentToolOrBuilder()

    public abstract RemoteAgentToolOrBuilder getRemoteAgentToolOrBuilder()

Optional. The remote agent tool.

`
.google.cloud.ces.v1beta.RemoteAgentTool remote_agent_tool = 25 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getSystemTool()

    public abstract SystemTool getSystemTool()

Optional. The system tool.

`
.google.cloud.ces.v1beta.SystemTool system_tool = 18 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.SystemTool` | The systemTool. |

### getSystemToolOrBuilder()

    public abstract SystemToolOrBuilder getSystemToolOrBuilder()

Optional. The system tool.

`
.google.cloud.ces.v1beta.SystemTool system_tool = 18 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getTimeout()

    public abstract Duration getTimeout()

Optional. The timeout for the tool execution. If not set, the default
timeout is 30 seconds for `SYNCHRONOUS` tools and 60 seconds for
`ASYNCHRONOUS` tools.

`.google.protobuf.Duration timeout = 22 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The timeout. |

### getTimeoutOrBuilder()

    public abstract DurationOrBuilder getTimeoutOrBuilder()

Optional. The timeout for the tool execution. If not set, the default
timeout is 30 seconds for `SYNCHRONOUS` tools and 60 seconds for
`ASYNCHRONOUS` tools.

`.google.protobuf.Duration timeout = 22 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### getToolFakeConfig()

    public abstract ToolFakeConfig getToolFakeConfig()

Optional. Configuration for tool behavior in fake mode.

`
.google.cloud.ces.v1beta.ToolFakeConfig tool_fake_config = 20 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.ToolFakeConfig` | The toolFakeConfig. |

### getToolFakeConfigOrBuilder()

    public abstract ToolFakeConfigOrBuilder getToolFakeConfigOrBuilder()

Optional. Configuration for tool behavior in fake mode.

`
.google.cloud.ces.v1beta.ToolFakeConfig tool_fake_config = 20 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getToolTypeCase()

    public abstract Tool.ToolTypeCase getToolTypeCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.Tool.ToolTypeCase` |   |

### getUpdateTime()

    public abstract Timestamp getUpdateTime()

Output only. Timestamp when the tool was last updated.

`.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The updateTime. |

### getUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when the tool was last updated.

`.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getWidgetTool()

    public abstract WidgetTool getWidgetTool()

Optional. The widget tool.

`
.google.cloud.ces.v1beta.WidgetTool widget_tool = 24 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.WidgetTool` | The widgetTool. |

### getWidgetToolOrBuilder()

    public abstract WidgetToolOrBuilder getWidgetToolOrBuilder()

Optional. The widget tool.

`
.google.cloud.ces.v1beta.WidgetTool widget_tool = 24 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasAgentTool()

    public abstract boolean hasAgentTool()

Optional. The agent tool.

`
.google.cloud.ces.v1beta.AgentTool agent_tool = 23 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasClientFunction()

    public abstract boolean hasClientFunction()

Optional. The client function.

`
.google.cloud.ces.v1beta.ClientFunction client_function = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasConnectorTool()

    public abstract boolean hasConnectorTool()

Optional. The Integration Connector tool.

`
.google.cloud.ces.v1beta.ConnectorTool connector_tool = 8 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasCreateTime()

    public abstract boolean hasCreateTime()

Output only. Timestamp when the tool was created.

`.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasDataStoreTool()

    public abstract boolean hasDataStoreTool()

Optional. The data store tool.

`
.google.cloud.ces.v1beta.DataStoreTool data_store_tool = 10 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasFileSearchTool()

    public abstract boolean hasFileSearchTool()

Optional. The file search tool.

`
.google.cloud.ces.v1beta.FileSearchTool file_search_tool = 17 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasGoogleSearchTool()

    public abstract boolean hasGoogleSearchTool()

Optional. The google search tool.

`
.google.cloud.ces.v1beta.GoogleSearchTool google_search_tool = 5 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasMcpTool()

    public abstract boolean hasMcpTool()

Optional. The MCP tool. An MCP tool cannot be created or updated directly
and is managed by the MCP toolset.

`.google.cloud.ces.v1beta.McpTool mcp_tool = 16 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasOpenApiTool()

    public abstract boolean hasOpenApiTool()

Optional. The open API tool.

`
.google.cloud.ces.v1beta.OpenApiTool open_api_tool = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasPythonFunction()

    public abstract boolean hasPythonFunction()

Optional. The python function tool.

`
.google.cloud.ces.v1beta.PythonFunction python_function = 11 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasRemoteAgentTool()

    public abstract boolean hasRemoteAgentTool()

Optional. The remote agent tool.

`
.google.cloud.ces.v1beta.RemoteAgentTool remote_agent_tool = 25 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasSystemTool()

    public abstract boolean hasSystemTool()

Optional. The system tool.

`
.google.cloud.ces.v1beta.SystemTool system_tool = 18 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasTimeout()

    public abstract boolean hasTimeout()

Optional. The timeout for the tool execution. If not set, the default
timeout is 30 seconds for `SYNCHRONOUS` tools and 60 seconds for
`ASYNCHRONOUS` tools.

`.google.protobuf.Duration timeout = 22 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasToolFakeConfig()

    public abstract boolean hasToolFakeConfig()

Optional. Configuration for tool behavior in fake mode.

`
.google.cloud.ces.v1beta.ToolFakeConfig tool_fake_config = 20 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasUpdateTime()

    public abstract boolean hasUpdateTime()

Output only. Timestamp when the tool was last updated.

`.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasWidgetTool()

    public abstract boolean hasWidgetTool()

Optional. The widget tool.

`
.google.cloud.ces.v1beta.WidgetTool widget_tool = 24 [(.google.api.field_behavior) = OPTIONAL];
`

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