Package org.a2aproject.sdk.compat03.grpc
Class AgentCard
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.a2aproject.sdk.compat03.grpc.AgentCard
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,AgentCardOrBuilder
@Generated
public final class AgentCard
extends com.google.protobuf.GeneratedMessage
implements AgentCardOrBuilder
AgentCard conveys key information: - Overall details (version, name, description, uses) - Skills; a set of actions/solutions the agent can perform - Default modalities/content types supported by the agent. - Authentication requirements Next ID: 18Protobuf type
a2a.v1.AgentCard- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAgentCard conveys key information: - Overall details (version, name, description, uses) - Skills; a set of actions/solutions the agent can perform - Default modalities/content types supported by the agentNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe security scheme details used for authenticating with this agent.booleangetAdditionalInterfaces(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.com.google.protobuf.ProtocolStringListprotolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills.static AgentCardgetDefaultOutputModes(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.com.google.protobuf.ProtocolStringListThe 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.static final com.google.protobuf.Descriptors.DescriptorA 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.com.google.protobuf.Parser<AgentCard>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.intgetSignatures(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.inthashCode()booleanThe service provider of the agent.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic AgentCard.Builderstatic AgentCard.BuildernewBuilder(AgentCard prototype) protected AgentCard.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AgentCardparseDelimitedFrom(InputStream input) static AgentCardparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentCardparseFrom(byte[] data) static AgentCardparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentCardparseFrom(com.google.protobuf.ByteString data) static AgentCardparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentCardparseFrom(com.google.protobuf.CodedInputStream input) static AgentCardparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentCardparseFrom(InputStream input) static AgentCardparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentCardparseFrom(ByteBuffer data) static AgentCardparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AgentCard>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PROTOCOL_VERSION_FIELD_NUMBER
public static final int PROTOCOL_VERSION_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER- See Also:
-
PREFERRED_TRANSPORT_FIELD_NUMBER
public static final int PREFERRED_TRANSPORT_FIELD_NUMBER- See Also:
-
ADDITIONAL_INTERFACES_FIELD_NUMBER
public static final int ADDITIONAL_INTERFACES_FIELD_NUMBER- See Also:
-
PROVIDER_FIELD_NUMBER
public static final int PROVIDER_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
DOCUMENTATION_URL_FIELD_NUMBER
public static final int DOCUMENTATION_URL_FIELD_NUMBER- See Also:
-
CAPABILITIES_FIELD_NUMBER
public static final int CAPABILITIES_FIELD_NUMBER- See Also:
-
SECURITY_SCHEMES_FIELD_NUMBER
public static final int SECURITY_SCHEMES_FIELD_NUMBER- See Also:
-
SECURITY_FIELD_NUMBER
public static final int SECURITY_FIELD_NUMBER- See Also:
-
DEFAULT_INPUT_MODES_FIELD_NUMBER
public static final int DEFAULT_INPUT_MODES_FIELD_NUMBER- See Also:
-
DEFAULT_OUTPUT_MODES_FIELD_NUMBER
public static final int DEFAULT_OUTPUT_MODES_FIELD_NUMBER- See Also:
-
SKILLS_FIELD_NUMBER
public static final int SKILLS_FIELD_NUMBER- See Also:
-
SUPPORTS_AUTHENTICATED_EXTENDED_CARD_FIELD_NUMBER
public static final int SUPPORTS_AUTHENTICATED_EXTENDED_CARD_FIELD_NUMBER- See Also:
-
SIGNATURES_FIELD_NUMBER
public static final int SIGNATURES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getProtocolVersion
The version of the A2A protocol this agent supports.
string protocol_version = 16;- Specified by:
getProtocolVersionin interfaceAgentCardOrBuilder- Returns:
- The protocolVersion.
-
getProtocolVersionBytes
public com.google.protobuf.ByteString getProtocolVersionBytes()The version of the A2A protocol this agent supports.
string protocol_version = 16;- Specified by:
getProtocolVersionBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for protocolVersion.
-
getName
A human readable name for the agent. Example: "Recipe Agent"
string name = 1;- Specified by:
getNamein interfaceAgentCardOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()A human readable name for the agent. Example: "Recipe Agent"
string name = 1;- Specified by:
getNameBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for name.
-
getDescription
A description of the agent's domain of action/solution space. Example: "Agent that helps users with recipes and cooking."
string description = 2;- Specified by:
getDescriptionin interfaceAgentCardOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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;- Specified by:
getDescriptionBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for description.
-
getUrl
A URL to the address the agent is hosted at. This represents the preferred endpoint as declared by the agent.
string url = 3;- Specified by:
getUrlin interfaceAgentCardOrBuilder- Returns:
- The url.
-
getUrlBytes
public 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;- Specified by:
getUrlBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for url.
-
getPreferredTransport
The transport of the preferred endpoint. If empty, defaults to JSONRPC.
string preferred_transport = 14;- Specified by:
getPreferredTransportin interfaceAgentCardOrBuilder- Returns:
- The preferredTransport.
-
getPreferredTransportBytes
public com.google.protobuf.ByteString getPreferredTransportBytes()The transport of the preferred endpoint. If empty, defaults to JSONRPC.
string preferred_transport = 14;- Specified by:
getPreferredTransportBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for preferredTransport.
-
getAdditionalInterfacesList
Announcement of additional supported transports. Client can use any of the supported transports.
repeated .a2a.v1.AgentInterface additional_interfaces = 15;- Specified by:
getAdditionalInterfacesListin interfaceAgentCardOrBuilder
-
getAdditionalInterfacesOrBuilderList
Announcement of additional supported transports. Client can use any of the supported transports.
repeated .a2a.v1.AgentInterface additional_interfaces = 15;- Specified by:
getAdditionalInterfacesOrBuilderListin interfaceAgentCardOrBuilder
-
getAdditionalInterfacesCount
public int getAdditionalInterfacesCount()Announcement of additional supported transports. Client can use any of the supported transports.
repeated .a2a.v1.AgentInterface additional_interfaces = 15;- Specified by:
getAdditionalInterfacesCountin interfaceAgentCardOrBuilder
-
getAdditionalInterfaces
Announcement of additional supported transports. Client can use any of the supported transports.
repeated .a2a.v1.AgentInterface additional_interfaces = 15;- Specified by:
getAdditionalInterfacesin interfaceAgentCardOrBuilder
-
getAdditionalInterfacesOrBuilder
Announcement of additional supported transports. Client can use any of the supported transports.
repeated .a2a.v1.AgentInterface additional_interfaces = 15;- Specified by:
getAdditionalInterfacesOrBuilderin interfaceAgentCardOrBuilder
-
hasProvider
public boolean hasProvider()The service provider of the agent.
.a2a.v1.AgentProvider provider = 4;- Specified by:
hasProviderin interfaceAgentCardOrBuilder- Returns:
- Whether the provider field is set.
-
getProvider
The service provider of the agent.
.a2a.v1.AgentProvider provider = 4;- Specified by:
getProviderin interfaceAgentCardOrBuilder- Returns:
- The provider.
-
getProviderOrBuilder
The service provider of the agent.
.a2a.v1.AgentProvider provider = 4;- Specified by:
getProviderOrBuilderin interfaceAgentCardOrBuilder
-
getVersion
The version of the agent. Example: "1.0.0"
string version = 5;- Specified by:
getVersionin interfaceAgentCardOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()The version of the agent. Example: "1.0.0"
string version = 5;- Specified by:
getVersionBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for version.
-
getDocumentationUrl
A url to provide additional documentation about the agent.
string documentation_url = 6;- Specified by:
getDocumentationUrlin interfaceAgentCardOrBuilder- Returns:
- The documentationUrl.
-
getDocumentationUrlBytes
public com.google.protobuf.ByteString getDocumentationUrlBytes()A url to provide additional documentation about the agent.
string documentation_url = 6;- Specified by:
getDocumentationUrlBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for documentationUrl.
-
hasCapabilities
public boolean hasCapabilities()A2A Capability set supported by the agent.
.a2a.v1.AgentCapabilities capabilities = 7;- Specified by:
hasCapabilitiesin interfaceAgentCardOrBuilder- Returns:
- Whether the capabilities field is set.
-
getCapabilities
A2A Capability set supported by the agent.
.a2a.v1.AgentCapabilities capabilities = 7;- Specified by:
getCapabilitiesin interfaceAgentCardOrBuilder- Returns:
- The capabilities.
-
getCapabilitiesOrBuilder
A2A Capability set supported by the agent.
.a2a.v1.AgentCapabilities capabilities = 7;- Specified by:
getCapabilitiesOrBuilderin interfaceAgentCardOrBuilder
-
getSecuritySchemesCount
public int getSecuritySchemesCount()Description copied from interface:AgentCardOrBuilderThe security scheme details used for authenticating with this agent.
map<string, .a2a.v1.SecurityScheme> security_schemes = 8;- Specified by:
getSecuritySchemesCountin interfaceAgentCardOrBuilder
-
containsSecuritySchemes
The security scheme details used for authenticating with this agent.
map<string, .a2a.v1.SecurityScheme> security_schemes = 8;- Specified by:
containsSecuritySchemesin interfaceAgentCardOrBuilder
-
getSecuritySchemes
Deprecated.UsegetSecuritySchemesMap()instead.- Specified by:
getSecuritySchemesin interfaceAgentCardOrBuilder
-
getSecuritySchemesMap
The security scheme details used for authenticating with this agent.
map<string, .a2a.v1.SecurityScheme> security_schemes = 8;- Specified by:
getSecuritySchemesMapin interfaceAgentCardOrBuilder
-
getSecuritySchemesOrDefault
The security scheme details used for authenticating with this agent.
map<string, .a2a.v1.SecurityScheme> security_schemes = 8;- Specified by:
getSecuritySchemesOrDefaultin interfaceAgentCardOrBuilder
-
getSecuritySchemesOrThrow
The security scheme details used for authenticating with this agent.
map<string, .a2a.v1.SecurityScheme> security_schemes = 8;- Specified by:
getSecuritySchemesOrThrowin interfaceAgentCardOrBuilder
-
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;- Specified by:
getSecurityListin interfaceAgentCardOrBuilder
-
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;- Specified by:
getSecurityOrBuilderListin interfaceAgentCardOrBuilder
-
getSecurityCount
public 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;- Specified by:
getSecurityCountin interfaceAgentCardOrBuilder
-
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;- Specified by:
getSecurityin interfaceAgentCardOrBuilder
-
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;- Specified by:
getSecurityOrBuilderin interfaceAgentCardOrBuilder
-
getDefaultInputModesList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getDefaultInputModesListin interfaceAgentCardOrBuilder- Returns:
- A list containing the defaultInputModes.
-
getDefaultInputModesCount
public 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;- Specified by:
getDefaultInputModesCountin interfaceAgentCardOrBuilder- 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;- Specified by:
getDefaultInputModesin interfaceAgentCardOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The defaultInputModes at the given index.
-
getDefaultInputModesBytes
public 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;- Specified by:
getDefaultInputModesBytesin interfaceAgentCardOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the defaultInputModes at the given index.
-
getDefaultOutputModesList
public com.google.protobuf.ProtocolStringList getDefaultOutputModesList()The mime types supported as outputs from this agent.
repeated string default_output_modes = 11;- Specified by:
getDefaultOutputModesListin interfaceAgentCardOrBuilder- Returns:
- A list containing the defaultOutputModes.
-
getDefaultOutputModesCount
public int getDefaultOutputModesCount()The mime types supported as outputs from this agent.
repeated string default_output_modes = 11;- Specified by:
getDefaultOutputModesCountin interfaceAgentCardOrBuilder- Returns:
- The count of defaultOutputModes.
-
getDefaultOutputModes
The mime types supported as outputs from this agent.
repeated string default_output_modes = 11;- Specified by:
getDefaultOutputModesin interfaceAgentCardOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The defaultOutputModes at the given index.
-
getDefaultOutputModesBytes
public com.google.protobuf.ByteString getDefaultOutputModesBytes(int index) The mime types supported as outputs from this agent.
repeated string default_output_modes = 11;- Specified by:
getDefaultOutputModesBytesin interfaceAgentCardOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the defaultOutputModes at the given index.
-
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;- Specified by:
getSkillsListin interfaceAgentCardOrBuilder
-
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;- Specified by:
getSkillsOrBuilderListin interfaceAgentCardOrBuilder
-
getSkillsCount
public 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;- Specified by:
getSkillsCountin interfaceAgentCardOrBuilder
-
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;- Specified by:
getSkillsin interfaceAgentCardOrBuilder
-
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;- Specified by:
getSkillsOrBuilderin interfaceAgentCardOrBuilder
-
getSupportsAuthenticatedExtendedCard
public 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;- Specified by:
getSupportsAuthenticatedExtendedCardin interfaceAgentCardOrBuilder- Returns:
- The supportsAuthenticatedExtendedCard.
-
getSignaturesList
JSON Web Signatures computed for this AgentCard.
repeated .a2a.v1.AgentCardSignature signatures = 17;- Specified by:
getSignaturesListin interfaceAgentCardOrBuilder
-
getSignaturesOrBuilderList
JSON Web Signatures computed for this AgentCard.
repeated .a2a.v1.AgentCardSignature signatures = 17;- Specified by:
getSignaturesOrBuilderListin interfaceAgentCardOrBuilder
-
getSignaturesCount
public int getSignaturesCount()JSON Web Signatures computed for this AgentCard.
repeated .a2a.v1.AgentCardSignature signatures = 17;- Specified by:
getSignaturesCountin interfaceAgentCardOrBuilder
-
getSignatures
JSON Web Signatures computed for this AgentCard.
repeated .a2a.v1.AgentCardSignature signatures = 17;- Specified by:
getSignaturesin interfaceAgentCardOrBuilder
-
getSignaturesOrBuilder
JSON Web Signatures computed for this AgentCard.
repeated .a2a.v1.AgentCardSignature signatures = 17;- Specified by:
getSignaturesOrBuilderin interfaceAgentCardOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AgentCard parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AgentCard parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AgentCard parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AgentCard parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AgentCard parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AgentCard parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AgentCard parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AgentCard parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AgentCard parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AgentCard.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-