@alis-build/a2a-history 1.0.273

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,1129 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for alis.a2a.extension.history.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: alis/a2a/extension/history/v1/session.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_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
24
+
25
+ var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
26
+
27
+ var google_iam_v1_policy_pb = require('@alis-build/google-common-protos/google/iam/v1/policy_pb.js')
28
+
29
+ var google_iam_v1_iam_policy_pb = require('@alis-build/google-common-protos/google/iam/v1/iam_policy_pb.js')
30
+
31
+ var alis_open_iam_v1_iam_pb = require('@open.alis.services/protobuf/alis/open/iam/v1/iam_pb.js')
32
+
33
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
34
+
35
+ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
36
+
37
+ var alis_a2a_extension_history_v1_a2a_pb = require('../../../../../alis/a2a/extension/history/v1/a2a_pb.js')
38
+ const proto = {};
39
+ proto.alis = {};
40
+ proto.alis.a2a = {};
41
+ proto.alis.a2a.extension = {};
42
+ proto.alis.a2a.extension.history = {};
43
+ proto.alis.a2a.extension.history.v1 = require('./session_pb.js');
44
+
45
+ /**
46
+ * @param {string} hostname
47
+ * @param {?Object} credentials
48
+ * @param {?grpc.web.ClientOptions} options
49
+ * @constructor
50
+ * @struct
51
+ * @final
52
+ */
53
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient =
54
+ function(hostname, credentials, options) {
55
+ if (!options) options = {};
56
+ options.format = 'text';
57
+
58
+ /**
59
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
60
+ */
61
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
62
+
63
+ /**
64
+ * @private @const {string} The hostname
65
+ */
66
+ this.hostname_ = hostname.replace(/\/+$/, '');
67
+
68
+ };
69
+
70
+
71
+ /**
72
+ * @param {string} hostname
73
+ * @param {?Object} credentials
74
+ * @param {?grpc.web.ClientOptions} options
75
+ * @constructor
76
+ * @struct
77
+ * @final
78
+ */
79
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient =
80
+ function(hostname, credentials, options) {
81
+ if (!options) options = {};
82
+ options.format = 'text';
83
+
84
+ /**
85
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
86
+ */
87
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
88
+
89
+ /**
90
+ * @private @const {string} The hostname
91
+ */
92
+ this.hostname_ = hostname.replace(/\/+$/, '');
93
+
94
+ };
95
+
96
+
97
+ /**
98
+ * @const
99
+ * @type {!grpc.web.MethodDescriptor<
100
+ * !proto.google.iam.v1.GetIamPolicyRequest,
101
+ * !proto.google.iam.v1.Policy>}
102
+ */
103
+ const methodDescriptor_SessionsService_GetIamPolicy = new grpc.web.MethodDescriptor(
104
+ '/alis.a2a.extension.history.v1.SessionsService/GetIamPolicy',
105
+ grpc.web.MethodType.UNARY,
106
+ google_iam_v1_iam_policy_pb.GetIamPolicyRequest,
107
+ google_iam_v1_policy_pb.Policy,
108
+ /**
109
+ * @param {!proto.google.iam.v1.GetIamPolicyRequest} request
110
+ * @return {!Uint8Array}
111
+ */
112
+ function(request) {
113
+ return request.serializeBinary();
114
+ },
115
+ google_iam_v1_policy_pb.Policy.deserializeBinary
116
+ );
117
+
118
+
119
+ /**
120
+ * @param {!proto.google.iam.v1.GetIamPolicyRequest} request The
121
+ * request proto
122
+ * @param {?Object<string, string>} metadata User defined
123
+ * call metadata
124
+ * @param {function(?grpc.web.RpcError, ?proto.google.iam.v1.Policy)}
125
+ * callback The callback function(error, response)
126
+ * @return {!grpc.web.ClientReadableStream<!proto.google.iam.v1.Policy>|undefined}
127
+ * The XHR Node Readable Stream
128
+ */
129
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.getIamPolicy =
130
+ function(request, metadata, callback) {
131
+ return this.client_.rpcCall(this.hostname_ +
132
+ '/alis.a2a.extension.history.v1.SessionsService/GetIamPolicy',
133
+ request,
134
+ metadata || {},
135
+ methodDescriptor_SessionsService_GetIamPolicy,
136
+ callback);
137
+ };
138
+
139
+
140
+ /**
141
+ * @param {!proto.google.iam.v1.GetIamPolicyRequest} request The
142
+ * request proto
143
+ * @param {?Object<string, string>=} metadata User defined
144
+ * call metadata
145
+ * @return {!Promise<!proto.google.iam.v1.Policy>}
146
+ * Promise that resolves to the response
147
+ */
148
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.getIamPolicy =
149
+ function(request, metadata) {
150
+ return this.client_.unaryCall(this.hostname_ +
151
+ '/alis.a2a.extension.history.v1.SessionsService/GetIamPolicy',
152
+ request,
153
+ metadata || {},
154
+ methodDescriptor_SessionsService_GetIamPolicy);
155
+ };
156
+
157
+
158
+ /**
159
+ * @const
160
+ * @type {!grpc.web.MethodDescriptor<
161
+ * !proto.google.iam.v1.SetIamPolicyRequest,
162
+ * !proto.google.iam.v1.Policy>}
163
+ */
164
+ const methodDescriptor_SessionsService_SetIamPolicy = new grpc.web.MethodDescriptor(
165
+ '/alis.a2a.extension.history.v1.SessionsService/SetIamPolicy',
166
+ grpc.web.MethodType.UNARY,
167
+ google_iam_v1_iam_policy_pb.SetIamPolicyRequest,
168
+ google_iam_v1_policy_pb.Policy,
169
+ /**
170
+ * @param {!proto.google.iam.v1.SetIamPolicyRequest} request
171
+ * @return {!Uint8Array}
172
+ */
173
+ function(request) {
174
+ return request.serializeBinary();
175
+ },
176
+ google_iam_v1_policy_pb.Policy.deserializeBinary
177
+ );
178
+
179
+
180
+ /**
181
+ * @param {!proto.google.iam.v1.SetIamPolicyRequest} request The
182
+ * request proto
183
+ * @param {?Object<string, string>} metadata User defined
184
+ * call metadata
185
+ * @param {function(?grpc.web.RpcError, ?proto.google.iam.v1.Policy)}
186
+ * callback The callback function(error, response)
187
+ * @return {!grpc.web.ClientReadableStream<!proto.google.iam.v1.Policy>|undefined}
188
+ * The XHR Node Readable Stream
189
+ */
190
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.setIamPolicy =
191
+ function(request, metadata, callback) {
192
+ return this.client_.rpcCall(this.hostname_ +
193
+ '/alis.a2a.extension.history.v1.SessionsService/SetIamPolicy',
194
+ request,
195
+ metadata || {},
196
+ methodDescriptor_SessionsService_SetIamPolicy,
197
+ callback);
198
+ };
199
+
200
+
201
+ /**
202
+ * @param {!proto.google.iam.v1.SetIamPolicyRequest} request The
203
+ * request proto
204
+ * @param {?Object<string, string>=} metadata User defined
205
+ * call metadata
206
+ * @return {!Promise<!proto.google.iam.v1.Policy>}
207
+ * Promise that resolves to the response
208
+ */
209
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.setIamPolicy =
210
+ function(request, metadata) {
211
+ return this.client_.unaryCall(this.hostname_ +
212
+ '/alis.a2a.extension.history.v1.SessionsService/SetIamPolicy',
213
+ request,
214
+ metadata || {},
215
+ methodDescriptor_SessionsService_SetIamPolicy);
216
+ };
217
+
218
+
219
+ /**
220
+ * @const
221
+ * @type {!grpc.web.MethodDescriptor<
222
+ * !proto.google.iam.v1.TestIamPermissionsRequest,
223
+ * !proto.google.iam.v1.TestIamPermissionsResponse>}
224
+ */
225
+ const methodDescriptor_SessionsService_TestIamPermissions = new grpc.web.MethodDescriptor(
226
+ '/alis.a2a.extension.history.v1.SessionsService/TestIamPermissions',
227
+ grpc.web.MethodType.UNARY,
228
+ google_iam_v1_iam_policy_pb.TestIamPermissionsRequest,
229
+ google_iam_v1_iam_policy_pb.TestIamPermissionsResponse,
230
+ /**
231
+ * @param {!proto.google.iam.v1.TestIamPermissionsRequest} request
232
+ * @return {!Uint8Array}
233
+ */
234
+ function(request) {
235
+ return request.serializeBinary();
236
+ },
237
+ google_iam_v1_iam_policy_pb.TestIamPermissionsResponse.deserializeBinary
238
+ );
239
+
240
+
241
+ /**
242
+ * @param {!proto.google.iam.v1.TestIamPermissionsRequest} request The
243
+ * request proto
244
+ * @param {?Object<string, string>} metadata User defined
245
+ * call metadata
246
+ * @param {function(?grpc.web.RpcError, ?proto.google.iam.v1.TestIamPermissionsResponse)}
247
+ * callback The callback function(error, response)
248
+ * @return {!grpc.web.ClientReadableStream<!proto.google.iam.v1.TestIamPermissionsResponse>|undefined}
249
+ * The XHR Node Readable Stream
250
+ */
251
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.testIamPermissions =
252
+ function(request, metadata, callback) {
253
+ return this.client_.rpcCall(this.hostname_ +
254
+ '/alis.a2a.extension.history.v1.SessionsService/TestIamPermissions',
255
+ request,
256
+ metadata || {},
257
+ methodDescriptor_SessionsService_TestIamPermissions,
258
+ callback);
259
+ };
260
+
261
+
262
+ /**
263
+ * @param {!proto.google.iam.v1.TestIamPermissionsRequest} request The
264
+ * request proto
265
+ * @param {?Object<string, string>=} metadata User defined
266
+ * call metadata
267
+ * @return {!Promise<!proto.google.iam.v1.TestIamPermissionsResponse>}
268
+ * Promise that resolves to the response
269
+ */
270
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.testIamPermissions =
271
+ function(request, metadata) {
272
+ return this.client_.unaryCall(this.hostname_ +
273
+ '/alis.a2a.extension.history.v1.SessionsService/TestIamPermissions',
274
+ request,
275
+ metadata || {},
276
+ methodDescriptor_SessionsService_TestIamPermissions);
277
+ };
278
+
279
+
280
+ /**
281
+ * @const
282
+ * @type {!grpc.web.MethodDescriptor<
283
+ * !proto.alis.open.iam.v1.BatchTestIamPermissionsRequest,
284
+ * !proto.alis.open.iam.v1.BatchTestIamPermissionsResponse>}
285
+ */
286
+ const methodDescriptor_SessionsService_BatchTestIamPermissions = new grpc.web.MethodDescriptor(
287
+ '/alis.a2a.extension.history.v1.SessionsService/BatchTestIamPermissions',
288
+ grpc.web.MethodType.UNARY,
289
+ alis_open_iam_v1_iam_pb.BatchTestIamPermissionsRequest,
290
+ alis_open_iam_v1_iam_pb.BatchTestIamPermissionsResponse,
291
+ /**
292
+ * @param {!proto.alis.open.iam.v1.BatchTestIamPermissionsRequest} request
293
+ * @return {!Uint8Array}
294
+ */
295
+ function(request) {
296
+ return request.serializeBinary();
297
+ },
298
+ alis_open_iam_v1_iam_pb.BatchTestIamPermissionsResponse.deserializeBinary
299
+ );
300
+
301
+
302
+ /**
303
+ * @param {!proto.alis.open.iam.v1.BatchTestIamPermissionsRequest} request The
304
+ * request proto
305
+ * @param {?Object<string, string>} metadata User defined
306
+ * call metadata
307
+ * @param {function(?grpc.web.RpcError, ?proto.alis.open.iam.v1.BatchTestIamPermissionsResponse)}
308
+ * callback The callback function(error, response)
309
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.open.iam.v1.BatchTestIamPermissionsResponse>|undefined}
310
+ * The XHR Node Readable Stream
311
+ */
312
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.batchTestIamPermissions =
313
+ function(request, metadata, callback) {
314
+ return this.client_.rpcCall(this.hostname_ +
315
+ '/alis.a2a.extension.history.v1.SessionsService/BatchTestIamPermissions',
316
+ request,
317
+ metadata || {},
318
+ methodDescriptor_SessionsService_BatchTestIamPermissions,
319
+ callback);
320
+ };
321
+
322
+
323
+ /**
324
+ * @param {!proto.alis.open.iam.v1.BatchTestIamPermissionsRequest} request The
325
+ * request proto
326
+ * @param {?Object<string, string>=} metadata User defined
327
+ * call metadata
328
+ * @return {!Promise<!proto.alis.open.iam.v1.BatchTestIamPermissionsResponse>}
329
+ * Promise that resolves to the response
330
+ */
331
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.batchTestIamPermissions =
332
+ function(request, metadata) {
333
+ return this.client_.unaryCall(this.hostname_ +
334
+ '/alis.a2a.extension.history.v1.SessionsService/BatchTestIamPermissions',
335
+ request,
336
+ metadata || {},
337
+ methodDescriptor_SessionsService_BatchTestIamPermissions);
338
+ };
339
+
340
+
341
+ /**
342
+ * @const
343
+ * @type {!grpc.web.MethodDescriptor<
344
+ * !proto.alis.open.iam.v1.AddIamBindingsRequest,
345
+ * !proto.google.iam.v1.Policy>}
346
+ */
347
+ const methodDescriptor_SessionsService_AddIamBindings = new grpc.web.MethodDescriptor(
348
+ '/alis.a2a.extension.history.v1.SessionsService/AddIamBindings',
349
+ grpc.web.MethodType.UNARY,
350
+ alis_open_iam_v1_iam_pb.AddIamBindingsRequest,
351
+ google_iam_v1_policy_pb.Policy,
352
+ /**
353
+ * @param {!proto.alis.open.iam.v1.AddIamBindingsRequest} request
354
+ * @return {!Uint8Array}
355
+ */
356
+ function(request) {
357
+ return request.serializeBinary();
358
+ },
359
+ google_iam_v1_policy_pb.Policy.deserializeBinary
360
+ );
361
+
362
+
363
+ /**
364
+ * @param {!proto.alis.open.iam.v1.AddIamBindingsRequest} request The
365
+ * request proto
366
+ * @param {?Object<string, string>} metadata User defined
367
+ * call metadata
368
+ * @param {function(?grpc.web.RpcError, ?proto.google.iam.v1.Policy)}
369
+ * callback The callback function(error, response)
370
+ * @return {!grpc.web.ClientReadableStream<!proto.google.iam.v1.Policy>|undefined}
371
+ * The XHR Node Readable Stream
372
+ */
373
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.addIamBindings =
374
+ function(request, metadata, callback) {
375
+ return this.client_.rpcCall(this.hostname_ +
376
+ '/alis.a2a.extension.history.v1.SessionsService/AddIamBindings',
377
+ request,
378
+ metadata || {},
379
+ methodDescriptor_SessionsService_AddIamBindings,
380
+ callback);
381
+ };
382
+
383
+
384
+ /**
385
+ * @param {!proto.alis.open.iam.v1.AddIamBindingsRequest} request The
386
+ * request proto
387
+ * @param {?Object<string, string>=} metadata User defined
388
+ * call metadata
389
+ * @return {!Promise<!proto.google.iam.v1.Policy>}
390
+ * Promise that resolves to the response
391
+ */
392
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.addIamBindings =
393
+ function(request, metadata) {
394
+ return this.client_.unaryCall(this.hostname_ +
395
+ '/alis.a2a.extension.history.v1.SessionsService/AddIamBindings',
396
+ request,
397
+ metadata || {},
398
+ methodDescriptor_SessionsService_AddIamBindings);
399
+ };
400
+
401
+
402
+ /**
403
+ * @const
404
+ * @type {!grpc.web.MethodDescriptor<
405
+ * !proto.alis.open.iam.v1.RemoveIamBindingsRequest,
406
+ * !proto.google.iam.v1.Policy>}
407
+ */
408
+ const methodDescriptor_SessionsService_RemoveIamBindings = new grpc.web.MethodDescriptor(
409
+ '/alis.a2a.extension.history.v1.SessionsService/RemoveIamBindings',
410
+ grpc.web.MethodType.UNARY,
411
+ alis_open_iam_v1_iam_pb.RemoveIamBindingsRequest,
412
+ google_iam_v1_policy_pb.Policy,
413
+ /**
414
+ * @param {!proto.alis.open.iam.v1.RemoveIamBindingsRequest} request
415
+ * @return {!Uint8Array}
416
+ */
417
+ function(request) {
418
+ return request.serializeBinary();
419
+ },
420
+ google_iam_v1_policy_pb.Policy.deserializeBinary
421
+ );
422
+
423
+
424
+ /**
425
+ * @param {!proto.alis.open.iam.v1.RemoveIamBindingsRequest} request The
426
+ * request proto
427
+ * @param {?Object<string, string>} metadata User defined
428
+ * call metadata
429
+ * @param {function(?grpc.web.RpcError, ?proto.google.iam.v1.Policy)}
430
+ * callback The callback function(error, response)
431
+ * @return {!grpc.web.ClientReadableStream<!proto.google.iam.v1.Policy>|undefined}
432
+ * The XHR Node Readable Stream
433
+ */
434
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.removeIamBindings =
435
+ function(request, metadata, callback) {
436
+ return this.client_.rpcCall(this.hostname_ +
437
+ '/alis.a2a.extension.history.v1.SessionsService/RemoveIamBindings',
438
+ request,
439
+ metadata || {},
440
+ methodDescriptor_SessionsService_RemoveIamBindings,
441
+ callback);
442
+ };
443
+
444
+
445
+ /**
446
+ * @param {!proto.alis.open.iam.v1.RemoveIamBindingsRequest} request The
447
+ * request proto
448
+ * @param {?Object<string, string>=} metadata User defined
449
+ * call metadata
450
+ * @return {!Promise<!proto.google.iam.v1.Policy>}
451
+ * Promise that resolves to the response
452
+ */
453
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.removeIamBindings =
454
+ function(request, metadata) {
455
+ return this.client_.unaryCall(this.hostname_ +
456
+ '/alis.a2a.extension.history.v1.SessionsService/RemoveIamBindings',
457
+ request,
458
+ metadata || {},
459
+ methodDescriptor_SessionsService_RemoveIamBindings);
460
+ };
461
+
462
+
463
+ /**
464
+ * @const
465
+ * @type {!grpc.web.MethodDescriptor<
466
+ * !proto.alis.a2a.extension.history.v1.ListSessionsRequest,
467
+ * !proto.alis.a2a.extension.history.v1.ListSessionsResponse>}
468
+ */
469
+ const methodDescriptor_SessionsService_ListSessions = new grpc.web.MethodDescriptor(
470
+ '/alis.a2a.extension.history.v1.SessionsService/ListSessions',
471
+ grpc.web.MethodType.UNARY,
472
+ proto.alis.a2a.extension.history.v1.ListSessionsRequest,
473
+ proto.alis.a2a.extension.history.v1.ListSessionsResponse,
474
+ /**
475
+ * @param {!proto.alis.a2a.extension.history.v1.ListSessionsRequest} request
476
+ * @return {!Uint8Array}
477
+ */
478
+ function(request) {
479
+ return request.serializeBinary();
480
+ },
481
+ proto.alis.a2a.extension.history.v1.ListSessionsResponse.deserializeBinary
482
+ );
483
+
484
+
485
+ /**
486
+ * @param {!proto.alis.a2a.extension.history.v1.ListSessionsRequest} request The
487
+ * request proto
488
+ * @param {?Object<string, string>} metadata User defined
489
+ * call metadata
490
+ * @param {function(?grpc.web.RpcError, ?proto.alis.a2a.extension.history.v1.ListSessionsResponse)}
491
+ * callback The callback function(error, response)
492
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.ListSessionsResponse>|undefined}
493
+ * The XHR Node Readable Stream
494
+ */
495
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.listSessions =
496
+ function(request, metadata, callback) {
497
+ return this.client_.rpcCall(this.hostname_ +
498
+ '/alis.a2a.extension.history.v1.SessionsService/ListSessions',
499
+ request,
500
+ metadata || {},
501
+ methodDescriptor_SessionsService_ListSessions,
502
+ callback);
503
+ };
504
+
505
+
506
+ /**
507
+ * @param {!proto.alis.a2a.extension.history.v1.ListSessionsRequest} request The
508
+ * request proto
509
+ * @param {?Object<string, string>=} metadata User defined
510
+ * call metadata
511
+ * @return {!Promise<!proto.alis.a2a.extension.history.v1.ListSessionsResponse>}
512
+ * Promise that resolves to the response
513
+ */
514
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.listSessions =
515
+ function(request, metadata) {
516
+ return this.client_.unaryCall(this.hostname_ +
517
+ '/alis.a2a.extension.history.v1.SessionsService/ListSessions',
518
+ request,
519
+ metadata || {},
520
+ methodDescriptor_SessionsService_ListSessions);
521
+ };
522
+
523
+
524
+ /**
525
+ * @const
526
+ * @type {!grpc.web.MethodDescriptor<
527
+ * !proto.alis.a2a.extension.history.v1.GetSessionRequest,
528
+ * !proto.alis.a2a.extension.history.v1.Session>}
529
+ */
530
+ const methodDescriptor_SessionsService_GetSession = new grpc.web.MethodDescriptor(
531
+ '/alis.a2a.extension.history.v1.SessionsService/GetSession',
532
+ grpc.web.MethodType.UNARY,
533
+ proto.alis.a2a.extension.history.v1.GetSessionRequest,
534
+ proto.alis.a2a.extension.history.v1.Session,
535
+ /**
536
+ * @param {!proto.alis.a2a.extension.history.v1.GetSessionRequest} request
537
+ * @return {!Uint8Array}
538
+ */
539
+ function(request) {
540
+ return request.serializeBinary();
541
+ },
542
+ proto.alis.a2a.extension.history.v1.Session.deserializeBinary
543
+ );
544
+
545
+
546
+ /**
547
+ * @param {!proto.alis.a2a.extension.history.v1.GetSessionRequest} request The
548
+ * request proto
549
+ * @param {?Object<string, string>} metadata User defined
550
+ * call metadata
551
+ * @param {function(?grpc.web.RpcError, ?proto.alis.a2a.extension.history.v1.Session)}
552
+ * callback The callback function(error, response)
553
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.Session>|undefined}
554
+ * The XHR Node Readable Stream
555
+ */
556
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.getSession =
557
+ function(request, metadata, callback) {
558
+ return this.client_.rpcCall(this.hostname_ +
559
+ '/alis.a2a.extension.history.v1.SessionsService/GetSession',
560
+ request,
561
+ metadata || {},
562
+ methodDescriptor_SessionsService_GetSession,
563
+ callback);
564
+ };
565
+
566
+
567
+ /**
568
+ * @param {!proto.alis.a2a.extension.history.v1.GetSessionRequest} request The
569
+ * request proto
570
+ * @param {?Object<string, string>=} metadata User defined
571
+ * call metadata
572
+ * @return {!Promise<!proto.alis.a2a.extension.history.v1.Session>}
573
+ * Promise that resolves to the response
574
+ */
575
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.getSession =
576
+ function(request, metadata) {
577
+ return this.client_.unaryCall(this.hostname_ +
578
+ '/alis.a2a.extension.history.v1.SessionsService/GetSession',
579
+ request,
580
+ metadata || {},
581
+ methodDescriptor_SessionsService_GetSession);
582
+ };
583
+
584
+
585
+ /**
586
+ * @const
587
+ * @type {!grpc.web.MethodDescriptor<
588
+ * !proto.alis.a2a.extension.history.v1.SetSessionDisplayNameRequest,
589
+ * !proto.alis.a2a.extension.history.v1.Session>}
590
+ */
591
+ const methodDescriptor_SessionsService_SetSessionDisplayName = new grpc.web.MethodDescriptor(
592
+ '/alis.a2a.extension.history.v1.SessionsService/SetSessionDisplayName',
593
+ grpc.web.MethodType.UNARY,
594
+ proto.alis.a2a.extension.history.v1.SetSessionDisplayNameRequest,
595
+ proto.alis.a2a.extension.history.v1.Session,
596
+ /**
597
+ * @param {!proto.alis.a2a.extension.history.v1.SetSessionDisplayNameRequest} request
598
+ * @return {!Uint8Array}
599
+ */
600
+ function(request) {
601
+ return request.serializeBinary();
602
+ },
603
+ proto.alis.a2a.extension.history.v1.Session.deserializeBinary
604
+ );
605
+
606
+
607
+ /**
608
+ * @param {!proto.alis.a2a.extension.history.v1.SetSessionDisplayNameRequest} request The
609
+ * request proto
610
+ * @param {?Object<string, string>} metadata User defined
611
+ * call metadata
612
+ * @param {function(?grpc.web.RpcError, ?proto.alis.a2a.extension.history.v1.Session)}
613
+ * callback The callback function(error, response)
614
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.Session>|undefined}
615
+ * The XHR Node Readable Stream
616
+ */
617
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.setSessionDisplayName =
618
+ function(request, metadata, callback) {
619
+ return this.client_.rpcCall(this.hostname_ +
620
+ '/alis.a2a.extension.history.v1.SessionsService/SetSessionDisplayName',
621
+ request,
622
+ metadata || {},
623
+ methodDescriptor_SessionsService_SetSessionDisplayName,
624
+ callback);
625
+ };
626
+
627
+
628
+ /**
629
+ * @param {!proto.alis.a2a.extension.history.v1.SetSessionDisplayNameRequest} request The
630
+ * request proto
631
+ * @param {?Object<string, string>=} metadata User defined
632
+ * call metadata
633
+ * @return {!Promise<!proto.alis.a2a.extension.history.v1.Session>}
634
+ * Promise that resolves to the response
635
+ */
636
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.setSessionDisplayName =
637
+ function(request, metadata) {
638
+ return this.client_.unaryCall(this.hostname_ +
639
+ '/alis.a2a.extension.history.v1.SessionsService/SetSessionDisplayName',
640
+ request,
641
+ metadata || {},
642
+ methodDescriptor_SessionsService_SetSessionDisplayName);
643
+ };
644
+
645
+
646
+ /**
647
+ * @const
648
+ * @type {!grpc.web.MethodDescriptor<
649
+ * !proto.alis.a2a.extension.history.v1.DeleteSessionRequest,
650
+ * !proto.alis.a2a.extension.history.v1.Session>}
651
+ */
652
+ const methodDescriptor_SessionsService_DeleteSession = new grpc.web.MethodDescriptor(
653
+ '/alis.a2a.extension.history.v1.SessionsService/DeleteSession',
654
+ grpc.web.MethodType.UNARY,
655
+ proto.alis.a2a.extension.history.v1.DeleteSessionRequest,
656
+ proto.alis.a2a.extension.history.v1.Session,
657
+ /**
658
+ * @param {!proto.alis.a2a.extension.history.v1.DeleteSessionRequest} request
659
+ * @return {!Uint8Array}
660
+ */
661
+ function(request) {
662
+ return request.serializeBinary();
663
+ },
664
+ proto.alis.a2a.extension.history.v1.Session.deserializeBinary
665
+ );
666
+
667
+
668
+ /**
669
+ * @param {!proto.alis.a2a.extension.history.v1.DeleteSessionRequest} request The
670
+ * request proto
671
+ * @param {?Object<string, string>} metadata User defined
672
+ * call metadata
673
+ * @param {function(?grpc.web.RpcError, ?proto.alis.a2a.extension.history.v1.Session)}
674
+ * callback The callback function(error, response)
675
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.Session>|undefined}
676
+ * The XHR Node Readable Stream
677
+ */
678
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.deleteSession =
679
+ function(request, metadata, callback) {
680
+ return this.client_.rpcCall(this.hostname_ +
681
+ '/alis.a2a.extension.history.v1.SessionsService/DeleteSession',
682
+ request,
683
+ metadata || {},
684
+ methodDescriptor_SessionsService_DeleteSession,
685
+ callback);
686
+ };
687
+
688
+
689
+ /**
690
+ * @param {!proto.alis.a2a.extension.history.v1.DeleteSessionRequest} request The
691
+ * request proto
692
+ * @param {?Object<string, string>=} metadata User defined
693
+ * call metadata
694
+ * @return {!Promise<!proto.alis.a2a.extension.history.v1.Session>}
695
+ * Promise that resolves to the response
696
+ */
697
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.deleteSession =
698
+ function(request, metadata) {
699
+ return this.client_.unaryCall(this.hostname_ +
700
+ '/alis.a2a.extension.history.v1.SessionsService/DeleteSession',
701
+ request,
702
+ metadata || {},
703
+ methodDescriptor_SessionsService_DeleteSession);
704
+ };
705
+
706
+
707
+ /**
708
+ * @const
709
+ * @type {!grpc.web.MethodDescriptor<
710
+ * !proto.alis.a2a.extension.history.v1.BatchGetSessionsRequest,
711
+ * !proto.alis.a2a.extension.history.v1.BatchGetSessionsResponse>}
712
+ */
713
+ const methodDescriptor_SessionsService_BatchGetSessions = new grpc.web.MethodDescriptor(
714
+ '/alis.a2a.extension.history.v1.SessionsService/BatchGetSessions',
715
+ grpc.web.MethodType.UNARY,
716
+ proto.alis.a2a.extension.history.v1.BatchGetSessionsRequest,
717
+ proto.alis.a2a.extension.history.v1.BatchGetSessionsResponse,
718
+ /**
719
+ * @param {!proto.alis.a2a.extension.history.v1.BatchGetSessionsRequest} request
720
+ * @return {!Uint8Array}
721
+ */
722
+ function(request) {
723
+ return request.serializeBinary();
724
+ },
725
+ proto.alis.a2a.extension.history.v1.BatchGetSessionsResponse.deserializeBinary
726
+ );
727
+
728
+
729
+ /**
730
+ * @param {!proto.alis.a2a.extension.history.v1.BatchGetSessionsRequest} request The
731
+ * request proto
732
+ * @param {?Object<string, string>} metadata User defined
733
+ * call metadata
734
+ * @param {function(?grpc.web.RpcError, ?proto.alis.a2a.extension.history.v1.BatchGetSessionsResponse)}
735
+ * callback The callback function(error, response)
736
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.BatchGetSessionsResponse>|undefined}
737
+ * The XHR Node Readable Stream
738
+ */
739
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.batchGetSessions =
740
+ function(request, metadata, callback) {
741
+ return this.client_.rpcCall(this.hostname_ +
742
+ '/alis.a2a.extension.history.v1.SessionsService/BatchGetSessions',
743
+ request,
744
+ metadata || {},
745
+ methodDescriptor_SessionsService_BatchGetSessions,
746
+ callback);
747
+ };
748
+
749
+
750
+ /**
751
+ * @param {!proto.alis.a2a.extension.history.v1.BatchGetSessionsRequest} request The
752
+ * request proto
753
+ * @param {?Object<string, string>=} metadata User defined
754
+ * call metadata
755
+ * @return {!Promise<!proto.alis.a2a.extension.history.v1.BatchGetSessionsResponse>}
756
+ * Promise that resolves to the response
757
+ */
758
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.batchGetSessions =
759
+ function(request, metadata) {
760
+ return this.client_.unaryCall(this.hostname_ +
761
+ '/alis.a2a.extension.history.v1.SessionsService/BatchGetSessions',
762
+ request,
763
+ metadata || {},
764
+ methodDescriptor_SessionsService_BatchGetSessions);
765
+ };
766
+
767
+
768
+ /**
769
+ * @const
770
+ * @type {!grpc.web.MethodDescriptor<
771
+ * !proto.alis.a2a.extension.history.v1.BatchDeleteSessionsRequest,
772
+ * !proto.alis.a2a.extension.history.v1.BatchDeleteSessionsResponse>}
773
+ */
774
+ const methodDescriptor_SessionsService_BatchDeleteSessions = new grpc.web.MethodDescriptor(
775
+ '/alis.a2a.extension.history.v1.SessionsService/BatchDeleteSessions',
776
+ grpc.web.MethodType.UNARY,
777
+ proto.alis.a2a.extension.history.v1.BatchDeleteSessionsRequest,
778
+ proto.alis.a2a.extension.history.v1.BatchDeleteSessionsResponse,
779
+ /**
780
+ * @param {!proto.alis.a2a.extension.history.v1.BatchDeleteSessionsRequest} request
781
+ * @return {!Uint8Array}
782
+ */
783
+ function(request) {
784
+ return request.serializeBinary();
785
+ },
786
+ proto.alis.a2a.extension.history.v1.BatchDeleteSessionsResponse.deserializeBinary
787
+ );
788
+
789
+
790
+ /**
791
+ * @param {!proto.alis.a2a.extension.history.v1.BatchDeleteSessionsRequest} request The
792
+ * request proto
793
+ * @param {?Object<string, string>} metadata User defined
794
+ * call metadata
795
+ * @param {function(?grpc.web.RpcError, ?proto.alis.a2a.extension.history.v1.BatchDeleteSessionsResponse)}
796
+ * callback The callback function(error, response)
797
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.BatchDeleteSessionsResponse>|undefined}
798
+ * The XHR Node Readable Stream
799
+ */
800
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.batchDeleteSessions =
801
+ function(request, metadata, callback) {
802
+ return this.client_.rpcCall(this.hostname_ +
803
+ '/alis.a2a.extension.history.v1.SessionsService/BatchDeleteSessions',
804
+ request,
805
+ metadata || {},
806
+ methodDescriptor_SessionsService_BatchDeleteSessions,
807
+ callback);
808
+ };
809
+
810
+
811
+ /**
812
+ * @param {!proto.alis.a2a.extension.history.v1.BatchDeleteSessionsRequest} request The
813
+ * request proto
814
+ * @param {?Object<string, string>=} metadata User defined
815
+ * call metadata
816
+ * @return {!Promise<!proto.alis.a2a.extension.history.v1.BatchDeleteSessionsResponse>}
817
+ * Promise that resolves to the response
818
+ */
819
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.batchDeleteSessions =
820
+ function(request, metadata) {
821
+ return this.client_.unaryCall(this.hostname_ +
822
+ '/alis.a2a.extension.history.v1.SessionsService/BatchDeleteSessions',
823
+ request,
824
+ metadata || {},
825
+ methodDescriptor_SessionsService_BatchDeleteSessions);
826
+ };
827
+
828
+
829
+ /**
830
+ * @const
831
+ * @type {!grpc.web.MethodDescriptor<
832
+ * !proto.alis.a2a.extension.history.v1.BatchCreateEventsRequest,
833
+ * !proto.alis.a2a.extension.history.v1.BatchCreateEventsResponse>}
834
+ */
835
+ const methodDescriptor_SessionsService_BatchCreateEvents = new grpc.web.MethodDescriptor(
836
+ '/alis.a2a.extension.history.v1.SessionsService/BatchCreateEvents',
837
+ grpc.web.MethodType.UNARY,
838
+ proto.alis.a2a.extension.history.v1.BatchCreateEventsRequest,
839
+ proto.alis.a2a.extension.history.v1.BatchCreateEventsResponse,
840
+ /**
841
+ * @param {!proto.alis.a2a.extension.history.v1.BatchCreateEventsRequest} request
842
+ * @return {!Uint8Array}
843
+ */
844
+ function(request) {
845
+ return request.serializeBinary();
846
+ },
847
+ proto.alis.a2a.extension.history.v1.BatchCreateEventsResponse.deserializeBinary
848
+ );
849
+
850
+
851
+ /**
852
+ * @param {!proto.alis.a2a.extension.history.v1.BatchCreateEventsRequest} request The
853
+ * request proto
854
+ * @param {?Object<string, string>} metadata User defined
855
+ * call metadata
856
+ * @param {function(?grpc.web.RpcError, ?proto.alis.a2a.extension.history.v1.BatchCreateEventsResponse)}
857
+ * callback The callback function(error, response)
858
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.BatchCreateEventsResponse>|undefined}
859
+ * The XHR Node Readable Stream
860
+ */
861
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.batchCreateEvents =
862
+ function(request, metadata, callback) {
863
+ return this.client_.rpcCall(this.hostname_ +
864
+ '/alis.a2a.extension.history.v1.SessionsService/BatchCreateEvents',
865
+ request,
866
+ metadata || {},
867
+ methodDescriptor_SessionsService_BatchCreateEvents,
868
+ callback);
869
+ };
870
+
871
+
872
+ /**
873
+ * @param {!proto.alis.a2a.extension.history.v1.BatchCreateEventsRequest} request The
874
+ * request proto
875
+ * @param {?Object<string, string>=} metadata User defined
876
+ * call metadata
877
+ * @return {!Promise<!proto.alis.a2a.extension.history.v1.BatchCreateEventsResponse>}
878
+ * Promise that resolves to the response
879
+ */
880
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.batchCreateEvents =
881
+ function(request, metadata) {
882
+ return this.client_.unaryCall(this.hostname_ +
883
+ '/alis.a2a.extension.history.v1.SessionsService/BatchCreateEvents',
884
+ request,
885
+ metadata || {},
886
+ methodDescriptor_SessionsService_BatchCreateEvents);
887
+ };
888
+
889
+
890
+ /**
891
+ * @const
892
+ * @type {!grpc.web.MethodDescriptor<
893
+ * !proto.alis.a2a.extension.history.v1.CreateEventRequest,
894
+ * !proto.alis.a2a.extension.history.v1.Event>}
895
+ */
896
+ const methodDescriptor_SessionsService_CreateEvent = new grpc.web.MethodDescriptor(
897
+ '/alis.a2a.extension.history.v1.SessionsService/CreateEvent',
898
+ grpc.web.MethodType.UNARY,
899
+ proto.alis.a2a.extension.history.v1.CreateEventRequest,
900
+ proto.alis.a2a.extension.history.v1.Event,
901
+ /**
902
+ * @param {!proto.alis.a2a.extension.history.v1.CreateEventRequest} request
903
+ * @return {!Uint8Array}
904
+ */
905
+ function(request) {
906
+ return request.serializeBinary();
907
+ },
908
+ proto.alis.a2a.extension.history.v1.Event.deserializeBinary
909
+ );
910
+
911
+
912
+ /**
913
+ * @param {!proto.alis.a2a.extension.history.v1.CreateEventRequest} request The
914
+ * request proto
915
+ * @param {?Object<string, string>} metadata User defined
916
+ * call metadata
917
+ * @param {function(?grpc.web.RpcError, ?proto.alis.a2a.extension.history.v1.Event)}
918
+ * callback The callback function(error, response)
919
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.Event>|undefined}
920
+ * The XHR Node Readable Stream
921
+ */
922
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.createEvent =
923
+ function(request, metadata, callback) {
924
+ return this.client_.rpcCall(this.hostname_ +
925
+ '/alis.a2a.extension.history.v1.SessionsService/CreateEvent',
926
+ request,
927
+ metadata || {},
928
+ methodDescriptor_SessionsService_CreateEvent,
929
+ callback);
930
+ };
931
+
932
+
933
+ /**
934
+ * @param {!proto.alis.a2a.extension.history.v1.CreateEventRequest} request The
935
+ * request proto
936
+ * @param {?Object<string, string>=} metadata User defined
937
+ * call metadata
938
+ * @return {!Promise<!proto.alis.a2a.extension.history.v1.Event>}
939
+ * Promise that resolves to the response
940
+ */
941
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.createEvent =
942
+ function(request, metadata) {
943
+ return this.client_.unaryCall(this.hostname_ +
944
+ '/alis.a2a.extension.history.v1.SessionsService/CreateEvent',
945
+ request,
946
+ metadata || {},
947
+ methodDescriptor_SessionsService_CreateEvent);
948
+ };
949
+
950
+
951
+ /**
952
+ * @const
953
+ * @type {!grpc.web.MethodDescriptor<
954
+ * !proto.alis.a2a.extension.history.v1.GetEventRequest,
955
+ * !proto.alis.a2a.extension.history.v1.Event>}
956
+ */
957
+ const methodDescriptor_SessionsService_GetEvent = new grpc.web.MethodDescriptor(
958
+ '/alis.a2a.extension.history.v1.SessionsService/GetEvent',
959
+ grpc.web.MethodType.UNARY,
960
+ proto.alis.a2a.extension.history.v1.GetEventRequest,
961
+ proto.alis.a2a.extension.history.v1.Event,
962
+ /**
963
+ * @param {!proto.alis.a2a.extension.history.v1.GetEventRequest} request
964
+ * @return {!Uint8Array}
965
+ */
966
+ function(request) {
967
+ return request.serializeBinary();
968
+ },
969
+ proto.alis.a2a.extension.history.v1.Event.deserializeBinary
970
+ );
971
+
972
+
973
+ /**
974
+ * @param {!proto.alis.a2a.extension.history.v1.GetEventRequest} request The
975
+ * request proto
976
+ * @param {?Object<string, string>} metadata User defined
977
+ * call metadata
978
+ * @param {function(?grpc.web.RpcError, ?proto.alis.a2a.extension.history.v1.Event)}
979
+ * callback The callback function(error, response)
980
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.Event>|undefined}
981
+ * The XHR Node Readable Stream
982
+ */
983
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.getEvent =
984
+ function(request, metadata, callback) {
985
+ return this.client_.rpcCall(this.hostname_ +
986
+ '/alis.a2a.extension.history.v1.SessionsService/GetEvent',
987
+ request,
988
+ metadata || {},
989
+ methodDescriptor_SessionsService_GetEvent,
990
+ callback);
991
+ };
992
+
993
+
994
+ /**
995
+ * @param {!proto.alis.a2a.extension.history.v1.GetEventRequest} request The
996
+ * request proto
997
+ * @param {?Object<string, string>=} metadata User defined
998
+ * call metadata
999
+ * @return {!Promise<!proto.alis.a2a.extension.history.v1.Event>}
1000
+ * Promise that resolves to the response
1001
+ */
1002
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.getEvent =
1003
+ function(request, metadata) {
1004
+ return this.client_.unaryCall(this.hostname_ +
1005
+ '/alis.a2a.extension.history.v1.SessionsService/GetEvent',
1006
+ request,
1007
+ metadata || {},
1008
+ methodDescriptor_SessionsService_GetEvent);
1009
+ };
1010
+
1011
+
1012
+ /**
1013
+ * @const
1014
+ * @type {!grpc.web.MethodDescriptor<
1015
+ * !proto.alis.a2a.extension.history.v1.ListEventsRequest,
1016
+ * !proto.alis.a2a.extension.history.v1.ListEventsResponse>}
1017
+ */
1018
+ const methodDescriptor_SessionsService_ListEvents = new grpc.web.MethodDescriptor(
1019
+ '/alis.a2a.extension.history.v1.SessionsService/ListEvents',
1020
+ grpc.web.MethodType.UNARY,
1021
+ proto.alis.a2a.extension.history.v1.ListEventsRequest,
1022
+ proto.alis.a2a.extension.history.v1.ListEventsResponse,
1023
+ /**
1024
+ * @param {!proto.alis.a2a.extension.history.v1.ListEventsRequest} request
1025
+ * @return {!Uint8Array}
1026
+ */
1027
+ function(request) {
1028
+ return request.serializeBinary();
1029
+ },
1030
+ proto.alis.a2a.extension.history.v1.ListEventsResponse.deserializeBinary
1031
+ );
1032
+
1033
+
1034
+ /**
1035
+ * @param {!proto.alis.a2a.extension.history.v1.ListEventsRequest} request The
1036
+ * request proto
1037
+ * @param {?Object<string, string>} metadata User defined
1038
+ * call metadata
1039
+ * @param {function(?grpc.web.RpcError, ?proto.alis.a2a.extension.history.v1.ListEventsResponse)}
1040
+ * callback The callback function(error, response)
1041
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.ListEventsResponse>|undefined}
1042
+ * The XHR Node Readable Stream
1043
+ */
1044
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.listEvents =
1045
+ function(request, metadata, callback) {
1046
+ return this.client_.rpcCall(this.hostname_ +
1047
+ '/alis.a2a.extension.history.v1.SessionsService/ListEvents',
1048
+ request,
1049
+ metadata || {},
1050
+ methodDescriptor_SessionsService_ListEvents,
1051
+ callback);
1052
+ };
1053
+
1054
+
1055
+ /**
1056
+ * @param {!proto.alis.a2a.extension.history.v1.ListEventsRequest} request The
1057
+ * request proto
1058
+ * @param {?Object<string, string>=} metadata User defined
1059
+ * call metadata
1060
+ * @return {!Promise<!proto.alis.a2a.extension.history.v1.ListEventsResponse>}
1061
+ * Promise that resolves to the response
1062
+ */
1063
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.listEvents =
1064
+ function(request, metadata) {
1065
+ return this.client_.unaryCall(this.hostname_ +
1066
+ '/alis.a2a.extension.history.v1.SessionsService/ListEvents',
1067
+ request,
1068
+ metadata || {},
1069
+ methodDescriptor_SessionsService_ListEvents);
1070
+ };
1071
+
1072
+
1073
+ /**
1074
+ * @const
1075
+ * @type {!grpc.web.MethodDescriptor<
1076
+ * !proto.alis.a2a.extension.history.v1.StreamEventsRequest,
1077
+ * !proto.alis.a2a.extension.history.v1.Event>}
1078
+ */
1079
+ const methodDescriptor_SessionsService_StreamEvents = new grpc.web.MethodDescriptor(
1080
+ '/alis.a2a.extension.history.v1.SessionsService/StreamEvents',
1081
+ grpc.web.MethodType.SERVER_STREAMING,
1082
+ proto.alis.a2a.extension.history.v1.StreamEventsRequest,
1083
+ proto.alis.a2a.extension.history.v1.Event,
1084
+ /**
1085
+ * @param {!proto.alis.a2a.extension.history.v1.StreamEventsRequest} request
1086
+ * @return {!Uint8Array}
1087
+ */
1088
+ function(request) {
1089
+ return request.serializeBinary();
1090
+ },
1091
+ proto.alis.a2a.extension.history.v1.Event.deserializeBinary
1092
+ );
1093
+
1094
+
1095
+ /**
1096
+ * @param {!proto.alis.a2a.extension.history.v1.StreamEventsRequest} request The request proto
1097
+ * @param {?Object<string, string>=} metadata User defined
1098
+ * call metadata
1099
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.Event>}
1100
+ * The XHR Node Readable Stream
1101
+ */
1102
+ proto.alis.a2a.extension.history.v1.SessionsServiceClient.prototype.streamEvents =
1103
+ function(request, metadata) {
1104
+ return this.client_.serverStreaming(this.hostname_ +
1105
+ '/alis.a2a.extension.history.v1.SessionsService/StreamEvents',
1106
+ request,
1107
+ metadata || {},
1108
+ methodDescriptor_SessionsService_StreamEvents);
1109
+ };
1110
+
1111
+
1112
+ /**
1113
+ * @param {!proto.alis.a2a.extension.history.v1.StreamEventsRequest} request The request proto
1114
+ * @param {?Object<string, string>=} metadata User defined
1115
+ * call metadata
1116
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.a2a.extension.history.v1.Event>}
1117
+ * The XHR Node Readable Stream
1118
+ */
1119
+ proto.alis.a2a.extension.history.v1.SessionsServicePromiseClient.prototype.streamEvents =
1120
+ function(request, metadata) {
1121
+ return this.client_.serverStreaming(this.hostname_ +
1122
+ '/alis.a2a.extension.history.v1.SessionsService/StreamEvents',
1123
+ request,
1124
+ metadata || {},
1125
+ methodDescriptor_SessionsService_StreamEvents);
1126
+ };
1127
+
1128
+
1129
+ module.exports = proto.alis.a2a.extension.history.v1;