Class Tool (0.7.0)

  public 
  
 final 
  
 class 
 Tool 
  
 extends 
  
 GeneratedMessage 
  
 implements 
  
 ToolOrBuilder 
 

A tool represents an action that the CES agent can take to achieve certain goals.

Protobuf type google.cloud.ces.v1.Tool

Implements

ToolOrBuilder

Static Fields

AGENT_TOOL_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 AGENT_TOOL_FIELD_NUMBER 
 
Field Value
Type
Description
int

CLIENT_FUNCTION_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CLIENT_FUNCTION_FIELD_NUMBER 
 
Field Value
Type
Description
int

CONNECTOR_TOOL_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CONNECTOR_TOOL_FIELD_NUMBER 
 
Field Value
Type
Description
int

CREATE_TIME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CREATE_TIME_FIELD_NUMBER 
 
Field Value
Type
Description
int

DATA_STORE_TOOL_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 DATA_STORE_TOOL_FIELD_NUMBER 
 
Field Value
Type
Description
int

DISPLAY_NAME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 DISPLAY_NAME_FIELD_NUMBER 
 
Field Value
Type
Description
int

ETAG_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 ETAG_FIELD_NUMBER 
 
Field Value
Type
Description
int

EXECUTION_TYPE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 EXECUTION_TYPE_FIELD_NUMBER 
 
Field Value
Type
Description
int

FILE_SEARCH_TOOL_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 FILE_SEARCH_TOOL_FIELD_NUMBER 
 
Field Value
Type
Description
int

GENERATED_SUMMARY_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 GENERATED_SUMMARY_FIELD_NUMBER 
 
Field Value
Type
Description
int

GOOGLE_SEARCH_TOOL_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 GOOGLE_SEARCH_TOOL_FIELD_NUMBER 
 
Field Value
Type
Description
int

MCP_TOOL_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 MCP_TOOL_FIELD_NUMBER 
 
Field Value
Type
Description
int

NAME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 NAME_FIELD_NUMBER 
 
Field Value
Type
Description
int

OPEN_API_TOOL_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 OPEN_API_TOOL_FIELD_NUMBER 
 
Field Value
Type
Description
int

PYTHON_FUNCTION_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 PYTHON_FUNCTION_FIELD_NUMBER 
 
Field Value
Type
Description
int

SYSTEM_TOOL_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 SYSTEM_TOOL_FIELD_NUMBER 
 
Field Value
Type
Description
int

TOOL_FAKE_CONFIG_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 TOOL_FAKE_CONFIG_FIELD_NUMBER 
 
Field Value
Type
Description
int

UPDATE_TIME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 UPDATE_TIME_FIELD_NUMBER 
 
Field Value
Type
Description
int

WIDGET_TOOL_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 WIDGET_TOOL_FIELD_NUMBER 
 
Field Value
Type
Description
int

Static Methods

getDefaultInstance()

  public 
  
 static 
  
 Tool 
  
 getDefaultInstance 
 () 
 
Returns
Type
Description

getDescriptor()

  public 
  
 static 
  
 final 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptor 
 () 
 
Returns
Type
Description

newBuilder()

  public 
  
 static 
  
 Tool 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(Tool prototype)

  public 
  
 static 
  
 Tool 
 . 
 Builder 
  
 newBuilder 
 ( 
 Tool 
  
 prototype 
 ) 
 
Parameter
Name
Description
prototype
Returns
Type
Description

parseDelimitedFrom(InputStream input)

  public 
  
 static 
  
 Tool 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Tool 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data)

  public 
  
 static 
  
 Tool 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 ) 
 
Parameter
Name
Description
data
byte []
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Tool 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
byte []
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data)

  public 
  
 static 
  
 Tool 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Tool 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input)

  public 
  
 static 
  
 Tool 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Tool 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input)

  public 
  
 static 
  
 Tool 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Tool 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data)

  public 
  
 static 
  
 Tool 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Tool 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parser()

  public 
  
 static 
  
 Parser<Tool> 
  
 parser 
 () 
 
Returns
Type
Description
Parser < Tool >

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
Overrides

getAgentTool()

  public 
  
 AgentTool 
  
 getAgentTool 
 () 
 

Optional. The agent tool.

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

Returns
Type
Description

The agentTool.

getAgentToolOrBuilder()

  public 
  
 AgentToolOrBuilder 
  
 getAgentToolOrBuilder 
 () 
 

