public static interface Binding.TargetOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getIdentifier()
public abstract String getIdentifier()The identifier of the target Agent, MCP Server, or Endpoint. Format:
urn:agent:{publisher}:{namespace}:{name}urn:mcp:{publisher}:{namespace}:{name}urn:endpoint:{publisher}:{namespace}:{name}
string identifier = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The identifier. |
getIdentifierBytes()
public abstract ByteString getIdentifierBytes()The identifier of the target Agent, MCP Server, or Endpoint. Format:
urn:agent:{publisher}:{namespace}:{name}urn:mcp:{publisher}:{namespace}:{name}urn:endpoint:{publisher}:{namespace}:{name}
string identifier = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for identifier. |
getTargetTypeCase()
public abstract Binding.Target.TargetTypeCase getTargetTypeCase()| Returns | |
|---|---|
| Type | Description |
Binding.Target.TargetTypeCase |
|
hasIdentifier()
public abstract boolean hasIdentifier()The identifier of the target Agent, MCP Server, or Endpoint. Format:
urn:agent:{publisher}:{namespace}:{name}urn:mcp:{publisher}:{namespace}:{name}urn:endpoint:{publisher}:{namespace}:{name}
string identifier = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the identifier field is set. |