@miradorlabs/web-grpc 3.0.0 → 3.2.0

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.
@@ -21,6 +21,8 @@ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/time
21
21
  goog.object.extend(proto, google_protobuf_timestamp_pb);
22
22
  var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
23
23
  goog.object.extend(proto, proto_gateway_common_v1_status_pb);
24
+ var proto_gateway_web_v1_reference_gateway_pb = require('../../../../proto/gateway/web/v1/reference_gateway_pb.js');
25
+ goog.object.extend(proto, proto_gateway_web_v1_reference_gateway_pb);
24
26
  var proto_gateway_web_v1_trace_gateway_pb = require('../../../../proto/gateway/web/v1/trace_gateway_pb.js');
25
27
  goog.object.extend(proto, proto_gateway_web_v1_trace_gateway_pb);
26
28
  goog.exportSymbol('proto.gateway.web.v1.AIContentPart', null, global);
@@ -46,6 +48,7 @@ goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope', null, global);
46
48
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope.FrameCase', null, global);
47
49
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventKind', null, global);
48
50
  goog.exportSymbol('proto.gateway.web.v1.AISessionFilter', null, global);
51
+ goog.exportSymbol('proto.gateway.web.v1.AISessionRef', null, global);
49
52
  goog.exportSymbol('proto.gateway.web.v1.AISessionSummary', null, global);
50
53
  goog.exportSymbol('proto.gateway.web.v1.AITokenActivityDimension', null, global);
51
54
  goog.exportSymbol('proto.gateway.web.v1.AITokenUsage', null, global);
@@ -90,6 +93,11 @@ goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsRequest', null, global)
90
93
  goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsResponse', null, global);
91
94
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsRequest', null, global);
92
95
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsResponse', null, global);
96
+ goog.exportSymbol('proto.gateway.web.v1.ModelActivity', null, global);
97
+ goog.exportSymbol('proto.gateway.web.v1.ModelActivityGroup', null, global);
98
+ goog.exportSymbol('proto.gateway.web.v1.ModelActivityPrincipal', null, global);
99
+ goog.exportSymbol('proto.gateway.web.v1.ModelActivityRequest', null, global);
100
+ goog.exportSymbol('proto.gateway.web.v1.ModelActivityResponse', null, global);
93
101
  goog.exportSymbol('proto.gateway.web.v1.ProjectOverview', null, global);
94
102
  goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewRequest', null, global);
95
103
  goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewSlice', null, global);
@@ -1401,6 +1409,132 @@ if (goog.DEBUG && !COMPILED) {
1401
1409
  */
1402
1410
  proto.gateway.web.v1.ResourceRanking.displayName = 'proto.gateway.web.v1.ResourceRanking';
1403
1411
  }
1412
+ /**
1413
+ * Generated by JsPbCodeGenerator.
1414
+ * @param {Array=} opt_data Optional initial data array, typically from a
1415
+ * server response, or constructed directly in Javascript. The array is used
1416
+ * in place and becomes part of the constructed object. It is not cloned.
1417
+ * If no data is provided, the constructed object will be empty, but still
1418
+ * valid.
1419
+ * @extends {jspb.Message}
1420
+ * @constructor
1421
+ */
1422
+ proto.gateway.web.v1.ModelActivityRequest = function(opt_data) {
1423
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ModelActivityRequest.repeatedFields_, null);
1424
+ };
1425
+ goog.inherits(proto.gateway.web.v1.ModelActivityRequest, jspb.Message);
1426
+ if (goog.DEBUG && !COMPILED) {
1427
+ /**
1428
+ * @public
1429
+ * @override
1430
+ */
1431
+ proto.gateway.web.v1.ModelActivityRequest.displayName = 'proto.gateway.web.v1.ModelActivityRequest';
1432
+ }
1433
+ /**
1434
+ * Generated by JsPbCodeGenerator.
1435
+ * @param {Array=} opt_data Optional initial data array, typically from a
1436
+ * server response, or constructed directly in Javascript. The array is used
1437
+ * in place and becomes part of the constructed object. It is not cloned.
1438
+ * If no data is provided, the constructed object will be empty, but still
1439
+ * valid.
1440
+ * @extends {jspb.Message}
1441
+ * @constructor
1442
+ */
1443
+ proto.gateway.web.v1.ModelActivityGroup = function(opt_data) {
1444
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ModelActivityGroup.repeatedFields_, null);
1445
+ };
1446
+ goog.inherits(proto.gateway.web.v1.ModelActivityGroup, jspb.Message);
1447
+ if (goog.DEBUG && !COMPILED) {
1448
+ /**
1449
+ * @public
1450
+ * @override
1451
+ */
1452
+ proto.gateway.web.v1.ModelActivityGroup.displayName = 'proto.gateway.web.v1.ModelActivityGroup';
1453
+ }
1454
+ /**
1455
+ * Generated by JsPbCodeGenerator.
1456
+ * @param {Array=} opt_data Optional initial data array, typically from a
1457
+ * server response, or constructed directly in Javascript. The array is used
1458
+ * in place and becomes part of the constructed object. It is not cloned.
1459
+ * If no data is provided, the constructed object will be empty, but still
1460
+ * valid.
1461
+ * @extends {jspb.Message}
1462
+ * @constructor
1463
+ */
1464
+ proto.gateway.web.v1.ModelActivityResponse = function(opt_data) {
1465
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ModelActivityResponse.repeatedFields_, null);
1466
+ };
1467
+ goog.inherits(proto.gateway.web.v1.ModelActivityResponse, jspb.Message);
1468
+ if (goog.DEBUG && !COMPILED) {
1469
+ /**
1470
+ * @public
1471
+ * @override
1472
+ */
1473
+ proto.gateway.web.v1.ModelActivityResponse.displayName = 'proto.gateway.web.v1.ModelActivityResponse';
1474
+ }
1475
+ /**
1476
+ * Generated by JsPbCodeGenerator.
1477
+ * @param {Array=} opt_data Optional initial data array, typically from a
1478
+ * server response, or constructed directly in Javascript. The array is used
1479
+ * in place and becomes part of the constructed object. It is not cloned.
1480
+ * If no data is provided, the constructed object will be empty, but still
1481
+ * valid.
1482
+ * @extends {jspb.Message}
1483
+ * @constructor
1484
+ */
1485
+ proto.gateway.web.v1.ModelActivity = function(opt_data) {
1486
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ModelActivity.repeatedFields_, null);
1487
+ };
1488
+ goog.inherits(proto.gateway.web.v1.ModelActivity, jspb.Message);
1489
+ if (goog.DEBUG && !COMPILED) {
1490
+ /**
1491
+ * @public
1492
+ * @override
1493
+ */
1494
+ proto.gateway.web.v1.ModelActivity.displayName = 'proto.gateway.web.v1.ModelActivity';
1495
+ }
1496
+ /**
1497
+ * Generated by JsPbCodeGenerator.
1498
+ * @param {Array=} opt_data Optional initial data array, typically from a
1499
+ * server response, or constructed directly in Javascript. The array is used
1500
+ * in place and becomes part of the constructed object. It is not cloned.
1501
+ * If no data is provided, the constructed object will be empty, but still
1502
+ * valid.
1503
+ * @extends {jspb.Message}
1504
+ * @constructor
1505
+ */
1506
+ proto.gateway.web.v1.ModelActivityPrincipal = function(opt_data) {
1507
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1508
+ };
1509
+ goog.inherits(proto.gateway.web.v1.ModelActivityPrincipal, jspb.Message);
1510
+ if (goog.DEBUG && !COMPILED) {
1511
+ /**
1512
+ * @public
1513
+ * @override
1514
+ */
1515
+ proto.gateway.web.v1.ModelActivityPrincipal.displayName = 'proto.gateway.web.v1.ModelActivityPrincipal';
1516
+ }
1517
+ /**
1518
+ * Generated by JsPbCodeGenerator.
1519
+ * @param {Array=} opt_data Optional initial data array, typically from a
1520
+ * server response, or constructed directly in Javascript. The array is used
1521
+ * in place and becomes part of the constructed object. It is not cloned.
1522
+ * If no data is provided, the constructed object will be empty, but still
1523
+ * valid.
1524
+ * @extends {jspb.Message}
1525
+ * @constructor
1526
+ */
1527
+ proto.gateway.web.v1.AISessionRef = function(opt_data) {
1528
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1529
+ };
1530
+ goog.inherits(proto.gateway.web.v1.AISessionRef, jspb.Message);
1531
+ if (goog.DEBUG && !COMPILED) {
1532
+ /**
1533
+ * @public
1534
+ * @override
1535
+ */
1536
+ proto.gateway.web.v1.AISessionRef.displayName = 'proto.gateway.web.v1.AISessionRef';
1537
+ }
1404
1538
  /**
1405
1539
  * Generated by JsPbCodeGenerator.
1406
1540
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3083,7 +3217,7 @@ proto.gateway.web.v1.SessionPagination.prototype.setTotalPages = function(value)
3083
3217
  * @private {!Array<number>}
3084
3218
  * @const
3085
3219
  */
3086
- proto.gateway.web.v1.AISessionSummary.repeatedFields_ = [13,14,20,21,26,27,28,29];
3220
+ proto.gateway.web.v1.AISessionSummary.repeatedFields_ = [13,14,20,21,26,27,28,29,31,32];
3087
3221
 
3088
3222
 
3089
3223
 
@@ -3145,7 +3279,9 @@ effortsList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined :
3145
3279
  billingPartiesList: (f = jspb.Message.getRepeatedField(msg, 27)) == null ? undefined : f,
3146
3280
  costSourcesList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f,
3147
3281
  accountIdsList: (f = jspb.Message.getRepeatedField(msg, 29)) == null ? undefined : f,
3148
- observer: jspb.Message.getFieldWithDefault(msg, 30, "")
3282
+ observer: jspb.Message.getFieldWithDefault(msg, 30, ""),
3283
+ clientsList: (f = jspb.Message.getRepeatedField(msg, 31)) == null ? undefined : f,
3284
+ clientVersionsList: (f = jspb.Message.getRepeatedField(msg, 32)) == null ? undefined : f
3149
3285
  };
3150
3286
 
3151
3287
  if (includeInstance) {
@@ -3305,6 +3441,14 @@ proto.gateway.web.v1.AISessionSummary.deserializeBinaryFromReader = function(msg
3305
3441
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
3306
3442
  msg.setObserver(value);
3307
3443
  break;
3444
+ case 31:
3445
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3446
+ msg.addClients(value);
3447
+ break;
3448
+ case 32:
3449
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3450
+ msg.addClientVersions(value);
3451
+ break;
3308
3452
  default:
3309
3453
  reader.skipField();
3310
3454
  break;
@@ -3547,6 +3691,20 @@ proto.gateway.web.v1.AISessionSummary.serializeBinaryToWriter = function(message
3547
3691
  f
3548
3692
  );
3549
3693
  }
3694
+ f = message.getClientsList();
3695
+ if (f.length > 0) {
3696
+ writer.writeRepeatedString(
3697
+ 31,
3698
+ f
3699
+ );
3700
+ }
3701
+ f = message.getClientVersionsList();
3702
+ if (f.length > 0) {
3703
+ writer.writeRepeatedString(
3704
+ 32,
3705
+ f
3706
+ );
3707
+ }
3550
3708
  };
3551
3709
 
3552
3710
 
@@ -4299,6 +4457,80 @@ proto.gateway.web.v1.AISessionSummary.prototype.setObserver = function(value) {
4299
4457
  };
4300
4458
 
4301
4459
 
4460
+ /**
4461
+ * repeated string clients = 31;
4462
+ * @return {!Array<string>}
4463
+ */
4464
+ proto.gateway.web.v1.AISessionSummary.prototype.getClientsList = function() {
4465
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 31));
4466
+ };
4467
+
4468
+
4469
+ /**
4470
+ * @param {!Array<string>} value
4471
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4472
+ */
4473
+ proto.gateway.web.v1.AISessionSummary.prototype.setClientsList = function(value) {
4474
+ return jspb.Message.setField(this, 31, value || []);
4475
+ };
4476
+
4477
+
4478
+ /**
4479
+ * @param {string} value
4480
+ * @param {number=} opt_index
4481
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4482
+ */
4483
+ proto.gateway.web.v1.AISessionSummary.prototype.addClients = function(value, opt_index) {
4484
+ return jspb.Message.addToRepeatedField(this, 31, value, opt_index);
4485
+ };
4486
+
4487
+
4488
+ /**
4489
+ * Clears the list making it empty but non-null.
4490
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4491
+ */
4492
+ proto.gateway.web.v1.AISessionSummary.prototype.clearClientsList = function() {
4493
+ return this.setClientsList([]);
4494
+ };
4495
+
4496
+
4497
+ /**
4498
+ * repeated string client_versions = 32;
4499
+ * @return {!Array<string>}
4500
+ */
4501
+ proto.gateway.web.v1.AISessionSummary.prototype.getClientVersionsList = function() {
4502
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 32));
4503
+ };
4504
+
4505
+
4506
+ /**
4507
+ * @param {!Array<string>} value
4508
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4509
+ */
4510
+ proto.gateway.web.v1.AISessionSummary.prototype.setClientVersionsList = function(value) {
4511
+ return jspb.Message.setField(this, 32, value || []);
4512
+ };
4513
+
4514
+
4515
+ /**
4516
+ * @param {string} value
4517
+ * @param {number=} opt_index
4518
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4519
+ */
4520
+ proto.gateway.web.v1.AISessionSummary.prototype.addClientVersions = function(value, opt_index) {
4521
+ return jspb.Message.addToRepeatedField(this, 32, value, opt_index);
4522
+ };
4523
+
4524
+
4525
+ /**
4526
+ * Clears the list making it empty but non-null.
4527
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4528
+ */
4529
+ proto.gateway.web.v1.AISessionSummary.prototype.clearClientVersionsList = function() {
4530
+ return this.setClientVersionsList([]);
4531
+ };
4532
+
4533
+
4302
4534
 
