Class AgentCard.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AgentCard.Builder>
org.a2aproject.sdk.compat03.grpc.AgentCard.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, AgentCardOrBuilder
Enclosing class:
AgentCard

public static final class AgentCard.Builder extends com.google.protobuf.GeneratedMessage.Builder<AgentCard.Builder> 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: 18
 
Protobuf type a2a.v1.AgentCard
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<AgentCard.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<AgentCard.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AgentCard.Builder>
    • clear

      public AgentCard.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AgentCard.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AgentCard.Builder>
    • getDefaultInstanceForType

      public AgentCard getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AgentCard build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AgentCard buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AgentCard.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AgentCard.Builder>
    • mergeFrom

      public AgentCard.Builder mergeFrom(AgentCard other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AgentCard.Builder>
    • mergeFrom

      public AgentCard.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AgentCard.Builder>
      Throws:
      IOException
    • getProtocolVersion

      public String getProtocolVersion()
       The version of the A2A protocol this agent supports.
       
      string protocol_version = 16;
      Specified by:
      getProtocolVersion in interface AgentCardOrBuilder
      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:
      getProtocolVersionBytes in interface AgentCardOrBuilder
      Returns:
      The bytes for protocolVersion.
    • setProtocolVersion

      public AgentCard.Builder setProtocolVersion(String value)
       The version of the A2A protocol this agent supports.
       
      string protocol_version = 16;
      Parameters:
      value - The protocolVersion to set.
      Returns:
      This builder for chaining.
    • clearProtocolVersion

      public AgentCard.Builder clearProtocolVersion()
       The version of the A2A protocol this agent supports.
       
      string protocol_version = 16;
      Returns:
      This builder for chaining.
    • setProtocolVersionBytes

      public AgentCard.Builder setProtocolVersionBytes(com.google.protobuf.ByteString value)
       The version of the A2A protocol this agent supports.
       
      string protocol_version = 16;
      Parameters:
      value - The bytes for protocolVersion to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       A human readable name for the agent.
       Example: "Recipe Agent"
       
      string name = 1;
      Specified by:
      getName in interface AgentCardOrBuilder
      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:
      getNameBytes in interface AgentCardOrBuilder
      Returns:
      The bytes for name.
    • setName

      public AgentCard.Builder setName(String value)
       A human readable name for the agent.
       Example: "Recipe Agent"
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public AgentCard.Builder clearName()
       A human readable name for the agent.
       Example: "Recipe Agent"
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public AgentCard.Builder setNameBytes(com.google.protobuf.ByteString value)
       A human readable name for the agent.
       Example: "Recipe Agent"
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public 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;
      Specified by:
      getDescription in interface AgentCardOrBuilder
      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:
      getDescriptionBytes in interface AgentCardOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public AgentCard.Builder setDescription(String value)
       A description of the agent's domain of action/solution space.
       Example: "Agent that helps users with recipes and cooking."
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public AgentCard.Builder clearDescription()
       A description of the agent's domain of action/solution space.
       Example: "Agent that helps users with recipes and cooking."
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public AgentCard.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       A description of the agent's domain of action/solution space.
       Example: "Agent that helps users with recipes and cooking."
       
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getUrl

      public 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;
      Specified by:
      getUrl in interface AgentCardOrBuilder
      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:
      getUrlBytes in interface AgentCardOrBuilder
      Returns:
      The bytes for url.
    • setUrl

      public AgentCard.Builder setUrl(String value)
       A URL to the address the agent is hosted at. This represents the
       preferred endpoint as declared by the agent.
       
      string url = 3;
      Parameters:
      value - The url to set.
      Returns:
      This builder for chaining.
    • clearUrl

      public AgentCard.Builder clearUrl()
       A URL to the address the agent is hosted at. This represents the
       preferred endpoint as declared by the agent.
       
      string url = 3;
      Returns:
      This builder for chaining.
    • setUrlBytes

      public AgentCard.Builder setUrlBytes(com.google.protobuf.ByteString value)
       A URL to the address the agent is hosted at. This represents the
       preferred endpoint as declared by the agent.
       
      string url = 3;
      Parameters:
      value - The bytes for url to set.
      Returns:
      This builder for chaining.
    • getPreferredTransport

      public String getPreferredTransport()
       The transport of the preferred endpoint. If empty, defaults to JSONRPC.
       
      string preferred_transport = 14;
      Specified by:
      getPreferredTransport in interface AgentCardOrBuilder
      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:
      getPreferredTransportBytes in interface AgentCardOrBuilder
      Returns:
      The bytes for preferredTransport.
    • setPreferredTransport

      public AgentCard.Builder setPreferredTransport(String value)
       The transport of the preferred endpoint. If empty, defaults to JSONRPC.
       
      string preferred_transport = 14;
      Parameters:
      value - The preferredTransport to set.
      Returns:
      This builder for chaining.
    • clearPreferredTransport

      public AgentCard.Builder clearPreferredTransport()
       The transport of the preferred endpoint. If empty, defaults to JSONRPC.
       
      string preferred_transport = 14;
      Returns:
      This builder for chaining.
    • setPreferredTransportBytes

      public AgentCard.Builder setPreferredTransportBytes(com.google.protobuf.ByteString value)
       The transport of the preferred endpoint. If empty, defaults to JSONRPC.
       
      string preferred_transport = 14;
      Parameters:
      value - The bytes for preferredTransport to set.
      Returns:
      This builder for chaining.
    • getAdditionalInterfacesList

      public List<AgentInterface> getAdditionalInterfacesList()
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
      Specified by:
      getAdditionalInterfacesList in interface AgentCardOrBuilder
    • 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:
      getAdditionalInterfacesCount in interface AgentCardOrBuilder
    • getAdditionalInterfaces

      public AgentInterface getAdditionalInterfaces(int index)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
      Specified by:
      getAdditionalInterfaces in interface AgentCardOrBuilder
    • setAdditionalInterfaces

      public AgentCard.Builder setAdditionalInterfaces(int index, AgentInterface value)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • setAdditionalInterfaces

      public AgentCard.Builder setAdditionalInterfaces(int index, AgentInterface.Builder builderForValue)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • addAdditionalInterfaces

      public AgentCard.Builder addAdditionalInterfaces(AgentInterface value)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • addAdditionalInterfaces

      public AgentCard.Builder addAdditionalInterfaces(int index, AgentInterface value)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • addAdditionalInterfaces

      public AgentCard.Builder addAdditionalInterfaces(AgentInterface.Builder builderForValue)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • addAdditionalInterfaces

      public AgentCard.Builder addAdditionalInterfaces(int index, AgentInterface.Builder builderForValue)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • addAllAdditionalInterfaces

      public AgentCard.Builder addAllAdditionalInterfaces(Iterable<? extends AgentInterface> values)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • clearAdditionalInterfaces

      public AgentCard.Builder clearAdditionalInterfaces()
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • removeAdditionalInterfaces

      public AgentCard.Builder removeAdditionalInterfaces(int index)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • getAdditionalInterfacesBuilder

      public AgentInterface.Builder getAdditionalInterfacesBuilder(int index)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • getAdditionalInterfacesOrBuilder

      public AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder(int index)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
      Specified by:
      getAdditionalInterfacesOrBuilder in interface AgentCardOrBuilder
    • getAdditionalInterfacesOrBuilderList

      public List<? extends AgentInterfaceOrBuilder> getAdditionalInterfacesOrBuilderList()
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
      Specified by:
      getAdditionalInterfacesOrBuilderList in interface AgentCardOrBuilder
    • addAdditionalInterfacesBuilder

      public AgentInterface.Builder addAdditionalInterfacesBuilder()
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • addAdditionalInterfacesBuilder

      public AgentInterface.Builder addAdditionalInterfacesBuilder(int index)
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • getAdditionalInterfacesBuilderList

      public List<AgentInterface.Builder> getAdditionalInterfacesBuilderList()
       Announcement of additional supported transports. Client can use any of
       the supported transports.
       
      repeated .a2a.v1.AgentInterface additional_interfaces = 15;
    • hasProvider

      public boolean hasProvider()
       The service provider of the agent.
       
      .a2a.v1.AgentProvider provider = 4;
      Specified by:
      hasProvider in interface AgentCardOrBuilder
      Returns:
      Whether the provider field is set.
    • getProvider

      public AgentProvider getProvider()
       The service provider of the agent.
       
      .a2a.v1.AgentProvider provider = 4;
      Specified by:
      getProvider in interface AgentCardOrBuilder
      Returns:
      The provider.
    • setProvider

      public AgentCard.Builder setProvider(AgentProvider value)
       The service provider of the agent.
       
      .a2a.v1.AgentProvider provider = 4;
    • setProvider

      public AgentCard.Builder setProvider(AgentProvider.Builder builderForValue)
       The service provider of the agent.
       
      .a2a.v1.AgentProvider provider = 4;
    • mergeProvider

      public AgentCard.Builder mergeProvider(AgentProvider value)
       The service provider of the agent.
       
      .a2a.v1.AgentProvider provider = 4;
    • clearProvider

      public AgentCard.Builder clearProvider()
       The service provider of the agent.
       
      .a2a.v1.AgentProvider provider = 4;
    • getProviderBuilder

      public AgentProvider.Builder getProviderBuilder()
       The service provider of the agent.
       
      .a2a.v1.AgentProvider provider = 4;
    • getProviderOrBuilder

      public AgentProviderOrBuilder getProviderOrBuilder()
       The service provider of the agent.
       
      .a2a.v1.AgentProvider provider = 4;
      Specified by:
      getProviderOrBuilder in interface AgentCardOrBuilder
    • getVersion

      public String getVersion()
       The version of the agent.
       Example: "1.0.0"
       
      string version = 5;
      Specified by:
      getVersion in interface AgentCardOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       The version of the agent.
       Example: "1.0.0"
       
      string version = 5;
      Specified by:
      getVersionBytes in interface AgentCardOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public AgentCard.Builder setVersion(String value)
       The version of the agent.
       Example: "1.0.0"
       
      string version = 5;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public AgentCard.Builder clearVersion()
       The version of the agent.
       Example: "1.0.0"
       
      string version = 5;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public AgentCard.Builder setVersionBytes(com.google.protobuf.ByteString value)
       The version of the agent.
       Example: "1.0.0"
       
      string version = 5;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getDocumentationUrl

      public String getDocumentationUrl()
       A url to provide additional documentation about the agent.
       
      string documentation_url = 6;
      Specified by:
      getDocumentationUrl in interface AgentCardOrBuilder
      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:
      getDocumentationUrlBytes in interface AgentCardOrBuilder
      Returns:
      The bytes for documentationUrl.
    • setDocumentationUrl

      public AgentCard.Builder setDocumentationUrl(String value)
       A url to provide additional documentation about the agent.
       
      string documentation_url = 6;
      Parameters:
      value - The documentationUrl to set.
      Returns:
      This builder for chaining.
    • clearDocumentationUrl

      public AgentCard.Builder clearDocumentationUrl()
       A url to provide additional documentation about the agent.
       
      string documentation_url = 6;
      Returns:
      This builder for chaining.
    • setDocumentationUrlBytes

      public AgentCard.Builder setDocumentationUrlBytes(com.google.protobuf.ByteString value)
       A url to provide additional documentation about the agent.
       
      string documentation_url = 6;
      Parameters:
      value - The bytes for documentationUrl to set.
      Returns:
      This builder for chaining.
    • hasCapabilities

      public boolean hasCapabilities()
       A2A Capability set supported by the agent.
       
      .a2a.v1.AgentCapabilities capabilities = 7;
      Specified by:
      hasCapabilities in interface AgentCardOrBuilder
      Returns:
      Whether the capabilities field is set.
    • getCapabilities

      public AgentCapabilities getCapabilities()
       A2A Capability set supported by the agent.
       
      .a2a.v1.AgentCapabilities capabilities = 7;
      Specified by:
      getCapabilities in interface AgentCardOrBuilder
      Returns:
      The capabilities.
    • setCapabilities

      public AgentCard.Builder setCapabilities(AgentCapabilities value)
       A2A Capability set supported by the agent.
       
      .a2a.v1.AgentCapabilities capabilities = 7;
    • setCapabilities

      public AgentCard.Builder setCapabilities(AgentCapabilities.Builder builderForValue)
       A2A Capability set supported by the agent.
       
      .a2a.v1.AgentCapabilities capabilities = 7;
    • mergeCapabilities

      public AgentCard.Builder mergeCapabilities(AgentCapabilities value)
       A2A Capability set supported by the agent.
       
      .a2a.v1.AgentCapabilities capabilities = 7;
    • clearCapabilities

      public AgentCard.Builder clearCapabilities()
       A2A Capability set supported by the agent.
       
      .a2a.v1.AgentCapabilities capabilities = 7;
    • getCapabilitiesBuilder

      public AgentCapabilities.Builder getCapabilitiesBuilder()
       A2A Capability set supported by the agent.
       
      .a2a.v1.AgentCapabilities capabilities = 7;
    • getCapabilitiesOrBuilder

      public AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder()
       A2A Capability set supported by the agent.
       
      .a2a.v1.AgentCapabilities capabilities = 7;
      Specified by:
      getCapabilitiesOrBuilder in interface AgentCardOrBuilder
    • getSecuritySchemesCount

      public int getSecuritySchemesCount()
      Description copied from interface: AgentCardOrBuilder
       The security scheme details used for authenticating with this agent.
       
      map<string, .a2a.v1.SecurityScheme> security_schemes = 8;
      Specified by:
      getSecuritySchemesCount in interface AgentCardOrBuilder
    • containsSecuritySchemes

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

      @Deprecated public Map<String,SecurityScheme> getSecuritySchemes()
      Deprecated.
      Specified by:
      getSecuritySchemes in interface AgentCardOrBuilder
    • getSecuritySchemesMap

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

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

      public SecurityScheme getSecuritySchemesOrThrow(String key)
       The security scheme details used for authenticating with this agent.
       
      map<string, .a2a.v1.SecurityScheme> security_schemes = 8;
      Specified by:
      getSecuritySchemesOrThrow in interface AgentCardOrBuilder
    • clearSecuritySchemes

      public AgentCard.Builder clearSecuritySchemes()
    • removeSecuritySchemes

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

      @Deprecated public Map<String,SecurityScheme> getMutableSecuritySchemes()
      Deprecated.
      Use alternate mutation accessors instead.
    • putSecuritySchemes

      public AgentCard.Builder putSecuritySchemes(String key, SecurityScheme value)
       The security scheme details used for authenticating with this agent.
       
      map<string, .a2a.v1.SecurityScheme> security_schemes = 8;
    • putAllSecuritySchemes

      public AgentCard.Builder putAllSecuritySchemes(Map<String,SecurityScheme> values)
       The security scheme details used for authenticating with this agent.
       
      map<string, .a2a.v1.SecurityScheme> security_schemes = 8;
    • putSecuritySchemesBuilderIfAbsent

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

      public 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;
      Specified by:
      getSecurityList in interface AgentCardOrBuilder
    • 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:
      getSecurityCount in interface AgentCardOrBuilder
    • getSecurity

      public 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;
      Specified by:
      getSecurity in interface AgentCardOrBuilder
    • setSecurity

      public AgentCard.Builder setSecurity(int index, Security value)
       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;
    • setSecurity

      public AgentCard.Builder setSecurity(int index, Security.Builder builderForValue)
       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;
    • addSecurity

      public AgentCard.Builder addSecurity(Security value)
       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;
    • addSecurity

      public AgentCard.Builder addSecurity(int index, Security value)
       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;
    • addSecurity

      public AgentCard.Builder addSecurity(Security.Builder builderForValue)
       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;
    • addSecurity

      public AgentCard.Builder addSecurity(int index, Security.Builder builderForValue)
       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;
    • addAllSecurity

      public AgentCard.Builder addAllSecurity(Iterable<? extends Security> values)
       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;
    • clearSecurity

      public AgentCard.Builder clearSecurity()
       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;
    • removeSecurity

      public AgentCard.Builder removeSecurity(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;
    • getSecurityBuilder

      public Security.Builder getSecurityBuilder(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;
    • getSecurityOrBuilder

      public 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;
      Specified by:
      getSecurityOrBuilder in interface AgentCardOrBuilder
    • getSecurityOrBuilderList

      public 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;
      Specified by:
      getSecurityOrBuilderList in interface AgentCardOrBuilder
    • addSecurityBuilder

      public Security.Builder addSecurityBuilder()
       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;
    • addSecurityBuilder

      public Security.Builder addSecurityBuilder(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;
    • getSecurityBuilderList

      public List<Security.Builder> getSecurityBuilderList()
       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

      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:
      getDefaultInputModesList in interface AgentCardOrBuilder
      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:
      getDefaultInputModesCount in interface AgentCardOrBuilder
      Returns:
      The count of defaultInputModes.
    • getDefaultInputModes

      public 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;
      Specified by:
      getDefaultInputModes in interface AgentCardOrBuilder
      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:
      getDefaultInputModesBytes in interface AgentCardOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the defaultInputModes at the given index.
    • setDefaultInputModes

      public AgentCard.Builder setDefaultInputModes(int index, String value)
       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 to set the value at.
      value - The defaultInputModes to set.
      Returns:
      This builder for chaining.
    • addDefaultInputModes

      public AgentCard.Builder addDefaultInputModes(String value)
       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:
      value - The defaultInputModes to add.
      Returns:
      This builder for chaining.
    • addAllDefaultInputModes

      public AgentCard.Builder addAllDefaultInputModes(Iterable<String> values)
       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:
      values - The defaultInputModes to add.
      Returns:
      This builder for chaining.
    • clearDefaultInputModes

      public AgentCard.Builder clearDefaultInputModes()
       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:
      This builder for chaining.
    • addDefaultInputModesBytes

      public AgentCard.Builder addDefaultInputModesBytes(com.google.protobuf.ByteString value)
       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:
      value - The bytes of the defaultInputModes to add.
      Returns:
      This builder for chaining.
    • getDefaultOutputModesList

      public com.google.protobuf.ProtocolStringList getDefaultOutputModesList()
       The mime types supported as outputs from this agent.
       
      repeated string default_output_modes = 11;
      Specified by:
      getDefaultOutputModesList in interface AgentCardOrBuilder
      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:
      getDefaultOutputModesCount in interface AgentCardOrBuilder
      Returns:
      The count of defaultOutputModes.
    • getDefaultOutputModes

      public String getDefaultOutputModes(int index)
       The mime types supported as outputs from this agent.
       
      repeated string default_output_modes = 11;
      Specified by:
      getDefaultOutputModes in interface AgentCardOrBuilder
      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:
      getDefaultOutputModesBytes in interface AgentCardOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the defaultOutputModes at the given index.
    • setDefaultOutputModes

      public AgentCard.Builder setDefaultOutputModes(int index, String value)
       The mime types supported as outputs from this agent.
       
      repeated string default_output_modes = 11;
      Parameters:
      index - The index to set the value at.
      value - The defaultOutputModes to set.
      Returns:
      This builder for chaining.
    • addDefaultOutputModes

      public AgentCard.Builder addDefaultOutputModes(String value)
       The mime types supported as outputs from this agent.
       
      repeated string default_output_modes = 11;
      Parameters:
      value - The defaultOutputModes to add.
      Returns:
      This builder for chaining.
    • addAllDefaultOutputModes

      public AgentCard.Builder addAllDefaultOutputModes(Iterable<String> values)
       The mime types supported as outputs from this agent.
       
      repeated string default_output_modes = 11;
      Parameters:
      values - The defaultOutputModes to add.
      Returns:
      This builder for chaining.
    • clearDefaultOutputModes

      public AgentCard.Builder clearDefaultOutputModes()
       The mime types supported as outputs from this agent.
       
      repeated string default_output_modes = 11;
      Returns:
      This builder for chaining.
    • addDefaultOutputModesBytes

      public AgentCard.Builder addDefaultOutputModesBytes(com.google.protobuf.ByteString value)
       The mime types supported as outputs from this agent.
       
      repeated string default_output_modes = 11;
      Parameters:
      value - The bytes of the defaultOutputModes to add.
      Returns:
      This builder for chaining.
    • getSkillsList

      public 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;
      Specified by:
      getSkillsList in interface AgentCardOrBuilder
    • 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:
      getSkillsCount in interface AgentCardOrBuilder
    • getSkills

      public 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;
      Specified by:
      getSkills in interface AgentCardOrBuilder
    • setSkills

      public AgentCard.Builder setSkills(int index, AgentSkill value)
       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;
    • setSkills

      public AgentCard.Builder setSkills(int index, AgentSkill.Builder builderForValue)
       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;
    • addSkills

      public AgentCard.Builder addSkills(AgentSkill value)
       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;
    • addSkills

      public AgentCard.Builder addSkills(int index, AgentSkill value)
       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;
    • addSkills

      public AgentCard.Builder addSkills(AgentSkill.Builder builderForValue)
       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;
    • addSkills

      public AgentCard.Builder addSkills(int index, AgentSkill.Builder builderForValue)
       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;
    • addAllSkills

      public AgentCard.Builder addAllSkills(Iterable<? extends AgentSkill> values)
       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;
    • clearSkills

      public AgentCard.Builder clearSkills()
       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;
    • removeSkills

      public AgentCard.Builder removeSkills(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;
    • getSkillsBuilder

      public AgentSkill.Builder getSkillsBuilder(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;
    • getSkillsOrBuilder

      public 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;
      Specified by:
      getSkillsOrBuilder in interface AgentCardOrBuilder
    • getSkillsOrBuilderList

      public 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;
      Specified by:
      getSkillsOrBuilderList in interface AgentCardOrBuilder
    • addSkillsBuilder

      public AgentSkill.Builder addSkillsBuilder()
       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;
    • addSkillsBuilder

      public AgentSkill.Builder addSkillsBuilder(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;
    • getSkillsBuilderList

      public List<AgentSkill.Builder> getSkillsBuilderList()
       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

      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:
      getSupportsAuthenticatedExtendedCard in interface AgentCardOrBuilder
      Returns:
      The supportsAuthenticatedExtendedCard.
    • setSupportsAuthenticatedExtendedCard

      public AgentCard.Builder setSupportsAuthenticatedExtendedCard(boolean value)
       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;
      Parameters:
      value - The supportsAuthenticatedExtendedCard to set.
      Returns:
      This builder for chaining.
    • clearSupportsAuthenticatedExtendedCard

      public AgentCard.Builder clearSupportsAuthenticatedExtendedCard()
       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:
      This builder for chaining.
    • getSignaturesList

      public List<AgentCardSignature> getSignaturesList()
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
      Specified by:
      getSignaturesList in interface AgentCardOrBuilder
    • getSignaturesCount

      public int getSignaturesCount()
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
      Specified by:
      getSignaturesCount in interface AgentCardOrBuilder
    • getSignatures

      public AgentCardSignature getSignatures(int index)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
      Specified by:
      getSignatures in interface AgentCardOrBuilder
    • setSignatures

      public AgentCard.Builder setSignatures(int index, AgentCardSignature value)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • setSignatures

      public AgentCard.Builder setSignatures(int index, AgentCardSignature.Builder builderForValue)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • addSignatures

      public AgentCard.Builder addSignatures(AgentCardSignature value)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • addSignatures

      public AgentCard.Builder addSignatures(int index, AgentCardSignature value)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • addSignatures

      public AgentCard.Builder addSignatures(AgentCardSignature.Builder builderForValue)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • addSignatures

      public AgentCard.Builder addSignatures(int index, AgentCardSignature.Builder builderForValue)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • addAllSignatures

      public AgentCard.Builder addAllSignatures(Iterable<? extends AgentCardSignature> values)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • clearSignatures

      public AgentCard.Builder clearSignatures()
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • removeSignatures

      public AgentCard.Builder removeSignatures(int index)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • getSignaturesBuilder

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

      public AgentCardSignatureOrBuilder getSignaturesOrBuilder(int index)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
      Specified by:
      getSignaturesOrBuilder in interface AgentCardOrBuilder
    • getSignaturesOrBuilderList

      public List<? extends AgentCardSignatureOrBuilder> getSignaturesOrBuilderList()
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
      Specified by:
      getSignaturesOrBuilderList in interface AgentCardOrBuilder
    • addSignaturesBuilder

      public AgentCardSignature.Builder addSignaturesBuilder()
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • addSignaturesBuilder

      public AgentCardSignature.Builder addSignaturesBuilder(int index)
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;
    • getSignaturesBuilderList

      public List<AgentCardSignature.Builder> getSignaturesBuilderList()
       JSON Web Signatures computed for this AgentCard.
       
      repeated .a2a.v1.AgentCardSignature signatures = 17;