@miradorlabs/web-grpc 2.76.0 → 3.0.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.
@@ -40,8 +40,6 @@ goog.exportSymbol('proto.gateway.web.v1.AIGitActivityFilter', null, global);
40
40
  goog.exportSymbol('proto.gateway.web.v1.AIGitOutcome', null, global);
41
41
  goog.exportSymbol('proto.gateway.web.v1.AIModelPrice', null, global);
42
42
  goog.exportSymbol('proto.gateway.web.v1.AIModelPriceFilter', null, global);
43
- goog.exportSymbol('proto.gateway.web.v1.AIPrincipal', null, global);
44
- goog.exportSymbol('proto.gateway.web.v1.AIPrincipalKind', null, global);
45
43
  goog.exportSymbol('proto.gateway.web.v1.AIResourceDimension', null, global);
46
44
  goog.exportSymbol('proto.gateway.web.v1.AISessionEvent', null, global);
47
45
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope', null, global);
@@ -88,8 +86,6 @@ goog.exportSymbol('proto.gateway.web.v1.ListModelPriceHistoryRequest', null, glo
88
86
  goog.exportSymbol('proto.gateway.web.v1.ListModelPriceHistoryResponse', null, global);
89
87
  goog.exportSymbol('proto.gateway.web.v1.ListModelPricesRequest', null, global);
90
88
  goog.exportSymbol('proto.gateway.web.v1.ListModelPricesResponse', null, global);
91
- goog.exportSymbol('proto.gateway.web.v1.ListPrincipalsRequest', null, global);
92
- goog.exportSymbol('proto.gateway.web.v1.ListPrincipalsResponse', null, global);
93
89
  goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsRequest', null, global);
94
90
  goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsResponse', null, global);
95
91
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsRequest', null, global);
@@ -124,8 +120,6 @@ goog.exportSymbol('proto.gateway.web.v1.TokenActivityGroup', null, global);
124
120
  goog.exportSymbol('proto.gateway.web.v1.TokenActivityMeasures', null, global);
125
121
  goog.exportSymbol('proto.gateway.web.v1.TokenActivitySummary', null, global);
126
122
  goog.exportSymbol('proto.gateway.web.v1.TokenActivitySummaryRequest', null, global);
127
- goog.exportSymbol('proto.gateway.web.v1.UpdatePrincipalRequest', null, global);
128
- goog.exportSymbol('proto.gateway.web.v1.UpdatePrincipalResponse', null, global);
129
123
  /**
130
124
  * Generated by JsPbCodeGenerator.
131
125
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -609,111 +603,6 @@ if (goog.DEBUG && !COMPILED) {
609
603
  */
610
604
  proto.gateway.web.v1.SessionTimelinePoint.displayName = 'proto.gateway.web.v1.SessionTimelinePoint';
611
605
  }
612
- /**
613
- * Generated by JsPbCodeGenerator.
614
- * @param {Array=} opt_data Optional initial data array, typically from a
615
- * server response, or constructed directly in Javascript. The array is used
616
- * in place and becomes part of the constructed object. It is not cloned.
617
- * If no data is provided, the constructed object will be empty, but still
618
- * valid.
619
- * @extends {jspb.Message}
620
- * @constructor
621
- */
622
- proto.gateway.web.v1.ListPrincipalsRequest = function(opt_data) {
623
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
624
- };
625
- goog.inherits(proto.gateway.web.v1.ListPrincipalsRequest, jspb.Message);
626
- if (goog.DEBUG && !COMPILED) {
627
- /**
628
- * @public
629
- * @override
630
- */
631
- proto.gateway.web.v1.ListPrincipalsRequest.displayName = 'proto.gateway.web.v1.ListPrincipalsRequest';
632
- }
633
- /**
634
- * Generated by JsPbCodeGenerator.
635
- * @param {Array=} opt_data Optional initial data array, typically from a
636
- * server response, or constructed directly in Javascript. The array is used
637
- * in place and becomes part of the constructed object. It is not cloned.
638
- * If no data is provided, the constructed object will be empty, but still
639
- * valid.
640
- * @extends {jspb.Message}
641
- * @constructor
642
- */
643
- proto.gateway.web.v1.ListPrincipalsResponse = function(opt_data) {
644
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListPrincipalsResponse.repeatedFields_, null);
645
- };
646
- goog.inherits(proto.gateway.web.v1.ListPrincipalsResponse, jspb.Message);
647
- if (goog.DEBUG && !COMPILED) {
648
- /**
649
- * @public
650
- * @override
651
- */
652
- proto.gateway.web.v1.ListPrincipalsResponse.displayName = 'proto.gateway.web.v1.ListPrincipalsResponse';
653
- }
654
- /**
655
- * Generated by JsPbCodeGenerator.
656
- * @param {Array=} opt_data Optional initial data array, typically from a
657
- * server response, or constructed directly in Javascript. The array is used
658
- * in place and becomes part of the constructed object. It is not cloned.
659
- * If no data is provided, the constructed object will be empty, but still
660
- * valid.
661
- * @extends {jspb.Message}
662
- * @constructor
663
- */
664
- proto.gateway.web.v1.AIPrincipal = function(opt_data) {
665
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
666
- };
667
- goog.inherits(proto.gateway.web.v1.AIPrincipal, jspb.Message);
668
- if (goog.DEBUG && !COMPILED) {
669
- /**
670
- * @public
671
- * @override
672
- */
673
- proto.gateway.web.v1.AIPrincipal.displayName = 'proto.gateway.web.v1.AIPrincipal';
674
- }
675
- /**
676
- * Generated by JsPbCodeGenerator.
677
- * @param {Array=} opt_data Optional initial data array, typically from a
678
- * server response, or constructed directly in Javascript. The array is used
679
- * in place and becomes part of the constructed object. It is not cloned.
680
- * If no data is provided, the constructed object will be empty, but still
681
- * valid.
682
- * @extends {jspb.Message}
683
- * @constructor
684
- */
685
- proto.gateway.web.v1.UpdatePrincipalRequest = function(opt_data) {
686
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
687
- };
688
- goog.inherits(proto.gateway.web.v1.UpdatePrincipalRequest, jspb.Message);
689
- if (goog.DEBUG && !COMPILED) {
690
- /**
691
- * @public
692
- * @override
693
- */
694
- proto.gateway.web.v1.UpdatePrincipalRequest.displayName = 'proto.gateway.web.v1.UpdatePrincipalRequest';
695
- }
696
- /**
697
- * Generated by JsPbCodeGenerator.
698
- * @param {Array=} opt_data Optional initial data array, typically from a
699
- * server response, or constructed directly in Javascript. The array is used
700
- * in place and becomes part of the constructed object. It is not cloned.
701
- * If no data is provided, the constructed object will be empty, but still
702
- * valid.
703
- * @extends {jspb.Message}
704
- * @constructor
705
- */
706
- proto.gateway.web.v1.UpdatePrincipalResponse = function(opt_data) {
707
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
708
- };
709
- goog.inherits(proto.gateway.web.v1.UpdatePrincipalResponse, jspb.Message);
710
- if (goog.DEBUG && !COMPILED) {
711
- /**
712
- * @public
713
- * @override
714
- */
715
- proto.gateway.web.v1.UpdatePrincipalResponse.displayName = 'proto.gateway.web.v1.UpdatePrincipalResponse';
716
- }
717
606
  /**
718
607
  * Generated by JsPbCodeGenerator.
719
608
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2260,7 +2149,7 @@ proto.gateway.web.v1.ListSessionsRequest.prototype.setSort = function(value) {
2260
2149
  * @private {!Array<number>}
2261
2150
  * @const
2262
2151
  */
2263
- proto.gateway.web.v1.AISessionFilter.repeatedFields_ = [1,2,3,4,5];
2152
+ proto.gateway.web.v1.AISessionFilter.repeatedFields_ = [1,2,3,4,5,7];
2264
2153
 
2265
2154
 
2266
2155
 
@@ -2298,7 +2187,8 @@ userIdList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
2298
2187
  apiKeyIdList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2299
2188
  modelList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
2300
2189
  providerList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
2301
- activeAfter: (f = msg.getActiveAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
2190
+ activeAfter: (f = msg.getActiveAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2191
+ effortList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
2302
2192
  };
2303
2193
 
2304
2194
  if (includeInstance) {
@@ -2360,6 +2250,10 @@ proto.gateway.web.v1.AISessionFilter.deserializeBinaryFromReader = function(msg,
2360
2250
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2361
2251
  msg.setActiveAfter(value);
2362
2252
  break;
2253
+ case 7:
2254
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2255
+ msg.addEffort(value);
2256
+ break;
2363
2257
  default:
2364
2258
  reader.skipField();
2365
2259
  break;
@@ -2432,6 +2326,13 @@ proto.gateway.web.v1.AISessionFilter.serializeBinaryToWriter = function(message,
2432
2326
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2433
2327
  );
2434
2328
  }
2329
+ f = message.getEffortList();
2330
+ if (f.length > 0) {
2331
+ writer.writeRepeatedString(
2332
+ 7,
2333
+ f
2334
+ );
2335
+ }
2435
2336
  };
2436
2337
 
2437
2338
 
@@ -2657,6 +2558,43 @@ proto.gateway.web.v1.AISessionFilter.prototype.hasActiveAfter = function() {
2657
2558
  };
2658
2559
 
2659
2560
 
2561
+ /**
2562
+ * repeated string effort = 7;
2563
+ * @return {!Array<string>}
2564
+ */
2565
+ proto.gateway.web.v1.AISessionFilter.prototype.getEffortList = function() {
2566
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
2567
+ };
2568
+
2569
+
2570
+ /**
2571
+ * @param {!Array<string>} value
2572
+ * @return {!proto.gateway.web.v1.AISessionFilter} returns this
2573
+ */
2574
+ proto.gateway.web.v1.AISessionFilter.prototype.setEffortList = function(value) {
2575
+ return jspb.Message.setField(this, 7, value || []);
2576
+ };
2577
+
2578
+
2579
+ /**
2580
+ * @param {string} value
2581
+ * @param {number=} opt_index
2582
+ * @return {!proto.gateway.web.v1.AISessionFilter} returns this
2583
+ */
2584
+ proto.gateway.web.v1.AISessionFilter.prototype.addEffort = function(value, opt_index) {
2585
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
2586
+ };
2587
+
2588
+
2589
+ /**
2590
+ * Clears the list making it empty but non-null.
2591
+ * @return {!proto.gateway.web.v1.AISessionFilter} returns this
2592
+ */
2593
+ proto.gateway.web.v1.AISessionFilter.prototype.clearEffortList = function() {
2594
+ return this.setEffortList([]);
2595
+ };
2596
+
2597
+
2660
2598
 
2661
2599
  /**
2662
2600
  * List of repeated fields within this message type.
@@ -3145,7 +3083,7 @@ proto.gateway.web.v1.SessionPagination.prototype.setTotalPages = function(value)
3145
3083
  * @private {!Array<number>}
3146
3084
  * @const
3147
3085
  */
3148
- proto.gateway.web.v1.AISessionSummary.repeatedFields_ = [13,14,20,21];
3086
+ proto.gateway.web.v1.AISessionSummary.repeatedFields_ = [13,14,20,21,26,27,28,29];
3149
3087
 
3150
3088
 
3151
3089
 
@@ -3202,7 +3140,12 @@ gitOrgsList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined :
3202
3140
  repositoriesList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f,
3203
3141
  filesTouched: jspb.Message.getFieldWithDefault(msg, 22, 0),
3204
3142
  sessionVersion: jspb.Message.getFieldWithDefault(msg, 23, 0),
3205
- subagents: jspb.Message.getFieldWithDefault(msg, 25, 0)
3143
+ subagents: jspb.Message.getFieldWithDefault(msg, 25, 0),
3144
+ effortsList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f,
3145
+ billingPartiesList: (f = jspb.Message.getRepeatedField(msg, 27)) == null ? undefined : f,
3146
+ costSourcesList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f,
3147
+ accountIdsList: (f = jspb.Message.getRepeatedField(msg, 29)) == null ? undefined : f,
3148
+ observer: jspb.Message.getFieldWithDefault(msg, 30, "")
3206
3149
  };
3207
3150
 
