Interface A2AServiceGrpc.AsyncService

All Known Implementing Classes:
A2AServiceGrpc.A2AServiceImplBase, GrpcHandler, QuarkusGrpcHandler
Enclosing class:
A2AServiceGrpc

public static interface A2AServiceGrpc.AsyncService
Provides operations for interacting with agents using the A2A protocol.
  • Method Details

    • sendMessage

      default void sendMessage(SendMessageRequest request, io.grpc.stub.StreamObserver<SendMessageResponse> responseObserver)
      Sends a message to an agent.
      
    • sendStreamingMessage

      default void sendStreamingMessage(SendMessageRequest request, io.grpc.stub.StreamObserver<StreamResponse> responseObserver)
      Sends a streaming message to an agent, allowing for real-time interaction and status updates.
      Streaming version of `SendMessage`
      
    • getTask

      default void getTask(GetTaskRequest request, io.grpc.stub.StreamObserver<Task> responseObserver)
      Gets the latest state of a task.
      
    • listTasks

      default void listTasks(ListTasksRequest request, io.grpc.stub.StreamObserver<ListTasksResponse> responseObserver)
      Lists tasks that match the specified filter.
      
    • cancelTask

      default void cancelTask(CancelTaskRequest request, io.grpc.stub.StreamObserver<Task> responseObserver)
      Cancels a task in progress.
      
    • subscribeToTask

      default void subscribeToTask(SubscribeToTaskRequest request, io.grpc.stub.StreamObserver<StreamResponse> responseObserver)
      Subscribes to task updates for tasks not in a terminal state.
      Returns `UnsupportedOperationError` if the task is already in a terminal state (completed, failed, canceled, rejected).
      
    • createTaskPushNotificationConfig

      default void createTaskPushNotificationConfig(TaskPushNotificationConfig request, io.grpc.stub.StreamObserver<TaskPushNotificationConfig> responseObserver)
      (-- api-linter: client-libraries::4232::required-fields=disabled
          api-linter: core::0133::method-signature=disabled
          api-linter: core::0133::request-message-name=disabled
          aip.dev/not-precedent: method_signature preserved for backwards compatibility --)
      Creates a push notification config for a task.
      
    • getTaskPushNotificationConfig

      default void getTaskPushNotificationConfig(GetTaskPushNotificationConfigRequest request, io.grpc.stub.StreamObserver<TaskPushNotificationConfig> responseObserver)
      Gets a push notification config for a task.
      
    • listTaskPushNotificationConfigs

      default void listTaskPushNotificationConfigs(ListTaskPushNotificationConfigsRequest request, io.grpc.stub.StreamObserver<ListTaskPushNotificationConfigsResponse> responseObserver)
      Get a list of push notifications configured for a task.
      
    • getExtendedAgentCard

      default void getExtendedAgentCard(GetExtendedAgentCardRequest request, io.grpc.stub.StreamObserver<AgentCard> responseObserver)
      Gets the extended agent card for the authenticated agent.
      
    • deleteTaskPushNotificationConfig

      default void deleteTaskPushNotificationConfig(DeleteTaskPushNotificationConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
      Deletes a push notification config for a task.