public interface McpToolOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getApiAuthentication()
public abstract ApiAuthentication getApiAuthentication()Optional. Authentication information required to execute the tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication.
.google.cloud.ces.v1.ApiAuthentication api_authentication = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ApiAuthentication |
The apiAuthentication. |
getApiAuthenticationOrBuilder()
public abstract ApiAuthenticationOrBuilder getApiAuthenticationOrBuilder()Optional. Authentication information required to execute the tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication.
.google.cloud.ces.v1.ApiAuthentication api_authentication = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ApiAuthenticationOrBuilder |
|
getDescription()
public abstract String getDescription()Optional. The description of the MCP tool.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Optional. The description of the MCP tool.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getInputSchema()
public abstract Schema getInputSchema()Optional. The schema of the input arguments of the MCP tool.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Schema |
The inputSchema. |
getInputSchemaOrBuilder()
public abstract SchemaOrBuilder getInputSchemaOrBuilder()Optional. The schema of the input arguments of the MCP tool.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SchemaOrBuilder |
|
getName()
public abstract String getName()Required. The name of the MCP tool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Required. The name of the MCP tool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getOutputSchema()
public abstract Schema getOutputSchema()Optional. The schema of the output arguments of the MCP tool.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Schema |
The outputSchema. |
getOutputSchemaOrBuilder()
public abstract SchemaOrBuilder getOutputSchemaOrBuilder()Optional. The schema of the output arguments of the MCP tool.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SchemaOrBuilder |
|
getServerAddress()
public abstract String getServerAddress()Required. The server address of the MCP server, e.g., "https://example.com/mcp/". If the server is built with the MCP SDK, the url should be suffixed with "/mcp/". Only Streamable HTTP transport based servers are supported. This is the same as the server_address in the McpToolset. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.
string server_address = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The serverAddress. |
getServerAddressBytes()
public abstract ByteString getServerAddressBytes()Required. The server address of the MCP server, e.g., "https://example.com/mcp/". If the server is built with the MCP SDK, the url should be suffixed with "/mcp/". Only Streamable HTTP transport based servers are supported. This is the same as the server_address in the McpToolset. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.
string server_address = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serverAddress. |
getServiceDirectoryConfig()
public abstract ServiceDirectoryConfig getServiceDirectoryConfig()Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter.
.google.cloud.ces.v1.ServiceDirectoryConfig service_directory_config = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ServiceDirectoryConfig |
The serviceDirectoryConfig. |
getServiceDirectoryConfigOrBuilder()
public abstract ServiceDirectoryConfigOrBuilder getServiceDirectoryConfigOrBuilder()Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter.
.google.cloud.ces.v1.ServiceDirectoryConfig service_directory_config = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ServiceDirectoryConfigOrBuilder |
|
getTlsConfig()
public abstract TlsConfig getTlsConfig()Optional. The TLS configuration. Includes the custom server certificates that the client should trust.
.google.cloud.ces.v1.TlsConfig tls_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TlsConfig |
The tlsConfig. |
getTlsConfigOrBuilder()
public abstract TlsConfigOrBuilder getTlsConfigOrBuilder()Optional. The TLS configuration. Includes the custom server certificates that the client should trust.
.google.cloud.ces.v1.TlsConfig tls_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TlsConfigOrBuilder |
|
hasApiAuthentication()
public abstract boolean hasApiAuthentication()Optional. Authentication information required to execute the tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication.
.google.cloud.ces.v1.ApiAuthentication api_authentication = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the apiAuthentication field is set. |
hasInputSchema()
public abstract boolean hasInputSchema()Optional. The schema of the input arguments of the MCP tool.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inputSchema field is set. |
hasOutputSchema()
public abstract boolean hasOutputSchema()Optional. The schema of the output arguments of the MCP tool.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the outputSchema field is set. |
hasServiceDirectoryConfig()
public abstract boolean hasServiceDirectoryConfig()Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter.
.google.cloud.ces.v1.ServiceDirectoryConfig service_directory_config = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the serviceDirectoryConfig field is set. |
hasTlsConfig()
public abstract boolean hasTlsConfig()Optional. The TLS configuration. Includes the custom server certificates that the client should trust.
.google.cloud.ces.v1.TlsConfig tls_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tlsConfig field is set. |