Optional. The agent tool.

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

Returns
Type
Description

getClientFunction()

  public 
  
 ClientFunction 
  
 getClientFunction 
 () 
 

Optional. The client function.

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

Returns
Type
Description

The clientFunction.

getClientFunctionOrBuilder()

  public 
  
 ClientFunctionOrBuilder 
  
 getClientFunctionOrBuilder 
 () 
 

Optional. The client function.

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

Returns
Type
Description

getConnectorTool()

  public 
  
 ConnectorTool 
  
 getConnectorTool 
 () 
 

Optional. The Integration Connector tool.

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

Returns
Type
Description

The connectorTool.

getConnectorToolOrBuilder()

  public 
  
 ConnectorToolOrBuilder 
  
 getConnectorToolOrBuilder 
 () 
 

Optional. The Integration Connector tool.

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

Returns
Type
Description

getCreateTime()

  public 
  
 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

The createTime.

getCreateTimeOrBuilder()

  public 
  
 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

getDataStoreTool()

  public 
  
 DataStoreTool 
  
 getDataStoreTool 
 () 
 

Optional. The data store tool.

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

Returns
Type
Description

The dataStoreTool.

getDataStoreToolOrBuilder()

  public 
  
 DataStoreToolOrBuilder 
  
 getDataStoreToolOrBuilder 
 () 
 

Optional. The data store tool.

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

Returns
Type
Description

getDefaultInstanceForType()

  public 
  
 Tool 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDisplayName()

  public 
  
 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

The displayName.

getDisplayNameBytes()

  public 
  
 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

The bytes for displayName.

getEtag()

  public 
  
 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

The etag.

getEtagBytes()

  public 
  
 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

The bytes for etag.

getExecutionType()

  public 
  
 ExecutionType 
  
 getExecutionType 
 () 
 

Optional. The execution type of the tool.

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

Returns
Type
Description

The executionType.

getExecutionTypeValue()

  public 
  
 int 
  
 getExecutionTypeValue 
 () 
 

Optional. The execution type of the tool.

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

Returns
Type
Description
int

The enum numeric value on the wire for executionType.

getFileSearchTool()

  public 
  
 FileSearchTool 
  
 getFileSearchTool 
 () 
 

Optional. The file search tool.

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

Returns
Type
Description

The fileSearchTool.

getFileSearchToolOrBuilder()

  public 
  
 FileSearchToolOrBuilder 
  
 getFileSearchToolOrBuilder 
 () 
 

Optional. The file search tool.

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

Returns
Type
Description

getGeneratedSummary()

  public 
  
 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

The generatedSummary.

getGeneratedSummaryBytes()

  public 
  
 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

The bytes for generatedSummary.

getGoogleSearchTool()

  public 
  
 GoogleSearchTool 
  
 getGoogleSearchTool 
 () 
 

Optional. The google search tool.

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

Returns
Type
Description

The googleSearchTool.

getGoogleSearchToolOrBuilder()

  public 
  
 GoogleSearchToolOrBuilder 
  
 getGoogleSearchToolOrBuilder 
 () 
 

Optional. The google search tool.

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

Returns
Type
Description

getMcpTool()

  public 
  
 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.v1.McpTool mcp_tool = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The mcpTool.

getMcpToolOrBuilder()

  public 
  
 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.v1.McpTool mcp_tool = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getName()

  public 
  
 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

The name.

getNameBytes()

  public 
  
 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

The bytes for name.

getOpenApiTool()

  public 
  
 OpenApiTool 
  
 getOpenApiTool 
 () 
 

Optional. The open API tool.

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

Returns
Type
Description

The openApiTool.

getOpenApiToolOrBuilder()

  public 
  
 OpenApiToolOrBuilder 
  
 getOpenApiToolOrBuilder 
 () 
 

Optional. The open API tool.

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

Returns
Type
Description

getParserForType()

  public 
  
 Parser<Tool> 
  
 getParserForType 
 () 
 
Returns
Type
Description
Parser < Tool >
Overrides

getPythonFunction()

  public 
  
 PythonFunction 
  
 getPythonFunction 
 () 
 

Optional. The python function tool.

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

Returns
Type
Description

The pythonFunction.

getPythonFunctionOrBuilder()

  public 
  
 PythonFunctionOrBuilder 
  
 getPythonFunctionOrBuilder 
 () 
 

Optional. The python function tool.

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

Returns
Type
Description

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides

