Package org.a2aproject.sdk.grpc
Interface AgentCapabilitiesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AgentCapabilities,AgentCapabilities.Builder
@Generated
public interface AgentCapabilitiesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if the agent supports providing an extended agent card when authenticated.getExtensions(int index) A list of protocol extensions supported by the agent.intA list of protocol extensions supported by the agent.A list of protocol extensions supported by the agent.getExtensionsOrBuilder(int index) A list of protocol extensions supported by the agent.List<? extends AgentExtensionOrBuilder>A list of protocol extensions supported by the agent.booleanIndicates if the agent supports sending push notifications for asynchronous task updates.booleanIndicates if the agent supports streaming responses.booleanIndicates if the agent supports providing an extended agent card when authenticated.booleanIndicates if the agent supports sending push notifications for asynchronous task updates.booleanIndicates if the agent supports streaming responses.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
-
hasStreaming
boolean hasStreaming()Indicates if the agent supports streaming responses.
optional bool streaming = 1;- Returns:
- Whether the streaming field is set.
-
getStreaming
boolean getStreaming()Indicates if the agent supports streaming responses.
optional bool streaming = 1;- Returns:
- The streaming.
-
hasPushNotifications
boolean hasPushNotifications()Indicates if the agent supports sending push notifications for asynchronous task updates.
optional bool push_notifications = 2;- Returns:
- Whether the pushNotifications field is set.
-
getPushNotifications
boolean getPushNotifications()Indicates if the agent supports sending push notifications for asynchronous task updates.
optional bool push_notifications = 2;- Returns:
- The pushNotifications.
-
getExtensionsList
List<AgentExtension> getExtensionsList()A list of protocol extensions supported by the agent.
repeated .lf.a2a.v1.AgentExtension extensions = 3; -
getExtensions
A list of protocol extensions supported by the agent.
repeated .lf.a2a.v1.AgentExtension extensions = 3; -
getExtensionsCount
int getExtensionsCount()A list of protocol extensions supported by the agent.
repeated .lf.a2a.v1.AgentExtension extensions = 3; -
getExtensionsOrBuilderList
List<? extends AgentExtensionOrBuilder> getExtensionsOrBuilderList()A list of protocol extensions supported by the agent.
repeated .lf.a2a.v1.AgentExtension extensions = 3; -
getExtensionsOrBuilder
A list of protocol extensions supported by the agent.
repeated .lf.a2a.v1.AgentExtension extensions = 3; -
hasExtendedAgentCard
boolean hasExtendedAgentCard()Indicates if the agent supports providing an extended agent card when authenticated.
optional bool extended_agent_card = 4;- Returns:
- Whether the extendedAgentCard field is set.
-
getExtendedAgentCard
boolean getExtendedAgentCard()Indicates if the agent supports providing an extended agent card when authenticated.
optional bool extended_agent_card = 4;- Returns:
- The extendedAgentCard.
-