Package org.a2aproject.sdk.grpc
Class A2AServiceGrpc
java.lang.Object
org.a2aproject.sdk.grpc.A2AServiceGrpc
Provides operations for interacting with agents using the A2A protocol.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA stub to allow clients to do limited synchronous rpc calls to service A2AService.static final classA stub to allow clients to do synchronous rpc calls to service A2AService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service A2AService.static classBase class for the server implementation of the service A2AService.static final classA stub to allow clients to do asynchronous rpc calls to service A2AService.static interfaceProvides operations for interacting with agents using the A2A protocol. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(A2AServiceGrpc.AsyncService service) static io.grpc.MethodDescriptor<CancelTaskRequest,Task> static io.grpc.MethodDescriptor<TaskPushNotificationConfig,TaskPushNotificationConfig> static io.grpc.MethodDescriptor<DeleteTaskPushNotificationConfigRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<GetExtendedAgentCardRequest,AgentCard> static io.grpc.MethodDescriptor<GetTaskRequest,Task> static io.grpc.MethodDescriptor<GetTaskPushNotificationConfigRequest,TaskPushNotificationConfig> static io.grpc.MethodDescriptor<ListTaskPushNotificationConfigsRequest,ListTaskPushNotificationConfigsResponse> static io.grpc.MethodDescriptor<ListTasksRequest,ListTasksResponse> static io.grpc.MethodDescriptor<SendMessageRequest,SendMessageResponse> static io.grpc.MethodDescriptor<SendMessageRequest,StreamResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<SubscribeToTaskRequest,StreamResponse> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getSendMessageMethod
public static io.grpc.MethodDescriptor<SendMessageRequest,SendMessageResponse> getSendMessageMethod() -
getSendStreamingMessageMethod
public static io.grpc.MethodDescriptor<SendMessageRequest,StreamResponse> getSendStreamingMessageMethod() -
getGetTaskMethod
-
getListTasksMethod
-
getCancelTaskMethod
-
getSubscribeToTaskMethod
public static io.grpc.MethodDescriptor<SubscribeToTaskRequest,StreamResponse> getSubscribeToTaskMethod() -
getCreateTaskPushNotificationConfigMethod
public static io.grpc.MethodDescriptor<TaskPushNotificationConfig,TaskPushNotificationConfig> getCreateTaskPushNotificationConfigMethod() -
getGetTaskPushNotificationConfigMethod
public static io.grpc.MethodDescriptor<GetTaskPushNotificationConfigRequest,TaskPushNotificationConfig> getGetTaskPushNotificationConfigMethod() -
getListTaskPushNotificationConfigsMethod
public static io.grpc.MethodDescriptor<ListTaskPushNotificationConfigsRequest,ListTaskPushNotificationConfigsResponse> getListTaskPushNotificationConfigsMethod() -
getGetExtendedAgentCardMethod
public static io.grpc.MethodDescriptor<GetExtendedAgentCardRequest,AgentCard> getGetExtendedAgentCardMethod() -
getDeleteTaskPushNotificationConfigMethod
public static io.grpc.MethodDescriptor<DeleteTaskPushNotificationConfigRequest,com.google.protobuf.Empty> getDeleteTaskPushNotificationConfigMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(A2AServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-