@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,1594 @@
1
+ import * as jspb from 'google-protobuf'
2
+
3
+ import * as google_api_annotations_pb from '@alis-build/google-common-protos/google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
4
+ import * as google_api_client_pb from '@alis-build/google-common-protos/google/api/client_pb'; // proto import: "google/api/client.proto"
5
+ import * as google_api_field_behavior_pb from '@alis-build/google-common-protos/google/api/field_behavior_pb'; // proto import: "google/api/field_behavior.proto"
6
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
7
+ import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb'; // proto import: "google/protobuf/struct.proto"
8
+ import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
9
+
10
+
11
+ export class SendMessageConfiguration extends jspb.Message {
12
+ getAcceptedOutputModesList(): Array<string>;
13
+ setAcceptedOutputModesList(value: Array<string>): SendMessageConfiguration;
14
+ clearAcceptedOutputModesList(): SendMessageConfiguration;
15
+ addAcceptedOutputModes(value: string, index?: number): SendMessageConfiguration;
16
+
17
+ getTaskPushNotificationConfig(): TaskPushNotificationConfig | undefined;
18
+ setTaskPushNotificationConfig(value?: TaskPushNotificationConfig): SendMessageConfiguration;
19
+ hasTaskPushNotificationConfig(): boolean;
20
+ clearTaskPushNotificationConfig(): SendMessageConfiguration;
21
+
22
+ getHistoryLength(): number;
23
+ setHistoryLength(value: number): SendMessageConfiguration;
24
+ hasHistoryLength(): boolean;
25
+ clearHistoryLength(): SendMessageConfiguration;
26
+
27
+ getBlocking(): boolean;
28
+ setBlocking(value: boolean): SendMessageConfiguration;
29
+
30
+ serializeBinary(): Uint8Array;
31
+ toObject(includeInstance?: boolean): SendMessageConfiguration.AsObject;
32
+ static toObject(includeInstance: boolean, msg: SendMessageConfiguration): SendMessageConfiguration.AsObject;
33
+ static serializeBinaryToWriter(message: SendMessageConfiguration, writer: jspb.BinaryWriter): void;
34
+ static deserializeBinary(bytes: Uint8Array): SendMessageConfiguration;
35
+ static deserializeBinaryFromReader(message: SendMessageConfiguration, reader: jspb.BinaryReader): SendMessageConfiguration;
36
+ }
37
+
38
+ export namespace SendMessageConfiguration {
39
+ export type AsObject = {
40
+ acceptedOutputModesList: Array<string>,
41
+ taskPushNotificationConfig?: TaskPushNotificationConfig.AsObject,
42
+ historyLength?: number,
43
+ blocking: boolean,
44
+ }
45
+
46
+ export enum HistoryLengthCase {
47
+ _HISTORY_LENGTH_NOT_SET = 0,
48
+ HISTORY_LENGTH = 3,
49
+ }
50
+ }
51
+
52
+ export class Task extends jspb.Message {
53
+ getId(): string;
54
+ setId(value: string): Task;
55
+
56
+ getContextId(): string;
57
+ setContextId(value: string): Task;
58
+
59
+ getStatus(): TaskStatus | undefined;
60
+ setStatus(value?: TaskStatus): Task;
61
+ hasStatus(): boolean;
62
+ clearStatus(): Task;
63
+
64
+ getArtifactsList(): Array<Artifact>;
65
+ setArtifactsList(value: Array<Artifact>): Task;
66
+ clearArtifactsList(): Task;
67
+ addArtifacts(value?: Artifact, index?: number): Artifact;
68
+
69
+ getHistoryList(): Array<Message>;
70
+ setHistoryList(value: Array<Message>): Task;
71
+ clearHistoryList(): Task;
72
+ addHistory(value?: Message, index?: number): Message;
73
+
74
+ getMetadata(): google_protobuf_struct_pb.Struct | undefined;
75
+ setMetadata(value?: google_protobuf_struct_pb.Struct): Task;
76
+ hasMetadata(): boolean;
77
+ clearMetadata(): Task;
78
+
79
+ serializeBinary(): Uint8Array;
80
+ toObject(includeInstance?: boolean): Task.AsObject;
81
+ static toObject(includeInstance: boolean, msg: Task): Task.AsObject;
82
+ static serializeBinaryToWriter(message: Task, writer: jspb.BinaryWriter): void;
83
+ static deserializeBinary(bytes: Uint8Array): Task;
84
+ static deserializeBinaryFromReader(message: Task, reader: jspb.BinaryReader): Task;
85
+ }
86
+
87
+ export namespace Task {
88
+ export type AsObject = {
89
+ id: string,
90
+ contextId: string,
91
+ status?: TaskStatus.AsObject,
92
+ artifactsList: Array<Artifact.AsObject>,
93
+ historyList: Array<Message.AsObject>,
94
+ metadata?: google_protobuf_struct_pb.Struct.AsObject,
95
+ }
96
+ }
97
+
98
+ export class TaskStatus extends jspb.Message {
99
+ getState(): TaskState;
100
+ setState(value: TaskState): TaskStatus;
101
+
102
+ getMessage(): Message | undefined;
103
+ setMessage(value?: Message): TaskStatus;
104
+ hasMessage(): boolean;
105
+ clearMessage(): TaskStatus;
106
+
107
+ getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
108
+ setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): TaskStatus;
109
+ hasTimestamp(): boolean;
110
+ clearTimestamp(): TaskStatus;
111
+
112
+ serializeBinary(): Uint8Array;
113
+ toObject(includeInstance?: boolean): TaskStatus.AsObject;
114
+ static toObject(includeInstance: boolean, msg: TaskStatus): TaskStatus.AsObject;
115
+ static serializeBinaryToWriter(message: TaskStatus, writer: jspb.BinaryWriter): void;
116
+ static deserializeBinary(bytes: Uint8Array): TaskStatus;
117
+ static deserializeBinaryFromReader(message: TaskStatus, reader: jspb.BinaryReader): TaskStatus;
118
+ }
119
+
120
+ export namespace TaskStatus {
121
+ export type AsObject = {
122
+ state: TaskState,
123
+ message?: Message.AsObject,
124
+ timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
125
+ }
126
+ }
127
+
128
+ export class Part extends jspb.Message {
129
+ getText(): string;
130
+ setText(value: string): Part;
131
+
132
+ getRaw(): Uint8Array | string;
133
+ getRaw_asU8(): Uint8Array;
134
+ getRaw_asB64(): string;
135
+ setRaw(value: Uint8Array | string): Part;
136
+
137
+ getUrl(): string;
138
+ setUrl(value: string): Part;
139
+
140
+ getData(): google_protobuf_struct_pb.Value | undefined;
141
+ setData(value?: google_protobuf_struct_pb.Value): Part;
142
+ hasData(): boolean;
143
+ clearData(): Part;
144
+
145
+ getMetadata(): google_protobuf_struct_pb.Struct | undefined;
146
+ setMetadata(value?: google_protobuf_struct_pb.Struct): Part;
147
+ hasMetadata(): boolean;
148
+ clearMetadata(): Part;
149
+
150
+ getFilename(): string;
151
+ setFilename(value: string): Part;
152
+
153
+ getMediaType(): string;
154
+ setMediaType(value: string): Part;
155
+
156
+ getContentCase(): Part.ContentCase;
157
+
158
+ serializeBinary(): Uint8Array;
159
+ toObject(includeInstance?: boolean): Part.AsObject;
160
+ static toObject(includeInstance: boolean, msg: Part): Part.AsObject;
161
+ static serializeBinaryToWriter(message: Part, writer: jspb.BinaryWriter): void;
162
+ static deserializeBinary(bytes: Uint8Array): Part;
163
+ static deserializeBinaryFromReader(message: Part, reader: jspb.BinaryReader): Part;
164
+ }
165
+
166
+ export namespace Part {
167
+ export type AsObject = {
168
+ text: string,
169
+ raw: Uint8Array | string,
170
+ url: string,
171
+ data?: google_protobuf_struct_pb.Value.AsObject,
172
+ metadata?: google_protobuf_struct_pb.Struct.AsObject,
173
+ filename: string,
174
+ mediaType: string,
175
+ }
176
+
177
+ export enum ContentCase {
178
+ CONTENT_NOT_SET = 0,
179
+ TEXT = 1,
180
+ RAW = 2,
181
+ URL = 3,
182
+ DATA = 4,
183
+ }
184
+ }
185
+
186
+ export class Message extends jspb.Message {
187
+ getMessageId(): string;
188
+ setMessageId(value: string): Message;
189
+
190
+ getContextId(): string;
191
+ setContextId(value: string): Message;
192
+
193
+ getTaskId(): string;
194
+ setTaskId(value: string): Message;
195
+
196
+ getRole(): Role;
197
+ setRole(value: Role): Message;
198
+
199
+ getPartsList(): Array<Part>;
200
+ setPartsList(value: Array<Part>): Message;
201
+ clearPartsList(): Message;
202
+ addParts(value?: Part, index?: number): Part;
203
+
204
+ getMetadata(): google_protobuf_struct_pb.Struct | undefined;
205
+ setMetadata(value?: google_protobuf_struct_pb.Struct): Message;
206
+ hasMetadata(): boolean;
207
+ clearMetadata(): Message;
208
+
209
+ getExtensionsList(): Array<string>;
210
+ setExtensionsList(value: Array<string>): Message;
211
+ clearExtensionsList(): Message;
212
+ addExtensions(value: string, index?: number): Message;
213
+
214
+ getReferenceTaskIdsList(): Array<string>;
215
+ setReferenceTaskIdsList(value: Array<string>): Message;
216
+ clearReferenceTaskIdsList(): Message;
217
+ addReferenceTaskIds(value: string, index?: number): Message;
218
+
219
+ serializeBinary(): Uint8Array;
220
+ toObject(includeInstance?: boolean): Message.AsObject;
221
+ static toObject(includeInstance: boolean, msg: Message): Message.AsObject;
222
+ static serializeBinaryToWriter(message: Message, writer: jspb.BinaryWriter): void;
223
+ static deserializeBinary(bytes: Uint8Array): Message;
224
+ static deserializeBinaryFromReader(message: Message, reader: jspb.BinaryReader): Message;
225
+ }
226
+
227
+ export namespace Message {
228
+ export type AsObject = {
229
+ messageId: string,
230
+ contextId: string,
231
+ taskId: string,
232
+ role: Role,
233
+ partsList: Array<Part.AsObject>,
234
+ metadata?: google_protobuf_struct_pb.Struct.AsObject,
235
+ extensionsList: Array<string>,
236
+ referenceTaskIdsList: Array<string>,
237
+ }
238
+ }
239
+
240
+ export class Artifact extends jspb.Message {
241
+ getArtifactId(): string;
242
+ setArtifactId(value: string): Artifact;
243
+
244
+ getName(): string;
245
+ setName(value: string): Artifact;
246
+
247
+ getDescription(): string;
248
+ setDescription(value: string): Artifact;
249
+
250
+ getPartsList(): Array<Part>;
251
+ setPartsList(value: Array<Part>): Artifact;
252
+ clearPartsList(): Artifact;
253
+ addParts(value?: Part, index?: number): Part;
254
+
255
+ getMetadata(): google_protobuf_struct_pb.Struct | undefined;
256
+ setMetadata(value?: google_protobuf_struct_pb.Struct): Artifact;
257
+ hasMetadata(): boolean;
258
+ clearMetadata(): Artifact;
259
+
260
+ getExtensionsList(): Array<string>;
261
+ setExtensionsList(value: Array<string>): Artifact;
262
+ clearExtensionsList(): Artifact;
263
+ addExtensions(value: string, index?: number): Artifact;
264
+
265
+ serializeBinary(): Uint8Array;
266
+ toObject(includeInstance?: boolean): Artifact.AsObject;
267
+ static toObject(includeInstance: boolean, msg: Artifact): Artifact.AsObject;
268
+ static serializeBinaryToWriter(message: Artifact, writer: jspb.BinaryWriter): void;
269
+ static deserializeBinary(bytes: Uint8Array): Artifact;
270
+ static deserializeBinaryFromReader(message: Artifact, reader: jspb.BinaryReader): Artifact;
271
+ }
272
+
273
+ export namespace Artifact {
274
+ export type AsObject = {
275
+ artifactId: string,
276
+ name: string,
277
+ description: string,
278
+ partsList: Array<Part.AsObject>,
279
+ metadata?: google_protobuf_struct_pb.Struct.AsObject,
280
+ extensionsList: Array<string>,
281
+ }
282
+ }
283
+
284
+ export class TaskStatusUpdateEvent extends jspb.Message {
285
+ getTaskId(): string;
286
+ setTaskId(value: string): TaskStatusUpdateEvent;
287
+
288
+ getContextId(): string;
289
+ setContextId(value: string): TaskStatusUpdateEvent;
290
+
291
+ getStatus(): TaskStatus | undefined;
292
+ setStatus(value?: TaskStatus): TaskStatusUpdateEvent;
293
+ hasStatus(): boolean;
294
+ clearStatus(): TaskStatusUpdateEvent;
295
+
296
+ getMetadata(): google_protobuf_struct_pb.Struct | undefined;
297
+ setMetadata(value?: google_protobuf_struct_pb.Struct): TaskStatusUpdateEvent;
298
+ hasMetadata(): boolean;
299
+ clearMetadata(): TaskStatusUpdateEvent;
300
+
301
+ serializeBinary(): Uint8Array;
302
+ toObject(includeInstance?: boolean): TaskStatusUpdateEvent.AsObject;
303
+ static toObject(includeInstance: boolean, msg: TaskStatusUpdateEvent): TaskStatusUpdateEvent.AsObject;
304
+ static serializeBinaryToWriter(message: TaskStatusUpdateEvent, writer: jspb.BinaryWriter): void;
305
+ static deserializeBinary(bytes: Uint8Array): TaskStatusUpdateEvent;
306
+ static deserializeBinaryFromReader(message: TaskStatusUpdateEvent, reader: jspb.BinaryReader): TaskStatusUpdateEvent;
307
+ }
308
+
309
+ export namespace TaskStatusUpdateEvent {
310
+ export type AsObject = {
311
+ taskId: string,
312
+ contextId: string,
313
+ status?: TaskStatus.AsObject,
314
+ metadata?: google_protobuf_struct_pb.Struct.AsObject,
315
+ }
316
+ }
317
+
318
+ export class TaskArtifactUpdateEvent extends jspb.Message {
319
+ getTaskId(): string;
320
+ setTaskId(value: string): TaskArtifactUpdateEvent;
321
+
322
+ getContextId(): string;
323
+ setContextId(value: string): TaskArtifactUpdateEvent;
324
+
325
+ getArtifact(): Artifact | undefined;
326
+ setArtifact(value?: Artifact): TaskArtifactUpdateEvent;
327
+ hasArtifact(): boolean;
328
+ clearArtifact(): TaskArtifactUpdateEvent;
329
+
330
+ getAppend(): boolean;
331
+ setAppend(value: boolean): TaskArtifactUpdateEvent;
332
+
333
+ getLastChunk(): boolean;
334
+ setLastChunk(value: boolean): TaskArtifactUpdateEvent;
335
+
336
+ getMetadata(): google_protobuf_struct_pb.Struct | undefined;
337
+ setMetadata(value?: google_protobuf_struct_pb.Struct): TaskArtifactUpdateEvent;
338
+ hasMetadata(): boolean;
339
+ clearMetadata(): TaskArtifactUpdateEvent;
340
+
341
+ serializeBinary(): Uint8Array;
342
+ toObject(includeInstance?: boolean): TaskArtifactUpdateEvent.AsObject;
343
+ static toObject(includeInstance: boolean, msg: TaskArtifactUpdateEvent): TaskArtifactUpdateEvent.AsObject;
344
+ static serializeBinaryToWriter(message: TaskArtifactUpdateEvent, writer: jspb.BinaryWriter): void;
345
+ static deserializeBinary(bytes: Uint8Array): TaskArtifactUpdateEvent;
346
+ static deserializeBinaryFromReader(message: TaskArtifactUpdateEvent, reader: jspb.BinaryReader): TaskArtifactUpdateEvent;
347
+ }
348
+
349
+ export namespace TaskArtifactUpdateEvent {
350
+ export type AsObject = {
351
+ taskId: string,
352
+ contextId: string,
353
+ artifact?: Artifact.AsObject,
354
+ append: boolean,
355
+ lastChunk: boolean,
356
+ metadata?: google_protobuf_struct_pb.Struct.AsObject,
357
+ }
358
+ }
359
+
360
+ export class AuthenticationInfo extends jspb.Message {
361
+ getScheme(): string;
362
+ setScheme(value: string): AuthenticationInfo;
363
+
364
+ getCredentials(): string;
365
+ setCredentials(value: string): AuthenticationInfo;
366
+
367
+ serializeBinary(): Uint8Array;
368
+ toObject(includeInstance?: boolean): AuthenticationInfo.AsObject;
369
+ static toObject(includeInstance: boolean, msg: AuthenticationInfo): AuthenticationInfo.AsObject;
370
+ static serializeBinaryToWriter(message: AuthenticationInfo, writer: jspb.BinaryWriter): void;
371
+ static deserializeBinary(bytes: Uint8Array): AuthenticationInfo;
372
+ static deserializeBinaryFromReader(message: AuthenticationInfo, reader: jspb.BinaryReader): AuthenticationInfo;
373
+ }
374
+
375
+ export namespace AuthenticationInfo {
376
+ export type AsObject = {
377
+ scheme: string,
378
+ credentials: string,
379
+ }
380
+ }
381
+
382
+ export class AgentInterface extends jspb.Message {
383
+ getUrl(): string;
384
+ setUrl(value: string): AgentInterface;
385
+
386
+ getProtocolBinding(): string;
387
+ setProtocolBinding(value: string): AgentInterface;
388
+
389
+ getTenant(): string;
390
+ setTenant(value: string): AgentInterface;
391
+
392
+ getProtocolVersion(): string;
393
+ setProtocolVersion(value: string): AgentInterface;
394
+
395
+ serializeBinary(): Uint8Array;
396
+ toObject(includeInstance?: boolean): AgentInterface.AsObject;
397
+ static toObject(includeInstance: boolean, msg: AgentInterface): AgentInterface.AsObject;
398
+ static serializeBinaryToWriter(message: AgentInterface, writer: jspb.BinaryWriter): void;
399
+ static deserializeBinary(bytes: Uint8Array): AgentInterface;
400
+ static deserializeBinaryFromReader(message: AgentInterface, reader: jspb.BinaryReader): AgentInterface;
401
+ }
402
+
403
+ export namespace AgentInterface {
404
+ export type AsObject = {
405
+ url: string,
406
+ protocolBinding: string,
407
+ tenant: string,
408
+ protocolVersion: string,
409
+ }
410
+ }
411
+
412
+ export class AgentCard extends jspb.Message {
413
+ getName(): string;
414
+ setName(value: string): AgentCard;
415
+
416
+ getDescription(): string;
417
+ setDescription(value: string): AgentCard;
418
+
419
+ getSupportedInterfacesList(): Array<AgentInterface>;
420
+ setSupportedInterfacesList(value: Array<AgentInterface>): AgentCard;
421
+ clearSupportedInterfacesList(): AgentCard;
422
+ addSupportedInterfaces(value?: AgentInterface, index?: number): AgentInterface;
423
+
424
+ getProvider(): AgentProvider | undefined;
425
+ setProvider(value?: AgentProvider): AgentCard;
426
+ hasProvider(): boolean;
427
+ clearProvider(): AgentCard;
428
+
429
+ getVersion(): string;
430
+ setVersion(value: string): AgentCard;
431
+
432
+ getDocumentationUrl(): string;
433
+ setDocumentationUrl(value: string): AgentCard;
434
+ hasDocumentationUrl(): boolean;
435
+ clearDocumentationUrl(): AgentCard;
436
+
437
+ getCapabilities(): AgentCapabilities | undefined;
438
+ setCapabilities(value?: AgentCapabilities): AgentCard;
439
+ hasCapabilities(): boolean;
440
+ clearCapabilities(): AgentCard;
441
+
442
+ getSecuritySchemesMap(): jspb.Map<string, SecurityScheme>;
443
+ clearSecuritySchemesMap(): AgentCard;
444
+
445
+ getSecurityRequirementsList(): Array<SecurityRequirement>;
446
+ setSecurityRequirementsList(value: Array<SecurityRequirement>): AgentCard;
447
+ clearSecurityRequirementsList(): AgentCard;
448
+ addSecurityRequirements(value?: SecurityRequirement, index?: number): SecurityRequirement;
449
+
450
+ getDefaultInputModesList(): Array<string>;
451
+ setDefaultInputModesList(value: Array<string>): AgentCard;
452
+ clearDefaultInputModesList(): AgentCard;
453
+ addDefaultInputModes(value: string, index?: number): AgentCard;
454
+
455
+ getDefaultOutputModesList(): Array<string>;
456
+ setDefaultOutputModesList(value: Array<string>): AgentCard;
457
+ clearDefaultOutputModesList(): AgentCard;
458
+ addDefaultOutputModes(value: string, index?: number): AgentCard;
459
+
460
+ getSkillsList(): Array<AgentSkill>;
461
+ setSkillsList(value: Array<AgentSkill>): AgentCard;
462
+ clearSkillsList(): AgentCard;
463
+ addSkills(value?: AgentSkill, index?: number): AgentSkill;
464
+
465
+ getSignaturesList(): Array<AgentCardSignature>;
466
+ setSignaturesList(value: Array<AgentCardSignature>): AgentCard;
467
+ clearSignaturesList(): AgentCard;
468
+ addSignatures(value?: AgentCardSignature, index?: number): AgentCardSignature;
469
+
470
+ getIconUrl(): string;
471
+ setIconUrl(value: string): AgentCard;
472
+ hasIconUrl(): boolean;
473
+ clearIconUrl(): AgentCard;
474
+
475
+ serializeBinary(): Uint8Array;
476
+ toObject(includeInstance?: boolean): AgentCard.AsObject;
477
+ static toObject(includeInstance: boolean, msg: AgentCard): AgentCard.AsObject;
478
+ static serializeBinaryToWriter(message: AgentCard, writer: jspb.BinaryWriter): void;
479
+ static deserializeBinary(bytes: Uint8Array): AgentCard;
480
+ static deserializeBinaryFromReader(message: AgentCard, reader: jspb.BinaryReader): AgentCard;
481
+ }
482
+
483
+ export namespace AgentCard {
484
+ export type AsObject = {
485
+ name: string,
486
+ description: string,
487
+ supportedInterfacesList: Array<AgentInterface.AsObject>,
488
+ provider?: AgentProvider.AsObject,
489
+ version: string,
490
+ documentationUrl?: string,
491
+ capabilities?: AgentCapabilities.AsObject,
492
+ securitySchemesMap: Array<[string, SecurityScheme.AsObject]>,
493
+ securityRequirementsList: Array<SecurityRequirement.AsObject>,
494
+ defaultInputModesList: Array<string>,
495
+ defaultOutputModesList: Array<string>,
496
+ skillsList: Array<AgentSkill.AsObject>,
497
+ signaturesList: Array<AgentCardSignature.AsObject>,
498
+ iconUrl?: string,
499
+ }
500
+
501
+ export enum DocumentationUrlCase {
502
+ _DOCUMENTATION_URL_NOT_SET = 0,
503
+ DOCUMENTATION_URL = 6,
504
+ }
505
+
506
+ export enum IconUrlCase {
507
+ _ICON_URL_NOT_SET = 0,
508
+ ICON_URL = 14,
509
+ }
510
+ }
511
+
512
+ export class AgentProvider extends jspb.Message {
513
+ getUrl(): string;
514
+ setUrl(value: string): AgentProvider;
515
+
516
+ getOrganization(): string;
517
+ setOrganization(value: string): AgentProvider;
518
+
519
+ serializeBinary(): Uint8Array;
520
+ toObject(includeInstance?: boolean): AgentProvider.AsObject;
521
+ static toObject(includeInstance: boolean, msg: AgentProvider): AgentProvider.AsObject;
522
+ static serializeBinaryToWriter(message: AgentProvider, writer: jspb.BinaryWriter): void;
523
+ static deserializeBinary(bytes: Uint8Array): AgentProvider;
524
+ static deserializeBinaryFromReader(message: AgentProvider, reader: jspb.BinaryReader): AgentProvider;
525
+ }
526
+
527
+ export namespace AgentProvider {
528
+ export type AsObject = {
529
+ url: string,
530
+ organization: string,
531
+ }
532
+ }
533
+
534
+ export class AgentCapabilities extends jspb.Message {
535
+ getStreaming(): boolean;
536
+ setStreaming(value: boolean): AgentCapabilities;
537
+ hasStreaming(): boolean;
538
+ clearStreaming(): AgentCapabilities;
539
+
540
+ getPushNotifications(): boolean;
541
+ setPushNotifications(value: boolean): AgentCapabilities;
542
+ hasPushNotifications(): boolean;
543
+ clearPushNotifications(): AgentCapabilities;
544
+
545
+ getExtensionsList(): Array<AgentExtension>;
546
+ setExtensionsList(value: Array<AgentExtension>): AgentCapabilities;
547
+ clearExtensionsList(): AgentCapabilities;
548
+ addExtensions(value?: AgentExtension, index?: number): AgentExtension;
549
+
550
+ getExtendedAgentCard(): boolean;
551
+ setExtendedAgentCard(value: boolean): AgentCapabilities;
552
+ hasExtendedAgentCard(): boolean;
553
+ clearExtendedAgentCard(): AgentCapabilities;
554
+
555
+ serializeBinary(): Uint8Array;
556
+ toObject(includeInstance?: boolean): AgentCapabilities.AsObject;
557
+ static toObject(includeInstance: boolean, msg: AgentCapabilities): AgentCapabilities.AsObject;
558
+ static serializeBinaryToWriter(message: AgentCapabilities, writer: jspb.BinaryWriter): void;
559
+ static deserializeBinary(bytes: Uint8Array): AgentCapabilities;
560
+ static deserializeBinaryFromReader(message: AgentCapabilities, reader: jspb.BinaryReader): AgentCapabilities;
561
+ }
562
+
563
+ export namespace AgentCapabilities {
564
+ export type AsObject = {
565
+ streaming?: boolean,
566
+ pushNotifications?: boolean,
567
+ extensionsList: Array<AgentExtension.AsObject>,
568
+ extendedAgentCard?: boolean,
569
+ }
570
+
571
+ export enum StreamingCase {
572
+ _STREAMING_NOT_SET = 0,
573
+ STREAMING = 1,
574
+ }
575
+
576
+ export enum PushNotificationsCase {
577
+ _PUSH_NOTIFICATIONS_NOT_SET = 0,
578
+ PUSH_NOTIFICATIONS = 2,
579
+ }
580
+
581
+ export enum ExtendedAgentCardCase {
582
+ _EXTENDED_AGENT_CARD_NOT_SET = 0,
583
+ EXTENDED_AGENT_CARD = 4,
584
+ }
585
+ }
586
+
587
+ export class AgentExtension extends jspb.Message {
588
+ getUri(): string;
589
+ setUri(value: string): AgentExtension;
590
+
591
+ getDescription(): string;
592
+ setDescription(value: string): AgentExtension;
593
+
594
+ getRequired(): boolean;
595
+ setRequired(value: boolean): AgentExtension;
596
+
597
+ getParams(): google_protobuf_struct_pb.Struct | undefined;
598
+ setParams(value?: google_protobuf_struct_pb.Struct): AgentExtension;
599
+ hasParams(): boolean;
600
+ clearParams(): AgentExtension;
601
+
602
+ serializeBinary(): Uint8Array;
603
+ toObject(includeInstance?: boolean): AgentExtension.AsObject;
604
+ static toObject(includeInstance: boolean, msg: AgentExtension): AgentExtension.AsObject;
605
+ static serializeBinaryToWriter(message: AgentExtension, writer: jspb.BinaryWriter): void;
606
+ static deserializeBinary(bytes: Uint8Array): AgentExtension;
607
+ static deserializeBinaryFromReader(message: AgentExtension, reader: jspb.BinaryReader): AgentExtension;
608
+ }
609
+
610
+ export namespace AgentExtension {
611
+ export type AsObject = {
612
+ uri: string,
613
+ description: string,
614
+ required: boolean,
615
+ params?: google_protobuf_struct_pb.Struct.AsObject,
616
+ }
617
+ }
618
+
619
+ export class AgentSkill extends jspb.Message {
620
+ getId(): string;
621
+ setId(value: string): AgentSkill;
622
+
623
+ getName(): string;
624
+ setName(value: string): AgentSkill;
625
+
626
+ getDescription(): string;
627
+ setDescription(value: string): AgentSkill;
628
+
629
+ getTagsList(): Array<string>;
630
+ setTagsList(value: Array<string>): AgentSkill;
631
+ clearTagsList(): AgentSkill;
632
+ addTags(value: string, index?: number): AgentSkill;
633
+
634
+ getExamplesList(): Array<string>;
635
+ setExamplesList(value: Array<string>): AgentSkill;
636
+ clearExamplesList(): AgentSkill;
637
+ addExamples(value: string, index?: number): AgentSkill;
638
+
639
+ getInputModesList(): Array<string>;
640
+ setInputModesList(value: Array<string>): AgentSkill;
641
+ clearInputModesList(): AgentSkill;
642
+ addInputModes(value: string, index?: number): AgentSkill;
643
+
644
+ getOutputModesList(): Array<string>;
645
+ setOutputModesList(value: Array<string>): AgentSkill;
646
+ clearOutputModesList(): AgentSkill;
647
+ addOutputModes(value: string, index?: number): AgentSkill;
648
+
649
+ getSecurityRequirementsList(): Array<SecurityRequirement>;
650
+ setSecurityRequirementsList(value: Array<SecurityRequirement>): AgentSkill;
651
+ clearSecurityRequirementsList(): AgentSkill;
652
+ addSecurityRequirements(value?: SecurityRequirement, index?: number): SecurityRequirement;
653
+
654
+ serializeBinary(): Uint8Array;
655
+ toObject(includeInstance?: boolean): AgentSkill.AsObject;
656
+ static toObject(includeInstance: boolean, msg: AgentSkill): AgentSkill.AsObject;
657
+ static serializeBinaryToWriter(message: AgentSkill, writer: jspb.BinaryWriter): void;
658
+ static deserializeBinary(bytes: Uint8Array): AgentSkill;
659
+ static deserializeBinaryFromReader(message: AgentSkill, reader: jspb.BinaryReader): AgentSkill;
660
+ }
661
+
662
+ export namespace AgentSkill {
663
+ export type AsObject = {
664
+ id: string,
665
+ name: string,
666
+ description: string,
667
+ tagsList: Array<string>,
668
+ examplesList: Array<string>,
669
+ inputModesList: Array<string>,
670
+ outputModesList: Array<string>,
671
+ securityRequirementsList: Array<SecurityRequirement.AsObject>,
672
+ }
673
+ }
674
+
675
+ export class AgentCardSignature extends jspb.Message {
676
+ getProtected(): string;
677
+ setProtected(value: string): AgentCardSignature;
678
+
679
+ getSignature(): string;
680
+ setSignature(value: string): AgentCardSignature;
681
+
682
+ getHeader(): google_protobuf_struct_pb.Struct | undefined;
683
+ setHeader(value?: google_protobuf_struct_pb.Struct): AgentCardSignature;
684
+ hasHeader(): boolean;
685
+ clearHeader(): AgentCardSignature;
686
+
687
+ serializeBinary(): Uint8Array;
688
+ toObject(includeInstance?: boolean): AgentCardSignature.AsObject;
689
+ static toObject(includeInstance: boolean, msg: AgentCardSignature): AgentCardSignature.AsObject;
690
+ static serializeBinaryToWriter(message: AgentCardSignature, writer: jspb.BinaryWriter): void;
691
+ static deserializeBinary(bytes: Uint8Array): AgentCardSignature;
692
+ static deserializeBinaryFromReader(message: AgentCardSignature, reader: jspb.BinaryReader): AgentCardSignature;
693
+ }
694
+
695
+ export namespace AgentCardSignature {
696
+ export type AsObject = {
697
+ pb_protected: string,
698
+ signature: string,
699
+ header?: google_protobuf_struct_pb.Struct.AsObject,
700
+ }
701
+ }
702
+
703
+ export class TaskPushNotificationConfig extends jspb.Message {
704
+ getTenant(): string;
705
+ setTenant(value: string): TaskPushNotificationConfig;
706
+
707
+ getId(): string;
708
+ setId(value: string): TaskPushNotificationConfig;
709
+
710
+ getTaskId(): string;
711
+ setTaskId(value: string): TaskPushNotificationConfig;
712
+
713
+ getUrl(): string;
714
+ setUrl(value: string): TaskPushNotificationConfig;
715
+
716
+ getToken(): string;
717
+ setToken(value: string): TaskPushNotificationConfig;
718
+
719
+ getAuthentication(): AuthenticationInfo | undefined;
720
+ setAuthentication(value?: AuthenticationInfo): TaskPushNotificationConfig;
721
+ hasAuthentication(): boolean;
722
+ clearAuthentication(): TaskPushNotificationConfig;
723
+
724
+ serializeBinary(): Uint8Array;
725
+ toObject(includeInstance?: boolean): TaskPushNotificationConfig.AsObject;
726
+ static toObject(includeInstance: boolean, msg: TaskPushNotificationConfig): TaskPushNotificationConfig.AsObject;
727
+ static serializeBinaryToWriter(message: TaskPushNotificationConfig, writer: jspb.BinaryWriter): void;
728
+ static deserializeBinary(bytes: Uint8Array): TaskPushNotificationConfig;
729
+ static deserializeBinaryFromReader(message: TaskPushNotificationConfig, reader: jspb.BinaryReader): TaskPushNotificationConfig;
730
+ }
731
+
732
+ export namespace TaskPushNotificationConfig {
733
+ export type AsObject = {
734
+ tenant: string,
735
+ id: string,
736
+ taskId: string,
737
+ url: string,
738
+ token: string,
739
+ authentication?: AuthenticationInfo.AsObject,
740
+ }
741
+ }
742
+
743
+ export class StringList extends jspb.Message {
744
+ getListList(): Array<string>;
745
+ setListList(value: Array<string>): StringList;
746
+ clearListList(): StringList;
747
+ addList(value: string, index?: number): StringList;
748
+
749
+ serializeBinary(): Uint8Array;
750
+ toObject(includeInstance?: boolean): StringList.AsObject;
751
+ static toObject(includeInstance: boolean, msg: StringList): StringList.AsObject;
752
+ static serializeBinaryToWriter(message: StringList, writer: jspb.BinaryWriter): void;
753
+ static deserializeBinary(bytes: Uint8Array): StringList;
754
+ static deserializeBinaryFromReader(message: StringList, reader: jspb.BinaryReader): StringList;
755
+ }
756
+
757
+ export namespace StringList {
758
+ export type AsObject = {
759
+ listList: Array<string>,
760
+ }
761
+ }
762
+
763
+ export class SecurityRequirement extends jspb.Message {
764
+ getSchemesMap(): jspb.Map<string, StringList>;
765
+ clearSchemesMap(): SecurityRequirement;
766
+
767
+ serializeBinary(): Uint8Array;
768
+ toObject(includeInstance?: boolean): SecurityRequirement.AsObject;
769
+ static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject;
770
+ static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void;
771
+ static deserializeBinary(bytes: Uint8Array): SecurityRequirement;
772
+ static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement;
773
+ }
774
+
775
+ export namespace SecurityRequirement {
776
+ export type AsObject = {
777
+ schemesMap: Array<[string, StringList.AsObject]>,
778
+ }
779
+ }
780
+
781
+ export class SecurityScheme extends jspb.Message {
782
+ getApiKeySecurityScheme(): APIKeySecurityScheme | undefined;
783
+ setApiKeySecurityScheme(value?: APIKeySecurityScheme): SecurityScheme;
784
+ hasApiKeySecurityScheme(): boolean;
785
+ clearApiKeySecurityScheme(): SecurityScheme;
786
+
787
+ getHttpAuthSecurityScheme(): HTTPAuthSecurityScheme | undefined;
788
+ setHttpAuthSecurityScheme(value?: HTTPAuthSecurityScheme): SecurityScheme;
789
+ hasHttpAuthSecurityScheme(): boolean;
790
+ clearHttpAuthSecurityScheme(): SecurityScheme;
791
+
792
+ getOauth2SecurityScheme(): OAuth2SecurityScheme | undefined;
793
+ setOauth2SecurityScheme(value?: OAuth2SecurityScheme): SecurityScheme;
794
+ hasOauth2SecurityScheme(): boolean;
795
+ clearOauth2SecurityScheme(): SecurityScheme;
796
+
797
+ getOpenIdConnectSecurityScheme(): OpenIdConnectSecurityScheme | undefined;
798
+ setOpenIdConnectSecurityScheme(value?: OpenIdConnectSecurityScheme): SecurityScheme;
799
+ hasOpenIdConnectSecurityScheme(): boolean;
800
+ clearOpenIdConnectSecurityScheme(): SecurityScheme;
801
+
802
+ getMtlsSecurityScheme(): MutualTlsSecurityScheme | undefined;
803
+ setMtlsSecurityScheme(value?: MutualTlsSecurityScheme): SecurityScheme;
804
+ hasMtlsSecurityScheme(): boolean;
805
+ clearMtlsSecurityScheme(): SecurityScheme;
806
+
807
+ getSchemeCase(): SecurityScheme.SchemeCase;
808
+
809
+ serializeBinary(): Uint8Array;
810
+ toObject(includeInstance?: boolean): SecurityScheme.AsObject;
811
+ static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject;
812
+ static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void;
813
+ static deserializeBinary(bytes: Uint8Array): SecurityScheme;
814
+ static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme;
815
+ }
816
+
817
+ export namespace SecurityScheme {
818
+ export type AsObject = {
819
+ apiKeySecurityScheme?: APIKeySecurityScheme.AsObject,
820
+ httpAuthSecurityScheme?: HTTPAuthSecurityScheme.AsObject,
821
+ oauth2SecurityScheme?: OAuth2SecurityScheme.AsObject,
822
+ openIdConnectSecurityScheme?: OpenIdConnectSecurityScheme.AsObject,
823
+ mtlsSecurityScheme?: MutualTlsSecurityScheme.AsObject,
824
+ }
825
+
826
+ export enum SchemeCase {
827
+ SCHEME_NOT_SET = 0,
828
+ API_KEY_SECURITY_SCHEME = 1,
829
+ HTTP_AUTH_SECURITY_SCHEME = 2,
830
+ OAUTH2_SECURITY_SCHEME = 3,
831
+ OPEN_ID_CONNECT_SECURITY_SCHEME = 4,
832
+ MTLS_SECURITY_SCHEME = 5,
833
+ }
834
+ }
835
+
836
+ export class APIKeySecurityScheme extends jspb.Message {
837
+ getDescription(): string;
838
+ setDescription(value: string): APIKeySecurityScheme;
839
+
840
+ getLocation(): string;
841
+ setLocation(value: string): APIKeySecurityScheme;
842
+
843
+ getName(): string;
844
+ setName(value: string): APIKeySecurityScheme;
845
+
846
+ serializeBinary(): Uint8Array;
847
+ toObject(includeInstance?: boolean): APIKeySecurityScheme.AsObject;
848
+ static toObject(includeInstance: boolean, msg: APIKeySecurityScheme): APIKeySecurityScheme.AsObject;
849
+ static serializeBinaryToWriter(message: APIKeySecurityScheme, writer: jspb.BinaryWriter): void;
850
+ static deserializeBinary(bytes: Uint8Array): APIKeySecurityScheme;
851
+ static deserializeBinaryFromReader(message: APIKeySecurityScheme, reader: jspb.BinaryReader): APIKeySecurityScheme;
852
+ }
853
+
854
+ export namespace APIKeySecurityScheme {
855
+ export type AsObject = {
856
+ description: string,
857
+ location: string,
858
+ name: string,
859
+ }
860
+ }
861
+
862
+ export class HTTPAuthSecurityScheme extends jspb.Message {
863
+ getDescription(): string;
864
+ setDescription(value: string): HTTPAuthSecurityScheme;
865
+
866
+ getScheme(): string;
867
+ setScheme(value: string): HTTPAuthSecurityScheme;
868
+
869
+ getBearerFormat(): string;
870
+ setBearerFormat(value: string): HTTPAuthSecurityScheme;
871
+
872
+ serializeBinary(): Uint8Array;
873
+ toObject(includeInstance?: boolean): HTTPAuthSecurityScheme.AsObject;
874
+ static toObject(includeInstance: boolean, msg: HTTPAuthSecurityScheme): HTTPAuthSecurityScheme.AsObject;
875
+ static serializeBinaryToWriter(message: HTTPAuthSecurityScheme, writer: jspb.BinaryWriter): void;
876
+ static deserializeBinary(bytes: Uint8Array): HTTPAuthSecurityScheme;
877
+ static deserializeBinaryFromReader(message: HTTPAuthSecurityScheme, reader: jspb.BinaryReader): HTTPAuthSecurityScheme;
878
+ }
879
+
880
+ export namespace HTTPAuthSecurityScheme {
881
+ export type AsObject = {
882
+ description: string,
883
+ scheme: string,
884
+ bearerFormat: string,
885
+ }
886
+ }
887
+
888
+ export class OAuth2SecurityScheme extends jspb.Message {
889
+ getDescription(): string;
890
+ setDescription(value: string): OAuth2SecurityScheme;
891
+
892
+ getFlows(): OAuthFlows | undefined;
893
+ setFlows(value?: OAuthFlows): OAuth2SecurityScheme;
894
+ hasFlows(): boolean;
895
+ clearFlows(): OAuth2SecurityScheme;
896
+
897
+ getOauth2MetadataUrl(): string;
898
+ setOauth2MetadataUrl(value: string): OAuth2SecurityScheme;
899
+
900
+ serializeBinary(): Uint8Array;
901
+ toObject(includeInstance?: boolean): OAuth2SecurityScheme.AsObject;
902
+ static toObject(includeInstance: boolean, msg: OAuth2SecurityScheme): OAuth2SecurityScheme.AsObject;
903
+ static serializeBinaryToWriter(message: OAuth2SecurityScheme, writer: jspb.BinaryWriter): void;
904
+ static deserializeBinary(bytes: Uint8Array): OAuth2SecurityScheme;
905
+ static deserializeBinaryFromReader(message: OAuth2SecurityScheme, reader: jspb.BinaryReader): OAuth2SecurityScheme;
906
+ }
907
+
908
+ export namespace OAuth2SecurityScheme {
909
+ export type AsObject = {
910
+ description: string,
911
+ flows?: OAuthFlows.AsObject,
912
+ oauth2MetadataUrl: string,
913
+ }
914
+ }
915
+
916
+ export class OpenIdConnectSecurityScheme extends jspb.Message {
917
+ getDescription(): string;
918
+ setDescription(value: string): OpenIdConnectSecurityScheme;
919
+
920
+ getOpenIdConnectUrl(): string;
921
+ setOpenIdConnectUrl(value: string): OpenIdConnectSecurityScheme;
922
+
923
+ serializeBinary(): Uint8Array;
924
+ toObject(includeInstance?: boolean): OpenIdConnectSecurityScheme.AsObject;
925
+ static toObject(includeInstance: boolean, msg: OpenIdConnectSecurityScheme): OpenIdConnectSecurityScheme.AsObject;
926
+ static serializeBinaryToWriter(message: OpenIdConnectSecurityScheme, writer: jspb.BinaryWriter): void;
927
+ static deserializeBinary(bytes: Uint8Array): OpenIdConnectSecurityScheme;
928
+ static deserializeBinaryFromReader(message: OpenIdConnectSecurityScheme, reader: jspb.BinaryReader): OpenIdConnectSecurityScheme;
929
+ }
930
+
931
+ export namespace OpenIdConnectSecurityScheme {
932
+ export type AsObject = {
933
+ description: string,
934
+ openIdConnectUrl: string,
935
+ }
936
+ }
937
+
938
+ export class MutualTlsSecurityScheme extends jspb.Message {
939
+ getDescription(): string;
940
+ setDescription(value: string): MutualTlsSecurityScheme;
941
+
942
+ serializeBinary(): Uint8Array;
943
+ toObject(includeInstance?: boolean): MutualTlsSecurityScheme.AsObject;
944
+ static toObject(includeInstance: boolean, msg: MutualTlsSecurityScheme): MutualTlsSecurityScheme.AsObject;
945
+ static serializeBinaryToWriter(message: MutualTlsSecurityScheme, writer: jspb.BinaryWriter): void;
946
+ static deserializeBinary(bytes: Uint8Array): MutualTlsSecurityScheme;
947
+ static deserializeBinaryFromReader(message: MutualTlsSecurityScheme, reader: jspb.BinaryReader): MutualTlsSecurityScheme;
948
+ }
949
+
950
+ export namespace MutualTlsSecurityScheme {
951
+ export type AsObject = {
952
+ description: string,
953
+ }
954
+ }
955
+
956
+ export class OAuthFlows extends jspb.Message {
957
+ getAuthorizationCode(): AuthorizationCodeOAuthFlow | undefined;
958
+ setAuthorizationCode(value?: AuthorizationCodeOAuthFlow): OAuthFlows;
959
+ hasAuthorizationCode(): boolean;
960
+ clearAuthorizationCode(): OAuthFlows;
961
+
962
+ getClientCredentials(): ClientCredentialsOAuthFlow | undefined;
963
+ setClientCredentials(value?: ClientCredentialsOAuthFlow): OAuthFlows;
964
+ hasClientCredentials(): boolean;
965
+ clearClientCredentials(): OAuthFlows;
966
+
967
+ getImplicit(): ImplicitOAuthFlow | undefined;
968
+ setImplicit(value?: ImplicitOAuthFlow): OAuthFlows;
969
+ hasImplicit(): boolean;
970
+ clearImplicit(): OAuthFlows;
971
+
972
+ getPassword(): PasswordOAuthFlow | undefined;
973
+ setPassword(value?: PasswordOAuthFlow): OAuthFlows;
974
+ hasPassword(): boolean;
975
+ clearPassword(): OAuthFlows;
976
+
977
+ getDeviceCode(): DeviceCodeOAuthFlow | undefined;
978
+ setDeviceCode(value?: DeviceCodeOAuthFlow): OAuthFlows;
979
+ hasDeviceCode(): boolean;
980
+ clearDeviceCode(): OAuthFlows;
981
+
982
+ getFlowCase(): OAuthFlows.FlowCase;
983
+
984
+ serializeBinary(): Uint8Array;
985
+ toObject(includeInstance?: boolean): OAuthFlows.AsObject;
986
+ static toObject(includeInstance: boolean, msg: OAuthFlows): OAuthFlows.AsObject;
987
+ static serializeBinaryToWriter(message: OAuthFlows, writer: jspb.BinaryWriter): void;
988
+ static deserializeBinary(bytes: Uint8Array): OAuthFlows;
989
+ static deserializeBinaryFromReader(message: OAuthFlows, reader: jspb.BinaryReader): OAuthFlows;
990
+ }
991
+
992
+ export namespace OAuthFlows {
993
+ export type AsObject = {
994
+ authorizationCode?: AuthorizationCodeOAuthFlow.AsObject,
995
+ clientCredentials?: ClientCredentialsOAuthFlow.AsObject,
996
+ implicit?: ImplicitOAuthFlow.AsObject,
997
+ password?: PasswordOAuthFlow.AsObject,
998
+ deviceCode?: DeviceCodeOAuthFlow.AsObject,
999
+ }
1000
+
1001
+ export enum FlowCase {
1002
+ FLOW_NOT_SET = 0,
1003
+ AUTHORIZATION_CODE = 1,
1004
+ CLIENT_CREDENTIALS = 2,
1005
+ IMPLICIT = 3,
1006
+ PASSWORD = 4,
1007
+ DEVICE_CODE = 5,
1008
+ }
1009
+ }
1010
+
1011
+ export class AuthorizationCodeOAuthFlow extends jspb.Message {
1012
+ getAuthorizationUrl(): string;
1013
+ setAuthorizationUrl(value: string): AuthorizationCodeOAuthFlow;
1014
+
1015
+ getTokenUrl(): string;
1016
+ setTokenUrl(value: string): AuthorizationCodeOAuthFlow;
1017
+
1018
+ getRefreshUrl(): string;
1019
+ setRefreshUrl(value: string): AuthorizationCodeOAuthFlow;
1020
+
1021
+ getScopesMap(): jspb.Map<string, string>;
1022
+ clearScopesMap(): AuthorizationCodeOAuthFlow;
1023
+
1024
+ getPkceRequired(): boolean;
1025
+ setPkceRequired(value: boolean): AuthorizationCodeOAuthFlow;
1026
+
1027
+ serializeBinary(): Uint8Array;
1028
+ toObject(includeInstance?: boolean): AuthorizationCodeOAuthFlow.AsObject;
1029
+ static toObject(includeInstance: boolean, msg: AuthorizationCodeOAuthFlow): AuthorizationCodeOAuthFlow.AsObject;
1030
+ static serializeBinaryToWriter(message: AuthorizationCodeOAuthFlow, writer: jspb.BinaryWriter): void;
1031
+ static deserializeBinary(bytes: Uint8Array): AuthorizationCodeOAuthFlow;
1032
+ static deserializeBinaryFromReader(message: AuthorizationCodeOAuthFlow, reader: jspb.BinaryReader): AuthorizationCodeOAuthFlow;
1033
+ }
1034
+
1035
+ export namespace AuthorizationCodeOAuthFlow {
1036
+ export type AsObject = {
1037
+ authorizationUrl: string,
1038
+ tokenUrl: string,
1039
+ refreshUrl: string,
1040
+ scopesMap: Array<[string, string]>,
1041
+ pkceRequired: boolean,
1042
+ }
1043
+ }
1044
+
1045
+ export class ClientCredentialsOAuthFlow extends jspb.Message {
1046
+ getTokenUrl(): string;
1047
+ setTokenUrl(value: string): ClientCredentialsOAuthFlow;
1048
+
1049
+ getRefreshUrl(): string;
1050
+ setRefreshUrl(value: string): ClientCredentialsOAuthFlow;
1051
+
1052
+ getScopesMap(): jspb.Map<string, string>;
1053
+ clearScopesMap(): ClientCredentialsOAuthFlow;
1054
+
1055
+ serializeBinary(): Uint8Array;
1056
+ toObject(includeInstance?: boolean): ClientCredentialsOAuthFlow.AsObject;
1057
+ static toObject(includeInstance: boolean, msg: ClientCredentialsOAuthFlow): ClientCredentialsOAuthFlow.AsObject;
1058
+ static serializeBinaryToWriter(message: ClientCredentialsOAuthFlow, writer: jspb.BinaryWriter): void;
1059
+ static deserializeBinary(bytes: Uint8Array): ClientCredentialsOAuthFlow;
1060
+ static deserializeBinaryFromReader(message: ClientCredentialsOAuthFlow, reader: jspb.BinaryReader): ClientCredentialsOAuthFlow;
1061
+ }
1062
+
1063
+ export namespace ClientCredentialsOAuthFlow {
1064
+ export type AsObject = {
1065
+ tokenUrl: string,
1066
+ refreshUrl: string,
1067
+ scopesMap: Array<[string, string]>,
1068
+ }
1069
+ }
1070
+
1071
+ export class ImplicitOAuthFlow extends jspb.Message {
1072
+ getAuthorizationUrl(): string;
1073
+ setAuthorizationUrl(value: string): ImplicitOAuthFlow;
1074
+
1075
+ getRefreshUrl(): string;
1076
+ setRefreshUrl(value: string): ImplicitOAuthFlow;
1077
+
1078
+ getScopesMap(): jspb.Map<string, string>;
1079
+ clearScopesMap(): ImplicitOAuthFlow;
1080
+
1081
+ serializeBinary(): Uint8Array;
1082
+ toObject(includeInstance?: boolean): ImplicitOAuthFlow.AsObject;
1083
+ static toObject(includeInstance: boolean, msg: ImplicitOAuthFlow): ImplicitOAuthFlow.AsObject;
1084
+ static serializeBinaryToWriter(message: ImplicitOAuthFlow, writer: jspb.BinaryWriter): void;
1085
+ static deserializeBinary(bytes: Uint8Array): ImplicitOAuthFlow;
1086
+ static deserializeBinaryFromReader(message: ImplicitOAuthFlow, reader: jspb.BinaryReader): ImplicitOAuthFlow;
1087
+ }
1088
+
1089
+ export namespace ImplicitOAuthFlow {
1090
+ export type AsObject = {
1091
+ authorizationUrl: string,
1092
+ refreshUrl: string,
1093
+ scopesMap: Array<[string, string]>,
1094
+ }
1095
+ }
1096
+
1097
+ export class PasswordOAuthFlow extends jspb.Message {
1098
+ getTokenUrl(): string;
1099
+ setTokenUrl(value: string): PasswordOAuthFlow;
1100
+
1101
+ getRefreshUrl(): string;
1102
+ setRefreshUrl(value: string): PasswordOAuthFlow;
1103
+
1104
+ getScopesMap(): jspb.Map<string, string>;
1105
+ clearScopesMap(): PasswordOAuthFlow;
1106
+
1107
+ serializeBinary(): Uint8Array;
1108
+ toObject(includeInstance?: boolean): PasswordOAuthFlow.AsObject;
1109
+ static toObject(includeInstance: boolean, msg: PasswordOAuthFlow): PasswordOAuthFlow.AsObject;
1110
+ static serializeBinaryToWriter(message: PasswordOAuthFlow, writer: jspb.BinaryWriter): void;
1111
+ static deserializeBinary(bytes: Uint8Array): PasswordOAuthFlow;
1112
+ static deserializeBinaryFromReader(message: PasswordOAuthFlow, reader: jspb.BinaryReader): PasswordOAuthFlow;
1113
+ }
1114
+
1115
+ export namespace PasswordOAuthFlow {
1116
+ export type AsObject = {
1117
+ tokenUrl: string,
1118
+ refreshUrl: string,
1119
+ scopesMap: Array<[string, string]>,
1120
+ }
1121
+ }
1122
+
1123
+ export class DeviceCodeOAuthFlow extends jspb.Message {
1124
+ getDeviceAuthorizationUrl(): string;
1125
+ setDeviceAuthorizationUrl(value: string): DeviceCodeOAuthFlow;
1126
+
1127
+ getTokenUrl(): string;
1128
+ setTokenUrl(value: string): DeviceCodeOAuthFlow;
1129
+
1130
+ getRefreshUrl(): string;
1131
+ setRefreshUrl(value: string): DeviceCodeOAuthFlow;
1132
+
1133
+ getScopesMap(): jspb.Map<string, string>;
1134
+ clearScopesMap(): DeviceCodeOAuthFlow;
1135
+
1136
+ serializeBinary(): Uint8Array;
1137
+ toObject(includeInstance?: boolean): DeviceCodeOAuthFlow.AsObject;
1138
+ static toObject(includeInstance: boolean, msg: DeviceCodeOAuthFlow): DeviceCodeOAuthFlow.AsObject;
1139
+ static serializeBinaryToWriter(message: DeviceCodeOAuthFlow, writer: jspb.BinaryWriter): void;
1140
+ static deserializeBinary(bytes: Uint8Array): DeviceCodeOAuthFlow;
1141
+ static deserializeBinaryFromReader(message: DeviceCodeOAuthFlow, reader: jspb.BinaryReader): DeviceCodeOAuthFlow;
1142
+ }
1143
+
1144
+ export namespace DeviceCodeOAuthFlow {
1145
+ export type AsObject = {
1146
+ deviceAuthorizationUrl: string,
1147
+ tokenUrl: string,
1148
+ refreshUrl: string,
1149
+ scopesMap: Array<[string, string]>,
1150
+ }
1151
+ }
1152
+
1153
+ export class SendMessageRequest extends jspb.Message {
1154
+ getTenant(): string;
1155
+ setTenant(value: string): SendMessageRequest;
1156
+
1157
+ getMessage(): Message | undefined;
1158
+ setMessage(value?: Message): SendMessageRequest;
1159
+ hasMessage(): boolean;
1160
+ clearMessage(): SendMessageRequest;
1161
+
1162
+ getConfiguration(): SendMessageConfiguration | undefined;
1163
+ setConfiguration(value?: SendMessageConfiguration): SendMessageRequest;
1164
+ hasConfiguration(): boolean;
1165
+ clearConfiguration(): SendMessageRequest;
1166
+
1167
+ getMetadata(): google_protobuf_struct_pb.Struct | undefined;
1168
+ setMetadata(value?: google_protobuf_struct_pb.Struct): SendMessageRequest;
1169
+ hasMetadata(): boolean;
1170
+ clearMetadata(): SendMessageRequest;
1171
+
1172
+ serializeBinary(): Uint8Array;
1173
+ toObject(includeInstance?: boolean): SendMessageRequest.AsObject;
1174
+ static toObject(includeInstance: boolean, msg: SendMessageRequest): SendMessageRequest.AsObject;
1175
+ static serializeBinaryToWriter(message: SendMessageRequest, writer: jspb.BinaryWriter): void;
1176
+ static deserializeBinary(bytes: Uint8Array): SendMessageRequest;
1177
+ static deserializeBinaryFromReader(message: SendMessageRequest, reader: jspb.BinaryReader): SendMessageRequest;
1178
+ }
1179
+
1180
+ export namespace SendMessageRequest {
1181
+ export type AsObject = {
1182
+ tenant: string,
1183
+ message?: Message.AsObject,
1184
+ configuration?: SendMessageConfiguration.AsObject,
1185
+ metadata?: google_protobuf_struct_pb.Struct.AsObject,
1186
+ }
1187
+ }
1188
+
1189
+ export class GetTaskRequest extends jspb.Message {
1190
+ getTenant(): string;
1191
+ setTenant(value: string): GetTaskRequest;
1192
+
1193
+ getId(): string;
1194
+ setId(value: string): GetTaskRequest;
1195
+
1196
+ getHistoryLength(): number;
1197
+ setHistoryLength(value: number): GetTaskRequest;
1198
+ hasHistoryLength(): boolean;
1199
+ clearHistoryLength(): GetTaskRequest;
1200
+
1201
+ serializeBinary(): Uint8Array;
1202
+ toObject(includeInstance?: boolean): GetTaskRequest.AsObject;
1203
+ static toObject(includeInstance: boolean, msg: GetTaskRequest): GetTaskRequest.AsObject;
1204
+ static serializeBinaryToWriter(message: GetTaskRequest, writer: jspb.BinaryWriter): void;
1205
+ static deserializeBinary(bytes: Uint8Array): GetTaskRequest;
1206
+ static deserializeBinaryFromReader(message: GetTaskRequest, reader: jspb.BinaryReader): GetTaskRequest;
1207
+ }
1208
+
1209
+ export namespace GetTaskRequest {
1210
+ export type AsObject = {
1211
+ tenant: string,
1212
+ id: string,
1213
+ historyLength?: number,
1214
+ }
1215
+
1216
+ export enum HistoryLengthCase {
1217
+ _HISTORY_LENGTH_NOT_SET = 0,
1218
+ HISTORY_LENGTH = 3,
1219
+ }
1220
+ }
1221
+
1222
+ export class ListTasksRequest extends jspb.Message {
1223
+ getTenant(): string;
1224
+ setTenant(value: string): ListTasksRequest;
1225
+
1226
+ getContextId(): string;
1227
+ setContextId(value: string): ListTasksRequest;
1228
+
1229
+ getStatus(): TaskState;
1230
+ setStatus(value: TaskState): ListTasksRequest;
1231
+
1232
+ getPageSize(): number;
1233
+ setPageSize(value: number): ListTasksRequest;
1234
+ hasPageSize(): boolean;
1235
+ clearPageSize(): ListTasksRequest;
1236
+
1237
+ getPageToken(): string;
1238
+ setPageToken(value: string): ListTasksRequest;
1239
+
1240
+ getHistoryLength(): number;
1241
+ setHistoryLength(value: number): ListTasksRequest;
1242
+ hasHistoryLength(): boolean;
1243
+ clearHistoryLength(): ListTasksRequest;
1244
+
1245
+ getStatusTimestampAfter(): google_protobuf_timestamp_pb.Timestamp | undefined;
1246
+ setStatusTimestampAfter(value?: google_protobuf_timestamp_pb.Timestamp): ListTasksRequest;
1247
+ hasStatusTimestampAfter(): boolean;
1248
+ clearStatusTimestampAfter(): ListTasksRequest;
1249
+
1250
+ getIncludeArtifacts(): boolean;
1251
+ setIncludeArtifacts(value: boolean): ListTasksRequest;
1252
+ hasIncludeArtifacts(): boolean;
1253
+ clearIncludeArtifacts(): ListTasksRequest;
1254
+
1255
+ serializeBinary(): Uint8Array;
1256
+ toObject(includeInstance?: boolean): ListTasksRequest.AsObject;
1257
+ static toObject(includeInstance: boolean, msg: ListTasksRequest): ListTasksRequest.AsObject;
1258
+ static serializeBinaryToWriter(message: ListTasksRequest, writer: jspb.BinaryWriter): void;
1259
+ static deserializeBinary(bytes: Uint8Array): ListTasksRequest;
1260
+ static deserializeBinaryFromReader(message: ListTasksRequest, reader: jspb.BinaryReader): ListTasksRequest;
1261
+ }
1262
+
1263
+ export namespace ListTasksRequest {
1264
+ export type AsObject = {
1265
+ tenant: string,
1266
+ contextId: string,
1267
+ status: TaskState,
1268
+ pageSize?: number,
1269
+ pageToken: string,
1270
+ historyLength?: number,
1271
+ statusTimestampAfter?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1272
+ includeArtifacts?: boolean,
1273
+ }
1274
+
1275
+ export enum PageSizeCase {
1276
+ _PAGE_SIZE_NOT_SET = 0,
1277
+ PAGE_SIZE = 4,
1278
+ }
1279
+
1280
+ export enum HistoryLengthCase {
1281
+ _HISTORY_LENGTH_NOT_SET = 0,
1282
+ HISTORY_LENGTH = 6,
1283
+ }
1284
+
1285
+ export enum IncludeArtifactsCase {
1286
+ _INCLUDE_ARTIFACTS_NOT_SET = 0,
1287
+ INCLUDE_ARTIFACTS = 8,
1288
+ }
1289
+ }
1290
+
1291
+ export class ListTasksResponse extends jspb.Message {
1292
+ getTasksList(): Array<Task>;
1293
+ setTasksList(value: Array<Task>): ListTasksResponse;
1294
+ clearTasksList(): ListTasksResponse;
1295
+ addTasks(value?: Task, index?: number): Task;
1296
+
1297
+ getNextPageToken(): string;
1298
+ setNextPageToken(value: string): ListTasksResponse;
1299
+
1300
+ getPageSize(): number;
1301
+ setPageSize(value: number): ListTasksResponse;
1302
+
1303
+ getTotalSize(): number;
1304
+ setTotalSize(value: number): ListTasksResponse;
1305
+
1306
+ serializeBinary(): Uint8Array;
1307
+ toObject(includeInstance?: boolean): ListTasksResponse.AsObject;
1308
+ static toObject(includeInstance: boolean, msg: ListTasksResponse): ListTasksResponse.AsObject;
1309
+ static serializeBinaryToWriter(message: ListTasksResponse, writer: jspb.BinaryWriter): void;
1310
+ static deserializeBinary(bytes: Uint8Array): ListTasksResponse;
1311
+ static deserializeBinaryFromReader(message: ListTasksResponse, reader: jspb.BinaryReader): ListTasksResponse;
1312
+ }
1313
+
1314
+ export namespace ListTasksResponse {
1315
+ export type AsObject = {
1316
+ tasksList: Array<Task.AsObject>,
1317
+ nextPageToken: string,
1318
+ pageSize: number,
1319
+ totalSize: number,
1320
+ }
1321
+ }
1322
+
1323
+ export class CancelTaskRequest extends jspb.Message {
1324
+ getTenant(): string;
1325
+ setTenant(value: string): CancelTaskRequest;
1326
+
1327
+ getId(): string;
1328
+ setId(value: string): CancelTaskRequest;
1329
+
1330
+ getMetadata(): google_protobuf_struct_pb.Struct | undefined;
1331
+ setMetadata(value?: google_protobuf_struct_pb.Struct): CancelTaskRequest;
1332
+ hasMetadata(): boolean;
1333
+ clearMetadata(): CancelTaskRequest;
1334
+
1335
+ serializeBinary(): Uint8Array;
1336
+ toObject(includeInstance?: boolean): CancelTaskRequest.AsObject;
1337
+ static toObject(includeInstance: boolean, msg: CancelTaskRequest): CancelTaskRequest.AsObject;
1338
+ static serializeBinaryToWriter(message: CancelTaskRequest, writer: jspb.BinaryWriter): void;
1339
+ static deserializeBinary(bytes: Uint8Array): CancelTaskRequest;
1340
+ static deserializeBinaryFromReader(message: CancelTaskRequest, reader: jspb.BinaryReader): CancelTaskRequest;
1341
+ }
1342
+
1343
+ export namespace CancelTaskRequest {
1344
+ export type AsObject = {
1345
+ tenant: string,
1346
+ id: string,
1347
+ metadata?: google_protobuf_struct_pb.Struct.AsObject,
1348
+ }
1349
+ }
1350
+
1351
+ export class GetTaskPushNotificationConfigRequest extends jspb.Message {
1352
+ getTenant(): string;
1353
+ setTenant(value: string): GetTaskPushNotificationConfigRequest;
1354
+
1355
+ getTaskId(): string;
1356
+ setTaskId(value: string): GetTaskPushNotificationConfigRequest;
1357
+
1358
+ getId(): string;
1359
+ setId(value: string): GetTaskPushNotificationConfigRequest;
1360
+
1361
+ serializeBinary(): Uint8Array;
1362
+ toObject(includeInstance?: boolean): GetTaskPushNotificationConfigRequest.AsObject;
1363
+ static toObject(includeInstance: boolean, msg: GetTaskPushNotificationConfigRequest): GetTaskPushNotificationConfigRequest.AsObject;
1364
+ static serializeBinaryToWriter(message: GetTaskPushNotificationConfigRequest, writer: jspb.BinaryWriter): void;
1365
+ static deserializeBinary(bytes: Uint8Array): GetTaskPushNotificationConfigRequest;
1366
+ static deserializeBinaryFromReader(message: GetTaskPushNotificationConfigRequest, reader: jspb.BinaryReader): GetTaskPushNotificationConfigRequest;
1367
+ }
1368
+
1369
+ export namespace GetTaskPushNotificationConfigRequest {
1370
+ export type AsObject = {
1371
+ tenant: string,
1372
+ taskId: string,
1373
+ id: string,
1374
+ }
1375
+ }
1376
+
1377
+ export class DeleteTaskPushNotificationConfigRequest extends jspb.Message {
1378
+ getTenant(): string;
1379
+ setTenant(value: string): DeleteTaskPushNotificationConfigRequest;
1380
+
1381
+ getTaskId(): string;
1382
+ setTaskId(value: string): DeleteTaskPushNotificationConfigRequest;
1383
+
1384
+ getId(): string;
1385
+ setId(value: string): DeleteTaskPushNotificationConfigRequest;
1386
+
1387
+ serializeBinary(): Uint8Array;
1388
+ toObject(includeInstance?: boolean): DeleteTaskPushNotificationConfigRequest.AsObject;
1389
+ static toObject(includeInstance: boolean, msg: DeleteTaskPushNotificationConfigRequest): DeleteTaskPushNotificationConfigRequest.AsObject;
1390
+ static serializeBinaryToWriter(message: DeleteTaskPushNotificationConfigRequest, writer: jspb.BinaryWriter): void;
1391
+ static deserializeBinary(bytes: Uint8Array): DeleteTaskPushNotificationConfigRequest;
1392
+ static deserializeBinaryFromReader(message: DeleteTaskPushNotificationConfigRequest, reader: jspb.BinaryReader): DeleteTaskPushNotificationConfigRequest;
1393
+ }
1394
+
1395
+ export namespace DeleteTaskPushNotificationConfigRequest {
1396
+ export type AsObject = {
1397
+ tenant: string,
1398
+ taskId: string,
1399
+ id: string,
1400
+ }
1401
+ }
1402
+
1403
+ export class SubscribeToTaskRequest extends jspb.Message {
1404
+ getTenant(): string;
1405
+ setTenant(value: string): SubscribeToTaskRequest;
1406
+
1407
+ getId(): string;
1408
+ setId(value: string): SubscribeToTaskRequest;
1409
+
1410
+ serializeBinary(): Uint8Array;
1411
+ toObject(includeInstance?: boolean): SubscribeToTaskRequest.AsObject;
1412
+ static toObject(includeInstance: boolean, msg: SubscribeToTaskRequest): SubscribeToTaskRequest.AsObject;
1413
+ static serializeBinaryToWriter(message: SubscribeToTaskRequest, writer: jspb.BinaryWriter): void;
1414
+ static deserializeBinary(bytes: Uint8Array): SubscribeToTaskRequest;
1415
+ static deserializeBinaryFromReader(message: SubscribeToTaskRequest, reader: jspb.BinaryReader): SubscribeToTaskRequest;
1416
+ }
1417
+
1418
+ export namespace SubscribeToTaskRequest {
1419
+ export type AsObject = {
1420
+ tenant: string,
1421
+ id: string,
1422
+ }
1423
+ }
1424
+
1425
+ export class ListTaskPushNotificationConfigsRequest extends jspb.Message {
1426
+ getTenant(): string;
1427
+ setTenant(value: string): ListTaskPushNotificationConfigsRequest;
1428
+
1429
+ getTaskId(): string;
1430
+ setTaskId(value: string): ListTaskPushNotificationConfigsRequest;
1431
+
1432
+ getPageSize(): number;
1433
+ setPageSize(value: number): ListTaskPushNotificationConfigsRequest;
1434
+
1435
+ getPageToken(): string;
1436
+ setPageToken(value: string): ListTaskPushNotificationConfigsRequest;
1437
+
1438
+ serializeBinary(): Uint8Array;
1439
+ toObject(includeInstance?: boolean): ListTaskPushNotificationConfigsRequest.AsObject;
1440
+ static toObject(includeInstance: boolean, msg: ListTaskPushNotificationConfigsRequest): ListTaskPushNotificationConfigsRequest.AsObject;
1441
+ static serializeBinaryToWriter(message: ListTaskPushNotificationConfigsRequest, writer: jspb.BinaryWriter): void;
1442
+ static deserializeBinary(bytes: Uint8Array): ListTaskPushNotificationConfigsRequest;
1443
+ static deserializeBinaryFromReader(message: ListTaskPushNotificationConfigsRequest, reader: jspb.BinaryReader): ListTaskPushNotificationConfigsRequest;
1444
+ }
1445
+
1446
+ export namespace ListTaskPushNotificationConfigsRequest {
1447
+ export type AsObject = {
1448
+ tenant: string,
1449
+ taskId: string,
1450
+ pageSize: number,
1451
+ pageToken: string,
1452
+ }
1453
+ }
1454
+
1455
+ export class GetExtendedAgentCardRequest extends jspb.Message {
1456
+ getTenant(): string;
1457
+ setTenant(value: string): GetExtendedAgentCardRequest;
1458
+
1459
+ serializeBinary(): Uint8Array;
1460
+ toObject(includeInstance?: boolean): GetExtendedAgentCardRequest.AsObject;
1461
+ static toObject(includeInstance: boolean, msg: GetExtendedAgentCardRequest): GetExtendedAgentCardRequest.AsObject;
1462
+ static serializeBinaryToWriter(message: GetExtendedAgentCardRequest, writer: jspb.BinaryWriter): void;
1463
+ static deserializeBinary(bytes: Uint8Array): GetExtendedAgentCardRequest;
1464
+ static deserializeBinaryFromReader(message: GetExtendedAgentCardRequest, reader: jspb.BinaryReader): GetExtendedAgentCardRequest;
1465
+ }
1466
+
1467
+ export namespace GetExtendedAgentCardRequest {
1468
+ export type AsObject = {
1469
+ tenant: string,
1470
+ }
1471
+ }
1472
+
1473
+ export class SendMessageResponse extends jspb.Message {
1474
+ getTask(): Task | undefined;
1475
+ setTask(value?: Task): SendMessageResponse;
1476
+ hasTask(): boolean;
1477
+ clearTask(): SendMessageResponse;
1478
+
1479
+ getMessage(): Message | undefined;
1480
+ setMessage(value?: Message): SendMessageResponse;
1481
+ hasMessage(): boolean;
1482
+ clearMessage(): SendMessageResponse;
1483
+
1484
+ getPayloadCase(): SendMessageResponse.PayloadCase;
1485
+
1486
+ serializeBinary(): Uint8Array;
1487
+ toObject(includeInstance?: boolean): SendMessageResponse.AsObject;
1488
+ static toObject(includeInstance: boolean, msg: SendMessageResponse): SendMessageResponse.AsObject;
1489
+ static serializeBinaryToWriter(message: SendMessageResponse, writer: jspb.BinaryWriter): void;
1490
+ static deserializeBinary(bytes: Uint8Array): SendMessageResponse;
1491
+ static deserializeBinaryFromReader(message: SendMessageResponse, reader: jspb.BinaryReader): SendMessageResponse;
1492
+ }
1493
+
1494
+ export namespace SendMessageResponse {
1495
+ export type AsObject = {
1496
+ task?: Task.AsObject,
1497
+ message?: Message.AsObject,
1498
+ }
1499
+
1500
+ export enum PayloadCase {
1501
+ PAYLOAD_NOT_SET = 0,
1502
+ TASK = 1,
1503
+ MESSAGE = 2,
1504
+ }
1505
+ }
1506
+
1507
+ export class StreamResponse extends jspb.Message {
1508
+ getTask(): Task | undefined;
1509
+ setTask(value?: Task): StreamResponse;
1510
+ hasTask(): boolean;
1511
+ clearTask(): StreamResponse;
1512
+
1513
+ getMessage(): Message | undefined;
1514
+ setMessage(value?: Message): StreamResponse;
1515
+ hasMessage(): boolean;
1516
+ clearMessage(): StreamResponse;
1517
+
1518
+ getStatusUpdate(): TaskStatusUpdateEvent | undefined;
1519
+ setStatusUpdate(value?: TaskStatusUpdateEvent): StreamResponse;
1520
+ hasStatusUpdate(): boolean;
1521
+ clearStatusUpdate(): StreamResponse;
1522
+
1523
+ getArtifactUpdate(): TaskArtifactUpdateEvent | undefined;
1524
+ setArtifactUpdate(value?: TaskArtifactUpdateEvent): StreamResponse;
1525
+ hasArtifactUpdate(): boolean;
1526
+ clearArtifactUpdate(): StreamResponse;
1527
+
1528
+ getPayloadCase(): StreamResponse.PayloadCase;
1529
+
1530
+ serializeBinary(): Uint8Array;
1531
+ toObject(includeInstance?: boolean): StreamResponse.AsObject;
1532
+ static toObject(includeInstance: boolean, msg: StreamResponse): StreamResponse.AsObject;
1533
+ static serializeBinaryToWriter(message: StreamResponse, writer: jspb.BinaryWriter): void;
1534
+ static deserializeBinary(bytes: Uint8Array): StreamResponse;
1535
+ static deserializeBinaryFromReader(message: StreamResponse, reader: jspb.BinaryReader): StreamResponse;
1536
+ }
1537
+
1538
+ export namespace StreamResponse {
1539
+ export type AsObject = {
1540
+ task?: Task.AsObject,
1541
+ message?: Message.AsObject,
1542
+ statusUpdate?: TaskStatusUpdateEvent.AsObject,
1543
+ artifactUpdate?: TaskArtifactUpdateEvent.AsObject,
1544
+ }
1545
+
1546
+ export enum PayloadCase {
1547
+ PAYLOAD_NOT_SET = 0,
1548
+ TASK = 1,
1549
+ MESSAGE = 2,
1550
+ STATUS_UPDATE = 3,
1551
+ ARTIFACT_UPDATE = 4,
1552
+ }
1553
+ }
1554
+
1555
+ export class ListTaskPushNotificationConfigsResponse extends jspb.Message {
1556
+ getConfigsList(): Array<TaskPushNotificationConfig>;
1557
+ setConfigsList(value: Array<TaskPushNotificationConfig>): ListTaskPushNotificationConfigsResponse;
1558
+ clearConfigsList(): ListTaskPushNotificationConfigsResponse;
1559
+ addConfigs(value?: TaskPushNotificationConfig, index?: number): TaskPushNotificationConfig;
1560
+
1561
+ getNextPageToken(): string;
1562
+ setNextPageToken(value: string): ListTaskPushNotificationConfigsResponse;
1563
+
1564
+ serializeBinary(): Uint8Array;
1565
+ toObject(includeInstance?: boolean): ListTaskPushNotificationConfigsResponse.AsObject;
1566
+ static toObject(includeInstance: boolean, msg: ListTaskPushNotificationConfigsResponse): ListTaskPushNotificationConfigsResponse.AsObject;
1567
+ static serializeBinaryToWriter(message: ListTaskPushNotificationConfigsResponse, writer: jspb.BinaryWriter): void;
1568
+ static deserializeBinary(bytes: Uint8Array): ListTaskPushNotificationConfigsResponse;
1569
+ static deserializeBinaryFromReader(message: ListTaskPushNotificationConfigsResponse, reader: jspb.BinaryReader): ListTaskPushNotificationConfigsResponse;
1570
+ }
1571
+
1572
+ export namespace ListTaskPushNotificationConfigsResponse {
1573
+ export type AsObject = {
1574
+ configsList: Array<TaskPushNotificationConfig.AsObject>,
1575
+ nextPageToken: string,
1576
+ }
1577
+ }
1578
+
1579
+ export enum TaskState {
1580
+ TASK_STATE_UNSPECIFIED = 0,
1581
+ TASK_STATE_SUBMITTED = 1,
1582
+ TASK_STATE_WORKING = 2,
1583
+ TASK_STATE_COMPLETED = 3,
1584
+ TASK_STATE_FAILED = 4,
1585
+ TASK_STATE_CANCELED = 5,
1586
+ TASK_STATE_INPUT_REQUIRED = 6,
1587
+ TASK_STATE_REJECTED = 7,
1588
+ TASK_STATE_AUTH_REQUIRED = 8,
1589
+ }
1590
+ export enum Role {
1591
+ ROLE_UNSPECIFIED = 0,
1592
+ ROLE_USER = 1,
1593
+ ROLE_AGENT = 2,
1594
+ }