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.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
 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: 20
 
Protobuf type lf.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
    • getName

      public String getName()
       A human readable name for the agent.
       Example: "Recipe Agent"
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

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

      public AgentCard.Builder setDescription(String value)
       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];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public AgentCard.Builder clearDescription()
       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];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public AgentCard.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getSupportedInterfacesList

      public List<AgentInterface> 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:
      getSupportedInterfacesList in interface AgentCardOrBuilder
    • 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:
      getSupportedInterfacesCount in interface AgentCardOrBuilder
    • getSupportedInterfaces

      public AgentInterface getSupportedInterfaces(int index)
       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:
      getSupportedInterfaces in interface AgentCardOrBuilder
    • setSupportedInterfaces

      public AgentCard.Builder setSupportedInterfaces(int index, AgentInterface value)
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • setSupportedInterfaces

      public AgentCard.Builder setSupportedInterfaces(int index, AgentInterface.Builder builderForValue)
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • addSupportedInterfaces

      public AgentCard.Builder addSupportedInterfaces(AgentInterface value)
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • addSupportedInterfaces

      public AgentCard.Builder addSupportedInterfaces(int index, AgentInterface value)
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • addSupportedInterfaces

      public AgentCard.Builder addSupportedInterfaces(AgentInterface.Builder builderForValue)
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • addSupportedInterfaces

      public AgentCard.Builder addSupportedInterfaces(int index, AgentInterface.Builder builderForValue)
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • addAllSupportedInterfaces

      public AgentCard.Builder addAllSupportedInterfaces(Iterable<? extends AgentInterface> values)
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearSupportedInterfaces

      public AgentCard.Builder clearSupportedInterfaces()
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • removeSupportedInterfaces

      public AgentCard.Builder removeSupportedInterfaces(int index)
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • getSupportedInterfacesBuilder

      public AgentInterface.Builder getSupportedInterfacesBuilder(int index)
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • getSupportedInterfacesOrBuilder

      public AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder(int index)
       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:
      getSupportedInterfacesOrBuilder in interface AgentCardOrBuilder
    • getSupportedInterfacesOrBuilderList

      public List<? extends AgentInterfaceOrBuilder> 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:
      getSupportedInterfacesOrBuilderList in interface AgentCardOrBuilder
    • addSupportedInterfacesBuilder

      public AgentInterface.Builder addSupportedInterfacesBuilder()
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • addSupportedInterfacesBuilder

      public AgentInterface.Builder addSupportedInterfacesBuilder(int index)
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • getSupportedInterfacesBuilderList

      public List<AgentInterface.Builder> getSupportedInterfacesBuilderList()
       Ordered list of supported interfaces. The first entry is preferred.
       
      repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED];
    • hasProvider

      public boolean hasProvider()
       The service provider of the agent.
       
      .lf.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.
       
      .lf.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.
       
      .lf.a2a.v1.AgentProvider provider = 4;
    • setProvider

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

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

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

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

      public AgentProviderOrBuilder getProviderOrBuilder()
       The service provider of the agent.
       
      .lf.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 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • hasDocumentationUrl

      public boolean hasDocumentationUrl()
       A URL providing additional documentation about the agent.
       
      optional string documentation_url = 6;
      Specified by:
      hasDocumentationUrl in interface AgentCardOrBuilder
      Returns:
      Whether the documentationUrl field is set.
    • getDocumentationUrl

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

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

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

      public AgentCard.Builder setDocumentationUrlBytes(com.google.protobuf.ByteString value)
       A URL providing additional documentation about the agent.
       
      optional 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.
       
      .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasCapabilities in interface AgentCardOrBuilder
      Returns:
      Whether the capabilities field is set.
    • getCapabilities

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

      public AgentCard.Builder setCapabilities(AgentCapabilities value)
       A2A Capability set supported by the agent.
       
      .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED];
    • setCapabilities

      public AgentCard.Builder setCapabilities(AgentCapabilities.Builder builderForValue)
       A2A Capability set supported by the agent.
       
      .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED];
    • mergeCapabilities

      public AgentCard.Builder mergeCapabilities(AgentCapabilities value)
       A2A Capability set supported by the agent.
       
      .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED];
    • clearCapabilities

      public AgentCard.Builder clearCapabilities()
       A2A Capability set supported by the agent.
       
      .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED];
    • getCapabilitiesBuilder

      public AgentCapabilities.Builder getCapabilitiesBuilder()
       A2A Capability set supported by the agent.
       
      .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED];
    • getCapabilitiesOrBuilder

      public AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder()
       A2A Capability set supported by the agent.
       
      .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED];
      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, .lf.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, .lf.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, .lf.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, .lf.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, .lf.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, .lf.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, .lf.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, .lf.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, .lf.a2a.v1.SecurityScheme> security_schemes = 8;
    • getSecurityRequirementsList

      public List<SecurityRequirement> getSecurityRequirementsList()
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
      Specified by:
      getSecurityRequirementsList in interface AgentCardOrBuilder
    • getSecurityRequirementsCount

      public int getSecurityRequirementsCount()
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
      Specified by:
      getSecurityRequirementsCount in interface AgentCardOrBuilder
    • getSecurityRequirements

      public SecurityRequirement getSecurityRequirements(int index)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
      Specified by:
      getSecurityRequirements in interface AgentCardOrBuilder
    • setSecurityRequirements

      public AgentCard.Builder setSecurityRequirements(int index, SecurityRequirement value)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • setSecurityRequirements

      public AgentCard.Builder setSecurityRequirements(int index, SecurityRequirement.Builder builderForValue)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • addSecurityRequirements

      public AgentCard.Builder addSecurityRequirements(SecurityRequirement value)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • addSecurityRequirements

      public AgentCard.Builder addSecurityRequirements(int index, SecurityRequirement value)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • addSecurityRequirements

      public AgentCard.Builder addSecurityRequirements(SecurityRequirement.Builder builderForValue)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • addSecurityRequirements

      public AgentCard.Builder addSecurityRequirements(int index, SecurityRequirement.Builder builderForValue)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • addAllSecurityRequirements

      public AgentCard.Builder addAllSecurityRequirements(Iterable<? extends SecurityRequirement> values)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • clearSecurityRequirements

      public AgentCard.Builder clearSecurityRequirements()
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • removeSecurityRequirements

      public AgentCard.Builder removeSecurityRequirements(int index)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • getSecurityRequirementsBuilder

      public SecurityRequirement.Builder getSecurityRequirementsBuilder(int index)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • getSecurityRequirementsOrBuilder

      public SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder(int index)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
      Specified by:
      getSecurityRequirementsOrBuilder in interface AgentCardOrBuilder
    • getSecurityRequirementsOrBuilderList

      public List<? extends SecurityRequirementOrBuilder> getSecurityRequirementsOrBuilderList()
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
      Specified by:
      getSecurityRequirementsOrBuilderList in interface AgentCardOrBuilder
    • addSecurityRequirementsBuilder

      public SecurityRequirement.Builder addSecurityRequirementsBuilder()
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • addSecurityRequirementsBuilder

      public SecurityRequirement.Builder addSecurityRequirementsBuilder(int index)
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9;
    • getSecurityRequirementsBuilderList

      public List<SecurityRequirement.Builder> getSecurityRequirementsBuilderList()
       Security requirements for contacting the agent.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 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 media types.
       
      repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];
      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 media types.
       
      repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];
      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 media types.
       
      repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];
      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 media types.
       
      repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];
      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 media types.
       
      repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];
      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 media types.
       
      repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];
      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 media types.
       
      repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];
      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 media types.
       
      repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];
      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 media types.
       
      repeated string default_input_modes = 10 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes of the defaultInputModes to add.
      Returns:
      This builder for chaining.
    • 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:
      getDefaultOutputModesList in interface AgentCardOrBuilder
      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:
      getDefaultOutputModesCount in interface AgentCardOrBuilder
      Returns:
      The count of defaultOutputModes.
    • getDefaultOutputModes

      public String getDefaultOutputModes(int index)
       The media types supported as outputs from this agent.
       
      repeated string default_output_modes = 11 [(.google.api.field_behavior) = REQUIRED];
      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 media types supported as outputs from this agent.
       
      repeated string default_output_modes = 11 [(.google.api.field_behavior) = REQUIRED];
      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 media types supported as outputs from this agent.
       
      repeated string default_output_modes = 11 [(.google.api.field_behavior) = REQUIRED];
      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 media types supported as outputs from this agent.
       
      repeated string default_output_modes = 11 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The defaultOutputModes to add.
      Returns:
      This builder for chaining.
    • addAllDefaultOutputModes

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

      public AgentCard.Builder clearDefaultOutputModes()
       The media types supported as outputs from this agent.
       
      repeated string default_output_modes = 11 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • addDefaultOutputModesBytes

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

      public List<AgentSkill> 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:
      getSkillsList in interface AgentCardOrBuilder
    • 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:
      getSkillsCount in interface AgentCardOrBuilder
    • getSkills

      public AgentSkill getSkills(int index)
       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:
      getSkills in interface AgentCardOrBuilder
    • setSkills

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

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

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

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

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

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

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

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

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

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

      public AgentSkillOrBuilder getSkillsOrBuilder(int index)
       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:
      getSkillsOrBuilder in interface AgentCardOrBuilder
    • getSkillsOrBuilderList

      public List<? extends AgentSkillOrBuilder> 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:
      getSkillsOrBuilderList in interface AgentCardOrBuilder
    • addSkillsBuilder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public List<AgentCardSignature.Builder> getSignaturesBuilderList()
       JSON Web Signatures computed for this `AgentCard`.
       
      repeated .lf.a2a.v1.AgentCardSignature signatures = 13;
    • hasIconUrl

      public boolean hasIconUrl()
       Optional. A URL to an icon for the agent.
       
      optional string icon_url = 14;
      Specified by:
      hasIconUrl in interface AgentCardOrBuilder
      Returns:
      Whether the iconUrl field is set.
    • getIconUrl

      public String getIconUrl()
       Optional. A URL to an icon for the agent.
       
      optional string icon_url = 14;
      Specified by:
      getIconUrl in interface AgentCardOrBuilder
      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:
      getIconUrlBytes in interface AgentCardOrBuilder
      Returns:
      The bytes for iconUrl.
    • setIconUrl

      public AgentCard.Builder setIconUrl(String value)
       Optional. A URL to an icon for the agent.
       
      optional string icon_url = 14;
      Parameters:
      value - The iconUrl to set.
      Returns:
      This builder for chaining.
    • clearIconUrl

      public AgentCard.Builder clearIconUrl()
       Optional. A URL to an icon for the agent.
       
      optional string icon_url = 14;
      Returns:
      This builder for chaining.
    • setIconUrlBytes

      public AgentCard.Builder setIconUrlBytes(com.google.protobuf.ByteString value)
       Optional. A URL to an icon for the agent.
       
      optional string icon_url = 14;
      Parameters:
      value - The bytes for iconUrl to set.
      Returns:
      This builder for chaining.