@miradorlabs/web-grpc 2.77.0 → 3.1.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.
- package/package.json +1 -1
- package/proto/gateway/web/v1/ai_gateway.ts +502 -967
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +0 -66
- package/proto/gateway/web/v1/ai_gateway_pb.js +772 -1621
- package/proto/gateway/web/v1/reference_gateway.ts +1636 -0
- package/proto/gateway/web/v1/reference_gateway_grpc_pb.js +215 -0
- package/proto/gateway/web/v1/reference_gateway_pb.js +2768 -0
|
@@ -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,31,32];
|
|
3149
3087
|
|
|
3150
3088
|
|
|
3151
3089
|
|
|
@@ -3202,7 +3140,14 @@ 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, ""),
|
|
3149
|
+
clientsList: (f = jspb.Message.getRepeatedField(msg, 31)) == null ? undefined : f,
|
|
3150
|
+
clientVersionsList: (f = jspb.Message.getRepeatedField(msg, 32)) == null ? undefined : f
|
|
3206
3151
|
};
|
|
3207
3152
|
|
|
3208
3153
|
if (includeInstance) {
|
|
@@ -3342,6 +3287,34 @@ proto.gateway.web.v1.AISessionSummary.deserializeBinaryFromReader = function(msg
|
|
|
3342
3287
|
var value = /** @type {number} */ (reader.readUint64());
|
|
3343
3288
|
msg.setSubagents(value);
|
|
3344
3289
|
break;
|
|
3290
|
+
case 26:
|
|
3291
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3292
|
+
msg.addEfforts(value);
|
|
3293
|
+
break;
|
|
3294
|
+
case 27:
|
|
3295
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3296
|
+
msg.addBillingParties(value);
|
|
3297
|
+
break;
|
|
3298
|
+
case 28:
|
|
3299
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3300
|
+
msg.addCostSources(value);
|
|
3301
|
+
break;
|
|
3302
|
+
case 29:
|
|
3303
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3304
|
+
msg.addAccountIds(value);
|
|
3305
|
+
break;
|
|
3306
|
+
case 30:
|
|
3307
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3308
|
+
msg.setObserver(value);
|
|
3309
|
+
break;
|
|
3310
|
+
case 31:
|
|
3311
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3312
|
+
msg.addClients(value);
|
|
3313
|
+
break;
|
|
3314
|
+
case 32:
|
|
3315
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3316
|
+
msg.addClientVersions(value);
|
|
3317
|
+
break;
|
|
3345
3318
|
default:
|
|
3346
3319
|
reader.skipField();
|
|
3347
3320
|
break;
|
|
@@ -3549,6 +3522,55 @@ proto.gateway.web.v1.AISessionSummary.serializeBinaryToWriter = function(message
|
|
|
3549
3522
|
f
|
|
3550
3523
|
);
|
|
3551
3524
|
}
|
|
3525
|
+
f = message.getEffortsList();
|
|
3526
|
+
if (f.length > 0) {
|
|
3527
|
+
writer.writeRepeatedString(
|
|
3528
|
+
26,
|
|
3529
|
+
f
|
|
3530
|
+
);
|
|
3531
|
+
}
|
|
3532
|
+
f = message.getBillingPartiesList();
|
|
3533
|
+
if (f.length > 0) {
|
|
3534
|
+
writer.writeRepeatedString(
|
|
3535
|
+
27,
|
|
3536
|
+
f
|
|
3537
|
+
);
|
|
3538
|
+
}
|
|
3539
|
+
f = message.getCostSourcesList();
|
|
3540
|
+
if (f.length > 0) {
|
|
3541
|
+
writer.writeRepeatedString(
|
|
3542
|
+
28,
|
|
3543
|
+
f
|
|
3544
|
+
);
|
|
3545
|
+
}
|
|
3546
|
+
f = message.getAccountIdsList();
|
|
3547
|
+
if (f.length > 0) {
|
|
3548
|
+
writer.writeRepeatedString(
|
|
3549
|
+
29,
|
|
3550
|
+
f
|
|
3551
|
+
);
|
|
3552
|
+
}
|
|
3553
|
+
f = message.getObserver();
|
|
3554
|
+
if (f.length > 0) {
|
|
3555
|
+
writer.writeString(
|
|
3556
|
+
30,
|
|
3557
|
+
f
|
|
3558
|
+
);
|
|
3559
|
+
}
|
|
3560
|
+
f = message.getClientsList();
|
|
3561
|
+
if (f.length > 0) {
|
|
3562
|
+
writer.writeRepeatedString(
|
|
3563
|
+
31,
|
|
3564
|
+
f
|
|
3565
|
+
);
|
|
3566
|
+
}
|
|
3567
|
+
f = message.getClientVersionsList();
|
|
3568
|
+
if (f.length > 0) {
|
|
3569
|
+
writer.writeRepeatedString(
|
|
3570
|
+
32,
|
|
3571
|
+
f
|
|
3572
|
+
);
|
|
3573
|
+
}
|
|
3552
3574
|
};
|
|
3553
3575
|
|
|
3554
3576
|
|
|
@@ -4135,71 +4157,311 @@ proto.gateway.web.v1.AISessionSummary.prototype.setSubagents = function(value) {
|
|
|
4135
4157
|
};
|
|
4136
4158
|
|
|
4137
4159
|
|
|
4160
|
+
/**
|
|
4161
|
+
* repeated string efforts = 26;
|
|
4162
|
+
* @return {!Array<string>}
|
|
4163
|
+
*/
|
|
4164
|
+
proto.gateway.web.v1.AISessionSummary.prototype.getEffortsList = function() {
|
|
4165
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 26));
|
|
4166
|
+
};
|
|
4167
|
+
|
|
4138
4168
|
|
|
4169
|
+
/**
|
|
4170
|
+
* @param {!Array<string>} value
|
|
4171
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4172
|
+
*/
|
|
4173
|
+
proto.gateway.web.v1.AISessionSummary.prototype.setEffortsList = function(value) {
|
|
4174
|
+
return jspb.Message.setField(this, 26, value || []);
|
|
4175
|
+
};
|
|
4139
4176
|
|
|
4140
4177
|
|
|
4141
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4142
4178
|
/**
|
|
4143
|
-
*
|
|
4144
|
-
*
|
|
4145
|
-
*
|
|
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}
|
|
4179
|
+
* @param {string} value
|
|
4180
|
+
* @param {number=} opt_index
|
|
4181
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4153
4182
|
*/
|
|
4154
|
-
proto.gateway.web.v1.
|
|
4155
|
-
return
|
|
4183
|
+
proto.gateway.web.v1.AISessionSummary.prototype.addEfforts = function(value, opt_index) {
|
|
4184
|
+
return jspb.Message.addToRepeatedField(this, 26, value, opt_index);
|
|
4156
4185
|
};
|
|
4157
4186
|
|
|
4158
4187
|
|
|
4159
4188
|
/**
|
|
4160
|
-
*
|
|
4161
|
-
* @
|
|
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
|
|
4189
|
+
* Clears the list making it empty but non-null.
|
|
4190
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4167
4191
|
*/
|
|
4168
|
-
proto.gateway.web.v1.
|
|
4169
|
-
|
|
4170
|
-
|
|
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
|
-
};
|
|
4192
|
+
proto.gateway.web.v1.AISessionSummary.prototype.clearEffortsList = function() {
|
|
4193
|
+
return this.setEffortsList([]);
|
|
4194
|
+
};
|
|
4176
4195
|
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4196
|
+
|
|
4197
|
+
/**
|
|
4198
|
+
* repeated string billing_parties = 27;
|
|
4199
|
+
* @return {!Array<string>}
|
|
4200
|
+
*/
|
|
4201
|
+
proto.gateway.web.v1.AISessionSummary.prototype.getBillingPartiesList = function() {
|
|
4202
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 27));
|
|
4181
4203
|
};
|
|
4182
|
-
}
|
|
4183
4204
|
|
|
4184
4205
|
|
|
4185
4206
|
/**
|
|
4186
|
-
*
|
|
4187
|
-
* @
|
|
4188
|
-
* @return {!proto.gateway.web.v1.StreamSessionsRequest}
|
|
4207
|
+
* @param {!Array<string>} value
|
|
4208
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4189
4209
|
*/
|
|
4190
|
-
proto.gateway.web.v1.
|
|
4191
|
-
|
|
4192
|
-
var msg = new proto.gateway.web.v1.StreamSessionsRequest;
|
|
4193
|
-
return proto.gateway.web.v1.StreamSessionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
4210
|
+
proto.gateway.web.v1.AISessionSummary.prototype.setBillingPartiesList = function(value) {
|
|
4211
|
+
return jspb.Message.setField(this, 27, value || []);
|
|
4194
4212
|
};
|
|
4195
4213
|
|
|
4196
4214
|
|
|
4197
4215
|
/**
|
|
4198
|
-
*
|
|
4199
|
-
*
|
|
4200
|
-
* @
|
|
4201
|
-
|
|
4202
|
-
|
|
4216
|
+
* @param {string} value
|
|
4217
|
+
* @param {number=} opt_index
|
|
4218
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4219
|
+
*/
|
|
4220
|
+
proto.gateway.web.v1.AISessionSummary.prototype.addBillingParties = function(value, opt_index) {
|
|
4221
|
+
return jspb.Message.addToRepeatedField(this, 27, value, opt_index);
|
|
4222
|
+
};
|
|
4223
|
+
|
|
4224
|
+
|
|
4225
|
+
/**
|
|
4226
|
+
* Clears the list making it empty but non-null.
|
|
4227
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4228
|
+
*/
|
|
4229
|
+
proto.gateway.web.v1.AISessionSummary.prototype.clearBillingPartiesList = function() {
|
|
4230
|
+
return this.setBillingPartiesList([]);
|
|
4231
|
+
};
|
|
4232
|
+
|
|
4233
|
+
|
|
4234
|
+
/**
|
|
4235
|
+
* repeated string cost_sources = 28;
|
|
4236
|
+
* @return {!Array<string>}
|
|
4237
|
+
*/
|
|
4238
|
+
proto.gateway.web.v1.AISessionSummary.prototype.getCostSourcesList = function() {
|
|
4239
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 28));
|
|
4240
|
+
};
|
|
4241
|
+
|
|
4242
|
+
|
|
4243
|
+
/**
|
|
4244
|
+
* @param {!Array<string>} value
|
|
4245
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4246
|
+
*/
|
|
4247
|
+
proto.gateway.web.v1.AISessionSummary.prototype.setCostSourcesList = function(value) {
|
|
4248
|
+
return jspb.Message.setField(this, 28, value || []);
|
|
4249
|
+
};
|
|
4250
|
+
|
|
4251
|
+
|
|
4252
|
+
/**
|
|
4253
|
+
* @param {string} value
|
|
4254
|
+
* @param {number=} opt_index
|
|
4255
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4256
|
+
*/
|
|
4257
|
+
proto.gateway.web.v1.AISessionSummary.prototype.addCostSources = function(value, opt_index) {
|
|
4258
|
+
return jspb.Message.addToRepeatedField(this, 28, value, opt_index);
|
|
4259
|
+
};
|
|
4260
|
+
|
|
4261
|
+
|
|
4262
|
+
/**
|
|
4263
|
+
* Clears the list making it empty but non-null.
|
|
4264
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4265
|
+
*/
|
|
4266
|
+
proto.gateway.web.v1.AISessionSummary.prototype.clearCostSourcesList = function() {
|
|
4267
|
+
return this.setCostSourcesList([]);
|
|
4268
|
+
};
|
|
4269
|
+
|
|
4270
|
+
|
|
4271
|
+
/**
|
|
4272
|
+
* repeated string account_ids = 29;
|
|
4273
|
+
* @return {!Array<string>}
|
|
4274
|
+
*/
|
|
4275
|
+
proto.gateway.web.v1.AISessionSummary.prototype.getAccountIdsList = function() {
|
|
4276
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 29));
|
|
4277
|
+
};
|
|
4278
|
+
|
|
4279
|
+
|
|
4280
|
+
/**
|
|
4281
|
+
* @param {!Array<string>} value
|
|
4282
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4283
|
+
*/
|
|
4284
|
+
proto.gateway.web.v1.AISessionSummary.prototype.setAccountIdsList = function(value) {
|
|
4285
|
+
return jspb.Message.setField(this, 29, value || []);
|
|
4286
|
+
};
|
|
4287
|
+
|
|
4288
|
+
|
|
4289
|
+
/**
|
|
4290
|
+
* @param {string} value
|
|
4291
|
+
* @param {number=} opt_index
|
|
4292
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4293
|
+
*/
|
|
4294
|
+
proto.gateway.web.v1.AISessionSummary.prototype.addAccountIds = function(value, opt_index) {
|
|
4295
|
+
return jspb.Message.addToRepeatedField(this, 29, value, opt_index);
|
|
4296
|
+
};
|
|
4297
|
+
|
|
4298
|
+
|
|
4299
|
+
/**
|
|
4300
|
+
* Clears the list making it empty but non-null.
|
|
4301
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4302
|
+
*/
|
|
4303
|
+
proto.gateway.web.v1.AISessionSummary.prototype.clearAccountIdsList = function() {
|
|
4304
|
+
return this.setAccountIdsList([]);
|
|
4305
|
+
};
|
|
4306
|
+
|
|
4307
|
+
|
|
4308
|
+
/**
|
|
4309
|
+
* optional string observer = 30;
|
|
4310
|
+
* @return {string}
|
|
4311
|
+
*/
|
|
4312
|
+
proto.gateway.web.v1.AISessionSummary.prototype.getObserver = function() {
|
|
4313
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
|
|
4314
|
+
};
|
|
4315
|
+
|
|
4316
|
+
|
|
4317
|
+
/**
|
|
4318
|
+
* @param {string} value
|
|
4319
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4320
|
+
*/
|
|
4321
|
+
proto.gateway.web.v1.AISessionSummary.prototype.setObserver = function(value) {
|
|
4322
|
+
return jspb.Message.setProto3StringField(this, 30, value);
|
|
4323
|
+
};
|
|
4324
|
+
|
|
4325
|
+
|
|
4326
|
+
/**
|
|
4327
|
+
* repeated string clients = 31;
|
|
4328
|
+
* @return {!Array<string>}
|
|
4329
|
+
*/
|
|
4330
|
+
proto.gateway.web.v1.AISessionSummary.prototype.getClientsList = function() {
|
|
4331
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 31));
|
|
4332
|
+
};
|
|
4333
|
+
|
|
4334
|
+
|
|
4335
|
+
/**
|
|
4336
|
+
* @param {!Array<string>} value
|
|
4337
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4338
|
+
*/
|
|
4339
|
+
proto.gateway.web.v1.AISessionSummary.prototype.setClientsList = function(value) {
|
|
4340
|
+
return jspb.Message.setField(this, 31, value || []);
|
|
4341
|
+
};
|
|
4342
|
+
|
|
4343
|
+
|
|
4344
|
+
/**
|
|
4345
|
+
* @param {string} value
|
|
4346
|
+
* @param {number=} opt_index
|
|
4347
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4348
|
+
*/
|
|
4349
|
+
proto.gateway.web.v1.AISessionSummary.prototype.addClients = function(value, opt_index) {
|
|
4350
|
+
return jspb.Message.addToRepeatedField(this, 31, value, opt_index);
|
|
4351
|
+
};
|
|
4352
|
+
|
|
4353
|
+
|
|
4354
|
+
/**
|
|
4355
|
+
* Clears the list making it empty but non-null.
|
|
4356
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4357
|
+
*/
|
|
4358
|
+
proto.gateway.web.v1.AISessionSummary.prototype.clearClientsList = function() {
|
|
4359
|
+
return this.setClientsList([]);
|
|
4360
|
+
};
|
|
4361
|
+
|
|
4362
|
+
|
|
4363
|
+
/**
|
|
4364
|
+
* repeated string client_versions = 32;
|
|
4365
|
+
* @return {!Array<string>}
|
|
4366
|
+
*/
|
|
4367
|
+
proto.gateway.web.v1.AISessionSummary.prototype.getClientVersionsList = function() {
|
|
4368
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 32));
|
|
4369
|
+
};
|
|
4370
|
+
|
|
4371
|
+
|
|
4372
|
+
/**
|
|
4373
|
+
* @param {!Array<string>} value
|
|
4374
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4375
|
+
*/
|
|
4376
|
+
proto.gateway.web.v1.AISessionSummary.prototype.setClientVersionsList = function(value) {
|
|
4377
|
+
return jspb.Message.setField(this, 32, value || []);
|
|
4378
|
+
};
|
|
4379
|
+
|
|
4380
|
+
|
|
4381
|
+
/**
|
|
4382
|
+
* @param {string} value
|
|
4383
|
+
* @param {number=} opt_index
|
|
4384
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4385
|
+
*/
|
|
4386
|
+
proto.gateway.web.v1.AISessionSummary.prototype.addClientVersions = function(value, opt_index) {
|
|
4387
|
+
return jspb.Message.addToRepeatedField(this, 32, value, opt_index);
|
|
4388
|
+
};
|
|
4389
|
+
|
|
4390
|
+
|
|
4391
|
+
/**
|
|
4392
|
+
* Clears the list making it empty but non-null.
|
|
4393
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4394
|
+
*/
|
|
4395
|
+
proto.gateway.web.v1.AISessionSummary.prototype.clearClientVersionsList = function() {
|
|
4396
|
+
return this.setClientVersionsList([]);
|
|
4397
|
+
};
|
|
4398
|
+
|
|
4399
|
+
|
|
4400
|
+
|
|
4401
|
+
|
|
4402
|
+
|
|
4403
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4404
|
+
/**
|
|
4405
|
+
* Creates an object representation of this proto.
|
|
4406
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4407
|
+
* Optional fields that are not set will be set to undefined.
|
|
4408
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4409
|
+
* For the list of reserved names please see:
|
|
4410
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4411
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4412
|
+
* JSPB instance for transitional soy proto support:
|
|
4413
|
+
* http://goto/soy-param-migration
|
|
4414
|
+
* @return {!Object}
|
|
4415
|
+
*/
|
|
4416
|
+
proto.gateway.web.v1.StreamSessionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4417
|
+
return proto.gateway.web.v1.StreamSessionsRequest.toObject(opt_includeInstance, this);
|
|
4418
|
+
};
|
|
4419
|
+
|
|
4420
|
+
|
|
4421
|
+
/**
|
|
4422
|
+
* Static version of the {@see toObject} method.
|
|
4423
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4424
|
+
* the JSPB instance for transitional soy proto support:
|
|
4425
|
+
* http://goto/soy-param-migration
|
|
4426
|
+
* @param {!proto.gateway.web.v1.StreamSessionsRequest} msg The msg instance to transform.
|
|
4427
|
+
* @return {!Object}
|
|
4428
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4429
|
+
*/
|
|
4430
|
+
proto.gateway.web.v1.StreamSessionsRequest.toObject = function(includeInstance, msg) {
|
|
4431
|
+
var f, obj = {
|
|
4432
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4433
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4434
|
+
filter: (f = msg.getFilter()) && proto.gateway.web.v1.AISessionFilter.toObject(includeInstance, f),
|
|
4435
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
4436
|
+
sort: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
4437
|
+
};
|
|
4438
|
+
|
|
4439
|
+
if (includeInstance) {
|
|
4440
|
+
obj.$jspbMessageInstance = msg;
|
|
4441
|
+
}
|
|
4442
|
+
return obj;
|
|
4443
|
+
};
|
|
4444
|
+
}
|
|
4445
|
+
|
|
4446
|
+
|
|
4447
|
+
/**
|
|
4448
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4449
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
4450
|
+
* @return {!proto.gateway.web.v1.StreamSessionsRequest}
|
|
4451
|
+
*/
|
|
4452
|
+
proto.gateway.web.v1.StreamSessionsRequest.deserializeBinary = function(bytes) {
|
|
4453
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4454
|
+
var msg = new proto.gateway.web.v1.StreamSessionsRequest;
|
|
4455
|
+
return proto.gateway.web.v1.StreamSessionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
4456
|
+
};
|
|
4457
|
+
|
|
4458
|
+
|
|
4459
|
+
/**
|
|
4460
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4461
|
+
* given reader into the given message object.
|
|
4462
|
+
* @param {!proto.gateway.web.v1.StreamSessionsRequest} msg The message object to deserialize into.
|
|
4463
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4464
|
+
* @return {!proto.gateway.web.v1.StreamSessionsRequest}
|
|
4203
4465
|
*/
|
|
4204
4466
|
proto.gateway.web.v1.StreamSessionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4205
4467
|
while (reader.nextField()) {
|
|
@@ -6131,7 +6393,8 @@ fundingMode: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
|
6131
6393
|
agentId: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
6132
6394
|
parentAgentId: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
6133
6395
|
isSubagent: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
6134
|
-
agentName: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
6396
|
+
agentName: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
6397
|
+
effort: jspb.Message.getFieldWithDefault(msg, 24, "")
|
|
6135
6398
|
};
|
|
6136
6399
|
|
|
6137
6400
|
if (includeInstance) {
|
|
@@ -6263,6 +6526,10 @@ proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader = function(msg,
|
|
|
6263
6526
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6264
6527
|
msg.setAgentName(value);
|
|
6265
6528
|
break;
|
|
6529
|
+
case 24:
|
|
6530
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6531
|
+
msg.setEffort(value);
|
|
6532
|
+
break;
|
|
6266
6533
|
default:
|
|
6267
6534
|
reader.skipField();
|
|
6268
6535
|
break;
|
|
@@ -6456,6 +6723,13 @@ proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter = function(message,
|
|
|
6456
6723
|
f
|
|
6457
6724
|
);
|
|
6458
6725
|
}
|
|
6726
|
+
f = message.getEffort();
|
|
6727
|
+
if (f.length > 0) {
|
|
6728
|
+
writer.writeString(
|
|
6729
|
+
24,
|
|
6730
|
+
f
|
|
6731
|
+
);
|
|
6732
|
+
}
|
|
6459
6733
|
};
|
|
6460
6734
|
|
|
6461
6735
|
|
|
@@ -6985,6 +7259,24 @@ proto.gateway.web.v1.AISessionEvent.prototype.setAgentName = function(value) {
|
|
|
6985
7259
|
};
|
|
6986
7260
|
|
|
6987
7261
|
|
|
7262
|
+
/**
|
|
7263
|
+
* optional string effort = 24;
|
|
7264
|
+
* @return {string}
|
|
7265
|
+
*/
|
|
7266
|
+
proto.gateway.web.v1.AISessionEvent.prototype.getEffort = function() {
|
|
7267
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
7268
|
+
};
|
|
7269
|
+
|
|
7270
|
+
|
|
7271
|
+
/**
|
|
7272
|
+
* @param {string} value
|
|
7273
|
+
* @return {!proto.gateway.web.v1.AISessionEvent} returns this
|
|
7274
|
+
*/
|
|
7275
|
+
proto.gateway.web.v1.AISessionEvent.prototype.setEffort = function(value) {
|
|
7276
|
+
return jspb.Message.setProto3StringField(this, 24, value);
|
|
7277
|
+
};
|
|
7278
|
+
|
|
7279
|
+
|
|
6988
7280
|
|
|
6989
7281
|
|
|
6990
7282
|
|
|
@@ -8934,7 +9226,8 @@ model: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
8934
9226
|
provider: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8935
9227
|
usage: (f = msg.getUsage()) && proto.gateway.web.v1.AITokenUsage.toObject(includeInstance, f),
|
|
8936
9228
|
callCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
8937
|
-
usageUnavailableCount: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
9229
|
+
usageUnavailableCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
9230
|
+
effort: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
8938
9231
|
};
|
|
8939
9232
|
|
|
8940
9233
|
if (includeInstance) {
|
|
@@ -8992,6 +9285,10 @@ proto.gateway.web.v1.SessionModelUsage.deserializeBinaryFromReader = function(ms
|
|
|
8992
9285
|
var value = /** @type {number} */ (reader.readUint64());
|
|
8993
9286
|
msg.setUsageUnavailableCount(value);
|
|
8994
9287
|
break;
|
|
9288
|
+
case 6:
|
|
9289
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
9290
|
+
msg.setEffort(value);
|
|
9291
|
+
break;
|
|
8995
9292
|
default:
|
|
8996
9293
|
reader.skipField();
|
|
8997
9294
|
break;
|
|
@@ -9057,6 +9354,13 @@ proto.gateway.web.v1.SessionModelUsage.serializeBinaryToWriter = function(messag
|
|
|
9057
9354
|
f
|
|
9058
9355
|
);
|
|
9059
9356
|
}
|
|
9357
|
+
f = message.getEffort();
|
|
9358
|
+
if (f.length > 0) {
|
|
9359
|
+
writer.writeString(
|
|
9360
|
+
6,
|
|
9361
|
+
f
|
|
9362
|
+
);
|
|
9363
|
+
}
|
|
9060
9364
|
};
|
|
9061
9365
|
|
|
9062
9366
|
|
|
@@ -9169,6 +9473,24 @@ proto.gateway.web.v1.SessionModelUsage.prototype.setUsageUnavailableCount = func
|
|
|
9169
9473
|
};
|
|
9170
9474
|
|
|
9171
9475
|
|
|
9476
|
+
/**
|
|
9477
|
+
* optional string effort = 6;
|
|
9478
|
+
* @return {string}
|
|
9479
|
+
*/
|
|
9480
|
+
proto.gateway.web.v1.SessionModelUsage.prototype.getEffort = function() {
|
|
9481
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
9482
|
+
};
|
|
9483
|
+
|
|
9484
|
+
|
|
9485
|
+
/**
|
|
9486
|
+
* @param {string} value
|
|
9487
|
+
* @return {!proto.gateway.web.v1.SessionModelUsage} returns this
|
|
9488
|
+
*/
|
|
9489
|
+
proto.gateway.web.v1.SessionModelUsage.prototype.setEffort = function(value) {
|
|
9490
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
9491
|
+
};
|
|
9492
|
+
|
|
9493
|
+
|
|
9172
9494
|
|
|
9173
9495
|
|
|
9174
9496
|
|
|
@@ -9210,7 +9532,8 @@ provider: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
|
9210
9532
|
finishReason: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
9211
9533
|
durationMs: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
|
|
9212
9534
|
usage: (f = msg.getUsage()) && proto.gateway.web.v1.AITokenUsage.toObject(includeInstance, f),
|
|
9213
|
-
fundingMode: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
9535
|
+
fundingMode: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
9536
|
+
effort: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
9214
9537
|
};
|
|
9215
9538
|
|
|
9216
9539
|
if (includeInstance) {
|
|
@@ -9289,6 +9612,10 @@ proto.gateway.web.v1.SessionTimelinePoint.deserializeBinaryFromReader = function
|
|
|
9289
9612
|
var value = /** @type {!proto.gateway.web.v1.AIFundingMode} */ (reader.readEnum());
|
|
9290
9613
|
msg.setFundingMode(value);
|
|
9291
9614
|
break;
|
|
9615
|
+
case 11:
|
|
9616
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
9617
|
+
msg.setEffort(value);
|
|
9618
|
+
break;
|
|
9292
9619
|
default:
|
|
9293
9620
|
reader.skipField();
|
|
9294
9621
|
break;
|
|
@@ -9390,7 +9717,14 @@ proto.gateway.web.v1.SessionTimelinePoint.serializeBinaryToWriter = function(mes
|
|
|
9390
9717
|
f
|
|
9391
9718
|
);
|
|
9392
9719
|
}
|
|
9393
|
-
|
|
9720
|
+
f = message.getEffort();
|
|
9721
|
+
if (f.length > 0) {
|
|
9722
|
+
writer.writeString(
|
|
9723
|
+
11,
|
|
9724
|
+
f
|
|
9725
|
+
);
|
|
9726
|
+
}
|
|
9727
|
+
};
|
|
9394
9728
|
|
|
9395
9729
|
|
|
9396
9730
|
/**
|
|
@@ -9563,1438 +9897,42 @@ proto.gateway.web.v1.SessionTimelinePoint.prototype.setDurationMs = function(val
|
|
|
9563
9897
|
proto.gateway.web.v1.SessionTimelinePoint.prototype.clearDurationMs = function() {
|
|
9564
9898
|
return jspb.Message.setField(this, 8, undefined);
|
|
9565
9899
|
};
|
|
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
|
|
9900
|
+
|
|
9901
|
+
|
|
9902
|
+
/**
|
|
9903
|
+
* Returns whether this field is set.
|
|
9904
|
+
* @return {boolean}
|
|
10951
9905
|
*/
|
|
10952
|
-
proto.gateway.web.v1.
|
|
10953
|
-
|
|
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
|
-
}
|
|
9906
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.hasDurationMs = function() {
|
|
9907
|
+
return jspb.Message.getField(this, 8) != null;
|
|
10970
9908
|
};
|
|
10971
9909
|
|
|
10972
9910
|
|
|
10973
9911
|
/**
|
|
10974
|
-
* optional
|
|
10975
|
-
* @return {?proto.gateway.
|
|
9912
|
+
* optional AITokenUsage usage = 9;
|
|
9913
|
+
* @return {?proto.gateway.web.v1.AITokenUsage}
|
|
10976
9914
|
*/
|
|
10977
|
-
proto.gateway.web.v1.
|
|
10978
|
-
return /** @type{?proto.gateway.
|
|
10979
|
-
jspb.Message.getWrapperField(this,
|
|
9915
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.getUsage = function() {
|
|
9916
|
+
return /** @type{?proto.gateway.web.v1.AITokenUsage} */ (
|
|
9917
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AITokenUsage, 9));
|
|
10980
9918
|
};
|
|
10981
9919
|
|
|
10982
9920
|
|
|
10983
9921
|
/**
|
|
10984
|
-
* @param {?proto.gateway.
|
|
10985
|
-
* @return {!proto.gateway.web.v1.
|
|
9922
|
+
* @param {?proto.gateway.web.v1.AITokenUsage|undefined} value
|
|
9923
|
+
* @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
|
|
10986
9924
|
*/
|
|
10987
|
-
proto.gateway.web.v1.
|
|
10988
|
-
return jspb.Message.setWrapperField(this,
|
|
9925
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.setUsage = function(value) {
|
|
9926
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
10989
9927
|
};
|
|
10990
9928
|
|
|
10991
9929
|
|
|
10992
9930
|
/**
|
|
10993
9931
|
* Clears the message field making it undefined.
|
|
10994
|
-
* @return {!proto.gateway.web.v1.
|
|
9932
|
+
* @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
|
|
10995
9933
|
*/
|
|
10996
|
-
proto.gateway.web.v1.
|
|
10997
|
-
return this.
|
|
9934
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.clearUsage = function() {
|
|
9935
|
+
return this.setUsage(undefined);
|
|
10998
9936
|
};
|
|
10999
9937
|
|
|
11000
9938
|
|
|
@@ -11002,45 +9940,44 @@ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.clearStatus = function()
|
|
|
11002
9940
|
* Returns whether this field is set.
|
|
11003
9941
|
* @return {boolean}
|
|
11004
9942
|
*/
|
|
11005
|
-
proto.gateway.web.v1.
|
|
11006
|
-
return jspb.Message.getField(this,
|
|
9943
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.hasUsage = function() {
|
|
9944
|
+
return jspb.Message.getField(this, 9) != null;
|
|
11007
9945
|
};
|
|
11008
9946
|
|
|
11009
9947
|
|
|
11010
9948
|
/**
|
|
11011
|
-
* optional
|
|
11012
|
-
* @return {
|
|
9949
|
+
* optional AIFundingMode funding_mode = 10;
|
|
9950
|
+
* @return {!proto.gateway.web.v1.AIFundingMode}
|
|
11013
9951
|
*/
|
|
11014
|
-
proto.gateway.web.v1.
|
|
11015
|
-
return /** @type{
|
|
11016
|
-
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIPrincipal, 2));
|
|
9952
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.getFundingMode = function() {
|
|
9953
|
+
return /** @type {!proto.gateway.web.v1.AIFundingMode} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
11017
9954
|
};
|
|
11018
9955
|
|
|
11019
9956
|
|
|
11020
9957
|
/**
|
|
11021
|
-
* @param {
|
|
11022
|
-
* @return {!proto.gateway.web.v1.
|
|
11023
|
-
*/
|
|
11024
|
-
proto.gateway.web.v1.
|
|
11025
|
-
return jspb.Message.
|
|
9958
|
+
* @param {!proto.gateway.web.v1.AIFundingMode} value
|
|
9959
|
+
* @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
|
|
9960
|
+
*/
|
|
9961
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.setFundingMode = function(value) {
|
|
9962
|
+
return jspb.Message.setProto3EnumField(this, 10, value);
|
|
11026
9963
|
};
|
|
11027
9964
|
|
|
11028
9965
|
|
|
11029
9966
|
/**
|
|
11030
|
-
*
|
|
11031
|
-
* @return {
|
|
9967
|
+
* optional string effort = 11;
|
|
9968
|
+
* @return {string}
|
|
11032
9969
|
*/
|
|
11033
|
-
proto.gateway.web.v1.
|
|
11034
|
-
return
|
|
9970
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.getEffort = function() {
|
|
9971
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
11035
9972
|
};
|
|
11036
9973
|
|
|
11037
9974
|
|
|
11038
9975
|
/**
|
|
11039
|
-
*
|
|
11040
|
-
* @return {
|
|
9976
|
+
* @param {string} value
|
|
9977
|
+
* @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
|
|
11041
9978
|
*/
|
|
11042
|
-
proto.gateway.web.v1.
|
|
11043
|
-
return jspb.Message.
|
|
9979
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.setEffort = function(value) {
|
|
9980
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
11044
9981
|
};
|
|
11045
9982
|
|
|
11046
9983
|
|
|
@@ -14338,7 +13275,8 @@ proto.gateway.web.v1.GitActivitySummaryGroup.prototype.toObject = function(opt_i
|
|
|
14338
13275
|
proto.gateway.web.v1.GitActivitySummaryGroup.toObject = function(includeInstance, msg) {
|
|
14339
13276
|
var f, obj = {
|
|
14340
13277
|
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14341
|
-
measures: (f = msg.getMeasures()) && proto.gateway.web.v1.GitActivityMeasures.toObject(includeInstance, f)
|
|
13278
|
+
measures: (f = msg.getMeasures()) && proto.gateway.web.v1.GitActivityMeasures.toObject(includeInstance, f),
|
|
13279
|
+
sourceSystem: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
14342
13280
|
};
|
|
14343
13281
|
|
|
14344
13282
|
if (includeInstance) {
|
|
@@ -14384,6 +13322,10 @@ proto.gateway.web.v1.GitActivitySummaryGroup.deserializeBinaryFromReader = funct
|
|
|
14384
13322
|
reader.readMessage(value,proto.gateway.web.v1.GitActivityMeasures.deserializeBinaryFromReader);
|
|
14385
13323
|
msg.setMeasures(value);
|
|
14386
13324
|
break;
|
|
13325
|
+
case 3:
|
|
13326
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13327
|
+
msg.setSourceSystem(value);
|
|
13328
|
+
break;
|
|
14387
13329
|
default:
|
|
14388
13330
|
reader.skipField();
|
|
14389
13331
|
break;
|
|
@@ -14428,6 +13370,13 @@ proto.gateway.web.v1.GitActivitySummaryGroup.serializeBinaryToWriter = function(
|
|
|
14428
13370
|
proto.gateway.web.v1.GitActivityMeasures.serializeBinaryToWriter
|
|
14429
13371
|
);
|
|
14430
13372
|
}
|
|
13373
|
+
f = message.getSourceSystem();
|
|
13374
|
+
if (f.length > 0) {
|
|
13375
|
+
writer.writeString(
|
|
13376
|
+
3,
|
|
13377
|
+
f
|
|
13378
|
+
);
|
|
13379
|
+
}
|
|
14431
13380
|
};
|
|
14432
13381
|
|
|
14433
13382
|
|
|
@@ -14486,6 +13435,24 @@ proto.gateway.web.v1.GitActivitySummaryGroup.prototype.hasMeasures = function()
|
|
|
14486
13435
|
};
|
|
14487
13436
|
|
|
14488
13437
|
|
|
13438
|
+
/**
|
|
13439
|
+
* optional string source_system = 3;
|
|
13440
|
+
* @return {string}
|
|
13441
|
+
*/
|
|
13442
|
+
proto.gateway.web.v1.GitActivitySummaryGroup.prototype.getSourceSystem = function() {
|
|
13443
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
13444
|
+
};
|
|
13445
|
+
|
|
13446
|
+
|
|
13447
|
+
/**
|
|
13448
|
+
* @param {string} value
|
|
13449
|
+
* @return {!proto.gateway.web.v1.GitActivitySummaryGroup} returns this
|
|
13450
|
+
*/
|
|
13451
|
+
proto.gateway.web.v1.GitActivitySummaryGroup.prototype.setSourceSystem = function(value) {
|
|
13452
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
13453
|
+
};
|
|
13454
|
+
|
|
13455
|
+
|
|
14489
13456
|
|
|
14490
13457
|
|
|
14491
13458
|
|
|
@@ -20537,7 +19504,7 @@ proto.gateway.web.v1.ProjectOverviewRequest.prototype.setTopSessions = function(
|
|
|
20537
19504
|
* @private {!Array<number>}
|
|
20538
19505
|
* @const
|
|
20539
19506
|
*/
|
|
20540
|
-
proto.gateway.web.v1.ProjectOverview.repeatedFields_ = [2,3,4,5];
|
|
19507
|
+
proto.gateway.web.v1.ProjectOverview.repeatedFields_ = [2,3,4,5,6];
|
|
20541
19508
|
|
|
20542
19509
|
|
|
20543
19510
|
|
|
@@ -20578,7 +19545,9 @@ byProviderList: jspb.Message.toObjectList(msg.getByProviderList(),
|
|
|
20578
19545
|
bySourceList: jspb.Message.toObjectList(msg.getBySourceList(),
|
|
20579
19546
|
proto.gateway.web.v1.ProjectOverviewSlice.toObject, includeInstance),
|
|
20580
19547
|
topSessionsList: jspb.Message.toObjectList(msg.getTopSessionsList(),
|
|
20581
|
-
proto.gateway.web.v1.ProjectSessionRef.toObject, includeInstance)
|
|
19548
|
+
proto.gateway.web.v1.ProjectSessionRef.toObject, includeInstance),
|
|
19549
|
+
byEffortList: jspb.Message.toObjectList(msg.getByEffortList(),
|
|
19550
|
+
proto.gateway.web.v1.ProjectOverviewSlice.toObject, includeInstance)
|
|
20582
19551
|
};
|
|
20583
19552
|
|
|
20584
19553
|
if (includeInstance) {
|
|
@@ -20640,6 +19609,11 @@ proto.gateway.web.v1.ProjectOverview.deserializeBinaryFromReader = function(msg,
|
|
|
20640
19609
|
reader.readMessage(value,proto.gateway.web.v1.ProjectSessionRef.deserializeBinaryFromReader);
|
|
20641
19610
|
msg.addTopSessions(value);
|
|
20642
19611
|
break;
|
|
19612
|
+
case 6:
|
|
19613
|
+
var value = new proto.gateway.web.v1.ProjectOverviewSlice;
|
|
19614
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader);
|
|
19615
|
+
msg.addByEffort(value);
|
|
19616
|
+
break;
|
|
20643
19617
|
default:
|
|
20644
19618
|
reader.skipField();
|
|
20645
19619
|
break;
|
|
@@ -20709,6 +19683,14 @@ proto.gateway.web.v1.ProjectOverview.serializeBinaryToWriter = function(message,
|
|
|
20709
19683
|
proto.gateway.web.v1.ProjectSessionRef.serializeBinaryToWriter
|
|
20710
19684
|
);
|
|
20711
19685
|
}
|
|
19686
|
+
f = message.getByEffortList();
|
|
19687
|
+
if (f.length > 0) {
|
|
19688
|
+
writer.writeRepeatedMessage(
|
|
19689
|
+
6,
|
|
19690
|
+
f,
|
|
19691
|
+
proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter
|
|
19692
|
+
);
|
|
19693
|
+
}
|
|
20712
19694
|
};
|
|
20713
19695
|
|
|
20714
19696
|
|
|
@@ -20901,6 +19883,44 @@ proto.gateway.web.v1.ProjectOverview.prototype.clearTopSessionsList = function()
|
|
|
20901
19883
|
};
|
|
20902
19884
|
|
|
20903
19885
|
|
|
19886
|
+
/**
|
|
19887
|
+
* repeated ProjectOverviewSlice by_effort = 6;
|
|
19888
|
+
* @return {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>}
|
|
19889
|
+
*/
|
|
19890
|
+
proto.gateway.web.v1.ProjectOverview.prototype.getByEffortList = function() {
|
|
19891
|
+
return /** @type{!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} */ (
|
|
19892
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectOverviewSlice, 6));
|
|
19893
|
+
};
|
|
19894
|
+
|
|
19895
|
+
|
|
19896
|
+
/**
|
|
19897
|
+
* @param {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} value
|
|
19898
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
19899
|
+
*/
|
|
19900
|
+
proto.gateway.web.v1.ProjectOverview.prototype.setByEffortList = function(value) {
|
|
19901
|
+
return jspb.Message.setRepeatedWrapperField(this, 6, value);
|
|
19902
|
+
};
|
|
19903
|
+
|
|
19904
|
+
|
|
19905
|
+
/**
|
|
19906
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewSlice=} opt_value
|
|
19907
|
+
* @param {number=} opt_index
|
|
19908
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice}
|
|
19909
|
+
*/
|
|
19910
|
+
proto.gateway.web.v1.ProjectOverview.prototype.addByEffort = function(opt_value, opt_index) {
|
|
19911
|
+
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.gateway.web.v1.ProjectOverviewSlice, opt_index);
|
|
19912
|
+
};
|
|
19913
|
+
|
|
19914
|
+
|
|
19915
|
+
/**
|
|
19916
|
+
* Clears the list making it empty but non-null.
|
|
19917
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
19918
|
+
*/
|
|
19919
|
+
proto.gateway.web.v1.ProjectOverview.prototype.clearByEffortList = function() {
|
|
19920
|
+
return this.setByEffortList([]);
|
|
19921
|
+
};
|
|
19922
|
+
|
|
19923
|
+
|
|
20904
19924
|
|
|
20905
19925
|
|
|
20906
19926
|
|
|
@@ -26309,7 +25329,8 @@ proto.gateway.web.v1.FileGroup.prototype.toObject = function(opt_includeInstance
|
|
|
26309
25329
|
proto.gateway.web.v1.FileGroup.toObject = function(includeInstance, msg) {
|
|
26310
25330
|
var f, obj = {
|
|
26311
25331
|
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
26312
|
-
tiers: (f = msg.getTiers()) && proto.gateway.web.v1.FileTiers.toObject(includeInstance, f)
|
|
25332
|
+
tiers: (f = msg.getTiers()) && proto.gateway.web.v1.FileTiers.toObject(includeInstance, f),
|
|
25333
|
+
sourceSystem: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
26313
25334
|
};
|
|
26314
25335
|
|
|
26315
25336
|
if (includeInstance) {
|
|
@@ -26355,6 +25376,10 @@ proto.gateway.web.v1.FileGroup.deserializeBinaryFromReader = function(msg, reade
|
|
|
26355
25376
|
reader.readMessage(value,proto.gateway.web.v1.FileTiers.deserializeBinaryFromReader);
|
|
26356
25377
|
msg.setTiers(value);
|
|
26357
25378
|
break;
|
|
25379
|
+
case 3:
|
|
25380
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
25381
|
+
msg.setSourceSystem(value);
|
|
25382
|
+
break;
|
|
26358
25383
|
default:
|
|
26359
25384
|
reader.skipField();
|
|
26360
25385
|
break;
|
|
@@ -26399,6 +25424,13 @@ proto.gateway.web.v1.FileGroup.serializeBinaryToWriter = function(message, write
|
|
|
26399
25424
|
proto.gateway.web.v1.FileTiers.serializeBinaryToWriter
|
|
26400
25425
|
);
|
|
26401
25426
|
}
|
|
25427
|
+
f = message.getSourceSystem();
|
|
25428
|
+
if (f.length > 0) {
|
|
25429
|
+
writer.writeString(
|
|
25430
|
+
3,
|
|
25431
|
+
f
|
|
25432
|
+
);
|
|
25433
|
+
}
|
|
26402
25434
|
};
|
|
26403
25435
|
|
|
26404
25436
|
|
|
@@ -26457,6 +25489,24 @@ proto.gateway.web.v1.FileGroup.prototype.hasTiers = function() {
|
|
|
26457
25489
|
};
|
|
26458
25490
|
|
|
26459
25491
|
|
|
25492
|
+
/**
|
|
25493
|
+
* optional string source_system = 3;
|
|
25494
|
+
* @return {string}
|
|
25495
|
+
*/
|
|
25496
|
+
proto.gateway.web.v1.FileGroup.prototype.getSourceSystem = function() {
|
|
25497
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
25498
|
+
};
|
|
25499
|
+
|
|
25500
|
+
|
|
25501
|
+
/**
|
|
25502
|
+
* @param {string} value
|
|
25503
|
+
* @return {!proto.gateway.web.v1.FileGroup} returns this
|
|
25504
|
+
*/
|
|
25505
|
+
proto.gateway.web.v1.FileGroup.prototype.setSourceSystem = function(value) {
|
|
25506
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
25507
|
+
};
|
|
25508
|
+
|
|
25509
|
+
|
|
26460
25510
|
|
|
26461
25511
|
|
|
26462
25512
|
|
|
@@ -29204,7 +28254,7 @@ proto.gateway.web.v1.EntitlementsSnapshot.prototype.hasAsOf = function() {
|
|
|
29204
28254
|
* @private {!Array<number>}
|
|
29205
28255
|
* @const
|
|
29206
28256
|
*/
|
|
29207
|
-
proto.gateway.web.v1.SeatEntitlement.repeatedFields_ = [6];
|
|
28257
|
+
proto.gateway.web.v1.SeatEntitlement.repeatedFields_ = [6,13];
|
|
29208
28258
|
|
|
29209
28259
|
|
|
29210
28260
|
|
|
@@ -29237,7 +28287,7 @@ proto.gateway.web.v1.SeatEntitlement.prototype.toObject = function(opt_includeIn
|
|
|
29237
28287
|
*/
|
|
29238
28288
|
proto.gateway.web.v1.SeatEntitlement.toObject = function(includeInstance, msg) {
|
|
29239
28289
|
var f, obj = {
|
|
29240
|
-
|
|
28290
|
+
billingParty: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
29241
28291
|
accountId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
29242
28292
|
principalId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
29243
28293
|
principalName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
@@ -29249,7 +28299,10 @@ creditsBalanceRaw: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
|
|
|
29249
28299
|
creditsUnlimited: (f = jspb.Message.getBooleanField(msg, 9)) == null ? undefined : f,
|
|
29250
28300
|
planType: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
29251
28301
|
seatTier: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
29252
|
-
evidenceSource: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
28302
|
+
evidenceSource: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
28303
|
+
sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
|
|
28304
|
+
principalSourceSystem: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
28305
|
+
accountUserId: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
29253
28306
|
};
|
|
29254
28307
|
|
|
29255
28308
|
if (includeInstance) {
|
|
@@ -29288,7 +28341,7 @@ proto.gateway.web.v1.SeatEntitlement.deserializeBinaryFromReader = function(msg,
|
|
|
29288
28341
|
switch (field) {
|
|
29289
28342
|
case 1:
|
|
29290
28343
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
29291
|
-
msg.
|
|
28344
|
+
msg.setBillingParty(value);
|
|
29292
28345
|
break;
|
|
29293
28346
|
case 2:
|
|
29294
28347
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
@@ -29336,6 +28389,18 @@ proto.gateway.web.v1.SeatEntitlement.deserializeBinaryFromReader = function(msg,
|
|
|
29336
28389
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
29337
28390
|
msg.setEvidenceSource(value);
|
|
29338
28391
|
break;
|
|
28392
|
+
case 13:
|
|
28393
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
28394
|
+
msg.addSourceSystems(value);
|
|
28395
|
+
break;
|
|
28396
|
+
case 14:
|
|
28397
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
28398
|
+
msg.setPrincipalSourceSystem(value);
|
|
28399
|
+
break;
|
|
28400
|
+
case 15:
|
|
28401
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
28402
|
+
msg.setAccountUserId(value);
|
|
28403
|
+
break;
|
|
29339
28404
|
default:
|
|
29340
28405
|
reader.skipField();
|
|
29341
28406
|
break;
|
|
@@ -29365,7 +28430,7 @@ proto.gateway.web.v1.SeatEntitlement.prototype.serializeBinary = function() {
|
|
|
29365
28430
|
*/
|
|
29366
28431
|
proto.gateway.web.v1.SeatEntitlement.serializeBinaryToWriter = function(message, writer) {
|
|
29367
28432
|
var f = undefined;
|
|
29368
|
-
f = message.
|
|
28433
|
+
f = message.getBillingParty();
|
|
29369
28434
|
if (f.length > 0) {
|
|
29370
28435
|
writer.writeString(
|
|
29371
28436
|
1,
|
|
@@ -29451,14 +28516,35 @@ proto.gateway.web.v1.SeatEntitlement.serializeBinaryToWriter = function(message,
|
|
|
29451
28516
|
f
|
|
29452
28517
|
);
|
|
29453
28518
|
}
|
|
28519
|
+
f = message.getSourceSystemsList();
|
|
28520
|
+
if (f.length > 0) {
|
|
28521
|
+
writer.writeRepeatedString(
|
|
28522
|
+
13,
|
|
28523
|
+
f
|
|
28524
|
+
);
|
|
28525
|
+
}
|
|
28526
|
+
f = message.getPrincipalSourceSystem();
|
|
28527
|
+
if (f.length > 0) {
|
|
28528
|
+
writer.writeString(
|
|
28529
|
+
14,
|
|
28530
|
+
f
|
|
28531
|
+
);
|
|
28532
|
+
}
|
|
28533
|
+
f = message.getAccountUserId();
|
|
28534
|
+
if (f.length > 0) {
|
|
28535
|
+
writer.writeString(
|
|
28536
|
+
15,
|
|
28537
|
+
f
|
|
28538
|
+
);
|
|
28539
|
+
}
|
|
29454
28540
|
};
|
|
29455
28541
|
|
|
29456
28542
|
|
|
29457
28543
|
/**
|
|
29458
|
-
* optional string
|
|
28544
|
+
* optional string billing_party = 1;
|
|
29459
28545
|
* @return {string}
|
|
29460
28546
|
*/
|
|
29461
|
-
proto.gateway.web.v1.SeatEntitlement.prototype.
|
|
28547
|
+
proto.gateway.web.v1.SeatEntitlement.prototype.getBillingParty = function() {
|
|
29462
28548
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
29463
28549
|
};
|
|
29464
28550
|
|
|
@@ -29467,7 +28553,7 @@ proto.gateway.web.v1.SeatEntitlement.prototype.getSourceSystem = function() {
|
|
|
29467
28553
|
* @param {string} value
|
|
29468
28554
|
* @return {!proto.gateway.web.v1.SeatEntitlement} returns this
|
|
29469
28555
|
*/
|
|
29470
|
-
proto.gateway.web.v1.SeatEntitlement.prototype.
|
|
28556
|
+
proto.gateway.web.v1.SeatEntitlement.prototype.setBillingParty = function(value) {
|
|
29471
28557
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
29472
28558
|
};
|
|
29473
28559
|
|
|
@@ -29745,6 +28831,79 @@ proto.gateway.web.v1.SeatEntitlement.prototype.setEvidenceSource = function(valu
|
|
|
29745
28831
|
};
|
|
29746
28832
|
|
|
29747
28833
|
|
|
28834
|
+
/**
|
|
28835
|
+
* repeated string source_systems = 13;
|
|
28836
|
+
* @return {!Array<string>}
|
|
28837
|
+
*/
|
|
28838
|
+
proto.gateway.web.v1.SeatEntitlement.prototype.getSourceSystemsList = function() {
|
|
28839
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
|
|
28840
|
+
};
|
|
28841
|
+
|
|
28842
|
+
|
|
28843
|
+
/**
|
|
28844
|
+
* @param {!Array<string>} value
|
|
28845
|
+
* @return {!proto.gateway.web.v1.SeatEntitlement} returns this
|
|
28846
|
+
*/
|
|
28847
|
+
proto.gateway.web.v1.SeatEntitlement.prototype.setSourceSystemsList = function(value) {
|
|
28848
|
+
return jspb.Message.setField(this, 13, value || []);
|
|
28849
|
+
};
|
|
28850
|
+
|
|
28851
|
+
|
|
28852
|
+
/**
|
|
28853
|
+
* @param {string} value
|
|
28854
|
+
* @param {number=} opt_index
|
|
28855
|
+
* @return {!proto.gateway.web.v1.SeatEntitlement} returns this
|
|
28856
|
+
*/
|
|
28857
|
+
proto.gateway.web.v1.SeatEntitlement.prototype.addSourceSystems = function(value, opt_index) {
|
|
28858
|
+
return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
|
|
28859
|
+
};
|
|
28860
|
+
|
|
28861
|
+
|
|
28862
|
+
/**
|
|
28863
|
+
* Clears the list making it empty but non-null.
|
|
28864
|
+
* @return {!proto.gateway.web.v1.SeatEntitlement} returns this
|
|
28865
|
+
*/
|
|
28866
|
+
proto.gateway.web.v1.SeatEntitlement.prototype.clearSourceSystemsList = function() {
|
|
28867
|
+
return this.setSourceSystemsList([]);
|
|
28868
|
+
};
|
|
28869
|
+
|
|
28870
|
+
|
|
28871
|
+
/**
|
|
28872
|
+
* optional string principal_source_system = 14;
|
|
28873
|
+
* @return {string}
|
|
28874
|
+
*/
|
|
28875
|
+
proto.gateway.web.v1.SeatEntitlement.prototype.getPrincipalSourceSystem = function() {
|
|
28876
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
28877
|
+
};
|
|
28878
|
+
|
|
28879
|
+
|
|
28880
|
+
/**
|
|
28881
|
+
* @param {string} value
|
|
28882
|
+
* @return {!proto.gateway.web.v1.SeatEntitlement} returns this
|
|
28883
|
+
*/
|
|
28884
|
+
proto.gateway.web.v1.SeatEntitlement.prototype.setPrincipalSourceSystem = function(value) {
|
|
28885
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
28886
|
+
};
|
|
28887
|
+
|
|
28888
|
+
|
|
28889
|
+
/**
|
|
28890
|
+
* optional string account_user_id = 15;
|
|
28891
|
+
* @return {string}
|
|
28892
|
+
*/
|
|
28893
|
+
proto.gateway.web.v1.SeatEntitlement.prototype.getAccountUserId = function() {
|
|
28894
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
28895
|
+
};
|
|
28896
|
+
|
|
28897
|
+
|
|
28898
|
+
/**
|
|
28899
|
+
* @param {string} value
|
|
28900
|
+
* @return {!proto.gateway.web.v1.SeatEntitlement} returns this
|
|
28901
|
+
*/
|
|
28902
|
+
proto.gateway.web.v1.SeatEntitlement.prototype.setAccountUserId = function(value) {
|
|
28903
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
28904
|
+
};
|
|
28905
|
+
|
|
28906
|
+
|
|
29748
28907
|
|
|
29749
28908
|
|
|
29750
28909
|
|
|
@@ -30081,15 +29240,6 @@ proto.gateway.web.v1.AISessionEventKind = {
|
|
|
30081
29240
|
AI_SESSION_EVENT_KIND_SUBAGENT_RUN: 11
|
|
30082
29241
|
};
|
|
30083
29242
|
|
|
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
29243
|
/**
|
|
30094
29244
|
* @enum {number}
|
|
30095
29245
|
*/
|
|
@@ -30135,7 +29285,8 @@ proto.gateway.web.v1.AITokenActivityDimension = {
|
|
|
30135
29285
|
AI_TOKEN_ACTIVITY_DIMENSION_PROVIDER: 2,
|
|
30136
29286
|
AI_TOKEN_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 3,
|
|
30137
29287
|
AI_TOKEN_ACTIVITY_DIMENSION_USER: 4,
|
|
30138
|
-
AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5
|
|
29288
|
+
AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5,
|
|
29289
|
+
AI_TOKEN_ACTIVITY_DIMENSION_EFFORT: 6
|
|
30139
29290
|
};
|
|
30140
29291
|
|
|
30141
29292
|
/**
|