Package org.a2aproject.sdk.compat03.grpc
Interface AgentSkillOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AgentSkill,AgentSkill.Builder
@Generated
public interface AgentSkillOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA human (or llm) readable description of the skill details and behaviors.com.google.protobuf.ByteStringA human (or llm) readable description of the skill details and behaviors.getExamples(int index) A set of example queries that this skill is designed to address.com.google.protobuf.ByteStringgetExamplesBytes(int index) A set of example queries that this skill is designed to address.intA set of example queries that this skill is designed to address.A set of example queries that this skill is designed to address.getId()Unique id of the skill within this agent.com.google.protobuf.ByteStringUnique id of the skill within this agent.getInputModes(int index) Possible input modalities supported.com.google.protobuf.ByteStringgetInputModesBytes(int index) Possible input modalities supported.intPossible input modalities supported.Possible input modalities supported.getName()A human readable name for the skill.com.google.protobuf.ByteStringA human readable name for the skill.getOutputModes(int index) Possible output modalities producedcom.google.protobuf.ByteStringgetOutputModesBytes(int index) Possible output modalities producedintPossible output modalities producedPossible output modalities producedgetSecurity(int index) protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes necessary for the agent to leverage this skill.intprotolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes necessary for the agent to leverage this skill.protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes necessary for the agent to leverage this skill.getSecurityOrBuilder(int index) protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes necessary for the agent to leverage this skill.List<? extends SecurityOrBuilder>protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes necessary for the agent to leverage this skill.getTags(int index) A set of tags for the skill to enhance categorization/utilization.com.google.protobuf.ByteStringgetTagsBytes(int index) A set of tags for the skill to enhance categorization/utilization.intA set of tags for the skill to enhance categorization/utilization.A set of tags for the skill to enhance categorization/utilization.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()Unique id of the skill within this agent.
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Unique id of the skill within this agent.
string id = 1;- Returns:
- The bytes for id.
-
getName
String getName()A human readable name for the skill.
string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()A human readable name for the skill.
string name = 2;- Returns:
- The bytes for name.
-
getDescription
String getDescription()A human (or llm) readable description of the skill details and behaviors.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()A human (or llm) readable description of the skill details and behaviors.
string description = 3;- Returns:
- The bytes for description.
-
getTagsList
A set of tags for the skill to enhance categorization/utilization. Example: ["cooking", "customer support", "billing"]
repeated string tags = 4;- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()A set of tags for the skill to enhance categorization/utilization. Example: ["cooking", "customer support", "billing"]
repeated string tags = 4;- Returns:
- The count of tags.
-
getTags
A set of tags for the skill to enhance categorization/utilization. Example: ["cooking", "customer support", "billing"]
repeated string tags = 4;- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
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;- Returns:
- A list containing the examples.
-
getExamplesCount
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;- Returns:
- The count of examples.
-
getExamples
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 of the element to return.- Returns:
- The examples at the given index.
-
getExamplesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the examples at the given index.
-
getInputModesList
Possible input modalities supported.
repeated string input_modes = 6;- Returns:
- A list containing the inputModes.
-
getInputModesCount
int getInputModesCount()Possible input modalities supported.
repeated string input_modes = 6;- Returns:
- The count of inputModes.
-
getInputModes
Possible input modalities supported.
repeated string input_modes = 6;- Parameters:
index- The index of the element to return.- Returns:
- The inputModes at the given index.
-
getInputModesBytes
com.google.protobuf.ByteString getInputModesBytes(int index) Possible input modalities supported.
repeated string input_modes = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputModes at the given index.
-
getOutputModesList
Possible output modalities produced
repeated string output_modes = 7;- Returns:
- A list containing the outputModes.
-
getOutputModesCount
int getOutputModesCount()Possible output modalities produced
repeated string output_modes = 7;- Returns:
- The count of outputModes.
-
getOutputModes
Possible output modalities produced
repeated string output_modes = 7;- Parameters:
index- The index of the element to return.- Returns:
- The outputModes at the given index.
-
getOutputModesBytes
com.google.protobuf.ByteString getOutputModesBytes(int index) Possible output modalities produced
repeated string output_modes = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputModes at the given index.
-
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; -
getSecurity
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; -
getSecurityCount
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; -
getSecurityOrBuilderList
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; -
getSecurityOrBuilder
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;
-