Interface McpToolOverrideOrBuilder (0.9.0)

public interface McpToolOverrideOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescriptionOverride()

public abstract String getDescriptionOverride()

Optional. If present, this tool uses this description instead of the original description from the server.

string description_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The descriptionOverride.

getDescriptionOverrideBytes()

public abstract ByteString getDescriptionOverrideBytes()

Optional. If present, this tool uses this description instead of the original description from the server.

string description_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for descriptionOverride.

getNameOverride()

public abstract String getNameOverride()

Optional. If present, this tool uses this name in the Agent instead of the original name. This is primarily used as an alias if the MCP server offers poorly named tools.

string name_override = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nameOverride.

getNameOverrideBytes()

public abstract ByteString getNameOverrideBytes()

Optional. If present, this tool uses this name in the Agent instead of the original name. This is primarily used as an alias if the MCP server offers poorly named tools.

string name_override = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nameOverride.

getSnapshot()

public abstract McpToolDefinition getSnapshot()

Output only. If present, this tool is "Pinned" and uses the snapshot values as fallbacks if the server becomes temporarily unavailable or if no Override is present.

.google.cloud.ces.v1beta.McpToolDefinition snapshot = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
McpToolDefinition

The snapshot.

getSnapshotOrBuilder()

public abstract McpToolDefinitionOrBuilder getSnapshotOrBuilder()

Output only. If present, this tool is "Pinned" and uses the snapshot values as fallbacks if the server becomes temporarily unavailable or if no Override is present.

.google.cloud.ces.v1beta.McpToolDefinition snapshot = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
McpToolDefinitionOrBuilder

getTool()

public abstract String getTool()

Required. The original name of the tool as it is emitted by the MCP server.

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

Returns
Type Description
String

The tool.

getToolBytes()

public abstract ByteString getToolBytes()

Required. The original name of the tool as it is emitted by the MCP server.

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

Returns
Type Description
ByteString

The bytes for tool.

hasSnapshot()

public abstract boolean hasSnapshot()

Output only. If present, this tool is "Pinned" and uses the snapshot values as fallbacks if the server becomes temporarily unavailable or if no Override is present.

.google.cloud.ces.v1beta.McpToolDefinition snapshot = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the snapshot field is set.