getSystemTool()

  public 
  
 SystemTool 
  
 getSystemTool 
 () 
 

Optional. The system tool.

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

Returns
Type
Description

The systemTool.

getSystemToolOrBuilder()

  public 
  
 SystemToolOrBuilder 
  
 getSystemToolOrBuilder 
 () 
 

Optional. The system tool.

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

Returns
Type
Description

getToolFakeConfig()

  public 
  
 ToolFakeConfig 
  
 getToolFakeConfig 
 () 
 

Optional. Configuration for tool behavior in fake mode.

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

Returns
Type
Description

The toolFakeConfig.

getToolFakeConfigOrBuilder()

  public 
  
 ToolFakeConfigOrBuilder 
  
 getToolFakeConfigOrBuilder 
 () 
 

Optional. Configuration for tool behavior in fake mode.

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

Returns
Type
Description

getToolTypeCase()

  public 
  
 Tool 
 . 
 ToolTypeCase 
  
 getToolTypeCase 
 () 
 
Returns
Type
Description

getUpdateTime()

  public 
  
 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

The updateTime.

getUpdateTimeOrBuilder()

  public 
  
 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

getWidgetTool()

  public 
  
 WidgetTool 
  
 getWidgetTool 
 () 
 

Optional. The widget tool.

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

Returns
Type
Description

The widgetTool.

getWidgetToolOrBuilder()

  public 
  
 WidgetToolOrBuilder 
  
 getWidgetToolOrBuilder 
 () 
 

Optional. The widget tool.

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

Returns
Type
Description

hasAgentTool()

  public 
  
 boolean 
  
 hasAgentTool 
 () 
 

Optional. The agent tool.

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

Returns
Type
Description

Whether the agentTool field is set.

hasClientFunction()

  public 
  
 boolean 
  
 hasClientFunction 
 () 
 

Optional. The client function.

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

Returns
Type
Description

Whether the clientFunction field is set.

hasConnectorTool()

  public 
  
 boolean 
  
 hasConnectorTool 
 () 
 

Optional. The Integration Connector tool.

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

Returns
Type
Description

Whether the connectorTool field is set.

hasCreateTime()

  public 
  
 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

Whether the createTime field is set.

hasDataStoreTool()

  public 
  
 boolean 
  
 hasDataStoreTool 
 () 
 

Optional. The data store tool.

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

Returns
Type
Description

Whether the dataStoreTool field is set.

hasFileSearchTool()

  public 
  
 boolean 
  
 hasFileSearchTool 
 () 
 

Optional. The file search tool.

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

Returns
Type
Description

Whether the fileSearchTool field is set.

hasGoogleSearchTool()

  public 
  
 boolean 
  
 hasGoogleSearchTool 
 () 
 

Optional. The google search tool.

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

Returns
Type
Description

Whether the googleSearchTool field is set.

hasMcpTool()

  public 
  
 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.v1.McpTool mcp_tool = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

Whether the mcpTool field is set.

hasOpenApiTool()

  public 
  
 boolean 
  
 hasOpenApiTool 
 () 
 

Optional. The open API tool.

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

Returns
Type
Description

Whether the openApiTool field is set.

hasPythonFunction()

  public 
  
 boolean 
  
 hasPythonFunction 
 () 
 

Optional. The python function tool.

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

Returns
Type
Description

Whether the pythonFunction field is set.

hasSystemTool()

  public 
  
 boolean 
  
 hasSystemTool 
 () 
 

Optional. The system tool.

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

Returns
Type
Description

Whether the systemTool field is set.

hasToolFakeConfig()

  public 
  
 boolean 
  
 hasToolFakeConfig 
 () 
 

Optional. Configuration for tool behavior in fake mode.

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

Returns
Type
Description

Whether the toolFakeConfig field is set.

hasUpdateTime()

  public 
  
 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

Whether the updateTime field is set.

hasWidgetTool()

  public 
  
 boolean 
  
 hasWidgetTool 
 () 
 

Optional. The widget tool.

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

Returns
Type
Description

Whether the widgetTool field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessage 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 Tool 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(AbstractMessage.BuilderParent parent)

  protected 
  
 Tool 
 . 
 Builder 
  
 newBuilderForType 
 ( 
 AbstractMessage 
 . 
 BuilderParent 
  
 parent 
 ) 
 
Parameter
Name
Description
parent
Returns
Type
Description
Overrides

toBuilder()

  public 
  
 Tool 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: