Class A2AServiceGrpc.A2AServiceFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<A2AServiceGrpc.A2AServiceFutureStub>
org.a2aproject.sdk.grpc.A2AServiceGrpc.A2AServiceFutureStub
Enclosing class:
A2AServiceGrpc

public static final class A2AServiceGrpc.A2AServiceFutureStub extends io.grpc.stub.AbstractFutureStub<A2AServiceGrpc.A2AServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service A2AService.
 Provides operations for interacting with agents using the A2A protocol.
 
  • Method Details

    • build

      protected A2AServiceGrpc.A2AServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<A2AServiceGrpc.A2AServiceFutureStub>
    • sendMessage

      public com.google.common.util.concurrent.ListenableFuture<SendMessageResponse> sendMessage(SendMessageRequest request)
       Sends a message to an agent.
       
    • getTask

      public com.google.common.util.concurrent.ListenableFuture<Task> getTask(GetTaskRequest request)
       Gets the latest state of a task.
       
    • listTasks

      public com.google.common.util.concurrent.ListenableFuture<ListTasksResponse> listTasks(ListTasksRequest request)
       Lists tasks that match the specified filter.
       
    • cancelTask

      public com.google.common.util.concurrent.ListenableFuture<Task> cancelTask(CancelTaskRequest request)
       Cancels a task in progress.
       
    • createTaskPushNotificationConfig

      public com.google.common.util.concurrent.ListenableFuture<TaskPushNotificationConfig> createTaskPushNotificationConfig(TaskPushNotificationConfig request)
       (-- 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

      public com.google.common.util.concurrent.ListenableFuture<TaskPushNotificationConfig> getTaskPushNotificationConfig(GetTaskPushNotificationConfigRequest request)
       Gets a push notification config for a task.
       
    • listTaskPushNotificationConfigs

      public com.google.common.util.concurrent.ListenableFuture<ListTaskPushNotificationConfigsResponse> listTaskPushNotificationConfigs(ListTaskPushNotificationConfigsRequest request)
       Get a list of push notifications configured for a task.
       
    • getExtendedAgentCard

      public com.google.common.util.concurrent.ListenableFuture<AgentCard> getExtendedAgentCard(GetExtendedAgentCardRequest request)
       Gets the extended agent card for the authenticated agent.
       
    • deleteTaskPushNotificationConfig

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTaskPushNotificationConfig(DeleteTaskPushNotificationConfigRequest request)
       Deletes a push notification config for a task.