Package org.a2aproject.sdk.compat03.grpc
Class A2AServiceGrpc.A2AServiceImplBase
java.lang.Object
org.a2aproject.sdk.compat03.grpc.A2AServiceGrpc.A2AServiceImplBase
- All Implemented Interfaces:
io.grpc.BindableService,A2AServiceGrpc.AsyncService
- Direct Known Subclasses:
GrpcHandler_v0_3
- Enclosing class:
- A2AServiceGrpc
public abstract static class A2AServiceGrpc.A2AServiceImplBase
extends Object
implements io.grpc.BindableService, A2AServiceGrpc.AsyncService
Base class for the server implementation of the service A2AService.
A2AService defines the gRPC version of the A2A protocol. This has a slightly different shape than the JSONRPC version to better conform to AIP-127, where appropriate. The nouns are AgentCard, Message, Task and TaskPushNotificationConfig. - Messages are not a standard resource so there is no get/delete/update/list interface, only a send and stream custom methods. - Tasks have a get interface and custom cancel and subscribe methods. - TaskPushNotificationConfig are a resource whose parent is a task. They have get, list and create methods. - AgentCard is a static resource with only a get method. fields are not present as they don't comply with AIP rules, and the optional history_length on the get task method is not present as it also violates AIP-127 and AIP-131.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.a2aproject.sdk.compat03.grpc.A2AServiceGrpc.AsyncService
cancelTask, createTaskPushNotificationConfig, deleteTaskPushNotificationConfig, getAgentCard, getTask, getTaskPushNotificationConfig, listTaskPushNotificationConfig, sendMessage, sendStreamingMessage, taskSubscription
-
Constructor Details
-
A2AServiceImplBase
public A2AServiceImplBase()
-
-
Method Details
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-