3208
3151
  if (includeInstance) {
@@ -3342,6 +3285,26 @@ proto.gateway.web.v1.AISessionSummary.deserializeBinaryFromReader = function(msg
3342
3285
  var value = /** @type {number} */ (reader.readUint64());
3343
3286
  msg.setSubagents(value);
3344
3287
  break;
3288
+ case 26:
3289
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3290
+ msg.addEfforts(value);
3291
+ break;
3292
+ case 27:
3293
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3294
+ msg.addBillingParties(value);
3295
+ break;
3296
+ case 28:
3297
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3298
+ msg.addCostSources(value);
3299
+ break;
3300
+ case 29:
3301
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3302
+ msg.addAccountIds(value);
3303
+ break;
3304
+ case 30:
3305
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3306
+ msg.setObserver(value);
3307
+ break;
3345
3308
  default:
3346
3309
  reader.skipField();
3347
3310
  break;
@@ -3549,6 +3512,41 @@ proto.gateway.web.v1.AISessionSummary.serializeBinaryToWriter = function(message
3549
3512
  f
3550
3513
  );
3551
3514
  }
3515
+ f = message.getEffortsList();
3516
+ if (f.length > 0) {
3517
+ writer.writeRepeatedString(
3518
+ 26,
3519
+ f
3520
+ );
3521
+ }
3522
+ f = message.getBillingPartiesList();
3523
+ if (f.length > 0) {
3524
+ writer.writeRepeatedString(
3525
+ 27,
3526
+ f
3527
+ );
3528
+ }
3529
+ f = message.getCostSourcesList();
3530
+ if (f.length > 0) {
3531
+ writer.writeRepeatedString(
3532
+ 28,
3533
+ f
3534
+ );
3535
+ }
3536
+ f = message.getAccountIdsList();
3537
+ if (f.length > 0) {
3538
+ writer.writeRepeatedString(
3539
+ 29,
3540
+ f
3541
+ );
3542
+ }
3543
+ f = message.getObserver();
3544
+ if (f.length > 0) {
3545
+ writer.writeString(
3546
+ 30,
3547
+ f
3548
+ );
3549
+ }
3552
3550
  };
3553
3551
 
3554
3552
 
@@ -4135,86 +4133,252 @@ proto.gateway.web.v1.AISessionSummary.prototype.setSubagents = function(value) {
4135
4133
  };
4136
4134
 
4137
4135
 
4136
+ /**
4137
+ * repeated string efforts = 26;
4138
+ * @return {!Array<string>}
4139
+ */
4140
+ proto.gateway.web.v1.AISessionSummary.prototype.getEffortsList = function() {
4141
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 26));
4142
+ };
4143
+
4138
4144
 
4145
+ /**
4146
+ * @param {!Array<string>} value
4147
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4148
+ */
4149
+ proto.gateway.web.v1.AISessionSummary.prototype.setEffortsList = function(value) {
4150
+ return jspb.Message.setField(this, 26, value || []);
4151
+ };
4139
4152
 
4140
4153
 
4141
- if (jspb.Message.GENERATE_TO_OBJECT) {
4142
4154
  /**
4143
- * Creates an object representation of this proto.
4144
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4145
- * Optional fields that are not set will be set to undefined.
4146
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4147
- * For the list of reserved names please see:
4148
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4149
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4150
- * JSPB instance for transitional soy proto support:
4151
- * http://goto/soy-param-migration
4152
- * @return {!Object}
4155
+ * @param {string} value
4156
+ * @param {number=} opt_index
4157
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4153
4158
  */
4154
- proto.gateway.web.v1.StreamSessionsRequest.prototype.toObject = function(opt_includeInstance) {
4155
- return proto.gateway.web.v1.StreamSessionsRequest.toObject(opt_includeInstance, this);
4159
+ proto.gateway.web.v1.AISessionSummary.prototype.addEfforts = function(value, opt_index) {
4160
+ return jspb.Message.addToRepeatedField(this, 26, value, opt_index);
4156
4161
  };
4157
4162
 
4158
4163
 
4159
4164
  /**
4160
- * Static version of the {@see toObject} method.
4161
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4162
- * the JSPB instance for transitional soy proto support:
4163
- * http://goto/soy-param-migration
4164
- * @param {!proto.gateway.web.v1.StreamSessionsRequest} msg The msg instance to transform.
4165
- * @return {!Object}
4166
- * @suppress {unusedLocalVariables} f is only used for nested messages
4165
+ * Clears the list making it empty but non-null.
4166
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4167
4167
  */
4168
- proto.gateway.web.v1.StreamSessionsRequest.toObject = function(includeInstance, msg) {
4169
- var f, obj = {
4170
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4171
- projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
4172
- filter: (f = msg.getFilter()) && proto.gateway.web.v1.AISessionFilter.toObject(includeInstance, f),
4173
- perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
4174
- sort: jspb.Message.getFieldWithDefault(msg, 5, 0)
4175
- };
4168
+ proto.gateway.web.v1.AISessionSummary.prototype.clearEffortsList = function() {
4169
+ return this.setEffortsList([]);
4170
+ };
4176
4171
 
4177
- if (includeInstance) {
4178
- obj.$jspbMessageInstance = msg;
4179
- }
4180
- return obj;
4172
+
4173
+ /**
4174
+ * repeated string billing_parties = 27;
4175
+ * @return {!Array<string>}
4176
+ */
4177
+ proto.gateway.web.v1.AISessionSummary.prototype.getBillingPartiesList = function() {
4178
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 27));
4181
4179
  };
4182
- }
4183
4180
 
4184
4181
 
4185
4182
  /**
4186
- * Deserializes binary data (in protobuf wire format).
4187
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4188
- * @return {!proto.gateway.web.v1.StreamSessionsRequest}
4183
+ * @param {!Array<string>} value
4184
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4189
4185
  */
4190
- proto.gateway.web.v1.StreamSessionsRequest.deserializeBinary = function(bytes) {
4191
- var reader = new jspb.BinaryReader(bytes);
4192
- var msg = new proto.gateway.web.v1.StreamSessionsRequest;
4193
- return proto.gateway.web.v1.StreamSessionsRequest.deserializeBinaryFromReader(msg, reader);
4186
+ proto.gateway.web.v1.AISessionSummary.prototype.setBillingPartiesList = function(value) {
4187
+ return jspb.Message.setField(this, 27, value || []);
4194
4188
  };
4195
4189
 
4196
4190
 
4197
4191
  /**
4198
- * Deserializes binary data (in protobuf wire format) from the
4199
- * given reader into the given message object.
4200
- * @param {!proto.gateway.web.v1.StreamSessionsRequest} msg The message object to deserialize into.
4201
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4202
- * @return {!proto.gateway.web.v1.StreamSessionsRequest}
4192
+ * @param {string} value
4193
+ * @param {number=} opt_index
4194
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4203
4195
  */
4204
- proto.gateway.web.v1.StreamSessionsRequest.deserializeBinaryFromReader = function(msg, reader) {
4205
- while (reader.nextField()) {
4206
- if (reader.isEndGroup()) {
4207
- break;
4208
- }
4209
- var field = reader.getFieldNumber();
4210
- switch (field) {
4211
- case 1:
4212
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4213
- msg.setOrganizationId(value);
4214
- break;
4215
- case 2:
4216
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4217
- msg.setProjectId(value);
4196
+ proto.gateway.web.v1.AISessionSummary.prototype.addBillingParties = function(value, opt_index) {
4197
+ return jspb.Message.addToRepeatedField(this, 27, value, opt_index);
4198
+ };
4199
+
4200
+
4201
+ /**
4202
+ * Clears the list making it empty but non-null.
4203
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4204
+ */
4205
+ proto.gateway.web.v1.AISessionSummary.prototype.clearBillingPartiesList = function() {
4206
+ return this.setBillingPartiesList([]);
4207
+ };
4208
+
4209
+
4210
+ /**
4211
+ * repeated string cost_sources = 28;
4212
+ * @return {!Array<string>}
4213
+ */
4214
+ proto.gateway.web.v1.AISessionSummary.prototype.getCostSourcesList = function() {
4215
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 28));
4216
+ };
4217
+
4218
+
4219
+ /**
4220
+ * @param {!Array<string>} value
4221
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4222
+ */
4223
+ proto.gateway.web.v1.AISessionSummary.prototype.setCostSourcesList = function(value) {
4224
+ return jspb.Message.setField(this, 28, value || []);
4225
+ };
4226
+
4227
+
4228
+ /**
4229
+ * @param {string} value
4230
+ * @param {number=} opt_index
4231
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4232
+ */
4233
+ proto.gateway.web.v1.AISessionSummary.prototype.addCostSources = function(value, opt_index) {
4234
+ return jspb.Message.addToRepeatedField(this, 28, value, opt_index);
4235
+ };
4236
+
4237
+
4238
+ /**
4239
+ * Clears the list making it empty but non-null.
4240
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4241
+ */
4242
+ proto.gateway.web.v1.AISessionSummary.prototype.clearCostSourcesList = function() {
4243
+ return this.setCostSourcesList([]);
4244
+ };
4245
+
4246
+
4247
+ /**
4248
+ * repeated string account_ids = 29;
4249
+ * @return {!Array<string>}
4250
+ */
4251
+ proto.gateway.web.v1.AISessionSummary.prototype.getAccountIdsList = function() {
4252
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 29));
4253
+ };
4254
+
4255
+
4256
+ /**
4257
+ * @param {!Array<string>} value
4258
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4259
+ */
4260
+ proto.gateway.web.v1.AISessionSummary.prototype.setAccountIdsList = function(value) {
4261
+ return jspb.Message.setField(this, 29, value || []);
4262
+ };
4263
+
4264
+
4265
+ /**
4266
+ * @param {string} value
4267
+ * @param {number=} opt_index
4268
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4269
+ */
4270
+ proto.gateway.web.v1.AISessionSummary.prototype.addAccountIds = function(value, opt_index) {
4271
+ return jspb.Message.addToRepeatedField(this, 29, value, opt_index);
4272
+ };
4273
+
4274
+
4275
+ /**
4276
+ * Clears the list making it empty but non-null.
4277
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4278
+ */
4279
+ proto.gateway.web.v1.AISessionSummary.prototype.clearAccountIdsList = function() {
4280
+ return this.setAccountIdsList([]);
4281
+ };
4282
+
4283
+
4284
+ /**
4285
+ * optional string observer = 30;
4286
+ * @return {string}
4287
+ */
4288
+ proto.gateway.web.v1.AISessionSummary.prototype.getObserver = function() {
4289
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
4290
+ };
4291
+
4292
+
4293
+ /**
4294
+ * @param {string} value
4295
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
4296
+ */
4297
+ proto.gateway.web.v1.AISessionSummary.prototype.setObserver = function(value) {
4298
+ return jspb.Message.setProto3StringField(this, 30, value);
4299
+ };
4300
+
4301
+
4302
+
4303
+
4304
+
4305
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4306
+ /**
4307
+ * Creates an object representation of this proto.
4308
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4309
+ * Optional fields that are not set will be set to undefined.
4310
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4311
+ * For the list of reserved names please see:
4312
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4313
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4314
+ * JSPB instance for transitional soy proto support:
4315
+ * http://goto/soy-param-migration
4316
+ * @return {!Object}
4317
+ */
4318
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.toObject = function(opt_includeInstance) {
4319
+ return proto.gateway.web.v1.StreamSessionsRequest.toObject(opt_includeInstance, this);
4320
+ };
4321
+
4322
+
4323
+ /**
4324
+ * Static version of the {@see toObject} method.
4325
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4326
+ * the JSPB instance for transitional soy proto support:
4327
+ * http://goto/soy-param-migration
4328
+ * @param {!proto.gateway.web.v1.StreamSessionsRequest} msg The msg instance to transform.
4329
+ * @return {!Object}
4330
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4331
+ */
4332
+ proto.gateway.web.v1.StreamSessionsRequest.toObject = function(includeInstance, msg) {
4333
+ var f, obj = {
4334
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4335
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
4336
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.AISessionFilter.toObject(includeInstance, f),
4337
+ perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
4338
+ sort: jspb.Message.getFieldWithDefault(msg, 5, 0)
4339
+ };
4340
+
4341
+ if (includeInstance) {
4342
+ obj.$jspbMessageInstance = msg;
4343
+ }
4344
+ return obj;
4345
+ };
4346
+ }
4347
+
4348
+
4349
+ /**
4350
+ * Deserializes binary data (in protobuf wire format).
4351
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4352
+ * @return {!proto.gateway.web.v1.StreamSessionsRequest}
4353
+ */
4354
+ proto.gateway.web.v1.StreamSessionsRequest.deserializeBinary = function(bytes) {
4355
+ var reader = new jspb.BinaryReader(bytes);
4356
+ var msg = new proto.gateway.web.v1.StreamSessionsRequest;
4357
+ return proto.gateway.web.v1.StreamSessionsRequest.deserializeBinaryFromReader(msg, reader);
4358
+ };
4359
+
4360
+
4361
+ /**
4362
+ * Deserializes binary data (in protobuf wire format) from the
4363
+ * given reader into the given message object.
4364
+ * @param {!proto.gateway.web.v1.StreamSessionsRequest} msg The message object to deserialize into.
4365
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4366
+ * @return {!proto.gateway.web.v1.StreamSessionsRequest}
4367
+ */
4368
+ proto.gateway.web.v1.StreamSessionsRequest.deserializeBinaryFromReader = function(msg, reader) {
4369
+ while (reader.nextField()) {
4370
+ if (reader.isEndGroup()) {
4371
+ break;
4372
+ }
4373
+ var field = reader.getFieldNumber();
4374
+ switch (field) {
4375
+ case 1:
4376
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4377
+ msg.setOrganizationId(value);
4378
+ break;
4379
+ case 2:
4380
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4381
+ msg.setProjectId(value);
4218
4382
  break;
4219
4383
  case 3:
4220
4384
  var value = new proto.gateway.web.v1.AISessionFilter;
@@ -6131,7 +6295,8 @@ fundingMode: jspb.Message.getFieldWithDefault(msg, 19, 0),
6131
6295
  agentId: jspb.Message.getFieldWithDefault(msg, 20, ""),
6132
6296
  parentAgentId: jspb.Message.getFieldWithDefault(msg, 21, ""),
6133
6297
  isSubagent: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
6134
- agentName: jspb.Message.getFieldWithDefault(msg, 23, "")
6298
+ agentName: jspb.Message.getFieldWithDefault(msg, 23, ""),
6299
+ effort: jspb.Message.getFieldWithDefault(msg, 24, "")
6135
6300
  };
6136
6301
 
6137
6302
  if (includeInstance) {
@@ -6263,6 +6428,10 @@ proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader = function(msg,
6263
6428
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
6264
6429
  msg.setAgentName(value);
6265
6430
  break;
6431
+ case 24:
6432
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6433
+ msg.setEffort(value);
6434
+ break;
6266
6435
  default:
6267
6436
  reader.skipField();
6268
6437
  break;
@@ -6456,6 +6625,13 @@ proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter = function(message,
6456
6625
  f
6457
6626
  );
6458
6627
  }
6628
+ f = message.getEffort();
6629
+ if (f.length > 0) {
6630
+ writer.writeString(
6631
+ 24,
6632
+ f
6633
+ );
6634
+ }
6459
6635
  };
6460
6636
 
6461
6637
 
@@ -6985,6 +7161,24 @@ proto.gateway.web.v1.AISessionEvent.prototype.setAgentName = function(value) {
6985
7161
  };
6986
7162
 
6987
7163
 
7164
+ /**
7165
+ * optional string effort = 24;
7166
+ * @return {string}
7167
+ */
7168
+ proto.gateway.web.v1.AISessionEvent.prototype.getEffort = function() {
7169
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
7170
+ };
7171
+
7172
+
7173
+ /**
7174
+ * @param {string} value
7175
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
7176
+ */
7177
+ proto.gateway.web.v1.AISessionEvent.prototype.setEffort = function(value) {
7178
+ return jspb.Message.setProto3StringField(this, 24, value);
7179
+ };
7180
+
7181
+
6988
7182
 
6989
7183
 
6990
7184
 
@@ -8934,7 +9128,8 @@ model: jspb.Message.getFieldWithDefault(msg, 1, ""),
8934
9128
  provider: jspb.Message.getFieldWithDefault(msg, 2, ""),
8935
9129
  usage: (f = msg.getUsage()) && proto.gateway.web.v1.AITokenUsage.toObject(includeInstance, f),
8936
9130
  callCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
8937
- usageUnavailableCount: jspb.Message.getFieldWithDefault(msg, 5, 0)
9131
+ usageUnavailableCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
9132
+ effort: jspb.Message.getFieldWithDefault(msg, 6, "")
8938
9133
  };
8939
9134
 
8940
9135
  if (includeInstance) {
@@ -8992,6 +9187,10 @@ proto.gateway.web.v1.SessionModelUsage.deserializeBinaryFromReader = function(ms
8992
9187
  var value = /** @type {number} */ (reader.readUint64());
8993
9188
  msg.setUsageUnavailableCount(value);
8994
9189
  break;
9190
+ case 6:
9191
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9192
+ msg.setEffort(value);
9193
+ break;
8995
9194
  default:
8996
9195
  reader.skipField();
8997
9196
  break;
@@ -9057,6 +9256,13 @@ proto.gateway.web.v1.SessionModelUsage.serializeBinaryToWriter = function(messag
9057
9256
  f
9058
9257
  );
9059
9258
  }
9259
+ f = message.getEffort();
9260
+ if (f.length > 0) {
9261
+ writer.writeString(
9262
+ 6,
9263
+ f
9264
+ );
9265
+ }
9060
9266
  };
9061
9267
 
9062
9268
 
@@ -9169,6 +9375,24 @@ proto.gateway.web.v1.SessionModelUsage.prototype.setUsageUnavailableCount = func
9169
9375
  };
