Class AgentSkill.Builder

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

public static final class AgentSkill.Builder extends com.google.protobuf.GeneratedMessage.Builder<AgentSkill.Builder> implements AgentSkillOrBuilder
 AgentSkill represents a unit of action/solution that the agent can perform.
 One can think of this as a type of highly reliable solution that an agent
 can be tasked to provide. Agents have the autonomy to choose how and when
 to use specific skills, but clients should have confidence that if the
 skill is defined that unit of action can be reliably performed.
 
Protobuf type a2a.v1.AgentSkill
  • Method Details

    • getDescriptor

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

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

      public AgentSkill.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<AgentSkill.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<AgentSkill.Builder>
    • getDefaultInstanceForType

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

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

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

      public AgentSkill.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<AgentSkill.Builder>
    • mergeFrom

      public AgentSkill.Builder mergeFrom(AgentSkill other)
    • isInitialized

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

      public AgentSkill.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<AgentSkill.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       Unique id of the skill within this agent.
       
      string id = 1;
      Specified by:
      getId in interface AgentSkillOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Unique id of the skill within this agent.
       
      string id = 1;
      Specified by:
      getIdBytes in interface AgentSkillOrBuilder
      Returns:
      The bytes for id.
    • setId

      public AgentSkill.Builder setId(String value)
       Unique id of the skill within this agent.
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public AgentSkill.Builder clearId()
       Unique id of the skill within this agent.
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public AgentSkill.Builder setIdBytes(com.google.protobuf.ByteString value)
       Unique id of the skill within this agent.
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       A human readable name for the skill.
       
      string name = 2;
      Specified by:
      getName in interface AgentSkillOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       A human readable name for the skill.
       
      string name = 2;
      Specified by:
      getNameBytes in interface AgentSkillOrBuilder
      Returns:
      The bytes for name.
    • setName

      public AgentSkill.Builder setName(String value)
       A human readable name for the skill.
       
      string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public AgentSkill.Builder clearName()
       A human readable name for the skill.
       
      string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public AgentSkill.Builder setNameBytes(com.google.protobuf.ByteString value)
       A human readable name for the skill.
       
      string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       A human (or llm) readable description of the skill
       details and behaviors.
       
      string description = 3;
      Specified by:
      getDescription in interface AgentSkillOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A human (or llm) readable description of the skill
       details and behaviors.
       
      string description = 3;
      Specified by:
      getDescriptionBytes in interface AgentSkillOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public AgentSkill.Builder setDescription(String value)
       A human (or llm) readable description of the skill
       details and behaviors.
       
      string description = 3;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public AgentSkill.Builder clearDescription()
       A human (or llm) readable description of the skill
       details and behaviors.
       
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public AgentSkill.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       A human (or llm) readable description of the skill
       details and behaviors.
       
      string description = 3;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
       A set of tags for the skill to enhance categorization/utilization.
       Example: ["cooking", "customer support", "billing"]
       
      repeated string tags = 4;
      Specified by:
      getTagsList in interface AgentSkillOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
       A set of tags for the skill to enhance categorization/utilization.
       Example: ["cooking", "customer support", "billing"]
       
      repeated string tags = 4;
      Specified by:
      getTagsCount in interface AgentSkillOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
       A set of tags for the skill to enhance categorization/utilization.
       Example: ["cooking", "customer support", "billing"]
       
      repeated string tags = 4;
      Specified by:
      getTags in interface AgentSkillOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
       A set of tags for the skill to enhance categorization/utilization.
       Example: ["cooking", "customer support", "billing"]
       
      repeated string tags = 4;
      Specified by:
      getTagsBytes in interface AgentSkillOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public AgentSkill.Builder setTags(int index, String value)
       A set of tags for the skill to enhance categorization/utilization.
       Example: ["cooking", "customer support", "billing"]
       
      repeated string tags = 4;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      public AgentSkill.Builder addTags(String value)
       A set of tags for the skill to enhance categorization/utilization.
       Example: ["cooking", "customer support", "billing"]
       
      repeated string tags = 4;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      public AgentSkill.Builder addAllTags(Iterable<String> values)
       A set of tags for the skill to enhance categorization/utilization.
       Example: ["cooking", "customer support", "billing"]
       
      repeated string tags = 4;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      public AgentSkill.Builder clearTags()
       A set of tags for the skill to enhance categorization/utilization.
       Example: ["cooking", "customer support", "billing"]
       
      repeated string tags = 4;
      Returns:
      This builder for chaining.
    • addTagsBytes

      public AgentSkill.Builder addTagsBytes(com.google.protobuf.ByteString value)
       A set of tags for the skill to enhance categorization/utilization.
       Example: ["cooking", "customer support", "billing"]
       
      repeated string tags = 4;
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.
    • getExamplesList

      public com.google.protobuf.ProtocolStringList getExamplesList()
       A set of example queries that this skill is designed to address.
       These examples should help the caller to understand how to craft requests
       to the agent to achieve specific goals.
       Example: ["I need a recipe for bread"]
       
      repeated string examples = 5;
      Specified by:
      getExamplesList in interface AgentSkillOrBuilder
      Returns:
      A list containing the examples.
    • getExamplesCount

      public int getExamplesCount()
       A set of example queries that this skill is designed to address.
       These examples should help the caller to understand how to craft requests
       to the agent to achieve specific goals.
       Example: ["I need a recipe for bread"]
       
      repeated string examples = 5;
      Specified by:
      getExamplesCount in interface AgentSkillOrBuilder
      Returns:
      The count of examples.
    • getExamples

      public String getExamples(int index)
       A set of example queries that this skill is designed to address.
       These examples should help the caller to understand how to craft requests
       to the agent to achieve specific goals.
       Example: ["I need a recipe for bread"]
       
      repeated string examples = 5;
      Specified by:
      getExamples in interface AgentSkillOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The examples at the given index.
    • getExamplesBytes

      public com.google.protobuf.ByteString getExamplesBytes(int index)
       A set of example queries that this skill is designed to address.
       These examples should help the caller to understand how to craft requests
       to the agent to achieve specific goals.
       Example: ["I need a recipe for bread"]
       
      repeated string examples = 5;
      Specified by:
      getExamplesBytes in interface AgentSkillOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the examples at the given index.
    • setExamples

      public AgentSkill.Builder setExamples(int index, String value)
       A set of example queries that this skill is designed to address.
       These examples should help the caller to understand how to craft requests
       to the agent to achieve specific goals.
       Example: ["I need a recipe for bread"]
       
      repeated string examples = 5;
      Parameters:
      index - The index to set the value at.
      value - The examples to set.
      Returns:
      This builder for chaining.
    • addExamples

      public AgentSkill.Builder addExamples(String value)
       A set of example queries that this skill is designed to address.
       These examples should help the caller to understand how to craft requests
       to the agent to achieve specific goals.
       Example: ["I need a recipe for bread"]
       
      repeated string examples = 5;
      Parameters:
      value - The examples to add.
      Returns:
      This builder for chaining.
    • addAllExamples

      public AgentSkill.Builder addAllExamples(Iterable<String> values)
       A set of example queries that this skill is designed to address.
       These examples should help the caller to understand how to craft requests
       to the agent to achieve specific goals.
       Example: ["I need a recipe for bread"]
       
      repeated string examples = 5;
      Parameters:
      values - The examples to add.
      Returns:
      This builder for chaining.
    • clearExamples

      public AgentSkill.Builder clearExamples()
       A set of example queries that this skill is designed to address.
       These examples should help the caller to understand how to craft requests
       to the agent to achieve specific goals.
       Example: ["I need a recipe for bread"]
       
      repeated string examples = 5;
      Returns:
      This builder for chaining.
    • addExamplesBytes

      public AgentSkill.Builder addExamplesBytes(com.google.protobuf.ByteString value)
       A set of example queries that this skill is designed to address.
       These examples should help the caller to understand how to craft requests
       to the agent to achieve specific goals.
       Example: ["I need a recipe for bread"]
       
      repeated string examples = 5;
      Parameters:
      value - The bytes of the examples to add.
      Returns:
      This builder for chaining.
    • getInputModesList

      public com.google.protobuf.ProtocolStringList getInputModesList()
       Possible input modalities supported.
       
      repeated string input_modes = 6;
      Specified by:
      getInputModesList in interface AgentSkillOrBuilder
      Returns:
      A list containing the inputModes.
    • getInputModesCount

      public int getInputModesCount()
       Possible input modalities supported.
       
      repeated string input_modes = 6;
      Specified by:
      getInputModesCount in interface AgentSkillOrBuilder
      Returns:
      The count of inputModes.
    • getInputModes

      public String getInputModes(int index)
       Possible input modalities supported.
       
      repeated string input_modes = 6;
      Specified by:
      getInputModes in interface AgentSkillOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The inputModes at the given index.
    • getInputModesBytes

      public com.google.protobuf.ByteString getInputModesBytes(int index)
       Possible input modalities supported.
       
      repeated string input_modes = 6;
      Specified by:
      getInputModesBytes in interface AgentSkillOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the inputModes at the given index.
    • setInputModes

      public AgentSkill.Builder setInputModes(int index, String value)
       Possible input modalities supported.
       
      repeated string input_modes = 6;
      Parameters:
      index - The index to set the value at.
      value - The inputModes to set.
      Returns:
      This builder for chaining.
    • addInputModes

      public AgentSkill.Builder addInputModes(String value)
       Possible input modalities supported.
       
      repeated string input_modes = 6;
      Parameters:
      value - The inputModes to add.
      Returns:
      This builder for chaining.
    • addAllInputModes

      public AgentSkill.Builder addAllInputModes(Iterable<String> values)
       Possible input modalities supported.
       
      repeated string input_modes = 6;
      Parameters:
      values - The inputModes to add.
      Returns:
      This builder for chaining.
    • clearInputModes

      public AgentSkill.Builder clearInputModes()
       Possible input modalities supported.
       
      repeated string input_modes = 6;
      Returns:
      This builder for chaining.
    • addInputModesBytes

      public AgentSkill.Builder addInputModesBytes(com.google.protobuf.ByteString value)
       Possible input modalities supported.
       
      repeated string input_modes = 6;
      Parameters:
      value - The bytes of the inputModes to add.
      Returns:
      This builder for chaining.
    • getOutputModesList

      public com.google.protobuf.ProtocolStringList getOutputModesList()
       Possible output modalities produced
       
      repeated string output_modes = 7;
      Specified by:
      getOutputModesList in interface AgentSkillOrBuilder
      Returns:
      A list containing the outputModes.
    • getOutputModesCount

      public int getOutputModesCount()
       Possible output modalities produced
       
      repeated string output_modes = 7;
      Specified by:
      getOutputModesCount in interface AgentSkillOrBuilder
      Returns:
      The count of outputModes.
    • getOutputModes

      public String getOutputModes(int index)
       Possible output modalities produced
       
      repeated string output_modes = 7;
      Specified by:
      getOutputModes in interface AgentSkillOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The outputModes at the given index.
    • getOutputModesBytes

      public com.google.protobuf.ByteString getOutputModesBytes(int index)
       Possible output modalities produced
       
      repeated string output_modes = 7;
      Specified by:
      getOutputModesBytes in interface AgentSkillOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the outputModes at the given index.
    • setOutputModes

      public AgentSkill.Builder setOutputModes(int index, String value)
       Possible output modalities produced
       
      repeated string output_modes = 7;
      Parameters:
      index - The index to set the value at.
      value - The outputModes to set.
      Returns:
      This builder for chaining.
    • addOutputModes

      public AgentSkill.Builder addOutputModes(String value)
       Possible output modalities produced
       
      repeated string output_modes = 7;
      Parameters:
      value - The outputModes to add.
      Returns:
      This builder for chaining.
    • addAllOutputModes

      public AgentSkill.Builder addAllOutputModes(Iterable<String> values)
       Possible output modalities produced
       
      repeated string output_modes = 7;
      Parameters:
      values - The outputModes to add.
      Returns:
      This builder for chaining.
    • clearOutputModes

      public AgentSkill.Builder clearOutputModes()
       Possible output modalities produced
       
      repeated string output_modes = 7;
      Returns:
      This builder for chaining.
    • addOutputModesBytes

      public AgentSkill.Builder addOutputModesBytes(com.google.protobuf.ByteString value)
       Possible output modalities produced
       
      repeated string output_modes = 7;
      Parameters:
      value - The bytes of the outputModes to add.
      Returns:
      This builder for chaining.
    • getSecurityList

      public List<Security> getSecurityList()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
      Specified by:
      getSecurityList in interface AgentSkillOrBuilder
    • getSecurityCount

      public int getSecurityCount()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
      Specified by:
      getSecurityCount in interface AgentSkillOrBuilder
    • getSecurity

      public Security getSecurity(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
      Specified by:
      getSecurity in interface AgentSkillOrBuilder
    • setSecurity

      public AgentSkill.Builder setSecurity(int index, Security value)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • setSecurity

      public AgentSkill.Builder setSecurity(int index, Security.Builder builderForValue)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • addSecurity

      public AgentSkill.Builder addSecurity(Security value)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • addSecurity

      public AgentSkill.Builder addSecurity(int index, Security value)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • addSecurity

      public AgentSkill.Builder addSecurity(Security.Builder builderForValue)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • addSecurity

      public AgentSkill.Builder addSecurity(int index, Security.Builder builderForValue)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • addAllSecurity

      public AgentSkill.Builder addAllSecurity(Iterable<? extends Security> values)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • clearSecurity

      public AgentSkill.Builder clearSecurity()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • removeSecurity

      public AgentSkill.Builder removeSecurity(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • getSecurityBuilder

      public Security.Builder getSecurityBuilder(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • getSecurityOrBuilder

      public SecurityOrBuilder getSecurityOrBuilder(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
      Specified by:
      getSecurityOrBuilder in interface AgentSkillOrBuilder
    • getSecurityOrBuilderList

      public List<? extends SecurityOrBuilder> getSecurityOrBuilderList()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
      Specified by:
      getSecurityOrBuilderList in interface AgentSkillOrBuilder
    • addSecurityBuilder

      public Security.Builder addSecurityBuilder()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • addSecurityBuilder

      public Security.Builder addSecurityBuilder(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;
    • getSecurityBuilderList

      public List<Security.Builder> getSecurityBuilderList()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Security schemes necessary for the agent to leverage this skill.
       As in the overall AgentCard.security, this list represents a logical OR of
       security requirement objects. Each object is a set of security schemes
       that must be used together (a logical AND).
       
      repeated .a2a.v1.Security security = 8;