@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,2642 @@
1
+ // source: alis/a2a/extension/history/v1/a2a.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = globalThis;
17
+
18
+ var google_api_annotations_pb = require('@alis-build/google-common-protos/google/api/annotations_pb.js');
19
+ goog.object.extend(proto, google_api_annotations_pb);
20
+ var google_api_client_pb = require('@alis-build/google-common-protos/google/api/client_pb.js');
21
+ goog.object.extend(proto, google_api_client_pb);
22
+ var google_api_field_behavior_pb = require('@alis-build/google-common-protos/google/api/field_behavior_pb.js');
23
+ goog.object.extend(proto, google_api_field_behavior_pb);
24
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
+ goog.object.extend(proto, google_protobuf_empty_pb);
26
+ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
27
+ goog.object.extend(proto, google_protobuf_struct_pb);
28
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
29
+ goog.object.extend(proto, google_protobuf_timestamp_pb);
30
+ goog.exportSymbol('proto.alis.a2a.extension.history.v1.Artifact', null, global);
31
+ goog.exportSymbol('proto.alis.a2a.extension.history.v1.Message', null, global);
32
+ goog.exportSymbol('proto.alis.a2a.extension.history.v1.Part', null, global);
33
+ goog.exportSymbol('proto.alis.a2a.extension.history.v1.Part.ContentCase', null, global);
34
+ goog.exportSymbol('proto.alis.a2a.extension.history.v1.Role', null, global);
35
+ goog.exportSymbol('proto.alis.a2a.extension.history.v1.Task', null, global);
36
+ goog.exportSymbol('proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent', null, global);
37
+ goog.exportSymbol('proto.alis.a2a.extension.history.v1.TaskState', null, global);
38
+ goog.exportSymbol('proto.alis.a2a.extension.history.v1.TaskStatus', null, global);
39
+ goog.exportSymbol('proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent', null, global);
40
+ /**
41
+ * Generated by JsPbCodeGenerator.
42
+ * @param {Array=} opt_data Optional initial data array, typically from a
43
+ * server response, or constructed directly in Javascript. The array is used
44
+ * in place and becomes part of the constructed object. It is not cloned.
45
+ * If no data is provided, the constructed object will be empty, but still
46
+ * valid.
47
+ * @extends {jspb.Message}
48
+ * @constructor
49
+ */
50
+ proto.alis.a2a.extension.history.v1.Task = function(opt_data) {
51
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.alis.a2a.extension.history.v1.Task.repeatedFields_, null);
52
+ };
53
+ goog.inherits(proto.alis.a2a.extension.history.v1.Task, jspb.Message);
54
+ if (goog.DEBUG && !COMPILED) {
55
+ /**
56
+ * @public
57
+ * @override
58
+ */
59
+ proto.alis.a2a.extension.history.v1.Task.displayName = 'proto.alis.a2a.extension.history.v1.Task';
60
+ }
61
+ /**
62
+ * Generated by JsPbCodeGenerator.
63
+ * @param {Array=} opt_data Optional initial data array, typically from a
64
+ * server response, or constructed directly in Javascript. The array is used
65
+ * in place and becomes part of the constructed object. It is not cloned.
66
+ * If no data is provided, the constructed object will be empty, but still
67
+ * valid.
68
+ * @extends {jspb.Message}
69
+ * @constructor
70
+ */
71
+ proto.alis.a2a.extension.history.v1.TaskStatus = function(opt_data) {
72
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
73
+ };
74
+ goog.inherits(proto.alis.a2a.extension.history.v1.TaskStatus, jspb.Message);
75
+ if (goog.DEBUG && !COMPILED) {
76
+ /**
77
+ * @public
78
+ * @override
79
+ */
80
+ proto.alis.a2a.extension.history.v1.TaskStatus.displayName = 'proto.alis.a2a.extension.history.v1.TaskStatus';
81
+ }
82
+ /**
83
+ * Generated by JsPbCodeGenerator.
84
+ * @param {Array=} opt_data Optional initial data array, typically from a
85
+ * server response, or constructed directly in Javascript. The array is used
86
+ * in place and becomes part of the constructed object. It is not cloned.
87
+ * If no data is provided, the constructed object will be empty, but still
88
+ * valid.
89
+ * @extends {jspb.Message}
90
+ * @constructor
91
+ */
92
+ proto.alis.a2a.extension.history.v1.Part = function(opt_data) {
93
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.alis.a2a.extension.history.v1.Part.oneofGroups_);
94
+ };
95
+ goog.inherits(proto.alis.a2a.extension.history.v1.Part, jspb.Message);
96
+ if (goog.DEBUG && !COMPILED) {
97
+ /**
98
+ * @public
99
+ * @override
100
+ */
101
+ proto.alis.a2a.extension.history.v1.Part.displayName = 'proto.alis.a2a.extension.history.v1.Part';
102
+ }
103
+ /**
104
+ * Generated by JsPbCodeGenerator.
105
+ * @param {Array=} opt_data Optional initial data array, typically from a
106
+ * server response, or constructed directly in Javascript. The array is used
107
+ * in place and becomes part of the constructed object. It is not cloned.
108
+ * If no data is provided, the constructed object will be empty, but still
109
+ * valid.
110
+ * @extends {jspb.Message}
111
+ * @constructor
112
+ */
113
+ proto.alis.a2a.extension.history.v1.Message = function(opt_data) {
114
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.alis.a2a.extension.history.v1.Message.repeatedFields_, null);
115
+ };
116
+ goog.inherits(proto.alis.a2a.extension.history.v1.Message, jspb.Message);
117
+ if (goog.DEBUG && !COMPILED) {
118
+ /**
119
+ * @public
120
+ * @override
121
+ */
122
+ proto.alis.a2a.extension.history.v1.Message.displayName = 'proto.alis.a2a.extension.history.v1.Message';
123
+ }
124
+ /**
125
+ * Generated by JsPbCodeGenerator.
126
+ * @param {Array=} opt_data Optional initial data array, typically from a
127
+ * server response, or constructed directly in Javascript. The array is used
128
+ * in place and becomes part of the constructed object. It is not cloned.
129
+ * If no data is provided, the constructed object will be empty, but still
130
+ * valid.
131
+ * @extends {jspb.Message}
132
+ * @constructor
133
+ */
134
+ proto.alis.a2a.extension.history.v1.Artifact = function(opt_data) {
135
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.alis.a2a.extension.history.v1.Artifact.repeatedFields_, null);
136
+ };
137
+ goog.inherits(proto.alis.a2a.extension.history.v1.Artifact, jspb.Message);
138
+ if (goog.DEBUG && !COMPILED) {
139
+ /**
140
+ * @public
141
+ * @override
142
+ */
143
+ proto.alis.a2a.extension.history.v1.Artifact.displayName = 'proto.alis.a2a.extension.history.v1.Artifact';
144
+ }
145
+ /**
146
+ * Generated by JsPbCodeGenerator.
147
+ * @param {Array=} opt_data Optional initial data array, typically from a
148
+ * server response, or constructed directly in Javascript. The array is used
149
+ * in place and becomes part of the constructed object. It is not cloned.
150
+ * If no data is provided, the constructed object will be empty, but still
151
+ * valid.
152
+ * @extends {jspb.Message}
153
+ * @constructor
154
+ */
155
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent = function(opt_data) {
156
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
157
+ };
158
+ goog.inherits(proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent, jspb.Message);
159
+ if (goog.DEBUG && !COMPILED) {
160
+ /**
161
+ * @public
162
+ * @override
163
+ */
164
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.displayName = 'proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent';
165
+ }
166
+ /**
167
+ * Generated by JsPbCodeGenerator.
168
+ * @param {Array=} opt_data Optional initial data array, typically from a
169
+ * server response, or constructed directly in Javascript. The array is used
170
+ * in place and becomes part of the constructed object. It is not cloned.
171
+ * If no data is provided, the constructed object will be empty, but still
172
+ * valid.
173
+ * @extends {jspb.Message}
174
+ * @constructor
175
+ */
176
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent = function(opt_data) {
177
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
178
+ };
179
+ goog.inherits(proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent, jspb.Message);
180
+ if (goog.DEBUG && !COMPILED) {
181
+ /**
182
+ * @public
183
+ * @override
184
+ */
185
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.displayName = 'proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent';
186
+ }
187
+
188
+ /**
189
+ * List of repeated fields within this message type.
190
+ * @private {!Array<number>}
191
+ * @const
192
+ */
193
+ proto.alis.a2a.extension.history.v1.Task.repeatedFields_ = [4,5];
194
+
195
+
196
+
197
+ if (jspb.Message.GENERATE_TO_OBJECT) {
198
+ /**
199
+ * Creates an object representation of this proto.
200
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
201
+ * Optional fields that are not set will be set to undefined.
202
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
203
+ * For the list of reserved names please see:
204
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
205
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
206
+ * JSPB instance for transitional soy proto support:
207
+ * http://goto/soy-param-migration
208
+ * @return {!Object}
209
+ */
210
+ proto.alis.a2a.extension.history.v1.Task.prototype.toObject = function(opt_includeInstance) {
211
+ return proto.alis.a2a.extension.history.v1.Task.toObject(opt_includeInstance, this);
212
+ };
213
+
214
+
215
+ /**
216
+ * Static version of the {@see toObject} method.
217
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
218
+ * the JSPB instance for transitional soy proto support:
219
+ * http://goto/soy-param-migration
220
+ * @param {!proto.alis.a2a.extension.history.v1.Task} msg The msg instance to transform.
221
+ * @return {!Object}
222
+ * @suppress {unusedLocalVariables} f is only used for nested messages
223
+ */
224
+ proto.alis.a2a.extension.history.v1.Task.toObject = function(includeInstance, msg) {
225
+ var f, obj = {
226
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
227
+ contextId: jspb.Message.getFieldWithDefault(msg, 2, ""),
228
+ status: (f = msg.getStatus()) && proto.alis.a2a.extension.history.v1.TaskStatus.toObject(includeInstance, f),
229
+ artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
230
+ proto.alis.a2a.extension.history.v1.Artifact.toObject, includeInstance),
231
+ historyList: jspb.Message.toObjectList(msg.getHistoryList(),
232
+ proto.alis.a2a.extension.history.v1.Message.toObject, includeInstance),
233
+ metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
234
+ };
235
+
236
+ if (includeInstance) {
237
+ obj.$jspbMessageInstance = msg;
238
+ }
239
+ return obj;
240
+ };
241
+ }
242
+
243
+
244
+ /**
245
+ * Deserializes binary data (in protobuf wire format).
246
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
247
+ * @return {!proto.alis.a2a.extension.history.v1.Task}
248
+ */
249
+ proto.alis.a2a.extension.history.v1.Task.deserializeBinary = function(bytes) {
250
+ var reader = new jspb.BinaryReader(bytes);
251
+ var msg = new proto.alis.a2a.extension.history.v1.Task;
252
+ return proto.alis.a2a.extension.history.v1.Task.deserializeBinaryFromReader(msg, reader);
253
+ };
254
+
255
+
256
+ /**
257
+ * Deserializes binary data (in protobuf wire format) from the
258
+ * given reader into the given message object.
259
+ * @param {!proto.alis.a2a.extension.history.v1.Task} msg The message object to deserialize into.
260
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
261
+ * @return {!proto.alis.a2a.extension.history.v1.Task}
262
+ */
263
+ proto.alis.a2a.extension.history.v1.Task.deserializeBinaryFromReader = function(msg, reader) {
264
+ while (reader.nextField()) {
265
+ if (reader.isEndGroup()) {
266
+ break;
267
+ }
268
+ var field = reader.getFieldNumber();
269
+ switch (field) {
270
+ case 1:
271
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
272
+ msg.setId(value);
273
+ break;
274
+ case 2:
275
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
276
+ msg.setContextId(value);
277
+ break;
278
+ case 3:
279
+ var value = new proto.alis.a2a.extension.history.v1.TaskStatus;
280
+ reader.readMessage(value,proto.alis.a2a.extension.history.v1.TaskStatus.deserializeBinaryFromReader);
281
+ msg.setStatus(value);
282
+ break;
283
+ case 4:
284
+ var value = new proto.alis.a2a.extension.history.v1.Artifact;
285
+ reader.readMessage(value,proto.alis.a2a.extension.history.v1.Artifact.deserializeBinaryFromReader);
286
+ msg.addArtifacts(value);
287
+ break;
288
+ case 5:
289
+ var value = new proto.alis.a2a.extension.history.v1.Message;
290
+ reader.readMessage(value,proto.alis.a2a.extension.history.v1.Message.deserializeBinaryFromReader);
291
+ msg.addHistory(value);
292
+ break;
293
+ case 6:
294
+ var value = new google_protobuf_struct_pb.Struct;
295
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
296
+ msg.setMetadata(value);
297
+ break;
298
+ default:
299
+ reader.skipField();
300
+ break;
301
+ }
302
+ }
303
+ return msg;
304
+ };
305
+
306
+
307
+ /**
308
+ * Serializes the message to binary data (in protobuf wire format).
309
+ * @return {!Uint8Array}
310
+ */
311
+ proto.alis.a2a.extension.history.v1.Task.prototype.serializeBinary = function() {
312
+ var writer = new jspb.BinaryWriter();
313
+ proto.alis.a2a.extension.history.v1.Task.serializeBinaryToWriter(this, writer);
314
+ return writer.getResultBuffer();
315
+ };
316
+
317
+
318
+ /**
319
+ * Serializes the given message to binary data (in protobuf wire
320
+ * format), writing to the given BinaryWriter.
321
+ * @param {!proto.alis.a2a.extension.history.v1.Task} message
322
+ * @param {!jspb.BinaryWriter} writer
323
+ * @suppress {unusedLocalVariables} f is only used for nested messages
324
+ */
325
+ proto.alis.a2a.extension.history.v1.Task.serializeBinaryToWriter = function(message, writer) {
326
+ var f = undefined;
327
+ f = message.getId();
328
+ if (f.length > 0) {
329
+ writer.writeString(
330
+ 1,
331
+ f
332
+ );
333
+ }
334
+ f = message.getContextId();
335
+ if (f.length > 0) {
336
+ writer.writeString(
337
+ 2,
338
+ f
339
+ );
340
+ }
341
+ f = message.getStatus();
342
+ if (f != null) {
343
+ writer.writeMessage(
344
+ 3,
345
+ f,
346
+ proto.alis.a2a.extension.history.v1.TaskStatus.serializeBinaryToWriter
347
+ );
348
+ }
349
+ f = message.getArtifactsList();
350
+ if (f.length > 0) {
351
+ writer.writeRepeatedMessage(
352
+ 4,
353
+ f,
354
+ proto.alis.a2a.extension.history.v1.Artifact.serializeBinaryToWriter
355
+ );
356
+ }
357
+ f = message.getHistoryList();
358
+ if (f.length > 0) {
359
+ writer.writeRepeatedMessage(
360
+ 5,
361
+ f,
362
+ proto.alis.a2a.extension.history.v1.Message.serializeBinaryToWriter
363
+ );
364
+ }
365
+ f = message.getMetadata();
366
+ if (f != null) {
367
+ writer.writeMessage(
368
+ 6,
369
+ f,
370
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
371
+ );
372
+ }
373
+ };
374
+
375
+
376
+ /**
377
+ * optional string id = 1;
378
+ * @return {string}
379
+ */
380
+ proto.alis.a2a.extension.history.v1.Task.prototype.getId = function() {
381
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
382
+ };
383
+
384
+
385
+ /**
386
+ * @param {string} value
387
+ * @return {!proto.alis.a2a.extension.history.v1.Task} returns this
388
+ */
389
+ proto.alis.a2a.extension.history.v1.Task.prototype.setId = function(value) {
390
+ return jspb.Message.setProto3StringField(this, 1, value);
391
+ };
392
+
393
+
394
+ /**
395
+ * optional string context_id = 2;
396
+ * @return {string}
397
+ */
398
+ proto.alis.a2a.extension.history.v1.Task.prototype.getContextId = function() {
399
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
400
+ };
401
+
402
+
403
+ /**
404
+ * @param {string} value
405
+ * @return {!proto.alis.a2a.extension.history.v1.Task} returns this
406
+ */
407
+ proto.alis.a2a.extension.history.v1.Task.prototype.setContextId = function(value) {
408
+ return jspb.Message.setProto3StringField(this, 2, value);
409
+ };
410
+
411
+
412
+ /**
413
+ * optional TaskStatus status = 3;
414
+ * @return {?proto.alis.a2a.extension.history.v1.TaskStatus}
415
+ */
416
+ proto.alis.a2a.extension.history.v1.Task.prototype.getStatus = function() {
417
+ return /** @type{?proto.alis.a2a.extension.history.v1.TaskStatus} */ (
418
+ jspb.Message.getWrapperField(this, proto.alis.a2a.extension.history.v1.TaskStatus, 3));
419
+ };
420
+
421
+
422
+ /**
423
+ * @param {?proto.alis.a2a.extension.history.v1.TaskStatus|undefined} value
424
+ * @return {!proto.alis.a2a.extension.history.v1.Task} returns this
425
+ */
426
+ proto.alis.a2a.extension.history.v1.Task.prototype.setStatus = function(value) {
427
+ return jspb.Message.setWrapperField(this, 3, value);
428
+ };
429
+
430
+
431
+ /**
432
+ * Clears the message field making it undefined.
433
+ * @return {!proto.alis.a2a.extension.history.v1.Task} returns this
434
+ */
435
+ proto.alis.a2a.extension.history.v1.Task.prototype.clearStatus = function() {
436
+ return this.setStatus(undefined);
437
+ };
438
+
439
+
440
+ /**
441
+ * Returns whether this field is set.
442
+ * @return {boolean}
443
+ */
444
+ proto.alis.a2a.extension.history.v1.Task.prototype.hasStatus = function() {
445
+ return jspb.Message.getField(this, 3) != null;
446
+ };
447
+
448
+
449
+ /**
450
+ * repeated Artifact artifacts = 4;
451
+ * @return {!Array<!proto.alis.a2a.extension.history.v1.Artifact>}
452
+ */
453
+ proto.alis.a2a.extension.history.v1.Task.prototype.getArtifactsList = function() {
454
+ return /** @type{!Array<!proto.alis.a2a.extension.history.v1.Artifact>} */ (
455
+ jspb.Message.getRepeatedWrapperField(this, proto.alis.a2a.extension.history.v1.Artifact, 4));
456
+ };
457
+
458
+
459
+ /**
460
+ * @param {!Array<!proto.alis.a2a.extension.history.v1.Artifact>} value
461
+ * @return {!proto.alis.a2a.extension.history.v1.Task} returns this
462
+ */
463
+ proto.alis.a2a.extension.history.v1.Task.prototype.setArtifactsList = function(value) {
464
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
465
+ };
466
+
467
+
468
+ /**
469
+ * @param {!proto.alis.a2a.extension.history.v1.Artifact=} opt_value
470
+ * @param {number=} opt_index
471
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact}
472
+ */
473
+ proto.alis.a2a.extension.history.v1.Task.prototype.addArtifacts = function(opt_value, opt_index) {
474
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.alis.a2a.extension.history.v1.Artifact, opt_index);
475
+ };
476
+
477
+
478
+ /**
479
+ * Clears the list making it empty but non-null.
480
+ * @return {!proto.alis.a2a.extension.history.v1.Task} returns this
481
+ */
482
+ proto.alis.a2a.extension.history.v1.Task.prototype.clearArtifactsList = function() {
483
+ return this.setArtifactsList([]);
484
+ };
485
+
486
+
487
+ /**
488
+ * repeated Message history = 5;
489
+ * @return {!Array<!proto.alis.a2a.extension.history.v1.Message>}
490
+ */
491
+ proto.alis.a2a.extension.history.v1.Task.prototype.getHistoryList = function() {
492
+ return /** @type{!Array<!proto.alis.a2a.extension.history.v1.Message>} */ (
493
+ jspb.Message.getRepeatedWrapperField(this, proto.alis.a2a.extension.history.v1.Message, 5));
494
+ };
495
+
496
+
497
+ /**
498
+ * @param {!Array<!proto.alis.a2a.extension.history.v1.Message>} value
499
+ * @return {!proto.alis.a2a.extension.history.v1.Task} returns this
500
+ */
501
+ proto.alis.a2a.extension.history.v1.Task.prototype.setHistoryList = function(value) {
502
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
503
+ };
504
+
505
+
506
+ /**
507
+ * @param {!proto.alis.a2a.extension.history.v1.Message=} opt_value
508
+ * @param {number=} opt_index
509
+ * @return {!proto.alis.a2a.extension.history.v1.Message}
510
+ */
511
+ proto.alis.a2a.extension.history.v1.Task.prototype.addHistory = function(opt_value, opt_index) {
512
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.alis.a2a.extension.history.v1.Message, opt_index);
513
+ };
514
+
515
+
516
+ /**
517
+ * Clears the list making it empty but non-null.
518
+ * @return {!proto.alis.a2a.extension.history.v1.Task} returns this
519
+ */
520
+ proto.alis.a2a.extension.history.v1.Task.prototype.clearHistoryList = function() {
521
+ return this.setHistoryList([]);
522
+ };
523
+
524
+
525
+ /**
526
+ * optional google.protobuf.Struct metadata = 6;
527
+ * @return {?proto.google.protobuf.Struct}
528
+ */
529
+ proto.alis.a2a.extension.history.v1.Task.prototype.getMetadata = function() {
530
+ return /** @type{?proto.google.protobuf.Struct} */ (
531
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6));
532
+ };
533
+
534
+
535
+ /**
536
+ * @param {?proto.google.protobuf.Struct|undefined} value
537
+ * @return {!proto.alis.a2a.extension.history.v1.Task} returns this
538
+ */
539
+ proto.alis.a2a.extension.history.v1.Task.prototype.setMetadata = function(value) {
540
+ return jspb.Message.setWrapperField(this, 6, value);
541
+ };
542
+
543
+
544
+ /**
545
+ * Clears the message field making it undefined.
546
+ * @return {!proto.alis.a2a.extension.history.v1.Task} returns this
547
+ */
548
+ proto.alis.a2a.extension.history.v1.Task.prototype.clearMetadata = function() {
549
+ return this.setMetadata(undefined);
550
+ };
551
+
552
+
553
+ /**
554
+ * Returns whether this field is set.
555
+ * @return {boolean}
556
+ */
557
+ proto.alis.a2a.extension.history.v1.Task.prototype.hasMetadata = function() {
558
+ return jspb.Message.getField(this, 6) != null;
559
+ };
560
+
561
+
562
+
563
+
564
+
565
+ if (jspb.Message.GENERATE_TO_OBJECT) {
566
+ /**
567
+ * Creates an object representation of this proto.
568
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
569
+ * Optional fields that are not set will be set to undefined.
570
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
571
+ * For the list of reserved names please see:
572
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
573
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
574
+ * JSPB instance for transitional soy proto support:
575
+ * http://goto/soy-param-migration
576
+ * @return {!Object}
577
+ */
578
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.toObject = function(opt_includeInstance) {
579
+ return proto.alis.a2a.extension.history.v1.TaskStatus.toObject(opt_includeInstance, this);
580
+ };
581
+
582
+
583
+ /**
584
+ * Static version of the {@see toObject} method.
585
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
586
+ * the JSPB instance for transitional soy proto support:
587
+ * http://goto/soy-param-migration
588
+ * @param {!proto.alis.a2a.extension.history.v1.TaskStatus} msg The msg instance to transform.
589
+ * @return {!Object}
590
+ * @suppress {unusedLocalVariables} f is only used for nested messages
591
+ */
592
+ proto.alis.a2a.extension.history.v1.TaskStatus.toObject = function(includeInstance, msg) {
593
+ var f, obj = {
594
+ state: jspb.Message.getFieldWithDefault(msg, 1, 0),
595
+ message: (f = msg.getMessage()) && proto.alis.a2a.extension.history.v1.Message.toObject(includeInstance, f),
596
+ timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
597
+ };
598
+
599
+ if (includeInstance) {
600
+ obj.$jspbMessageInstance = msg;
601
+ }
602
+ return obj;
603
+ };
604
+ }
605
+
606
+
607
+ /**
608
+ * Deserializes binary data (in protobuf wire format).
609
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
610
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatus}
611
+ */
612
+ proto.alis.a2a.extension.history.v1.TaskStatus.deserializeBinary = function(bytes) {
613
+ var reader = new jspb.BinaryReader(bytes);
614
+ var msg = new proto.alis.a2a.extension.history.v1.TaskStatus;
615
+ return proto.alis.a2a.extension.history.v1.TaskStatus.deserializeBinaryFromReader(msg, reader);
616
+ };
617
+
618
+
619
+ /**
620
+ * Deserializes binary data (in protobuf wire format) from the
621
+ * given reader into the given message object.
622
+ * @param {!proto.alis.a2a.extension.history.v1.TaskStatus} msg The message object to deserialize into.
623
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
624
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatus}
625
+ */
626
+ proto.alis.a2a.extension.history.v1.TaskStatus.deserializeBinaryFromReader = function(msg, reader) {
627
+ while (reader.nextField()) {
628
+ if (reader.isEndGroup()) {
629
+ break;
630
+ }
631
+ var field = reader.getFieldNumber();
632
+ switch (field) {
633
+ case 1:
634
+ var value = /** @type {!proto.alis.a2a.extension.history.v1.TaskState} */ (reader.readEnum());
635
+ msg.setState(value);
636
+ break;
637
+ case 2:
638
+ var value = new proto.alis.a2a.extension.history.v1.Message;
639
+ reader.readMessage(value,proto.alis.a2a.extension.history.v1.Message.deserializeBinaryFromReader);
640
+ msg.setMessage(value);
641
+ break;
642
+ case 3:
643
+ var value = new google_protobuf_timestamp_pb.Timestamp;
644
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
645
+ msg.setTimestamp(value);
646
+ break;
647
+ default:
648
+ reader.skipField();
649
+ break;
650
+ }
651
+ }
652
+ return msg;
653
+ };
654
+
655
+
656
+ /**
657
+ * Serializes the message to binary data (in protobuf wire format).
658
+ * @return {!Uint8Array}
659
+ */
660
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.serializeBinary = function() {
661
+ var writer = new jspb.BinaryWriter();
662
+ proto.alis.a2a.extension.history.v1.TaskStatus.serializeBinaryToWriter(this, writer);
663
+ return writer.getResultBuffer();
664
+ };
665
+
666
+
667
+ /**
668
+ * Serializes the given message to binary data (in protobuf wire
669
+ * format), writing to the given BinaryWriter.
670
+ * @param {!proto.alis.a2a.extension.history.v1.TaskStatus} message
671
+ * @param {!jspb.BinaryWriter} writer
672
+ * @suppress {unusedLocalVariables} f is only used for nested messages
673
+ */
674
+ proto.alis.a2a.extension.history.v1.TaskStatus.serializeBinaryToWriter = function(message, writer) {
675
+ var f = undefined;
676
+ f = message.getState();
677
+ if (f !== 0.0) {
678
+ writer.writeEnum(
679
+ 1,
680
+ f
681
+ );
682
+ }
683
+ f = message.getMessage();
684
+ if (f != null) {
685
+ writer.writeMessage(
686
+ 2,
687
+ f,
688
+ proto.alis.a2a.extension.history.v1.Message.serializeBinaryToWriter
689
+ );
690
+ }
691
+ f = message.getTimestamp();
692
+ if (f != null) {
693
+ writer.writeMessage(
694
+ 3,
695
+ f,
696
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
697
+ );
698
+ }
699
+ };
700
+
701
+
702
+ /**
703
+ * optional TaskState state = 1;
704
+ * @return {!proto.alis.a2a.extension.history.v1.TaskState}
705
+ */
706
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.getState = function() {
707
+ return /** @type {!proto.alis.a2a.extension.history.v1.TaskState} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
708
+ };
709
+
710
+
711
+ /**
712
+ * @param {!proto.alis.a2a.extension.history.v1.TaskState} value
713
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatus} returns this
714
+ */
715
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.setState = function(value) {
716
+ return jspb.Message.setProto3EnumField(this, 1, value);
717
+ };
718
+
719
+
720
+ /**
721
+ * optional Message message = 2;
722
+ * @return {?proto.alis.a2a.extension.history.v1.Message}
723
+ */
724
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.getMessage = function() {
725
+ return /** @type{?proto.alis.a2a.extension.history.v1.Message} */ (
726
+ jspb.Message.getWrapperField(this, proto.alis.a2a.extension.history.v1.Message, 2));
727
+ };
728
+
729
+
730
+ /**
731
+ * @param {?proto.alis.a2a.extension.history.v1.Message|undefined} value
732
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatus} returns this
733
+ */
734
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.setMessage = function(value) {
735
+ return jspb.Message.setWrapperField(this, 2, value);
736
+ };
737
+
738
+
739
+ /**
740
+ * Clears the message field making it undefined.
741
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatus} returns this
742
+ */
743
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.clearMessage = function() {
744
+ return this.setMessage(undefined);
745
+ };
746
+
747
+
748
+ /**
749
+ * Returns whether this field is set.
750
+ * @return {boolean}
751
+ */
752
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.hasMessage = function() {
753
+ return jspb.Message.getField(this, 2) != null;
754
+ };
755
+
756
+
757
+ /**
758
+ * optional google.protobuf.Timestamp timestamp = 3;
759
+ * @return {?proto.google.protobuf.Timestamp}
760
+ */
761
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.getTimestamp = function() {
762
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
763
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
764
+ };
765
+
766
+
767
+ /**
768
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
769
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatus} returns this
770
+ */
771
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.setTimestamp = function(value) {
772
+ return jspb.Message.setWrapperField(this, 3, value);
773
+ };
774
+
775
+
776
+ /**
777
+ * Clears the message field making it undefined.
778
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatus} returns this
779
+ */
780
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.clearTimestamp = function() {
781
+ return this.setTimestamp(undefined);
782
+ };
783
+
784
+
785
+ /**
786
+ * Returns whether this field is set.
787
+ * @return {boolean}
788
+ */
789
+ proto.alis.a2a.extension.history.v1.TaskStatus.prototype.hasTimestamp = function() {
790
+ return jspb.Message.getField(this, 3) != null;
791
+ };
792
+
793
+
794
+
795
+ /**
796
+ * Oneof group definitions for this message. Each group defines the field
797
+ * numbers belonging to that group. When of these fields' value is set, all
798
+ * other fields in the group are cleared. During deserialization, if multiple
799
+ * fields are encountered for a group, only the last value seen will be kept.
800
+ * @private {!Array<!Array<number>>}
801
+ * @const
802
+ */
803
+ proto.alis.a2a.extension.history.v1.Part.oneofGroups_ = [[1,2,3,4]];
804
+
805
+ /**
806
+ * @enum {number}
807
+ */
808
+ proto.alis.a2a.extension.history.v1.Part.ContentCase = {
809
+ CONTENT_NOT_SET: 0,
810
+ TEXT: 1,
811
+ RAW: 2,
812
+ URL: 3,
813
+ DATA: 4
814
+ };
815
+
816
+ /**
817
+ * @return {proto.alis.a2a.extension.history.v1.Part.ContentCase}
818
+ */
819
+ proto.alis.a2a.extension.history.v1.Part.prototype.getContentCase = function() {
820
+ return /** @type {proto.alis.a2a.extension.history.v1.Part.ContentCase} */(jspb.Message.computeOneofCase(this, proto.alis.a2a.extension.history.v1.Part.oneofGroups_[0]));
821
+ };
822
+
823
+
824
+
825
+ if (jspb.Message.GENERATE_TO_OBJECT) {
826
+ /**
827
+ * Creates an object representation of this proto.
828
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
829
+ * Optional fields that are not set will be set to undefined.
830
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
831
+ * For the list of reserved names please see:
832
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
833
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
834
+ * JSPB instance for transitional soy proto support:
835
+ * http://goto/soy-param-migration
836
+ * @return {!Object}
837
+ */
838
+ proto.alis.a2a.extension.history.v1.Part.prototype.toObject = function(opt_includeInstance) {
839
+ return proto.alis.a2a.extension.history.v1.Part.toObject(opt_includeInstance, this);
840
+ };
841
+
842
+
843
+ /**
844
+ * Static version of the {@see toObject} method.
845
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
846
+ * the JSPB instance for transitional soy proto support:
847
+ * http://goto/soy-param-migration
848
+ * @param {!proto.alis.a2a.extension.history.v1.Part} msg The msg instance to transform.
849
+ * @return {!Object}
850
+ * @suppress {unusedLocalVariables} f is only used for nested messages
851
+ */
852
+ proto.alis.a2a.extension.history.v1.Part.toObject = function(includeInstance, msg) {
853
+ var f, obj = {
854
+ text: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
855
+ raw: msg.getRaw_asB64(),
856
+ url: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
857
+ data: (f = msg.getData()) && google_protobuf_struct_pb.Value.toObject(includeInstance, f),
858
+ metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
859
+ filename: jspb.Message.getFieldWithDefault(msg, 6, ""),
860
+ mediaType: jspb.Message.getFieldWithDefault(msg, 7, "")
861
+ };
862
+
863
+ if (includeInstance) {
864
+ obj.$jspbMessageInstance = msg;
865
+ }
866
+ return obj;
867
+ };
868
+ }
869
+
870
+
871
+ /**
872
+ * Deserializes binary data (in protobuf wire format).
873
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
874
+ * @return {!proto.alis.a2a.extension.history.v1.Part}
875
+ */
876
+ proto.alis.a2a.extension.history.v1.Part.deserializeBinary = function(bytes) {
877
+ var reader = new jspb.BinaryReader(bytes);
878
+ var msg = new proto.alis.a2a.extension.history.v1.Part;
879
+ return proto.alis.a2a.extension.history.v1.Part.deserializeBinaryFromReader(msg, reader);
880
+ };
881
+
882
+
883
+ /**
884
+ * Deserializes binary data (in protobuf wire format) from the
885
+ * given reader into the given message object.
886
+ * @param {!proto.alis.a2a.extension.history.v1.Part} msg The message object to deserialize into.
887
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
888
+ * @return {!proto.alis.a2a.extension.history.v1.Part}
889
+ */
890
+ proto.alis.a2a.extension.history.v1.Part.deserializeBinaryFromReader = function(msg, reader) {
891
+ while (reader.nextField()) {
892
+ if (reader.isEndGroup()) {
893
+ break;
894
+ }
895
+ var field = reader.getFieldNumber();
896
+ switch (field) {
897
+ case 1:
898
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
899
+ msg.setText(value);
900
+ break;
901
+ case 2:
902
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
903
+ msg.setRaw(value);
904
+ break;
905
+ case 3:
906
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
907
+ msg.setUrl(value);
908
+ break;
909
+ case 4:
910
+ var value = new google_protobuf_struct_pb.Value;
911
+ reader.readMessage(value,google_protobuf_struct_pb.Value.deserializeBinaryFromReader);
912
+ msg.setData(value);
913
+ break;
914
+ case 5:
915
+ var value = new google_protobuf_struct_pb.Struct;
916
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
917
+ msg.setMetadata(value);
918
+ break;
919
+ case 6:
920
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
921
+ msg.setFilename(value);
922
+ break;
923
+ case 7:
924
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
925
+ msg.setMediaType(value);
926
+ break;
927
+ default:
928
+ reader.skipField();
929
+ break;
930
+ }
931
+ }
932
+ return msg;
933
+ };
934
+
935
+
936
+ /**
937
+ * Serializes the message to binary data (in protobuf wire format).
938
+ * @return {!Uint8Array}
939
+ */
940
+ proto.alis.a2a.extension.history.v1.Part.prototype.serializeBinary = function() {
941
+ var writer = new jspb.BinaryWriter();
942
+ proto.alis.a2a.extension.history.v1.Part.serializeBinaryToWriter(this, writer);
943
+ return writer.getResultBuffer();
944
+ };
945
+
946
+
947
+ /**
948
+ * Serializes the given message to binary data (in protobuf wire
949
+ * format), writing to the given BinaryWriter.
950
+ * @param {!proto.alis.a2a.extension.history.v1.Part} message
951
+ * @param {!jspb.BinaryWriter} writer
952
+ * @suppress {unusedLocalVariables} f is only used for nested messages
953
+ */
954
+ proto.alis.a2a.extension.history.v1.Part.serializeBinaryToWriter = function(message, writer) {
955
+ var f = undefined;
956
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
957
+ if (f != null) {
958
+ writer.writeString(
959
+ 1,
960
+ f
961
+ );
962
+ }
963
+ f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
964
+ if (f != null) {
965
+ writer.writeBytes(
966
+ 2,
967
+ f
968
+ );
969
+ }
970
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
971
+ if (f != null) {
972
+ writer.writeString(
973
+ 3,
974
+ f
975
+ );
976
+ }
977
+ f = message.getData();
978
+ if (f != null) {
979
+ writer.writeMessage(
980
+ 4,
981
+ f,
982
+ google_protobuf_struct_pb.Value.serializeBinaryToWriter
983
+ );
984
+ }
985
+ f = message.getMetadata();
986
+ if (f != null) {
987
+ writer.writeMessage(
988
+ 5,
989
+ f,
990
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
991
+ );
992
+ }
993
+ f = message.getFilename();
994
+ if (f.length > 0) {
995
+ writer.writeString(
996
+ 6,
997
+ f
998
+ );
999
+ }
1000
+ f = message.getMediaType();
1001
+ if (f.length > 0) {
1002
+ writer.writeString(
1003
+ 7,
1004
+ f
1005
+ );
1006
+ }
1007
+ };
1008
+
1009
+
1010
+ /**
1011
+ * optional string text = 1;
1012
+ * @return {string}
1013
+ */
1014
+ proto.alis.a2a.extension.history.v1.Part.prototype.getText = function() {
1015
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1016
+ };
1017
+
1018
+
1019
+ /**
1020
+ * @param {string} value
1021
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1022
+ */
1023
+ proto.alis.a2a.extension.history.v1.Part.prototype.setText = function(value) {
1024
+ return jspb.Message.setOneofField(this, 1, proto.alis.a2a.extension.history.v1.Part.oneofGroups_[0], value);
1025
+ };
1026
+
1027
+
1028
+ /**
1029
+ * Clears the field making it undefined.
1030
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1031
+ */
1032
+ proto.alis.a2a.extension.history.v1.Part.prototype.clearText = function() {
1033
+ return jspb.Message.setOneofField(this, 1, proto.alis.a2a.extension.history.v1.Part.oneofGroups_[0], undefined);
1034
+ };
1035
+
1036
+
1037
+ /**
1038
+ * Returns whether this field is set.
1039
+ * @return {boolean}
1040
+ */
1041
+ proto.alis.a2a.extension.history.v1.Part.prototype.hasText = function() {
1042
+ return jspb.Message.getField(this, 1) != null;
1043
+ };
1044
+
1045
+
1046
+ /**
1047
+ * optional bytes raw = 2;
1048
+ * @return {!(string|Uint8Array)}
1049
+ */
1050
+ proto.alis.a2a.extension.history.v1.Part.prototype.getRaw = function() {
1051
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1052
+ };
1053
+
1054
+
1055
+ /**
1056
+ * optional bytes raw = 2;
1057
+ * This is a type-conversion wrapper around `getRaw()`
1058
+ * @return {string}
1059
+ */
1060
+ proto.alis.a2a.extension.history.v1.Part.prototype.getRaw_asB64 = function() {
1061
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
1062
+ this.getRaw()));
1063
+ };
1064
+
1065
+
1066
+ /**
1067
+ * optional bytes raw = 2;
1068
+ * Note that Uint8Array is not supported on all browsers.
1069
+ * @see http://caniuse.com/Uint8Array
1070
+ * This is a type-conversion wrapper around `getRaw()`
1071
+ * @return {!Uint8Array}
1072
+ */
1073
+ proto.alis.a2a.extension.history.v1.Part.prototype.getRaw_asU8 = function() {
1074
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
1075
+ this.getRaw()));
1076
+ };
1077
+
1078
+
1079
+ /**
1080
+ * @param {!(string|Uint8Array)} value
1081
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1082
+ */
1083
+ proto.alis.a2a.extension.history.v1.Part.prototype.setRaw = function(value) {
1084
+ return jspb.Message.setOneofField(this, 2, proto.alis.a2a.extension.history.v1.Part.oneofGroups_[0], value);
1085
+ };
1086
+
1087
+
1088
+ /**
1089
+ * Clears the field making it undefined.
1090
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1091
+ */
1092
+ proto.alis.a2a.extension.history.v1.Part.prototype.clearRaw = function() {
1093
+ return jspb.Message.setOneofField(this, 2, proto.alis.a2a.extension.history.v1.Part.oneofGroups_[0], undefined);
1094
+ };
1095
+
1096
+
1097
+ /**
1098
+ * Returns whether this field is set.
1099
+ * @return {boolean}
1100
+ */
1101
+ proto.alis.a2a.extension.history.v1.Part.prototype.hasRaw = function() {
1102
+ return jspb.Message.getField(this, 2) != null;
1103
+ };
1104
+
1105
+
1106
+ /**
1107
+ * optional string url = 3;
1108
+ * @return {string}
1109
+ */
1110
+ proto.alis.a2a.extension.history.v1.Part.prototype.getUrl = function() {
1111
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1112
+ };
1113
+
1114
+
1115
+ /**
1116
+ * @param {string} value
1117
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1118
+ */
1119
+ proto.alis.a2a.extension.history.v1.Part.prototype.setUrl = function(value) {
1120
+ return jspb.Message.setOneofField(this, 3, proto.alis.a2a.extension.history.v1.Part.oneofGroups_[0], value);
1121
+ };
1122
+
1123
+
1124
+ /**
1125
+ * Clears the field making it undefined.
1126
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1127
+ */
1128
+ proto.alis.a2a.extension.history.v1.Part.prototype.clearUrl = function() {
1129
+ return jspb.Message.setOneofField(this, 3, proto.alis.a2a.extension.history.v1.Part.oneofGroups_[0], undefined);
1130
+ };
1131
+
1132
+
1133
+ /**
1134
+ * Returns whether this field is set.
1135
+ * @return {boolean}
1136
+ */
1137
+ proto.alis.a2a.extension.history.v1.Part.prototype.hasUrl = function() {
1138
+ return jspb.Message.getField(this, 3) != null;
1139
+ };
1140
+
1141
+
1142
+ /**
1143
+ * optional google.protobuf.Value data = 4;
1144
+ * @return {?proto.google.protobuf.Value}
1145
+ */
1146
+ proto.alis.a2a.extension.history.v1.Part.prototype.getData = function() {
1147
+ return /** @type{?proto.google.protobuf.Value} */ (
1148
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Value, 4));
1149
+ };
1150
+
1151
+
1152
+ /**
1153
+ * @param {?proto.google.protobuf.Value|undefined} value
1154
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1155
+ */
1156
+ proto.alis.a2a.extension.history.v1.Part.prototype.setData = function(value) {
1157
+ return jspb.Message.setOneofWrapperField(this, 4, proto.alis.a2a.extension.history.v1.Part.oneofGroups_[0], value);
1158
+ };
1159
+
1160
+
1161
+ /**
1162
+ * Clears the message field making it undefined.
1163
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1164
+ */
1165
+ proto.alis.a2a.extension.history.v1.Part.prototype.clearData = function() {
1166
+ return this.setData(undefined);
1167
+ };
1168
+
1169
+
1170
+ /**
1171
+ * Returns whether this field is set.
1172
+ * @return {boolean}
1173
+ */
1174
+ proto.alis.a2a.extension.history.v1.Part.prototype.hasData = function() {
1175
+ return jspb.Message.getField(this, 4) != null;
1176
+ };
1177
+
1178
+
1179
+ /**
1180
+ * optional google.protobuf.Struct metadata = 5;
1181
+ * @return {?proto.google.protobuf.Struct}
1182
+ */
1183
+ proto.alis.a2a.extension.history.v1.Part.prototype.getMetadata = function() {
1184
+ return /** @type{?proto.google.protobuf.Struct} */ (
1185
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
1186
+ };
1187
+
1188
+
1189
+ /**
1190
+ * @param {?proto.google.protobuf.Struct|undefined} value
1191
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1192
+ */
1193
+ proto.alis.a2a.extension.history.v1.Part.prototype.setMetadata = function(value) {
1194
+ return jspb.Message.setWrapperField(this, 5, value);
1195
+ };
1196
+
1197
+
1198
+ /**
1199
+ * Clears the message field making it undefined.
1200
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1201
+ */
1202
+ proto.alis.a2a.extension.history.v1.Part.prototype.clearMetadata = function() {
1203
+ return this.setMetadata(undefined);
1204
+ };
1205
+
1206
+
1207
+ /**
1208
+ * Returns whether this field is set.
1209
+ * @return {boolean}
1210
+ */
1211
+ proto.alis.a2a.extension.history.v1.Part.prototype.hasMetadata = function() {
1212
+ return jspb.Message.getField(this, 5) != null;
1213
+ };
1214
+
1215
+
1216
+ /**
1217
+ * optional string filename = 6;
1218
+ * @return {string}
1219
+ */
1220
+ proto.alis.a2a.extension.history.v1.Part.prototype.getFilename = function() {
1221
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1222
+ };
1223
+
1224
+
1225
+ /**
1226
+ * @param {string} value
1227
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1228
+ */
1229
+ proto.alis.a2a.extension.history.v1.Part.prototype.setFilename = function(value) {
1230
+ return jspb.Message.setProto3StringField(this, 6, value);
1231
+ };
1232
+
1233
+
1234
+ /**
1235
+ * optional string media_type = 7;
1236
+ * @return {string}
1237
+ */
1238
+ proto.alis.a2a.extension.history.v1.Part.prototype.getMediaType = function() {
1239
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1240
+ };
1241
+
1242
+
1243
+ /**
1244
+ * @param {string} value
1245
+ * @return {!proto.alis.a2a.extension.history.v1.Part} returns this
1246
+ */
1247
+ proto.alis.a2a.extension.history.v1.Part.prototype.setMediaType = function(value) {
1248
+ return jspb.Message.setProto3StringField(this, 7, value);
1249
+ };
1250
+
1251
+
1252
+
1253
+ /**
1254
+ * List of repeated fields within this message type.
1255
+ * @private {!Array<number>}
1256
+ * @const
1257
+ */
1258
+ proto.alis.a2a.extension.history.v1.Message.repeatedFields_ = [5,7,8];
1259
+
1260
+
1261
+
1262
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1263
+ /**
1264
+ * Creates an object representation of this proto.
1265
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1266
+ * Optional fields that are not set will be set to undefined.
1267
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1268
+ * For the list of reserved names please see:
1269
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1270
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1271
+ * JSPB instance for transitional soy proto support:
1272
+ * http://goto/soy-param-migration
1273
+ * @return {!Object}
1274
+ */
1275
+ proto.alis.a2a.extension.history.v1.Message.prototype.toObject = function(opt_includeInstance) {
1276
+ return proto.alis.a2a.extension.history.v1.Message.toObject(opt_includeInstance, this);
1277
+ };
1278
+
1279
+
1280
+ /**
1281
+ * Static version of the {@see toObject} method.
1282
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1283
+ * the JSPB instance for transitional soy proto support:
1284
+ * http://goto/soy-param-migration
1285
+ * @param {!proto.alis.a2a.extension.history.v1.Message} msg The msg instance to transform.
1286
+ * @return {!Object}
1287
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1288
+ */
1289
+ proto.alis.a2a.extension.history.v1.Message.toObject = function(includeInstance, msg) {
1290
+ var f, obj = {
1291
+ messageId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1292
+ contextId: jspb.Message.getFieldWithDefault(msg, 2, ""),
1293
+ taskId: jspb.Message.getFieldWithDefault(msg, 3, ""),
1294
+ role: jspb.Message.getFieldWithDefault(msg, 4, 0),
1295
+ partsList: jspb.Message.toObjectList(msg.getPartsList(),
1296
+ proto.alis.a2a.extension.history.v1.Part.toObject, includeInstance),
1297
+ metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
1298
+ extensionsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
1299
+ referenceTaskIdsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
1300
+ };
1301
+
1302
+ if (includeInstance) {
1303
+ obj.$jspbMessageInstance = msg;
1304
+ }
1305
+ return obj;
1306
+ };
1307
+ }
1308
+
1309
+
1310
+ /**
1311
+ * Deserializes binary data (in protobuf wire format).
1312
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1313
+ * @return {!proto.alis.a2a.extension.history.v1.Message}
1314
+ */
1315
+ proto.alis.a2a.extension.history.v1.Message.deserializeBinary = function(bytes) {
1316
+ var reader = new jspb.BinaryReader(bytes);
1317
+ var msg = new proto.alis.a2a.extension.history.v1.Message;
1318
+ return proto.alis.a2a.extension.history.v1.Message.deserializeBinaryFromReader(msg, reader);
1319
+ };
1320
+
1321
+
1322
+ /**
1323
+ * Deserializes binary data (in protobuf wire format) from the
1324
+ * given reader into the given message object.
1325
+ * @param {!proto.alis.a2a.extension.history.v1.Message} msg The message object to deserialize into.
1326
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1327
+ * @return {!proto.alis.a2a.extension.history.v1.Message}
1328
+ */
1329
+ proto.alis.a2a.extension.history.v1.Message.deserializeBinaryFromReader = function(msg, reader) {
1330
+ while (reader.nextField()) {
1331
+ if (reader.isEndGroup()) {
1332
+ break;
1333
+ }
1334
+ var field = reader.getFieldNumber();
1335
+ switch (field) {
1336
+ case 1:
1337
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1338
+ msg.setMessageId(value);
1339
+ break;
1340
+ case 2:
1341
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1342
+ msg.setContextId(value);
1343
+ break;
1344
+ case 3:
1345
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1346
+ msg.setTaskId(value);
1347
+ break;
1348
+ case 4:
1349
+ var value = /** @type {!proto.alis.a2a.extension.history.v1.Role} */ (reader.readEnum());
1350
+ msg.setRole(value);
1351
+ break;
1352
+ case 5:
1353
+ var value = new proto.alis.a2a.extension.history.v1.Part;
1354
+ reader.readMessage(value,proto.alis.a2a.extension.history.v1.Part.deserializeBinaryFromReader);
1355
+ msg.addParts(value);
1356
+ break;
1357
+ case 6:
1358
+ var value = new google_protobuf_struct_pb.Struct;
1359
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
1360
+ msg.setMetadata(value);
1361
+ break;
1362
+ case 7:
1363
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1364
+ msg.addExtensions(value);
1365
+ break;
1366
+ case 8:
1367
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1368
+ msg.addReferenceTaskIds(value);
1369
+ break;
1370
+ default:
1371
+ reader.skipField();
1372
+ break;
1373
+ }
1374
+ }
1375
+ return msg;
1376
+ };
1377
+
1378
+
1379
+ /**
1380
+ * Serializes the message to binary data (in protobuf wire format).
1381
+ * @return {!Uint8Array}
1382
+ */
1383
+ proto.alis.a2a.extension.history.v1.Message.prototype.serializeBinary = function() {
1384
+ var writer = new jspb.BinaryWriter();
1385
+ proto.alis.a2a.extension.history.v1.Message.serializeBinaryToWriter(this, writer);
1386
+ return writer.getResultBuffer();
1387
+ };
1388
+
1389
+
1390
+ /**
1391
+ * Serializes the given message to binary data (in protobuf wire
1392
+ * format), writing to the given BinaryWriter.
1393
+ * @param {!proto.alis.a2a.extension.history.v1.Message} message
1394
+ * @param {!jspb.BinaryWriter} writer
1395
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1396
+ */
1397
+ proto.alis.a2a.extension.history.v1.Message.serializeBinaryToWriter = function(message, writer) {
1398
+ var f = undefined;
1399
+ f = message.getMessageId();
1400
+ if (f.length > 0) {
1401
+ writer.writeString(
1402
+ 1,
1403
+ f
1404
+ );
1405
+ }
1406
+ f = message.getContextId();
1407
+ if (f.length > 0) {
1408
+ writer.writeString(
1409
+ 2,
1410
+ f
1411
+ );
1412
+ }
1413
+ f = message.getTaskId();
1414
+ if (f.length > 0) {
1415
+ writer.writeString(
1416
+ 3,
1417
+ f
1418
+ );
1419
+ }
1420
+ f = message.getRole();
1421
+ if (f !== 0.0) {
1422
+ writer.writeEnum(
1423
+ 4,
1424
+ f
1425
+ );
1426
+ }
1427
+ f = message.getPartsList();
1428
+ if (f.length > 0) {
1429
+ writer.writeRepeatedMessage(
1430
+ 5,
1431
+ f,
1432
+ proto.alis.a2a.extension.history.v1.Part.serializeBinaryToWriter
1433
+ );
1434
+ }
1435
+ f = message.getMetadata();
1436
+ if (f != null) {
1437
+ writer.writeMessage(
1438
+ 6,
1439
+ f,
1440
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
1441
+ );
1442
+ }
1443
+ f = message.getExtensionsList();
1444
+ if (f.length > 0) {
1445
+ writer.writeRepeatedString(
1446
+ 7,
1447
+ f
1448
+ );
1449
+ }
1450
+ f = message.getReferenceTaskIdsList();
1451
+ if (f.length > 0) {
1452
+ writer.writeRepeatedString(
1453
+ 8,
1454
+ f
1455
+ );
1456
+ }
1457
+ };
1458
+
1459
+
1460
+ /**
1461
+ * optional string message_id = 1;
1462
+ * @return {string}
1463
+ */
1464
+ proto.alis.a2a.extension.history.v1.Message.prototype.getMessageId = function() {
1465
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1466
+ };
1467
+
1468
+
1469
+ /**
1470
+ * @param {string} value
1471
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1472
+ */
1473
+ proto.alis.a2a.extension.history.v1.Message.prototype.setMessageId = function(value) {
1474
+ return jspb.Message.setProto3StringField(this, 1, value);
1475
+ };
1476
+
1477
+
1478
+ /**
1479
+ * optional string context_id = 2;
1480
+ * @return {string}
1481
+ */
1482
+ proto.alis.a2a.extension.history.v1.Message.prototype.getContextId = function() {
1483
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1484
+ };
1485
+
1486
+
1487
+ /**
1488
+ * @param {string} value
1489
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1490
+ */
1491
+ proto.alis.a2a.extension.history.v1.Message.prototype.setContextId = function(value) {
1492
+ return jspb.Message.setProto3StringField(this, 2, value);
1493
+ };
1494
+
1495
+
1496
+ /**
1497
+ * optional string task_id = 3;
1498
+ * @return {string}
1499
+ */
1500
+ proto.alis.a2a.extension.history.v1.Message.prototype.getTaskId = function() {
1501
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1502
+ };
1503
+
1504
+
1505
+ /**
1506
+ * @param {string} value
1507
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1508
+ */
1509
+ proto.alis.a2a.extension.history.v1.Message.prototype.setTaskId = function(value) {
1510
+ return jspb.Message.setProto3StringField(this, 3, value);
1511
+ };
1512
+
1513
+
1514
+ /**
1515
+ * optional Role role = 4;
1516
+ * @return {!proto.alis.a2a.extension.history.v1.Role}
1517
+ */
1518
+ proto.alis.a2a.extension.history.v1.Message.prototype.getRole = function() {
1519
+ return /** @type {!proto.alis.a2a.extension.history.v1.Role} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1520
+ };
1521
+
1522
+
1523
+ /**
1524
+ * @param {!proto.alis.a2a.extension.history.v1.Role} value
1525
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1526
+ */
1527
+ proto.alis.a2a.extension.history.v1.Message.prototype.setRole = function(value) {
1528
+ return jspb.Message.setProto3EnumField(this, 4, value);
1529
+ };
1530
+
1531
+
1532
+ /**
1533
+ * repeated Part parts = 5;
1534
+ * @return {!Array<!proto.alis.a2a.extension.history.v1.Part>}
1535
+ */
1536
+ proto.alis.a2a.extension.history.v1.Message.prototype.getPartsList = function() {
1537
+ return /** @type{!Array<!proto.alis.a2a.extension.history.v1.Part>} */ (
1538
+ jspb.Message.getRepeatedWrapperField(this, proto.alis.a2a.extension.history.v1.Part, 5));
1539
+ };
1540
+
1541
+
1542
+ /**
1543
+ * @param {!Array<!proto.alis.a2a.extension.history.v1.Part>} value
1544
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1545
+ */
1546
+ proto.alis.a2a.extension.history.v1.Message.prototype.setPartsList = function(value) {
1547
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
1548
+ };
1549
+
1550
+
1551
+ /**
1552
+ * @param {!proto.alis.a2a.extension.history.v1.Part=} opt_value
1553
+ * @param {number=} opt_index
1554
+ * @return {!proto.alis.a2a.extension.history.v1.Part}
1555
+ */
1556
+ proto.alis.a2a.extension.history.v1.Message.prototype.addParts = function(opt_value, opt_index) {
1557
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.alis.a2a.extension.history.v1.Part, opt_index);
1558
+ };
1559
+
1560
+
1561
+ /**
1562
+ * Clears the list making it empty but non-null.
1563
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1564
+ */
1565
+ proto.alis.a2a.extension.history.v1.Message.prototype.clearPartsList = function() {
1566
+ return this.setPartsList([]);
1567
+ };
1568
+
1569
+
1570
+ /**
1571
+ * optional google.protobuf.Struct metadata = 6;
1572
+ * @return {?proto.google.protobuf.Struct}
1573
+ */
1574
+ proto.alis.a2a.extension.history.v1.Message.prototype.getMetadata = function() {
1575
+ return /** @type{?proto.google.protobuf.Struct} */ (
1576
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6));
1577
+ };
1578
+
1579
+
1580
+ /**
1581
+ * @param {?proto.google.protobuf.Struct|undefined} value
1582
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1583
+ */
1584
+ proto.alis.a2a.extension.history.v1.Message.prototype.setMetadata = function(value) {
1585
+ return jspb.Message.setWrapperField(this, 6, value);
1586
+ };
1587
+
1588
+
1589
+ /**
1590
+ * Clears the message field making it undefined.
1591
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1592
+ */
1593
+ proto.alis.a2a.extension.history.v1.Message.prototype.clearMetadata = function() {
1594
+ return this.setMetadata(undefined);
1595
+ };
1596
+
1597
+
1598
+ /**
1599
+ * Returns whether this field is set.
1600
+ * @return {boolean}
1601
+ */
1602
+ proto.alis.a2a.extension.history.v1.Message.prototype.hasMetadata = function() {
1603
+ return jspb.Message.getField(this, 6) != null;
1604
+ };
1605
+
1606
+
1607
+ /**
1608
+ * repeated string extensions = 7;
1609
+ * @return {!Array<string>}
1610
+ */
1611
+ proto.alis.a2a.extension.history.v1.Message.prototype.getExtensionsList = function() {
1612
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
1613
+ };
1614
+
1615
+
1616
+ /**
1617
+ * @param {!Array<string>} value
1618
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1619
+ */
1620
+ proto.alis.a2a.extension.history.v1.Message.prototype.setExtensionsList = function(value) {
1621
+ return jspb.Message.setField(this, 7, value || []);
1622
+ };
1623
+
1624
+
1625
+ /**
1626
+ * @param {string} value
1627
+ * @param {number=} opt_index
1628
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1629
+ */
1630
+ proto.alis.a2a.extension.history.v1.Message.prototype.addExtensions = function(value, opt_index) {
1631
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
1632
+ };
1633
+
1634
+
1635
+ /**
1636
+ * Clears the list making it empty but non-null.
1637
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1638
+ */
1639
+ proto.alis.a2a.extension.history.v1.Message.prototype.clearExtensionsList = function() {
1640
+ return this.setExtensionsList([]);
1641
+ };
1642
+
1643
+
1644
+ /**
1645
+ * repeated string reference_task_ids = 8;
1646
+ * @return {!Array<string>}
1647
+ */
1648
+ proto.alis.a2a.extension.history.v1.Message.prototype.getReferenceTaskIdsList = function() {
1649
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
1650
+ };
1651
+
1652
+
1653
+ /**
1654
+ * @param {!Array<string>} value
1655
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1656
+ */
1657
+ proto.alis.a2a.extension.history.v1.Message.prototype.setReferenceTaskIdsList = function(value) {
1658
+ return jspb.Message.setField(this, 8, value || []);
1659
+ };
1660
+
1661
+
1662
+ /**
1663
+ * @param {string} value
1664
+ * @param {number=} opt_index
1665
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1666
+ */
1667
+ proto.alis.a2a.extension.history.v1.Message.prototype.addReferenceTaskIds = function(value, opt_index) {
1668
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
1669
+ };
1670
+
1671
+
1672
+ /**
1673
+ * Clears the list making it empty but non-null.
1674
+ * @return {!proto.alis.a2a.extension.history.v1.Message} returns this
1675
+ */
1676
+ proto.alis.a2a.extension.history.v1.Message.prototype.clearReferenceTaskIdsList = function() {
1677
+ return this.setReferenceTaskIdsList([]);
1678
+ };
1679
+
1680
+
1681
+
1682
+ /**
1683
+ * List of repeated fields within this message type.
1684
+ * @private {!Array<number>}
1685
+ * @const
1686
+ */
1687
+ proto.alis.a2a.extension.history.v1.Artifact.repeatedFields_ = [5,7];
1688
+
1689
+
1690
+
1691
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1692
+ /**
1693
+ * Creates an object representation of this proto.
1694
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1695
+ * Optional fields that are not set will be set to undefined.
1696
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1697
+ * For the list of reserved names please see:
1698
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1699
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1700
+ * JSPB instance for transitional soy proto support:
1701
+ * http://goto/soy-param-migration
1702
+ * @return {!Object}
1703
+ */
1704
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.toObject = function(opt_includeInstance) {
1705
+ return proto.alis.a2a.extension.history.v1.Artifact.toObject(opt_includeInstance, this);
1706
+ };
1707
+
1708
+
1709
+ /**
1710
+ * Static version of the {@see toObject} method.
1711
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1712
+ * the JSPB instance for transitional soy proto support:
1713
+ * http://goto/soy-param-migration
1714
+ * @param {!proto.alis.a2a.extension.history.v1.Artifact} msg The msg instance to transform.
1715
+ * @return {!Object}
1716
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1717
+ */
1718
+ proto.alis.a2a.extension.history.v1.Artifact.toObject = function(includeInstance, msg) {
1719
+ var f, obj = {
1720
+ artifactId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1721
+ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
1722
+ description: jspb.Message.getFieldWithDefault(msg, 4, ""),
1723
+ partsList: jspb.Message.toObjectList(msg.getPartsList(),
1724
+ proto.alis.a2a.extension.history.v1.Part.toObject, includeInstance),
1725
+ metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
1726
+ extensionsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
1727
+ };
1728
+
1729
+ if (includeInstance) {
1730
+ obj.$jspbMessageInstance = msg;
1731
+ }
1732
+ return obj;
1733
+ };
1734
+ }
1735
+
1736
+
1737
+ /**
1738
+ * Deserializes binary data (in protobuf wire format).
1739
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1740
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact}
1741
+ */
1742
+ proto.alis.a2a.extension.history.v1.Artifact.deserializeBinary = function(bytes) {
1743
+ var reader = new jspb.BinaryReader(bytes);
1744
+ var msg = new proto.alis.a2a.extension.history.v1.Artifact;
1745
+ return proto.alis.a2a.extension.history.v1.Artifact.deserializeBinaryFromReader(msg, reader);
1746
+ };
1747
+
1748
+
1749
+ /**
1750
+ * Deserializes binary data (in protobuf wire format) from the
1751
+ * given reader into the given message object.
1752
+ * @param {!proto.alis.a2a.extension.history.v1.Artifact} msg The message object to deserialize into.
1753
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1754
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact}
1755
+ */
1756
+ proto.alis.a2a.extension.history.v1.Artifact.deserializeBinaryFromReader = function(msg, reader) {
1757
+ while (reader.nextField()) {
1758
+ if (reader.isEndGroup()) {
1759
+ break;
1760
+ }
1761
+ var field = reader.getFieldNumber();
1762
+ switch (field) {
1763
+ case 1:
1764
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1765
+ msg.setArtifactId(value);
1766
+ break;
1767
+ case 3:
1768
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1769
+ msg.setName(value);
1770
+ break;
1771
+ case 4:
1772
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1773
+ msg.setDescription(value);
1774
+ break;
1775
+ case 5:
1776
+ var value = new proto.alis.a2a.extension.history.v1.Part;
1777
+ reader.readMessage(value,proto.alis.a2a.extension.history.v1.Part.deserializeBinaryFromReader);
1778
+ msg.addParts(value);
1779
+ break;
1780
+ case 6:
1781
+ var value = new google_protobuf_struct_pb.Struct;
1782
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
1783
+ msg.setMetadata(value);
1784
+ break;
1785
+ case 7:
1786
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1787
+ msg.addExtensions(value);
1788
+ break;
1789
+ default:
1790
+ reader.skipField();
1791
+ break;
1792
+ }
1793
+ }
1794
+ return msg;
1795
+ };
1796
+
1797
+
1798
+ /**
1799
+ * Serializes the message to binary data (in protobuf wire format).
1800
+ * @return {!Uint8Array}
1801
+ */
1802
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.serializeBinary = function() {
1803
+ var writer = new jspb.BinaryWriter();
1804
+ proto.alis.a2a.extension.history.v1.Artifact.serializeBinaryToWriter(this, writer);
1805
+ return writer.getResultBuffer();
1806
+ };
1807
+
1808
+
1809
+ /**
1810
+ * Serializes the given message to binary data (in protobuf wire
1811
+ * format), writing to the given BinaryWriter.
1812
+ * @param {!proto.alis.a2a.extension.history.v1.Artifact} message
1813
+ * @param {!jspb.BinaryWriter} writer
1814
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1815
+ */
1816
+ proto.alis.a2a.extension.history.v1.Artifact.serializeBinaryToWriter = function(message, writer) {
1817
+ var f = undefined;
1818
+ f = message.getArtifactId();
1819
+ if (f.length > 0) {
1820
+ writer.writeString(
1821
+ 1,
1822
+ f
1823
+ );
1824
+ }
1825
+ f = message.getName();
1826
+ if (f.length > 0) {
1827
+ writer.writeString(
1828
+ 3,
1829
+ f
1830
+ );
1831
+ }
1832
+ f = message.getDescription();
1833
+ if (f.length > 0) {
1834
+ writer.writeString(
1835
+ 4,
1836
+ f
1837
+ );
1838
+ }
1839
+ f = message.getPartsList();
1840
+ if (f.length > 0) {
1841
+ writer.writeRepeatedMessage(
1842
+ 5,
1843
+ f,
1844
+ proto.alis.a2a.extension.history.v1.Part.serializeBinaryToWriter
1845
+ );
1846
+ }
1847
+ f = message.getMetadata();
1848
+ if (f != null) {
1849
+ writer.writeMessage(
1850
+ 6,
1851
+ f,
1852
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
1853
+ );
1854
+ }
1855
+ f = message.getExtensionsList();
1856
+ if (f.length > 0) {
1857
+ writer.writeRepeatedString(
1858
+ 7,
1859
+ f
1860
+ );
1861
+ }
1862
+ };
1863
+
1864
+
1865
+ /**
1866
+ * optional string artifact_id = 1;
1867
+ * @return {string}
1868
+ */
1869
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.getArtifactId = function() {
1870
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1871
+ };
1872
+
1873
+
1874
+ /**
1875
+ * @param {string} value
1876
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact} returns this
1877
+ */
1878
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.setArtifactId = function(value) {
1879
+ return jspb.Message.setProto3StringField(this, 1, value);
1880
+ };
1881
+
1882
+
1883
+ /**
1884
+ * optional string name = 3;
1885
+ * @return {string}
1886
+ */
1887
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.getName = function() {
1888
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1889
+ };
1890
+
1891
+
1892
+ /**
1893
+ * @param {string} value
1894
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact} returns this
1895
+ */
1896
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.setName = function(value) {
1897
+ return jspb.Message.setProto3StringField(this, 3, value);
1898
+ };
1899
+
1900
+
1901
+ /**
1902
+ * optional string description = 4;
1903
+ * @return {string}
1904
+ */
1905
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.getDescription = function() {
1906
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1907
+ };
1908
+
1909
+
1910
+ /**
1911
+ * @param {string} value
1912
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact} returns this
1913
+ */
1914
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.setDescription = function(value) {
1915
+ return jspb.Message.setProto3StringField(this, 4, value);
1916
+ };
1917
+
1918
+
1919
+ /**
1920
+ * repeated Part parts = 5;
1921
+ * @return {!Array<!proto.alis.a2a.extension.history.v1.Part>}
1922
+ */
1923
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.getPartsList = function() {
1924
+ return /** @type{!Array<!proto.alis.a2a.extension.history.v1.Part>} */ (
1925
+ jspb.Message.getRepeatedWrapperField(this, proto.alis.a2a.extension.history.v1.Part, 5));
1926
+ };
1927
+
1928
+
1929
+ /**
1930
+ * @param {!Array<!proto.alis.a2a.extension.history.v1.Part>} value
1931
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact} returns this
1932
+ */
1933
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.setPartsList = function(value) {
1934
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
1935
+ };
1936
+
1937
+
1938
+ /**
1939
+ * @param {!proto.alis.a2a.extension.history.v1.Part=} opt_value
1940
+ * @param {number=} opt_index
1941
+ * @return {!proto.alis.a2a.extension.history.v1.Part}
1942
+ */
1943
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.addParts = function(opt_value, opt_index) {
1944
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.alis.a2a.extension.history.v1.Part, opt_index);
1945
+ };
1946
+
1947
+
1948
+ /**
1949
+ * Clears the list making it empty but non-null.
1950
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact} returns this
1951
+ */
1952
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.clearPartsList = function() {
1953
+ return this.setPartsList([]);
1954
+ };
1955
+
1956
+
1957
+ /**
1958
+ * optional google.protobuf.Struct metadata = 6;
1959
+ * @return {?proto.google.protobuf.Struct}
1960
+ */
1961
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.getMetadata = function() {
1962
+ return /** @type{?proto.google.protobuf.Struct} */ (
1963
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6));
1964
+ };
1965
+
1966
+
1967
+ /**
1968
+ * @param {?proto.google.protobuf.Struct|undefined} value
1969
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact} returns this
1970
+ */
1971
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.setMetadata = function(value) {
1972
+ return jspb.Message.setWrapperField(this, 6, value);
1973
+ };
1974
+
1975
+
1976
+ /**
1977
+ * Clears the message field making it undefined.
1978
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact} returns this
1979
+ */
1980
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.clearMetadata = function() {
1981
+ return this.setMetadata(undefined);
1982
+ };
1983
+
1984
+
1985
+ /**
1986
+ * Returns whether this field is set.
1987
+ * @return {boolean}
1988
+ */
1989
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.hasMetadata = function() {
1990
+ return jspb.Message.getField(this, 6) != null;
1991
+ };
1992
+
1993
+
1994
+ /**
1995
+ * repeated string extensions = 7;
1996
+ * @return {!Array<string>}
1997
+ */
1998
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.getExtensionsList = function() {
1999
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
2000
+ };
2001
+
2002
+
2003
+ /**
2004
+ * @param {!Array<string>} value
2005
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact} returns this
2006
+ */
2007
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.setExtensionsList = function(value) {
2008
+ return jspb.Message.setField(this, 7, value || []);
2009
+ };
2010
+
2011
+
2012
+ /**
2013
+ * @param {string} value
2014
+ * @param {number=} opt_index
2015
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact} returns this
2016
+ */
2017
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.addExtensions = function(value, opt_index) {
2018
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
2019
+ };
2020
+
2021
+
2022
+ /**
2023
+ * Clears the list making it empty but non-null.
2024
+ * @return {!proto.alis.a2a.extension.history.v1.Artifact} returns this
2025
+ */
2026
+ proto.alis.a2a.extension.history.v1.Artifact.prototype.clearExtensionsList = function() {
2027
+ return this.setExtensionsList([]);
2028
+ };
2029
+
2030
+
2031
+
2032
+
2033
+
2034
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2035
+ /**
2036
+ * Creates an object representation of this proto.
2037
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2038
+ * Optional fields that are not set will be set to undefined.
2039
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2040
+ * For the list of reserved names please see:
2041
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2042
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2043
+ * JSPB instance for transitional soy proto support:
2044
+ * http://goto/soy-param-migration
2045
+ * @return {!Object}
2046
+ */
2047
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.toObject = function(opt_includeInstance) {
2048
+ return proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.toObject(opt_includeInstance, this);
2049
+ };
2050
+
2051
+
2052
+ /**
2053
+ * Static version of the {@see toObject} method.
2054
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2055
+ * the JSPB instance for transitional soy proto support:
2056
+ * http://goto/soy-param-migration
2057
+ * @param {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent} msg The msg instance to transform.
2058
+ * @return {!Object}
2059
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2060
+ */
2061
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.toObject = function(includeInstance, msg) {
2062
+ var f, obj = {
2063
+ taskId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2064
+ contextId: jspb.Message.getFieldWithDefault(msg, 2, ""),
2065
+ status: (f = msg.getStatus()) && proto.alis.a2a.extension.history.v1.TaskStatus.toObject(includeInstance, f),
2066
+ metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
2067
+ };
2068
+
2069
+ if (includeInstance) {
2070
+ obj.$jspbMessageInstance = msg;
2071
+ }
2072
+ return obj;
2073
+ };
2074
+ }
2075
+
2076
+
2077
+ /**
2078
+ * Deserializes binary data (in protobuf wire format).
2079
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2080
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent}
2081
+ */
2082
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.deserializeBinary = function(bytes) {
2083
+ var reader = new jspb.BinaryReader(bytes);
2084
+ var msg = new proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent;
2085
+ return proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.deserializeBinaryFromReader(msg, reader);
2086
+ };
2087
+
2088
+
2089
+ /**
2090
+ * Deserializes binary data (in protobuf wire format) from the
2091
+ * given reader into the given message object.
2092
+ * @param {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent} msg The message object to deserialize into.
2093
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2094
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent}
2095
+ */
2096
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.deserializeBinaryFromReader = function(msg, reader) {
2097
+ while (reader.nextField()) {
2098
+ if (reader.isEndGroup()) {
2099
+ break;
2100
+ }
2101
+ var field = reader.getFieldNumber();
2102
+ switch (field) {
2103
+ case 1:
2104
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2105
+ msg.setTaskId(value);
2106
+ break;
2107
+ case 2:
2108
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2109
+ msg.setContextId(value);
2110
+ break;
2111
+ case 3:
2112
+ var value = new proto.alis.a2a.extension.history.v1.TaskStatus;
2113
+ reader.readMessage(value,proto.alis.a2a.extension.history.v1.TaskStatus.deserializeBinaryFromReader);
2114
+ msg.setStatus(value);
2115
+ break;
2116
+ case 5:
2117
+ var value = new google_protobuf_struct_pb.Struct;
2118
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
2119
+ msg.setMetadata(value);
2120
+ break;
2121
+ default:
2122
+ reader.skipField();
2123
+ break;
2124
+ }
2125
+ }
2126
+ return msg;
2127
+ };
2128
+
2129
+
2130
+ /**
2131
+ * Serializes the message to binary data (in protobuf wire format).
2132
+ * @return {!Uint8Array}
2133
+ */
2134
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.serializeBinary = function() {
2135
+ var writer = new jspb.BinaryWriter();
2136
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.serializeBinaryToWriter(this, writer);
2137
+ return writer.getResultBuffer();
2138
+ };
2139
+
2140
+
2141
+ /**
2142
+ * Serializes the given message to binary data (in protobuf wire
2143
+ * format), writing to the given BinaryWriter.
2144
+ * @param {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent} message
2145
+ * @param {!jspb.BinaryWriter} writer
2146
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2147
+ */
2148
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.serializeBinaryToWriter = function(message, writer) {
2149
+ var f = undefined;
2150
+ f = message.getTaskId();
2151
+ if (f.length > 0) {
2152
+ writer.writeString(
2153
+ 1,
2154
+ f
2155
+ );
2156
+ }
2157
+ f = message.getContextId();
2158
+ if (f.length > 0) {
2159
+ writer.writeString(
2160
+ 2,
2161
+ f
2162
+ );
2163
+ }
2164
+ f = message.getStatus();
2165
+ if (f != null) {
2166
+ writer.writeMessage(
2167
+ 3,
2168
+ f,
2169
+ proto.alis.a2a.extension.history.v1.TaskStatus.serializeBinaryToWriter
2170
+ );
2171
+ }
2172
+ f = message.getMetadata();
2173
+ if (f != null) {
2174
+ writer.writeMessage(
2175
+ 5,
2176
+ f,
2177
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
2178
+ );
2179
+ }
2180
+ };
2181
+
2182
+
2183
+ /**
2184
+ * optional string task_id = 1;
2185
+ * @return {string}
2186
+ */
2187
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.getTaskId = function() {
2188
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2189
+ };
2190
+
2191
+
2192
+ /**
2193
+ * @param {string} value
2194
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent} returns this
2195
+ */
2196
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.setTaskId = function(value) {
2197
+ return jspb.Message.setProto3StringField(this, 1, value);
2198
+ };
2199
+
2200
+
2201
+ /**
2202
+ * optional string context_id = 2;
2203
+ * @return {string}
2204
+ */
2205
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.getContextId = function() {
2206
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2207
+ };
2208
+
2209
+
2210
+ /**
2211
+ * @param {string} value
2212
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent} returns this
2213
+ */
2214
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.setContextId = function(value) {
2215
+ return jspb.Message.setProto3StringField(this, 2, value);
2216
+ };
2217
+
2218
+
2219
+ /**
2220
+ * optional TaskStatus status = 3;
2221
+ * @return {?proto.alis.a2a.extension.history.v1.TaskStatus}
2222
+ */
2223
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.getStatus = function() {
2224
+ return /** @type{?proto.alis.a2a.extension.history.v1.TaskStatus} */ (
2225
+ jspb.Message.getWrapperField(this, proto.alis.a2a.extension.history.v1.TaskStatus, 3));
2226
+ };
2227
+
2228
+
2229
+ /**
2230
+ * @param {?proto.alis.a2a.extension.history.v1.TaskStatus|undefined} value
2231
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent} returns this
2232
+ */
2233
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.setStatus = function(value) {
2234
+ return jspb.Message.setWrapperField(this, 3, value);
2235
+ };
2236
+
2237
+
2238
+ /**
2239
+ * Clears the message field making it undefined.
2240
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent} returns this
2241
+ */
2242
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.clearStatus = function() {
2243
+ return this.setStatus(undefined);
2244
+ };
2245
+
2246
+
2247
+ /**
2248
+ * Returns whether this field is set.
2249
+ * @return {boolean}
2250
+ */
2251
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.hasStatus = function() {
2252
+ return jspb.Message.getField(this, 3) != null;
2253
+ };
2254
+
2255
+
2256
+ /**
2257
+ * optional google.protobuf.Struct metadata = 5;
2258
+ * @return {?proto.google.protobuf.Struct}
2259
+ */
2260
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.getMetadata = function() {
2261
+ return /** @type{?proto.google.protobuf.Struct} */ (
2262
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
2263
+ };
2264
+
2265
+
2266
+ /**
2267
+ * @param {?proto.google.protobuf.Struct|undefined} value
2268
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent} returns this
2269
+ */
2270
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.setMetadata = function(value) {
2271
+ return jspb.Message.setWrapperField(this, 5, value);
2272
+ };
2273
+
2274
+
2275
+ /**
2276
+ * Clears the message field making it undefined.
2277
+ * @return {!proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent} returns this
2278
+ */
2279
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.clearMetadata = function() {
2280
+ return this.setMetadata(undefined);
2281
+ };
2282
+
2283
+
2284
+ /**
2285
+ * Returns whether this field is set.
2286
+ * @return {boolean}
2287
+ */
2288
+ proto.alis.a2a.extension.history.v1.TaskStatusUpdateEvent.prototype.hasMetadata = function() {
2289
+ return jspb.Message.getField(this, 5) != null;
2290
+ };
2291
+
2292
+
2293
+
2294
+
2295
+
2296
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2297
+ /**
2298
+ * Creates an object representation of this proto.
2299
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2300
+ * Optional fields that are not set will be set to undefined.
2301
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2302
+ * For the list of reserved names please see:
2303
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2304
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2305
+ * JSPB instance for transitional soy proto support:
2306
+ * http://goto/soy-param-migration
2307
+ * @return {!Object}
2308
+ */
2309
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.toObject = function(opt_includeInstance) {
2310
+ return proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.toObject(opt_includeInstance, this);
2311
+ };
2312
+
2313
+
2314
+ /**
2315
+ * Static version of the {@see toObject} method.
2316
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2317
+ * the JSPB instance for transitional soy proto support:
2318
+ * http://goto/soy-param-migration
2319
+ * @param {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} msg The msg instance to transform.
2320
+ * @return {!Object}
2321
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2322
+ */
2323
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.toObject = function(includeInstance, msg) {
2324
+ var f, obj = {
2325
+ taskId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2326
+ contextId: jspb.Message.getFieldWithDefault(msg, 2, ""),
2327
+ artifact: (f = msg.getArtifact()) && proto.alis.a2a.extension.history.v1.Artifact.toObject(includeInstance, f),
2328
+ append: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
2329
+ lastChunk: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
2330
+ metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
2331
+ };
2332
+
2333
+ if (includeInstance) {
2334
+ obj.$jspbMessageInstance = msg;
2335
+ }
2336
+ return obj;
2337
+ };
2338
+ }
2339
+
2340
+
2341
+ /**
2342
+ * Deserializes binary data (in protobuf wire format).
2343
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2344
+ * @return {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent}
2345
+ */
2346
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.deserializeBinary = function(bytes) {
2347
+ var reader = new jspb.BinaryReader(bytes);
2348
+ var msg = new proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent;
2349
+ return proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.deserializeBinaryFromReader(msg, reader);
2350
+ };
2351
+
2352
+
2353
+ /**
2354
+ * Deserializes binary data (in protobuf wire format) from the
2355
+ * given reader into the given message object.
2356
+ * @param {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} msg The message object to deserialize into.
2357
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2358
+ * @return {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent}
2359
+ */
2360
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.deserializeBinaryFromReader = function(msg, reader) {
2361
+ while (reader.nextField()) {
2362
+ if (reader.isEndGroup()) {
2363
+ break;
2364
+ }
2365
+ var field = reader.getFieldNumber();
2366
+ switch (field) {
2367
+ case 1:
2368
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2369
+ msg.setTaskId(value);
2370
+ break;
2371
+ case 2:
2372
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2373
+ msg.setContextId(value);
2374
+ break;
2375
+ case 3:
2376
+ var value = new proto.alis.a2a.extension.history.v1.Artifact;
2377
+ reader.readMessage(value,proto.alis.a2a.extension.history.v1.Artifact.deserializeBinaryFromReader);
2378
+ msg.setArtifact(value);
2379
+ break;
2380
+ case 4:
2381
+ var value = /** @type {boolean} */ (reader.readBool());
2382
+ msg.setAppend(value);
2383
+ break;
2384
+ case 5:
2385
+ var value = /** @type {boolean} */ (reader.readBool());
2386
+ msg.setLastChunk(value);
2387
+ break;
2388
+ case 6:
2389
+ var value = new google_protobuf_struct_pb.Struct;
2390
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
2391
+ msg.setMetadata(value);
2392
+ break;
2393
+ default:
2394
+ reader.skipField();
2395
+ break;
2396
+ }
2397
+ }
2398
+ return msg;
2399
+ };
2400
+
2401
+
2402
+ /**
2403
+ * Serializes the message to binary data (in protobuf wire format).
2404
+ * @return {!Uint8Array}
2405
+ */
2406
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.serializeBinary = function() {
2407
+ var writer = new jspb.BinaryWriter();
2408
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.serializeBinaryToWriter(this, writer);
2409
+ return writer.getResultBuffer();
2410
+ };
2411
+
2412
+
2413
+ /**
2414
+ * Serializes the given message to binary data (in protobuf wire
2415
+ * format), writing to the given BinaryWriter.
2416
+ * @param {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} message
2417
+ * @param {!jspb.BinaryWriter} writer
2418
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2419
+ */
2420
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.serializeBinaryToWriter = function(message, writer) {
2421
+ var f = undefined;
2422
+ f = message.getTaskId();
2423
+ if (f.length > 0) {
2424
+ writer.writeString(
2425
+ 1,
2426
+ f
2427
+ );
2428
+ }
2429
+ f = message.getContextId();
2430
+ if (f.length > 0) {
2431
+ writer.writeString(
2432
+ 2,
2433
+ f
2434
+ );
2435
+ }
2436
+ f = message.getArtifact();
2437
+ if (f != null) {
2438
+ writer.writeMessage(
2439
+ 3,
2440
+ f,
2441
+ proto.alis.a2a.extension.history.v1.Artifact.serializeBinaryToWriter
2442
+ );
2443
+ }
2444
+ f = message.getAppend();
2445
+ if (f) {
2446
+ writer.writeBool(
2447
+ 4,
2448
+ f
2449
+ );
2450
+ }
2451
+ f = message.getLastChunk();
2452
+ if (f) {
2453
+ writer.writeBool(
2454
+ 5,
2455
+ f
2456
+ );
2457
+ }
2458
+ f = message.getMetadata();
2459
+ if (f != null) {
2460
+ writer.writeMessage(
2461
+ 6,
2462
+ f,
2463
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
2464
+ );
2465
+ }
2466
+ };
2467
+
2468
+
2469
+ /**
2470
+ * optional string task_id = 1;
2471
+ * @return {string}
2472
+ */
2473
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.getTaskId = function() {
2474
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2475
+ };
2476
+
2477
+
2478
+ /**
2479
+ * @param {string} value
2480
+ * @return {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} returns this
2481
+ */
2482
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.setTaskId = function(value) {
2483
+ return jspb.Message.setProto3StringField(this, 1, value);
2484
+ };
2485
+
2486
+
2487
+ /**
2488
+ * optional string context_id = 2;
2489
+ * @return {string}
2490
+ */
2491
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.getContextId = function() {
2492
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2493
+ };
2494
+
2495
+
2496
+ /**
2497
+ * @param {string} value
2498
+ * @return {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} returns this
2499
+ */
2500
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.setContextId = function(value) {
2501
+ return jspb.Message.setProto3StringField(this, 2, value);
2502
+ };
2503
+
2504
+
2505
+ /**
2506
+ * optional Artifact artifact = 3;
2507
+ * @return {?proto.alis.a2a.extension.history.v1.Artifact}
2508
+ */
2509
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.getArtifact = function() {
2510
+ return /** @type{?proto.alis.a2a.extension.history.v1.Artifact} */ (
2511
+ jspb.Message.getWrapperField(this, proto.alis.a2a.extension.history.v1.Artifact, 3));
2512
+ };
2513
+
2514
+
2515
+ /**
2516
+ * @param {?proto.alis.a2a.extension.history.v1.Artifact|undefined} value
2517
+ * @return {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} returns this
2518
+ */
2519
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.setArtifact = function(value) {
2520
+ return jspb.Message.setWrapperField(this, 3, value);
2521
+ };
2522
+
2523
+
2524
+ /**
2525
+ * Clears the message field making it undefined.
2526
+ * @return {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} returns this
2527
+ */
2528
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.clearArtifact = function() {
2529
+ return this.setArtifact(undefined);
2530
+ };
2531
+
2532
+
2533
+ /**
2534
+ * Returns whether this field is set.
2535
+ * @return {boolean}
2536
+ */
2537
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.hasArtifact = function() {
2538
+ return jspb.Message.getField(this, 3) != null;
2539
+ };
2540
+
2541
+
2542
+ /**
2543
+ * optional bool append = 4;
2544
+ * @return {boolean}
2545
+ */
2546
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.getAppend = function() {
2547
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
2548
+ };
2549
+
2550
+
2551
+ /**
2552
+ * @param {boolean} value
2553
+ * @return {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} returns this
2554
+ */
2555
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.setAppend = function(value) {
2556
+ return jspb.Message.setProto3BooleanField(this, 4, value);
2557
+ };
2558
+
2559
+
2560
+ /**
2561
+ * optional bool last_chunk = 5;
2562
+ * @return {boolean}
2563
+ */
2564
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.getLastChunk = function() {
2565
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
2566
+ };
2567
+
2568
+
2569
+ /**
2570
+ * @param {boolean} value
2571
+ * @return {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} returns this
2572
+ */
2573
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.setLastChunk = function(value) {
2574
+ return jspb.Message.setProto3BooleanField(this, 5, value);
2575
+ };
2576
+
2577
+
2578
+ /**
2579
+ * optional google.protobuf.Struct metadata = 6;
2580
+ * @return {?proto.google.protobuf.Struct}
2581
+ */
2582
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.getMetadata = function() {
2583
+ return /** @type{?proto.google.protobuf.Struct} */ (
2584
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6));
2585
+ };
2586
+
2587
+
2588
+ /**
2589
+ * @param {?proto.google.protobuf.Struct|undefined} value
2590
+ * @return {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} returns this
2591
+ */
2592
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.setMetadata = function(value) {
2593
+ return jspb.Message.setWrapperField(this, 6, value);
2594
+ };
2595
+
2596
+
2597
+ /**
2598
+ * Clears the message field making it undefined.
2599
+ * @return {!proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent} returns this
2600
+ */
2601
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.clearMetadata = function() {
2602
+ return this.setMetadata(undefined);
2603
+ };
2604
+
2605
+
2606
+ /**
2607
+ * Returns whether this field is set.
2608
+ * @return {boolean}
2609
+ */
2610
+ proto.alis.a2a.extension.history.v1.TaskArtifactUpdateEvent.prototype.hasMetadata = function() {
2611
+ return jspb.Message.getField(this, 6) != null;
2612
+ };
2613
+
2614
+
2615
+ /**
2616
+ * @enum {number}
2617
+ */
2618
+ proto.alis.a2a.extension.history.v1.TaskState = {
2619
+ TASK_STATE_UNSPECIFIED: 0,
2620
+ TASK_STATE_SUBMITTED: 1,
2621
+ TASK_STATE_WORKING: 2,
2622
+ TASK_STATE_COMPLETED: 3,
2623
+ TASK_STATE_FAILED: 4,
2624
+ TASK_STATE_CANCELED: 5,
2625
+ TASK_STATE_INPUT_REQUIRED: 6,
2626
+ TASK_STATE_REJECTED: 7,
2627
+ TASK_STATE_AUTH_REQUIRED: 8
2628
+ };
2629
+
2630
+ /**
2631
+ * @enum {number}
2632
+ */
2633
+ proto.alis.a2a.extension.history.v1.Role = {
2634
+ ROLE_UNSPECIFIED: 0,
2635
+ ROLE_USER: 1,
2636
+ ROLE_AGENT: 2
2637
+ };
2638
+
2639
+ goog.object.extend(exports, proto.alis.a2a.extension.history.v1);
2640
+
2641
+ // Below is base64 encoded GeneratedCodeInfo proto
2642
+ // CjMKAgQAEidhbGlzL2EyYS9leHRlbnNpb24vaGlzdG9yeS92MS9hMmEucHJvdG8YohQgphQKMwoCBAESJ2FsaXMvYTJhL2V4dGVuc2lvbi9oaXN0b3J5L3YxL2EyYS5wcm90bxjYGiDiGgozCgIEAhInYWxpcy9hMmEvZXh0ZW5zaW9uL2hpc3RvcnkvdjEvYTJhLnByb3RvGPIgIPYgCjMKAgQDEidhbGlzL2EyYS9leHRlbnNpb24vaGlzdG9yeS92MS9hMmEucHJvdG8YpScgrCcKMwoCBAQSJ2FsaXMvYTJhL2V4dGVuc2lvbi9oaXN0b3J5L3YxL2EyYS5wcm90bxjqLSDyLQozCgIEBRInYWxpcy9hMmEvZXh0ZW5zaW9uL2hpc3RvcnkvdjEvYTJhLnByb3RvGLQ0IMk0CjMKAgQGEidhbGlzL2EyYS9leHRlbnNpb24vaGlzdG9yeS92MS9hMmEucHJvdG8Y+jogkTsKNQoEBAACABInYWxpcy9hMmEvZXh0ZW5zaW9uL2hpc3RvcnkvdjEvYTJhLnByb3RvGN5uIONuCjUKBAQAAgASJ2FsaXMvYTJhL2V4dGVuc2lvbi9oaXN0b3J5L3YxL2EyYS5wcm90bxjgcCDlcAo1CgQEAAIBEidhbGlzL2EyYS9leHRlbnNpb24vaGlzdG9yeS92MS9hMmEucHJvdG8YrXIguXIKNQoEBAACARInYWxpcy9hMmEvZXh0ZW5zaW9uL2hpc3RvcnkvdjEvYTJhLnByb3RvGLZ0IMJ0CjUKBAQAAgISJ2FsaXMvYTJhL2V4dGVuc2lvbi9oaXN0b3J5L3YxL2EyYS5wcm90bxizdiC8dgo1Cg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