Package org.a2aproject.sdk.compat03.grpc
Interface AgentCardOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AgentCard,AgentCard.Builder
@Generated
public interface AgentCardOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThe security scheme details used for authenticating with this agent.getAdditionalInterfaces(int index) Announcement of additional supported transports.intAnnouncement of additional supported transports.Announcement of additional supported transports.getAdditionalInterfacesOrBuilder(int index) Announcement of additional supported transports.List<? extends AgentInterfaceOrBuilder>Announcement of additional supported transports.A2A Capability set supported by the agent.A2A Capability set supported by the agent.getDefaultInputModes(int index) protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills.com.google.protobuf.ByteStringgetDefaultInputModesBytes(int index) protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills.intprotolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills.protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills.getDefaultOutputModes(int index) The mime types supported as outputs from this agent.com.google.protobuf.ByteStringgetDefaultOutputModesBytes(int index) The mime types supported as outputs from this agent.intThe mime types supported as outputs from this agent.The mime types supported as outputs from this agent.A description of the agent's domain of action/solution space.com.google.protobuf.ByteStringA description of the agent's domain of action/solution space.A url to provide additional documentation about the agent.com.google.protobuf.ByteStringA url to provide additional documentation about the agent.getName()A human readable name for the agent.com.google.protobuf.ByteStringA human readable name for the agent.The transport of the preferred endpoint.com.google.protobuf.ByteStringThe transport of the preferred endpoint.The version of the A2A protocol this agent supports.com.google.protobuf.ByteStringThe version of the A2A protocol this agent supports.The service provider of the agent.The service provider of the agent.getSecurity(int index) protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent.intprotolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent.protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent.getSecurityOrBuilder(int index) protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent.List<? extends SecurityOrBuilder>protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent.Deprecated.intThe security scheme details used for authenticating with this agent.The security scheme details used for authenticating with this agent.getSecuritySchemesOrDefault(String key, SecurityScheme defaultValue) The security scheme details used for authenticating with this agent.The security scheme details used for authenticating with this agent.getSignatures(int index) JSON Web Signatures computed for this AgentCard.intJSON Web Signatures computed for this AgentCard.JSON Web Signatures computed for this AgentCard.getSignaturesOrBuilder(int index) JSON Web Signatures computed for this AgentCard.List<? extends AgentCardSignatureOrBuilder>JSON Web Signatures computed for this AgentCard.getSkills(int index) Skills represent a unit of ability an agent can perform.intSkills represent a unit of ability an agent can perform.Skills represent a unit of ability an agent can perform.getSkillsOrBuilder(int index) Skills represent a unit of ability an agent can perform.List<? extends AgentSkillOrBuilder>Skills represent a unit of ability an agent can perform.booleanWhether the agent supports providing an extended agent card when the user is authenticated, i.e. is the card from .well-known different than the card from GetAgentCard.getUrl()A URL to the address the agent is hosted at.com.google.protobuf.ByteStringA URL to the address the agent is hosted at.The version of the agent.com.google.protobuf.ByteStringThe version of the agent.booleanA2A Capability set supported by the agent.booleanThe service provider of the agent.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProtocolVersion
String getProtocolVersion()The version of the A2A protocol this agent supports.
string protocol_version = 16;- Returns:
- The protocolVersion.
-
getProtocolVersionBytes
com.google.protobuf.ByteString getProtocolVersionBytes()The version of the A2A protocol this agent supports.
string protocol_version = 16;- Returns:
- The bytes for protocolVersion.
-
getName
String getName()A human readable name for the agent. Example: "Recipe Agent"
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()A human readable name for the agent. Example: "Recipe Agent"
string name = 1;- Returns:
- The bytes for name.
-
getDescription
String getDescription()A description of the agent's domain of action/solution space. Example: "Agent that helps users with recipes and cooking."
string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()A description of the agent's domain of action/solution space. Example: "Agent that helps users with recipes and cooking."
string description = 2;- Returns:
- The bytes for description.
-
getUrl
String getUrl()A URL to the address the agent is hosted at. This represents the preferred endpoint as declared by the agent.
string url = 3;- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()A URL to the address the agent is hosted at. This represents the preferred endpoint as declared by the agent.
string url = 3;- Returns:
- The bytes for url.
-
getPreferredTransport
String getPreferredTransport()The transport of the preferred endpoint. If empty, defaults to JSONRPC.
string preferred_transport = 14;- Returns:
- The preferredTransport.
-
getPreferredTransportBytes
com.google.protobuf.ByteString getPreferredTransportBytes()The transport of the preferred endpoint. If empty, defaults to JSONRPC.
string preferred_transport = 14;- Returns:
- The bytes for preferredTransport.
-
getAdditionalInterfacesList
List<AgentInterface> getAdditionalInterfacesList()Announcement of additional supported transports. Client can use any of the supported transports.
repeated .a2a.v1.AgentInterface additional_interfaces = 15; -
getAdditionalInterfaces
Announcement of additional supported transports. Client can use any of the supported transports.
repeated .a2a.v1.AgentInterface additional_interfaces = 15; -
getAdditionalInterfacesCount
int getAdditionalInterfacesCount()Announcement of additional supported transports. Client can use any of the supported transports.
repeated .a2a.v1.AgentInterface additional_interfaces = 15; -
getAdditionalInterfacesOrBuilderList
List<? extends AgentInterfaceOrBuilder> getAdditionalInterfacesOrBuilderList()Announcement of additional supported transports. Client can use any of the supported transports.
repeated .a2a.v1.AgentInterface additional_interfaces = 15; -
getAdditionalInterfacesOrBuilder
Announcement of additional supported transports. Client can use any of the supported transports.
repeated .a2a.v1.AgentInterface additional_interfaces = 15; -
hasProvider
boolean hasProvider()The service provider of the agent.
.a2a.v1.AgentProvider provider = 4;- Returns:
- Whether the provider field is set.
-
getProvider
AgentProvider getProvider()The service provider of the agent.
.a2a.v1.AgentProvider provider = 4;- Returns:
- The provider.
-
getProviderOrBuilder
AgentProviderOrBuilder getProviderOrBuilder()The service provider of the agent.
.a2a.v1.AgentProvider provider = 4; -
getVersion
String getVersion()The version of the agent. Example: "1.0.0"
string version = 5;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()The version of the agent. Example: "1.0.0"
string version = 5;- Returns:
- The bytes for version.
-
getDocumentationUrl
String getDocumentationUrl()A url to provide additional documentation about the agent.
string documentation_url = 6;- Returns:
- The documentationUrl.
-
getDocumentationUrlBytes
com.google.protobuf.ByteString getDocumentationUrlBytes()A url to provide additional documentation about the agent.
string documentation_url = 6;- Returns:
- The bytes for documentationUrl.
-
hasCapabilities
boolean hasCapabilities()A2A Capability set supported by the agent.
.a2a.v1.AgentCapabilities capabilities = 7;- Returns:
- Whether the capabilities field is set.
-
getCapabilities
AgentCapabilities getCapabilities()A2A Capability set supported by the agent.
.a2a.v1.AgentCapabilities capabilities = 7;- Returns:
- The capabilities.
-
getCapabilitiesOrBuilder
AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder()A2A Capability set supported by the agent.
.a2a.v1.AgentCapabilities capabilities = 7; -
getSecuritySchemesCount
int getSecuritySchemesCount()The security scheme details used for authenticating with this agent.
map<string, .a2a.v1.SecurityScheme> security_schemes = 8; -
containsSecuritySchemes
The security scheme details used for authenticating with this agent.
map<string, .a2a.v1.SecurityScheme> security_schemes = 8; -
getSecuritySchemes
Deprecated.UsegetSecuritySchemesMap()instead. -
getSecuritySchemesMap
Map<String,SecurityScheme> getSecuritySchemesMap()The security scheme details used for authenticating with this agent.
map<string, .a2a.v1.SecurityScheme> security_schemes = 8; -
getSecuritySchemesOrDefault
The security scheme details used for authenticating with this agent.
map<string, .a2a.v1.SecurityScheme> security_schemes = 8; -
getSecuritySchemesOrThrow
The security scheme details used for authenticating with this agent.
map<string, .a2a.v1.SecurityScheme> security_schemes = 8; -
getSecurityList
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." Example: security { schemes { key: "oauth" value { list: ["read"] } } } security { schemes { key: "api-key" } schemes { key: "mtls" } }repeated .a2a.v1.Security security = 9; -
getSecurity
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." Example: security { schemes { key: "oauth" value { list: ["read"] } } } security { schemes { key: "api-key" } schemes { key: "mtls" } }repeated .a2a.v1.Security security = 9; -
getSecurityCount
int getSecurityCount()protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." Example: security { schemes { key: "oauth" value { list: ["read"] } } } security { schemes { key: "api-key" } schemes { key: "mtls" } }repeated .a2a.v1.Security security = 9; -
getSecurityOrBuilderList
List<? extends SecurityOrBuilder> getSecurityOrBuilderList()protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." Example: security { schemes { key: "oauth" value { list: ["read"] } } } security { schemes { key: "api-key" } schemes { key: "mtls" } }repeated .a2a.v1.Security security = 9; -
getSecurityOrBuilder
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." Example: security { schemes { key: "oauth" value { list: ["read"] } } } security { schemes { key: "api-key" } schemes { key: "mtls" } }repeated .a2a.v1.Security security = 9; -
getDefaultInputModesList
protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills. This can be overridden per skill. Defined as mime types.
repeated string default_input_modes = 10;- Returns:
- A list containing the defaultInputModes.
-
getDefaultInputModesCount
int getDefaultInputModesCount()protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills. This can be overridden per skill. Defined as mime types.
repeated string default_input_modes = 10;- Returns:
- The count of defaultInputModes.
-
getDefaultInputModes
protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills. This can be overridden per skill. Defined as mime types.
repeated string default_input_modes = 10;- Parameters:
index- The index of the element to return.- Returns:
- The defaultInputModes at the given index.
-
getDefaultInputModesBytes
com.google.protobuf.ByteString getDefaultInputModesBytes(int index) protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills. This can be overridden per skill. Defined as mime types.
repeated string default_input_modes = 10;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the defaultInputModes at the given index.
-
getDefaultOutputModesList
The mime types supported as outputs from this agent.
repeated string default_output_modes = 11;- Returns:
- A list containing the defaultOutputModes.
-
getDefaultOutputModesCount
int getDefaultOutputModesCount()The mime types supported as outputs from this agent.
repeated string default_output_modes = 11;- Returns:
- The count of defaultOutputModes.
-
getDefaultOutputModes
The mime types supported as outputs from this agent.
repeated string default_output_modes = 11;- Parameters:
index- The index of the element to return.- Returns:
- The defaultOutputModes at the given index.
-
getDefaultOutputModesBytes
com.google.protobuf.ByteString getDefaultOutputModesBytes(int index) The mime types supported as outputs from this agent.
repeated string default_output_modes = 11;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the defaultOutputModes at the given index.
-
getSkillsList
List<AgentSkill> getSkillsList()Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at.
repeated .a2a.v1.AgentSkill skills = 12; -
getSkills
Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at.
repeated .a2a.v1.AgentSkill skills = 12; -
getSkillsCount
int getSkillsCount()Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at.
repeated .a2a.v1.AgentSkill skills = 12; -
getSkillsOrBuilderList
List<? extends AgentSkillOrBuilder> getSkillsOrBuilderList()Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at.
repeated .a2a.v1.AgentSkill skills = 12; -
getSkillsOrBuilder
Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at.
repeated .a2a.v1.AgentSkill skills = 12; -
getSupportsAuthenticatedExtendedCard
boolean getSupportsAuthenticatedExtendedCard()Whether the agent supports providing an extended agent card when the user is authenticated, i.e. is the card from .well-known different than the card from GetAgentCard.
bool supports_authenticated_extended_card = 13;- Returns:
- The supportsAuthenticatedExtendedCard.
-
getSignaturesList
List<AgentCardSignature> getSignaturesList()JSON Web Signatures computed for this AgentCard.
repeated .a2a.v1.AgentCardSignature signatures = 17; -
getSignatures
JSON Web Signatures computed for this AgentCard.
repeated .a2a.v1.AgentCardSignature signatures = 17; -
getSignaturesCount
int getSignaturesCount()JSON Web Signatures computed for this AgentCard.
repeated .a2a.v1.AgentCardSignature signatures = 17; -
getSignaturesOrBuilderList
List<? extends AgentCardSignatureOrBuilder> getSignaturesOrBuilderList()JSON Web Signatures computed for this AgentCard.
repeated .a2a.v1.AgentCardSignature signatures = 17; -
getSignaturesOrBuilder
JSON Web Signatures computed for this AgentCard.
repeated .a2a.v1.AgentCardSignature signatures = 17;
-