9170
9376
 
9171
9377
 
9378
+ /**
9379
+ * optional string effort = 6;
9380
+ * @return {string}
9381
+ */
9382
+ proto.gateway.web.v1.SessionModelUsage.prototype.getEffort = function() {
9383
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
9384
+ };
9385
+
9386
+
9387
+ /**
9388
+ * @param {string} value
9389
+ * @return {!proto.gateway.web.v1.SessionModelUsage} returns this
9390
+ */
9391
+ proto.gateway.web.v1.SessionModelUsage.prototype.setEffort = function(value) {
9392
+ return jspb.Message.setProto3StringField(this, 6, value);
9393
+ };
9394
+
9395
+
9172
9396
 
9173
9397
 
9174
9398
 
@@ -9210,7 +9434,8 @@ provider: jspb.Message.getFieldWithDefault(msg, 6, ""),
9210
9434
  finishReason: jspb.Message.getFieldWithDefault(msg, 7, ""),
9211
9435
  durationMs: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
9212
9436
  usage: (f = msg.getUsage()) && proto.gateway.web.v1.AITokenUsage.toObject(includeInstance, f),
9213
- fundingMode: jspb.Message.getFieldWithDefault(msg, 10, 0)
9437
+ fundingMode: jspb.Message.getFieldWithDefault(msg, 10, 0),
9438
+ effort: jspb.Message.getFieldWithDefault(msg, 11, "")
9214
9439
  };
9215
9440
 
9216
9441
  if (includeInstance) {
@@ -9289,6 +9514,10 @@ proto.gateway.web.v1.SessionTimelinePoint.deserializeBinaryFromReader = function
9289
9514
  var value = /** @type {!proto.gateway.web.v1.AIFundingMode} */ (reader.readEnum());
9290
9515
  msg.setFundingMode(value);
9291
9516
  break;
9517
+ case 11:
9518
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9519
+ msg.setEffort(value);
9520
+ break;
9292
9521
  default:
9293
9522
  reader.skipField();
9294
9523
  break;
@@ -9390,6 +9619,13 @@ proto.gateway.web.v1.SessionTimelinePoint.serializeBinaryToWriter = function(mes
9390
9619
  f
9391
9620
  );
9392
9621
  }
9622
+ f = message.getEffort();
9623
+ if (f.length > 0) {
9624
+ writer.writeString(
9625
+ 11,
9626
+ f
9627
+ );
9628
+ }
9393
9629
  };
9394
9630
 
9395
9631
 
