Class McpToolName.ProjectLocationMcpServerMcpToolBuilder (0.10.0)
0.10.0 (latest)
0.7.0
0.6.0
0.4.0
0.2.0
0.1.0
public static class McpToolName . ProjectLocationMcpServerMcpToolBuilder
Builder for
projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}.
Inheritance
java.lang.Object >
McpToolName.ProjectLocationMcpServerMcpToolBuilder
Constructors
protected ProjectLocationMcpServerMcpToolBuilder ()
Methods
public McpToolName build ()
public String getLocation ()
Returns
Type
Description
String
public String getMcpServer ()
Returns
Type
Description
String
public String getMcpTool ()
Returns
Type
Description
String
public String getProject ()
Returns
Type
Description
String
public McpToolName . ProjectLocationMcpServerMcpToolBuilder setLocation ( String location )
Parameter
Name
Description
location
String
public McpToolName . ProjectLocationMcpServerMcpToolBuilder setMcpServer ( String mcpServer )
Parameter
Name
Description
mcpServer
String
public McpToolName . ProjectLocationMcpServerMcpToolBuilder setMcpTool ( String mcpTool )
Parameter
Name
Description
mcpTool
String
public McpToolName . ProjectLocationMcpServerMcpToolBuilder setProject ( String project )
Parameter
Name
Description
project
String
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-25 UTC."],[],[]]