Package org.a2aproject.sdk.grpc
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 ClassesModifier and TypeClassDescriptionstatic final classRepresents 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AgentSkillA detailed description of the skill.com.google.protobuf.ByteStringA detailed description of the skill.static final com.google.protobuf.Descriptors.DescriptorgetExamples(int index) Example prompts or scenarios that this skill can handle.com.google.protobuf.ByteStringgetExamplesBytes(int index) Example prompts or scenarios that this skill can handle.intExample prompts or scenarios that this skill can handle.com.google.protobuf.ProtocolStringListExample prompts or scenarios that this skill can handle.getId()A unique identifier for the agent's skill.com.google.protobuf.ByteStringA 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.ByteStringgetInputModesBytes(int index) The set of supported input media types for this skill, overriding the agent's defaults.intThe set of supported input media types for this skill, overriding the agent's defaults.com.google.protobuf.ProtocolStringListThe set of supported input media types for this skill, overriding the agent's defaults.getName()A human-readable name for the skill.com.google.protobuf.ByteStringA 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.ByteStringgetOutputModesBytes(int index) The set of supported output media types for this skill, overriding the agent's defaults.intThe set of supported output media types for this skill, overriding the agent's defaults.com.google.protobuf.ProtocolStringListThe set of supported output media types for this skill, overriding the agent's defaults.com.google.protobuf.Parser<AgentSkill>getSecurityRequirements(int index) Security schemes necessary for this skill.intSecurity schemes necessary for this skill.Security schemes necessary for this skill.getSecurityRequirementsOrBuilder(int index) Security schemes necessary for this skill.List<? extends SecurityRequirementOrBuilder>Security schemes necessary for this skill.intgetTags(int index) A set of keywords describing the skill's capabilities.com.google.protobuf.ByteStringgetTagsBytes(int index) A set of keywords describing the skill's capabilities.intA set of keywords describing the skill's capabilities.com.google.protobuf.ProtocolStringListA set of keywords describing the skill's capabilities.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AgentSkill.Builderstatic AgentSkill.BuildernewBuilder(AgentSkill prototype) protected AgentSkill.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AgentSkillparseDelimitedFrom(InputStream input) static AgentSkillparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentSkillparseFrom(byte[] data) static AgentSkillparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentSkillparseFrom(com.google.protobuf.ByteString data) static AgentSkillparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentSkillparseFrom(com.google.protobuf.CodedInputStream input) static AgentSkillparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentSkillparseFrom(InputStream input) static AgentSkillparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentSkillparseFrom(ByteBuffer data) static AgentSkillparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AgentSkill>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
EXAMPLES_FIELD_NUMBER
public static final int EXAMPLES_FIELD_NUMBER- See Also:
-
INPUT_MODES_FIELD_NUMBER
public static final int INPUT_MODES_FIELD_NUMBER- See Also:
-
OUTPUT_MODES_FIELD_NUMBER
public static final int OUTPUT_MODES_FIELD_NUMBER- See Also:
-
SECURITY_REQUIREMENTS_FIELD_NUMBER
public static final int SECURITY_REQUIREMENTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getId
A unique identifier for the agent's skill.
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getIdin interfaceAgentSkillOrBuilder- 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:
getIdBytesin interfaceAgentSkillOrBuilder- Returns:
- The bytes for id.
-
getName
A human-readable name for the skill.
string name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceAgentSkillOrBuilder- 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:
getNameBytesin interfaceAgentSkillOrBuilder- Returns:
- The bytes for name.
-
getDescription
A detailed description of the skill.
string description = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDescriptionin interfaceAgentSkillOrBuilder- 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:
getDescriptionBytesin interfaceAgentSkillOrBuilder- 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:
getTagsListin interfaceAgentSkillOrBuilder- 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:
getTagsCountin interfaceAgentSkillOrBuilder- Returns:
- The count of tags.
-
getTags
A set of keywords describing the skill's capabilities.
repeated string tags = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTagsin interfaceAgentSkillOrBuilder- 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:
getTagsBytesin interfaceAgentSkillOrBuilder- 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:
getExamplesListin interfaceAgentSkillOrBuilder- 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:
getExamplesCountin interfaceAgentSkillOrBuilder- Returns:
- The count of examples.
-
getExamples
Example prompts or scenarios that this skill can handle.
repeated string examples = 5;- Specified by:
getExamplesin interfaceAgentSkillOrBuilder- 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:
getExamplesBytesin interfaceAgentSkillOrBuilder- 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:
getInputModesListin interfaceAgentSkillOrBuilder- 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:
getInputModesCountin interfaceAgentSkillOrBuilder- Returns:
- The count of inputModes.
-
getInputModes
The set of supported input media types for this skill, overriding the agent's defaults.
repeated string input_modes = 6;- Specified by:
getInputModesin interfaceAgentSkillOrBuilder- 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:
getInputModesBytesin interfaceAgentSkillOrBuilder- 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:
getOutputModesListin interfaceAgentSkillOrBuilder- 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:
getOutputModesCountin interfaceAgentSkillOrBuilder- Returns:
- The count of outputModes.
-
getOutputModes
The set of supported output media types for this skill, overriding the agent's defaults.
repeated string output_modes = 7;- Specified by:
getOutputModesin interfaceAgentSkillOrBuilder- 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:
getOutputModesBytesin interfaceAgentSkillOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputModes at the given index.
-
getSecurityRequirementsList
Security schemes necessary for this skill.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;- Specified by:
getSecurityRequirementsListin interfaceAgentSkillOrBuilder
-
getSecurityRequirementsOrBuilderList
Security schemes necessary for this skill.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;- Specified by:
getSecurityRequirementsOrBuilderListin interfaceAgentSkillOrBuilder
-
getSecurityRequirementsCount
public int getSecurityRequirementsCount()Security schemes necessary for this skill.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;- Specified by:
getSecurityRequirementsCountin interfaceAgentSkillOrBuilder
-
getSecurityRequirements
Security schemes necessary for this skill.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;- Specified by:
getSecurityRequirementsin interfaceAgentSkillOrBuilder
-
getSecurityRequirementsOrBuilder
Security schemes necessary for this skill.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;- Specified by:
getSecurityRequirementsOrBuilderin interfaceAgentSkillOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static AgentSkill parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AgentSkill parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AgentSkill parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AgentSkill.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-