@alis-build/a2a 1.0.429
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lf/a2a/v1/a2a_grpc_pb.d.ts +73 -0
- package/lf/a2a/v1/a2a_grpc_pb.js +347 -0
- package/lf/a2a/v1/a2a_grpc_web_pb.d.ts +147 -0
- package/lf/a2a/v1/a2a_grpc_web_pb.js +752 -0
- package/lf/a2a/v1/a2a_pb.d.ts +1594 -0
- package/lf/a2a/v1/a2a_pb.js +12570 -0
- package/package.json +11 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// package: lf.a2a.v1
|
|
4
|
+
// file: lf/a2a/v1/a2a.proto
|
|
5
|
+
|
|
6
|
+
import * as lf_a2a_v1_a2a_pb from "../../../lf/a2a/v1/a2a_pb";
|
|
7
|
+
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
8
|
+
import * as grpc from "@grpc/grpc-js";
|
|
9
|
+
|
|
10
|
+
interface IA2AServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
11
|
+
sendMessage: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.SendMessageRequest, lf_a2a_v1_a2a_pb.SendMessageResponse>;
|
|
12
|
+
sendStreamingMessage: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.SendMessageRequest, lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
13
|
+
getTask: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.GetTaskRequest, lf_a2a_v1_a2a_pb.Task>;
|
|
14
|
+
listTasks: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.ListTasksRequest, lf_a2a_v1_a2a_pb.ListTasksResponse>;
|
|
15
|
+
cancelTask: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.CancelTaskRequest, lf_a2a_v1_a2a_pb.Task>;
|
|
16
|
+
subscribeToTask: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.SubscribeToTaskRequest, lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
17
|
+
createTaskPushNotificationConfig: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig, lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>;
|
|
18
|
+
getTaskPushNotificationConfig: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.GetTaskPushNotificationConfigRequest, lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>;
|
|
19
|
+
listTaskPushNotificationConfigs: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsRequest, lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse>;
|
|
20
|
+
getExtendedAgentCard: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.GetExtendedAgentCardRequest, lf_a2a_v1_a2a_pb.AgentCard>;
|
|
21
|
+
deleteTaskPushNotificationConfig: grpc.MethodDefinition<lf_a2a_v1_a2a_pb.DeleteTaskPushNotificationConfigRequest, google_protobuf_empty_pb.Empty>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const A2AServiceService: IA2AServiceService;
|
|
25
|
+
|
|
26
|
+
export interface IA2AServiceServer extends grpc.UntypedServiceImplementation {
|
|
27
|
+
sendMessage: grpc.handleUnaryCall<lf_a2a_v1_a2a_pb.SendMessageRequest, lf_a2a_v1_a2a_pb.SendMessageResponse>;
|
|
28
|
+
sendStreamingMessage: grpc.handleServerStreamingCall<lf_a2a_v1_a2a_pb.SendMessageRequest, lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
29
|
+
getTask: grpc.handleUnaryCall<lf_a2a_v1_a2a_pb.GetTaskRequest, lf_a2a_v1_a2a_pb.Task>;
|
|
30
|
+
listTasks: grpc.handleUnaryCall<lf_a2a_v1_a2a_pb.ListTasksRequest, lf_a2a_v1_a2a_pb.ListTasksResponse>;
|
|
31
|
+
cancelTask: grpc.handleUnaryCall<lf_a2a_v1_a2a_pb.CancelTaskRequest, lf_a2a_v1_a2a_pb.Task>;
|
|
32
|
+
subscribeToTask: grpc.handleServerStreamingCall<lf_a2a_v1_a2a_pb.SubscribeToTaskRequest, lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
33
|
+
createTaskPushNotificationConfig: grpc.handleUnaryCall<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig, lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>;
|
|
34
|
+
getTaskPushNotificationConfig: grpc.handleUnaryCall<lf_a2a_v1_a2a_pb.GetTaskPushNotificationConfigRequest, lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>;
|
|
35
|
+
listTaskPushNotificationConfigs: grpc.handleUnaryCall<lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsRequest, lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse>;
|
|
36
|
+
getExtendedAgentCard: grpc.handleUnaryCall<lf_a2a_v1_a2a_pb.GetExtendedAgentCardRequest, lf_a2a_v1_a2a_pb.AgentCard>;
|
|
37
|
+
deleteTaskPushNotificationConfig: grpc.handleUnaryCall<lf_a2a_v1_a2a_pb.DeleteTaskPushNotificationConfigRequest, google_protobuf_empty_pb.Empty>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export class A2AServiceClient extends grpc.Client {
|
|
41
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
|
42
|
+
sendMessage(argument: lf_a2a_v1_a2a_pb.SendMessageRequest, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.SendMessageResponse>): grpc.ClientUnaryCall;
|
|
43
|
+
sendMessage(argument: lf_a2a_v1_a2a_pb.SendMessageRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.SendMessageResponse>): grpc.ClientUnaryCall;
|
|
44
|
+
sendMessage(argument: lf_a2a_v1_a2a_pb.SendMessageRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.SendMessageResponse>): grpc.ClientUnaryCall;
|
|
45
|
+
sendStreamingMessage(argument: lf_a2a_v1_a2a_pb.SendMessageRequest, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
46
|
+
sendStreamingMessage(argument: lf_a2a_v1_a2a_pb.SendMessageRequest, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
47
|
+
getTask(argument: lf_a2a_v1_a2a_pb.GetTaskRequest, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.Task>): grpc.ClientUnaryCall;
|
|
48
|
+
getTask(argument: lf_a2a_v1_a2a_pb.GetTaskRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.Task>): grpc.ClientUnaryCall;
|
|
49
|
+
getTask(argument: lf_a2a_v1_a2a_pb.GetTaskRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.Task>): grpc.ClientUnaryCall;
|
|
50
|
+
listTasks(argument: lf_a2a_v1_a2a_pb.ListTasksRequest, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.ListTasksResponse>): grpc.ClientUnaryCall;
|
|
51
|
+
listTasks(argument: lf_a2a_v1_a2a_pb.ListTasksRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.ListTasksResponse>): grpc.ClientUnaryCall;
|
|
52
|
+
listTasks(argument: lf_a2a_v1_a2a_pb.ListTasksRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.ListTasksResponse>): grpc.ClientUnaryCall;
|
|
53
|
+
cancelTask(argument: lf_a2a_v1_a2a_pb.CancelTaskRequest, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.Task>): grpc.ClientUnaryCall;
|
|
54
|
+
cancelTask(argument: lf_a2a_v1_a2a_pb.CancelTaskRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.Task>): grpc.ClientUnaryCall;
|
|
55
|
+
cancelTask(argument: lf_a2a_v1_a2a_pb.CancelTaskRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.Task>): grpc.ClientUnaryCall;
|
|
56
|
+
subscribeToTask(argument: lf_a2a_v1_a2a_pb.SubscribeToTaskRequest, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
57
|
+
subscribeToTask(argument: lf_a2a_v1_a2a_pb.SubscribeToTaskRequest, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
58
|
+
createTaskPushNotificationConfig(argument: lf_a2a_v1_a2a_pb.TaskPushNotificationConfig, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>): grpc.ClientUnaryCall;
|
|
59
|
+
createTaskPushNotificationConfig(argument: lf_a2a_v1_a2a_pb.TaskPushNotificationConfig, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>): grpc.ClientUnaryCall;
|
|
60
|
+
createTaskPushNotificationConfig(argument: lf_a2a_v1_a2a_pb.TaskPushNotificationConfig, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>): grpc.ClientUnaryCall;
|
|
61
|
+
getTaskPushNotificationConfig(argument: lf_a2a_v1_a2a_pb.GetTaskPushNotificationConfigRequest, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>): grpc.ClientUnaryCall;
|
|
62
|
+
getTaskPushNotificationConfig(argument: lf_a2a_v1_a2a_pb.GetTaskPushNotificationConfigRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>): grpc.ClientUnaryCall;
|
|
63
|
+
getTaskPushNotificationConfig(argument: lf_a2a_v1_a2a_pb.GetTaskPushNotificationConfigRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>): grpc.ClientUnaryCall;
|
|
64
|
+
listTaskPushNotificationConfigs(argument: lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsRequest, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse>): grpc.ClientUnaryCall;
|
|
65
|
+
listTaskPushNotificationConfigs(argument: lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse>): grpc.ClientUnaryCall;
|
|
66
|
+
listTaskPushNotificationConfigs(argument: lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse>): grpc.ClientUnaryCall;
|
|
67
|
+
getExtendedAgentCard(argument: lf_a2a_v1_a2a_pb.GetExtendedAgentCardRequest, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.AgentCard>): grpc.ClientUnaryCall;
|
|
68
|
+
getExtendedAgentCard(argument: lf_a2a_v1_a2a_pb.GetExtendedAgentCardRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.AgentCard>): grpc.ClientUnaryCall;
|
|
69
|
+
getExtendedAgentCard(argument: lf_a2a_v1_a2a_pb.GetExtendedAgentCardRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<lf_a2a_v1_a2a_pb.AgentCard>): grpc.ClientUnaryCall;
|
|
70
|
+
deleteTaskPushNotificationConfig(argument: lf_a2a_v1_a2a_pb.DeleteTaskPushNotificationConfigRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
|
71
|
+
deleteTaskPushNotificationConfig(argument: lf_a2a_v1_a2a_pb.DeleteTaskPushNotificationConfigRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
|
72
|
+
deleteTaskPushNotificationConfig(argument: lf_a2a_v1_a2a_pb.DeleteTaskPushNotificationConfigRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
|
73
|
+
}
|
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// Original file comments:
|
|
4
|
+
// Older protoc compilers don't understand edition yet.
|
|
5
|
+
'use strict';
|
|
6
|
+
var grpc = require('@grpc/grpc-js');
|
|
7
|
+
var lf_a2a_v1_a2a_pb = require('../../../lf/a2a/v1/a2a_pb.js');
|
|
8
|
+
var google_api_annotations_pb = require('@alis-build/google-common-protos/google/api/annotations_pb.js');
|
|
9
|
+
var google_api_client_pb = require('@alis-build/google-common-protos/google/api/client_pb.js');
|
|
10
|
+
var google_api_field_behavior_pb = require('@alis-build/google-common-protos/google/api/field_behavior_pb.js');
|
|
11
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
12
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
13
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
14
|
+
|
|
15
|
+
function serialize_google_protobuf_Empty(arg) {
|
|
16
|
+
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
|
17
|
+
throw new Error('Expected argument of type google.protobuf.Empty');
|
|
18
|
+
}
|
|
19
|
+
return Buffer.from(arg.serializeBinary());
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function deserialize_google_protobuf_Empty(buffer_arg) {
|
|
23
|
+
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function serialize_lf_a2a_v1_AgentCard(arg) {
|
|
27
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.AgentCard)) {
|
|
28
|
+
throw new Error('Expected argument of type lf.a2a.v1.AgentCard');
|
|
29
|
+
}
|
|
30
|
+
return Buffer.from(arg.serializeBinary());
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function deserialize_lf_a2a_v1_AgentCard(buffer_arg) {
|
|
34
|
+
return lf_a2a_v1_a2a_pb.AgentCard.deserializeBinary(new Uint8Array(buffer_arg));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function serialize_lf_a2a_v1_CancelTaskRequest(arg) {
|
|
38
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.CancelTaskRequest)) {
|
|
39
|
+
throw new Error('Expected argument of type lf.a2a.v1.CancelTaskRequest');
|
|
40
|
+
}
|
|
41
|
+
return Buffer.from(arg.serializeBinary());
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function deserialize_lf_a2a_v1_CancelTaskRequest(buffer_arg) {
|
|
45
|
+
return lf_a2a_v1_a2a_pb.CancelTaskRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function serialize_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest(arg) {
|
|
49
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.DeleteTaskPushNotificationConfigRequest)) {
|
|
50
|
+
throw new Error('Expected argument of type lf.a2a.v1.DeleteTaskPushNotificationConfigRequest');
|
|
51
|
+
}
|
|
52
|
+
return Buffer.from(arg.serializeBinary());
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function deserialize_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest(buffer_arg) {
|
|
56
|
+
return lf_a2a_v1_a2a_pb.DeleteTaskPushNotificationConfigRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function serialize_lf_a2a_v1_GetExtendedAgentCardRequest(arg) {
|
|
60
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.GetExtendedAgentCardRequest)) {
|
|
61
|
+
throw new Error('Expected argument of type lf.a2a.v1.GetExtendedAgentCardRequest');
|
|
62
|
+
}
|
|
63
|
+
return Buffer.from(arg.serializeBinary());
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function deserialize_lf_a2a_v1_GetExtendedAgentCardRequest(buffer_arg) {
|
|
67
|
+
return lf_a2a_v1_a2a_pb.GetExtendedAgentCardRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function serialize_lf_a2a_v1_GetTaskPushNotificationConfigRequest(arg) {
|
|
71
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.GetTaskPushNotificationConfigRequest)) {
|
|
72
|
+
throw new Error('Expected argument of type lf.a2a.v1.GetTaskPushNotificationConfigRequest');
|
|
73
|
+
}
|
|
74
|
+
return Buffer.from(arg.serializeBinary());
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function deserialize_lf_a2a_v1_GetTaskPushNotificationConfigRequest(buffer_arg) {
|
|
78
|
+
return lf_a2a_v1_a2a_pb.GetTaskPushNotificationConfigRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function serialize_lf_a2a_v1_GetTaskRequest(arg) {
|
|
82
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.GetTaskRequest)) {
|
|
83
|
+
throw new Error('Expected argument of type lf.a2a.v1.GetTaskRequest');
|
|
84
|
+
}
|
|
85
|
+
return Buffer.from(arg.serializeBinary());
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function deserialize_lf_a2a_v1_GetTaskRequest(buffer_arg) {
|
|
89
|
+
return lf_a2a_v1_a2a_pb.GetTaskRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
function serialize_lf_a2a_v1_ListTaskPushNotificationConfigsRequest(arg) {
|
|
93
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsRequest)) {
|
|
94
|
+
throw new Error('Expected argument of type lf.a2a.v1.ListTaskPushNotificationConfigsRequest');
|
|
95
|
+
}
|
|
96
|
+
return Buffer.from(arg.serializeBinary());
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function deserialize_lf_a2a_v1_ListTaskPushNotificationConfigsRequest(buffer_arg) {
|
|
100
|
+
return lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function serialize_lf_a2a_v1_ListTaskPushNotificationConfigsResponse(arg) {
|
|
104
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse)) {
|
|
105
|
+
throw new Error('Expected argument of type lf.a2a.v1.ListTaskPushNotificationConfigsResponse');
|
|
106
|
+
}
|
|
107
|
+
return Buffer.from(arg.serializeBinary());
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function deserialize_lf_a2a_v1_ListTaskPushNotificationConfigsResponse(buffer_arg) {
|
|
111
|
+
return lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
function serialize_lf_a2a_v1_ListTasksRequest(arg) {
|
|
115
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.ListTasksRequest)) {
|
|
116
|
+
throw new Error('Expected argument of type lf.a2a.v1.ListTasksRequest');
|
|
117
|
+
}
|
|
118
|
+
return Buffer.from(arg.serializeBinary());
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
function deserialize_lf_a2a_v1_ListTasksRequest(buffer_arg) {
|
|
122
|
+
return lf_a2a_v1_a2a_pb.ListTasksRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
function serialize_lf_a2a_v1_ListTasksResponse(arg) {
|
|
126
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.ListTasksResponse)) {
|
|
127
|
+
throw new Error('Expected argument of type lf.a2a.v1.ListTasksResponse');
|
|
128
|
+
}
|
|
129
|
+
return Buffer.from(arg.serializeBinary());
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function deserialize_lf_a2a_v1_ListTasksResponse(buffer_arg) {
|
|
133
|
+
return lf_a2a_v1_a2a_pb.ListTasksResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
function serialize_lf_a2a_v1_SendMessageRequest(arg) {
|
|
137
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.SendMessageRequest)) {
|
|
138
|
+
throw new Error('Expected argument of type lf.a2a.v1.SendMessageRequest');
|
|
139
|
+
}
|
|
140
|
+
return Buffer.from(arg.serializeBinary());
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function deserialize_lf_a2a_v1_SendMessageRequest(buffer_arg) {
|
|
144
|
+
return lf_a2a_v1_a2a_pb.SendMessageRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
function serialize_lf_a2a_v1_SendMessageResponse(arg) {
|
|
148
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.SendMessageResponse)) {
|
|
149
|
+
throw new Error('Expected argument of type lf.a2a.v1.SendMessageResponse');
|
|
150
|
+
}
|
|
151
|
+
return Buffer.from(arg.serializeBinary());
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function deserialize_lf_a2a_v1_SendMessageResponse(buffer_arg) {
|
|
155
|
+
return lf_a2a_v1_a2a_pb.SendMessageResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
function serialize_lf_a2a_v1_StreamResponse(arg) {
|
|
159
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.StreamResponse)) {
|
|
160
|
+
throw new Error('Expected argument of type lf.a2a.v1.StreamResponse');
|
|
161
|
+
}
|
|
162
|
+
return Buffer.from(arg.serializeBinary());
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function deserialize_lf_a2a_v1_StreamResponse(buffer_arg) {
|
|
166
|
+
return lf_a2a_v1_a2a_pb.StreamResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
function serialize_lf_a2a_v1_SubscribeToTaskRequest(arg) {
|
|
170
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.SubscribeToTaskRequest)) {
|
|
171
|
+
throw new Error('Expected argument of type lf.a2a.v1.SubscribeToTaskRequest');
|
|
172
|
+
}
|
|
173
|
+
return Buffer.from(arg.serializeBinary());
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
function deserialize_lf_a2a_v1_SubscribeToTaskRequest(buffer_arg) {
|
|
177
|
+
return lf_a2a_v1_a2a_pb.SubscribeToTaskRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
function serialize_lf_a2a_v1_Task(arg) {
|
|
181
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.Task)) {
|
|
182
|
+
throw new Error('Expected argument of type lf.a2a.v1.Task');
|
|
183
|
+
}
|
|
184
|
+
return Buffer.from(arg.serializeBinary());
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
function deserialize_lf_a2a_v1_Task(buffer_arg) {
|
|
188
|
+
return lf_a2a_v1_a2a_pb.Task.deserializeBinary(new Uint8Array(buffer_arg));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
function serialize_lf_a2a_v1_TaskPushNotificationConfig(arg) {
|
|
192
|
+
if (!(arg instanceof lf_a2a_v1_a2a_pb.TaskPushNotificationConfig)) {
|
|
193
|
+
throw new Error('Expected argument of type lf.a2a.v1.TaskPushNotificationConfig');
|
|
194
|
+
}
|
|
195
|
+
return Buffer.from(arg.serializeBinary());
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
function deserialize_lf_a2a_v1_TaskPushNotificationConfig(buffer_arg) {
|
|
199
|
+
return lf_a2a_v1_a2a_pb.TaskPushNotificationConfig.deserializeBinary(new Uint8Array(buffer_arg));
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
// Provides operations for interacting with agents using the A2A protocol.
|
|
204
|
+
var A2AServiceService = exports.A2AServiceService = {
|
|
205
|
+
// Sends a message to an agent.
|
|
206
|
+
sendMessage: {
|
|
207
|
+
path: '/lf.a2a.v1.A2AService/SendMessage',
|
|
208
|
+
requestStream: false,
|
|
209
|
+
responseStream: false,
|
|
210
|
+
requestType: lf_a2a_v1_a2a_pb.SendMessageRequest,
|
|
211
|
+
responseType: lf_a2a_v1_a2a_pb.SendMessageResponse,
|
|
212
|
+
requestSerialize: serialize_lf_a2a_v1_SendMessageRequest,
|
|
213
|
+
requestDeserialize: deserialize_lf_a2a_v1_SendMessageRequest,
|
|
214
|
+
responseSerialize: serialize_lf_a2a_v1_SendMessageResponse,
|
|
215
|
+
responseDeserialize: deserialize_lf_a2a_v1_SendMessageResponse,
|
|
216
|
+
},
|
|
217
|
+
// Sends a streaming message to an agent, allowing for real-time interaction
|
|
218
|
+
// and status updates. Streaming version of `SendMessage`
|
|
219
|
+
sendStreamingMessage: {
|
|
220
|
+
path: '/lf.a2a.v1.A2AService/SendStreamingMessage',
|
|
221
|
+
requestStream: false,
|
|
222
|
+
responseStream: true,
|
|
223
|
+
requestType: lf_a2a_v1_a2a_pb.SendMessageRequest,
|
|
224
|
+
responseType: lf_a2a_v1_a2a_pb.StreamResponse,
|
|
225
|
+
requestSerialize: serialize_lf_a2a_v1_SendMessageRequest,
|
|
226
|
+
requestDeserialize: deserialize_lf_a2a_v1_SendMessageRequest,
|
|
227
|
+
responseSerialize: serialize_lf_a2a_v1_StreamResponse,
|
|
228
|
+
responseDeserialize: deserialize_lf_a2a_v1_StreamResponse,
|
|
229
|
+
},
|
|
230
|
+
// Gets the latest state of a task.
|
|
231
|
+
getTask: {
|
|
232
|
+
path: '/lf.a2a.v1.A2AService/GetTask',
|
|
233
|
+
requestStream: false,
|
|
234
|
+
responseStream: false,
|
|
235
|
+
requestType: lf_a2a_v1_a2a_pb.GetTaskRequest,
|
|
236
|
+
responseType: lf_a2a_v1_a2a_pb.Task,
|
|
237
|
+
requestSerialize: serialize_lf_a2a_v1_GetTaskRequest,
|
|
238
|
+
requestDeserialize: deserialize_lf_a2a_v1_GetTaskRequest,
|
|
239
|
+
responseSerialize: serialize_lf_a2a_v1_Task,
|
|
240
|
+
responseDeserialize: deserialize_lf_a2a_v1_Task,
|
|
241
|
+
},
|
|
242
|
+
// Lists tasks that match the specified filter.
|
|
243
|
+
listTasks: {
|
|
244
|
+
path: '/lf.a2a.v1.A2AService/ListTasks',
|
|
245
|
+
requestStream: false,
|
|
246
|
+
responseStream: false,
|
|
247
|
+
requestType: lf_a2a_v1_a2a_pb.ListTasksRequest,
|
|
248
|
+
responseType: lf_a2a_v1_a2a_pb.ListTasksResponse,
|
|
249
|
+
requestSerialize: serialize_lf_a2a_v1_ListTasksRequest,
|
|
250
|
+
requestDeserialize: deserialize_lf_a2a_v1_ListTasksRequest,
|
|
251
|
+
responseSerialize: serialize_lf_a2a_v1_ListTasksResponse,
|
|
252
|
+
responseDeserialize: deserialize_lf_a2a_v1_ListTasksResponse,
|
|
253
|
+
},
|
|
254
|
+
// Cancels a task in progress.
|
|
255
|
+
cancelTask: {
|
|
256
|
+
path: '/lf.a2a.v1.A2AService/CancelTask',
|
|
257
|
+
requestStream: false,
|
|
258
|
+
responseStream: false,
|
|
259
|
+
requestType: lf_a2a_v1_a2a_pb.CancelTaskRequest,
|
|
260
|
+
responseType: lf_a2a_v1_a2a_pb.Task,
|
|
261
|
+
requestSerialize: serialize_lf_a2a_v1_CancelTaskRequest,
|
|
262
|
+
requestDeserialize: deserialize_lf_a2a_v1_CancelTaskRequest,
|
|
263
|
+
responseSerialize: serialize_lf_a2a_v1_Task,
|
|
264
|
+
responseDeserialize: deserialize_lf_a2a_v1_Task,
|
|
265
|
+
},
|
|
266
|
+
// Subscribes to task updates for tasks not in a terminal state.
|
|
267
|
+
// Returns `UnsupportedOperationError` if the task is already in a terminal
|
|
268
|
+
// state (completed, failed, canceled, rejected).
|
|
269
|
+
subscribeToTask: {
|
|
270
|
+
path: '/lf.a2a.v1.A2AService/SubscribeToTask',
|
|
271
|
+
requestStream: false,
|
|
272
|
+
responseStream: true,
|
|
273
|
+
requestType: lf_a2a_v1_a2a_pb.SubscribeToTaskRequest,
|
|
274
|
+
responseType: lf_a2a_v1_a2a_pb.StreamResponse,
|
|
275
|
+
requestSerialize: serialize_lf_a2a_v1_SubscribeToTaskRequest,
|
|
276
|
+
requestDeserialize: deserialize_lf_a2a_v1_SubscribeToTaskRequest,
|
|
277
|
+
responseSerialize: serialize_lf_a2a_v1_StreamResponse,
|
|
278
|
+
responseDeserialize: deserialize_lf_a2a_v1_StreamResponse,
|
|
279
|
+
},
|
|
280
|
+
// (-- api-linter: client-libraries::4232::required-fields=disabled
|
|
281
|
+
// api-linter: core::0133::method-signature=disabled
|
|
282
|
+
// api-linter: core::0133::request-message-name=disabled
|
|
283
|
+
// aip.dev/not-precedent: method_signature preserved for backwards
|
|
284
|
+
// compatibility --)
|
|
285
|
+
// Creates a push notification config for a task.
|
|
286
|
+
createTaskPushNotificationConfig: {
|
|
287
|
+
path: '/lf.a2a.v1.A2AService/CreateTaskPushNotificationConfig',
|
|
288
|
+
requestStream: false,
|
|
289
|
+
responseStream: false,
|
|
290
|
+
requestType: lf_a2a_v1_a2a_pb.TaskPushNotificationConfig,
|
|
291
|
+
responseType: lf_a2a_v1_a2a_pb.TaskPushNotificationConfig,
|
|
292
|
+
requestSerialize: serialize_lf_a2a_v1_TaskPushNotificationConfig,
|
|
293
|
+
requestDeserialize: deserialize_lf_a2a_v1_TaskPushNotificationConfig,
|
|
294
|
+
responseSerialize: serialize_lf_a2a_v1_TaskPushNotificationConfig,
|
|
295
|
+
responseDeserialize: deserialize_lf_a2a_v1_TaskPushNotificationConfig,
|
|
296
|
+
},
|
|
297
|
+
// Gets a push notification config for a task.
|
|
298
|
+
getTaskPushNotificationConfig: {
|
|
299
|
+
path: '/lf.a2a.v1.A2AService/GetTaskPushNotificationConfig',
|
|
300
|
+
requestStream: false,
|
|
301
|
+
responseStream: false,
|
|
302
|
+
requestType: lf_a2a_v1_a2a_pb.GetTaskPushNotificationConfigRequest,
|
|
303
|
+
responseType: lf_a2a_v1_a2a_pb.TaskPushNotificationConfig,
|
|
304
|
+
requestSerialize: serialize_lf_a2a_v1_GetTaskPushNotificationConfigRequest,
|
|
305
|
+
requestDeserialize: deserialize_lf_a2a_v1_GetTaskPushNotificationConfigRequest,
|
|
306
|
+
responseSerialize: serialize_lf_a2a_v1_TaskPushNotificationConfig,
|
|
307
|
+
responseDeserialize: deserialize_lf_a2a_v1_TaskPushNotificationConfig,
|
|
308
|
+
},
|
|
309
|
+
// Get a list of push notifications configured for a task.
|
|
310
|
+
listTaskPushNotificationConfigs: {
|
|
311
|
+
path: '/lf.a2a.v1.A2AService/ListTaskPushNotificationConfigs',
|
|
312
|
+
requestStream: false,
|
|
313
|
+
responseStream: false,
|
|
314
|
+
requestType: lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsRequest,
|
|
315
|
+
responseType: lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse,
|
|
316
|
+
requestSerialize: serialize_lf_a2a_v1_ListTaskPushNotificationConfigsRequest,
|
|
317
|
+
requestDeserialize: deserialize_lf_a2a_v1_ListTaskPushNotificationConfigsRequest,
|
|
318
|
+
responseSerialize: serialize_lf_a2a_v1_ListTaskPushNotificationConfigsResponse,
|
|
319
|
+
responseDeserialize: deserialize_lf_a2a_v1_ListTaskPushNotificationConfigsResponse,
|
|
320
|
+
},
|
|
321
|
+
// Gets the extended agent card for the authenticated agent.
|
|
322
|
+
getExtendedAgentCard: {
|
|
323
|
+
path: '/lf.a2a.v1.A2AService/GetExtendedAgentCard',
|
|
324
|
+
requestStream: false,
|
|
325
|
+
responseStream: false,
|
|
326
|
+
requestType: lf_a2a_v1_a2a_pb.GetExtendedAgentCardRequest,
|
|
327
|
+
responseType: lf_a2a_v1_a2a_pb.AgentCard,
|
|
328
|
+
requestSerialize: serialize_lf_a2a_v1_GetExtendedAgentCardRequest,
|
|
329
|
+
requestDeserialize: deserialize_lf_a2a_v1_GetExtendedAgentCardRequest,
|
|
330
|
+
responseSerialize: serialize_lf_a2a_v1_AgentCard,
|
|
331
|
+
responseDeserialize: deserialize_lf_a2a_v1_AgentCard,
|
|
332
|
+
},
|
|
333
|
+
// Deletes a push notification config for a task.
|
|
334
|
+
deleteTaskPushNotificationConfig: {
|
|
335
|
+
path: '/lf.a2a.v1.A2AService/DeleteTaskPushNotificationConfig',
|
|
336
|
+
requestStream: false,
|
|
337
|
+
responseStream: false,
|
|
338
|
+
requestType: lf_a2a_v1_a2a_pb.DeleteTaskPushNotificationConfigRequest,
|
|
339
|
+
responseType: google_protobuf_empty_pb.Empty,
|
|
340
|
+
requestSerialize: serialize_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest,
|
|
341
|
+
requestDeserialize: deserialize_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest,
|
|
342
|
+
responseSerialize: serialize_google_protobuf_Empty,
|
|
343
|
+
responseDeserialize: deserialize_google_protobuf_Empty,
|
|
344
|
+
},
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
exports.A2AServiceClient = grpc.makeGenericClientConstructor(A2AServiceService, 'A2AService');
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import * as grpcWeb from 'grpc-web';
|
|
2
|
+
|
|
3
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
4
|
+
import * as lf_a2a_v1_a2a_pb from '../../../lf/a2a/v1/a2a_pb'; // proto import: "lf/a2a/v1/a2a.proto"
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class A2AServiceClient {
|
|
8
|
+
constructor (hostname: string,
|
|
9
|
+
credentials?: null | { [index: string]: string; },
|
|
10
|
+
options?: null | { [index: string]: any; });
|
|
11
|
+
|
|
12
|
+
sendMessage(
|
|
13
|
+
request: lf_a2a_v1_a2a_pb.SendMessageRequest,
|
|
14
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
15
|
+
callback: (err: grpcWeb.RpcError,
|
|
16
|
+
response: lf_a2a_v1_a2a_pb.SendMessageResponse) => void
|
|
17
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.SendMessageResponse>;
|
|
18
|
+
|
|
19
|
+
sendStreamingMessage(
|
|
20
|
+
request: lf_a2a_v1_a2a_pb.SendMessageRequest,
|
|
21
|
+
metadata?: grpcWeb.Metadata
|
|
22
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
23
|
+
|
|
24
|
+
getTask(
|
|
25
|
+
request: lf_a2a_v1_a2a_pb.GetTaskRequest,
|
|
26
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
27
|
+
callback: (err: grpcWeb.RpcError,
|
|
28
|
+
response: lf_a2a_v1_a2a_pb.Task) => void
|
|
29
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.Task>;
|
|
30
|
+
|
|
31
|
+
listTasks(
|
|
32
|
+
request: lf_a2a_v1_a2a_pb.ListTasksRequest,
|
|
33
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
34
|
+
callback: (err: grpcWeb.RpcError,
|
|
35
|
+
response: lf_a2a_v1_a2a_pb.ListTasksResponse) => void
|
|
36
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.ListTasksResponse>;
|
|
37
|
+
|
|
38
|
+
cancelTask(
|
|
39
|
+
request: lf_a2a_v1_a2a_pb.CancelTaskRequest,
|
|
40
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
41
|
+
callback: (err: grpcWeb.RpcError,
|
|
42
|
+
response: lf_a2a_v1_a2a_pb.Task) => void
|
|
43
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.Task>;
|
|
44
|
+
|
|
45
|
+
subscribeToTask(
|
|
46
|
+
request: lf_a2a_v1_a2a_pb.SubscribeToTaskRequest,
|
|
47
|
+
metadata?: grpcWeb.Metadata
|
|
48
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
49
|
+
|
|
50
|
+
createTaskPushNotificationConfig(
|
|
51
|
+
request: lf_a2a_v1_a2a_pb.TaskPushNotificationConfig,
|
|
52
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
53
|
+
callback: (err: grpcWeb.RpcError,
|
|
54
|
+
response: lf_a2a_v1_a2a_pb.TaskPushNotificationConfig) => void
|
|
55
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>;
|
|
56
|
+
|
|
57
|
+
getTaskPushNotificationConfig(
|
|
58
|
+
request: lf_a2a_v1_a2a_pb.GetTaskPushNotificationConfigRequest,
|
|
59
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
60
|
+
callback: (err: grpcWeb.RpcError,
|
|
61
|
+
response: lf_a2a_v1_a2a_pb.TaskPushNotificationConfig) => void
|
|
62
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>;
|
|
63
|
+
|
|
64
|
+
listTaskPushNotificationConfigs(
|
|
65
|
+
request: lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsRequest,
|
|
66
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
67
|
+
callback: (err: grpcWeb.RpcError,
|
|
68
|
+
response: lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse) => void
|
|
69
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse>;
|
|
70
|
+
|
|
71
|
+
getExtendedAgentCard(
|
|
72
|
+
request: lf_a2a_v1_a2a_pb.GetExtendedAgentCardRequest,
|
|
73
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
74
|
+
callback: (err: grpcWeb.RpcError,
|
|
75
|
+
response: lf_a2a_v1_a2a_pb.AgentCard) => void
|
|
76
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.AgentCard>;
|
|
77
|
+
|
|
78
|
+
deleteTaskPushNotificationConfig(
|
|
79
|
+
request: lf_a2a_v1_a2a_pb.DeleteTaskPushNotificationConfigRequest,
|
|
80
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
81
|
+
callback: (err: grpcWeb.RpcError,
|
|
82
|
+
response: google_protobuf_empty_pb.Empty) => void
|
|
83
|
+
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
|
84
|
+
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class A2AServicePromiseClient {
|
|
88
|
+
constructor (hostname: string,
|
|
89
|
+
credentials?: null | { [index: string]: string; },
|
|
90
|
+
options?: null | { [index: string]: any; });
|
|
91
|
+
|
|
92
|
+
sendMessage(
|
|
93
|
+
request: lf_a2a_v1_a2a_pb.SendMessageRequest,
|
|
94
|
+
metadata?: grpcWeb.Metadata
|
|
95
|
+
): Promise<lf_a2a_v1_a2a_pb.SendMessageResponse>;
|
|
96
|
+
|
|
97
|
+
sendStreamingMessage(
|
|
98
|
+
request: lf_a2a_v1_a2a_pb.SendMessageRequest,
|
|
99
|
+
metadata?: grpcWeb.Metadata
|
|
100
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
101
|
+
|
|
102
|
+
getTask(
|
|
103
|
+
request: lf_a2a_v1_a2a_pb.GetTaskRequest,
|
|
104
|
+
metadata?: grpcWeb.Metadata
|
|
105
|
+
): Promise<lf_a2a_v1_a2a_pb.Task>;
|
|
106
|
+
|
|
107
|
+
listTasks(
|
|
108
|
+
request: lf_a2a_v1_a2a_pb.ListTasksRequest,
|
|
109
|
+
metadata?: grpcWeb.Metadata
|
|
110
|
+
): Promise<lf_a2a_v1_a2a_pb.ListTasksResponse>;
|
|
111
|
+
|
|
112
|
+
cancelTask(
|
|
113
|
+
request: lf_a2a_v1_a2a_pb.CancelTaskRequest,
|
|
114
|
+
metadata?: grpcWeb.Metadata
|
|
115
|
+
): Promise<lf_a2a_v1_a2a_pb.Task>;
|
|
116
|
+
|
|
117
|
+
subscribeToTask(
|
|
118
|
+
request: lf_a2a_v1_a2a_pb.SubscribeToTaskRequest,
|
|
119
|
+
metadata?: grpcWeb.Metadata
|
|
120
|
+
): grpcWeb.ClientReadableStream<lf_a2a_v1_a2a_pb.StreamResponse>;
|
|
121
|
+
|
|
122
|
+
createTaskPushNotificationConfig(
|
|
123
|
+
request: lf_a2a_v1_a2a_pb.TaskPushNotificationConfig,
|
|
124
|
+
metadata?: grpcWeb.Metadata
|
|
125
|
+
): Promise<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>;
|
|
126
|
+
|
|
127
|
+
getTaskPushNotificationConfig(
|
|
128
|
+
request: lf_a2a_v1_a2a_pb.GetTaskPushNotificationConfigRequest,
|
|
129
|
+
metadata?: grpcWeb.Metadata
|
|
130
|
+
): Promise<lf_a2a_v1_a2a_pb.TaskPushNotificationConfig>;
|
|
131
|
+
|
|
132
|
+
listTaskPushNotificationConfigs(
|
|
133
|
+
request: lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsRequest,
|
|
134
|
+
metadata?: grpcWeb.Metadata
|
|
135
|
+
): Promise<lf_a2a_v1_a2a_pb.ListTaskPushNotificationConfigsResponse>;
|
|
136
|
+
|
|
137
|
+
getExtendedAgentCard(
|
|
138
|
+
request: lf_a2a_v1_a2a_pb.GetExtendedAgentCardRequest,
|
|
139
|
+
metadata?: grpcWeb.Metadata
|
|
140
|
+
): Promise<lf_a2a_v1_a2a_pb.AgentCard>;
|
|
141
|
+
|
|
142
|
+
deleteTaskPushNotificationConfig(
|
|
143
|
+
request: lf_a2a_v1_a2a_pb.DeleteTaskPushNotificationConfigRequest,
|
|
144
|
+
metadata?: grpcWeb.Metadata
|
|
145
|
+
): Promise<google_protobuf_empty_pb.Empty>;
|
|
146
|
+
|
|
147
|
+
}
|