public static interface McpServer.ToolOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAnnotations()
public abstract McpServer.Tool.Annotations getAnnotations()Output only. Annotations associated with the tool.
.google.cloud.agentregistry.v1.McpServer.Tool.Annotations annotations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
McpServer.Tool.Annotations |
The annotations. |
getAnnotationsOrBuilder()
public abstract McpServer.Tool.AnnotationsOrBuilder getAnnotationsOrBuilder()Output only. Annotations associated with the tool.
.google.cloud.agentregistry.v1.McpServer.Tool.Annotations annotations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
McpServer.Tool.AnnotationsOrBuilder |
|
getDescription()
public abstract String getDescription()Output only. Description of what the tool does.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Output only. Description of what the tool does.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getName()
public abstract String getName()Output only. Human-readable name of the tool.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Output only. Human-readable name of the tool.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasAnnotations()
public abstract boolean hasAnnotations()Output only. Annotations associated with the tool.
.google.cloud.agentregistry.v1.McpServer.Tool.Annotations annotations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the annotations field is set. |