@@ -9563,1438 +9799,42 @@ proto.gateway.web.v1.SessionTimelinePoint.prototype.setDurationMs = function(val
9563
9799
  proto.gateway.web.v1.SessionTimelinePoint.prototype.clearDurationMs = function() {
9564
9800
  return jspb.Message.setField(this, 8, undefined);
9565
9801
  };
9566
-
9567
-
9568
- /**
9569
- * Returns whether this field is set.
9570
- * @return {boolean}
9571
- */
9572
- proto.gateway.web.v1.SessionTimelinePoint.prototype.hasDurationMs = function() {
9573
- return jspb.Message.getField(this, 8) != null;
9574
- };
9575
-
9576
-
9577
- /**
9578
- * optional AITokenUsage usage = 9;
9579
- * @return {?proto.gateway.web.v1.AITokenUsage}
9580
- */
9581
- proto.gateway.web.v1.SessionTimelinePoint.prototype.getUsage = function() {
9582
- return /** @type{?proto.gateway.web.v1.AITokenUsage} */ (
9583
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AITokenUsage, 9));
9584
- };
9585
-
9586
-
9587
- /**
9588
- * @param {?proto.gateway.web.v1.AITokenUsage|undefined} value
9589
- * @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
9590
- */
9591
- proto.gateway.web.v1.SessionTimelinePoint.prototype.setUsage = function(value) {
9592
- return jspb.Message.setWrapperField(this, 9, value);
9593
- };
9594
-
9595
-
9596
- /**
9597
- * Clears the message field making it undefined.
9598
- * @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
9599
- */
9600
- proto.gateway.web.v1.SessionTimelinePoint.prototype.clearUsage = function() {
9601
- return this.setUsage(undefined);
9602
- };
9603
-
9604
-
9605
- /**
9606
- * Returns whether this field is set.
9607
- * @return {boolean}
9608
- */
9609
- proto.gateway.web.v1.SessionTimelinePoint.prototype.hasUsage = function() {
9610
- return jspb.Message.getField(this, 9) != null;
9611
- };
9612
-
9613
-
9614
- /**
9615
- * optional AIFundingMode funding_mode = 10;
9616
- * @return {!proto.gateway.web.v1.AIFundingMode}
9617
- */
9618
- proto.gateway.web.v1.SessionTimelinePoint.prototype.getFundingMode = function() {
9619
- return /** @type {!proto.gateway.web.v1.AIFundingMode} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
9620
- };
9621
-
9622
-
9623
- /**
9624
- * @param {!proto.gateway.web.v1.AIFundingMode} value
9625
- * @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
9626
- */
9627
- proto.gateway.web.v1.SessionTimelinePoint.prototype.setFundingMode = function(value) {
9628
- return jspb.Message.setProto3EnumField(this, 10, value);
9629
- };
9630
-
9631
-
9632
-
9633
-
9634
-
9635
- if (jspb.Message.GENERATE_TO_OBJECT) {
9636
- /**
9637
- * Creates an object representation of this proto.
9638
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
9639
- * Optional fields that are not set will be set to undefined.
9640
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9641
- * For the list of reserved names please see:
9642
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9643
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9644
- * JSPB instance for transitional soy proto support:
9645
- * http://goto/soy-param-migration
9646
- * @return {!Object}
9647
- */
9648
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.toObject = function(opt_includeInstance) {
9649
- return proto.gateway.web.v1.ListPrincipalsRequest.toObject(opt_includeInstance, this);
9650
- };
9651
-
9652
-
9653
- /**
9654
- * Static version of the {@see toObject} method.
9655
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9656
- * the JSPB instance for transitional soy proto support:
9657
- * http://goto/soy-param-migration
9658
- * @param {!proto.gateway.web.v1.ListPrincipalsRequest} msg The msg instance to transform.
9659
- * @return {!Object}
9660
- * @suppress {unusedLocalVariables} f is only used for nested messages
9661
- */
9662
- proto.gateway.web.v1.ListPrincipalsRequest.toObject = function(includeInstance, msg) {
9663
- var f, obj = {
9664
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
9665
- projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
9666
- kind: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
9667
- sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, ""),
9668
- pageSize: jspb.Message.getFieldWithDefault(msg, 5, 0),
9669
- pageToken: jspb.Message.getFieldWithDefault(msg, 6, "")
9670
- };
9671
-
9672
- if (includeInstance) {
9673
- obj.$jspbMessageInstance = msg;
9674
- }
9675
- return obj;
9676
- };
9677
- }
9678
-
9679
-
9680
- /**
9681
- * Deserializes binary data (in protobuf wire format).
9682
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
9683
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest}
9684
- */
9685
- proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinary = function(bytes) {
9686
- var reader = new jspb.BinaryReader(bytes);
9687
- var msg = new proto.gateway.web.v1.ListPrincipalsRequest;
9688
- return proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinaryFromReader(msg, reader);
9689
- };
9690
-
9691
-
9692
- /**
9693
- * Deserializes binary data (in protobuf wire format) from the
9694
- * given reader into the given message object.
9695
- * @param {!proto.gateway.web.v1.ListPrincipalsRequest} msg The message object to deserialize into.
9696
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9697
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest}
9698
- */
9699
- proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinaryFromReader = function(msg, reader) {
9700
- while (reader.nextField()) {
9701
- if (reader.isEndGroup()) {
9702
- break;
9703
- }
9704
- var field = reader.getFieldNumber();
9705
- switch (field) {
9706
- case 1:
9707
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
9708
- msg.setOrganizationId(value);
9709
- break;
9710
- case 2:
9711
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
9712
- msg.setProjectId(value);
9713
- break;
9714
- case 3:
9715
- var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
9716
- msg.setKind(value);
9717
- break;
9718
- case 4:
9719
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
9720
- msg.setSourceSystem(value);
9721
- break;
9722
- case 5:
9723
- var value = /** @type {number} */ (reader.readInt32());
9724
- msg.setPageSize(value);
9725
- break;
9726
- case 6:
9727
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
9728
- msg.setPageToken(value);
9729
- break;
9730
- default:
9731
- reader.skipField();
9732
- break;
9733
- }
9734
- }
9735
- return msg;
9736
- };
9737
-
9738
-
9739
- /**
9740
- * Serializes the message to binary data (in protobuf wire format).
9741
- * @return {!Uint8Array}
9742
- */
9743
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.serializeBinary = function() {
9744
- var writer = new jspb.BinaryWriter();
9745
- proto.gateway.web.v1.ListPrincipalsRequest.serializeBinaryToWriter(this, writer);
9746
- return writer.getResultBuffer();
9747
- };
9748
-
9749
-
9750
- /**
9751
- * Serializes the given message to binary data (in protobuf wire
9752
- * format), writing to the given BinaryWriter.
9753
- * @param {!proto.gateway.web.v1.ListPrincipalsRequest} message
9754
- * @param {!jspb.BinaryWriter} writer
9755
- * @suppress {unusedLocalVariables} f is only used for nested messages
9756
- */
9757
- proto.gateway.web.v1.ListPrincipalsRequest.serializeBinaryToWriter = function(message, writer) {
9758
- var f = undefined;
9759
- f = message.getOrganizationId();
9760
- if (f.length > 0) {
9761
- writer.writeString(
9762
- 1,
9763
- f
9764
- );
9765
- }
9766
- f = message.getProjectId();
9767
- if (f.length > 0) {
9768
- writer.writeString(
9769
- 2,
9770
- f
9771
- );
9772
- }
9773
- f = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getField(message, 3));
9774
- if (f != null) {
9775
- writer.writeEnum(
9776
- 3,
9777
- f
9778
- );
9779
- }
9780
- f = message.getSourceSystem();
9781
- if (f.length > 0) {
9782
- writer.writeString(
9783
- 4,
9784
- f
9785
- );
9786
- }
9787
- f = message.getPageSize();
9788
- if (f !== 0) {
9789
- writer.writeInt32(
9790
- 5,
9791
- f
9792
- );
9793
- }
9794
- f = message.getPageToken();
9795
- if (f.length > 0) {
9796
- writer.writeString(
9797
- 6,
9798
- f
9799
- );
9800
- }
9801
- };
9802
-
9803
-
9804
- /**
9805
- * optional string organization_id = 1;
9806
- * @return {string}
9807
- */
9808
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getOrganizationId = function() {
9809
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
9810
- };
9811
-
9812
-
9813
- /**
9814
- * @param {string} value
9815
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
9816
- */
9817
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setOrganizationId = function(value) {
9818
- return jspb.Message.setProto3StringField(this, 1, value);
9819
- };
9820
-
9821
-
9822
- /**
9823
- * optional string project_id = 2;
9824
- * @return {string}
9825
- */
9826
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getProjectId = function() {
9827
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
9828
- };
9829
-
9830
-
9831
- /**
9832
- * @param {string} value
9833
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
9834
- */
9835
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setProjectId = function(value) {
9836
- return jspb.Message.setProto3StringField(this, 2, value);
9837
- };
9838
-
9839
-
9840
- /**
9841
- * optional AIPrincipalKind kind = 3;
9842
- * @return {!proto.gateway.web.v1.AIPrincipalKind}
9843
- */
9844
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getKind = function() {
9845
- return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
9846
- };
9847
-
9848
-
9849
- /**
9850
- * @param {!proto.gateway.web.v1.AIPrincipalKind} value
9851
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
9852
- */
9853
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setKind = function(value) {
9854
- return jspb.Message.setField(this, 3, value);
9855
- };
9856
-
9857
-
9858
- /**
9859
- * Clears the field making it undefined.
9860
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
9861
- */
9862
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.clearKind = function() {
9863
- return jspb.Message.setField(this, 3, undefined);
9864
- };
9865
-
9866
-
9867
- /**
9868
- * Returns whether this field is set.
9869
- * @return {boolean}
9870
- */
9871
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.hasKind = function() {
9872
- return jspb.Message.getField(this, 3) != null;
9873
- };
9874
-
9875
-
9876
- /**
9877
- * optional string source_system = 4;
9878
- * @return {string}
9879
- */
9880
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getSourceSystem = function() {
9881
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
9882
- };
9883
-
9884
-
9885
- /**
9886
- * @param {string} value
9887
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
9888
- */
9889
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setSourceSystem = function(value) {
9890
- return jspb.Message.setProto3StringField(this, 4, value);
9891
- };
9892
-
9893
-
9894
- /**
9895
- * optional int32 page_size = 5;
9896
- * @return {number}
9897
- */
9898
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getPageSize = function() {
9899
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
9900
- };
9901
-
9902
-
9903
- /**
9904
- * @param {number} value
9905
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
9906
- */
9907
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setPageSize = function(value) {
9908
- return jspb.Message.setProto3IntField(this, 5, value);
9909
- };
9910
-
9911
-
9912
- /**
9913
- * optional string page_token = 6;
9914
- * @return {string}
9915
- */
9916
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getPageToken = function() {
9917
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
9918
- };
9919
-
9920
-
9921
- /**
9922
- * @param {string} value
9923
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
9924
- */
9925
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setPageToken = function(value) {
9926
- return jspb.Message.setProto3StringField(this, 6, value);
9927
- };
9928
-
9929
-
9930
-
9931
- /**
9932
- * List of repeated fields within this message type.
9933
- * @private {!Array<number>}
9934
- * @const
9935
- */
9936
- proto.gateway.web.v1.ListPrincipalsResponse.repeatedFields_ = [2];
9937
-
9938
-
9939
-
9940
- if (jspb.Message.GENERATE_TO_OBJECT) {
9941
- /**
9942
- * Creates an object representation of this proto.
9943
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
9944
- * Optional fields that are not set will be set to undefined.
9945
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9946
- * For the list of reserved names please see:
9947
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9948
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9949
- * JSPB instance for transitional soy proto support:
9950
- * http://goto/soy-param-migration
9951
- * @return {!Object}
9952
- */
9953
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.toObject = function(opt_includeInstance) {
9954
- return proto.gateway.web.v1.ListPrincipalsResponse.toObject(opt_includeInstance, this);
9955
- };
9956
-
9957
-
9958
- /**
9959
- * Static version of the {@see toObject} method.
9960
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9961
- * the JSPB instance for transitional soy proto support:
9962
- * http://goto/soy-param-migration
9963
- * @param {!proto.gateway.web.v1.ListPrincipalsResponse} msg The msg instance to transform.
9964
- * @return {!Object}
9965
- * @suppress {unusedLocalVariables} f is only used for nested messages
9966
- */
9967
- proto.gateway.web.v1.ListPrincipalsResponse.toObject = function(includeInstance, msg) {
9968
- var f, obj = {
9969
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
9970
- principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
9971
- proto.gateway.web.v1.AIPrincipal.toObject, includeInstance),
9972
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
9973
- totalCount: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
9974
- };
9975
-
9976
- if (includeInstance) {
9977
- obj.$jspbMessageInstance = msg;
9978
- }
9979
- return obj;
9980
- };
9981
- }
9982
-
9983
-
9984
- /**
9985
- * Deserializes binary data (in protobuf wire format).
9986
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
9987
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse}
9988
- */
9989
- proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinary = function(bytes) {
9990
- var reader = new jspb.BinaryReader(bytes);
9991
- var msg = new proto.gateway.web.v1.ListPrincipalsResponse;
9992
- return proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinaryFromReader(msg, reader);
9993
- };
9994
-
9995
-
9996
- /**
9997
- * Deserializes binary data (in protobuf wire format) from the
9998
- * given reader into the given message object.
9999
- * @param {!proto.gateway.web.v1.ListPrincipalsResponse} msg The message object to deserialize into.
10000
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10001
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse}
10002
- */
10003
- proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinaryFromReader = function(msg, reader) {
10004
- while (reader.nextField()) {
10005
- if (reader.isEndGroup()) {
10006
- break;
10007
- }
10008
- var field = reader.getFieldNumber();
10009
- switch (field) {
10010
- case 1:
10011
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
10012
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
10013
- msg.setStatus(value);
10014
- break;
10015
- case 2:
10016
- var value = new proto.gateway.web.v1.AIPrincipal;
10017
- reader.readMessage(value,proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader);
10018
- msg.addPrincipals(value);
10019
- break;
10020
- case 3:
10021
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10022
- msg.setNextPageToken(value);
10023
- break;
10024
- case 4:
10025
- var value = /** @type {number} */ (reader.readInt64());
10026
- msg.setTotalCount(value);
10027
- break;
10028
- default:
10029
- reader.skipField();
10030
- break;
10031
- }
10032
- }
10033
- return msg;
10034
- };
10035
-
10036
-
10037
- /**
10038
- * Serializes the message to binary data (in protobuf wire format).
10039
- * @return {!Uint8Array}
10040
- */
10041
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.serializeBinary = function() {
10042
- var writer = new jspb.BinaryWriter();
10043
- proto.gateway.web.v1.ListPrincipalsResponse.serializeBinaryToWriter(this, writer);
10044
- return writer.getResultBuffer();
10045
- };
10046
-
10047
-
10048
- /**
10049
- * Serializes the given message to binary data (in protobuf wire
10050
- * format), writing to the given BinaryWriter.
10051
- * @param {!proto.gateway.web.v1.ListPrincipalsResponse} message
10052
- * @param {!jspb.BinaryWriter} writer
10053
- * @suppress {unusedLocalVariables} f is only used for nested messages
10054
- */
10055
- proto.gateway.web.v1.ListPrincipalsResponse.serializeBinaryToWriter = function(message, writer) {
10056
- var f = undefined;
10057
- f = message.getStatus();
10058
- if (f != null) {
10059
- writer.writeMessage(
10060
- 1,
10061
- f,
10062
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
10063
- );
10064
- }
10065
- f = message.getPrincipalsList();
10066
- if (f.length > 0) {
10067
- writer.writeRepeatedMessage(
10068
- 2,
10069
- f,
10070
- proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter
10071
- );
10072
- }
10073
- f = message.getNextPageToken();
10074
- if (f.length > 0) {
10075
- writer.writeString(
10076
- 3,
10077
- f
10078
- );
10079
- }
10080
- f = /** @type {number} */ (jspb.Message.getField(message, 4));
10081
- if (f != null) {
10082
- writer.writeInt64(
10083
- 4,
10084
- f
10085
- );
10086
- }
10087
- };
10088
-
10089
-
10090
- /**
10091
- * optional gateway.common.v1.ResponseStatus status = 1;
10092
- * @return {?proto.gateway.common.v1.ResponseStatus}
10093
- */
10094
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.getStatus = function() {
10095
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
10096
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
10097
- };
10098
-
10099
-
10100
- /**
10101
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
10102
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
10103
- */
10104
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.setStatus = function(value) {
10105
- return jspb.Message.setWrapperField(this, 1, value);
10106
- };
10107
-
10108
-
10109
- /**
10110
- * Clears the message field making it undefined.
10111
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
10112
- */
10113
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.clearStatus = function() {
10114
- return this.setStatus(undefined);
10115
- };
10116
-
10117
-
10118
- /**
10119
- * Returns whether this field is set.
10120
- * @return {boolean}
10121
- */
10122
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.hasStatus = function() {
10123
- return jspb.Message.getField(this, 1) != null;
10124
- };
10125
-
10126
-
10127
- /**
10128
- * repeated AIPrincipal principals = 2;
10129
- * @return {!Array<!proto.gateway.web.v1.AIPrincipal>}
10130
- */
10131
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.getPrincipalsList = function() {
10132
- return /** @type{!Array<!proto.gateway.web.v1.AIPrincipal>} */ (
10133
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIPrincipal, 2));
10134
- };
10135
-
10136
-
10137
- /**
10138
- * @param {!Array<!proto.gateway.web.v1.AIPrincipal>} value
10139
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
10140
- */
10141
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.setPrincipalsList = function(value) {
10142
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
10143
- };
10144
-
10145
-
10146
- /**
10147
- * @param {!proto.gateway.web.v1.AIPrincipal=} opt_value
10148
- * @param {number=} opt_index
10149
- * @return {!proto.gateway.web.v1.AIPrincipal}
10150
- */
10151
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.addPrincipals = function(opt_value, opt_index) {
10152
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIPrincipal, opt_index);
10153
- };
10154
-
10155
-
10156
- /**
10157
- * Clears the list making it empty but non-null.
10158
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
10159
- */
10160
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.clearPrincipalsList = function() {
10161
- return this.setPrincipalsList([]);
10162
- };
10163
-
10164
-
10165
- /**
10166
- * optional string next_page_token = 3;
10167
- * @return {string}
10168
- */
10169
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.getNextPageToken = function() {
10170
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10171
- };
10172
-
10173
-
10174
- /**
10175
- * @param {string} value
10176
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
10177
- */
10178
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.setNextPageToken = function(value) {
10179
- return jspb.Message.setProto3StringField(this, 3, value);
10180
- };
10181
-
10182
-
10183
- /**
10184
- * optional int64 total_count = 4;
10185
- * @return {number}
10186
- */
10187
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.getTotalCount = function() {
10188
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
10189
- };
10190
-
10191
-
10192
- /**
10193
- * @param {number} value
10194
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
10195
- */
10196
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.setTotalCount = function(value) {
10197
- return jspb.Message.setField(this, 4, value);
10198
- };
10199
-
10200
-
10201
- /**
10202
- * Clears the field making it undefined.
10203
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
10204
- */
10205
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.clearTotalCount = function() {
10206
- return jspb.Message.setField(this, 4, undefined);
10207
- };
10208
-
10209
-
10210
- /**
10211
- * Returns whether this field is set.
10212
- * @return {boolean}
10213
- */
10214
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.hasTotalCount = function() {
10215
- return jspb.Message.getField(this, 4) != null;
10216
- };
10217
-
10218
-
10219
-
10220
-
10221
-
10222
- if (jspb.Message.GENERATE_TO_OBJECT) {
10223
- /**
10224
- * Creates an object representation of this proto.
10225
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
10226
- * Optional fields that are not set will be set to undefined.
10227
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10228
- * For the list of reserved names please see:
10229
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10230
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10231
- * JSPB instance for transitional soy proto support:
10232
- * http://goto/soy-param-migration
10233
- * @return {!Object}
10234
- */
10235
- proto.gateway.web.v1.AIPrincipal.prototype.toObject = function(opt_includeInstance) {
10236
- return proto.gateway.web.v1.AIPrincipal.toObject(opt_includeInstance, this);
10237
- };
10238
-
10239
-
10240
- /**
10241
- * Static version of the {@see toObject} method.
10242
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10243
- * the JSPB instance for transitional soy proto support:
10244
- * http://goto/soy-param-migration
10245
- * @param {!proto.gateway.web.v1.AIPrincipal} msg The msg instance to transform.
10246
- * @return {!Object}
10247
- * @suppress {unusedLocalVariables} f is only used for nested messages
10248
- */
10249
- proto.gateway.web.v1.AIPrincipal.toObject = function(includeInstance, msg) {
10250
- var f, obj = {
10251
- kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
10252
- id: jspb.Message.getFieldWithDefault(msg, 2, ""),
10253
- name: jspb.Message.getFieldWithDefault(msg, 3, ""),
10254
- sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, ""),
10255
- alias: jspb.Message.getFieldWithDefault(msg, 5, ""),
10256
- accountUserId: jspb.Message.getFieldWithDefault(msg, 6, "")
10257
- };
10258
-
10259
- if (includeInstance) {
10260
- obj.$jspbMessageInstance = msg;
10261
- }
10262
- return obj;
10263
- };
10264
- }
10265
-
10266
-
10267
- /**
10268
- * Deserializes binary data (in protobuf wire format).
10269
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10270
- * @return {!proto.gateway.web.v1.AIPrincipal}
10271
- */
10272
- proto.gateway.web.v1.AIPrincipal.deserializeBinary = function(bytes) {
10273
- var reader = new jspb.BinaryReader(bytes);
10274
- var msg = new proto.gateway.web.v1.AIPrincipal;
10275
- return proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader(msg, reader);
10276
- };
10277
-
10278
-
10279
- /**
10280
- * Deserializes binary data (in protobuf wire format) from the
10281
- * given reader into the given message object.
10282
- * @param {!proto.gateway.web.v1.AIPrincipal} msg The message object to deserialize into.
10283
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10284
- * @return {!proto.gateway.web.v1.AIPrincipal}
10285
- */
10286
- proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader = function(msg, reader) {
10287
- while (reader.nextField()) {
10288
- if (reader.isEndGroup()) {
10289
- break;
10290
- }
10291
- var field = reader.getFieldNumber();
10292
- switch (field) {
10293
- case 1:
10294
- var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
10295
- msg.setKind(value);
10296
- break;
10297
- case 2:
10298
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10299
- msg.setId(value);
10300
- break;
10301
- case 3:
10302
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10303
- msg.setName(value);
10304
- break;
10305
- case 4:
10306
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10307
- msg.setSourceSystem(value);
10308
- break;
10309
- case 5:
10310
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10311
- msg.setAlias(value);
10312
- break;
10313
- case 6:
10314
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10315
- msg.setAccountUserId(value);
10316
- break;
10317
- default:
10318
- reader.skipField();
10319
- break;
10320
- }
10321
- }
10322
- return msg;
10323
- };
10324
-
10325
-
10326
- /**
10327
- * Serializes the message to binary data (in protobuf wire format).
10328
- * @return {!Uint8Array}
10329
- */
10330
- proto.gateway.web.v1.AIPrincipal.prototype.serializeBinary = function() {
10331
- var writer = new jspb.BinaryWriter();
10332
- proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter(this, writer);
10333
- return writer.getResultBuffer();
10334
- };
10335
-
10336
-
10337
- /**
10338
- * Serializes the given message to binary data (in protobuf wire
10339
- * format), writing to the given BinaryWriter.
10340
- * @param {!proto.gateway.web.v1.AIPrincipal} message
10341
- * @param {!jspb.BinaryWriter} writer
10342
- * @suppress {unusedLocalVariables} f is only used for nested messages
10343
- */
10344
- proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter = function(message, writer) {
10345
- var f = undefined;
10346
- f = message.getKind();
10347
- if (f !== 0.0) {
10348
- writer.writeEnum(
10349
- 1,
10350
- f
10351
- );
10352
- }
10353
- f = message.getId();
10354
- if (f.length > 0) {
10355
- writer.writeString(
10356
- 2,
10357
- f
10358
- );
10359
- }
10360
- f = message.getName();
10361
- if (f.length > 0) {
10362
- writer.writeString(
10363
- 3,
10364
- f
10365
- );
10366
- }
10367
- f = message.getSourceSystem();
10368
- if (f.length > 0) {
10369
- writer.writeString(
10370
- 4,
10371
- f
10372
- );
10373
- }
10374
- f = message.getAlias();
10375
- if (f.length > 0) {
10376
- writer.writeString(
10377
- 5,
10378
- f
10379
- );
10380
- }
10381
- f = message.getAccountUserId();
10382
- if (f.length > 0) {
10383
- writer.writeString(
10384
- 6,
10385
- f
10386
- );
10387
- }
10388
- };
10389
-
10390
-
10391
- /**
10392
- * optional AIPrincipalKind kind = 1;
10393
- * @return {!proto.gateway.web.v1.AIPrincipalKind}
10394
- */
10395
- proto.gateway.web.v1.AIPrincipal.prototype.getKind = function() {
10396
- return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10397
- };
10398
-
10399
-
10400
- /**
10401
- * @param {!proto.gateway.web.v1.AIPrincipalKind} value
10402
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
10403
- */
10404
- proto.gateway.web.v1.AIPrincipal.prototype.setKind = function(value) {
10405
- return jspb.Message.setProto3EnumField(this, 1, value);
10406
- };
10407
-
10408
-
10409
- /**
10410
- * optional string id = 2;
10411
- * @return {string}
10412
- */
10413
- proto.gateway.web.v1.AIPrincipal.prototype.getId = function() {
10414
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10415
- };
10416
-
10417
-
10418
- /**
10419
- * @param {string} value
10420
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
10421
- */
10422
- proto.gateway.web.v1.AIPrincipal.prototype.setId = function(value) {
10423
- return jspb.Message.setProto3StringField(this, 2, value);
10424
- };
10425
-
10426
-
10427
- /**
10428
- * optional string name = 3;
10429
- * @return {string}
10430
- */
10431
- proto.gateway.web.v1.AIPrincipal.prototype.getName = function() {
10432
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10433
- };
10434
-
10435
-
10436
- /**
10437
- * @param {string} value
10438
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
10439
- */
10440
- proto.gateway.web.v1.AIPrincipal.prototype.setName = function(value) {
10441
- return jspb.Message.setProto3StringField(this, 3, value);
10442
- };
10443
-
10444
-
10445
- /**
10446
- * optional string source_system = 4;
10447
- * @return {string}
10448
- */
10449
- proto.gateway.web.v1.AIPrincipal.prototype.getSourceSystem = function() {
10450
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
10451
- };
10452
-
10453
-
10454
- /**
10455
- * @param {string} value
10456
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
10457
- */
10458
- proto.gateway.web.v1.AIPrincipal.prototype.setSourceSystem = function(value) {
10459
- return jspb.Message.setProto3StringField(this, 4, value);
10460
- };
10461
-
10462
-
10463
- /**
10464
- * optional string alias = 5;
10465
- * @return {string}
10466
- */
10467
- proto.gateway.web.v1.AIPrincipal.prototype.getAlias = function() {
10468
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
10469
- };
10470
-
10471
-
10472
- /**
10473
- * @param {string} value
10474
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
10475
- */
10476
- proto.gateway.web.v1.AIPrincipal.prototype.setAlias = function(value) {
10477
- return jspb.Message.setProto3StringField(this, 5, value);
10478
- };
10479
-
10480
-
10481
- /**
10482
- * optional string account_user_id = 6;
10483
- * @return {string}
10484
- */
10485
- proto.gateway.web.v1.AIPrincipal.prototype.getAccountUserId = function() {
10486
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
10487
- };
10488
-
10489
-
10490
- /**
10491
- * @param {string} value
10492
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
10493
- */
10494
- proto.gateway.web.v1.AIPrincipal.prototype.setAccountUserId = function(value) {
10495
- return jspb.Message.setProto3StringField(this, 6, value);
10496
- };
10497
-
10498
-
10499
-
10500
-
10501
-
10502
- if (jspb.Message.GENERATE_TO_OBJECT) {
10503
- /**
10504
- * Creates an object representation of this proto.
10505
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
10506
- * Optional fields that are not set will be set to undefined.
10507
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10508
- * For the list of reserved names please see:
10509
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10510
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10511
- * JSPB instance for transitional soy proto support:
10512
- * http://goto/soy-param-migration
10513
- * @return {!Object}
10514
- */
10515
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.toObject = function(opt_includeInstance) {
10516
- return proto.gateway.web.v1.UpdatePrincipalRequest.toObject(opt_includeInstance, this);
10517
- };
10518
-
10519
-
10520
- /**
10521
- * Static version of the {@see toObject} method.
10522
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10523
- * the JSPB instance for transitional soy proto support:
10524
- * http://goto/soy-param-migration
10525
- * @param {!proto.gateway.web.v1.UpdatePrincipalRequest} msg The msg instance to transform.
10526
- * @return {!Object}
10527
- * @suppress {unusedLocalVariables} f is only used for nested messages
10528
- */
10529
- proto.gateway.web.v1.UpdatePrincipalRequest.toObject = function(includeInstance, msg) {
10530
- var f, obj = {
10531
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
10532
- projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
10533
- kind: jspb.Message.getFieldWithDefault(msg, 3, 0),
10534
- id: jspb.Message.getFieldWithDefault(msg, 4, ""),
10535
- sourceSystem: jspb.Message.getFieldWithDefault(msg, 5, ""),
10536
- alias: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
10537
- accountUserId: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f
10538
- };
10539
-
10540
- if (includeInstance) {
10541
- obj.$jspbMessageInstance = msg;
10542
- }
10543
- return obj;
10544
- };
10545
- }
10546
-
10547
-
10548
- /**
10549
- * Deserializes binary data (in protobuf wire format).
10550
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10551
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest}
10552
- */
10553
- proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinary = function(bytes) {
10554
- var reader = new jspb.BinaryReader(bytes);
10555
- var msg = new proto.gateway.web.v1.UpdatePrincipalRequest;
10556
- return proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinaryFromReader(msg, reader);
10557
- };
10558
-
10559
-
10560
- /**
10561
- * Deserializes binary data (in protobuf wire format) from the
10562
- * given reader into the given message object.
10563
- * @param {!proto.gateway.web.v1.UpdatePrincipalRequest} msg The message object to deserialize into.
10564
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10565
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest}
10566
- */
10567
- proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinaryFromReader = function(msg, reader) {
10568
- while (reader.nextField()) {
10569
- if (reader.isEndGroup()) {
10570
- break;
10571
- }
10572
- var field = reader.getFieldNumber();
10573
- switch (field) {
10574
- case 1:
10575
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10576
- msg.setOrganizationId(value);
10577
- break;
10578
- case 2:
10579
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10580
- msg.setProjectId(value);
10581
- break;
10582
- case 3:
10583
- var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
10584
- msg.setKind(value);
10585
- break;
10586
- case 4:
10587
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10588
- msg.setId(value);
10589
- break;
10590
- case 5:
10591
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10592
- msg.setSourceSystem(value);
10593
- break;
10594
- case 6:
10595
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10596
- msg.setAlias(value);
10597
- break;
10598
- case 7:
10599
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
10600
- msg.setAccountUserId(value);
10601
- break;
10602
- default:
10603
- reader.skipField();
10604
- break;
10605
- }
10606
- }
10607
- return msg;
10608
- };
10609
-
10610
-
10611
- /**
10612
- * Serializes the message to binary data (in protobuf wire format).
10613
- * @return {!Uint8Array}
10614
- */
10615
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.serializeBinary = function() {
10616
- var writer = new jspb.BinaryWriter();
10617
- proto.gateway.web.v1.UpdatePrincipalRequest.serializeBinaryToWriter(this, writer);
10618
- return writer.getResultBuffer();
10619
- };
10620
-
10621
-
10622
- /**
10623
- * Serializes the given message to binary data (in protobuf wire
10624
- * format), writing to the given BinaryWriter.
10625
- * @param {!proto.gateway.web.v1.UpdatePrincipalRequest} message
10626
- * @param {!jspb.BinaryWriter} writer
10627
- * @suppress {unusedLocalVariables} f is only used for nested messages
10628
- */
10629
- proto.gateway.web.v1.UpdatePrincipalRequest.serializeBinaryToWriter = function(message, writer) {
10630
- var f = undefined;
10631
- f = message.getOrganizationId();
10632
- if (f.length > 0) {
10633
- writer.writeString(
10634
- 1,
10635
- f
10636
- );
10637
- }
10638
- f = message.getProjectId();
10639
- if (f.length > 0) {
10640
- writer.writeString(
10641
- 2,
10642
- f
10643
- );
10644
- }
10645
- f = message.getKind();
10646
- if (f !== 0.0) {
10647
- writer.writeEnum(
10648
- 3,
10649
- f
10650
- );
10651
- }
10652
- f = message.getId();
10653
- if (f.length > 0) {
10654
- writer.writeString(
10655
- 4,
10656
- f
10657
- );
10658
- }
10659
- f = message.getSourceSystem();
10660
- if (f.length > 0) {
10661
- writer.writeString(
10662
- 5,
10663
- f
10664
- );
10665
- }
10666
- f = /** @type {string} */ (jspb.Message.getField(message, 6));
10667
- if (f != null) {
10668
- writer.writeString(
10669
- 6,
10670
- f
10671
- );
10672
- }
10673
- f = /** @type {string} */ (jspb.Message.getField(message, 7));
10674
- if (f != null) {
10675
- writer.writeString(
10676
- 7,
10677
- f
10678
- );
10679
- }
10680
- };
10681
-
10682
-
10683
- /**
10684
- * optional string organization_id = 1;
10685
- * @return {string}
10686
- */
10687
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getOrganizationId = function() {
10688
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10689
- };
10690
-
10691
-
10692
- /**
10693
- * @param {string} value
10694
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
10695
- */
10696
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setOrganizationId = function(value) {
10697
- return jspb.Message.setProto3StringField(this, 1, value);
10698
- };
10699
-
10700
-
10701
- /**
10702
- * optional string project_id = 2;
10703
- * @return {string}
10704
- */
10705
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getProjectId = function() {
10706
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10707
- };
10708
-
10709
-
10710
- /**
10711
- * @param {string} value
10712
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
10713
- */
10714
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setProjectId = function(value) {
10715
- return jspb.Message.setProto3StringField(this, 2, value);
10716
- };
10717
-
10718
-
10719
- /**
10720
- * optional AIPrincipalKind kind = 3;
10721
- * @return {!proto.gateway.web.v1.AIPrincipalKind}
10722
- */
10723
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getKind = function() {
10724
- return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10725
- };
10726
-
10727
-
10728
- /**
10729
- * @param {!proto.gateway.web.v1.AIPrincipalKind} value
10730
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
10731
- */
10732
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setKind = function(value) {
10733
- return jspb.Message.setProto3EnumField(this, 3, value);
10734
- };
10735
-
10736
-
10737
- /**
10738
- * optional string id = 4;
10739
- * @return {string}
10740
- */
10741
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getId = function() {
10742
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
10743
- };
10744
-
10745
-
10746
- /**
10747
- * @param {string} value
10748
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
10749
- */
10750
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setId = function(value) {
10751
- return jspb.Message.setProto3StringField(this, 4, value);
10752
- };
10753
-
10754
-
10755
- /**
10756
- * optional string source_system = 5;
10757
- * @return {string}
10758
- */
10759
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getSourceSystem = function() {
10760
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
10761
- };
10762
-
10763
-
10764
- /**
10765
- * @param {string} value
10766
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
10767
- */
10768
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setSourceSystem = function(value) {
10769
- return jspb.Message.setProto3StringField(this, 5, value);
10770
- };
10771
-
10772
-
10773
- /**
10774
- * optional string alias = 6;
10775
- * @return {string}
10776
- */
10777
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getAlias = function() {
10778
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
10779
- };
10780
-
10781
-
10782
- /**
10783
- * @param {string} value
10784
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
10785
- */
10786
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setAlias = function(value) {
10787
- return jspb.Message.setField(this, 6, value);
10788
- };
10789
-
10790
-
10791
- /**
10792
- * Clears the field making it undefined.
10793
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
10794
- */
10795
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.clearAlias = function() {
10796
- return jspb.Message.setField(this, 6, undefined);
10797
- };
10798
-
10799
-
10800
- /**
10801
- * Returns whether this field is set.
10802
- * @return {boolean}
10803
- */
10804
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.hasAlias = function() {
10805
- return jspb.Message.getField(this, 6) != null;
10806
- };
10807
-
10808
-
10809
- /**
10810
- * optional string account_user_id = 7;
10811
- * @return {string}
10812
- */
10813
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getAccountUserId = function() {
10814
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
10815
- };
10816
-
10817
-
10818
- /**
10819
- * @param {string} value
10820
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
10821
- */
10822
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setAccountUserId = function(value) {
10823
- return jspb.Message.setField(this, 7, value);
10824
- };
10825
-
10826
-
10827
- /**
10828
- * Clears the field making it undefined.
10829
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
10830
- */
10831
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.clearAccountUserId = function() {
10832
- return jspb.Message.setField(this, 7, undefined);
10833
- };
10834
-
10835
-
10836
- /**
10837
- * Returns whether this field is set.
10838
- * @return {boolean}
10839
- */
10840
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.hasAccountUserId = function() {
10841
- return jspb.Message.getField(this, 7) != null;
10842
- };
10843
-
10844
-
10845
-
10846
-
10847
-
10848
- if (jspb.Message.GENERATE_TO_OBJECT) {
10849
- /**
10850
- * Creates an object representation of this proto.
10851
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
10852
- * Optional fields that are not set will be set to undefined.
10853
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10854
- * For the list of reserved names please see:
10855
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10856
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10857
- * JSPB instance for transitional soy proto support:
10858
- * http://goto/soy-param-migration
10859
- * @return {!Object}
10860
- */
10861
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.toObject = function(opt_includeInstance) {
10862
- return proto.gateway.web.v1.UpdatePrincipalResponse.toObject(opt_includeInstance, this);
10863
- };
10864
-
10865
-
10866
- /**
10867
- * Static version of the {@see toObject} method.
10868
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10869
- * the JSPB instance for transitional soy proto support:
10870
- * http://goto/soy-param-migration
10871
- * @param {!proto.gateway.web.v1.UpdatePrincipalResponse} msg The msg instance to transform.
10872
- * @return {!Object}
10873
- * @suppress {unusedLocalVariables} f is only used for nested messages
10874
- */
10875
- proto.gateway.web.v1.UpdatePrincipalResponse.toObject = function(includeInstance, msg) {
10876
- var f, obj = {
10877
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
10878
- principal: (f = msg.getPrincipal()) && proto.gateway.web.v1.AIPrincipal.toObject(includeInstance, f)
10879
- };
10880
-
10881
- if (includeInstance) {
10882
- obj.$jspbMessageInstance = msg;
10883
- }
10884
- return obj;
10885
- };
10886
- }
10887
-
10888
-
10889
- /**
10890
- * Deserializes binary data (in protobuf wire format).
10891
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10892
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse}
10893
- */
10894
- proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinary = function(bytes) {
10895
- var reader = new jspb.BinaryReader(bytes);
10896
- var msg = new proto.gateway.web.v1.UpdatePrincipalResponse;
10897
- return proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinaryFromReader(msg, reader);
10898
- };
10899
-
10900
-
10901
- /**
10902
- * Deserializes binary data (in protobuf wire format) from the
10903
- * given reader into the given message object.
10904
- * @param {!proto.gateway.web.v1.UpdatePrincipalResponse} msg The message object to deserialize into.
10905
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10906
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse}
10907
- */
10908
- proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinaryFromReader = function(msg, reader) {
10909
- while (reader.nextField()) {
10910
- if (reader.isEndGroup()) {
10911
- break;
10912
- }
10913
- var field = reader.getFieldNumber();
10914
- switch (field) {
10915
- case 1:
10916
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
10917
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
10918
- msg.setStatus(value);
10919
- break;
10920
- case 2:
10921
- var value = new proto.gateway.web.v1.AIPrincipal;
10922
- reader.readMessage(value,proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader);
10923
- msg.setPrincipal(value);
10924
- break;
10925
- default:
10926
- reader.skipField();
10927
- break;
10928
- }
10929
- }
10930
- return msg;
10931
- };
10932
-
10933
-
10934
- /**
10935
- * Serializes the message to binary data (in protobuf wire format).
10936
- * @return {!Uint8Array}
10937
- */
10938
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.serializeBinary = function() {
10939
- var writer = new jspb.BinaryWriter();
10940
- proto.gateway.web.v1.UpdatePrincipalResponse.serializeBinaryToWriter(this, writer);
10941
- return writer.getResultBuffer();
10942
- };
10943
-
10944
-
10945
- /**
10946
- * Serializes the given message to binary data (in protobuf wire
10947
- * format), writing to the given BinaryWriter.
10948
- * @param {!proto.gateway.web.v1.UpdatePrincipalResponse} message
10949
- * @param {!jspb.BinaryWriter} writer
10950
- * @suppress {unusedLocalVariables} f is only used for nested messages
9802
+
9803
+
9804
+ /**
9805
+ * Returns whether this field is set.
9806
+ * @return {boolean}
10951
9807
  */
