Package org.a2aproject.sdk.grpc
Class AgentCard
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.a2aproject.sdk.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
A self-describing manifest for an agent. It provides essential metadata including the agent's identity, capabilities, skills, supported communication methods, and security requirements. Next ID: 20Protobuf type
lf.a2a.v1.AgentCard- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA self-describing manifest for an agent.Nested 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 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.booleanA2A 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 media types supported as outputs from this agent.com.google.protobuf.ByteStringgetDefaultOutputModesBytes(int index) The media types supported as outputs from this agent.intThe media types supported as outputs from this agent.com.google.protobuf.ProtocolStringListThe media types supported as outputs from this agent.A human-readable description of the agent, assisting users and other agents in understanding its purpose.com.google.protobuf.ByteStringA human-readable description of the agent, assisting users and other agents in understanding its purpose.static final com.google.protobuf.Descriptors.DescriptorA URL providing additional documentation about the agent.com.google.protobuf.ByteStringA URL providing additional documentation about the agent.Optional.com.google.protobuf.ByteStringOptional.getName()A human readable name for the agent.com.google.protobuf.ByteStringA human readable name for the agent.com.google.protobuf.Parser<AgentCard>The service provider of the agent.The service provider of the agent.getSecurityRequirements(int index) Security requirements for contacting the agent.intSecurity requirements for contacting the agent.Security requirements for contacting the agent.getSecurityRequirementsOrBuilder(int index) Security requirements for contacting the agent.List<? extends SecurityRequirementOrBuilder>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 the abilities of an agent.intSkills represent the abilities of an agent.Skills represent the abilities of an agent.getSkillsOrBuilder(int index) Skills represent the abilities of an agent.List<? extends AgentSkillOrBuilder>Skills represent the abilities of an agent.getSupportedInterfaces(int index) Ordered list of supported interfaces.intOrdered list of supported interfaces.Ordered list of supported interfaces.getSupportedInterfacesOrBuilder(int index) Ordered list of supported interfaces.List<? extends AgentInterfaceOrBuilder>Ordered list of supported interfaces.The version of the agent.com.google.protobuf.ByteStringThe version of the agent.booleanA2A Capability set supported by the agent.booleanA URL providing additional documentation about the agent.inthashCode()booleanOptional.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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
SUPPORTED_INTERFACES_FIELD_NUMBER
public static final int SUPPORTED_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_REQUIREMENTS_FIELD_NUMBER
public static final int SECURITY_REQUIREMENTS_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:
-
SIGNATURES_FIELD_NUMBER
public static final int SIGNATURES_FIELD_NUMBER- See Also:
-
ICON_URL_FIELD_NUMBER
public static final int ICON_URL_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
-
getName
A human readable name for the agent. Example: "Recipe Agent"
string name = 1 [(.google.api.field_behavior) = REQUIRED];- 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 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for name.
-
getDescription
A human-readable description of the agent, assisting users and other agents in understanding its purpose. Example: "Agent that helps users with recipes and cooking."
string description = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDescriptionin interfaceAgentCardOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A human-readable description of the agent, assisting users and other agents in understanding its purpose. Example: "Agent that helps users with recipes and cooking."
string description = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDescriptionBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for description.
-
getSupportedInterfacesList
Ordered list of supported interfaces. The first entry is preferred.
repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSupportedInterfacesListin interfaceAgentCardOrBuilder
-
getSupportedInterfacesOrBuilderList
Ordered list of supported interfaces. The first entry is preferred.
repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSupportedInterfacesOrBuilderListin interfaceAgentCardOrBuilder
-
getSupportedInterfacesCount
public int getSupportedInterfacesCount()Ordered list of supported interfaces. The first entry is preferred.
repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSupportedInterfacesCountin interfaceAgentCardOrBuilder
-
getSupportedInterfaces
Ordered list of supported interfaces. The first entry is preferred.
repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSupportedInterfacesin interfaceAgentCardOrBuilder
-
getSupportedInterfacesOrBuilder
Ordered list of supported interfaces. The first entry is preferred.
repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSupportedInterfacesOrBuilderin interfaceAgentCardOrBuilder
-
hasProvider
public boolean hasProvider()The service provider of the agent.
.lf.a2a.v1.AgentProvider provider = 4;- Specified by:
hasProviderin interfaceAgentCardOrBuilder- Returns:
- Whether the provider field is set.
-
getProvider
The service provider of the agent.
.lf.a2a.v1.AgentProvider provider = 4;- Specified by:
getProviderin interfaceAgentCardOrBuilder- Returns:
- The provider.
-
getProviderOrBuilder
The service provider of the agent.
.lf.a2a.v1.AgentProvider provider = 4;- Specified by:
getProviderOrBuilderin interfaceAgentCardOrBuilder
-
getVersion
The version of the agent. Example: "1.0.0"
string version = 5 [(.google.api.field_behavior) = REQUIRED];- 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 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVersionBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for version.
-
hasDocumentationUrl
public boolean hasDocumentationUrl()A URL providing additional documentation about the agent.
optional string documentation_url = 6;- Specified by:
hasDocumentationUrlin interfaceAgentCardOrBuilder- Returns:
- Whether the documentationUrl field is set.
-
getDocumentationUrl
A URL providing additional documentation about the agent.
optional string documentation_url = 6;- Specified by:
getDocumentationUrlin interfaceAgentCardOrBuilder- Returns:
- The documentationUrl.
-
getDocumentationUrlBytes
public com.google.protobuf.ByteString getDocumentationUrlBytes()A URL providing additional documentation about the agent.
optional string documentation_url = 6;- Specified by:
getDocumentationUrlBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for documentationUrl.
-
hasCapabilities
public boolean hasCapabilities()A2A Capability set supported by the agent.
.lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasCapabilitiesin interfaceAgentCardOrBuilder- Returns:
- Whether the capabilities field is set.
-
getCapabilities
A2A Capability set supported by the agent.
.lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCapabilitiesin interfaceAgentCardOrBuilder- Returns:
- The capabilities.
-
getCapabilitiesOrBuilder
A2A Capability set supported by the agent.
.lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCapabilitiesOrBuilderin interfaceAgentCardOrBuilder
-
getSecuritySchemesCount
public int getSecuritySchemesCount()Description copied from interface:AgentCardOrBuilderThe security scheme details used for authenticating with this agent.
map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8;- Specified by:
getSecuritySchemesCountin interfaceAgentCardOrBuilder
-
containsSecuritySchemes
The security scheme details used for authenticating with this agent.
map<string, .lf.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, .lf.a2a.v1.SecurityScheme> security_schemes = 8;- Specified by:
getSecuritySchemesMapin interfaceAgentCardOrBuilder
-
getSecuritySchemesOrDefault
The security scheme details used for authenticating with this agent.
map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8;- Specified by:
getSecuritySchemesOrDefaultin interfaceAgentCardOrBuilder
-
getSecuritySchemesOrThrow
The security scheme details used for authenticating with this agent.
map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8;- Specified by:
getSecuritySchemesOrThrowin interfaceAgentCardOrBuilder
-
getSecurityRequirementsList
Security requirements for contacting the agent.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;- Specified by:
getSecurityRequirementsListin interfaceAgentCardOrBuilder
-
getSecurityRequirementsOrBuilderList
Security requirements for contacting the agent.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;- Specified by:
getSecurityRequirementsOrBuilderListin interfaceAgentCardOrBuilder
-
getSecurityRequirementsCount
public int getSecurityRequirementsCount()Security requirements for contacting the agent.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;- Specified by:
getSecurityRequirementsCountin interfaceAgentCardOrBuilder
-
getSecurityRequirements
Security requirements for contacting the agent.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;- Specified by:
getSecurityRequirementsin interfaceAgentCardOrBuilder
-
getSecurityRequirementsOrBuilder
Security requirements for contacting the agent.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;- Specified by:
getSecurityRequirementsOrBuilderin 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 media types.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];- 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 media types.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];- 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 media types.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];- 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 media types.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];- 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 media types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDefaultOutputModesListin interfaceAgentCardOrBuilder- Returns:
- A list containing the defaultOutputModes.
-
getDefaultOutputModesCount
public int getDefaultOutputModesCount()The media types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDefaultOutputModesCountin interfaceAgentCardOrBuilder- Returns:
- The count of defaultOutputModes.
-
getDefaultOutputModes
The media types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = REQUIRED];- 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 media types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = REQUIRED];- 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 the abilities of an agent. It is largely a descriptive concept but represents a more focused set of behaviors that the agent is likely to succeed at.
repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSkillsListin interfaceAgentCardOrBuilder
-
getSkillsOrBuilderList
Skills represent the abilities of an agent. It is largely a descriptive concept but represents a more focused set of behaviors that the agent is likely to succeed at.
repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSkillsOrBuilderListin interfaceAgentCardOrBuilder
-
getSkillsCount
public int getSkillsCount()Skills represent the abilities of an agent. It is largely a descriptive concept but represents a more focused set of behaviors that the agent is likely to succeed at.
repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSkillsCountin interfaceAgentCardOrBuilder
-
getSkills
Skills represent the abilities of an agent. It is largely a descriptive concept but represents a more focused set of behaviors that the agent is likely to succeed at.
repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSkillsin interfaceAgentCardOrBuilder
-
getSkillsOrBuilder
Skills represent the abilities of an agent. It is largely a descriptive concept but represents a more focused set of behaviors that the agent is likely to succeed at.
repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSkillsOrBuilderin interfaceAgentCardOrBuilder
-
getSignaturesList
JSON Web Signatures computed for this `AgentCard`.
repeated .lf.a2a.v1.AgentCardSignature signatures = 13;- Specified by:
getSignaturesListin interfaceAgentCardOrBuilder
-
getSignaturesOrBuilderList
JSON Web Signatures computed for this `AgentCard`.
repeated .lf.a2a.v1.AgentCardSignature signatures = 13;- Specified by:
getSignaturesOrBuilderListin interfaceAgentCardOrBuilder
-
getSignaturesCount
public int getSignaturesCount()JSON Web Signatures computed for this `AgentCard`.
repeated .lf.a2a.v1.AgentCardSignature signatures = 13;- Specified by:
getSignaturesCountin interfaceAgentCardOrBuilder
-
getSignatures
JSON Web Signatures computed for this `AgentCard`.
repeated .lf.a2a.v1.AgentCardSignature signatures = 13;- Specified by:
getSignaturesin interfaceAgentCardOrBuilder
-
getSignaturesOrBuilder
JSON Web Signatures computed for this `AgentCard`.
repeated .lf.a2a.v1.AgentCardSignature signatures = 13;- Specified by:
getSignaturesOrBuilderin interfaceAgentCardOrBuilder
-
hasIconUrl
public boolean hasIconUrl()Optional. A URL to an icon for the agent.
optional string icon_url = 14;- Specified by:
hasIconUrlin interfaceAgentCardOrBuilder- Returns:
- Whether the iconUrl field is set.
-
getIconUrl
Optional. A URL to an icon for the agent.
optional string icon_url = 14;- Specified by:
getIconUrlin interfaceAgentCardOrBuilder- Returns:
- The iconUrl.
-
getIconUrlBytes
public com.google.protobuf.ByteString getIconUrlBytes()Optional. A URL to an icon for the agent.
optional string icon_url = 14;- Specified by:
getIconUrlBytesin interfaceAgentCardOrBuilder- Returns:
- The bytes for iconUrl.
-
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
-