Class AgentSkill

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.a2aproject.sdk.grpc.AgentSkill
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, AgentSkillOrBuilder

@Generated public final class AgentSkill extends com.google.protobuf.GeneratedMessage implements AgentSkillOrBuilder
 Represents a distinct capability or function that an agent can perform.
 
Protobuf type lf.a2a.v1.AgentSkill
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Represents a distinct capability or function that an agent can perform.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static AgentSkill
     
     
    A detailed description of the skill.
    com.google.protobuf.ByteString
    A detailed description of the skill.
    static final com.google.protobuf.Descriptors.Descriptor
     
    getExamples(int index)
    Example prompts or scenarios that this skill can handle.
    com.google.protobuf.ByteString
    getExamplesBytes(int index)
    Example prompts or scenarios that this skill can handle.
    int
    Example prompts or scenarios that this skill can handle.
    com.google.protobuf.ProtocolStringList
    Example prompts or scenarios that this skill can handle.
    A unique identifier for the agent's skill.
    com.google.protobuf.ByteString
    A unique identifier for the agent's skill.
    getInputModes(int index)
    The set of supported input media types for this skill, overriding the agent's defaults.
    com.google.protobuf.ByteString
    getInputModesBytes(int index)
    The set of supported input media types for this skill, overriding the agent's defaults.
    int
    The set of supported input media types for this skill, overriding the agent's defaults.
    com.google.protobuf.ProtocolStringList
    The set of supported input media types for this skill, overriding the agent's defaults.
    A human-readable name for the skill.
    com.google.protobuf.ByteString
    A human-readable name for the skill.
    getOutputModes(int index)
    The set of supported output media types for this skill, overriding the agent's defaults.
    com.google.protobuf.ByteString
    The set of supported output media types for this skill, overriding the agent's defaults.
    int
    The set of supported output media types for this skill, overriding the agent's defaults.
    com.google.protobuf.ProtocolStringList
    The set of supported output media types for this skill, overriding the agent's defaults.
    com.google.protobuf.Parser<AgentSkill>
     
    Security schemes necessary for this skill.
    int
    Security schemes necessary for this skill.
    Security schemes necessary for this skill.
    Security schemes necessary for this skill.
    Security schemes necessary for this skill.
    int
     
    getTags(int index)
    A set of keywords describing the skill's capabilities.
    com.google.protobuf.ByteString
    getTagsBytes(int index)
    A set of keywords describing the skill's capabilities.
    int
    A set of keywords describing the skill's capabilities.
    com.google.protobuf.ProtocolStringList
    A set of keywords describing the skill's capabilities.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static AgentSkill
     
    static AgentSkill
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static AgentSkill
    parseFrom(byte[] data)
     
    static AgentSkill
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static AgentSkill
    parseFrom(com.google.protobuf.ByteString data)
     
    static AgentSkill
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static AgentSkill
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static AgentSkill
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static AgentSkill
     
    static AgentSkill
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static AgentSkill
     
    static AgentSkill
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<AgentSkill>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

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

      public String getId()
       A unique identifier for the agent's skill.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getId in interface AgentSkillOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       A unique identifier for the agent's skill.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIdBytes in interface AgentSkillOrBuilder
      Returns:
      The bytes for id.
    • getName

      public String getName()
       A human-readable name for the skill.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface AgentSkillOrBuilder
      Returns:
      The bytes for name.
    • getDescription

      public String getDescription()
       A detailed description of the skill.
       
      string description = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDescription in interface AgentSkillOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A detailed description of the skill.
       
      string description = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDescriptionBytes in interface AgentSkillOrBuilder
      Returns:
      The bytes for description.
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
       A set of keywords describing the skill's capabilities.
       
      repeated string tags = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTagsList in interface AgentSkillOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
       A set of keywords describing the skill's capabilities.
       
      repeated string tags = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTagsCount in interface AgentSkillOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
       A set of keywords describing the skill's capabilities.
       
      repeated string tags = 4 [(.google.api.field_behavior) = REQUIRED];
      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 keywords describing the skill's capabilities.
       
      repeated string tags = 4 [(.google.api.field_behavior) = REQUIRED];
      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.
    • getExamplesList

      public com.google.protobuf.ProtocolStringList getExamplesList()
       Example prompts or scenarios that this skill can handle.
       
      repeated string examples = 5;
      Specified by:
      getExamplesList in interface AgentSkillOrBuilder
      Returns:
      A list containing the examples.
    • getExamplesCount

      public int getExamplesCount()
       Example prompts or scenarios that this skill can handle.
       
      repeated string examples = 5;
      Specified by:
      getExamplesCount in interface AgentSkillOrBuilder
      Returns:
      The count of examples.
    • getExamples

      public String getExamples(int index)
       Example prompts or scenarios that this skill can handle.
       
      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)
       Example prompts or scenarios that this skill can handle.
       
      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.
    • getInputModesList

      public com.google.protobuf.ProtocolStringList getInputModesList()
       The set of supported input media types for this skill, overriding the agent's defaults.
       
      repeated string input_modes = 6;
      Specified by:
      getInputModesList in interface AgentSkillOrBuilder
      Returns:
      A list containing the inputModes.
    • getInputModesCount

      public int getInputModesCount()
       The set of supported input media types for this skill, overriding the agent's defaults.
       
      repeated string input_modes = 6;
      Specified by:
      getInputModesCount in interface AgentSkillOrBuilder
      Returns:
      The count of inputModes.
    • getInputModes

      public String getInputModes(int index)
       The set of supported input media types for this skill, overriding the agent's defaults.
       
      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)
       The set of supported input media types for this skill, overriding the agent's defaults.
       
      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.
    • getOutputModesList

      public com.google.protobuf.ProtocolStringList getOutputModesList()
       The set of supported output media types for this skill, overriding the agent's defaults.
       
      repeated string output_modes = 7;
      Specified by:
      getOutputModesList in interface AgentSkillOrBuilder
      Returns:
      A list containing the outputModes.
    • getOutputModesCount

      public int getOutputModesCount()
       The set of supported output media types for this skill, overriding the agent's defaults.
       
      repeated string output_modes = 7;
      Specified by:
      getOutputModesCount in interface AgentSkillOrBuilder
      Returns:
      The count of outputModes.
    • getOutputModes

      public String getOutputModes(int index)
       The set of supported output media types for this skill, overriding the agent's defaults.
       
      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)
       The set of supported output media types for this skill, overriding the agent's defaults.
       
      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.
    • getSecurityRequirementsList

      public List<SecurityRequirement> getSecurityRequirementsList()
       Security schemes necessary for this skill.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;
      Specified by:
      getSecurityRequirementsList in interface AgentSkillOrBuilder
    • getSecurityRequirementsOrBuilderList

      public List<? extends SecurityRequirementOrBuilder> getSecurityRequirementsOrBuilderList()
       Security schemes necessary for this skill.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;
      Specified by:
      getSecurityRequirementsOrBuilderList in interface AgentSkillOrBuilder
    • getSecurityRequirementsCount

      public int getSecurityRequirementsCount()
       Security schemes necessary for this skill.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;
      Specified by:
      getSecurityRequirementsCount in interface AgentSkillOrBuilder
    • getSecurityRequirements

      public SecurityRequirement getSecurityRequirements(int index)
       Security schemes necessary for this skill.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;
      Specified by:
      getSecurityRequirements in interface AgentSkillOrBuilder
    • getSecurityRequirementsOrBuilder

      public SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder(int index)
       Security schemes necessary for this skill.
       
      repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;
      Specified by:
      getSecurityRequirementsOrBuilder in interface AgentSkillOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AgentSkill parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentSkill parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentSkill parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentSkill parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentSkill parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentSkill parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentSkill parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AgentSkill parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AgentSkill parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AgentSkill parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AgentSkill parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AgentSkill parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static AgentSkill.Builder newBuilder()
    • newBuilder

      public static AgentSkill.Builder newBuilder(AgentSkill prototype)
    • toBuilder

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

      protected AgentSkill.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AgentSkill getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AgentSkill> parser()
    • getParserForType

      public com.google.protobuf.Parser<AgentSkill> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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