@miradorlabs/web-grpc 2.58.0 → 2.59.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.
|
@@ -39,6 +39,7 @@ goog.exportSymbol('proto.gateway.web.v1.AIModelPrice', null, global);
|
|
|
39
39
|
goog.exportSymbol('proto.gateway.web.v1.AIModelPriceFilter', null, global);
|
|
40
40
|
goog.exportSymbol('proto.gateway.web.v1.AIPrincipal', null, global);
|
|
41
41
|
goog.exportSymbol('proto.gateway.web.v1.AIPrincipalKind', null, global);
|
|
42
|
+
goog.exportSymbol('proto.gateway.web.v1.AIResourceDimension', null, global);
|
|
42
43
|
goog.exportSymbol('proto.gateway.web.v1.AISessionEvent', null, global);
|
|
43
44
|
goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope', null, global);
|
|
44
45
|
goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope.FrameCase', null, global);
|
|
@@ -87,6 +88,9 @@ goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewRequest', null, global);
|
|
|
87
88
|
goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewSlice', null, global);
|
|
88
89
|
goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewTotals', null, global);
|
|
89
90
|
goog.exportSymbol('proto.gateway.web.v1.ProjectSessionRef', null, global);
|
|
91
|
+
goog.exportSymbol('proto.gateway.web.v1.ResourceRanking', null, global);
|
|
92
|
+
goog.exportSymbol('proto.gateway.web.v1.ResourceRankingsRequest', null, global);
|
|
93
|
+
goog.exportSymbol('proto.gateway.web.v1.ResourceRankingsResponse', null, global);
|
|
90
94
|
goog.exportSymbol('proto.gateway.web.v1.SessionFileChange', null, global);
|
|
91
95
|
goog.exportSymbol('proto.gateway.web.v1.SessionFileChanges', null, global);
|
|
92
96
|
goog.exportSymbol('proto.gateway.web.v1.SessionFileChangesRequest', null, global);
|
|
@@ -1306,6 +1310,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1306
1310
|
*/
|
|
1307
1311
|
proto.gateway.web.v1.ProjectSessionRef.displayName = 'proto.gateway.web.v1.ProjectSessionRef';
|
|
1308
1312
|
}
|
|
1313
|
+
/**
|
|
1314
|
+
* Generated by JsPbCodeGenerator.
|
|
1315
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1316
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1317
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1318
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1319
|
+
* valid.
|
|
1320
|
+
* @extends {jspb.Message}
|
|
1321
|
+
* @constructor
|
|
1322
|
+
*/
|
|
1323
|
+
proto.gateway.web.v1.ResourceRankingsRequest = function(opt_data) {
|
|
1324
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1325
|
+
};
|
|
1326
|
+
goog.inherits(proto.gateway.web.v1.ResourceRankingsRequest, jspb.Message);
|
|
1327
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1328
|
+
/**
|
|
1329
|
+
* @public
|
|
1330
|
+
* @override
|
|
1331
|
+
*/
|
|
1332
|
+
proto.gateway.web.v1.ResourceRankingsRequest.displayName = 'proto.gateway.web.v1.ResourceRankingsRequest';
|
|
1333
|
+
}
|
|
1334
|
+
/**
|
|
1335
|
+
* Generated by JsPbCodeGenerator.
|
|
1336
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1337
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1338
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1339
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1340
|
+
* valid.
|
|
1341
|
+
* @extends {jspb.Message}
|
|
1342
|
+
* @constructor
|
|
1343
|
+
*/
|
|
1344
|
+
proto.gateway.web.v1.ResourceRankingsResponse = function(opt_data) {
|
|
1345
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ResourceRankingsResponse.repeatedFields_, null);
|
|
1346
|
+
};
|
|
1347
|
+
goog.inherits(proto.gateway.web.v1.ResourceRankingsResponse, jspb.Message);
|
|
1348
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1349
|
+
/**
|
|
1350
|
+
* @public
|
|
1351
|
+
* @override
|
|
1352
|
+
*/
|
|
1353
|
+
proto.gateway.web.v1.ResourceRankingsResponse.displayName = 'proto.gateway.web.v1.ResourceRankingsResponse';
|
|
1354
|
+
}
|
|
1355
|
+
/**
|
|
1356
|
+
* Generated by JsPbCodeGenerator.
|
|
1357
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1358
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1359
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1360
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1361
|
+
* valid.
|
|
1362
|
+
* @extends {jspb.Message}
|
|
1363
|
+
* @constructor
|
|
1364
|
+
*/
|
|
1365
|
+
proto.gateway.web.v1.ResourceRanking = function(opt_data) {
|
|
1366
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1367
|
+
};
|
|
1368
|
+
goog.inherits(proto.gateway.web.v1.ResourceRanking, jspb.Message);
|
|
1369
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1370
|
+
/**
|
|
1371
|
+
* @public
|
|
1372
|
+
* @override
|
|
1373
|
+
*/
|
|
1374
|
+
proto.gateway.web.v1.ResourceRanking.displayName = 'proto.gateway.web.v1.ResourceRanking';
|
|
1375
|
+
}
|
|
1309
1376
|
/**
|
|
1310
1377
|
* Generated by JsPbCodeGenerator.
|
|
1311
1378
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -19681,13 +19748,6 @@ proto.gateway.web.v1.ProjectSessionRef.prototype.hasLastActivityAt = function()
|
|
|
19681
19748
|
|
|
19682
19749
|
|
|
19683
19750
|
|
|
19684
|
-
/**
|
|
19685
|
-
* List of repeated fields within this message type.
|
|
19686
|
-
* @private {!Array<number>}
|
|
19687
|
-
* @const
|
|
19688
|
-
*/
|
|
19689
|
-
proto.gateway.web.v1.AIFileFilter.repeatedFields_ = [1,2,3,4,5];
|
|
19690
|
-
|
|
19691
19751
|
|
|
19692
19752
|
|
|
19693
19753
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -19703,8 +19763,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
19703
19763
|
* http://goto/soy-param-migration
|
|
19704
19764
|
* @return {!Object}
|
|
19705
19765
|
*/
|
|
19706
|
-
proto.gateway.web.v1.
|
|
19707
|
-
return proto.gateway.web.v1.
|
|
19766
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
19767
|
+
return proto.gateway.web.v1.ResourceRankingsRequest.toObject(opt_includeInstance, this);
|
|
19708
19768
|
};
|
|
19709
19769
|
|
|
19710
19770
|
|
|
@@ -19713,21 +19773,18 @@ proto.gateway.web.v1.AIFileFilter.prototype.toObject = function(opt_includeInsta
|
|
|
19713
19773
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19714
19774
|
* the JSPB instance for transitional soy proto support:
|
|
19715
19775
|
* http://goto/soy-param-migration
|
|
19716
|
-
* @param {!proto.gateway.web.v1.
|
|
19776
|
+
* @param {!proto.gateway.web.v1.ResourceRankingsRequest} msg The msg instance to transform.
|
|
19717
19777
|
* @return {!Object}
|
|
19718
19778
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19719
19779
|
*/
|
|
19720
|
-
proto.gateway.web.v1.
|
|
19780
|
+
proto.gateway.web.v1.ResourceRankingsRequest.toObject = function(includeInstance, msg) {
|
|
19721
19781
|
var f, obj = {
|
|
19722
|
-
|
|
19723
|
-
|
|
19724
|
-
|
|
19725
|
-
|
|
19726
|
-
|
|
19727
|
-
|
|
19728
|
-
activeAfter: (f = msg.getActiveAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
19729
|
-
activeBefore: (f = msg.getActiveBefore()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
19730
|
-
abandonedHorizon: (f = msg.getAbandonedHorizon()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f)
|
|
19782
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19783
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
19784
|
+
filter: (f = msg.getFilter()) && proto.gateway.web.v1.AISessionFilter.toObject(includeInstance, f),
|
|
19785
|
+
dimension: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
19786
|
+
timeWindow: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
19787
|
+
topN: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
19731
19788
|
};
|
|
19732
19789
|
|
|
19733
19790
|
if (includeInstance) {
|
|
@@ -19741,23 +19798,23 @@ abandonedHorizon: (f = msg.getAbandonedHorizon()) && google_protobuf_duration_pb
|
|
|
19741
19798
|
/**
|
|
19742
19799
|
* Deserializes binary data (in protobuf wire format).
|
|
19743
19800
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
19744
|
-
* @return {!proto.gateway.web.v1.
|
|
19801
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest}
|
|
19745
19802
|
*/
|
|
19746
|
-
proto.gateway.web.v1.
|
|
19803
|
+
proto.gateway.web.v1.ResourceRankingsRequest.deserializeBinary = function(bytes) {
|
|
19747
19804
|
var reader = new jspb.BinaryReader(bytes);
|
|
19748
|
-
var msg = new proto.gateway.web.v1.
|
|
19749
|
-
return proto.gateway.web.v1.
|
|
19805
|
+
var msg = new proto.gateway.web.v1.ResourceRankingsRequest;
|
|
19806
|
+
return proto.gateway.web.v1.ResourceRankingsRequest.deserializeBinaryFromReader(msg, reader);
|
|
19750
19807
|
};
|
|
19751
19808
|
|
|
19752
19809
|
|
|
19753
19810
|
/**
|
|
19754
19811
|
* Deserializes binary data (in protobuf wire format) from the
|
|
19755
19812
|
* given reader into the given message object.
|
|
19756
|
-
* @param {!proto.gateway.web.v1.
|
|
19813
|
+
* @param {!proto.gateway.web.v1.ResourceRankingsRequest} msg The message object to deserialize into.
|
|
19757
19814
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19758
|
-
* @return {!proto.gateway.web.v1.
|
|
19815
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest}
|
|
19759
19816
|
*/
|
|
19760
|
-
proto.gateway.web.v1.
|
|
19817
|
+
proto.gateway.web.v1.ResourceRankingsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
19761
19818
|
while (reader.nextField()) {
|
|
19762
19819
|
if (reader.isEndGroup()) {
|
|
19763
19820
|
break;
|
|
@@ -19766,41 +19823,28 @@ proto.gateway.web.v1.AIFileFilter.deserializeBinaryFromReader = function(msg, re
|
|
|
19766
19823
|
switch (field) {
|
|
19767
19824
|
case 1:
|
|
19768
19825
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
19769
|
-
msg.
|
|
19826
|
+
msg.setOrganizationId(value);
|
|
19770
19827
|
break;
|
|
19771
19828
|
case 2:
|
|
19772
19829
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
19773
|
-
msg.
|
|
19830
|
+
msg.setProjectId(value);
|
|
19774
19831
|
break;
|
|
19775
19832
|
case 3:
|
|
19776
|
-
|
|
19833
|
+
var value = new proto.gateway.web.v1.AISessionFilter;
|
|
19834
|
+
reader.readMessage(value,proto.gateway.web.v1.AISessionFilter.deserializeBinaryFromReader);
|
|
19835
|
+
msg.setFilter(value);
|
|
19777
19836
|
break;
|
|
19778
19837
|
case 4:
|
|
19779
|
-
|
|
19838
|
+
var value = /** @type {!proto.gateway.web.v1.AIResourceDimension} */ (reader.readEnum());
|
|
19839
|
+
msg.setDimension(value);
|
|
19780
19840
|
break;
|
|
19781
19841
|
case 5:
|
|
19782
|
-
var value = /** @type {
|
|
19783
|
-
msg.
|
|
19842
|
+
var value = /** @type {!proto.gateway.web.v1.AnalyticsTimeWindow} */ (reader.readEnum());
|
|
19843
|
+
msg.setTimeWindow(value);
|
|
19784
19844
|
break;
|
|
19785
19845
|
case 6:
|
|
19786
|
-
var value =
|
|
19787
|
-
|
|
19788
|
-
msg.setMinAge(value);
|
|
19789
|
-
break;
|
|
19790
|
-
case 7:
|
|
19791
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
19792
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
19793
|
-
msg.setActiveAfter(value);
|
|
19794
|
-
break;
|
|
19795
|
-
case 8:
|
|
19796
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
19797
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
19798
|
-
msg.setActiveBefore(value);
|
|
19799
|
-
break;
|
|
19800
|
-
case 9:
|
|
19801
|
-
var value = new google_protobuf_duration_pb.Duration;
|
|
19802
|
-
reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
|
|
19803
|
-
msg.setAbandonedHorizon(value);
|
|
19846
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
19847
|
+
msg.setTopN(value);
|
|
19804
19848
|
break;
|
|
19805
19849
|
default:
|
|
19806
19850
|
reader.skipField();
|
|
@@ -19815,9 +19859,9 @@ proto.gateway.web.v1.AIFileFilter.deserializeBinaryFromReader = function(msg, re
|
|
|
19815
19859
|
* Serializes the message to binary data (in protobuf wire format).
|
|
19816
19860
|
* @return {!Uint8Array}
|
|
19817
19861
|
*/
|
|
19818
|
-
proto.gateway.web.v1.
|
|
19862
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.serializeBinary = function() {
|
|
19819
19863
|
var writer = new jspb.BinaryWriter();
|
|
19820
|
-
proto.gateway.web.v1.
|
|
19864
|
+
proto.gateway.web.v1.ResourceRankingsRequest.serializeBinaryToWriter(this, writer);
|
|
19821
19865
|
return writer.getResultBuffer();
|
|
19822
19866
|
};
|
|
19823
19867
|
|
|
@@ -19825,190 +19869,1128 @@ proto.gateway.web.v1.AIFileFilter.prototype.serializeBinary = function() {
|
|
|
19825
19869
|
/**
|
|
19826
19870
|
* Serializes the given message to binary data (in protobuf wire
|
|
19827
19871
|
* format), writing to the given BinaryWriter.
|
|
19828
|
-
* @param {!proto.gateway.web.v1.
|
|
19872
|
+
* @param {!proto.gateway.web.v1.ResourceRankingsRequest} message
|
|
19829
19873
|
* @param {!jspb.BinaryWriter} writer
|
|
19830
19874
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19831
19875
|
*/
|
|
19832
|
-
proto.gateway.web.v1.
|
|
19876
|
+
proto.gateway.web.v1.ResourceRankingsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
19833
19877
|
var f = undefined;
|
|
19834
|
-
f = message.
|
|
19878
|
+
f = message.getOrganizationId();
|
|
19835
19879
|
if (f.length > 0) {
|
|
19836
|
-
writer.
|
|
19880
|
+
writer.writeString(
|
|
19837
19881
|
1,
|
|
19838
19882
|
f
|
|
19839
19883
|
);
|
|
19840
19884
|
}
|
|
19841
|
-
f = message.
|
|
19885
|
+
f = message.getProjectId();
|
|
19842
19886
|
if (f.length > 0) {
|
|
19843
|
-
writer.
|
|
19887
|
+
writer.writeString(
|
|
19844
19888
|
2,
|
|
19845
19889
|
f
|
|
19846
19890
|
);
|
|
19847
19891
|
}
|
|
19848
|
-
f = message.
|
|
19849
|
-
if (f
|
|
19850
|
-
writer.
|
|
19892
|
+
f = message.getFilter();
|
|
19893
|
+
if (f != null) {
|
|
19894
|
+
writer.writeMessage(
|
|
19851
19895
|
3,
|
|
19852
|
-
f
|
|
19896
|
+
f,
|
|
19897
|
+
proto.gateway.web.v1.AISessionFilter.serializeBinaryToWriter
|
|
19853
19898
|
);
|
|
19854
19899
|
}
|
|
19855
|
-
f = message.
|
|
19856
|
-
if (f
|
|
19857
|
-
writer.
|
|
19900
|
+
f = message.getDimension();
|
|
19901
|
+
if (f !== 0.0) {
|
|
19902
|
+
writer.writeEnum(
|
|
19858
19903
|
4,
|
|
19859
19904
|
f
|
|
19860
19905
|
);
|
|
19861
19906
|
}
|
|
19862
|
-
f = message.
|
|
19863
|
-
if (f
|
|
19864
|
-
writer.
|
|
19907
|
+
f = message.getTimeWindow();
|
|
19908
|
+
if (f !== 0.0) {
|
|
19909
|
+
writer.writeEnum(
|
|
19865
19910
|
5,
|
|
19866
19911
|
f
|
|
19867
19912
|
);
|
|
19868
19913
|
}
|
|
19869
|
-
f = message.
|
|
19870
|
-
if (f
|
|
19871
|
-
writer.
|
|
19914
|
+
f = message.getTopN();
|
|
19915
|
+
if (f !== 0) {
|
|
19916
|
+
writer.writeInt32(
|
|
19872
19917
|
6,
|
|
19873
|
-
f
|
|
19874
|
-
google_protobuf_duration_pb.Duration.serializeBinaryToWriter
|
|
19875
|
-
);
|
|
19876
|
-
}
|
|
19877
|
-
f = message.getActiveAfter();
|
|
19878
|
-
if (f != null) {
|
|
19879
|
-
writer.writeMessage(
|
|
19880
|
-
7,
|
|
19881
|
-
f,
|
|
19882
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
19883
|
-
);
|
|
19884
|
-
}
|
|
19885
|
-
f = message.getActiveBefore();
|
|
19886
|
-
if (f != null) {
|
|
19887
|
-
writer.writeMessage(
|
|
19888
|
-
8,
|
|
19889
|
-
f,
|
|
19890
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
19891
|
-
);
|
|
19892
|
-
}
|
|
19893
|
-
f = message.getAbandonedHorizon();
|
|
19894
|
-
if (f != null) {
|
|
19895
|
-
writer.writeMessage(
|
|
19896
|
-
9,
|
|
19897
|
-
f,
|
|
19898
|
-
google_protobuf_duration_pb.Duration.serializeBinaryToWriter
|
|
19918
|
+
f
|
|
19899
19919
|
);
|
|
19900
19920
|
}
|
|
19901
19921
|
};
|
|
19902
19922
|
|
|
19903
19923
|
|
|
19904
19924
|
/**
|
|
19905
|
-
*
|
|
19906
|
-
* @return {
|
|
19925
|
+
* optional string organization_id = 1;
|
|
19926
|
+
* @return {string}
|
|
19907
19927
|
*/
|
|
19908
|
-
proto.gateway.web.v1.
|
|
19909
|
-
return /** @type {
|
|
19928
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getOrganizationId = function() {
|
|
19929
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
19910
19930
|
};
|
|
19911
19931
|
|
|
19912
19932
|
|
|
19913
19933
|
/**
|
|
19914
|
-
* @param {
|
|
19915
|
-
* @return {!proto.gateway.web.v1.
|
|
19934
|
+
* @param {string} value
|
|
19935
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
19916
19936
|
*/
|
|
19917
|
-
proto.gateway.web.v1.
|
|
19918
|
-
return jspb.Message.
|
|
19937
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.setOrganizationId = function(value) {
|
|
19938
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
19919
19939
|
};
|
|
19920
19940
|
|
|
19921
19941
|
|
|
19922
19942
|
/**
|
|
19923
|
-
*
|
|
19924
|
-
* @
|
|
19925
|
-
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
19943
|
+
* optional string project_id = 2;
|
|
19944
|
+
* @return {string}
|
|
19926
19945
|
*/
|
|
19927
|
-
proto.gateway.web.v1.
|
|
19928
|
-
return jspb.Message.
|
|
19946
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getProjectId = function() {
|
|
19947
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
19929
19948
|
};
|
|
19930
19949
|
|
|
19931
19950
|
|
|
19932
19951
|
/**
|
|
19933
|
-
*
|
|
19934
|
-
* @return {!proto.gateway.web.v1.
|
|
19952
|
+
* @param {string} value
|
|
19953
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
19935
19954
|
*/
|
|
19936
|
-
proto.gateway.web.v1.
|
|
19937
|
-
return
|
|
19955
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.setProjectId = function(value) {
|
|
19956
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
19938
19957
|
};
|
|
19939
19958
|
|
|
19940
19959
|
|
|
19941
19960
|
/**
|
|
19942
|
-
*
|
|
19943
|
-
* @return {
|
|
19961
|
+
* optional AISessionFilter filter = 3;
|
|
19962
|
+
* @return {?proto.gateway.web.v1.AISessionFilter}
|
|
19944
19963
|
*/
|
|
19945
|
-
proto.gateway.web.v1.
|
|
19946
|
-
return /** @type
|
|
19964
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getFilter = function() {
|
|
19965
|
+
return /** @type{?proto.gateway.web.v1.AISessionFilter} */ (
|
|
19966
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionFilter, 3));
|
|
19947
19967
|
};
|
|
19948
19968
|
|
|
19949
19969
|
|
|
19950
19970
|
/**
|
|
19951
|
-
* @param {
|
|
19952
|
-
* @return {!proto.gateway.web.v1.
|
|
19953
|
-
|
|
19954
|
-
proto.gateway.web.v1.
|
|
19955
|
-
return jspb.Message.
|
|
19971
|
+
* @param {?proto.gateway.web.v1.AISessionFilter|undefined} value
|
|
19972
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
19973
|
+
*/
|
|
19974
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.setFilter = function(value) {
|
|
19975
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
19956
19976
|
};
|
|
19957
19977
|
|
|
19958
19978
|
|
|
19959
19979
|
/**
|
|
19960
|
-
*
|
|
19961
|
-
* @
|
|
19962
|
-
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
19980
|
+
* Clears the message field making it undefined.
|
|
19981
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
19963
19982
|
*/
|
|
19964
|
-
proto.gateway.web.v1.
|
|
19965
|
-
return
|
|
19983
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.clearFilter = function() {
|
|
19984
|
+
return this.setFilter(undefined);
|
|
19966
19985
|
};
|
|
19967
19986
|
|
|
19968
19987
|
|
|
19969
19988
|
/**
|
|
19970
|
-
*
|
|
19971
|
-
* @return {
|
|
19989
|
+
* Returns whether this field is set.
|
|
19990
|
+
* @return {boolean}
|
|
19972
19991
|
*/
|
|
19973
|
-
proto.gateway.web.v1.
|
|
19974
|
-
return
|
|
19992
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.hasFilter = function() {
|
|
19993
|
+
return jspb.Message.getField(this, 3) != null;
|
|
19975
19994
|
};
|
|
19976
19995
|
|
|
19977
19996
|
|
|
19978
19997
|
/**
|
|
19979
|
-
*
|
|
19980
|
-
* @return {!
|
|
19998
|
+
* optional AIResourceDimension dimension = 4;
|
|
19999
|
+
* @return {!proto.gateway.web.v1.AIResourceDimension}
|
|
19981
20000
|
*/
|
|
19982
|
-
proto.gateway.web.v1.
|
|
19983
|
-
return /** @type {!
|
|
20001
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getDimension = function() {
|
|
20002
|
+
return /** @type {!proto.gateway.web.v1.AIResourceDimension} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
19984
20003
|
};
|
|
19985
20004
|
|
|
19986
20005
|
|
|
19987
20006
|
/**
|
|
19988
|
-
* @param {!
|
|
19989
|
-
* @return {!proto.gateway.web.v1.
|
|
20007
|
+
* @param {!proto.gateway.web.v1.AIResourceDimension} value
|
|
20008
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
19990
20009
|
*/
|
|
19991
|
-
proto.gateway.web.v1.
|
|
19992
|
-
return jspb.Message.
|
|
20010
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.setDimension = function(value) {
|
|
20011
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
19993
20012
|
};
|
|
19994
20013
|
|
|
19995
20014
|
|
|
19996
20015
|
/**
|
|
19997
|
-
*
|
|
19998
|
-
* @
|
|
19999
|
-
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
20016
|
+
* optional AnalyticsTimeWindow time_window = 5;
|
|
20017
|
+
* @return {!proto.gateway.web.v1.AnalyticsTimeWindow}
|
|
20000
20018
|
*/
|
|
20001
|
-
proto.gateway.web.v1.
|
|
20002
|
-
return jspb.Message.
|
|
20019
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getTimeWindow = function() {
|
|
20020
|
+
return /** @type {!proto.gateway.web.v1.AnalyticsTimeWindow} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
20003
20021
|
};
|
|
20004
20022
|
|
|
20005
20023
|
|
|
20006
20024
|
/**
|
|
20007
|
-
*
|
|
20008
|
-
* @return {!proto.gateway.web.v1.
|
|
20025
|
+
* @param {!proto.gateway.web.v1.AnalyticsTimeWindow} value
|
|
20026
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
20009
20027
|
*/
|
|
20010
|
-
proto.gateway.web.v1.
|
|
20011
|
-
return
|
|
20028
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.setTimeWindow = function(value) {
|
|
20029
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
20030
|
+
};
|
|
20031
|
+
|
|
20032
|
+
|
|
20033
|
+
/**
|
|
20034
|
+
* optional int32 top_n = 6;
|
|
20035
|
+
* @return {number}
|
|
20036
|
+
*/
|
|
20037
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getTopN = function() {
|
|
20038
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
20039
|
+
};
|
|
20040
|
+
|
|
20041
|
+
|
|
20042
|
+
/**
|
|
20043
|
+
* @param {number} value
|
|
20044
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
20045
|
+
*/
|
|
20046
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.setTopN = function(value) {
|
|
20047
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
20048
|
+
};
|
|
20049
|
+
|
|
20050
|
+
|
|
20051
|
+
|
|
20052
|
+
/**
|
|
20053
|
+
* List of repeated fields within this message type.
|
|
20054
|
+
* @private {!Array<number>}
|
|
20055
|
+
* @const
|
|
20056
|
+
*/
|
|
20057
|
+
proto.gateway.web.v1.ResourceRankingsResponse.repeatedFields_ = [2];
|
|
20058
|
+
|
|
20059
|
+
|
|
20060
|
+
|
|
20061
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20062
|
+
/**
|
|
20063
|
+
* Creates an object representation of this proto.
|
|
20064
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
20065
|
+
* Optional fields that are not set will be set to undefined.
|
|
20066
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20067
|
+
* For the list of reserved names please see:
|
|
20068
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
20069
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
20070
|
+
* JSPB instance for transitional soy proto support:
|
|
20071
|
+
* http://goto/soy-param-migration
|
|
20072
|
+
* @return {!Object}
|
|
20073
|
+
*/
|
|
20074
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
20075
|
+
return proto.gateway.web.v1.ResourceRankingsResponse.toObject(opt_includeInstance, this);
|
|
20076
|
+
};
|
|
20077
|
+
|
|
20078
|
+
|
|
20079
|
+
/**
|
|
20080
|
+
* Static version of the {@see toObject} method.
|
|
20081
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20082
|
+
* the JSPB instance for transitional soy proto support:
|
|
20083
|
+
* http://goto/soy-param-migration
|
|
20084
|
+
* @param {!proto.gateway.web.v1.ResourceRankingsResponse} msg The msg instance to transform.
|
|
20085
|
+
* @return {!Object}
|
|
20086
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20087
|
+
*/
|
|
20088
|
+
proto.gateway.web.v1.ResourceRankingsResponse.toObject = function(includeInstance, msg) {
|
|
20089
|
+
var f, obj = {
|
|
20090
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
20091
|
+
rankingsList: jspb.Message.toObjectList(msg.getRankingsList(),
|
|
20092
|
+
proto.gateway.web.v1.ResourceRanking.toObject, includeInstance),
|
|
20093
|
+
dimension: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
20094
|
+
windowStart: (f = msg.getWindowStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
20095
|
+
windowEnd: (f = msg.getWindowEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
20096
|
+
asOf: (f = msg.getAsOf()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
20097
|
+
};
|
|
20098
|
+
|
|
20099
|
+
if (includeInstance) {
|
|
20100
|
+
obj.$jspbMessageInstance = msg;
|
|
20101
|
+
}
|
|
20102
|
+
return obj;
|
|
20103
|
+
};
|
|
20104
|
+
}
|
|
20105
|
+
|
|
20106
|
+
|
|
20107
|
+
/**
|
|
20108
|
+
* Deserializes binary data (in protobuf wire format).
|
|
20109
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
20110
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse}
|
|
20111
|
+
*/
|
|
20112
|
+
proto.gateway.web.v1.ResourceRankingsResponse.deserializeBinary = function(bytes) {
|
|
20113
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
20114
|
+
var msg = new proto.gateway.web.v1.ResourceRankingsResponse;
|
|
20115
|
+
return proto.gateway.web.v1.ResourceRankingsResponse.deserializeBinaryFromReader(msg, reader);
|
|
20116
|
+
};
|
|
20117
|
+
|
|
20118
|
+
|
|
20119
|
+
/**
|
|
20120
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
20121
|
+
* given reader into the given message object.
|
|
20122
|
+
* @param {!proto.gateway.web.v1.ResourceRankingsResponse} msg The message object to deserialize into.
|
|
20123
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20124
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse}
|
|
20125
|
+
*/
|
|
20126
|
+
proto.gateway.web.v1.ResourceRankingsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
20127
|
+
while (reader.nextField()) {
|
|
20128
|
+
if (reader.isEndGroup()) {
|
|
20129
|
+
break;
|
|
20130
|
+
}
|
|
20131
|
+
var field = reader.getFieldNumber();
|
|
20132
|
+
switch (field) {
|
|
20133
|
+
case 1:
|
|
20134
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
20135
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
20136
|
+
msg.setStatus(value);
|
|
20137
|
+
break;
|
|
20138
|
+
case 2:
|
|
20139
|
+
var value = new proto.gateway.web.v1.ResourceRanking;
|
|
20140
|
+
reader.readMessage(value,proto.gateway.web.v1.ResourceRanking.deserializeBinaryFromReader);
|
|
20141
|
+
msg.addRankings(value);
|
|
20142
|
+
break;
|
|
20143
|
+
case 3:
|
|
20144
|
+
var value = /** @type {!proto.gateway.web.v1.AIResourceDimension} */ (reader.readEnum());
|
|
20145
|
+
msg.setDimension(value);
|
|
20146
|
+
break;
|
|
20147
|
+
case 4:
|
|
20148
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
20149
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
20150
|
+
msg.setWindowStart(value);
|
|
20151
|
+
break;
|
|
20152
|
+
case 5:
|
|
20153
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
20154
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
20155
|
+
msg.setWindowEnd(value);
|
|
20156
|
+
break;
|
|
20157
|
+
case 6:
|
|
20158
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
20159
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
20160
|
+
msg.setAsOf(value);
|
|
20161
|
+
break;
|
|
20162
|
+
default:
|
|
20163
|
+
reader.skipField();
|
|
20164
|
+
break;
|
|
20165
|
+
}
|
|
20166
|
+
}
|
|
20167
|
+
return msg;
|
|
20168
|
+
};
|
|
20169
|
+
|
|
20170
|
+
|
|
20171
|
+
/**
|
|
20172
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
20173
|
+
* @return {!Uint8Array}
|
|
20174
|
+
*/
|
|
20175
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.serializeBinary = function() {
|
|
20176
|
+
var writer = new jspb.BinaryWriter();
|
|
20177
|
+
proto.gateway.web.v1.ResourceRankingsResponse.serializeBinaryToWriter(this, writer);
|
|
20178
|
+
return writer.getResultBuffer();
|
|
20179
|
+
};
|
|
20180
|
+
|
|
20181
|
+
|
|
20182
|
+
/**
|
|
20183
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
20184
|
+
* format), writing to the given BinaryWriter.
|
|
20185
|
+
* @param {!proto.gateway.web.v1.ResourceRankingsResponse} message
|
|
20186
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20187
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20188
|
+
*/
|
|
20189
|
+
proto.gateway.web.v1.ResourceRankingsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
20190
|
+
var f = undefined;
|
|
20191
|
+
f = message.getStatus();
|
|
20192
|
+
if (f != null) {
|
|
20193
|
+
writer.writeMessage(
|
|
20194
|
+
1,
|
|
20195
|
+
f,
|
|
20196
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
20197
|
+
);
|
|
20198
|
+
}
|
|
20199
|
+
f = message.getRankingsList();
|
|
20200
|
+
if (f.length > 0) {
|
|
20201
|
+
writer.writeRepeatedMessage(
|
|
20202
|
+
2,
|
|
20203
|
+
f,
|
|
20204
|
+
proto.gateway.web.v1.ResourceRanking.serializeBinaryToWriter
|
|
20205
|
+
);
|
|
20206
|
+
}
|
|
20207
|
+
f = message.getDimension();
|
|
20208
|
+
if (f !== 0.0) {
|
|
20209
|
+
writer.writeEnum(
|
|
20210
|
+
3,
|
|
20211
|
+
f
|
|
20212
|
+
);
|
|
20213
|
+
}
|
|
20214
|
+
f = message.getWindowStart();
|
|
20215
|
+
if (f != null) {
|
|
20216
|
+
writer.writeMessage(
|
|
20217
|
+
4,
|
|
20218
|
+
f,
|
|
20219
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
20220
|
+
);
|
|
20221
|
+
}
|
|
20222
|
+
f = message.getWindowEnd();
|
|
20223
|
+
if (f != null) {
|
|
20224
|
+
writer.writeMessage(
|
|
20225
|
+
5,
|
|
20226
|
+
f,
|
|
20227
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
20228
|
+
);
|
|
20229
|
+
}
|
|
20230
|
+
f = message.getAsOf();
|
|
20231
|
+
if (f != null) {
|
|
20232
|
+
writer.writeMessage(
|
|
20233
|
+
6,
|
|
20234
|
+
f,
|
|
20235
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
20236
|
+
);
|
|
20237
|
+
}
|
|
20238
|
+
};
|
|
20239
|
+
|
|
20240
|
+
|
|
20241
|
+
/**
|
|
20242
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
20243
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
20244
|
+
*/
|
|
20245
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.getStatus = function() {
|
|
20246
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
20247
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
20248
|
+
};
|
|
20249
|
+
|
|
20250
|
+
|
|
20251
|
+
/**
|
|
20252
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
20253
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20254
|
+
*/
|
|
20255
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.setStatus = function(value) {
|
|
20256
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
20257
|
+
};
|
|
20258
|
+
|
|
20259
|
+
|
|
20260
|
+
/**
|
|
20261
|
+
* Clears the message field making it undefined.
|
|
20262
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20263
|
+
*/
|
|
20264
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.clearStatus = function() {
|
|
20265
|
+
return this.setStatus(undefined);
|
|
20266
|
+
};
|
|
20267
|
+
|
|
20268
|
+
|
|
20269
|
+
/**
|
|
20270
|
+
* Returns whether this field is set.
|
|
20271
|
+
* @return {boolean}
|
|
20272
|
+
*/
|
|
20273
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.hasStatus = function() {
|
|
20274
|
+
return jspb.Message.getField(this, 1) != null;
|
|
20275
|
+
};
|
|
20276
|
+
|
|
20277
|
+
|
|
20278
|
+
/**
|
|
20279
|
+
* repeated ResourceRanking rankings = 2;
|
|
20280
|
+
* @return {!Array<!proto.gateway.web.v1.ResourceRanking>}
|
|
20281
|
+
*/
|
|
20282
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.getRankingsList = function() {
|
|
20283
|
+
return /** @type{!Array<!proto.gateway.web.v1.ResourceRanking>} */ (
|
|
20284
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ResourceRanking, 2));
|
|
20285
|
+
};
|
|
20286
|
+
|
|
20287
|
+
|
|
20288
|
+
/**
|
|
20289
|
+
* @param {!Array<!proto.gateway.web.v1.ResourceRanking>} value
|
|
20290
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20291
|
+
*/
|
|
20292
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.setRankingsList = function(value) {
|
|
20293
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
20294
|
+
};
|
|
20295
|
+
|
|
20296
|
+
|
|
20297
|
+
/**
|
|
20298
|
+
* @param {!proto.gateway.web.v1.ResourceRanking=} opt_value
|
|
20299
|
+
* @param {number=} opt_index
|
|
20300
|
+
* @return {!proto.gateway.web.v1.ResourceRanking}
|
|
20301
|
+
*/
|
|
20302
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.addRankings = function(opt_value, opt_index) {
|
|
20303
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.ResourceRanking, opt_index);
|
|
20304
|
+
};
|
|
20305
|
+
|
|
20306
|
+
|
|
20307
|
+
/**
|
|
20308
|
+
* Clears the list making it empty but non-null.
|
|
20309
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20310
|
+
*/
|
|
20311
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.clearRankingsList = function() {
|
|
20312
|
+
return this.setRankingsList([]);
|
|
20313
|
+
};
|
|
20314
|
+
|
|
20315
|
+
|
|
20316
|
+
/**
|
|
20317
|
+
* optional AIResourceDimension dimension = 3;
|
|
20318
|
+
* @return {!proto.gateway.web.v1.AIResourceDimension}
|
|
20319
|
+
*/
|
|
20320
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.getDimension = function() {
|
|
20321
|
+
return /** @type {!proto.gateway.web.v1.AIResourceDimension} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
20322
|
+
};
|
|
20323
|
+
|
|
20324
|
+
|
|
20325
|
+
/**
|
|
20326
|
+
* @param {!proto.gateway.web.v1.AIResourceDimension} value
|
|
20327
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20328
|
+
*/
|
|
20329
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.setDimension = function(value) {
|
|
20330
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
20331
|
+
};
|
|
20332
|
+
|
|
20333
|
+
|
|
20334
|
+
/**
|
|
20335
|
+
* optional google.protobuf.Timestamp window_start = 4;
|
|
20336
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
20337
|
+
*/
|
|
20338
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.getWindowStart = function() {
|
|
20339
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
20340
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
20341
|
+
};
|
|
20342
|
+
|
|
20343
|
+
|
|
20344
|
+
/**
|
|
20345
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
20346
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20347
|
+
*/
|
|
20348
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.setWindowStart = function(value) {
|
|
20349
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
20350
|
+
};
|
|
20351
|
+
|
|
20352
|
+
|
|
20353
|
+
/**
|
|
20354
|
+
* Clears the message field making it undefined.
|
|
20355
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20356
|
+
*/
|
|
20357
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.clearWindowStart = function() {
|
|
20358
|
+
return this.setWindowStart(undefined);
|
|
20359
|
+
};
|
|
20360
|
+
|
|
20361
|
+
|
|
20362
|
+
/**
|
|
20363
|
+
* Returns whether this field is set.
|
|
20364
|
+
* @return {boolean}
|
|
20365
|
+
*/
|
|
20366
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.hasWindowStart = function() {
|
|
20367
|
+
return jspb.Message.getField(this, 4) != null;
|
|
20368
|
+
};
|
|
20369
|
+
|
|
20370
|
+
|
|
20371
|
+
/**
|
|
20372
|
+
* optional google.protobuf.Timestamp window_end = 5;
|
|
20373
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
20374
|
+
*/
|
|
20375
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.getWindowEnd = function() {
|
|
20376
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
20377
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
20378
|
+
};
|
|
20379
|
+
|
|
20380
|
+
|
|
20381
|
+
/**
|
|
20382
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
20383
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20384
|
+
*/
|
|
20385
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.setWindowEnd = function(value) {
|
|
20386
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
20387
|
+
};
|
|
20388
|
+
|
|
20389
|
+
|
|
20390
|
+
/**
|
|
20391
|
+
* Clears the message field making it undefined.
|
|
20392
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20393
|
+
*/
|
|
20394
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.clearWindowEnd = function() {
|
|
20395
|
+
return this.setWindowEnd(undefined);
|
|
20396
|
+
};
|
|
20397
|
+
|
|
20398
|
+
|
|
20399
|
+
/**
|
|
20400
|
+
* Returns whether this field is set.
|
|
20401
|
+
* @return {boolean}
|
|
20402
|
+
*/
|
|
20403
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.hasWindowEnd = function() {
|
|
20404
|
+
return jspb.Message.getField(this, 5) != null;
|
|
20405
|
+
};
|
|
20406
|
+
|
|
20407
|
+
|
|
20408
|
+
/**
|
|
20409
|
+
* optional google.protobuf.Timestamp as_of = 6;
|
|
20410
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
20411
|
+
*/
|
|
20412
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.getAsOf = function() {
|
|
20413
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
20414
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
20415
|
+
};
|
|
20416
|
+
|
|
20417
|
+
|
|
20418
|
+
/**
|
|
20419
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
20420
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20421
|
+
*/
|
|
20422
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.setAsOf = function(value) {
|
|
20423
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
20424
|
+
};
|
|
20425
|
+
|
|
20426
|
+
|
|
20427
|
+
/**
|
|
20428
|
+
* Clears the message field making it undefined.
|
|
20429
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
20430
|
+
*/
|
|
20431
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.clearAsOf = function() {
|
|
20432
|
+
return this.setAsOf(undefined);
|
|
20433
|
+
};
|
|
20434
|
+
|
|
20435
|
+
|
|
20436
|
+
/**
|
|
20437
|
+
* Returns whether this field is set.
|
|
20438
|
+
* @return {boolean}
|
|
20439
|
+
*/
|
|
20440
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.hasAsOf = function() {
|
|
20441
|
+
return jspb.Message.getField(this, 6) != null;
|
|
20442
|
+
};
|
|
20443
|
+
|
|
20444
|
+
|
|
20445
|
+
|
|
20446
|
+
|
|
20447
|
+
|
|
20448
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20449
|
+
/**
|
|
20450
|
+
* Creates an object representation of this proto.
|
|
20451
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
20452
|
+
* Optional fields that are not set will be set to undefined.
|
|
20453
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20454
|
+
* For the list of reserved names please see:
|
|
20455
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
20456
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
20457
|
+
* JSPB instance for transitional soy proto support:
|
|
20458
|
+
* http://goto/soy-param-migration
|
|
20459
|
+
* @return {!Object}
|
|
20460
|
+
*/
|
|
20461
|
+
proto.gateway.web.v1.ResourceRanking.prototype.toObject = function(opt_includeInstance) {
|
|
20462
|
+
return proto.gateway.web.v1.ResourceRanking.toObject(opt_includeInstance, this);
|
|
20463
|
+
};
|
|
20464
|
+
|
|
20465
|
+
|
|
20466
|
+
/**
|
|
20467
|
+
* Static version of the {@see toObject} method.
|
|
20468
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20469
|
+
* the JSPB instance for transitional soy proto support:
|
|
20470
|
+
* http://goto/soy-param-migration
|
|
20471
|
+
* @param {!proto.gateway.web.v1.ResourceRanking} msg The msg instance to transform.
|
|
20472
|
+
* @return {!Object}
|
|
20473
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20474
|
+
*/
|
|
20475
|
+
proto.gateway.web.v1.ResourceRanking.toObject = function(includeInstance, msg) {
|
|
20476
|
+
var f, obj = {
|
|
20477
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
20478
|
+
count: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
20479
|
+
priorCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
20480
|
+
sessionCount: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
20481
|
+
};
|
|
20482
|
+
|
|
20483
|
+
if (includeInstance) {
|
|
20484
|
+
obj.$jspbMessageInstance = msg;
|
|
20485
|
+
}
|
|
20486
|
+
return obj;
|
|
20487
|
+
};
|
|
20488
|
+
}
|
|
20489
|
+
|
|
20490
|
+
|
|
20491
|
+
/**
|
|
20492
|
+
* Deserializes binary data (in protobuf wire format).
|
|
20493
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
20494
|
+
* @return {!proto.gateway.web.v1.ResourceRanking}
|
|
20495
|
+
*/
|
|
20496
|
+
proto.gateway.web.v1.ResourceRanking.deserializeBinary = function(bytes) {
|
|
20497
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
20498
|
+
var msg = new proto.gateway.web.v1.ResourceRanking;
|
|
20499
|
+
return proto.gateway.web.v1.ResourceRanking.deserializeBinaryFromReader(msg, reader);
|
|
20500
|
+
};
|
|
20501
|
+
|
|
20502
|
+
|
|
20503
|
+
/**
|
|
20504
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
20505
|
+
* given reader into the given message object.
|
|
20506
|
+
* @param {!proto.gateway.web.v1.ResourceRanking} msg The message object to deserialize into.
|
|
20507
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20508
|
+
* @return {!proto.gateway.web.v1.ResourceRanking}
|
|
20509
|
+
*/
|
|
20510
|
+
proto.gateway.web.v1.ResourceRanking.deserializeBinaryFromReader = function(msg, reader) {
|
|
20511
|
+
while (reader.nextField()) {
|
|
20512
|
+
if (reader.isEndGroup()) {
|
|
20513
|
+
break;
|
|
20514
|
+
}
|
|
20515
|
+
var field = reader.getFieldNumber();
|
|
20516
|
+
switch (field) {
|
|
20517
|
+
case 1:
|
|
20518
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
20519
|
+
msg.setKey(value);
|
|
20520
|
+
break;
|
|
20521
|
+
case 2:
|
|
20522
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
20523
|
+
msg.setCount(value);
|
|
20524
|
+
break;
|
|
20525
|
+
case 3:
|
|
20526
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
20527
|
+
msg.setPriorCount(value);
|
|
20528
|
+
break;
|
|
20529
|
+
case 4:
|
|
20530
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
20531
|
+
msg.setSessionCount(value);
|
|
20532
|
+
break;
|
|
20533
|
+
default:
|
|
20534
|
+
reader.skipField();
|
|
20535
|
+
break;
|
|
20536
|
+
}
|
|
20537
|
+
}
|
|
20538
|
+
return msg;
|
|
20539
|
+
};
|
|
20540
|
+
|
|
20541
|
+
|
|
20542
|
+
/**
|
|
20543
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
20544
|
+
* @return {!Uint8Array}
|
|
20545
|
+
*/
|
|
20546
|
+
proto.gateway.web.v1.ResourceRanking.prototype.serializeBinary = function() {
|
|
20547
|
+
var writer = new jspb.BinaryWriter();
|
|
20548
|
+
proto.gateway.web.v1.ResourceRanking.serializeBinaryToWriter(this, writer);
|
|
20549
|
+
return writer.getResultBuffer();
|
|
20550
|
+
};
|
|
20551
|
+
|
|
20552
|
+
|
|
20553
|
+
/**
|
|
20554
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
20555
|
+
* format), writing to the given BinaryWriter.
|
|
20556
|
+
* @param {!proto.gateway.web.v1.ResourceRanking} message
|
|
20557
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20558
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20559
|
+
*/
|
|
20560
|
+
proto.gateway.web.v1.ResourceRanking.serializeBinaryToWriter = function(message, writer) {
|
|
20561
|
+
var f = undefined;
|
|
20562
|
+
f = message.getKey();
|
|
20563
|
+
if (f.length > 0) {
|
|
20564
|
+
writer.writeString(
|
|
20565
|
+
1,
|
|
20566
|
+
f
|
|
20567
|
+
);
|
|
20568
|
+
}
|
|
20569
|
+
f = message.getCount();
|
|
20570
|
+
if (f !== 0) {
|
|
20571
|
+
writer.writeUint64(
|
|
20572
|
+
2,
|
|
20573
|
+
f
|
|
20574
|
+
);
|
|
20575
|
+
}
|
|
20576
|
+
f = message.getPriorCount();
|
|
20577
|
+
if (f !== 0) {
|
|
20578
|
+
writer.writeUint64(
|
|
20579
|
+
3,
|
|
20580
|
+
f
|
|
20581
|
+
);
|
|
20582
|
+
}
|
|
20583
|
+
f = message.getSessionCount();
|
|
20584
|
+
if (f !== 0) {
|
|
20585
|
+
writer.writeUint64(
|
|
20586
|
+
4,
|
|
20587
|
+
f
|
|
20588
|
+
);
|
|
20589
|
+
}
|
|
20590
|
+
};
|
|
20591
|
+
|
|
20592
|
+
|
|
20593
|
+
/**
|
|
20594
|
+
* optional string key = 1;
|
|
20595
|
+
* @return {string}
|
|
20596
|
+
*/
|
|
20597
|
+
proto.gateway.web.v1.ResourceRanking.prototype.getKey = function() {
|
|
20598
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
20599
|
+
};
|
|
20600
|
+
|
|
20601
|
+
|
|
20602
|
+
/**
|
|
20603
|
+
* @param {string} value
|
|
20604
|
+
* @return {!proto.gateway.web.v1.ResourceRanking} returns this
|
|
20605
|
+
*/
|
|
20606
|
+
proto.gateway.web.v1.ResourceRanking.prototype.setKey = function(value) {
|
|
20607
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
20608
|
+
};
|
|
20609
|
+
|
|
20610
|
+
|
|
20611
|
+
/**
|
|
20612
|
+
* optional uint64 count = 2;
|
|
20613
|
+
* @return {number}
|
|
20614
|
+
*/
|
|
20615
|
+
proto.gateway.web.v1.ResourceRanking.prototype.getCount = function() {
|
|
20616
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
20617
|
+
};
|
|
20618
|
+
|
|
20619
|
+
|
|
20620
|
+
/**
|
|
20621
|
+
* @param {number} value
|
|
20622
|
+
* @return {!proto.gateway.web.v1.ResourceRanking} returns this
|
|
20623
|
+
*/
|
|
20624
|
+
proto.gateway.web.v1.ResourceRanking.prototype.setCount = function(value) {
|
|
20625
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
20626
|
+
};
|
|
20627
|
+
|
|
20628
|
+
|
|
20629
|
+
/**
|
|
20630
|
+
* optional uint64 prior_count = 3;
|
|
20631
|
+
* @return {number}
|
|
20632
|
+
*/
|
|
20633
|
+
proto.gateway.web.v1.ResourceRanking.prototype.getPriorCount = function() {
|
|
20634
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
20635
|
+
};
|
|
20636
|
+
|
|
20637
|
+
|
|
20638
|
+
/**
|
|
20639
|
+
* @param {number} value
|
|
20640
|
+
* @return {!proto.gateway.web.v1.ResourceRanking} returns this
|
|
20641
|
+
*/
|
|
20642
|
+
proto.gateway.web.v1.ResourceRanking.prototype.setPriorCount = function(value) {
|
|
20643
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
20644
|
+
};
|
|
20645
|
+
|
|
20646
|
+
|
|
20647
|
+
/**
|
|
20648
|
+
* optional uint64 session_count = 4;
|
|
20649
|
+
* @return {number}
|
|
20650
|
+
*/
|
|
20651
|
+
proto.gateway.web.v1.ResourceRanking.prototype.getSessionCount = function() {
|
|
20652
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
20653
|
+
};
|
|
20654
|
+
|
|
20655
|
+
|
|
20656
|
+
/**
|
|
20657
|
+
* @param {number} value
|
|
20658
|
+
* @return {!proto.gateway.web.v1.ResourceRanking} returns this
|
|
20659
|
+
*/
|
|
20660
|
+
proto.gateway.web.v1.ResourceRanking.prototype.setSessionCount = function(value) {
|
|
20661
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
20662
|
+
};
|
|
20663
|
+
|
|
20664
|
+
|
|
20665
|
+
|
|
20666
|
+
/**
|
|
20667
|
+
* List of repeated fields within this message type.
|
|
20668
|
+
* @private {!Array<number>}
|
|
20669
|
+
* @const
|
|
20670
|
+
*/
|
|
20671
|
+
proto.gateway.web.v1.AIFileFilter.repeatedFields_ = [1,2,3,4,5];
|
|
20672
|
+
|
|
20673
|
+
|
|
20674
|
+
|
|
20675
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20676
|
+
/**
|
|
20677
|
+
* Creates an object representation of this proto.
|
|
20678
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
20679
|
+
* Optional fields that are not set will be set to undefined.
|
|
20680
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20681
|
+
* For the list of reserved names please see:
|
|
20682
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
20683
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
20684
|
+
* JSPB instance for transitional soy proto support:
|
|
20685
|
+
* http://goto/soy-param-migration
|
|
20686
|
+
* @return {!Object}
|
|
20687
|
+
*/
|
|
20688
|
+
proto.gateway.web.v1.AIFileFilter.prototype.toObject = function(opt_includeInstance) {
|
|
20689
|
+
return proto.gateway.web.v1.AIFileFilter.toObject(opt_includeInstance, this);
|
|
20690
|
+
};
|
|
20691
|
+
|
|
20692
|
+
|
|
20693
|
+
/**
|
|
20694
|
+
* Static version of the {@see toObject} method.
|
|
20695
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20696
|
+
* the JSPB instance for transitional soy proto support:
|
|
20697
|
+
* http://goto/soy-param-migration
|
|
20698
|
+
* @param {!proto.gateway.web.v1.AIFileFilter} msg The msg instance to transform.
|
|
20699
|
+
* @return {!Object}
|
|
20700
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20701
|
+
*/
|
|
20702
|
+
proto.gateway.web.v1.AIFileFilter.toObject = function(includeInstance, msg) {
|
|
20703
|
+
var f, obj = {
|
|
20704
|
+
repositoryKeyList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
20705
|
+
refList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
20706
|
+
stateList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
20707
|
+
tierList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
20708
|
+
sessionIdList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
20709
|
+
minAge: (f = msg.getMinAge()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f),
|
|
20710
|
+
activeAfter: (f = msg.getActiveAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
20711
|
+
activeBefore: (f = msg.getActiveBefore()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
20712
|
+
abandonedHorizon: (f = msg.getAbandonedHorizon()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f)
|
|
20713
|
+
};
|
|
20714
|
+
|
|
20715
|
+
if (includeInstance) {
|
|
20716
|
+
obj.$jspbMessageInstance = msg;
|
|
20717
|
+
}
|
|
20718
|
+
return obj;
|
|
20719
|
+
};
|
|
20720
|
+
}
|
|
20721
|
+
|
|
20722
|
+
|
|
20723
|
+
/**
|
|
20724
|
+
* Deserializes binary data (in protobuf wire format).
|
|
20725
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
20726
|
+
* @return {!proto.gateway.web.v1.AIFileFilter}
|
|
20727
|
+
*/
|
|
20728
|
+
proto.gateway.web.v1.AIFileFilter.deserializeBinary = function(bytes) {
|
|
20729
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
20730
|
+
var msg = new proto.gateway.web.v1.AIFileFilter;
|
|
20731
|
+
return proto.gateway.web.v1.AIFileFilter.deserializeBinaryFromReader(msg, reader);
|
|
20732
|
+
};
|
|
20733
|
+
|
|
20734
|
+
|
|
20735
|
+
/**
|
|
20736
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
20737
|
+
* given reader into the given message object.
|
|
20738
|
+
* @param {!proto.gateway.web.v1.AIFileFilter} msg The message object to deserialize into.
|
|
20739
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20740
|
+
* @return {!proto.gateway.web.v1.AIFileFilter}
|
|
20741
|
+
*/
|
|
20742
|
+
proto.gateway.web.v1.AIFileFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
20743
|
+
while (reader.nextField()) {
|
|
20744
|
+
if (reader.isEndGroup()) {
|
|
20745
|
+
break;
|
|
20746
|
+
}
|
|
20747
|
+
var field = reader.getFieldNumber();
|
|
20748
|
+
switch (field) {
|
|
20749
|
+
case 1:
|
|
20750
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
20751
|
+
msg.addRepositoryKey(value);
|
|
20752
|
+
break;
|
|
20753
|
+
case 2:
|
|
20754
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
20755
|
+
msg.addRef(value);
|
|
20756
|
+
break;
|
|
20757
|
+
case 3:
|
|
20758
|
+
reader.readPackableEnumInto(msg.getStateList());
|
|
20759
|
+
break;
|
|
20760
|
+
case 4:
|
|
20761
|
+
reader.readPackableEnumInto(msg.getTierList());
|
|
20762
|
+
break;
|
|
20763
|
+
case 5:
|
|
20764
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
20765
|
+
msg.addSessionId(value);
|
|
20766
|
+
break;
|
|
20767
|
+
case 6:
|
|
20768
|
+
var value = new google_protobuf_duration_pb.Duration;
|
|
20769
|
+
reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
|
|
20770
|
+
msg.setMinAge(value);
|
|
20771
|
+
break;
|
|
20772
|
+
case 7:
|
|
20773
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
20774
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
20775
|
+
msg.setActiveAfter(value);
|
|
20776
|
+
break;
|
|
20777
|
+
case 8:
|
|
20778
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
20779
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
20780
|
+
msg.setActiveBefore(value);
|
|
20781
|
+
break;
|
|
20782
|
+
case 9:
|
|
20783
|
+
var value = new google_protobuf_duration_pb.Duration;
|
|
20784
|
+
reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
|
|
20785
|
+
msg.setAbandonedHorizon(value);
|
|
20786
|
+
break;
|
|
20787
|
+
default:
|
|
20788
|
+
reader.skipField();
|
|
20789
|
+
break;
|
|
20790
|
+
}
|
|
20791
|
+
}
|
|
20792
|
+
return msg;
|
|
20793
|
+
};
|
|
20794
|
+
|
|
20795
|
+
|
|
20796
|
+
/**
|
|
20797
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
20798
|
+
* @return {!Uint8Array}
|
|
20799
|
+
*/
|
|
20800
|
+
proto.gateway.web.v1.AIFileFilter.prototype.serializeBinary = function() {
|
|
20801
|
+
var writer = new jspb.BinaryWriter();
|
|
20802
|
+
proto.gateway.web.v1.AIFileFilter.serializeBinaryToWriter(this, writer);
|
|
20803
|
+
return writer.getResultBuffer();
|
|
20804
|
+
};
|
|
20805
|
+
|
|
20806
|
+
|
|
20807
|
+
/**
|
|
20808
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
20809
|
+
* format), writing to the given BinaryWriter.
|
|
20810
|
+
* @param {!proto.gateway.web.v1.AIFileFilter} message
|
|
20811
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20812
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20813
|
+
*/
|
|
20814
|
+
proto.gateway.web.v1.AIFileFilter.serializeBinaryToWriter = function(message, writer) {
|
|
20815
|
+
var f = undefined;
|
|
20816
|
+
f = message.getRepositoryKeyList();
|
|
20817
|
+
if (f.length > 0) {
|
|
20818
|
+
writer.writeRepeatedString(
|
|
20819
|
+
1,
|
|
20820
|
+
f
|
|
20821
|
+
);
|
|
20822
|
+
}
|
|
20823
|
+
f = message.getRefList();
|
|
20824
|
+
if (f.length > 0) {
|
|
20825
|
+
writer.writeRepeatedString(
|
|
20826
|
+
2,
|
|
20827
|
+
f
|
|
20828
|
+
);
|
|
20829
|
+
}
|
|
20830
|
+
f = message.getStateList();
|
|
20831
|
+
if (f.length > 0) {
|
|
20832
|
+
writer.writePackedEnum(
|
|
20833
|
+
3,
|
|
20834
|
+
f
|
|
20835
|
+
);
|
|
20836
|
+
}
|
|
20837
|
+
f = message.getTierList();
|
|
20838
|
+
if (f.length > 0) {
|
|
20839
|
+
writer.writePackedEnum(
|
|
20840
|
+
4,
|
|
20841
|
+
f
|
|
20842
|
+
);
|
|
20843
|
+
}
|
|
20844
|
+
f = message.getSessionIdList();
|
|
20845
|
+
if (f.length > 0) {
|
|
20846
|
+
writer.writeRepeatedString(
|
|
20847
|
+
5,
|
|
20848
|
+
f
|
|
20849
|
+
);
|
|
20850
|
+
}
|
|
20851
|
+
f = message.getMinAge();
|
|
20852
|
+
if (f != null) {
|
|
20853
|
+
writer.writeMessage(
|
|
20854
|
+
6,
|
|
20855
|
+
f,
|
|
20856
|
+
google_protobuf_duration_pb.Duration.serializeBinaryToWriter
|
|
20857
|
+
);
|
|
20858
|
+
}
|
|
20859
|
+
f = message.getActiveAfter();
|
|
20860
|
+
if (f != null) {
|
|
20861
|
+
writer.writeMessage(
|
|
20862
|
+
7,
|
|
20863
|
+
f,
|
|
20864
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
20865
|
+
);
|
|
20866
|
+
}
|
|
20867
|
+
f = message.getActiveBefore();
|
|
20868
|
+
if (f != null) {
|
|
20869
|
+
writer.writeMessage(
|
|
20870
|
+
8,
|
|
20871
|
+
f,
|
|
20872
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
20873
|
+
);
|
|
20874
|
+
}
|
|
20875
|
+
f = message.getAbandonedHorizon();
|
|
20876
|
+
if (f != null) {
|
|
20877
|
+
writer.writeMessage(
|
|
20878
|
+
9,
|
|
20879
|
+
f,
|
|
20880
|
+
google_protobuf_duration_pb.Duration.serializeBinaryToWriter
|
|
20881
|
+
);
|
|
20882
|
+
}
|
|
20883
|
+
};
|
|
20884
|
+
|
|
20885
|
+
|
|
20886
|
+
/**
|
|
20887
|
+
* repeated string repository_key = 1;
|
|
20888
|
+
* @return {!Array<string>}
|
|
20889
|
+
*/
|
|
20890
|
+
proto.gateway.web.v1.AIFileFilter.prototype.getRepositoryKeyList = function() {
|
|
20891
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
20892
|
+
};
|
|
20893
|
+
|
|
20894
|
+
|
|
20895
|
+
/**
|
|
20896
|
+
* @param {!Array<string>} value
|
|
20897
|
+
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
20898
|
+
*/
|
|
20899
|
+
proto.gateway.web.v1.AIFileFilter.prototype.setRepositoryKeyList = function(value) {
|
|
20900
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
20901
|
+
};
|
|
20902
|
+
|
|
20903
|
+
|
|
20904
|
+
/**
|
|
20905
|
+
* @param {string} value
|
|
20906
|
+
* @param {number=} opt_index
|
|
20907
|
+
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
20908
|
+
*/
|
|
20909
|
+
proto.gateway.web.v1.AIFileFilter.prototype.addRepositoryKey = function(value, opt_index) {
|
|
20910
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
20911
|
+
};
|
|
20912
|
+
|
|
20913
|
+
|
|
20914
|
+
/**
|
|
20915
|
+
* Clears the list making it empty but non-null.
|
|
20916
|
+
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
20917
|
+
*/
|
|
20918
|
+
proto.gateway.web.v1.AIFileFilter.prototype.clearRepositoryKeyList = function() {
|
|
20919
|
+
return this.setRepositoryKeyList([]);
|
|
20920
|
+
};
|
|
20921
|
+
|
|
20922
|
+
|
|
20923
|
+
/**
|
|
20924
|
+
* repeated string ref = 2;
|
|
20925
|
+
* @return {!Array<string>}
|
|
20926
|
+
*/
|
|
20927
|
+
proto.gateway.web.v1.AIFileFilter.prototype.getRefList = function() {
|
|
20928
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
20929
|
+
};
|
|
20930
|
+
|
|
20931
|
+
|
|
20932
|
+
/**
|
|
20933
|
+
* @param {!Array<string>} value
|
|
20934
|
+
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
20935
|
+
*/
|
|
20936
|
+
proto.gateway.web.v1.AIFileFilter.prototype.setRefList = function(value) {
|
|
20937
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
20938
|
+
};
|
|
20939
|
+
|
|
20940
|
+
|
|
20941
|
+
/**
|
|
20942
|
+
* @param {string} value
|
|
20943
|
+
* @param {number=} opt_index
|
|
20944
|
+
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
20945
|
+
*/
|
|
20946
|
+
proto.gateway.web.v1.AIFileFilter.prototype.addRef = function(value, opt_index) {
|
|
20947
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
20948
|
+
};
|
|
20949
|
+
|
|
20950
|
+
|
|
20951
|
+
/**
|
|
20952
|
+
* Clears the list making it empty but non-null.
|
|
20953
|
+
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
20954
|
+
*/
|
|
20955
|
+
proto.gateway.web.v1.AIFileFilter.prototype.clearRefList = function() {
|
|
20956
|
+
return this.setRefList([]);
|
|
20957
|
+
};
|
|
20958
|
+
|
|
20959
|
+
|
|
20960
|
+
/**
|
|
20961
|
+
* repeated AIFileLifecycle state = 3;
|
|
20962
|
+
* @return {!Array<!proto.gateway.web.v1.AIFileLifecycle>}
|
|
20963
|
+
*/
|
|
20964
|
+
proto.gateway.web.v1.AIFileFilter.prototype.getStateList = function() {
|
|
20965
|
+
return /** @type {!Array<!proto.gateway.web.v1.AIFileLifecycle>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
20966
|
+
};
|
|
20967
|
+
|
|
20968
|
+
|
|
20969
|
+
/**
|
|
20970
|
+
* @param {!Array<!proto.gateway.web.v1.AIFileLifecycle>} value
|
|
20971
|
+
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
20972
|
+
*/
|
|
20973
|
+
proto.gateway.web.v1.AIFileFilter.prototype.setStateList = function(value) {
|
|
20974
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
20975
|
+
};
|
|
20976
|
+
|
|
20977
|
+
|
|
20978
|
+
/**
|
|
20979
|
+
* @param {!proto.gateway.web.v1.AIFileLifecycle} value
|
|
20980
|
+
* @param {number=} opt_index
|
|
20981
|
+
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
20982
|
+
*/
|
|
20983
|
+
proto.gateway.web.v1.AIFileFilter.prototype.addState = function(value, opt_index) {
|
|
20984
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
20985
|
+
};
|
|
20986
|
+
|
|
20987
|
+
|
|
20988
|
+
/**
|
|
20989
|
+
* Clears the list making it empty but non-null.
|
|
20990
|
+
* @return {!proto.gateway.web.v1.AIFileFilter} returns this
|
|
20991
|
+
*/
|
|
20992
|
+
proto.gateway.web.v1.AIFileFilter.prototype.clearStateList = function() {
|
|
20993
|
+
return this.setStateList([]);
|
|
20012
20994
|
};
|
|
20013
20995
|
|
|
20014
20996
|
|
|
@@ -25143,6 +26125,18 @@ proto.gateway.web.v1.AITokenActivityDimension = {
|
|
|
25143
26125
|
AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5
|
|
25144
26126
|
};
|
|
25145
26127
|
|
|
26128
|
+
/**
|
|
26129
|
+
* @enum {number}
|
|
26130
|
+
*/
|
|
26131
|
+
proto.gateway.web.v1.AIResourceDimension = {
|
|
26132
|
+
AI_RESOURCE_DIMENSION_UNSPECIFIED: 0,
|
|
26133
|
+
AI_RESOURCE_DIMENSION_SKILL: 1,
|
|
26134
|
+
AI_RESOURCE_DIMENSION_TOOL: 2,
|
|
26135
|
+
AI_RESOURCE_DIMENSION_FILE: 3,
|
|
26136
|
+
AI_RESOURCE_DIMENSION_URL: 4,
|
|
26137
|
+
AI_RESOURCE_DIMENSION_COMMAND: 5
|
|
26138
|
+
};
|
|
26139
|
+
|
|
25146
26140
|
/**
|
|
25147
26141
|
* @enum {number}
|
|
25148
26142
|
*/
|