10952
- proto.gateway.web.v1.UpdatePrincipalResponse.serializeBinaryToWriter = function(message, writer) {
10953
- var f = undefined;
10954
- f = message.getStatus();
10955
- if (f != null) {
10956
- writer.writeMessage(
10957
- 1,
10958
- f,
10959
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
10960
- );
10961
- }
10962
- f = message.getPrincipal();
10963
- if (f != null) {
10964
- writer.writeMessage(
10965
- 2,
10966
- f,
10967
- proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter
10968
- );
10969
- }
9808
+ proto.gateway.web.v1.SessionTimelinePoint.prototype.hasDurationMs = function() {
9809
+ return jspb.Message.getField(this, 8) != null;
10970
9810
  };
10971
9811
 
10972
9812
 
10973
9813
  /**
10974
- * optional gateway.common.v1.ResponseStatus status = 1;
10975
- * @return {?proto.gateway.common.v1.ResponseStatus}
9814
+ * optional AITokenUsage usage = 9;
9815
+ * @return {?proto.gateway.web.v1.AITokenUsage}
10976
9816
  */
10977
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.getStatus = function() {
10978
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
10979
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
9817
+ proto.gateway.web.v1.SessionTimelinePoint.prototype.getUsage = function() {
9818
+ return /** @type{?proto.gateway.web.v1.AITokenUsage} */ (
9819
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AITokenUsage, 9));
10980
9820
  };
10981
9821
 
10982
9822
 
10983
9823
  /**
10984
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
10985
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
9824
+ * @param {?proto.gateway.web.v1.AITokenUsage|undefined} value
9825
+ * @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
10986
9826
  */
10987
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.setStatus = function(value) {
10988
- return jspb.Message.setWrapperField(this, 1, value);
9827
+ proto.gateway.web.v1.SessionTimelinePoint.prototype.setUsage = function(value) {
9828
+ return jspb.Message.setWrapperField(this, 9, value);
10989
9829
  };
10990
9830
 
10991
9831
 
10992
9832
  /**
10993
9833
  * Clears the message field making it undefined.
10994
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
9834
+ * @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
10995
9835
  */
10996
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.clearStatus = function() {
10997
- return this.setStatus(undefined);
9836
+ proto.gateway.web.v1.SessionTimelinePoint.prototype.clearUsage = function() {
9837
+ return this.setUsage(undefined);
10998
9838
  };
10999
9839
 
11000
9840
 
@@ -11002,45 +9842,44 @@ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.clearStatus = function()
11002
9842
  * Returns whether this field is set.
11003
9843
  * @return {boolean}
11004
9844
  */
11005
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.hasStatus = function() {
11006
- return jspb.Message.getField(this, 1) != null;
9845
+ proto.gateway.web.v1.SessionTimelinePoint.prototype.hasUsage = function() {
9846
+ return jspb.Message.getField(this, 9) != null;
11007
9847
  };
11008
9848
 
11009
9849
 
11010
9850
  /**
11011
- * optional AIPrincipal principal = 2;
11012
- * @return {?proto.gateway.web.v1.AIPrincipal}
9851
+ * optional AIFundingMode funding_mode = 10;
9852
+ * @return {!proto.gateway.web.v1.AIFundingMode}
11013
9853
  */
11014
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.getPrincipal = function() {
11015
- return /** @type{?proto.gateway.web.v1.AIPrincipal} */ (
11016
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIPrincipal, 2));
9854
+ proto.gateway.web.v1.SessionTimelinePoint.prototype.getFundingMode = function() {
9855
+ return /** @type {!proto.gateway.web.v1.AIFundingMode} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
11017
9856
  };
11018
9857
 
11019
9858
 
11020
9859
  /**
11021
- * @param {?proto.gateway.web.v1.AIPrincipal|undefined} value
11022
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
11023
- */
11024
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.setPrincipal = function(value) {
11025
- return jspb.Message.setWrapperField(this, 2, value);
9860
+ * @param {!proto.gateway.web.v1.AIFundingMode} value
9861
+ * @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
9862
+ */
9863
+ proto.gateway.web.v1.SessionTimelinePoint.prototype.setFundingMode = function(value) {
9864
+ return jspb.Message.setProto3EnumField(this, 10, value);
11026
9865
  };
11027
9866
 
11028
9867
 
11029
9868
  /**
11030
- * Clears the message field making it undefined.
11031
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
9869
+ * optional string effort = 11;
9870
+ * @return {string}
11032
9871
  */
11033
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.clearPrincipal = function() {
11034
- return this.setPrincipal(undefined);
9872
+ proto.gateway.web.v1.SessionTimelinePoint.prototype.getEffort = function() {
9873
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
11035
9874
  };
11036
9875
 
11037
9876
 
11038
9877
  /**
11039
- * Returns whether this field is set.
11040
- * @return {boolean}
9878
+ * @param {string} value
9879
+ * @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
11041
9880
  */
11042
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.hasPrincipal = function() {
11043
- return jspb.Message.getField(this, 2) != null;
9881
+ proto.gateway.web.v1.SessionTimelinePoint.prototype.setEffort = function(value) {
9882
+ return jspb.Message.setProto3StringField(this, 11, value);
11044
9883
  };
11045
9884
 
11046
9885
 
@@ -14338,7 +13177,8 @@ proto.gateway.web.v1.GitActivitySummaryGroup.prototype.toObject = function(opt_i
14338
13177
  proto.gateway.web.v1.GitActivitySummaryGroup.toObject = function(includeInstance, msg) {
14339
13178
  var f, obj = {
14340
13179
  key: jspb.Message.getFieldWithDefault(msg, 1, ""),
14341
- measures: (f = msg.getMeasures()) && proto.gateway.web.v1.GitActivityMeasures.toObject(includeInstance, f)
13180
+ measures: (f = msg.getMeasures()) && proto.gateway.web.v1.GitActivityMeasures.toObject(includeInstance, f),
13181
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 3, "")
14342
13182
  };
14343
13183
 
14344
13184
  if (includeInstance) {
@@ -14384,6 +13224,10 @@ proto.gateway.web.v1.GitActivitySummaryGroup.deserializeBinaryFromReader = funct
14384
13224
  reader.readMessage(value,proto.gateway.web.v1.GitActivityMeasures.deserializeBinaryFromReader);
14385
13225
  msg.setMeasures(value);
14386
13226
  break;
13227
+ case 3:
13228
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13229
+ msg.setSourceSystem(value);
13230
+ break;
14387
13231
  default:
14388
13232
  reader.skipField();
14389
13233
  break;
@@ -14428,6 +13272,13 @@ proto.gateway.web.v1.GitActivitySummaryGroup.serializeBinaryToWriter = function(
14428
13272
  proto.gateway.web.v1.GitActivityMeasures.serializeBinaryToWriter
14429
13273
  );
14430
13274
  }
13275
+ f = message.getSourceSystem();
13276
+ if (f.length > 0) {
13277
+ writer.writeString(
13278
+ 3,
13279
+ f
13280
+ );
13281
+ }
14431
13282
  };
14432
13283
 
14433
13284
 
@@ -14486,6 +13337,24 @@ proto.gateway.web.v1.GitActivitySummaryGroup.prototype.hasMeasures = function()
14486
13337
  };
14487
13338
 
14488
13339
 
13340
+ /**
13341
+ * optional string source_system = 3;
13342
+ * @return {string}
13343
+ */
13344
+ proto.gateway.web.v1.GitActivitySummaryGroup.prototype.getSourceSystem = function() {
13345
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
13346
+ };
13347
+
13348
+
13349
+ /**
13350
+ * @param {string} value
13351
+ * @return {!proto.gateway.web.v1.GitActivitySummaryGroup} returns this
13352
+ */
13353
+ proto.gateway.web.v1.GitActivitySummaryGroup.prototype.setSourceSystem = function(value) {
13354
+ return jspb.Message.setProto3StringField(this, 3, value);
13355
+ };
13356
+
13357
+
14489
13358
 
14490
13359
 
14491
13360
 
@@ -20537,7 +19406,7 @@ proto.gateway.web.v1.ProjectOverviewRequest.prototype.setTopSessions = function(
20537
19406
  * @private {!Array<number>}
20538
19407
  * @const
20539
19408
  */
20540
- proto.gateway.web.v1.ProjectOverview.repeatedFields_ = [2,3,4,5];
19409
+ proto.gateway.web.v1.ProjectOverview.repeatedFields_ = [2,3,4,5,6];
20541
19410
 
20542
19411
 
20543
19412
 
@@ -20578,7 +19447,9 @@ byProviderList: jspb.Message.toObjectList(msg.getByProviderList(),
20578
19447
  bySourceList: jspb.Message.toObjectList(msg.getBySourceList(),
20579
19448
  proto.gateway.web.v1.ProjectOverviewSlice.toObject, includeInstance),
20580
19449
  topSessionsList: jspb.Message.toObjectList(msg.getTopSessionsList(),
20581
- proto.gateway.web.v1.ProjectSessionRef.toObject, includeInstance)
19450
+ proto.gateway.web.v1.ProjectSessionRef.toObject, includeInstance),
19451
+ byEffortList: jspb.Message.toObjectList(msg.getByEffortList(),
19452
+ proto.gateway.web.v1.ProjectOverviewSlice.toObject, includeInstance)
20582
19453
  };
20583
19454
 
20584
19455
  if (includeInstance) {
@@ -20640,6 +19511,11 @@ proto.gateway.web.v1.ProjectOverview.deserializeBinaryFromReader = function(msg,
20640
19511
  reader.readMessage(value,proto.gateway.web.v1.ProjectSessionRef.deserializeBinaryFromReader);
20641
19512
  msg.addTopSessions(value);
20642
19513
  break;
19514
+ case 6:
19515
+ var value = new proto.gateway.web.v1.ProjectOverviewSlice;
19516
+ reader.readMessage(value,proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader);
19517
+ msg.addByEffort(value);
19518
+ break;
20643
19519
  default:
20644
19520
  reader.skipField();
20645
19521
  break;
@@ -20709,6 +19585,14 @@ proto.gateway.web.v1.ProjectOverview.serializeBinaryToWriter = function(message,
20709
19585
  proto.gateway.web.v1.ProjectSessionRef.serializeBinaryToWriter
20710
19586
  );
20711
19587
  }
19588
+ f = message.getByEffortList();
19589
+ if (f.length > 0) {
19590
+ writer.writeRepeatedMessage(
19591
+ 6,
19592
+ f,
19593
+ proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter
19594
+ );
19595
+ }
20712
19596
  };
20713
19597
 
20714
19598
 
@@ -20901,6 +19785,44 @@ proto.gateway.web.v1.ProjectOverview.prototype.clearTopSessionsList = function()
20901
19785
  };
20902
19786
 
20903
19787
 
19788
+ /**
19789
+ * repeated ProjectOverviewSlice by_effort = 6;
19790
+ * @return {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>}
19791
+ */
19792
+ proto.gateway.web.v1.ProjectOverview.prototype.getByEffortList = function() {
19793
+ return /** @type{!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} */ (
19794
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectOverviewSlice, 6));
19795
+ };
19796
+
19797
+
19798
+ /**
19799
+ * @param {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} value
19800
+ * @return {!proto.gateway.web.v1.ProjectOverview} returns this
19801
+ */
19802
+ proto.gateway.web.v1.ProjectOverview.prototype.setByEffortList = function(value) {
19803
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
19804
+ };
19805
+
19806
+
19807
+ /**
19808
+ * @param {!proto.gateway.web.v1.ProjectOverviewSlice=} opt_value
19809
+ * @param {number=} opt_index
19810
+ * @return {!proto.gateway.web.v1.ProjectOverviewSlice}
19811
+ */
19812
+ proto.gateway.web.v1.ProjectOverview.prototype.addByEffort = function(opt_value, opt_index) {
19813
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.gateway.web.v1.ProjectOverviewSlice, opt_index);
19814
+ };
19815
+
19816
+
19817
+ /**
19818
+ * Clears the list making it empty but non-null.
19819
+ * @return {!proto.gateway.web.v1.ProjectOverview} returns this
19820
+ */
19821
+ proto.gateway.web.v1.ProjectOverview.prototype.clearByEffortList = function() {
19822
+ return this.setByEffortList([]);
19823
+ };
19824
+
19825
+
20904
19826
 
20905
19827
 
20906
19828
 
@@ -26309,7 +25231,8 @@ proto.gateway.web.v1.FileGroup.prototype.toObject = function(opt_includeInstance
26309
25231
  proto.gateway.web.v1.FileGroup.toObject = function(includeInstance, msg) {
26310
25232
  var f, obj = {
26311
25233
  key: jspb.Message.getFieldWithDefault(msg, 1, ""),
26312
- tiers: (f = msg.getTiers()) && proto.gateway.web.v1.FileTiers.toObject(includeInstance, f)
25234
+ tiers: (f = msg.getTiers()) && proto.gateway.web.v1.FileTiers.toObject(includeInstance, f),
25235
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 3, "")
26313
25236
  };
26314
25237
 
26315
25238
  if (includeInstance) {
@@ -26355,6 +25278,10 @@ proto.gateway.web.v1.FileGroup.deserializeBinaryFromReader = function(msg, reade
26355
25278
  reader.readMessage(value,proto.gateway.web.v1.FileTiers.deserializeBinaryFromReader);
26356
25279
  msg.setTiers(value);
26357
25280
  break;
25281
+ case 3:
25282
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
25283
+ msg.setSourceSystem(value);
25284
+ break;
26358
25285
  default:
26359
25286
  reader.skipField();
26360
25287
  break;
@@ -26399,6 +25326,13 @@ proto.gateway.web.v1.FileGroup.serializeBinaryToWriter = function(message, write
26399
25326
  proto.gateway.web.v1.FileTiers.serializeBinaryToWriter
26400
25327
  );
26401
25328
  }
25329
+ f = message.getSourceSystem();
25330
+ if (f.length > 0) {
25331
+ writer.writeString(
25332
+ 3,
25333
+ f
25334
+ );
25335
+ }
26402
25336
  };
26403
25337
 
26404
25338
 
@@ -26457,6 +25391,24 @@ proto.gateway.web.v1.FileGroup.prototype.hasTiers = function() {
26457
25391
  };
26458
25392
 
26459
25393
 
25394
+ /**
25395
+ * optional string source_system = 3;
25396
+ * @return {string}
25397
+ */
25398
+ proto.gateway.web.v1.FileGroup.prototype.getSourceSystem = function() {
25399
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
25400
+ };
25401
+
25402
+
25403
+ /**
25404
+ * @param {string} value
25405
+ * @return {!proto.gateway.web.v1.FileGroup} returns this
25406
+ */
25407
+ proto.gateway.web.v1.FileGroup.prototype.setSourceSystem = function(value) {
25408
+ return jspb.Message.setProto3StringField(this, 3, value);
25409
+ };
25410
+
25411
+
26460
25412
 
26461
25413
 
26462
25414
 
@@ -29204,7 +28156,7 @@ proto.gateway.web.v1.EntitlementsSnapshot.prototype.hasAsOf = function() {
29204
28156
  * @private {!Array<number>}
29205
28157
  * @const
29206
28158
  */
29207
- proto.gateway.web.v1.SeatEntitlement.repeatedFields_ = [6];
28159
+ proto.gateway.web.v1.SeatEntitlement.repeatedFields_ = [6,13];
29208
28160
 
29209
28161
 
29210
28162
 
@@ -29237,7 +28189,7 @@ proto.gateway.web.v1.SeatEntitlement.prototype.toObject = function(opt_includeIn
29237
28189
  */
29238
28190
  proto.gateway.web.v1.SeatEntitlement.toObject = function(includeInstance, msg) {
29239
28191
  var f, obj = {
29240
- sourceSystem: jspb.Message.getFieldWithDefault(msg, 1, ""),
28192
+ billingParty: jspb.Message.getFieldWithDefault(msg, 1, ""),
29241
28193
  accountId: jspb.Message.getFieldWithDefault(msg, 2, ""),
29242
28194
  principalId: jspb.Message.getFieldWithDefault(msg, 3, ""),
29243
28195
  principalName: jspb.Message.getFieldWithDefault(msg, 4, ""),
@@ -29249,7 +28201,10 @@ creditsBalanceRaw: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
29249
28201
  creditsUnlimited: (f = jspb.Message.getBooleanField(msg, 9)) == null ? undefined : f,
29250
28202
  planType: jspb.Message.getFieldWithDefault(msg, 10, ""),
29251
28203
  seatTier: jspb.Message.getFieldWithDefault(msg, 11, ""),
29252
- evidenceSource: jspb.Message.getFieldWithDefault(msg, 12, "")
28204
+ evidenceSource: jspb.Message.getFieldWithDefault(msg, 12, ""),
28205
+ sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
28206
+ principalSourceSystem: jspb.Message.getFieldWithDefault(msg, 14, ""),
28207
+ accountUserId: jspb.Message.getFieldWithDefault(msg, 15, "")
29253
28208
  };
29254
28209
 
29255
28210
  if (includeInstance) {
@@ -29288,7 +28243,7 @@ proto.gateway.web.v1.SeatEntitlement.deserializeBinaryFromReader = function(msg,
29288
28243
  switch (field) {
29289
28244
  case 1:
29290
28245
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
29291
- msg.setSourceSystem(value);
28246
+ msg.setBillingParty(value);
29292
28247
  break;
29293
28248
  case 2:
29294
28249
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
@@ -29336,6 +28291,18 @@ proto.gateway.web.v1.SeatEntitlement.deserializeBinaryFromReader = function(msg,
29336
28291
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
29337
28292
  msg.setEvidenceSource(value);
29338
28293
  break;
28294
+ case 13:
28295
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
28296
+ msg.addSourceSystems(value);
28297
+ break;
28298
+ case 14:
28299
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
28300
+ msg.setPrincipalSourceSystem(value);
28301
+ break;
28302
+ case 15:
28303
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
28304
+ msg.setAccountUserId(value);
28305
+ break;
29339
28306
  default:
29340
28307
  reader.skipField();
29341
28308
  break;
@@ -29365,7 +28332,7 @@ proto.gateway.web.v1.SeatEntitlement.prototype.serializeBinary = function() {
29365
28332
  */
29366
28333
  proto.gateway.web.v1.SeatEntitlement.serializeBinaryToWriter = function(message, writer) {
29367
28334
  var f = undefined;
29368
- f = message.getSourceSystem();
28335
+ f = message.getBillingParty();
29369
28336
  if (f.length > 0) {
29370
28337
  writer.writeString(
29371
28338
  1,
@@ -29451,14 +28418,35 @@ proto.gateway.web.v1.SeatEntitlement.serializeBinaryToWriter = function(message,
29451
28418
  f
29452
28419
  );
29453
28420
  }
28421
+ f = message.getSourceSystemsList();
28422
+ if (f.length > 0) {
28423
+ writer.writeRepeatedString(
28424
+ 13,
28425
+ f
28426
+ );
28427
+ }
28428
+ f = message.getPrincipalSourceSystem();
28429
+ if (f.length > 0) {
28430
+ writer.writeString(
28431
+ 14,
28432
+ f
28433
+ );
28434
+ }
28435
+ f = message.getAccountUserId();
28436
+ if (f.length > 0) {
28437
+ writer.writeString(
28438
+ 15,
28439
+ f
28440
+ );
28441
+ }
29454
28442
  };
29455
28443
 
29456
28444
 
29457
28445
  /**
29458
- * optional string source_system = 1;
28446
+ * optional string billing_party = 1;
29459
28447
  * @return {string}
29460
28448
  */
29461
- proto.gateway.web.v1.SeatEntitlement.prototype.getSourceSystem = function() {
28449
+ proto.gateway.web.v1.SeatEntitlement.prototype.getBillingParty = function() {
29462
28450
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
29463
28451
  };
29464
28452
 
@@ -29467,7 +28455,7 @@ proto.gateway.web.v1.SeatEntitlement.prototype.getSourceSystem = function() {
29467
28455
  * @param {string} value
29468
28456
  * @return {!proto.gateway.web.v1.SeatEntitlement} returns this
29469
28457
  */
29470
- proto.gateway.web.v1.SeatEntitlement.prototype.setSourceSystem = function(value) {
28458
+ proto.gateway.web.v1.SeatEntitlement.prototype.setBillingParty = function(value) {
29471
28459
  return jspb.Message.setProto3StringField(this, 1, value);
29472
28460
  };
29473
28461
 
@@ -29745,6 +28733,79 @@ proto.gateway.web.v1.SeatEntitlement.prototype.setEvidenceSource = function(valu
29745
28733
  };
29746
28734
 
29747
28735
 
28736
+ /**
28737
+ * repeated string source_systems = 13;
28738
+ * @return {!Array<string>}
28739
+ */
28740
+ proto.gateway.web.v1.SeatEntitlement.prototype.getSourceSystemsList = function() {
28741
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
28742
+ };
28743
+
28744
+
28745
+ /**
28746
+ * @param {!Array<string>} value
28747
+ * @return {!proto.gateway.web.v1.SeatEntitlement} returns this
28748
+ */
28749
+ proto.gateway.web.v1.SeatEntitlement.prototype.setSourceSystemsList = function(value) {
28750
+ return jspb.Message.setField(this, 13, value || []);
28751
+ };
28752
+
28753
+
28754
+ /**
28755
+ * @param {string} value
28756
+ * @param {number=} opt_index
28757
+ * @return {!proto.gateway.web.v1.SeatEntitlement} returns this
28758
+ */
28759
+ proto.gateway.web.v1.SeatEntitlement.prototype.addSourceSystems = function(value, opt_index) {
28760
+ return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
28761
+ };
28762
+
28763
+
28764
+ /**
28765
+ * Clears the list making it empty but non-null.
28766
+ * @return {!proto.gateway.web.v1.SeatEntitlement} returns this
28767
+ */
28768
+ proto.gateway.web.v1.SeatEntitlement.prototype.clearSourceSystemsList = function() {
28769
+ return this.setSourceSystemsList([]);
28770
+ };
28771
+
28772
+
28773
+ /**
28774
+ * optional string principal_source_system = 14;
28775
+ * @return {string}
28776
+ */
28777
+ proto.gateway.web.v1.SeatEntitlement.prototype.getPrincipalSourceSystem = function() {
28778
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
28779
+ };
28780
+
28781
+
28782
+ /**
28783
+ * @param {string} value
28784
+ * @return {!proto.gateway.web.v1.SeatEntitlement} returns this
28785
+ */
28786
+ proto.gateway.web.v1.SeatEntitlement.prototype.setPrincipalSourceSystem = function(value) {
28787
+ return jspb.Message.setProto3StringField(this, 14, value);
28788
+ };
28789
+
28790
+
28791
+ /**
28792
+ * optional string account_user_id = 15;
28793
+ * @return {string}
28794
+ */
28795
+ proto.gateway.web.v1.SeatEntitlement.prototype.getAccountUserId = function() {
28796
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
28797
+ };
28798
+
28799
+
28800
+ /**
28801
+ * @param {string} value
28802
+ * @return {!proto.gateway.web.v1.SeatEntitlement} returns this
28803
+ */
28804
+ proto.gateway.web.v1.SeatEntitlement.prototype.setAccountUserId = function(value) {
28805
+ return jspb.Message.setProto3StringField(this, 15, value);
28806
+ };
28807
+
28808
+
29748
28809
 
29749
28810
 
29750
28811
 
@@ -30081,15 +29142,6 @@ proto.gateway.web.v1.AISessionEventKind = {
30081
29142
  AI_SESSION_EVENT_KIND_SUBAGENT_RUN: 11
30082
29143
  };
30083
29144
 
30084
- /**
30085
- * @enum {number}
30086
- */
30087
- proto.gateway.web.v1.AIPrincipalKind = {
30088
- AI_PRINCIPAL_KIND_UNSPECIFIED: 0,
30089
- AI_PRINCIPAL_KIND_USER: 1,
30090
- AI_PRINCIPAL_KIND_API_KEY: 2
30091
- };
30092
-
30093
29145
  /**
30094
29146
  * @enum {number}
30095
29147
  */
@@ -30135,7 +29187,8 @@ proto.gateway.web.v1.AITokenActivityDimension = {
30135
29187
  AI_TOKEN_ACTIVITY_DIMENSION_PROVIDER: 2,
30136
29188
  AI_TOKEN_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 3,
30137
29189
  AI_TOKEN_ACTIVITY_DIMENSION_USER: 4,
30138
- AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5
29190
+ AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5,
29191
+ AI_TOKEN_ACTIVITY_DIMENSION_EFFORT: 6
30139
29192
  };
30140
29193
 
30141
29194
  /**