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 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

      AgentInterface getAdditionalInterfaces(int index)
       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

      AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder(int index)
       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

      boolean containsSecuritySchemes(String key)
       The security scheme details used for authenticating with this agent.
       
      map<string, .a2a.v1.SecurityScheme> security_schemes = 8;
    • getSecuritySchemes

      @Deprecated Map<String,SecurityScheme> getSecuritySchemes()
      Deprecated.
    • getSecuritySchemesMap

      Map<String,SecurityScheme> getSecuritySchemesMap()
       The security scheme details used for authenticating with this agent.
       
      map<string, .a2a.v1.SecurityScheme> security_schemes = 8;
    • getSecuritySchemesOrDefault

      SecurityScheme getSecuritySchemesOrDefault(String key, SecurityScheme defaultValue)
       The security scheme details used for authenticating with this agent.
       
      map<string, .a2a.v1.SecurityScheme> security_schemes = 8;
    • getSecuritySchemesOrThrow

      SecurityScheme getSecuritySchemesOrThrow(String key)
       The security scheme details used for authenticating with this agent.
       
      map<string, .a2a.v1.SecurityScheme> security_schemes = 8;
    • getSecurityList

      List<Security> 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

      Security getSecurity(int index)
       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

      SecurityOrBuilder getSecurityOrBuilder(int index)
       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

      List<String> 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

      String getDefaultInputModes(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 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

      List<String> 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

      String getDefaultOutputModes(int index)
       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

      AgentSkill getSkills(int index)
       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

      AgentSkillOrBuilder getSkillsOrBuilder(int index)
       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

      AgentCardSignature getSignatures(int index)
       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

      AgentCardSignatureOrBuilder getSignaturesOrBuilder(int index)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;