1616 * - AgentCard is a static resource with only a get method.
1717 * </pre>
1818 */
19- @ javax .annotation .Generated (
20- value = "by gRPC proto compiler (version 1.73.0)" ,
21- comments = "Source: a2a.proto" )
2219@ io .grpc .stub .annotations .GrpcGenerated
2320public final class A2AServiceGrpc {
2421
@@ -773,8 +770,8 @@ protected A2AServiceBlockingV2Stub build(
773770 * task once it is completed, or a LRO if requested.
774771 * </pre>
775772 */
776- public io .a2a .grpc .SendMessageResponse sendMessage (io .a2a .grpc .SendMessageRequest request ) {
777- return io .grpc .stub .ClientCalls .blockingUnaryCall (
773+ public io .a2a .grpc .SendMessageResponse sendMessage (io .a2a .grpc .SendMessageRequest request ) throws io . grpc . StatusException {
774+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
778775 getChannel (), getSendMessageMethod (), getCallOptions (), request );
779776 }
780777
@@ -796,8 +793,8 @@ public io.a2a.grpc.SendMessageResponse sendMessage(io.a2a.grpc.SendMessageReques
796793 * Get the current state of a task from the agent.
797794 * </pre>
798795 */
799- public io .a2a .grpc .Task getTask (io .a2a .grpc .GetTaskRequest request ) {
800- return io .grpc .stub .ClientCalls .blockingUnaryCall (
796+ public io .a2a .grpc .Task getTask (io .a2a .grpc .GetTaskRequest request ) throws io . grpc . StatusException {
797+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
801798 getChannel (), getGetTaskMethod (), getCallOptions (), request );
802799 }
803800
@@ -806,8 +803,8 @@ public io.a2a.grpc.Task getTask(io.a2a.grpc.GetTaskRequest request) {
806803 * List tasks with optional filtering and pagination.
807804 * </pre>
808805 */
809- public io .a2a .grpc .ListTasksResponse listTasks (io .a2a .grpc .ListTasksRequest request ) {
810- return io .grpc .stub .ClientCalls .blockingUnaryCall (
806+ public io .a2a .grpc .ListTasksResponse listTasks (io .a2a .grpc .ListTasksRequest request ) throws io . grpc . StatusException {
807+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
811808 getChannel (), getListTasksMethod (), getCallOptions (), request );
812809 }
813810
@@ -817,8 +814,8 @@ public io.a2a.grpc.ListTasksResponse listTasks(io.a2a.grpc.ListTasksRequest requ
817814 * more task updates for the task.
818815 * </pre>
819816 */
820- public io .a2a .grpc .Task cancelTask (io .a2a .grpc .CancelTaskRequest request ) {
821- return io .grpc .stub .ClientCalls .blockingUnaryCall (
817+ public io .a2a .grpc .Task cancelTask (io .a2a .grpc .CancelTaskRequest request ) throws io . grpc . StatusException {
818+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
822819 getChannel (), getCancelTaskMethod (), getCallOptions (), request );
823820 }
824821
@@ -842,8 +839,8 @@ public io.a2a.grpc.Task cancelTask(io.a2a.grpc.CancelTaskRequest request) {
842839 * Set a push notification config for a task.
843840 * </pre>
844841 */
845- public io .a2a .grpc .TaskPushNotificationConfig createTaskPushNotificationConfig (io .a2a .grpc .CreateTaskPushNotificationConfigRequest request ) {
846- return io .grpc .stub .ClientCalls .blockingUnaryCall (
842+ public io .a2a .grpc .TaskPushNotificationConfig createTaskPushNotificationConfig (io .a2a .grpc .CreateTaskPushNotificationConfigRequest request ) throws io . grpc . StatusException {
843+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
847844 getChannel (), getCreateTaskPushNotificationConfigMethod (), getCallOptions (), request );
848845 }
849846
@@ -852,8 +849,8 @@ public io.a2a.grpc.TaskPushNotificationConfig createTaskPushNotificationConfig(i
852849 * Get a push notification config for a task.
853850 * </pre>
854851 */
855- public io .a2a .grpc .TaskPushNotificationConfig getTaskPushNotificationConfig (io .a2a .grpc .GetTaskPushNotificationConfigRequest request ) {
856- return io .grpc .stub .ClientCalls .blockingUnaryCall (
852+ public io .a2a .grpc .TaskPushNotificationConfig getTaskPushNotificationConfig (io .a2a .grpc .GetTaskPushNotificationConfigRequest request ) throws io . grpc . StatusException {
853+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
857854 getChannel (), getGetTaskPushNotificationConfigMethod (), getCallOptions (), request );
858855 }
859856
@@ -862,8 +859,8 @@ public io.a2a.grpc.TaskPushNotificationConfig getTaskPushNotificationConfig(io.a
862859 * Get a list of push notifications configured for a task.
863860 * </pre>
864861 */
865- public io .a2a .grpc .ListTaskPushNotificationConfigResponse listTaskPushNotificationConfig (io .a2a .grpc .ListTaskPushNotificationConfigRequest request ) {
866- return io .grpc .stub .ClientCalls .blockingUnaryCall (
862+ public io .a2a .grpc .ListTaskPushNotificationConfigResponse listTaskPushNotificationConfig (io .a2a .grpc .ListTaskPushNotificationConfigRequest request ) throws io . grpc . StatusException {
863+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
867864 getChannel (), getListTaskPushNotificationConfigMethod (), getCallOptions (), request );
868865 }
869866
@@ -872,8 +869,8 @@ public io.a2a.grpc.ListTaskPushNotificationConfigResponse listTaskPushNotificati
872869 * GetAgentCard returns the agent card for the agent.
873870 * </pre>
874871 */
875- public io .a2a .grpc .AgentCard getAgentCard (io .a2a .grpc .GetAgentCardRequest request ) {
876- return io .grpc .stub .ClientCalls .blockingUnaryCall (
872+ public io .a2a .grpc .AgentCard getAgentCard (io .a2a .grpc .GetAgentCardRequest request ) throws io . grpc . StatusException {
873+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
877874 getChannel (), getGetAgentCardMethod (), getCallOptions (), request );
878875 }
879876
@@ -882,8 +879,8 @@ public io.a2a.grpc.AgentCard getAgentCard(io.a2a.grpc.GetAgentCardRequest reques
882879 * Delete a push notification config for a task.
883880 * </pre>
884881 */
885- public com .google .protobuf .Empty deleteTaskPushNotificationConfig (io .a2a .grpc .DeleteTaskPushNotificationConfigRequest request ) {
886- return io .grpc .stub .ClientCalls .blockingUnaryCall (
882+ public com .google .protobuf .Empty deleteTaskPushNotificationConfig (io .a2a .grpc .DeleteTaskPushNotificationConfigRequest request ) throws io . grpc . StatusException {
883+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
887884 getChannel (), getDeleteTaskPushNotificationConfigMethod (), getCallOptions (), request );
888885 }
889886 }
0 commit comments