4303
4535
 
4304
4536
 
@@ -9889,7 +10121,7 @@ proto.gateway.web.v1.SessionTimelinePoint.prototype.setEffort = function(value)
9889
10121
  * @private {!Array<number>}
9890
10122
  * @const
9891
10123
  */
9892
- proto.gateway.web.v1.AIGitActivityFilter.repeatedFields_ = [1,2];
10124
+ proto.gateway.web.v1.AIGitActivityFilter.repeatedFields_ = [1];
9893
10125
 
9894
10126
 
9895
10127
 
@@ -9922,8 +10154,8 @@ proto.gateway.web.v1.AIGitActivityFilter.prototype.toObject = function(opt_inclu
9922
10154
  */
9923
10155
  proto.gateway.web.v1.AIGitActivityFilter.toObject = function(includeInstance, msg) {
9924
10156
  var f, obj = {
9925
- sessionIdList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
9926
- sourceSystemList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
10157
+ sessionList: jspb.Message.toObjectList(msg.getSessionList(),
10158
+ proto.gateway.web.v1.AISessionRef.toObject, includeInstance),
9927
10159
  eventTimeAfter: (f = msg.getEventTimeAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
9928
10160
  eventTimeBefore: (f = msg.getEventTimeBefore()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
9929
10161
  };
@@ -9963,19 +10195,16 @@ proto.gateway.web.v1.AIGitActivityFilter.deserializeBinaryFromReader = function(
9963
10195
  var field = reader.getFieldNumber();
9964
10196
  switch (field) {
9965
10197
  case 1:
9966
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
9967
- msg.addSessionId(value);
10198
+ var value = new proto.gateway.web.v1.AISessionRef;
10199
+ reader.readMessage(value,proto.gateway.web.v1.AISessionRef.deserializeBinaryFromReader);
10200
+ msg.addSession(value);
9968
10201
  break;
9969
10202
  case 2:
9970
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
9971
- msg.addSourceSystem(value);
9972
- break;
9973
- case 3:
9974
10203
  var value = new google_protobuf_timestamp_pb.Timestamp;
9975
10204
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
9976
10205
  msg.setEventTimeAfter(value);
9977
10206
  break;
9978
- case 4:
10207
+ case 3:
9979
10208
  var value = new google_protobuf_timestamp_pb.Timestamp;
9980
10209
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
9981
10210
  msg.setEventTimeBefore(value);
@@ -10009,24 +10238,18 @@ proto.gateway.web.v1.AIGitActivityFilter.prototype.serializeBinary = function()
10009
10238
  */
10010
10239
  proto.gateway.web.v1.AIGitActivityFilter.serializeBinaryToWriter = function(message, writer) {
10011
10240
  var f = undefined;
10012
- f = message.getSessionIdList();
10241
+ f = message.getSessionList();
10013
10242
  if (f.length > 0) {
10014
- writer.writeRepeatedString(
10243
+ writer.writeRepeatedMessage(
10015
10244
  1,
10016
- f
10017
- );
10018
- }
10019
- f = message.getSourceSystemList();
10020
- if (f.length > 0) {
10021
- writer.writeRepeatedString(
10022
- 2,
10023
- f
10245
+ f,
10246
+ proto.gateway.web.v1.AISessionRef.serializeBinaryToWriter
10024
10247
  );
10025
10248
  }
10026
10249
  f = message.getEventTimeAfter();
10027
10250
  if (f != null) {
10028
10251
  writer.writeMessage(
10029
- 3,
10252
+ 2,
10030
10253
  f,
10031
10254
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
10032
10255
  );
@@ -10034,7 +10257,7 @@ proto.gateway.web.v1.AIGitActivityFilter.serializeBinaryToWriter = function(mess
10034
10257
  f = message.getEventTimeBefore();
10035
10258
  if (f != null) {
10036
10259
  writer.writeMessage(
10037
- 4,
10260
+ 3,
10038
10261
  f,
10039
10262
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
10040
10263
  );
@@ -10043,67 +10266,31 @@ proto.gateway.web.v1.AIGitActivityFilter.serializeBinaryToWriter = function(mess
10043
10266
 
10044
10267
 
10045
10268
  /**
10046
- * repeated string session_id = 1;
10047
- * @return {!Array<string>}
10048
- */
10049
- proto.gateway.web.v1.AIGitActivityFilter.prototype.getSessionIdList = function() {
10050
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
10051
- };
10052
-
10053
-
10054
- /**
10055
- * @param {!Array<string>} value
10056
- * @return {!proto.gateway.web.v1.AIGitActivityFilter} returns this
10057
- */
10058
- proto.gateway.web.v1.AIGitActivityFilter.prototype.setSessionIdList = function(value) {
10059
- return jspb.Message.setField(this, 1, value || []);
10060
- };
10061
-
10062
-
10063
- /**
10064
- * @param {string} value
10065
- * @param {number=} opt_index
10066
- * @return {!proto.gateway.web.v1.AIGitActivityFilter} returns this
10067
- */
10068
- proto.gateway.web.v1.AIGitActivityFilter.prototype.addSessionId = function(value, opt_index) {
10069
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
10070
- };
10071
-
10072
-
10073
- /**
10074
- * Clears the list making it empty but non-null.
10075
- * @return {!proto.gateway.web.v1.AIGitActivityFilter} returns this
10076
- */
10077
- proto.gateway.web.v1.AIGitActivityFilter.prototype.clearSessionIdList = function() {
10078
- return this.setSessionIdList([]);
10079
- };
10080
-
10081
-
10082
- /**
10083
- * repeated string source_system = 2;
10084
- * @return {!Array<string>}
10269
+ * repeated AISessionRef session = 1;
10270
+ * @return {!Array<!proto.gateway.web.v1.AISessionRef>}
10085
10271
  */
10086
- proto.gateway.web.v1.AIGitActivityFilter.prototype.getSourceSystemList = function() {
10087
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
10272
+ proto.gateway.web.v1.AIGitActivityFilter.prototype.getSessionList = function() {
10273
+ return /** @type{!Array<!proto.gateway.web.v1.AISessionRef>} */ (
10274
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionRef, 1));
10088
10275
  };
10089
10276
 
10090
10277
 
10091
10278
  /**
10092
- * @param {!Array<string>} value
10279
+ * @param {!Array<!proto.gateway.web.v1.AISessionRef>} value
10093
10280
  * @return {!proto.gateway.web.v1.AIGitActivityFilter} returns this
10094
- */
10095
- proto.gateway.web.v1.AIGitActivityFilter.prototype.setSourceSystemList = function(value) {
10096
- return jspb.Message.setField(this, 2, value || []);
10281
+ */
10282
+ proto.gateway.web.v1.AIGitActivityFilter.prototype.setSessionList = function(value) {
10283
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
10097
10284
  };
10098
10285
 
10099
10286
 
10100
10287
  /**
10101
- * @param {string} value
10288
+ * @param {!proto.gateway.web.v1.AISessionRef=} opt_value
10102
10289
  * @param {number=} opt_index
10103
- * @return {!proto.gateway.web.v1.AIGitActivityFilter} returns this
10290
+ * @return {!proto.gateway.web.v1.AISessionRef}
10104
10291
  */
10105
- proto.gateway.web.v1.AIGitActivityFilter.prototype.addSourceSystem = function(value, opt_index) {
10106
- return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
10292
+ proto.gateway.web.v1.AIGitActivityFilter.prototype.addSession = function(opt_value, opt_index) {
10293
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.gateway.web.v1.AISessionRef, opt_index);
10107
10294
  };
10108
10295
 
10109
10296
 
@@ -10111,18 +10298,18 @@ proto.gateway.web.v1.AIGitActivityFilter.prototype.addSourceSystem = function(va
10111
10298
  * Clears the list making it empty but non-null.
10112
10299
  * @return {!proto.gateway.web.v1.AIGitActivityFilter} returns this
10113
10300
  */
10114
- proto.gateway.web.v1.AIGitActivityFilter.prototype.clearSourceSystemList = function() {
10115
- return this.setSourceSystemList([]);
10301
+ proto.gateway.web.v1.AIGitActivityFilter.prototype.clearSessionList = function() {
10302
+ return this.setSessionList([]);
10116
10303
  };
10117
10304
 
10118
10305
 
10119
10306
  /**
10120
- * optional google.protobuf.Timestamp event_time_after = 3;
10307
+ * optional google.protobuf.Timestamp event_time_after = 2;
10121
10308
  * @return {?proto.google.protobuf.Timestamp}
10122
10309
  */
10123
10310
  proto.gateway.web.v1.AIGitActivityFilter.prototype.getEventTimeAfter = function() {
10124
10311
  return /** @type{?proto.google.protobuf.Timestamp} */ (
10125
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
10312
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
10126
10313
  };
10127
10314
 
10128
10315
 
@@ -10131,7 +10318,7 @@ proto.gateway.web.v1.AIGitActivityFilter.prototype.getEventTimeAfter = function(
10131
10318
  * @return {!proto.gateway.web.v1.AIGitActivityFilter} returns this
10132
10319
  */
10133
10320
  proto.gateway.web.v1.AIGitActivityFilter.prototype.setEventTimeAfter = function(value) {
10134
- return jspb.Message.setWrapperField(this, 3, value);
10321
+ return jspb.Message.setWrapperField(this, 2, value);
10135
10322
  };
10136
10323
 
10137
10324
 
@@ -10149,17 +10336,17 @@ proto.gateway.web.v1.AIGitActivityFilter.prototype.clearEventTimeAfter = functio
10149
10336
  * @return {boolean}
10150
10337
  */
10151
10338
  proto.gateway.web.v1.AIGitActivityFilter.prototype.hasEventTimeAfter = function() {
10152
- return jspb.Message.getField(this, 3) != null;
10339
+ return jspb.Message.getField(this, 2) != null;
10153
10340
  };
10154
10341
 
10155
10342
 
10156
10343
  /**
10157
- * optional google.protobuf.Timestamp event_time_before = 4;
10344
+ * optional google.protobuf.Timestamp event_time_before = 3;
10158
10345
  * @return {?proto.google.protobuf.Timestamp}
10159
10346
  */
10160
10347
  proto.gateway.web.v1.AIGitActivityFilter.prototype.getEventTimeBefore = function() {
10161
10348
  return /** @type{?proto.google.protobuf.Timestamp} */ (
10162
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
10349
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
10163
10350
  };
10164
10351
 
10165
10352
 
@@ -10168,7 +10355,7 @@ proto.gateway.web.v1.AIGitActivityFilter.prototype.getEventTimeBefore = function
10168
10355
  * @return {!proto.gateway.web.v1.AIGitActivityFilter} returns this
10169
10356
  */
10170
10357
  proto.gateway.web.v1.AIGitActivityFilter.prototype.setEventTimeBefore = function(value) {
10171
- return jspb.Message.setWrapperField(this, 4, value);
10358
+ return jspb.Message.setWrapperField(this, 3, value);
10172
10359
  };
10173
10360
 
10174
10361
 
@@ -10186,7 +10373,7 @@ proto.gateway.web.v1.AIGitActivityFilter.prototype.clearEventTimeBefore = functi
10186
10373
  * @return {boolean}
10187
10374
  */
10188
10375
  proto.gateway.web.v1.AIGitActivityFilter.prototype.hasEventTimeBefore = function() {
10189
- return jspb.Message.getField(this, 4) != null;
10376
+ return jspb.Message.getField(this, 3) != null;
10190
10377
  };
10191
10378
 
10192
10379
 
@@ -21866,7 +22053,7 @@ proto.gateway.web.v1.ResourceRanking.prototype.setSessionCount = function(value)
21866
22053
  * @private {!Array<number>}
21867
22054
  * @const
21868
22055
  */
21869
- proto.gateway.web.v1.AIFileFilter.repeatedFields_ = [1,2,3,4,5];
22056
+ proto.gateway.web.v1.ModelActivityRequest.repeatedFields_ = [3];
21870
22057
 
21871
22058
 
21872
22059
 
@@ -21883,8 +22070,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
21883
22070
  * http://goto/soy-param-migration
21884
22071
  * @return {!Object}
21885
22072
  */
21886
- proto.gateway.web.v1.AIFileFilter.prototype.toObject = function(opt_includeInstance) {
21887
- return proto.gateway.web.v1.AIFileFilter.toObject(opt_includeInstance, this);
22073
+ proto.gateway.web.v1.ModelActivityRequest.prototype.toObject = function(opt_includeInstance) {
22074
+ return proto.gateway.web.v1.ModelActivityRequest.toObject(opt_includeInstance, this);
21888
22075
  };
21889
22076
 
21890
22077
 
@@ -21893,17 +22080,1998 @@ proto.gateway.web.v1.AIFileFilter.prototype.toObject = function(opt_includeInsta
21893
22080
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21894
22081
  * the JSPB instance for transitional soy proto support:
21895
22082
  * http://goto/soy-param-migration
21896
- * @param {!proto.gateway.web.v1.AIFileFilter} msg The msg instance to transform.
22083
+ * @param {!proto.gateway.web.v1.ModelActivityRequest} msg The msg instance to transform.
21897
22084
  * @return {!Object}
21898
22085
  * @suppress {unusedLocalVariables} f is only used for nested messages
21899
22086
  */
21900
- proto.gateway.web.v1.AIFileFilter.toObject = function(includeInstance, msg) {
22087
+ proto.gateway.web.v1.ModelActivityRequest.toObject = function(includeInstance, msg) {
21901
22088
  var f, obj = {
21902
- repositoryKeyList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
22089
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
22090
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
22091
+ groupsList: jspb.Message.toObjectList(msg.getGroupsList(),
22092
+ proto.gateway.web.v1.ModelActivityGroup.toObject, includeInstance),
22093
+ startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
22094
+ endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
22095
+ };
22096
+
22097
+ if (includeInstance) {
22098
+ obj.$jspbMessageInstance = msg;
22099
+ }
22100
+ return obj;
22101
+ };
22102
+ }
22103
+
22104
+
22105
+ /**
22106
+ * Deserializes binary data (in protobuf wire format).
22107
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
22108
+ * @return {!proto.gateway.web.v1.ModelActivityRequest}
22109
+ */
22110
+ proto.gateway.web.v1.ModelActivityRequest.deserializeBinary = function(bytes) {
22111
+ var reader = new jspb.BinaryReader(bytes);
22112
+ var msg = new proto.gateway.web.v1.ModelActivityRequest;
22113
+ return proto.gateway.web.v1.ModelActivityRequest.deserializeBinaryFromReader(msg, reader);
22114
+ };
22115
+
22116
+
22117
+ /**
22118
+ * Deserializes binary data (in protobuf wire format) from the
22119
+ * given reader into the given message object.
22120
+ * @param {!proto.gateway.web.v1.ModelActivityRequest} msg The message object to deserialize into.
22121
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22122
+ * @return {!proto.gateway.web.v1.ModelActivityRequest}
22123
+ */
22124
+ proto.gateway.web.v1.ModelActivityRequest.deserializeBinaryFromReader = function(msg, reader) {
22125
+ while (reader.nextField()) {
22126
+ if (reader.isEndGroup()) {
22127
+ break;
22128
+ }
22129
+ var field = reader.getFieldNumber();
22130
+ switch (field) {
22131
+ case 1:
22132
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
22133
+ msg.setOrganizationId(value);
22134
+ break;
22135
+ case 2:
22136
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
22137
+ msg.setProjectId(value);
22138
+ break;
22139
+ case 3:
22140
+ var value = new proto.gateway.web.v1.ModelActivityGroup;
22141
+ reader.readMessage(value,proto.gateway.web.v1.ModelActivityGroup.deserializeBinaryFromReader);
22142
+ msg.addGroups(value);
22143
+ break;
22144
+ case 4:
22145
+ var value = new google_protobuf_timestamp_pb.Timestamp;
22146
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
22147
+ msg.setStartTime(value);
22148
+ break;
22149
+ case 5:
22150
+ var value = new google_protobuf_timestamp_pb.Timestamp;
22151
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
22152
+ msg.setEndTime(value);
22153
+ break;
22154
+ default:
22155
+ reader.skipField();
22156
+ break;
22157
+ }
22158
+ }
22159
+ return msg;
22160
+ };
22161
+
22162
+
22163
+ /**
22164
+ * Serializes the message to binary data (in protobuf wire format).
22165
+ * @return {!Uint8Array}
22166
+ */
22167
+ proto.gateway.web.v1.ModelActivityRequest.prototype.serializeBinary = function() {
22168
+ var writer = new jspb.BinaryWriter();
22169
+ proto.gateway.web.v1.ModelActivityRequest.serializeBinaryToWriter(this, writer);
22170
+ return writer.getResultBuffer();
22171
+ };
22172
+
22173
+
22174
+ /**
22175
+ * Serializes the given message to binary data (in protobuf wire
22176
+ * format), writing to the given BinaryWriter.
22177
+ * @param {!proto.gateway.web.v1.ModelActivityRequest} message
22178
+ * @param {!jspb.BinaryWriter} writer
22179
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22180
+ */
22181
+ proto.gateway.web.v1.ModelActivityRequest.serializeBinaryToWriter = function(message, writer) {
22182
+ var f = undefined;
22183
+ f = message.getOrganizationId();
22184
+ if (f.length > 0) {
22185
+ writer.writeString(
22186
+ 1,
22187
+ f
22188
+ );
22189
+ }
22190
+ f = message.getProjectId();
22191
+ if (f.length > 0) {
22192
+ writer.writeString(
22193
+ 2,
22194
+ f
22195
+ );
22196
+ }
22197
+ f = message.getGroupsList();
22198
+ if (f.length > 0) {
22199
+ writer.writeRepeatedMessage(
22200
+ 3,
22201
+ f,
22202
+ proto.gateway.web.v1.ModelActivityGroup.serializeBinaryToWriter
22203
+ );
22204
+ }
22205
+ f = message.getStartTime();
22206
+ if (f != null) {
22207
+ writer.writeMessage(
22208
+ 4,
22209
+ f,
22210
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
22211
+ );
22212
+ }
22213
+ f = message.getEndTime();
22214
+ if (f != null) {
22215
+ writer.writeMessage(
22216
+ 5,
22217
+ f,
22218
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
22219
+ );
22220
+ }
22221
+ };
22222
+
22223
+
22224
+ /**
22225
+ * optional string organization_id = 1;
22226
+ * @return {string}
22227
+ */
22228
+ proto.gateway.web.v1.ModelActivityRequest.prototype.getOrganizationId = function() {
22229
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
22230
+ };
22231
+
22232
+
22233
+ /**
22234
+ * @param {string} value
22235
+ * @return {!proto.gateway.web.v1.ModelActivityRequest} returns this
22236
+ */
22237
+ proto.gateway.web.v1.ModelActivityRequest.prototype.setOrganizationId = function(value) {
22238
+ return jspb.Message.setProto3StringField(this, 1, value);
22239
+ };
22240
+
22241
+
22242
+ /**
22243
+ * optional string project_id = 2;
22244
+ * @return {string}
22245
+ */
22246
+ proto.gateway.web.v1.ModelActivityRequest.prototype.getProjectId = function() {
22247
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
22248
+ };
22249
+
22250
+
22251
+ /**
22252
+ * @param {string} value
22253
+ * @return {!proto.gateway.web.v1.ModelActivityRequest} returns this
22254
+ */
22255
+ proto.gateway.web.v1.ModelActivityRequest.prototype.setProjectId = function(value) {
22256
+ return jspb.Message.setProto3StringField(this, 2, value);
22257
+ };
22258
+
22259
+
22260
+ /**
22261
+ * repeated ModelActivityGroup groups = 3;
22262
+ * @return {!Array<!proto.gateway.web.v1.ModelActivityGroup>}
22263
+ */
22264
+ proto.gateway.web.v1.ModelActivityRequest.prototype.getGroupsList = function() {
22265
+ return /** @type{!Array<!proto.gateway.web.v1.ModelActivityGroup>} */ (
22266
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ModelActivityGroup, 3));
22267
+ };
22268
+
22269
+
22270
+ /**
22271
+ * @param {!Array<!proto.gateway.web.v1.ModelActivityGroup>} value
22272
+ * @return {!proto.gateway.web.v1.ModelActivityRequest} returns this
22273
+ */
22274
+ proto.gateway.web.v1.ModelActivityRequest.prototype.setGroupsList = function(value) {
22275
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
22276
+ };
22277
+
22278
+
22279
+ /**
22280
+ * @param {!proto.gateway.web.v1.ModelActivityGroup=} opt_value
22281
+ * @param {number=} opt_index
22282
+ * @return {!proto.gateway.web.v1.ModelActivityGroup}
22283
+ */
22284
+ proto.gateway.web.v1.ModelActivityRequest.prototype.addGroups = function(opt_value, opt_index) {
22285
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.ModelActivityGroup, opt_index);
22286
+ };
22287
+
22288
+
22289
+ /**
22290
+ * Clears the list making it empty but non-null.
22291
+ * @return {!proto.gateway.web.v1.ModelActivityRequest} returns this
22292
+ */
22293
+ proto.gateway.web.v1.ModelActivityRequest.prototype.clearGroupsList = function() {
22294
+ return this.setGroupsList([]);
22295
+ };
22296
+
22297
+
22298
+ /**
22299
+ * optional google.protobuf.Timestamp start_time = 4;
22300
+ * @return {?proto.google.protobuf.Timestamp}
22301
+ */
22302
+ proto.gateway.web.v1.ModelActivityRequest.prototype.getStartTime = function() {
22303
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
22304
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
22305
+ };
22306
+
22307
+
22308
+ /**
22309
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
22310
+ * @return {!proto.gateway.web.v1.ModelActivityRequest} returns this
22311
+ */
22312
+ proto.gateway.web.v1.ModelActivityRequest.prototype.setStartTime = function(value) {
22313
+ return jspb.Message.setWrapperField(this, 4, value);
22314
+ };
22315
+
22316
+
22317
+ /**
22318
+ * Clears the message field making it undefined.
22319
+ * @return {!proto.gateway.web.v1.ModelActivityRequest} returns this
22320
+ */
22321
+ proto.gateway.web.v1.ModelActivityRequest.prototype.clearStartTime = function() {
22322
+ return this.setStartTime(undefined);
22323
+ };
22324
+
22325
+
22326
+ /**
22327
+ * Returns whether this field is set.
22328
+ * @return {boolean}
22329
+ */
22330
+ proto.gateway.web.v1.ModelActivityRequest.prototype.hasStartTime = function() {
22331
+ return jspb.Message.getField(this, 4) != null;
22332
+ };
22333
+
22334
+
22335
+ /**
22336
+ * optional google.protobuf.Timestamp end_time = 5;
22337
+ * @return {?proto.google.protobuf.Timestamp}
22338
+ */
22339
+ proto.gateway.web.v1.ModelActivityRequest.prototype.getEndTime = function() {
22340
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
22341
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
22342
+ };
22343
+
22344
+
22345
+ /**
22346
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
22347
+ * @return {!proto.gateway.web.v1.ModelActivityRequest} returns this
22348
+ */
22349
+ proto.gateway.web.v1.ModelActivityRequest.prototype.setEndTime = function(value) {
22350
+ return jspb.Message.setWrapperField(this, 5, value);
22351
+ };
22352
+
22353
+
22354
+ /**
22355
+ * Clears the message field making it undefined.
22356
+ * @return {!proto.gateway.web.v1.ModelActivityRequest} returns this
22357
+ */
22358
+ proto.gateway.web.v1.ModelActivityRequest.prototype.clearEndTime = function() {
22359
+ return this.setEndTime(undefined);
22360
+ };
22361
+
22362
+
22363
+ /**
22364
+ * Returns whether this field is set.
22365
+ * @return {boolean}
22366
+ */
22367
+ proto.gateway.web.v1.ModelActivityRequest.prototype.hasEndTime = function() {
22368
+ return jspb.Message.getField(this, 5) != null;
22369
+ };
22370
+
22371
+
22372
+
22373
+ /**
22374
+ * List of repeated fields within this message type.
22375
+ * @private {!Array<number>}
22376
+ * @const
22377
+ */
22378
+ proto.gateway.web.v1.ModelActivityGroup.repeatedFields_ = [2];
22379
+
22380
+
22381
+
22382
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22383
+ /**
22384
+ * Creates an object representation of this proto.
22385
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22386
+ * Optional fields that are not set will be set to undefined.
22387
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22388
+ * For the list of reserved names please see:
22389
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22390
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22391
+ * JSPB instance for transitional soy proto support:
22392
+ * http://goto/soy-param-migration
22393
+ * @return {!Object}
22394
+ */
22395
+ proto.gateway.web.v1.ModelActivityGroup.prototype.toObject = function(opt_includeInstance) {
22396
+ return proto.gateway.web.v1.ModelActivityGroup.toObject(opt_includeInstance, this);
22397
+ };
22398
+
22399
+
22400
+ /**
22401
+ * Static version of the {@see toObject} method.
22402
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22403
+ * the JSPB instance for transitional soy proto support:
22404
+ * http://goto/soy-param-migration
22405
+ * @param {!proto.gateway.web.v1.ModelActivityGroup} msg The msg instance to transform.
22406
+ * @return {!Object}
22407
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22408
+ */
22409
+ proto.gateway.web.v1.ModelActivityGroup.toObject = function(includeInstance, msg) {
22410
+ var f, obj = {
22411
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
22412
+ modelNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
22413
+ };
22414
+
22415
+ if (includeInstance) {
22416
+ obj.$jspbMessageInstance = msg;
22417
+ }
22418
+ return obj;
22419
+ };
22420
+ }
22421
+
22422
+
22423
+ /**
22424
+ * Deserializes binary data (in protobuf wire format).
22425
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
22426
+ * @return {!proto.gateway.web.v1.ModelActivityGroup}
22427
+ */
22428
+ proto.gateway.web.v1.ModelActivityGroup.deserializeBinary = function(bytes) {
22429
+ var reader = new jspb.BinaryReader(bytes);
22430
+ var msg = new proto.gateway.web.v1.ModelActivityGroup;
22431
+ return proto.gateway.web.v1.ModelActivityGroup.deserializeBinaryFromReader(msg, reader);
22432
+ };
22433
+
22434
+
22435
+ /**
22436
+ * Deserializes binary data (in protobuf wire format) from the
22437
+ * given reader into the given message object.
22438
+ * @param {!proto.gateway.web.v1.ModelActivityGroup} msg The message object to deserialize into.
22439
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22440
+ * @return {!proto.gateway.web.v1.ModelActivityGroup}
22441
+ */
22442
+ proto.gateway.web.v1.ModelActivityGroup.deserializeBinaryFromReader = function(msg, reader) {
22443
+ while (reader.nextField()) {
22444
+ if (reader.isEndGroup()) {
22445
+ break;
22446
+ }
22447
+ var field = reader.getFieldNumber();
22448
+ switch (field) {
22449
+ case 1:
22450
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
22451
+ msg.setKey(value);
22452
+ break;
22453
+ case 2:
22454
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
22455
+ msg.addModelNames(value);
22456
+ break;
22457
+ default:
22458
+ reader.skipField();
22459
+ break;
22460
+ }
22461
+ }
22462
+ return msg;
22463
+ };
22464
+
22465
+
22466
+ /**
22467
+ * Serializes the message to binary data (in protobuf wire format).
22468
+ * @return {!Uint8Array}
22469
+ */
22470
+ proto.gateway.web.v1.ModelActivityGroup.prototype.serializeBinary = function() {
22471
+ var writer = new jspb.BinaryWriter();
22472
+ proto.gateway.web.v1.ModelActivityGroup.serializeBinaryToWriter(this, writer);
22473
+ return writer.getResultBuffer();
22474
+ };
22475
+
22476
+
22477
+ /**
22478
+ * Serializes the given message to binary data (in protobuf wire
22479
+ * format), writing to the given BinaryWriter.
22480
+ * @param {!proto.gateway.web.v1.ModelActivityGroup} message
22481
+ * @param {!jspb.BinaryWriter} writer
22482
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22483
+ */
22484
+ proto.gateway.web.v1.ModelActivityGroup.serializeBinaryToWriter = function(message, writer) {
22485
+ var f = undefined;
22486
+ f = message.getKey();
22487
+ if (f.length > 0) {
22488
+ writer.writeString(
22489
+ 1,
22490
+ f
22491
+ );
22492
+ }
22493
+ f = message.getModelNamesList();
22494
+ if (f.length > 0) {
22495
+ writer.writeRepeatedString(
22496
+ 2,
22497
+ f
22498
+ );
22499
+ }
22500
+ };
22501
+
22502
+
22503
+ /**
22504
+ * optional string key = 1;
22505
+ * @return {string}
22506
+ */
22507
+ proto.gateway.web.v1.ModelActivityGroup.prototype.getKey = function() {
22508
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
22509
+ };
22510
+
22511
+
22512
+ /**
22513
+ * @param {string} value
22514
+ * @return {!proto.gateway.web.v1.ModelActivityGroup} returns this
22515
+ */
22516
+ proto.gateway.web.v1.ModelActivityGroup.prototype.setKey = function(value) {
22517
+ return jspb.Message.setProto3StringField(this, 1, value);
22518
+ };
22519
+
22520
+
22521
+ /**
22522
+ * repeated string model_names = 2;
22523
+ * @return {!Array<string>}
22524
+ */
22525
+ proto.gateway.web.v1.ModelActivityGroup.prototype.getModelNamesList = function() {
22526
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
22527
+ };
22528
+
22529
+
22530
+ /**
22531
+ * @param {!Array<string>} value
22532
+ * @return {!proto.gateway.web.v1.ModelActivityGroup} returns this
22533
+ */
22534
+ proto.gateway.web.v1.ModelActivityGroup.prototype.setModelNamesList = function(value) {
22535
+ return jspb.Message.setField(this, 2, value || []);
22536
+ };
22537
+
22538
+
22539
+ /**
22540
+ * @param {string} value
22541
+ * @param {number=} opt_index
22542
+ * @return {!proto.gateway.web.v1.ModelActivityGroup} returns this
22543
+ */
22544
+ proto.gateway.web.v1.ModelActivityGroup.prototype.addModelNames = function(value, opt_index) {
22545
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
22546
+ };
22547
+
22548
+
22549
+ /**
22550
+ * Clears the list making it empty but non-null.
22551
+ * @return {!proto.gateway.web.v1.ModelActivityGroup} returns this
22552
+ */
22553
+ proto.gateway.web.v1.ModelActivityGroup.prototype.clearModelNamesList = function() {
22554
+ return this.setModelNamesList([]);
22555
+ };
22556
+
22557
+
22558
+
22559
+ /**
22560
+ * List of repeated fields within this message type.
22561
+ * @private {!Array<number>}
22562
+ * @const
22563
+ */
22564
+ proto.gateway.web.v1.ModelActivityResponse.repeatedFields_ = [2];
22565
+
22566
+
22567
+
22568
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22569
+ /**
22570
+ * Creates an object representation of this proto.
22571
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22572
+ * Optional fields that are not set will be set to undefined.
22573
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22574
+ * For the list of reserved names please see:
22575
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22576
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22577
+ * JSPB instance for transitional soy proto support:
22578
+ * http://goto/soy-param-migration
22579
+ * @return {!Object}
22580
+ */
22581
+ proto.gateway.web.v1.ModelActivityResponse.prototype.toObject = function(opt_includeInstance) {
22582
+ return proto.gateway.web.v1.ModelActivityResponse.toObject(opt_includeInstance, this);
22583
+ };
22584
+
22585
+
22586
+ /**
22587
+ * Static version of the {@see toObject} method.
22588
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22589
+ * the JSPB instance for transitional soy proto support:
22590
+ * http://goto/soy-param-migration
22591
+ * @param {!proto.gateway.web.v1.ModelActivityResponse} msg The msg instance to transform.
22592
+ * @return {!Object}
22593
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22594
+ */
22595
+ proto.gateway.web.v1.ModelActivityResponse.toObject = function(includeInstance, msg) {
22596
+ var f, obj = {
22597
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
22598
+ modelsList: jspb.Message.toObjectList(msg.getModelsList(),
22599
+ proto.gateway.web.v1.ModelActivity.toObject, includeInstance),
22600
+ windowStart: (f = msg.getWindowStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
22601
+ windowEnd: (f = msg.getWindowEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
22602
+ };
22603
+
22604
+ if (includeInstance) {
22605
+ obj.$jspbMessageInstance = msg;
22606
+ }
22607
+ return obj;
22608
+ };
22609
+ }
22610
+
22611
+
22612
+ /**
22613
+ * Deserializes binary data (in protobuf wire format).
22614
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
22615
+ * @return {!proto.gateway.web.v1.ModelActivityResponse}
22616
+ */
22617
+ proto.gateway.web.v1.ModelActivityResponse.deserializeBinary = function(bytes) {
22618
+ var reader = new jspb.BinaryReader(bytes);
22619
+ var msg = new proto.gateway.web.v1.ModelActivityResponse;
22620
+ return proto.gateway.web.v1.ModelActivityResponse.deserializeBinaryFromReader(msg, reader);
22621
+ };
22622
+
22623
+
22624
+ /**
22625
+ * Deserializes binary data (in protobuf wire format) from the
22626
+ * given reader into the given message object.
22627
+ * @param {!proto.gateway.web.v1.ModelActivityResponse} msg The message object to deserialize into.
22628
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22629
+ * @return {!proto.gateway.web.v1.ModelActivityResponse}
22630
+ */
22631
+ proto.gateway.web.v1.ModelActivityResponse.deserializeBinaryFromReader = function(msg, reader) {
22632
+ while (reader.nextField()) {
22633
+ if (reader.isEndGroup()) {
22634
+ break;
22635
+ }
22636
+ var field = reader.getFieldNumber();
22637
+ switch (field) {
22638
+ case 1:
22639
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
22640
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
22641
+ msg.setStatus(value);
22642
+ break;
22643
+ case 2:
22644
+ var value = new proto.gateway.web.v1.ModelActivity;
22645
+ reader.readMessage(value,proto.gateway.web.v1.ModelActivity.deserializeBinaryFromReader);
22646
+ msg.addModels(value);
22647
+ break;
22648
+ case 3:
22649
+ var value = new google_protobuf_timestamp_pb.Timestamp;
22650
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
22651
+ msg.setWindowStart(value);
22652
+ break;
22653
+ case 4:
22654
+ var value = new google_protobuf_timestamp_pb.Timestamp;
22655
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
22656
+ msg.setWindowEnd(value);
22657
+ break;
22658
+ default:
22659
+ reader.skipField();
22660
+ break;
22661
+ }
22662
+ }
22663
+ return msg;
22664
+ };
22665
+
22666
+
22667
+ /**
22668
+ * Serializes the message to binary data (in protobuf wire format).
22669
+ * @return {!Uint8Array}
22670
+ */
22671
+ proto.gateway.web.v1.ModelActivityResponse.prototype.serializeBinary = function() {
22672
+ var writer = new jspb.BinaryWriter();
22673
+ proto.gateway.web.v1.ModelActivityResponse.serializeBinaryToWriter(this, writer);
22674
+ return writer.getResultBuffer();
22675
+ };
22676
+
22677
+
22678
+ /**
22679
+ * Serializes the given message to binary data (in protobuf wire
22680
+ * format), writing to the given BinaryWriter.
22681
+ * @param {!proto.gateway.web.v1.ModelActivityResponse} message
22682
+ * @param {!jspb.BinaryWriter} writer
22683
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22684
+ */
22685
+ proto.gateway.web.v1.ModelActivityResponse.serializeBinaryToWriter = function(message, writer) {
22686
+ var f = undefined;
22687
+ f = message.getStatus();
22688
+ if (f != null) {
22689
+ writer.writeMessage(
22690
+ 1,
22691
+ f,
22692
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
22693
+ );
22694
+ }
22695
+ f = message.getModelsList();
22696
+ if (f.length > 0) {
22697
+ writer.writeRepeatedMessage(
22698
+ 2,
22699
+ f,
22700
+ proto.gateway.web.v1.ModelActivity.serializeBinaryToWriter
22701
+ );
22702
+ }
22703
+ f = message.getWindowStart();
22704
+ if (f != null) {
22705
+ writer.writeMessage(
22706
+ 3,
22707
+ f,
22708
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
22709
+ );
22710
+ }
22711
+ f = message.getWindowEnd();
22712
+ if (f != null) {
22713
+ writer.writeMessage(
22714
+ 4,
22715
+ f,
22716
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
22717
+ );
22718
+ }
22719
+ };
22720
+
22721
+
22722
+ /**
22723
+ * optional gateway.common.v1.ResponseStatus status = 1;
22724
+ * @return {?proto.gateway.common.v1.ResponseStatus}
22725
+ */
22726
+ proto.gateway.web.v1.ModelActivityResponse.prototype.getStatus = function() {
22727
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
22728
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
22729
+ };
22730
+
22731
+
22732
+ /**
22733
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
22734
+ * @return {!proto.gateway.web.v1.ModelActivityResponse} returns this
22735
+ */
22736
+ proto.gateway.web.v1.ModelActivityResponse.prototype.setStatus = function(value) {
22737
+ return jspb.Message.setWrapperField(this, 1, value);
22738
+ };
22739
+
22740
+
22741
+ /**
22742
+ * Clears the message field making it undefined.
22743
+ * @return {!proto.gateway.web.v1.ModelActivityResponse} returns this
22744
+ */
22745
+ proto.gateway.web.v1.ModelActivityResponse.prototype.clearStatus = function() {
22746
+ return this.setStatus(undefined);
22747
+ };
22748
+
22749
+
22750
+ /**
22751
+ * Returns whether this field is set.
22752
+ * @return {boolean}
22753
+ */
22754
+ proto.gateway.web.v1.ModelActivityResponse.prototype.hasStatus = function() {
22755
+ return jspb.Message.getField(this, 1) != null;
22756
+ };
22757
+
22758
+
22759
+ /**
22760
+ * repeated ModelActivity models = 2;
22761
+ * @return {!Array<!proto.gateway.web.v1.ModelActivity>}
22762
+ */
22763
+ proto.gateway.web.v1.ModelActivityResponse.prototype.getModelsList = function() {
22764
+ return /** @type{!Array<!proto.gateway.web.v1.ModelActivity>} */ (
22765
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ModelActivity, 2));
22766
+ };
22767
+
22768
+
22769
+ /**
22770
+ * @param {!Array<!proto.gateway.web.v1.ModelActivity>} value
22771
+ * @return {!proto.gateway.web.v1.ModelActivityResponse} returns this
22772
+ */
22773
+ proto.gateway.web.v1.ModelActivityResponse.prototype.setModelsList = function(value) {
22774
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
22775
+ };
22776
+
22777
+
22778
+ /**
22779
+ * @param {!proto.gateway.web.v1.ModelActivity=} opt_value
22780
+ * @param {number=} opt_index
22781
+ * @return {!proto.gateway.web.v1.ModelActivity}
22782
+ */
22783
+ proto.gateway.web.v1.ModelActivityResponse.prototype.addModels = function(opt_value, opt_index) {
22784
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.ModelActivity, opt_index);
22785
+ };
22786
+
22787
+
22788
+ /**
22789
+ * Clears the list making it empty but non-null.
22790
+ * @return {!proto.gateway.web.v1.ModelActivityResponse} returns this
22791
+ */
22792
+ proto.gateway.web.v1.ModelActivityResponse.prototype.clearModelsList = function() {
22793
+ return this.setModelsList([]);
22794
+ };
22795
+
22796
+
22797
+ /**
22798
+ * optional google.protobuf.Timestamp window_start = 3;
22799
+ * @return {?proto.google.protobuf.Timestamp}
22800
+ */
22801
+ proto.gateway.web.v1.ModelActivityResponse.prototype.getWindowStart = function() {
22802
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
22803
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
22804
+ };
22805
+
22806
+
22807
+ /**
22808
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
22809
+ * @return {!proto.gateway.web.v1.ModelActivityResponse} returns this
22810
+ */
22811
+ proto.gateway.web.v1.ModelActivityResponse.prototype.setWindowStart = function(value) {
22812
+ return jspb.Message.setWrapperField(this, 3, value);
22813
+ };
22814
+
22815
+
22816
+ /**
22817
+ * Clears the message field making it undefined.
22818
+ * @return {!proto.gateway.web.v1.ModelActivityResponse} returns this
22819
+ */
22820
+ proto.gateway.web.v1.ModelActivityResponse.prototype.clearWindowStart = function() {
22821
+ return this.setWindowStart(undefined);
22822
+ };
22823
+
22824
+
22825
+ /**
22826
+ * Returns whether this field is set.
22827
+ * @return {boolean}
22828
+ */
22829
+ proto.gateway.web.v1.ModelActivityResponse.prototype.hasWindowStart = function() {
22830
+ return jspb.Message.getField(this, 3) != null;
22831
+ };
22832
+
22833
+
22834
+ /**
22835
+ * optional google.protobuf.Timestamp window_end = 4;
22836
+ * @return {?proto.google.protobuf.Timestamp}
22837
+ */
22838
+ proto.gateway.web.v1.ModelActivityResponse.prototype.getWindowEnd = function() {
22839
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
22840
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
22841
+ };
22842
+
22843
+
22844
+ /**
22845
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
22846
+ * @return {!proto.gateway.web.v1.ModelActivityResponse} returns this
22847
+ */
22848
+ proto.gateway.web.v1.ModelActivityResponse.prototype.setWindowEnd = function(value) {
22849
+ return jspb.Message.setWrapperField(this, 4, value);
22850
+ };
22851
+
22852
+
22853
+ /**
22854
+ * Clears the message field making it undefined.
22855
+ * @return {!proto.gateway.web.v1.ModelActivityResponse} returns this
22856
+ */
22857
+ proto.gateway.web.v1.ModelActivityResponse.prototype.clearWindowEnd = function() {
22858
+ return this.setWindowEnd(undefined);
22859
+ };
22860
+
22861
+
22862
+ /**
22863
+ * Returns whether this field is set.
22864
+ * @return {boolean}
22865
+ */
22866
+ proto.gateway.web.v1.ModelActivityResponse.prototype.hasWindowEnd = function() {
22867
+ return jspb.Message.getField(this, 4) != null;
22868
+ };
22869
+
22870
+
22871
+
22872
+ /**
22873
+ * List of repeated fields within this message type.
22874
+ * @private {!Array<number>}
22875
+ * @const
22876
+ */
22877
+ proto.gateway.web.v1.ModelActivity.repeatedFields_ = [16,17];
22878
+
22879
+
22880
+
22881
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22882
+ /**
22883
+ * Creates an object representation of this proto.
22884
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22885
+ * Optional fields that are not set will be set to undefined.
22886
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22887
+ * For the list of reserved names please see:
22888
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22889
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22890
+ * JSPB instance for transitional soy proto support:
22891
+ * http://goto/soy-param-migration
22892
+ * @return {!Object}
22893
+ */
22894
+ proto.gateway.web.v1.ModelActivity.prototype.toObject = function(opt_includeInstance) {
22895
+ return proto.gateway.web.v1.ModelActivity.toObject(opt_includeInstance, this);
22896
+ };
22897
+
22898
+
22899
+ /**
22900
+ * Static version of the {@see toObject} method.
22901
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22902
+ * the JSPB instance for transitional soy proto support:
22903
+ * http://goto/soy-param-migration
22904
+ * @param {!proto.gateway.web.v1.ModelActivity} msg The msg instance to transform.
22905
+ * @return {!Object}
22906
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22907
+ */
22908
+ proto.gateway.web.v1.ModelActivity.toObject = function(includeInstance, msg) {
22909
+ var f, obj = {
22910
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
22911
+ modelCalls: jspb.Message.getFieldWithDefault(msg, 2, 0),
22912
+ failedCalls: jspb.Message.getFieldWithDefault(msg, 3, 0),
22913
+ inputTokens: jspb.Message.getFieldWithDefault(msg, 4, 0),
22914
+ outputTokens: jspb.Message.getFieldWithDefault(msg, 5, 0),
22915
+ cacheReadTokens: jspb.Message.getFieldWithDefault(msg, 6, 0),
22916
+ cacheWriteTokens: jspb.Message.getFieldWithDefault(msg, 7, 0),
22917
+ costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
22918
+ subscriptionCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
22919
+ sessions: jspb.Message.getFieldWithDefault(msg, 10, 0),
22920
+ toolCalls: jspb.Message.getFieldWithDefault(msg, 11, 0),
22921
+ compactions: jspb.Message.getFieldWithDefault(msg, 12, 0),
22922
+ subagentRuns: jspb.Message.getFieldWithDefault(msg, 13, 0),
22923
+ ttftMsSum: jspb.Message.getFieldWithDefault(msg, 14, 0),
22924
+ ttftCalls: jspb.Message.getFieldWithDefault(msg, 15, 0),
22925
+ providersList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f,
22926
+ principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
22927
+ proto.gateway.web.v1.ModelActivityPrincipal.toObject, includeInstance)
22928
+ };
22929
+
22930
+ if (includeInstance) {
22931
+ obj.$jspbMessageInstance = msg;
22932
+ }
22933
+ return obj;
22934
+ };
22935
+ }
22936
+
22937
+
22938
+ /**
22939
+ * Deserializes binary data (in protobuf wire format).
22940
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
22941
+ * @return {!proto.gateway.web.v1.ModelActivity}
22942
+ */
22943
+ proto.gateway.web.v1.ModelActivity.deserializeBinary = function(bytes) {
22944
+ var reader = new jspb.BinaryReader(bytes);
22945
+ var msg = new proto.gateway.web.v1.ModelActivity;
22946
+ return proto.gateway.web.v1.ModelActivity.deserializeBinaryFromReader(msg, reader);
22947
+ };
22948
+
22949
+
22950
+ /**
22951
+ * Deserializes binary data (in protobuf wire format) from the
22952
+ * given reader into the given message object.
22953
+ * @param {!proto.gateway.web.v1.ModelActivity} msg The message object to deserialize into.
22954
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22955
+ * @return {!proto.gateway.web.v1.ModelActivity}
22956
+ */
22957
+ proto.gateway.web.v1.ModelActivity.deserializeBinaryFromReader = function(msg, reader) {
22958
+ while (reader.nextField()) {
22959
+ if (reader.isEndGroup()) {
22960
+ break;
22961
+ }
22962
+ var field = reader.getFieldNumber();
22963
+ switch (field) {
22964
+ case 1:
22965
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
22966
+ msg.setKey(value);
22967
+ break;
22968
+ case 2:
22969
+ var value = /** @type {number} */ (reader.readUint64());
22970
+ msg.setModelCalls(value);
22971
+ break;
22972
+ case 3:
22973
+ var value = /** @type {number} */ (reader.readUint64());
22974
+ msg.setFailedCalls(value);
22975
+ break;
22976
+ case 4:
22977
+ var value = /** @type {number} */ (reader.readUint64());
22978
+ msg.setInputTokens(value);
22979
+ break;
22980
+ case 5:
22981
+ var value = /** @type {number} */ (reader.readUint64());
22982
+ msg.setOutputTokens(value);
22983
+ break;
22984
+ case 6:
22985
+ var value = /** @type {number} */ (reader.readUint64());
22986
+ msg.setCacheReadTokens(value);
22987
+ break;
22988
+ case 7:
22989
+ var value = /** @type {number} */ (reader.readUint64());
22990
+ msg.setCacheWriteTokens(value);
22991
+ break;
22992
+ case 8:
22993
+ var value = /** @type {number} */ (reader.readDouble());
22994
+ msg.setCostUsd(value);
22995
+ break;
22996
+ case 9:
22997
+ var value = /** @type {number} */ (reader.readDouble());
22998
+ msg.setSubscriptionCostUsd(value);
22999
+ break;
23000
+ case 10:
23001
+ var value = /** @type {number} */ (reader.readUint64());
23002
+ msg.setSessions(value);
23003
+ break;
23004
+ case 11:
23005
+ var value = /** @type {number} */ (reader.readUint64());
23006
+ msg.setToolCalls(value);
23007
+ break;
23008
+ case 12:
23009
+ var value = /** @type {number} */ (reader.readUint64());
23010
+ msg.setCompactions(value);
23011
+ break;
23012
+ case 13:
23013
+ var value = /** @type {number} */ (reader.readUint64());
23014
+ msg.setSubagentRuns(value);
23015
+ break;
23016
+ case 14:
23017
+ var value = /** @type {number} */ (reader.readUint64());
23018
+ msg.setTtftMsSum(value);
23019
+ break;
23020
+ case 15:
23021
+ var value = /** @type {number} */ (reader.readUint64());
23022
+ msg.setTtftCalls(value);
23023
+ break;
23024
+ case 16:
23025
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
23026
+ msg.addProviders(value);
23027
+ break;
23028
+ case 17:
23029
+ var value = new proto.gateway.web.v1.ModelActivityPrincipal;
23030
+ reader.readMessage(value,proto.gateway.web.v1.ModelActivityPrincipal.deserializeBinaryFromReader);
23031
+ msg.addPrincipals(value);
23032
+ break;
23033
+ default:
23034
+ reader.skipField();
23035
+ break;
23036
+ }
23037
+ }
23038
+ return msg;
23039
+ };
23040
+
23041
+
23042
+ /**
23043
+ * Serializes the message to binary data (in protobuf wire format).
23044
+ * @return {!Uint8Array}
23045
+ */
23046
+ proto.gateway.web.v1.ModelActivity.prototype.serializeBinary = function() {
23047
+ var writer = new jspb.BinaryWriter();
23048
+ proto.gateway.web.v1.ModelActivity.serializeBinaryToWriter(this, writer);
23049
+ return writer.getResultBuffer();
23050
+ };
23051
+
23052
+
23053
+ /**
23054
+ * Serializes the given message to binary data (in protobuf wire
23055
+ * format), writing to the given BinaryWriter.
23056
+ * @param {!proto.gateway.web.v1.ModelActivity} message
23057
+ * @param {!jspb.BinaryWriter} writer
23058
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23059
+ */
23060
+ proto.gateway.web.v1.ModelActivity.serializeBinaryToWriter = function(message, writer) {
23061
+ var f = undefined;
23062
+ f = message.getKey();
23063
+ if (f.length > 0) {
23064
+ writer.writeString(
23065
+ 1,
23066
+ f
23067
+ );
23068
+ }
23069
+ f = message.getModelCalls();
23070
+ if (f !== 0) {
23071
+ writer.writeUint64(
23072
+ 2,
23073
+ f
23074
+ );
23075
+ }
23076
+ f = message.getFailedCalls();
23077
+ if (f !== 0) {
23078
+ writer.writeUint64(
23079
+ 3,
23080
+ f
23081
+ );
23082
+ }
23083
+ f = message.getInputTokens();
23084
+ if (f !== 0) {
23085
+ writer.writeUint64(
23086
+ 4,
23087
+ f
23088
+ );
23089
+ }
23090
+ f = message.getOutputTokens();
23091
+ if (f !== 0) {
23092
+ writer.writeUint64(
23093
+ 5,
23094
+ f
23095
+ );
23096
+ }
23097
+ f = message.getCacheReadTokens();
23098
+ if (f !== 0) {
23099
+ writer.writeUint64(
23100
+ 6,
23101
+ f
23102
+ );
23103
+ }
23104
+ f = message.getCacheWriteTokens();
23105
+ if (f !== 0) {
23106
+ writer.writeUint64(
23107
+ 7,
23108
+ f
23109
+ );
23110
+ }
23111
+ f = message.getCostUsd();
23112
+ if (f !== 0.0) {
23113
+ writer.writeDouble(
23114
+ 8,
23115
+ f
23116
+ );
23117
+ }
23118
+ f = message.getSubscriptionCostUsd();
23119
+ if (f !== 0.0) {
23120
+ writer.writeDouble(
23121
+ 9,
23122
+ f
23123
+ );
23124
+ }
23125
+ f = message.getSessions();
23126
+ if (f !== 0) {
23127
+ writer.writeUint64(
23128
+ 10,
23129
+ f
23130
+ );
23131
+ }
23132
+ f = message.getToolCalls();
23133
+ if (f !== 0) {
23134
+ writer.writeUint64(
23135
+ 11,
23136
+ f
23137
+ );
23138
+ }
23139
+ f = message.getCompactions();
23140
+ if (f !== 0) {
23141
+ writer.writeUint64(
23142
+ 12,
23143
+ f
23144
+ );
23145
+ }
23146
+ f = message.getSubagentRuns();
23147
+ if (f !== 0) {
23148
+ writer.writeUint64(
23149
+ 13,
23150
+ f
23151
+ );
23152
+ }
23153
+ f = message.getTtftMsSum();
23154
+ if (f !== 0) {
23155
+ writer.writeUint64(
23156
+ 14,
23157
+ f
23158
+ );
23159
+ }
23160
+ f = message.getTtftCalls();
23161
+ if (f !== 0) {
23162
+ writer.writeUint64(
23163
+ 15,
23164
+ f
23165
+ );
23166
+ }
23167
+ f = message.getProvidersList();
23168
+ if (f.length > 0) {
23169
+ writer.writeRepeatedString(
23170
+ 16,
23171
+ f
23172
+ );
23173
+ }
23174
+ f = message.getPrincipalsList();
23175
+ if (f.length > 0) {
23176
+ writer.writeRepeatedMessage(
23177
+ 17,
23178
+ f,
23179
+ proto.gateway.web.v1.ModelActivityPrincipal.serializeBinaryToWriter
23180
+ );
23181
+ }
23182
+ };
23183
+
23184
+
23185
+ /**
23186
+ * optional string key = 1;
23187
+ * @return {string}
23188
+ */
23189
+ proto.gateway.web.v1.ModelActivity.prototype.getKey = function() {
23190
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
23191
+ };
23192
+
23193
+
23194
+ /**
23195
+ * @param {string} value
23196
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23197
+ */
23198
+ proto.gateway.web.v1.ModelActivity.prototype.setKey = function(value) {
23199
+ return jspb.Message.setProto3StringField(this, 1, value);
23200
+ };
23201
+
23202
+
23203
+ /**
23204
+ * optional uint64 model_calls = 2;
23205
+ * @return {number}
23206
+ */
23207
+ proto.gateway.web.v1.ModelActivity.prototype.getModelCalls = function() {
23208
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
23209
+ };
23210
+
23211
+
23212
+ /**
23213
+ * @param {number} value
23214
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23215
+ */
23216
+ proto.gateway.web.v1.ModelActivity.prototype.setModelCalls = function(value) {
23217
+ return jspb.Message.setProto3IntField(this, 2, value);
23218
+ };
23219
+
23220
+
23221
+ /**
23222
+ * optional uint64 failed_calls = 3;
23223
+ * @return {number}
23224
+ */
23225
+ proto.gateway.web.v1.ModelActivity.prototype.getFailedCalls = function() {
23226
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
23227
+ };
23228
+
23229
+
23230
+ /**
23231
+ * @param {number} value
23232
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23233
+ */
23234
+ proto.gateway.web.v1.ModelActivity.prototype.setFailedCalls = function(value) {
23235
+ return jspb.Message.setProto3IntField(this, 3, value);
23236
+ };
23237
+
23238
+
23239
+ /**
23240
+ * optional uint64 input_tokens = 4;
23241
+ * @return {number}
23242
+ */
23243
+ proto.gateway.web.v1.ModelActivity.prototype.getInputTokens = function() {
23244
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
23245
+ };
23246
+
23247
+
23248
+ /**
23249
+ * @param {number} value
23250
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23251
+ */
23252
+ proto.gateway.web.v1.ModelActivity.prototype.setInputTokens = function(value) {
23253
+ return jspb.Message.setProto3IntField(this, 4, value);
23254
+ };
23255
+
23256
+
23257
+ /**
23258
+ * optional uint64 output_tokens = 5;
23259
+ * @return {number}
23260
+ */
23261
+ proto.gateway.web.v1.ModelActivity.prototype.getOutputTokens = function() {
23262
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
23263
+ };
23264
+
23265
+
23266
+ /**
23267
+ * @param {number} value
23268
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23269
+ */
23270
+ proto.gateway.web.v1.ModelActivity.prototype.setOutputTokens = function(value) {
23271
+ return jspb.Message.setProto3IntField(this, 5, value);
23272
+ };
23273
+
23274
+
23275
+ /**
23276
+ * optional uint64 cache_read_tokens = 6;
23277
+ * @return {number}
23278
+ */
23279
+ proto.gateway.web.v1.ModelActivity.prototype.getCacheReadTokens = function() {
23280
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
23281
+ };
23282
+
23283
+
23284
+ /**
23285
+ * @param {number} value
23286
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23287
+ */
23288
+ proto.gateway.web.v1.ModelActivity.prototype.setCacheReadTokens = function(value) {
23289
+ return jspb.Message.setProto3IntField(this, 6, value);
23290
+ };
23291
+
23292
+
23293
+ /**
23294
+ * optional uint64 cache_write_tokens = 7;
23295
+ * @return {number}
23296
+ */
23297
+ proto.gateway.web.v1.ModelActivity.prototype.getCacheWriteTokens = function() {
23298
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
23299
+ };
23300
+
23301
+
23302
+ /**
23303
+ * @param {number} value
23304
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23305
+ */
23306
+ proto.gateway.web.v1.ModelActivity.prototype.setCacheWriteTokens = function(value) {
23307
+ return jspb.Message.setProto3IntField(this, 7, value);
23308
+ };
23309
+
23310
+
23311
+ /**
23312
+ * optional double cost_usd = 8;
23313
+ * @return {number}
23314
+ */
23315
+ proto.gateway.web.v1.ModelActivity.prototype.getCostUsd = function() {
23316
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
23317
+ };
23318
+
23319
+
23320
+ /**
23321
+ * @param {number} value
23322
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23323
+ */
23324
+ proto.gateway.web.v1.ModelActivity.prototype.setCostUsd = function(value) {
23325
+ return jspb.Message.setProto3FloatField(this, 8, value);
23326
+ };
23327
+
23328
+
23329
+ /**
23330
+ * optional double subscription_cost_usd = 9;
23331
+ * @return {number}
23332
+ */
23333
+ proto.gateway.web.v1.ModelActivity.prototype.getSubscriptionCostUsd = function() {
23334
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
23335
+ };
23336
+
23337
+
23338
+ /**
23339
+ * @param {number} value
23340
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23341
+ */
23342
+ proto.gateway.web.v1.ModelActivity.prototype.setSubscriptionCostUsd = function(value) {
23343
+ return jspb.Message.setProto3FloatField(this, 9, value);
23344
+ };
23345
+
23346
+
23347
+ /**
23348
+ * optional uint64 sessions = 10;
23349
+ * @return {number}
23350
+ */
23351
+ proto.gateway.web.v1.ModelActivity.prototype.getSessions = function() {
23352
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
23353
+ };
23354
+
23355
+
23356
+ /**
23357
+ * @param {number} value
23358
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23359
+ */
23360
+ proto.gateway.web.v1.ModelActivity.prototype.setSessions = function(value) {
23361
+ return jspb.Message.setProto3IntField(this, 10, value);
23362
+ };
23363
+
23364
+
23365
+ /**
23366
+ * optional uint64 tool_calls = 11;
23367
+ * @return {number}
23368
+ */
23369
+ proto.gateway.web.v1.ModelActivity.prototype.getToolCalls = function() {
23370
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
23371
+ };
23372
+
23373
+
23374
+ /**
23375
+ * @param {number} value
23376
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23377
+ */
23378
+ proto.gateway.web.v1.ModelActivity.prototype.setToolCalls = function(value) {
23379
+ return jspb.Message.setProto3IntField(this, 11, value);
23380
+ };
23381
+
23382
+
23383
+ /**
23384
+ * optional uint64 compactions = 12;
23385
+ * @return {number}
23386
+ */
23387
+ proto.gateway.web.v1.ModelActivity.prototype.getCompactions = function() {
23388
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
23389
+ };
23390
+
23391
+
23392
+ /**
23393
+ * @param {number} value
23394
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23395
+ */
23396
+ proto.gateway.web.v1.ModelActivity.prototype.setCompactions = function(value) {
23397
+ return jspb.Message.setProto3IntField(this, 12, value);
23398
+ };
23399
+
23400
+
23401
+ /**
23402
+ * optional uint64 subagent_runs = 13;
23403
+ * @return {number}
23404
+ */
23405
+ proto.gateway.web.v1.ModelActivity.prototype.getSubagentRuns = function() {
23406
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
23407
+ };
23408
+
23409
+
23410
+ /**
23411
+ * @param {number} value
23412
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23413
+ */
23414
+ proto.gateway.web.v1.ModelActivity.prototype.setSubagentRuns = function(value) {
23415
+ return jspb.Message.setProto3IntField(this, 13, value);
23416
+ };
23417
+
23418
+
23419
+ /**
23420
+ * optional uint64 ttft_ms_sum = 14;
23421
+ * @return {number}
23422
+ */
23423
+ proto.gateway.web.v1.ModelActivity.prototype.getTtftMsSum = function() {
23424
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
23425
+ };
23426
+
23427
+
23428
+ /**
23429
+ * @param {number} value
23430
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23431
+ */
23432
+ proto.gateway.web.v1.ModelActivity.prototype.setTtftMsSum = function(value) {
23433
+ return jspb.Message.setProto3IntField(this, 14, value);
23434
+ };
23435
+
23436
+
23437
+ /**
23438
+ * optional uint64 ttft_calls = 15;
23439
+ * @return {number}
23440
+ */
23441
+ proto.gateway.web.v1.ModelActivity.prototype.getTtftCalls = function() {
23442
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
23443
+ };
23444
+
23445
+
23446
+ /**
23447
+ * @param {number} value
23448
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23449
+ */
23450
+ proto.gateway.web.v1.ModelActivity.prototype.setTtftCalls = function(value) {
23451
+ return jspb.Message.setProto3IntField(this, 15, value);
23452
+ };
23453
+
23454
+
23455
+ /**
23456
+ * repeated string providers = 16;
23457
+ * @return {!Array<string>}
23458
+ */
23459
+ proto.gateway.web.v1.ModelActivity.prototype.getProvidersList = function() {
23460
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 16));
23461
+ };
23462
+
23463
+
23464
+ /**
23465
+ * @param {!Array<string>} value
23466
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23467
+ */
23468
+ proto.gateway.web.v1.ModelActivity.prototype.setProvidersList = function(value) {
23469
+ return jspb.Message.setField(this, 16, value || []);
23470
+ };
23471
+
23472
+
23473
+ /**
23474
+ * @param {string} value
23475
+ * @param {number=} opt_index
23476
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23477
+ */
23478
+ proto.gateway.web.v1.ModelActivity.prototype.addProviders = function(value, opt_index) {
23479
+ return jspb.Message.addToRepeatedField(this, 16, value, opt_index);
23480
+ };
23481
+
23482
+
23483
+ /**
23484
+ * Clears the list making it empty but non-null.
23485
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23486
+ */
23487
+ proto.gateway.web.v1.ModelActivity.prototype.clearProvidersList = function() {
23488
+ return this.setProvidersList([]);
23489
+ };
23490
+
23491
+
23492
+ /**
23493
+ * repeated ModelActivityPrincipal principals = 17;
23494
+ * @return {!Array<!proto.gateway.web.v1.ModelActivityPrincipal>}
23495
+ */
23496
+ proto.gateway.web.v1.ModelActivity.prototype.getPrincipalsList = function() {
23497
+ return /** @type{!Array<!proto.gateway.web.v1.ModelActivityPrincipal>} */ (
23498
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ModelActivityPrincipal, 17));
23499
+ };
23500
+
23501
+
23502
+ /**
23503
+ * @param {!Array<!proto.gateway.web.v1.ModelActivityPrincipal>} value
23504
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23505
+ */
23506
+ proto.gateway.web.v1.ModelActivity.prototype.setPrincipalsList = function(value) {
23507
+ return jspb.Message.setRepeatedWrapperField(this, 17, value);
23508
+ };
23509
+
23510
+
23511
+ /**
23512
+ * @param {!proto.gateway.web.v1.ModelActivityPrincipal=} opt_value
23513
+ * @param {number=} opt_index
23514
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal}
23515
+ */
23516
+ proto.gateway.web.v1.ModelActivity.prototype.addPrincipals = function(opt_value, opt_index) {
23517
+ return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.gateway.web.v1.ModelActivityPrincipal, opt_index);
23518
+ };
23519
+
23520
+
23521
+ /**
23522
+ * Clears the list making it empty but non-null.
23523
+ * @return {!proto.gateway.web.v1.ModelActivity} returns this
23524
+ */
23525
+ proto.gateway.web.v1.ModelActivity.prototype.clearPrincipalsList = function() {
23526
+ return this.setPrincipalsList([]);
23527
+ };
23528
+
23529
+
23530
+
23531
+
23532
+
23533
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23534
+ /**
23535
+ * Creates an object representation of this proto.
23536
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23537
+ * Optional fields that are not set will be set to undefined.
23538
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23539
+ * For the list of reserved names please see:
23540
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23541
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23542
+ * JSPB instance for transitional soy proto support:
23543
+ * http://goto/soy-param-migration
23544
+ * @return {!Object}
23545
+ */
23546
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.toObject = function(opt_includeInstance) {
23547
+ return proto.gateway.web.v1.ModelActivityPrincipal.toObject(opt_includeInstance, this);
23548
+ };
23549
+
23550
+
23551
+ /**
23552
+ * Static version of the {@see toObject} method.
23553
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23554
+ * the JSPB instance for transitional soy proto support:
23555
+ * http://goto/soy-param-migration
23556
+ * @param {!proto.gateway.web.v1.ModelActivityPrincipal} msg The msg instance to transform.
23557
+ * @return {!Object}
23558
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23559
+ */
23560
+ proto.gateway.web.v1.ModelActivityPrincipal.toObject = function(includeInstance, msg) {
23561
+ var f, obj = {
23562
+ kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
23563
+ id: jspb.Message.getFieldWithDefault(msg, 2, ""),
23564
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 3, ""),
23565
+ modelCalls: jspb.Message.getFieldWithDefault(msg, 4, 0),
23566
+ sessions: jspb.Message.getFieldWithDefault(msg, 5, 0),
23567
+ inputTokens: jspb.Message.getFieldWithDefault(msg, 6, 0),
23568
+ outputTokens: jspb.Message.getFieldWithDefault(msg, 7, 0),
23569
+ costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0)
23570
+ };
23571
+
23572
+ if (includeInstance) {
23573
+ obj.$jspbMessageInstance = msg;
23574
+ }
23575
+ return obj;
23576
+ };
23577
+ }
23578
+
23579
+
23580
+ /**
23581
+ * Deserializes binary data (in protobuf wire format).
23582
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
23583
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal}
23584
+ */
23585
+ proto.gateway.web.v1.ModelActivityPrincipal.deserializeBinary = function(bytes) {
23586
+ var reader = new jspb.BinaryReader(bytes);
23587
+ var msg = new proto.gateway.web.v1.ModelActivityPrincipal;
23588
+ return proto.gateway.web.v1.ModelActivityPrincipal.deserializeBinaryFromReader(msg, reader);
23589
+ };
23590
+
23591
+
23592
+ /**
23593
+ * Deserializes binary data (in protobuf wire format) from the
23594
+ * given reader into the given message object.
23595
+ * @param {!proto.gateway.web.v1.ModelActivityPrincipal} msg The message object to deserialize into.
23596
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23597
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal}
23598
+ */
23599
+ proto.gateway.web.v1.ModelActivityPrincipal.deserializeBinaryFromReader = function(msg, reader) {
23600
+ while (reader.nextField()) {
23601
+ if (reader.isEndGroup()) {
23602
+ break;
23603
+ }
23604
+ var field = reader.getFieldNumber();
23605
+ switch (field) {
23606
+ case 1:
23607
+ var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
23608
+ msg.setKind(value);
23609
+ break;
23610
+ case 2:
23611
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
23612
+ msg.setId(value);
23613
+ break;
23614
+ case 3:
23615
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
23616
+ msg.setSourceSystem(value);
23617
+ break;
23618
+ case 4:
23619
+ var value = /** @type {number} */ (reader.readUint64());
23620
+ msg.setModelCalls(value);
23621
+ break;
23622
+ case 5:
23623
+ var value = /** @type {number} */ (reader.readUint64());
23624
+ msg.setSessions(value);
23625
+ break;
23626
+ case 6:
23627
+ var value = /** @type {number} */ (reader.readUint64());
23628
+ msg.setInputTokens(value);
23629
+ break;
23630
+ case 7:
23631
+ var value = /** @type {number} */ (reader.readUint64());
23632
+ msg.setOutputTokens(value);
23633
+ break;
23634
+ case 8:
23635
+ var value = /** @type {number} */ (reader.readDouble());
23636
+ msg.setCostUsd(value);
23637
+ break;
23638
+ default:
23639
+ reader.skipField();
23640
+ break;
23641
+ }
23642
+ }
23643
+ return msg;
23644
+ };
23645
+
23646
+
23647
+ /**
23648
+ * Serializes the message to binary data (in protobuf wire format).
23649
+ * @return {!Uint8Array}
23650
+ */
23651
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.serializeBinary = function() {
23652
+ var writer = new jspb.BinaryWriter();
23653
+ proto.gateway.web.v1.ModelActivityPrincipal.serializeBinaryToWriter(this, writer);
23654
+ return writer.getResultBuffer();
23655
+ };
23656
+
23657
+
23658
+ /**
23659
+ * Serializes the given message to binary data (in protobuf wire
23660
+ * format), writing to the given BinaryWriter.
23661
+ * @param {!proto.gateway.web.v1.ModelActivityPrincipal} message
23662
+ * @param {!jspb.BinaryWriter} writer
23663
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23664
+ */
23665
+ proto.gateway.web.v1.ModelActivityPrincipal.serializeBinaryToWriter = function(message, writer) {
23666
+ var f = undefined;
23667
+ f = message.getKind();
23668
+ if (f !== 0.0) {
23669
+ writer.writeEnum(
23670
+ 1,
23671
+ f
23672
+ );
23673
+ }
23674
+ f = message.getId();
23675
+ if (f.length > 0) {
23676
+ writer.writeString(
23677
+ 2,
23678
+ f
23679
+ );
23680
+ }
23681
+ f = message.getSourceSystem();
23682
+ if (f.length > 0) {
23683
+ writer.writeString(
23684
+ 3,
23685
+ f
23686
+ );
23687
+ }
23688
+ f = message.getModelCalls();
23689
+ if (f !== 0) {
23690
+ writer.writeUint64(
23691
+ 4,
23692
+ f
23693
+ );
23694
+ }
23695
+ f = message.getSessions();
23696
+ if (f !== 0) {
23697
+ writer.writeUint64(
23698
+ 5,
23699
+ f
23700
+ );
23701
+ }
23702
+ f = message.getInputTokens();
23703
+ if (f !== 0) {
23704
+ writer.writeUint64(
23705
+ 6,
23706
+ f
23707
+ );
23708
+ }
23709
+ f = message.getOutputTokens();
23710
+ if (f !== 0) {
23711
+ writer.writeUint64(
23712
+ 7,
23713
+ f
23714
+ );
23715
+ }
23716
+ f = message.getCostUsd();
23717
+ if (f !== 0.0) {
23718
+ writer.writeDouble(
23719
+ 8,
23720
+ f
23721
+ );
23722
+ }
23723
+ };
23724
+
23725
+
23726
+ /**
23727
+ * optional AIPrincipalKind kind = 1;
23728
+ * @return {!proto.gateway.web.v1.AIPrincipalKind}
23729
+ */
23730
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.getKind = function() {
23731
+ return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
23732
+ };
23733
+
23734
+
23735
+ /**
23736
+ * @param {!proto.gateway.web.v1.AIPrincipalKind} value
23737
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal} returns this
23738
+ */
23739
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.setKind = function(value) {
23740
+ return jspb.Message.setProto3EnumField(this, 1, value);
23741
+ };
23742
+
23743
+
23744
+ /**
23745
+ * optional string id = 2;
23746
+ * @return {string}
23747
+ */
23748
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.getId = function() {
23749
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23750
+ };
23751
+
23752
+
23753
+ /**
23754
+ * @param {string} value
23755
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal} returns this
23756
+ */
23757
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.setId = function(value) {
23758
+ return jspb.Message.setProto3StringField(this, 2, value);
23759
+ };
23760
+
23761
+
23762
+ /**
23763
+ * optional string source_system = 3;
23764
+ * @return {string}
23765
+ */
23766
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.getSourceSystem = function() {
23767
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
23768
+ };
23769
+
23770
+
23771
+ /**
23772
+ * @param {string} value
23773
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal} returns this
23774
+ */
23775
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.setSourceSystem = function(value) {
23776
+ return jspb.Message.setProto3StringField(this, 3, value);
23777
+ };
23778
+
23779
+
23780
+ /**
23781
+ * optional uint64 model_calls = 4;
23782
+ * @return {number}
23783
+ */
23784
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.getModelCalls = function() {
23785
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
23786
+ };
23787
+
23788
+
23789
+ /**
23790
+ * @param {number} value
23791
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal} returns this
23792
+ */
23793
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.setModelCalls = function(value) {
23794
+ return jspb.Message.setProto3IntField(this, 4, value);
23795
+ };
23796
+
23797
+
23798
+ /**
23799
+ * optional uint64 sessions = 5;
23800
+ * @return {number}
23801
+ */
23802
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.getSessions = function() {
23803
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
23804
+ };
23805
+
23806
+
23807
+ /**
23808
+ * @param {number} value
23809
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal} returns this
23810
+ */
23811
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.setSessions = function(value) {
23812
+ return jspb.Message.setProto3IntField(this, 5, value);
23813
+ };
23814
+
23815
+
23816
+ /**
23817
+ * optional uint64 input_tokens = 6;
23818
+ * @return {number}
23819
+ */
23820
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.getInputTokens = function() {
23821
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
23822
+ };
23823
+
23824
+
23825
+ /**
23826
+ * @param {number} value
23827
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal} returns this
23828
+ */
23829
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.setInputTokens = function(value) {
23830
+ return jspb.Message.setProto3IntField(this, 6, value);
23831
+ };
23832
+
23833
+
23834
+ /**
23835
+ * optional uint64 output_tokens = 7;
23836
+ * @return {number}
23837
+ */
23838
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.getOutputTokens = function() {
23839
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
23840
+ };
23841
+
23842
+
23843
+ /**
23844
+ * @param {number} value
23845
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal} returns this
23846
+ */
23847
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.setOutputTokens = function(value) {
23848
+ return jspb.Message.setProto3IntField(this, 7, value);
23849
+ };
23850
+
23851
+
23852
+ /**
23853
+ * optional double cost_usd = 8;
23854
+ * @return {number}
23855
+ */
23856
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.getCostUsd = function() {
23857
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
23858
+ };
23859
+
23860
+
23861
+ /**
23862
+ * @param {number} value
23863
+ * @return {!proto.gateway.web.v1.ModelActivityPrincipal} returns this
23864
+ */
23865
+ proto.gateway.web.v1.ModelActivityPrincipal.prototype.setCostUsd = function(value) {
23866
+ return jspb.Message.setProto3FloatField(this, 8, value);
23867
+ };
23868
+
23869
+
23870
+
23871
+
23872
+
23873
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23874
+ /**
23875
+ * Creates an object representation of this proto.
23876
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23877
+ * Optional fields that are not set will be set to undefined.
23878
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23879
+ * For the list of reserved names please see:
23880
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23881
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23882
+ * JSPB instance for transitional soy proto support:
23883
+ * http://goto/soy-param-migration
23884
+ * @return {!Object}
23885
+ */
23886
+ proto.gateway.web.v1.AISessionRef.prototype.toObject = function(opt_includeInstance) {
23887
+ return proto.gateway.web.v1.AISessionRef.toObject(opt_includeInstance, this);
23888
+ };
23889
+
23890
+
23891
+ /**
23892
+ * Static version of the {@see toObject} method.
23893
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23894
+ * the JSPB instance for transitional soy proto support:
23895
+ * http://goto/soy-param-migration
23896
+ * @param {!proto.gateway.web.v1.AISessionRef} msg The msg instance to transform.
23897
+ * @return {!Object}
23898
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23899
+ */
23900
+ proto.gateway.web.v1.AISessionRef.toObject = function(includeInstance, msg) {
23901
+ var f, obj = {
23902
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 1, ""),
23903
+ sessionId: jspb.Message.getFieldWithDefault(msg, 2, "")
23904
+ };
23905
+
23906
+ if (includeInstance) {
23907
+ obj.$jspbMessageInstance = msg;
23908
+ }
23909
+ return obj;
23910
+ };
23911
+ }
23912
+
23913
+
23914
+ /**
23915
+ * Deserializes binary data (in protobuf wire format).
23916
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
23917
+ * @return {!proto.gateway.web.v1.AISessionRef}
23918
+ */
23919
+ proto.gateway.web.v1.AISessionRef.deserializeBinary = function(bytes) {
23920
+ var reader = new jspb.BinaryReader(bytes);
23921
+ var msg = new proto.gateway.web.v1.AISessionRef;
23922
+ return proto.gateway.web.v1.AISessionRef.deserializeBinaryFromReader(msg, reader);
23923
+ };
23924
+
23925
+
23926
+ /**
23927
+ * Deserializes binary data (in protobuf wire format) from the
23928
+ * given reader into the given message object.
23929
+ * @param {!proto.gateway.web.v1.AISessionRef} msg The message object to deserialize into.
23930
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23931
+ * @return {!proto.gateway.web.v1.AISessionRef}
23932
+ */
23933
+ proto.gateway.web.v1.AISessionRef.deserializeBinaryFromReader = function(msg, reader) {
23934
+ while (reader.nextField()) {
23935
+ if (reader.isEndGroup()) {
23936
+ break;
23937
+ }
23938
+ var field = reader.getFieldNumber();
23939
+ switch (field) {
23940
+ case 1:
23941
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
23942
+ msg.setSourceSystem(value);
23943
+ break;
23944
+ case 2:
23945
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
23946
+ msg.setSessionId(value);
23947
+ break;
23948
+ default:
23949
+ reader.skipField();
23950
+ break;
23951
+ }
23952
+ }
23953
+ return msg;
23954
+ };
23955
+
23956
+
23957
+ /**
23958
+ * Serializes the message to binary data (in protobuf wire format).
23959
+ * @return {!Uint8Array}
23960
+ */
23961
+ proto.gateway.web.v1.AISessionRef.prototype.serializeBinary = function() {
23962
+ var writer = new jspb.BinaryWriter();
23963
+ proto.gateway.web.v1.AISessionRef.serializeBinaryToWriter(this, writer);
23964
+ return writer.getResultBuffer();
23965
+ };
23966
+
23967
+
23968
+ /**
23969
+ * Serializes the given message to binary data (in protobuf wire
23970
+ * format), writing to the given BinaryWriter.
23971
+ * @param {!proto.gateway.web.v1.AISessionRef} message
23972
+ * @param {!jspb.BinaryWriter} writer
23973
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23974
+ */
23975
+ proto.gateway.web.v1.AISessionRef.serializeBinaryToWriter = function(message, writer) {
23976
+ var f = undefined;
23977
+ f = message.getSourceSystem();
23978
+ if (f.length > 0) {
23979
+ writer.writeString(
23980
+ 1,
23981
+ f
23982
+ );
23983
+ }
23984
+ f = message.getSessionId();
23985
+ if (f.length > 0) {
23986
+ writer.writeString(
23987
+ 2,
23988
+ f
23989
+ );
23990
+ }
23991
+ };
23992
+
23993
+
23994
+ /**
23995
+ * optional string source_system = 1;
23996
+ * @return {string}
23997
+ */
23998
+ proto.gateway.web.v1.AISessionRef.prototype.getSourceSystem = function() {
23999
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24000
+ };
24001
+
24002
+
24003
+ /**
24004
+ * @param {string} value
24005
+ * @return {!proto.gateway.web.v1.AISessionRef} returns this
24006
+ */
24007
+ proto.gateway.web.v1.AISessionRef.prototype.setSourceSystem = function(value) {
24008
+ return jspb.Message.setProto3StringField(this, 1, value);
24009
+ };
24010
+
24011
+
24012
+ /**
24013
+ * optional string session_id = 2;
24014
+ * @return {string}
24015
+ */
24016
+ proto.gateway.web.v1.AISessionRef.prototype.getSessionId = function() {
24017
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
24018
+ };
24019
+
24020
+
24021
+ /**
24022
+ * @param {string} value
24023
+ * @return {!proto.gateway.web.v1.AISessionRef} returns this
24024
+ */
24025
+ proto.gateway.web.v1.AISessionRef.prototype.setSessionId = function(value) {
24026
+ return jspb.Message.setProto3StringField(this, 2, value);
24027
+ };
24028
+
24029
+
24030
+
24031
+ /**
24032
+ * List of repeated fields within this message type.
24033
+ * @private {!Array<number>}
24034
+ * @const
24035
+ */
24036
+ proto.gateway.web.v1.AIFileFilter.repeatedFields_ = [1,2,3,4,5];
24037
+
24038
+
24039
+
24040
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24041
+ /**
24042
+ * Creates an object representation of this proto.
24043
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24044
+ * Optional fields that are not set will be set to undefined.
24045
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24046
+ * For the list of reserved names please see:
24047
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24048
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24049
+ * JSPB instance for transitional soy proto support:
24050
+ * http://goto/soy-param-migration
24051
+ * @return {!Object}
24052
+ */
24053
+ proto.gateway.web.v1.AIFileFilter.prototype.toObject = function(opt_includeInstance) {
24054
+ return proto.gateway.web.v1.AIFileFilter.toObject(opt_includeInstance, this);
24055
+ };
24056
+
24057
+
24058
+ /**
24059
+ * Static version of the {@see toObject} method.
24060
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24061
+ * the JSPB instance for transitional soy proto support:
24062
+ * http://goto/soy-param-migration
24063
+ * @param {!proto.gateway.web.v1.AIFileFilter} msg The msg instance to transform.
24064
+ * @return {!Object}
24065
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24066
+ */
24067
+ proto.gateway.web.v1.AIFileFilter.toObject = function(includeInstance, msg) {
24068
+ var f, obj = {
24069
+ repositoryKeyList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
21903
24070
  refList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
21904
24071
  stateList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
21905
24072
  tierList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
21906
- sessionIdList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
24073
+ sessionList: jspb.Message.toObjectList(msg.getSessionList(),
24074
+ proto.gateway.web.v1.AISessionRef.toObject, includeInstance),
21907
24075
  minAge: (f = msg.getMinAge()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f),
21908
24076
  activeAfter: (f = msg.getActiveAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
21909
24077
  activeBefore: (f = msg.getActiveBefore()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
@@ -21959,8 +24127,9 @@ proto.gateway.web.v1.AIFileFilter.deserializeBinaryFromReader = function(msg, re
21959
24127
  reader.readPackableEnumInto(msg.getTierList());
21960
24128
  break;
21961
24129
  case 5:
21962
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
21963
- msg.addSessionId(value);
24130
+ var value = new proto.gateway.web.v1.AISessionRef;
24131
+ reader.readMessage(value,proto.gateway.web.v1.AISessionRef.deserializeBinaryFromReader);
24132
+ msg.addSession(value);
21964
24133
  break;
21965
24134
  case 6:
21966
24135
  var value = new google_protobuf_duration_pb.Duration;
@@ -22039,11 +24208,12 @@ proto.gateway.web.v1.AIFileFilter.serializeBinaryToWriter = function(message, wr
22039
24208
  f
22040
24209
  );
22041
24210
  }
22042
- f = message.getSessionIdList();
24211
+ f = message.getSessionList();
22043
24212
  if (f.length > 0) {
22044
- writer.writeRepeatedString(
24213
+ writer.writeRepeatedMessage(
22045
24214
  5,
22046
- f
24215
+ f,
24216
+ proto.gateway.web.v1.AISessionRef.serializeBinaryToWriter
22047
24217
  );
22048
24218
  }
22049
24219
  f = message.getMinAge();
@@ -22230,30 +24400,31 @@ proto.gateway.web.v1.AIFileFilter.prototype.clearTierList = function() {
22230
24400
 
22231
24401
 
22232
24402
  /**
22233
- * repeated string session_id = 5;
22234
- * @return {!Array<string>}
24403
+ * repeated AISessionRef session = 5;
24404
+ * @return {!Array<!proto.gateway.web.v1.AISessionRef>}
22235
24405
  */
22236
- proto.gateway.web.v1.AIFileFilter.prototype.getSessionIdList = function() {
22237
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
24406
+ proto.gateway.web.v1.AIFileFilter.prototype.getSessionList = function() {
24407
+ return /** @type{!Array<!proto.gateway.web.v1.AISessionRef>} */ (
24408
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionRef, 5));
22238
24409
  };
22239
24410
 
22240
24411
 
22241
24412
  /**
22242
- * @param {!Array<string>} value
24413
+ * @param {!Array<!proto.gateway.web.v1.AISessionRef>} value
22243
24414
  * @return {!proto.gateway.web.v1.AIFileFilter} returns this
22244
- */
22245
- proto.gateway.web.v1.AIFileFilter.prototype.setSessionIdList = function(value) {
22246
- return jspb.Message.setField(this, 5, value || []);
24415
+ */
24416
+ proto.gateway.web.v1.AIFileFilter.prototype.setSessionList = function(value) {
24417
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
22247
24418
  };
22248
24419
 
22249
24420
 
22250
24421
  /**
22251
- * @param {string} value
24422
+ * @param {!proto.gateway.web.v1.AISessionRef=} opt_value
22252
24423
  * @param {number=} opt_index
22253
- * @return {!proto.gateway.web.v1.AIFileFilter} returns this
24424
+ * @return {!proto.gateway.web.v1.AISessionRef}
22254
24425
  */
22255
- proto.gateway.web.v1.AIFileFilter.prototype.addSessionId = function(value, opt_index) {
22256
- return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
24426
+ proto.gateway.web.v1.AIFileFilter.prototype.addSession = function(opt_value, opt_index) {
24427
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.gateway.web.v1.AISessionRef, opt_index);
22257
24428
  };
22258
24429
 
22259
24430
 
@@ -22261,8 +24432,8 @@ proto.gateway.web.v1.AIFileFilter.prototype.addSessionId = function(value, opt_i
22261
24432
  * Clears the list making it empty but non-null.
22262
24433
  * @return {!proto.gateway.web.v1.AIFileFilter} returns this
22263
24434
  */
22264
- proto.gateway.web.v1.AIFileFilter.prototype.clearSessionIdList = function() {
22265
- return this.setSessionIdList([]);
24435
+ proto.gateway.web.v1.AIFileFilter.prototype.clearSessionList = function() {
24436
+ return this.setSessionList([]);
22266
24437
  };
22267
24438
 
22268
24439
 
@@ -22981,7 +25152,8 @@ lastPushedAt: (f = msg.getLastPushedAt()) && google_protobuf_timestamp_pb.Timest
22981
25152
  discardedAt: (f = msg.getDiscardedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
22982
25153
  discardReason: jspb.Message.getFieldWithDefault(msg, 15, ""),
22983
25154
  editCount: jspb.Message.getFieldWithDefault(msg, 16, 0),
22984
- sessionIdList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
25155
+ sessionsList: jspb.Message.toObjectList(msg.getSessionsList(),
25156
+ proto.gateway.web.v1.AISessionRef.toObject, includeInstance),
22985
25157
  unlandedCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
22986
25158
  unlandedOutputTokens: jspb.Message.getFieldWithDefault(msg, 19, 0),
22987
25159
  totalCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0),
@@ -23094,8 +25266,9 @@ proto.gateway.web.v1.AIFileRow.deserializeBinaryFromReader = function(msg, reade
23094
25266
  msg.setEditCount(value);
23095
25267
  break;
23096
25268
  case 17:
23097
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
23098
- msg.addSessionId(value);
25269
+ var value = new proto.gateway.web.v1.AISessionRef;
25270
+ reader.readMessage(value,proto.gateway.web.v1.AISessionRef.deserializeBinaryFromReader);
25271
+ msg.addSessions(value);
23099
25272
  break;
23100
25273
  case 18:
23101
25274
  var value = /** @type {number} */ (reader.readDouble());
@@ -23264,11 +25437,12 @@ proto.gateway.web.v1.AIFileRow.serializeBinaryToWriter = function(message, write
23264
25437
  f
23265
25438
  );
23266
25439
  }
23267
- f = message.getSessionIdList();
25440
+ f = message.getSessionsList();
23268
25441
  if (f.length > 0) {
23269
- writer.writeRepeatedString(
25442
+ writer.writeRepeatedMessage(
23270
25443
  17,
23271
- f
25444
+ f,
25445
+ proto.gateway.web.v1.AISessionRef.serializeBinaryToWriter
23272
25446
  );
23273
25447
  }
23274
25448
  f = message.getUnlandedCostUsd();
@@ -23712,30 +25886,31 @@ proto.gateway.web.v1.AIFileRow.prototype.setEditCount = function(value) {
23712
25886
 
23713
25887
 
23714
25888
  /**
23715
- * repeated string session_id = 17;
23716
- * @return {!Array<string>}
25889
+ * repeated AISessionRef sessions = 17;
25890
+ * @return {!Array<!proto.gateway.web.v1.AISessionRef>}
23717
25891
  */
23718
- proto.gateway.web.v1.AIFileRow.prototype.getSessionIdList = function() {
23719
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 17));
25892
+ proto.gateway.web.v1.AIFileRow.prototype.getSessionsList = function() {
25893
+ return /** @type{!Array<!proto.gateway.web.v1.AISessionRef>} */ (
25894
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionRef, 17));
23720
25895
  };
23721
25896
 
23722
25897
 
23723
25898
  /**
23724
- * @param {!Array<string>} value
25899
+ * @param {!Array<!proto.gateway.web.v1.AISessionRef>} value
23725
25900
  * @return {!proto.gateway.web.v1.AIFileRow} returns this
23726
- */
23727
- proto.gateway.web.v1.AIFileRow.prototype.setSessionIdList = function(value) {
23728
- return jspb.Message.setField(this, 17, value || []);
25901
+ */
25902
+ proto.gateway.web.v1.AIFileRow.prototype.setSessionsList = function(value) {
25903
+ return jspb.Message.setRepeatedWrapperField(this, 17, value);
23729
25904
  };
23730
25905
 
23731
25906
 
23732
25907
  /**
23733
- * @param {string} value
25908
+ * @param {!proto.gateway.web.v1.AISessionRef=} opt_value
23734
25909
  * @param {number=} opt_index
23735
- * @return {!proto.gateway.web.v1.AIFileRow} returns this
25910
+ * @return {!proto.gateway.web.v1.AISessionRef}
23736
25911
  */
23737
- proto.gateway.web.v1.AIFileRow.prototype.addSessionId = function(value, opt_index) {
23738
- return jspb.Message.addToRepeatedField(this, 17, value, opt_index);
25912
+ proto.gateway.web.v1.AIFileRow.prototype.addSessions = function(opt_value, opt_index) {
25913
+ return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.gateway.web.v1.AISessionRef, opt_index);
23739
25914
  };
23740
25915
 
23741
25916
 
@@ -23743,8 +25918,8 @@ proto.gateway.web.v1.AIFileRow.prototype.addSessionId = function(value, opt_inde
23743
25918
  * Clears the list making it empty but non-null.
23744
25919
  * @return {!proto.gateway.web.v1.AIFileRow} returns this
23745
25920
  */
23746
- proto.gateway.web.v1.AIFileRow.prototype.clearSessionIdList = function() {
23747
- return this.setSessionIdList([]);
25921
+ proto.gateway.web.v1.AIFileRow.prototype.clearSessionsList = function() {
25922
+ return this.setSessionsList([]);
23748
25923
  };
23749
25924
 
23750
25925