public static interface Service.McpServerSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContent()
public abstract Struct getContent() Optional. The content of the MCP Server spec.
This payload is validated against the schema for the specified type.
The content size is limited to 10KB.
.google.protobuf.Struct content = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The content. |
getContentOrBuilder()
public abstract StructOrBuilder getContentOrBuilder() Optional. The content of the MCP Server spec.
This payload is validated against the schema for the specified type.
The content size is limited to 10KB.
.google.protobuf.Struct content = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getType()
public abstract Service.McpServerSpec.Type getType()Required. The type of the MCP Server spec content.
.google.cloud.agentregistry.v1.Service.McpServerSpec.Type type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Service.McpServerSpec.Type |
The type. |
getTypeValue()
public abstract int getTypeValue()Required. The type of the MCP Server spec content.
.google.cloud.agentregistry.v1.Service.McpServerSpec.Type type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasContent()
public abstract boolean hasContent() Optional. The content of the MCP Server spec.
This payload is validated against the schema for the specified type.
The content size is limited to 10KB.
.google.protobuf.Struct content = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the content field is set. |