Package org.a2aproject.sdk.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 detailed description of the skill.com.google.protobuf.ByteStringA detailed description of the skill.getExamples(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.Example 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.The 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.The set of supported output media types for this skill, overriding the agent's defaults.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.getTags(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.A set of keywords describing the skill's capabilities.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()A unique identifier for the agent's skill.
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()A unique identifier for the agent's skill.
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for id.
-
getName
String getName()A human-readable name for the skill.
string name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()A human-readable name for the skill.
string name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for name.
-
getDescription
String getDescription()A detailed description of the skill.
string description = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()A detailed description of the skill.
string description = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for description.
-
getTagsList
A set of keywords describing the skill's capabilities.
repeated string tags = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()A set of keywords describing the skill's capabilities.
repeated string tags = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count of tags.
-
getTags
A set of keywords describing the skill's capabilities.
repeated string tags = 4 [(.google.api.field_behavior) = REQUIRED];- 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 keywords describing the skill's capabilities.
repeated string tags = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getExamplesList
Example prompts or scenarios that this skill can handle.
repeated string examples = 5;- Returns:
- A list containing the examples.
-
getExamplesCount
int getExamplesCount()Example prompts or scenarios that this skill can handle.
repeated string examples = 5;- Returns:
- The count of examples.
-
getExamples
Example prompts or scenarios that this skill can handle.
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) Example prompts or scenarios that this skill can handle.
repeated string examples = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the examples at the given index.
-
getInputModesList
The set of supported input media types for this skill, overriding the agent's defaults.
repeated string input_modes = 6;- Returns:
- A list containing the inputModes.
-
getInputModesCount
int getInputModesCount()The set of supported input media types for this skill, overriding the agent's defaults.
repeated string input_modes = 6;- 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;- Parameters:
index- The index of the element to return.- Returns:
- The inputModes at the given index.
-
getInputModesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputModes at the given index.
-
getOutputModesList
The set of supported output media types for this skill, overriding the agent's defaults.
repeated string output_modes = 7;- Returns:
- A list containing the outputModes.
-
getOutputModesCount
int getOutputModesCount()The set of supported output media types for this skill, overriding the agent's defaults.
repeated string output_modes = 7;- 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;- Parameters:
index- The index of the element to return.- Returns:
- The outputModes at the given index.
-
getOutputModesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputModes at the given index.
-
getSecurityRequirementsList
List<SecurityRequirement> getSecurityRequirementsList()Security schemes necessary for this skill.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; -
getSecurityRequirements
Security schemes necessary for this skill.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; -
getSecurityRequirementsCount
int getSecurityRequirementsCount()Security schemes necessary for this skill.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; -
getSecurityRequirementsOrBuilderList
List<? extends SecurityRequirementOrBuilder> getSecurityRequirementsOrBuilderList()Security schemes necessary for this skill.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; -
getSecurityRequirementsOrBuilder
Security schemes necessary for this skill.
repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8;
-