Interface McpToolsetOrBuilder (0.1.0)

public interface McpToolsetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApiAuthentication()

public abstract ApiAuthentication getApiAuthentication()

Optional. Authentication information required to access tools and execute a 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApiAuthentication

The apiAuthentication.

getApiAuthenticationOrBuilder()

public abstract ApiAuthenticationOrBuilder getApiAuthenticationOrBuilder()

Optional. Authentication information required to access tools and execute a 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApiAuthenticationOrBuilder

getServerAddress()

public abstract String getServerAddress()

Required. The address of the MCP server, for example, "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. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.

string server_address = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serverAddress.

getServerAddressBytes()

public abstract ByteString getServerAddressBytes()

Required. The address of the MCP server, for example, "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. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.

string server_address = 1 [(.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 = 3 [(.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 = 3 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TlsConfigOrBuilder

hasApiAuthentication()

public abstract boolean hasApiAuthentication()

Optional. Authentication information required to access tools and execute a 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the apiAuthentication 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 = 3 [(.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the tlsConfig field is set.