Class McpToolset (0.1.0)

public final class McpToolset extends GeneratedMessage implements McpToolsetOrBuilder

A toolset that contains a list of tools that are offered by the MCP server.

Protobuf type google.cloud.ces.v1.McpToolset

Implements

McpToolsetOrBuilder

Static Fields

API_AUTHENTICATION_FIELD_NUMBER

public static final int API_AUTHENTICATION_FIELD_NUMBER
Field Value
Type Description
int

SERVER_ADDRESS_FIELD_NUMBER

public static final int SERVER_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_DIRECTORY_CONFIG_FIELD_NUMBER

public static final int SERVICE_DIRECTORY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

TLS_CONFIG_FIELD_NUMBER

public static final int TLS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static McpToolset getDefaultInstance()
Returns
Type Description
McpToolset

getDescriptor()

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

newBuilder()

public static McpToolset.Builder newBuilder()
Returns
Type Description
McpToolset.Builder

newBuilder(McpToolset prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApiAuthentication()

public 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 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

getDefaultInstanceForType()

public McpToolset getDefaultInstanceForType()
Returns
Type Description
McpToolset

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServerAddress()

public 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 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 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 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 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 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 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 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 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public McpToolset.Builder newBuilderForType()
Returns
Type Description
McpToolset.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public McpToolset.Builder toBuilder()
Returns
Type Description
McpToolset.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException