@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.
@@ -0,0 +1,752 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for lf.a2a.v1
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
+ // versions:
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v4.24.4
11
+ // source: lf/a2a/v1/a2a.proto
12
+
13
+
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+
18
+
19
+ const grpc = {};
20
+ grpc.web = require('grpc-web');
21
+
22
+
23
+ var google_api_annotations_pb = require('@alis-build/google-common-protos/google/api/annotations_pb.js')
24
+
25
+ var google_api_client_pb = require('@alis-build/google-common-protos/google/api/client_pb.js')
26
+
27
+ var google_api_field_behavior_pb = require('@alis-build/google-common-protos/google/api/field_behavior_pb.js')
28
+
29
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
30
+
31
+ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
32
+
33
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
34
+ const proto = {};
35
+ proto.lf = {};
36
+ proto.lf.a2a = {};
37
+ proto.lf.a2a.v1 = require('./a2a_pb.js');
38
+
39
+ /**
40
+ * @param {string} hostname
41
+ * @param {?Object} credentials
42
+ * @param {?grpc.web.ClientOptions} options
43
+ * @constructor
44
+ * @struct
45
+ * @final
46
+ */
47
+ proto.lf.a2a.v1.A2AServiceClient =
48
+ function(hostname, credentials, options) {
49
+ if (!options) options = {};
50
+ options.format = 'text';
51
+
52
+ /**
53
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
54
+ */
55
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
56
+
57
+ /**
58
+ * @private @const {string} The hostname
59
+ */
60
+ this.hostname_ = hostname.replace(/\/+$/, '');
61
+
62
+ };
63
+
64
+
65
+ /**
66
+ * @param {string} hostname
67
+ * @param {?Object} credentials
68
+ * @param {?grpc.web.ClientOptions} options
69
+ * @constructor
70
+ * @struct
71
+ * @final
72
+ */
73
+ proto.lf.a2a.v1.A2AServicePromiseClient =
74
+ function(hostname, credentials, options) {
75
+ if (!options) options = {};
76
+ options.format = 'text';
77
+
78
+ /**
79
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
80
+ */
81
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
82
+
83
+ /**
84
+ * @private @const {string} The hostname
85
+ */
86
+ this.hostname_ = hostname.replace(/\/+$/, '');
87
+
88
+ };
89
+
90
+
91
+ /**
92
+ * @const
93
+ * @type {!grpc.web.MethodDescriptor<
94
+ * !proto.lf.a2a.v1.SendMessageRequest,
95
+ * !proto.lf.a2a.v1.SendMessageResponse>}
96
+ */
97
+ const methodDescriptor_A2AService_SendMessage = new grpc.web.MethodDescriptor(
98
+ '/lf.a2a.v1.A2AService/SendMessage',
99
+ grpc.web.MethodType.UNARY,
100
+ proto.lf.a2a.v1.SendMessageRequest,
101
+ proto.lf.a2a.v1.SendMessageResponse,
102
+ /**
103
+ * @param {!proto.lf.a2a.v1.SendMessageRequest} request
104
+ * @return {!Uint8Array}
105
+ */
106
+ function(request) {
107
+ return request.serializeBinary();
108
+ },
109
+ proto.lf.a2a.v1.SendMessageResponse.deserializeBinary
110
+ );
111
+
112
+
113
+ /**
114
+ * @param {!proto.lf.a2a.v1.SendMessageRequest} request The
115
+ * request proto
116
+ * @param {?Object<string, string>} metadata User defined
117
+ * call metadata
118
+ * @param {function(?grpc.web.RpcError, ?proto.lf.a2a.v1.SendMessageResponse)}
119
+ * callback The callback function(error, response)
120
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.SendMessageResponse>|undefined}
121
+ * The XHR Node Readable Stream
122
+ */
123
+ proto.lf.a2a.v1.A2AServiceClient.prototype.sendMessage =
124
+ function(request, metadata, callback) {
125
+ return this.client_.rpcCall(this.hostname_ +
126
+ '/lf.a2a.v1.A2AService/SendMessage',
127
+ request,
128
+ metadata || {},
129
+ methodDescriptor_A2AService_SendMessage,
130
+ callback);
131
+ };
132
+
133
+
134
+ /**
135
+ * @param {!proto.lf.a2a.v1.SendMessageRequest} request The
136
+ * request proto
137
+ * @param {?Object<string, string>=} metadata User defined
138
+ * call metadata
139
+ * @return {!Promise<!proto.lf.a2a.v1.SendMessageResponse>}
140
+ * Promise that resolves to the response
141
+ */
142
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.sendMessage =
143
+ function(request, metadata) {
144
+ return this.client_.unaryCall(this.hostname_ +
145
+ '/lf.a2a.v1.A2AService/SendMessage',
146
+ request,
147
+ metadata || {},
148
+ methodDescriptor_A2AService_SendMessage);
149
+ };
150
+
151
+
152
+ /**
153
+ * @const
154
+ * @type {!grpc.web.MethodDescriptor<
155
+ * !proto.lf.a2a.v1.SendMessageRequest,
156
+ * !proto.lf.a2a.v1.StreamResponse>}
157
+ */
158
+ const methodDescriptor_A2AService_SendStreamingMessage = new grpc.web.MethodDescriptor(
159
+ '/lf.a2a.v1.A2AService/SendStreamingMessage',
160
+ grpc.web.MethodType.SERVER_STREAMING,
161
+ proto.lf.a2a.v1.SendMessageRequest,
162
+ proto.lf.a2a.v1.StreamResponse,
163
+ /**
164
+ * @param {!proto.lf.a2a.v1.SendMessageRequest} request
165
+ * @return {!Uint8Array}
166
+ */
167
+ function(request) {
168
+ return request.serializeBinary();
169
+ },
170
+ proto.lf.a2a.v1.StreamResponse.deserializeBinary
171
+ );
172
+
173
+
174
+ /**
175
+ * @param {!proto.lf.a2a.v1.SendMessageRequest} request The request proto
176
+ * @param {?Object<string, string>=} metadata User defined
177
+ * call metadata
178
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.StreamResponse>}
179
+ * The XHR Node Readable Stream
180
+ */
181
+ proto.lf.a2a.v1.A2AServiceClient.prototype.sendStreamingMessage =
182
+ function(request, metadata) {
183
+ return this.client_.serverStreaming(this.hostname_ +
184
+ '/lf.a2a.v1.A2AService/SendStreamingMessage',
185
+ request,
186
+ metadata || {},
187
+ methodDescriptor_A2AService_SendStreamingMessage);
188
+ };
189
+
190
+
191
+ /**
192
+ * @param {!proto.lf.a2a.v1.SendMessageRequest} request The request proto
193
+ * @param {?Object<string, string>=} metadata User defined
194
+ * call metadata
195
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.StreamResponse>}
196
+ * The XHR Node Readable Stream
197
+ */
198
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.sendStreamingMessage =
199
+ function(request, metadata) {
200
+ return this.client_.serverStreaming(this.hostname_ +
201
+ '/lf.a2a.v1.A2AService/SendStreamingMessage',
202
+ request,
203
+ metadata || {},
204
+ methodDescriptor_A2AService_SendStreamingMessage);
205
+ };
206
+
207
+
208
+ /**
209
+ * @const
210
+ * @type {!grpc.web.MethodDescriptor<
211
+ * !proto.lf.a2a.v1.GetTaskRequest,
212
+ * !proto.lf.a2a.v1.Task>}
213
+ */
214
+ const methodDescriptor_A2AService_GetTask = new grpc.web.MethodDescriptor(
215
+ '/lf.a2a.v1.A2AService/GetTask',
216
+ grpc.web.MethodType.UNARY,
217
+ proto.lf.a2a.v1.GetTaskRequest,
218
+ proto.lf.a2a.v1.Task,
219
+ /**
220
+ * @param {!proto.lf.a2a.v1.GetTaskRequest} request
221
+ * @return {!Uint8Array}
222
+ */
223
+ function(request) {
224
+ return request.serializeBinary();
225
+ },
226
+ proto.lf.a2a.v1.Task.deserializeBinary
227
+ );
228
+
229
+
230
+ /**
231
+ * @param {!proto.lf.a2a.v1.GetTaskRequest} request The
232
+ * request proto
233
+ * @param {?Object<string, string>} metadata User defined
234
+ * call metadata
235
+ * @param {function(?grpc.web.RpcError, ?proto.lf.a2a.v1.Task)}
236
+ * callback The callback function(error, response)
237
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.Task>|undefined}
238
+ * The XHR Node Readable Stream
239
+ */
240
+ proto.lf.a2a.v1.A2AServiceClient.prototype.getTask =
241
+ function(request, metadata, callback) {
242
+ return this.client_.rpcCall(this.hostname_ +
243
+ '/lf.a2a.v1.A2AService/GetTask',
244
+ request,
245
+ metadata || {},
246
+ methodDescriptor_A2AService_GetTask,
247
+ callback);
248
+ };
249
+
250
+
251
+ /**
252
+ * @param {!proto.lf.a2a.v1.GetTaskRequest} request The
253
+ * request proto
254
+ * @param {?Object<string, string>=} metadata User defined
255
+ * call metadata
256
+ * @return {!Promise<!proto.lf.a2a.v1.Task>}
257
+ * Promise that resolves to the response
258
+ */
259
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.getTask =
260
+ function(request, metadata) {
261
+ return this.client_.unaryCall(this.hostname_ +
262
+ '/lf.a2a.v1.A2AService/GetTask',
263
+ request,
264
+ metadata || {},
265
+ methodDescriptor_A2AService_GetTask);
266
+ };
267
+
268
+
269
+ /**
270
+ * @const
271
+ * @type {!grpc.web.MethodDescriptor<
272
+ * !proto.lf.a2a.v1.ListTasksRequest,
273
+ * !proto.lf.a2a.v1.ListTasksResponse>}
274
+ */
275
+ const methodDescriptor_A2AService_ListTasks = new grpc.web.MethodDescriptor(
276
+ '/lf.a2a.v1.A2AService/ListTasks',
277
+ grpc.web.MethodType.UNARY,
278
+ proto.lf.a2a.v1.ListTasksRequest,
279
+ proto.lf.a2a.v1.ListTasksResponse,
280
+ /**
281
+ * @param {!proto.lf.a2a.v1.ListTasksRequest} request
282
+ * @return {!Uint8Array}
283
+ */
284
+ function(request) {
285
+ return request.serializeBinary();
286
+ },
287
+ proto.lf.a2a.v1.ListTasksResponse.deserializeBinary
288
+ );
289
+
290
+
291
+ /**
292
+ * @param {!proto.lf.a2a.v1.ListTasksRequest} request The
293
+ * request proto
294
+ * @param {?Object<string, string>} metadata User defined
295
+ * call metadata
296
+ * @param {function(?grpc.web.RpcError, ?proto.lf.a2a.v1.ListTasksResponse)}
297
+ * callback The callback function(error, response)
298
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.ListTasksResponse>|undefined}
299
+ * The XHR Node Readable Stream
300
+ */
301
+ proto.lf.a2a.v1.A2AServiceClient.prototype.listTasks =
302
+ function(request, metadata, callback) {
303
+ return this.client_.rpcCall(this.hostname_ +
304
+ '/lf.a2a.v1.A2AService/ListTasks',
305
+ request,
306
+ metadata || {},
307
+ methodDescriptor_A2AService_ListTasks,
308
+ callback);
309
+ };
310
+
311
+
312
+ /**
313
+ * @param {!proto.lf.a2a.v1.ListTasksRequest} request The
314
+ * request proto
315
+ * @param {?Object<string, string>=} metadata User defined
316
+ * call metadata
317
+ * @return {!Promise<!proto.lf.a2a.v1.ListTasksResponse>}
318
+ * Promise that resolves to the response
319
+ */
320
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.listTasks =
321
+ function(request, metadata) {
322
+ return this.client_.unaryCall(this.hostname_ +
323
+ '/lf.a2a.v1.A2AService/ListTasks',
324
+ request,
325
+ metadata || {},
326
+ methodDescriptor_A2AService_ListTasks);
327
+ };
328
+
329
+
330
+ /**
331
+ * @const
332
+ * @type {!grpc.web.MethodDescriptor<
333
+ * !proto.lf.a2a.v1.CancelTaskRequest,
334
+ * !proto.lf.a2a.v1.Task>}
335
+ */
336
+ const methodDescriptor_A2AService_CancelTask = new grpc.web.MethodDescriptor(
337
+ '/lf.a2a.v1.A2AService/CancelTask',
338
+ grpc.web.MethodType.UNARY,
339
+ proto.lf.a2a.v1.CancelTaskRequest,
340
+ proto.lf.a2a.v1.Task,
341
+ /**
342
+ * @param {!proto.lf.a2a.v1.CancelTaskRequest} request
343
+ * @return {!Uint8Array}
344
+ */
345
+ function(request) {
346
+ return request.serializeBinary();
347
+ },
348
+ proto.lf.a2a.v1.Task.deserializeBinary
349
+ );
350
+
351
+
352
+ /**
353
+ * @param {!proto.lf.a2a.v1.CancelTaskRequest} request The
354
+ * request proto
355
+ * @param {?Object<string, string>} metadata User defined
356
+ * call metadata
357
+ * @param {function(?grpc.web.RpcError, ?proto.lf.a2a.v1.Task)}
358
+ * callback The callback function(error, response)
359
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.Task>|undefined}
360
+ * The XHR Node Readable Stream
361
+ */
362
+ proto.lf.a2a.v1.A2AServiceClient.prototype.cancelTask =
363
+ function(request, metadata, callback) {
364
+ return this.client_.rpcCall(this.hostname_ +
365
+ '/lf.a2a.v1.A2AService/CancelTask',
366
+ request,
367
+ metadata || {},
368
+ methodDescriptor_A2AService_CancelTask,
369
+ callback);
370
+ };
371
+
372
+
373
+ /**
374
+ * @param {!proto.lf.a2a.v1.CancelTaskRequest} request The
375
+ * request proto
376
+ * @param {?Object<string, string>=} metadata User defined
377
+ * call metadata
378
+ * @return {!Promise<!proto.lf.a2a.v1.Task>}
379
+ * Promise that resolves to the response
380
+ */
381
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.cancelTask =
382
+ function(request, metadata) {
383
+ return this.client_.unaryCall(this.hostname_ +
384
+ '/lf.a2a.v1.A2AService/CancelTask',
385
+ request,
386
+ metadata || {},
387
+ methodDescriptor_A2AService_CancelTask);
388
+ };
389
+
390
+
391
+ /**
392
+ * @const
393
+ * @type {!grpc.web.MethodDescriptor<
394
+ * !proto.lf.a2a.v1.SubscribeToTaskRequest,
395
+ * !proto.lf.a2a.v1.StreamResponse>}
396
+ */
397
+ const methodDescriptor_A2AService_SubscribeToTask = new grpc.web.MethodDescriptor(
398
+ '/lf.a2a.v1.A2AService/SubscribeToTask',
399
+ grpc.web.MethodType.SERVER_STREAMING,
400
+ proto.lf.a2a.v1.SubscribeToTaskRequest,
401
+ proto.lf.a2a.v1.StreamResponse,
402
+ /**
403
+ * @param {!proto.lf.a2a.v1.SubscribeToTaskRequest} request
404
+ * @return {!Uint8Array}
405
+ */
406
+ function(request) {
407
+ return request.serializeBinary();
408
+ },
409
+ proto.lf.a2a.v1.StreamResponse.deserializeBinary
410
+ );
411
+
412
+
413
+ /**
414
+ * @param {!proto.lf.a2a.v1.SubscribeToTaskRequest} request The request proto
415
+ * @param {?Object<string, string>=} metadata User defined
416
+ * call metadata
417
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.StreamResponse>}
418
+ * The XHR Node Readable Stream
419
+ */
420
+ proto.lf.a2a.v1.A2AServiceClient.prototype.subscribeToTask =
421
+ function(request, metadata) {
422
+ return this.client_.serverStreaming(this.hostname_ +
423
+ '/lf.a2a.v1.A2AService/SubscribeToTask',
424
+ request,
425
+ metadata || {},
426
+ methodDescriptor_A2AService_SubscribeToTask);
427
+ };
428
+
429
+
430
+ /**
431
+ * @param {!proto.lf.a2a.v1.SubscribeToTaskRequest} request The request proto
432
+ * @param {?Object<string, string>=} metadata User defined
433
+ * call metadata
434
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.StreamResponse>}
435
+ * The XHR Node Readable Stream
436
+ */
437
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.subscribeToTask =
438
+ function(request, metadata) {
439
+ return this.client_.serverStreaming(this.hostname_ +
440
+ '/lf.a2a.v1.A2AService/SubscribeToTask',
441
+ request,
442
+ metadata || {},
443
+ methodDescriptor_A2AService_SubscribeToTask);
444
+ };
445
+
446
+
447
+ /**
448
+ * @const
449
+ * @type {!grpc.web.MethodDescriptor<
450
+ * !proto.lf.a2a.v1.TaskPushNotificationConfig,
451
+ * !proto.lf.a2a.v1.TaskPushNotificationConfig>}
452
+ */
453
+ const methodDescriptor_A2AService_CreateTaskPushNotificationConfig = new grpc.web.MethodDescriptor(
454
+ '/lf.a2a.v1.A2AService/CreateTaskPushNotificationConfig',
455
+ grpc.web.MethodType.UNARY,
456
+ proto.lf.a2a.v1.TaskPushNotificationConfig,
457
+ proto.lf.a2a.v1.TaskPushNotificationConfig,
458
+ /**
459
+ * @param {!proto.lf.a2a.v1.TaskPushNotificationConfig} request
460
+ * @return {!Uint8Array}
461
+ */
462
+ function(request) {
463
+ return request.serializeBinary();
464
+ },
465
+ proto.lf.a2a.v1.TaskPushNotificationConfig.deserializeBinary
466
+ );
467
+
468
+
469
+ /**
470
+ * @param {!proto.lf.a2a.v1.TaskPushNotificationConfig} request The
471
+ * request proto
472
+ * @param {?Object<string, string>} metadata User defined
473
+ * call metadata
474
+ * @param {function(?grpc.web.RpcError, ?proto.lf.a2a.v1.TaskPushNotificationConfig)}
475
+ * callback The callback function(error, response)
476
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.TaskPushNotificationConfig>|undefined}
477
+ * The XHR Node Readable Stream
478
+ */
479
+ proto.lf.a2a.v1.A2AServiceClient.prototype.createTaskPushNotificationConfig =
480
+ function(request, metadata, callback) {
481
+ return this.client_.rpcCall(this.hostname_ +
482
+ '/lf.a2a.v1.A2AService/CreateTaskPushNotificationConfig',
483
+ request,
484
+ metadata || {},
485
+ methodDescriptor_A2AService_CreateTaskPushNotificationConfig,
486
+ callback);
487
+ };
488
+
489
+
490
+ /**
491
+ * @param {!proto.lf.a2a.v1.TaskPushNotificationConfig} request The
492
+ * request proto
493
+ * @param {?Object<string, string>=} metadata User defined
494
+ * call metadata
495
+ * @return {!Promise<!proto.lf.a2a.v1.TaskPushNotificationConfig>}
496
+ * Promise that resolves to the response
497
+ */
498
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.createTaskPushNotificationConfig =
499
+ function(request, metadata) {
500
+ return this.client_.unaryCall(this.hostname_ +
501
+ '/lf.a2a.v1.A2AService/CreateTaskPushNotificationConfig',
502
+ request,
503
+ metadata || {},
504
+ methodDescriptor_A2AService_CreateTaskPushNotificationConfig);
505
+ };
506
+
507
+
508
+ /**
509
+ * @const
510
+ * @type {!grpc.web.MethodDescriptor<
511
+ * !proto.lf.a2a.v1.GetTaskPushNotificationConfigRequest,
512
+ * !proto.lf.a2a.v1.TaskPushNotificationConfig>}
513
+ */
514
+ const methodDescriptor_A2AService_GetTaskPushNotificationConfig = new grpc.web.MethodDescriptor(
515
+ '/lf.a2a.v1.A2AService/GetTaskPushNotificationConfig',
516
+ grpc.web.MethodType.UNARY,
517
+ proto.lf.a2a.v1.GetTaskPushNotificationConfigRequest,
518
+ proto.lf.a2a.v1.TaskPushNotificationConfig,
519
+ /**
520
+ * @param {!proto.lf.a2a.v1.GetTaskPushNotificationConfigRequest} request
521
+ * @return {!Uint8Array}
522
+ */
523
+ function(request) {
524
+ return request.serializeBinary();
525
+ },
526
+ proto.lf.a2a.v1.TaskPushNotificationConfig.deserializeBinary
527
+ );
528
+
529
+
530
+ /**
531
+ * @param {!proto.lf.a2a.v1.GetTaskPushNotificationConfigRequest} request The
532
+ * request proto
533
+ * @param {?Object<string, string>} metadata User defined
534
+ * call metadata
535
+ * @param {function(?grpc.web.RpcError, ?proto.lf.a2a.v1.TaskPushNotificationConfig)}
536
+ * callback The callback function(error, response)
537
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.TaskPushNotificationConfig>|undefined}
538
+ * The XHR Node Readable Stream
539
+ */
540
+ proto.lf.a2a.v1.A2AServiceClient.prototype.getTaskPushNotificationConfig =
541
+ function(request, metadata, callback) {
542
+ return this.client_.rpcCall(this.hostname_ +
543
+ '/lf.a2a.v1.A2AService/GetTaskPushNotificationConfig',
544
+ request,
545
+ metadata || {},
546
+ methodDescriptor_A2AService_GetTaskPushNotificationConfig,
547
+ callback);
548
+ };
549
+
550
+
551
+ /**
552
+ * @param {!proto.lf.a2a.v1.GetTaskPushNotificationConfigRequest} request The
553
+ * request proto
554
+ * @param {?Object<string, string>=} metadata User defined
555
+ * call metadata
556
+ * @return {!Promise<!proto.lf.a2a.v1.TaskPushNotificationConfig>}
557
+ * Promise that resolves to the response
558
+ */
559
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.getTaskPushNotificationConfig =
560
+ function(request, metadata) {
561
+ return this.client_.unaryCall(this.hostname_ +
562
+ '/lf.a2a.v1.A2AService/GetTaskPushNotificationConfig',
563
+ request,
564
+ metadata || {},
565
+ methodDescriptor_A2AService_GetTaskPushNotificationConfig);
566
+ };
567
+
568
+
569
+ /**
570
+ * @const
571
+ * @type {!grpc.web.MethodDescriptor<
572
+ * !proto.lf.a2a.v1.ListTaskPushNotificationConfigsRequest,
573
+ * !proto.lf.a2a.v1.ListTaskPushNotificationConfigsResponse>}
574
+ */
575
+ const methodDescriptor_A2AService_ListTaskPushNotificationConfigs = new grpc.web.MethodDescriptor(
576
+ '/lf.a2a.v1.A2AService/ListTaskPushNotificationConfigs',
577
+ grpc.web.MethodType.UNARY,
578
+ proto.lf.a2a.v1.ListTaskPushNotificationConfigsRequest,
579
+ proto.lf.a2a.v1.ListTaskPushNotificationConfigsResponse,
580
+ /**
581
+ * @param {!proto.lf.a2a.v1.ListTaskPushNotificationConfigsRequest} request
582
+ * @return {!Uint8Array}
583
+ */
584
+ function(request) {
585
+ return request.serializeBinary();
586
+ },
587
+ proto.lf.a2a.v1.ListTaskPushNotificationConfigsResponse.deserializeBinary
588
+ );
589
+
590
+
591
+ /**
592
+ * @param {!proto.lf.a2a.v1.ListTaskPushNotificationConfigsRequest} request The
593
+ * request proto
594
+ * @param {?Object<string, string>} metadata User defined
595
+ * call metadata
596
+ * @param {function(?grpc.web.RpcError, ?proto.lf.a2a.v1.ListTaskPushNotificationConfigsResponse)}
597
+ * callback The callback function(error, response)
598
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.ListTaskPushNotificationConfigsResponse>|undefined}
599
+ * The XHR Node Readable Stream
600
+ */
601
+ proto.lf.a2a.v1.A2AServiceClient.prototype.listTaskPushNotificationConfigs =
602
+ function(request, metadata, callback) {
603
+ return this.client_.rpcCall(this.hostname_ +
604
+ '/lf.a2a.v1.A2AService/ListTaskPushNotificationConfigs',
605
+ request,
606
+ metadata || {},
607
+ methodDescriptor_A2AService_ListTaskPushNotificationConfigs,
608
+ callback);
609
+ };
610
+
611
+
612
+ /**
613
+ * @param {!proto.lf.a2a.v1.ListTaskPushNotificationConfigsRequest} request The
614
+ * request proto
615
+ * @param {?Object<string, string>=} metadata User defined
616
+ * call metadata
617
+ * @return {!Promise<!proto.lf.a2a.v1.ListTaskPushNotificationConfigsResponse>}
618
+ * Promise that resolves to the response
619
+ */
620
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.listTaskPushNotificationConfigs =
621
+ function(request, metadata) {
622
+ return this.client_.unaryCall(this.hostname_ +
623
+ '/lf.a2a.v1.A2AService/ListTaskPushNotificationConfigs',
624
+ request,
625
+ metadata || {},
626
+ methodDescriptor_A2AService_ListTaskPushNotificationConfigs);
627
+ };
628
+
629
+
630
+ /**
631
+ * @const
632
+ * @type {!grpc.web.MethodDescriptor<
633
+ * !proto.lf.a2a.v1.GetExtendedAgentCardRequest,
634
+ * !proto.lf.a2a.v1.AgentCard>}
635
+ */
636
+ const methodDescriptor_A2AService_GetExtendedAgentCard = new grpc.web.MethodDescriptor(
637
+ '/lf.a2a.v1.A2AService/GetExtendedAgentCard',
638
+ grpc.web.MethodType.UNARY,
639
+ proto.lf.a2a.v1.GetExtendedAgentCardRequest,
640
+ proto.lf.a2a.v1.AgentCard,
641
+ /**
642
+ * @param {!proto.lf.a2a.v1.GetExtendedAgentCardRequest} request
643
+ * @return {!Uint8Array}
644
+ */
645
+ function(request) {
646
+ return request.serializeBinary();
647
+ },
648
+ proto.lf.a2a.v1.AgentCard.deserializeBinary
649
+ );
650
+
651
+
652
+ /**
653
+ * @param {!proto.lf.a2a.v1.GetExtendedAgentCardRequest} request The
654
+ * request proto
655
+ * @param {?Object<string, string>} metadata User defined
656
+ * call metadata
657
+ * @param {function(?grpc.web.RpcError, ?proto.lf.a2a.v1.AgentCard)}
658
+ * callback The callback function(error, response)
659
+ * @return {!grpc.web.ClientReadableStream<!proto.lf.a2a.v1.AgentCard>|undefined}
660
+ * The XHR Node Readable Stream
661
+ */
662
+ proto.lf.a2a.v1.A2AServiceClient.prototype.getExtendedAgentCard =
663
+ function(request, metadata, callback) {
664
+ return this.client_.rpcCall(this.hostname_ +
665
+ '/lf.a2a.v1.A2AService/GetExtendedAgentCard',
666
+ request,
667
+ metadata || {},
668
+ methodDescriptor_A2AService_GetExtendedAgentCard,
669
+ callback);
670
+ };
671
+
672
+
673
+ /**
674
+ * @param {!proto.lf.a2a.v1.GetExtendedAgentCardRequest} request The
675
+ * request proto
676
+ * @param {?Object<string, string>=} metadata User defined
677
+ * call metadata
678
+ * @return {!Promise<!proto.lf.a2a.v1.AgentCard>}
679
+ * Promise that resolves to the response
680
+ */
681
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.getExtendedAgentCard =
682
+ function(request, metadata) {
683
+ return this.client_.unaryCall(this.hostname_ +
684
+ '/lf.a2a.v1.A2AService/GetExtendedAgentCard',
685
+ request,
686
+ metadata || {},
687
+ methodDescriptor_A2AService_GetExtendedAgentCard);
688
+ };
689
+
690
+
691
+ /**
692
+ * @const
693
+ * @type {!grpc.web.MethodDescriptor<
694
+ * !proto.lf.a2a.v1.DeleteTaskPushNotificationConfigRequest,
695
+ * !proto.google.protobuf.Empty>}
696
+ */
697
+ const methodDescriptor_A2AService_DeleteTaskPushNotificationConfig = new grpc.web.MethodDescriptor(
698
+ '/lf.a2a.v1.A2AService/DeleteTaskPushNotificationConfig',
699
+ grpc.web.MethodType.UNARY,
700
+ proto.lf.a2a.v1.DeleteTaskPushNotificationConfigRequest,
701
+ google_protobuf_empty_pb.Empty,
702
+ /**
703
+ * @param {!proto.lf.a2a.v1.DeleteTaskPushNotificationConfigRequest} request
704
+ * @return {!Uint8Array}
705
+ */
706
+ function(request) {
707
+ return request.serializeBinary();
708
+ },
709
+ google_protobuf_empty_pb.Empty.deserializeBinary
710
+ );
711
+
712
+
713
+ /**
714
+ * @param {!proto.lf.a2a.v1.DeleteTaskPushNotificationConfigRequest} request The
715
+ * request proto
716
+ * @param {?Object<string, string>} metadata User defined
717
+ * call metadata
718
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
719
+ * callback The callback function(error, response)
720
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
721
+ * The XHR Node Readable Stream
722
+ */
723
+ proto.lf.a2a.v1.A2AServiceClient.prototype.deleteTaskPushNotificationConfig =
724
+ function(request, metadata, callback) {
725
+ return this.client_.rpcCall(this.hostname_ +
726
+ '/lf.a2a.v1.A2AService/DeleteTaskPushNotificationConfig',
727
+ request,
728
+ metadata || {},
729
+ methodDescriptor_A2AService_DeleteTaskPushNotificationConfig,
730
+ callback);
731
+ };
732
+
733
+
734
+ /**
735
+ * @param {!proto.lf.a2a.v1.DeleteTaskPushNotificationConfigRequest} request The
736
+ * request proto
737
+ * @param {?Object<string, string>=} metadata User defined
738
+ * call metadata
739
+ * @return {!Promise<!proto.google.protobuf.Empty>}
740
+ * Promise that resolves to the response
741
+ */
742
+ proto.lf.a2a.v1.A2AServicePromiseClient.prototype.deleteTaskPushNotificationConfig =
743
+ function(request, metadata) {
744
+ return this.client_.unaryCall(this.hostname_ +
745
+ '/lf.a2a.v1.A2AService/DeleteTaskPushNotificationConfig',
746
+ request,
747
+ metadata || {},
748
+ methodDescriptor_A2AService_DeleteTaskPushNotificationConfig);
749
+ };
750
+
751
+
752
+ module.exports = proto.lf.a2a.v1;