@miradorlabs/web-grpc 2.57.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);
|
|
@@ -47,6 +48,9 @@ goog.exportSymbol('proto.gateway.web.v1.AISessionFilter', null, global);
|
|
|
47
48
|
goog.exportSymbol('proto.gateway.web.v1.AISessionSummary', null, global);
|
|
48
49
|
goog.exportSymbol('proto.gateway.web.v1.AITokenActivityDimension', null, global);
|
|
49
50
|
goog.exportSymbol('proto.gateway.web.v1.AITokenUsage', null, global);
|
|
51
|
+
goog.exportSymbol('proto.gateway.web.v1.ActivityRhythm', null, global);
|
|
52
|
+
goog.exportSymbol('proto.gateway.web.v1.ActivityRhythmBucket', null, global);
|
|
53
|
+
goog.exportSymbol('proto.gateway.web.v1.ActivityRhythmRequest', null, global);
|
|
50
54
|
goog.exportSymbol('proto.gateway.web.v1.DailyActivity', null, global);
|
|
51
55
|
goog.exportSymbol('proto.gateway.web.v1.DailyActivityDay', null, global);
|
|
52
56
|
goog.exportSymbol('proto.gateway.web.v1.DailyActivityMeasures', null, global);
|
|
@@ -84,6 +88,9 @@ goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewRequest', null, global);
|
|
|
84
88
|
goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewSlice', null, global);
|
|
85
89
|
goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewTotals', null, global);
|
|
86
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);
|
|
87
94
|
goog.exportSymbol('proto.gateway.web.v1.SessionFileChange', null, global);
|
|
88
95
|
goog.exportSymbol('proto.gateway.web.v1.SessionFileChanges', null, global);
|
|
89
96
|
goog.exportSymbol('proto.gateway.web.v1.SessionFileChangesRequest', null, global);
|
|
@@ -1135,6 +1142,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1135
1142
|
*/
|
|
1136
1143
|
proto.gateway.web.v1.DailyActivityMeasures.displayName = 'proto.gateway.web.v1.DailyActivityMeasures';
|
|
1137
1144
|
}
|
|
1145
|
+
/**
|
|
1146
|
+
* Generated by JsPbCodeGenerator.
|
|
1147
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1148
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1149
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1150
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1151
|
+
* valid.
|
|
1152
|
+
* @extends {jspb.Message}
|
|
1153
|
+
* @constructor
|
|
1154
|
+
*/
|
|
1155
|
+
proto.gateway.web.v1.ActivityRhythmRequest = function(opt_data) {
|
|
1156
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1157
|
+
};
|
|
1158
|
+
goog.inherits(proto.gateway.web.v1.ActivityRhythmRequest, jspb.Message);
|
|
1159
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1160
|
+
/**
|
|
1161
|
+
* @public
|
|
1162
|
+
* @override
|
|
1163
|
+
*/
|
|
1164
|
+
proto.gateway.web.v1.ActivityRhythmRequest.displayName = 'proto.gateway.web.v1.ActivityRhythmRequest';
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* Generated by JsPbCodeGenerator.
|
|
1168
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1169
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1170
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1171
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1172
|
+
* valid.
|
|
1173
|
+
* @extends {jspb.Message}
|
|
1174
|
+
* @constructor
|
|
1175
|
+
*/
|
|
1176
|
+
proto.gateway.web.v1.ActivityRhythm = function(opt_data) {
|
|
1177
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ActivityRhythm.repeatedFields_, null);
|
|
1178
|
+
};
|
|
1179
|
+
goog.inherits(proto.gateway.web.v1.ActivityRhythm, jspb.Message);
|
|
1180
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1181
|
+
/**
|
|
1182
|
+
* @public
|
|
1183
|
+
* @override
|
|
1184
|
+
*/
|
|
1185
|
+
proto.gateway.web.v1.ActivityRhythm.displayName = 'proto.gateway.web.v1.ActivityRhythm';
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* Generated by JsPbCodeGenerator.
|
|
1189
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1190
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1191
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1192
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1193
|
+
* valid.
|
|
1194
|
+
* @extends {jspb.Message}
|
|
1195
|
+
* @constructor
|
|
1196
|
+
*/
|
|
1197
|
+
proto.gateway.web.v1.ActivityRhythmBucket = function(opt_data) {
|
|
1198
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1199
|
+
};
|
|
1200
|
+
goog.inherits(proto.gateway.web.v1.ActivityRhythmBucket, jspb.Message);
|
|
1201
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1202
|
+
/**
|
|
1203
|
+
* @public
|
|
1204
|
+
* @override
|
|
1205
|
+
*/
|
|
1206
|
+
proto.gateway.web.v1.ActivityRhythmBucket.displayName = 'proto.gateway.web.v1.ActivityRhythmBucket';
|
|
1207
|
+
}
|
|
1138
1208
|
/**
|
|
1139
1209
|
* Generated by JsPbCodeGenerator.
|
|
1140
1210
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1240,6 +1310,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1240
1310
|
*/
|
|
1241
1311
|
proto.gateway.web.v1.ProjectSessionRef.displayName = 'proto.gateway.web.v1.ProjectSessionRef';
|
|
1242
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
|
+
}
|
|
1243
1376
|
/**
|
|
1244
1377
|
* Generated by JsPbCodeGenerator.
|
|
1245
1378
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -16943,8 +17076,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
16943
17076
|
* http://goto/soy-param-migration
|
|
16944
17077
|
* @return {!Object}
|
|
16945
17078
|
*/
|
|
16946
|
-
proto.gateway.web.v1.
|
|
16947
|
-
return proto.gateway.web.v1.
|
|
17079
|
+
proto.gateway.web.v1.ActivityRhythmRequest.prototype.toObject = function(opt_includeInstance) {
|
|
17080
|
+
return proto.gateway.web.v1.ActivityRhythmRequest.toObject(opt_includeInstance, this);
|
|
16948
17081
|
};
|
|
16949
17082
|
|
|
16950
17083
|
|
|
@@ -16953,16 +17086,16 @@ proto.gateway.web.v1.ProjectOverviewRequest.prototype.toObject = function(opt_in
|
|
|
16953
17086
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16954
17087
|
* the JSPB instance for transitional soy proto support:
|
|
16955
17088
|
* http://goto/soy-param-migration
|
|
16956
|
-
* @param {!proto.gateway.web.v1.
|
|
17089
|
+
* @param {!proto.gateway.web.v1.ActivityRhythmRequest} msg The msg instance to transform.
|
|
16957
17090
|
* @return {!Object}
|
|
16958
17091
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16959
17092
|
*/
|
|
16960
|
-
proto.gateway.web.v1.
|
|
17093
|
+
proto.gateway.web.v1.ActivityRhythmRequest.toObject = function(includeInstance, msg) {
|
|
16961
17094
|
var f, obj = {
|
|
16962
17095
|
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16963
17096
|
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16964
|
-
|
|
16965
|
-
|
|
17097
|
+
timeWindow: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
17098
|
+
timeZone: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
16966
17099
|
};
|
|
16967
17100
|
|
|
16968
17101
|
if (includeInstance) {
|
|
@@ -16976,23 +17109,23 @@ topSessions: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
|
16976
17109
|
/**
|
|
16977
17110
|
* Deserializes binary data (in protobuf wire format).
|
|
16978
17111
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
16979
|
-
* @return {!proto.gateway.web.v1.
|
|
17112
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmRequest}
|
|
16980
17113
|
*/
|
|
16981
|
-
proto.gateway.web.v1.
|
|
17114
|
+
proto.gateway.web.v1.ActivityRhythmRequest.deserializeBinary = function(bytes) {
|
|
16982
17115
|
var reader = new jspb.BinaryReader(bytes);
|
|
16983
|
-
var msg = new proto.gateway.web.v1.
|
|
16984
|
-
return proto.gateway.web.v1.
|
|
17116
|
+
var msg = new proto.gateway.web.v1.ActivityRhythmRequest;
|
|
17117
|
+
return proto.gateway.web.v1.ActivityRhythmRequest.deserializeBinaryFromReader(msg, reader);
|
|
16985
17118
|
};
|
|
16986
17119
|
|
|
16987
17120
|
|
|
16988
17121
|
/**
|
|
16989
17122
|
* Deserializes binary data (in protobuf wire format) from the
|
|
16990
17123
|
* given reader into the given message object.
|
|
16991
|
-
* @param {!proto.gateway.web.v1.
|
|
17124
|
+
* @param {!proto.gateway.web.v1.ActivityRhythmRequest} msg The message object to deserialize into.
|
|
16992
17125
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16993
|
-
* @return {!proto.gateway.web.v1.
|
|
17126
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmRequest}
|
|
16994
17127
|
*/
|
|
16995
|
-
proto.gateway.web.v1.
|
|
17128
|
+
proto.gateway.web.v1.ActivityRhythmRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
16996
17129
|
while (reader.nextField()) {
|
|
16997
17130
|
if (reader.isEndGroup()) {
|
|
16998
17131
|
break;
|
|
@@ -17008,13 +17141,12 @@ proto.gateway.web.v1.ProjectOverviewRequest.deserializeBinaryFromReader = functi
|
|
|
17008
17141
|
msg.setProjectId(value);
|
|
17009
17142
|
break;
|
|
17010
17143
|
case 3:
|
|
17011
|
-
var value =
|
|
17012
|
-
|
|
17013
|
-
msg.setActiveAfter(value);
|
|
17144
|
+
var value = /** @type {!proto.gateway.web.v1.AnalyticsTimeWindow} */ (reader.readEnum());
|
|
17145
|
+
msg.setTimeWindow(value);
|
|
17014
17146
|
break;
|
|
17015
17147
|
case 4:
|
|
17016
|
-
var value = /** @type {
|
|
17017
|
-
msg.
|
|
17148
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
17149
|
+
msg.setTimeZone(value);
|
|
17018
17150
|
break;
|
|
17019
17151
|
default:
|
|
17020
17152
|
reader.skipField();
|
|
@@ -17029,9 +17161,9 @@ proto.gateway.web.v1.ProjectOverviewRequest.deserializeBinaryFromReader = functi
|
|
|
17029
17161
|
* Serializes the message to binary data (in protobuf wire format).
|
|
17030
17162
|
* @return {!Uint8Array}
|
|
17031
17163
|
*/
|
|
17032
|
-
proto.gateway.web.v1.
|
|
17164
|
+
proto.gateway.web.v1.ActivityRhythmRequest.prototype.serializeBinary = function() {
|
|
17033
17165
|
var writer = new jspb.BinaryWriter();
|
|
17034
|
-
proto.gateway.web.v1.
|
|
17166
|
+
proto.gateway.web.v1.ActivityRhythmRequest.serializeBinaryToWriter(this, writer);
|
|
17035
17167
|
return writer.getResultBuffer();
|
|
17036
17168
|
};
|
|
17037
17169
|
|
|
@@ -17039,11 +17171,11 @@ proto.gateway.web.v1.ProjectOverviewRequest.prototype.serializeBinary = function
|
|
|
17039
17171
|
/**
|
|
17040
17172
|
* Serializes the given message to binary data (in protobuf wire
|
|
17041
17173
|
* format), writing to the given BinaryWriter.
|
|
17042
|
-
* @param {!proto.gateway.web.v1.
|
|
17174
|
+
* @param {!proto.gateway.web.v1.ActivityRhythmRequest} message
|
|
17043
17175
|
* @param {!jspb.BinaryWriter} writer
|
|
17044
17176
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17045
17177
|
*/
|
|
17046
|
-
proto.gateway.web.v1.
|
|
17178
|
+
proto.gateway.web.v1.ActivityRhythmRequest.serializeBinaryToWriter = function(message, writer) {
|
|
17047
17179
|
var f = undefined;
|
|
17048
17180
|
f = message.getOrganizationId();
|
|
17049
17181
|
if (f.length > 0) {
|
|
@@ -17059,17 +17191,16 @@ proto.gateway.web.v1.ProjectOverviewRequest.serializeBinaryToWriter = function(m
|
|
|
17059
17191
|
f
|
|
17060
17192
|
);
|
|
17061
17193
|
}
|
|
17062
|
-
f = message.
|
|
17063
|
-
if (f
|
|
17064
|
-
writer.
|
|
17194
|
+
f = message.getTimeWindow();
|
|
17195
|
+
if (f !== 0.0) {
|
|
17196
|
+
writer.writeEnum(
|
|
17065
17197
|
3,
|
|
17066
|
-
f
|
|
17067
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
17198
|
+
f
|
|
17068
17199
|
);
|
|
17069
17200
|
}
|
|
17070
|
-
f = message.
|
|
17071
|
-
if (f
|
|
17072
|
-
writer.
|
|
17201
|
+
f = message.getTimeZone();
|
|
17202
|
+
if (f.length > 0) {
|
|
17203
|
+
writer.writeString(
|
|
17073
17204
|
4,
|
|
17074
17205
|
f
|
|
17075
17206
|
);
|
|
@@ -17081,16 +17212,16 @@ proto.gateway.web.v1.ProjectOverviewRequest.serializeBinaryToWriter = function(m
|
|
|
17081
17212
|
* optional string organization_id = 1;
|
|
17082
17213
|
* @return {string}
|
|
17083
17214
|
*/
|
|
17084
|
-
proto.gateway.web.v1.
|
|
17215
|
+
proto.gateway.web.v1.ActivityRhythmRequest.prototype.getOrganizationId = function() {
|
|
17085
17216
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
17086
17217
|
};
|
|
17087
17218
|
|
|
17088
17219
|
|
|
17089
17220
|
/**
|
|
17090
17221
|
* @param {string} value
|
|
17091
|
-
* @return {!proto.gateway.web.v1.
|
|
17222
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmRequest} returns this
|
|
17092
17223
|
*/
|
|
17093
|
-
proto.gateway.web.v1.
|
|
17224
|
+
proto.gateway.web.v1.ActivityRhythmRequest.prototype.setOrganizationId = function(value) {
|
|
17094
17225
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
17095
17226
|
};
|
|
17096
17227
|
|
|
@@ -17099,72 +17230,53 @@ proto.gateway.web.v1.ProjectOverviewRequest.prototype.setOrganizationId = functi
|
|
|
17099
17230
|
* optional string project_id = 2;
|
|
17100
17231
|
* @return {string}
|
|
17101
17232
|
*/
|
|
17102
|
-
proto.gateway.web.v1.
|
|
17233
|
+
proto.gateway.web.v1.ActivityRhythmRequest.prototype.getProjectId = function() {
|
|
17103
17234
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
17104
17235
|
};
|
|
17105
17236
|
|
|
17106
17237
|
|
|
17107
17238
|
/**
|
|
17108
17239
|
* @param {string} value
|
|
17109
|
-
* @return {!proto.gateway.web.v1.
|
|
17240
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmRequest} returns this
|
|
17110
17241
|
*/
|
|
17111
|
-
proto.gateway.web.v1.
|
|
17242
|
+
proto.gateway.web.v1.ActivityRhythmRequest.prototype.setProjectId = function(value) {
|
|
17112
17243
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
17113
17244
|
};
|
|
17114
17245
|
|
|
17115
17246
|
|
|
17116
17247
|
/**
|
|
17117
|
-
* optional
|
|
17118
|
-
* @return {
|
|
17119
|
-
*/
|
|
17120
|
-
proto.gateway.web.v1.ProjectOverviewRequest.prototype.getActiveAfter = function() {
|
|
17121
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
17122
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
17123
|
-
};
|
|
17124
|
-
|
|
17125
|
-
|
|
17126
|
-
/**
|
|
17127
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
17128
|
-
* @return {!proto.gateway.web.v1.ProjectOverviewRequest} returns this
|
|
17129
|
-
*/
|
|
17130
|
-
proto.gateway.web.v1.ProjectOverviewRequest.prototype.setActiveAfter = function(value) {
|
|
17131
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
17132
|
-
};
|
|
17133
|
-
|
|
17134
|
-
|
|
17135
|
-
/**
|
|
17136
|
-
* Clears the message field making it undefined.
|
|
17137
|
-
* @return {!proto.gateway.web.v1.ProjectOverviewRequest} returns this
|
|
17248
|
+
* optional AnalyticsTimeWindow time_window = 3;
|
|
17249
|
+
* @return {!proto.gateway.web.v1.AnalyticsTimeWindow}
|
|
17138
17250
|
*/
|
|
17139
|
-
proto.gateway.web.v1.
|
|
17140
|
-
return
|
|
17251
|
+
proto.gateway.web.v1.ActivityRhythmRequest.prototype.getTimeWindow = function() {
|
|
17252
|
+
return /** @type {!proto.gateway.web.v1.AnalyticsTimeWindow} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
17141
17253
|
};
|
|
17142
17254
|
|
|
17143
17255
|
|
|
17144
17256
|
/**
|
|
17145
|
-
*
|
|
17146
|
-
* @return {
|
|
17257
|
+
* @param {!proto.gateway.web.v1.AnalyticsTimeWindow} value
|
|
17258
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmRequest} returns this
|
|
17147
17259
|
*/
|
|
17148
|
-
proto.gateway.web.v1.
|
|
17149
|
-
return jspb.Message.
|
|
17260
|
+
proto.gateway.web.v1.ActivityRhythmRequest.prototype.setTimeWindow = function(value) {
|
|
17261
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
17150
17262
|
};
|
|
17151
17263
|
|
|
17152
17264
|
|
|
17153
17265
|
/**
|
|
17154
|
-
* optional
|
|
17155
|
-
* @return {
|
|
17266
|
+
* optional string time_zone = 4;
|
|
17267
|
+
* @return {string}
|
|
17156
17268
|
*/
|
|
17157
|
-
proto.gateway.web.v1.
|
|
17158
|
-
return /** @type {
|
|
17269
|
+
proto.gateway.web.v1.ActivityRhythmRequest.prototype.getTimeZone = function() {
|
|
17270
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
17159
17271
|
};
|
|
17160
17272
|
|
|
17161
17273
|
|
|
17162
17274
|
/**
|
|
17163
|
-
* @param {
|
|
17164
|
-
* @return {!proto.gateway.web.v1.
|
|
17275
|
+
* @param {string} value
|
|
17276
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmRequest} returns this
|
|
17165
17277
|
*/
|
|
17166
|
-
proto.gateway.web.v1.
|
|
17167
|
-
return jspb.Message.
|
|
17278
|
+
proto.gateway.web.v1.ActivityRhythmRequest.prototype.setTimeZone = function(value) {
|
|
17279
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
17168
17280
|
};
|
|
17169
17281
|
|
|
17170
17282
|
|
|
@@ -17174,7 +17286,7 @@ proto.gateway.web.v1.ProjectOverviewRequest.prototype.setTopSessions = function(
|
|
|
17174
17286
|
* @private {!Array<number>}
|
|
17175
17287
|
* @const
|
|
17176
17288
|
*/
|
|
17177
|
-
proto.gateway.web.v1.
|
|
17289
|
+
proto.gateway.web.v1.ActivityRhythm.repeatedFields_ = [1];
|
|
17178
17290
|
|
|
17179
17291
|
|
|
17180
17292
|
|
|
@@ -17191,8 +17303,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
17191
17303
|
* http://goto/soy-param-migration
|
|
17192
17304
|
* @return {!Object}
|
|
17193
17305
|
*/
|
|
17194
|
-
proto.gateway.web.v1.
|
|
17195
|
-
return proto.gateway.web.v1.
|
|
17306
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.toObject = function(opt_includeInstance) {
|
|
17307
|
+
return proto.gateway.web.v1.ActivityRhythm.toObject(opt_includeInstance, this);
|
|
17196
17308
|
};
|
|
17197
17309
|
|
|
17198
17310
|
|
|
@@ -17201,21 +17313,18 @@ proto.gateway.web.v1.ProjectOverview.prototype.toObject = function(opt_includeIn
|
|
|
17201
17313
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17202
17314
|
* the JSPB instance for transitional soy proto support:
|
|
17203
17315
|
* http://goto/soy-param-migration
|
|
17204
|
-
* @param {!proto.gateway.web.v1.
|
|
17316
|
+
* @param {!proto.gateway.web.v1.ActivityRhythm} msg The msg instance to transform.
|
|
17205
17317
|
* @return {!Object}
|
|
17206
17318
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17207
17319
|
*/
|
|
17208
|
-
proto.gateway.web.v1.
|
|
17320
|
+
proto.gateway.web.v1.ActivityRhythm.toObject = function(includeInstance, msg) {
|
|
17209
17321
|
var f, obj = {
|
|
17210
|
-
|
|
17211
|
-
|
|
17212
|
-
|
|
17213
|
-
|
|
17214
|
-
|
|
17215
|
-
|
|
17216
|
-
proto.gateway.web.v1.ProjectOverviewSlice.toObject, includeInstance),
|
|
17217
|
-
topSessionsList: jspb.Message.toObjectList(msg.getTopSessionsList(),
|
|
17218
|
-
proto.gateway.web.v1.ProjectSessionRef.toObject, includeInstance)
|
|
17322
|
+
bucketsList: jspb.Message.toObjectList(msg.getBucketsList(),
|
|
17323
|
+
proto.gateway.web.v1.ActivityRhythmBucket.toObject, includeInstance),
|
|
17324
|
+
windowStart: (f = msg.getWindowStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17325
|
+
windowEnd: (f = msg.getWindowEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17326
|
+
asOf: (f = msg.getAsOf()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17327
|
+
timeZone: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
17219
17328
|
};
|
|
17220
17329
|
|
|
17221
17330
|
if (includeInstance) {
|
|
@@ -17229,23 +17338,23 @@ topSessionsList: jspb.Message.toObjectList(msg.getTopSessionsList(),
|
|
|
17229
17338
|
/**
|
|
17230
17339
|
* Deserializes binary data (in protobuf wire format).
|
|
17231
17340
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
17232
|
-
* @return {!proto.gateway.web.v1.
|
|
17341
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm}
|
|
17233
17342
|
*/
|
|
17234
|
-
proto.gateway.web.v1.
|
|
17343
|
+
proto.gateway.web.v1.ActivityRhythm.deserializeBinary = function(bytes) {
|
|
17235
17344
|
var reader = new jspb.BinaryReader(bytes);
|
|
17236
|
-
var msg = new proto.gateway.web.v1.
|
|
17237
|
-
return proto.gateway.web.v1.
|
|
17345
|
+
var msg = new proto.gateway.web.v1.ActivityRhythm;
|
|
17346
|
+
return proto.gateway.web.v1.ActivityRhythm.deserializeBinaryFromReader(msg, reader);
|
|
17238
17347
|
};
|
|
17239
17348
|
|
|
17240
17349
|
|
|
17241
17350
|
/**
|
|
17242
17351
|
* Deserializes binary data (in protobuf wire format) from the
|
|
17243
17352
|
* given reader into the given message object.
|
|
17244
|
-
* @param {!proto.gateway.web.v1.
|
|
17353
|
+
* @param {!proto.gateway.web.v1.ActivityRhythm} msg The message object to deserialize into.
|
|
17245
17354
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17246
|
-
* @return {!proto.gateway.web.v1.
|
|
17355
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm}
|
|
17247
17356
|
*/
|
|
17248
|
-
proto.gateway.web.v1.
|
|
17357
|
+
proto.gateway.web.v1.ActivityRhythm.deserializeBinaryFromReader = function(msg, reader) {
|
|
17249
17358
|
while (reader.nextField()) {
|
|
17250
17359
|
if (reader.isEndGroup()) {
|
|
17251
17360
|
break;
|
|
@@ -17253,29 +17362,28 @@ proto.gateway.web.v1.ProjectOverview.deserializeBinaryFromReader = function(msg,
|
|
|
17253
17362
|
var field = reader.getFieldNumber();
|
|
17254
17363
|
switch (field) {
|
|
17255
17364
|
case 1:
|
|
17256
|
-
var value = new proto.gateway.web.v1.
|
|
17257
|
-
reader.readMessage(value,proto.gateway.web.v1.
|
|
17258
|
-
msg.
|
|
17365
|
+
var value = new proto.gateway.web.v1.ActivityRhythmBucket;
|
|
17366
|
+
reader.readMessage(value,proto.gateway.web.v1.ActivityRhythmBucket.deserializeBinaryFromReader);
|
|
17367
|
+
msg.addBuckets(value);
|
|
17259
17368
|
break;
|
|
17260
17369
|
case 2:
|
|
17261
|
-
var value = new
|
|
17262
|
-
reader.readMessage(value,
|
|
17263
|
-
msg.
|
|
17370
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
17371
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
17372
|
+
msg.setWindowStart(value);
|
|
17264
17373
|
break;
|
|
17265
17374
|
case 3:
|
|
17266
|
-
var value = new
|
|
17267
|
-
reader.readMessage(value,
|
|
17268
|
-
msg.
|
|
17375
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
17376
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
17377
|
+
msg.setWindowEnd(value);
|
|
17269
17378
|
break;
|
|
17270
17379
|
case 4:
|
|
17271
|
-
var value = new
|
|
17272
|
-
reader.readMessage(value,
|
|
17273
|
-
msg.
|
|
17380
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
17381
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
17382
|
+
msg.setAsOf(value);
|
|
17274
17383
|
break;
|
|
17275
17384
|
case 5:
|
|
17276
|
-
var value =
|
|
17277
|
-
|
|
17278
|
-
msg.addTopSessions(value);
|
|
17385
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
17386
|
+
msg.setTimeZone(value);
|
|
17279
17387
|
break;
|
|
17280
17388
|
default:
|
|
17281
17389
|
reader.skipField();
|
|
@@ -17290,9 +17398,9 @@ proto.gateway.web.v1.ProjectOverview.deserializeBinaryFromReader = function(msg,
|
|
|
17290
17398
|
* Serializes the message to binary data (in protobuf wire format).
|
|
17291
17399
|
* @return {!Uint8Array}
|
|
17292
17400
|
*/
|
|
17293
|
-
proto.gateway.web.v1.
|
|
17401
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.serializeBinary = function() {
|
|
17294
17402
|
var writer = new jspb.BinaryWriter();
|
|
17295
|
-
proto.gateway.web.v1.
|
|
17403
|
+
proto.gateway.web.v1.ActivityRhythm.serializeBinaryToWriter(this, writer);
|
|
17296
17404
|
return writer.getResultBuffer();
|
|
17297
17405
|
};
|
|
17298
17406
|
|
|
@@ -17300,241 +17408,218 @@ proto.gateway.web.v1.ProjectOverview.prototype.serializeBinary = function() {
|
|
|
17300
17408
|
/**
|
|
17301
17409
|
* Serializes the given message to binary data (in protobuf wire
|
|
17302
17410
|
* format), writing to the given BinaryWriter.
|
|
17303
|
-
* @param {!proto.gateway.web.v1.
|
|
17411
|
+
* @param {!proto.gateway.web.v1.ActivityRhythm} message
|
|
17304
17412
|
* @param {!jspb.BinaryWriter} writer
|
|
17305
17413
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17306
17414
|
*/
|
|
17307
|
-
proto.gateway.web.v1.
|
|
17415
|
+
proto.gateway.web.v1.ActivityRhythm.serializeBinaryToWriter = function(message, writer) {
|
|
17308
17416
|
var f = undefined;
|
|
17309
|
-
f = message.
|
|
17310
|
-
if (f
|
|
17311
|
-
writer.
|
|
17417
|
+
f = message.getBucketsList();
|
|
17418
|
+
if (f.length > 0) {
|
|
17419
|
+
writer.writeRepeatedMessage(
|
|
17312
17420
|
1,
|
|
17313
17421
|
f,
|
|
17314
|
-
proto.gateway.web.v1.
|
|
17422
|
+
proto.gateway.web.v1.ActivityRhythmBucket.serializeBinaryToWriter
|
|
17315
17423
|
);
|
|
17316
17424
|
}
|
|
17317
|
-
f = message.
|
|
17318
|
-
if (f
|
|
17319
|
-
writer.
|
|
17425
|
+
f = message.getWindowStart();
|
|
17426
|
+
if (f != null) {
|
|
17427
|
+
writer.writeMessage(
|
|
17320
17428
|
2,
|
|
17321
17429
|
f,
|
|
17322
|
-
|
|
17430
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
17323
17431
|
);
|
|
17324
17432
|
}
|
|
17325
|
-
f = message.
|
|
17326
|
-
if (f
|
|
17327
|
-
writer.
|
|
17433
|
+
f = message.getWindowEnd();
|
|
17434
|
+
if (f != null) {
|
|
17435
|
+
writer.writeMessage(
|
|
17328
17436
|
3,
|
|
17329
17437
|
f,
|
|
17330
|
-
|
|
17438
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
17331
17439
|
);
|
|
17332
17440
|
}
|
|
17333
|
-
f = message.
|
|
17334
|
-
if (f
|
|
17335
|
-
writer.
|
|
17441
|
+
f = message.getAsOf();
|
|
17442
|
+
if (f != null) {
|
|
17443
|
+
writer.writeMessage(
|
|
17336
17444
|
4,
|
|
17337
17445
|
f,
|
|
17338
|
-
|
|
17446
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
17339
17447
|
);
|
|
17340
17448
|
}
|
|
17341
|
-
f = message.
|
|
17449
|
+
f = message.getTimeZone();
|
|
17342
17450
|
if (f.length > 0) {
|
|
17343
|
-
writer.
|
|
17451
|
+
writer.writeString(
|
|
17344
17452
|
5,
|
|
17345
|
-
f
|
|
17346
|
-
proto.gateway.web.v1.ProjectSessionRef.serializeBinaryToWriter
|
|
17453
|
+
f
|
|
17347
17454
|
);
|
|
17348
17455
|
}
|
|
17349
17456
|
};
|
|
17350
17457
|
|
|
17351
17458
|
|
|
17352
17459
|
/**
|
|
17353
|
-
*
|
|
17354
|
-
* @return {
|
|
17460
|
+
* repeated ActivityRhythmBucket buckets = 1;
|
|
17461
|
+
* @return {!Array<!proto.gateway.web.v1.ActivityRhythmBucket>}
|
|
17355
17462
|
*/
|
|
17356
|
-
proto.gateway.web.v1.
|
|
17357
|
-
return /** @type{
|
|
17358
|
-
jspb.Message.
|
|
17463
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.getBucketsList = function() {
|
|
17464
|
+
return /** @type{!Array<!proto.gateway.web.v1.ActivityRhythmBucket>} */ (
|
|
17465
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ActivityRhythmBucket, 1));
|
|
17359
17466
|
};
|
|
17360
17467
|
|
|
17361
17468
|
|
|
17362
17469
|
/**
|
|
17363
|
-
* @param {
|
|
17364
|
-
* @return {!proto.gateway.web.v1.
|
|
17470
|
+
* @param {!Array<!proto.gateway.web.v1.ActivityRhythmBucket>} value
|
|
17471
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm} returns this
|
|
17365
17472
|
*/
|
|
17366
|
-
proto.gateway.web.v1.
|
|
17367
|
-
return jspb.Message.
|
|
17473
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.setBucketsList = function(value) {
|
|
17474
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
17368
17475
|
};
|
|
17369
17476
|
|
|
17370
17477
|
|
|
17371
17478
|
/**
|
|
17372
|
-
*
|
|
17373
|
-
* @
|
|
17479
|
+
* @param {!proto.gateway.web.v1.ActivityRhythmBucket=} opt_value
|
|
17480
|
+
* @param {number=} opt_index
|
|
17481
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket}
|
|
17374
17482
|
*/
|
|
17375
|
-
proto.gateway.web.v1.
|
|
17376
|
-
return this.
|
|
17483
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.addBuckets = function(opt_value, opt_index) {
|
|
17484
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.gateway.web.v1.ActivityRhythmBucket, opt_index);
|
|
17377
17485
|
};
|
|
17378
17486
|
|
|
17379
17487
|
|
|
17380
17488
|
/**
|
|
17381
|
-
*
|
|
17382
|
-
* @return {
|
|
17489
|
+
* Clears the list making it empty but non-null.
|
|
17490
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm} returns this
|
|
17383
17491
|
*/
|
|
17384
|
-
proto.gateway.web.v1.
|
|
17385
|
-
return
|
|
17492
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.clearBucketsList = function() {
|
|
17493
|
+
return this.setBucketsList([]);
|
|
17386
17494
|
};
|
|
17387
17495
|
|
|
17388
17496
|
|
|
17389
17497
|
/**
|
|
17390
|
-
*
|
|
17391
|
-
* @return {
|
|
17498
|
+
* optional google.protobuf.Timestamp window_start = 2;
|
|
17499
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
17392
17500
|
*/
|
|
17393
|
-
proto.gateway.web.v1.
|
|
17394
|
-
return /** @type{
|
|
17395
|
-
jspb.Message.
|
|
17501
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.getWindowStart = function() {
|
|
17502
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
17503
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
17396
17504
|
};
|
|
17397
17505
|
|
|
17398
17506
|
|
|
17399
17507
|
/**
|
|
17400
|
-
* @param {
|
|
17401
|
-
* @return {!proto.gateway.web.v1.
|
|
17508
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
17509
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm} returns this
|
|
17402
17510
|
*/
|
|
17403
|
-
proto.gateway.web.v1.
|
|
17404
|
-
return jspb.Message.
|
|
17511
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.setWindowStart = function(value) {
|
|
17512
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
17405
17513
|
};
|
|
17406
17514
|
|
|
17407
17515
|
|
|
17408
17516
|
/**
|
|
17409
|
-
*
|
|
17410
|
-
* @
|
|
17411
|
-
* @return {!proto.gateway.web.v1.ProjectOverviewSlice}
|
|
17517
|
+
* Clears the message field making it undefined.
|
|
17518
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm} returns this
|
|
17412
17519
|
*/
|
|
17413
|
-
proto.gateway.web.v1.
|
|
17414
|
-
return
|
|
17520
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.clearWindowStart = function() {
|
|
17521
|
+
return this.setWindowStart(undefined);
|
|
17415
17522
|
};
|
|
17416
17523
|
|
|
17417
17524
|
|
|
17418
17525
|
/**
|
|
17419
|
-
*
|
|
17420
|
-
* @return {
|
|
17526
|
+
* Returns whether this field is set.
|
|
17527
|
+
* @return {boolean}
|
|
17421
17528
|
*/
|
|
17422
|
-
proto.gateway.web.v1.
|
|
17423
|
-
return
|
|
17529
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.hasWindowStart = function() {
|
|
17530
|
+
return jspb.Message.getField(this, 2) != null;
|
|
17424
17531
|
};
|
|
17425
17532
|
|
|
17426
17533
|
|
|
17427
17534
|
/**
|
|
17428
|
-
*
|
|
17429
|
-
* @return {
|
|
17535
|
+
* optional google.protobuf.Timestamp window_end = 3;
|
|
17536
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
17430
17537
|
*/
|
|
17431
|
-
proto.gateway.web.v1.
|
|
17432
|
-
return /** @type{
|
|
17433
|
-
jspb.Message.
|
|
17538
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.getWindowEnd = function() {
|
|
17539
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
17540
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
17434
17541
|
};
|
|
17435
17542
|
|
|
17436
17543
|
|
|
17437
17544
|
/**
|
|
17438
|
-
* @param {
|
|
17439
|
-
* @return {!proto.gateway.web.v1.
|
|
17545
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
17546
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm} returns this
|
|
17440
17547
|
*/
|
|
17441
|
-
proto.gateway.web.v1.
|
|
17442
|
-
return jspb.Message.
|
|
17548
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.setWindowEnd = function(value) {
|
|
17549
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
17443
17550
|
};
|
|
17444
17551
|
|
|
17445
17552
|
|
|
17446
17553
|
/**
|
|
17447
|
-
*
|
|
17448
|
-
* @
|
|
17449
|
-
* @return {!proto.gateway.web.v1.ProjectOverviewSlice}
|
|
17554
|
+
* Clears the message field making it undefined.
|
|
17555
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm} returns this
|
|
17450
17556
|
*/
|
|
17451
|
-
proto.gateway.web.v1.
|
|
17452
|
-
return
|
|
17557
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.clearWindowEnd = function() {
|
|
17558
|
+
return this.setWindowEnd(undefined);
|
|
17453
17559
|
};
|
|
17454
17560
|
|
|
17455
17561
|
|
|
17456
17562
|
/**
|
|
17457
|
-
*
|
|
17458
|
-
* @return {
|
|
17563
|
+
* Returns whether this field is set.
|
|
17564
|
+
* @return {boolean}
|
|
17459
17565
|
*/
|
|
17460
|
-
proto.gateway.web.v1.
|
|
17461
|
-
return
|
|
17566
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.hasWindowEnd = function() {
|
|
17567
|
+
return jspb.Message.getField(this, 3) != null;
|
|
17462
17568
|
};
|
|
17463
17569
|
|
|
17464
17570
|
|
|
17465
17571
|
/**
|
|
17466
|
-
*
|
|
17467
|
-
* @return {
|
|
17572
|
+
* optional google.protobuf.Timestamp as_of = 4;
|
|
17573
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
17468
17574
|
*/
|
|
17469
|
-
proto.gateway.web.v1.
|
|
17470
|
-
return /** @type{
|
|
17471
|
-
jspb.Message.
|
|
17575
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.getAsOf = function() {
|
|
17576
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
17577
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
17472
17578
|
};
|
|
17473
17579
|
|
|
17474
17580
|
|
|
17475
17581
|
/**
|
|
17476
|
-
* @param {
|
|
17477
|
-
* @return {!proto.gateway.web.v1.
|
|
17582
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
17583
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm} returns this
|
|
17478
17584
|
*/
|
|
17479
|
-
proto.gateway.web.v1.
|
|
17480
|
-
return jspb.Message.
|
|
17481
|
-
};
|
|
17482
|
-
|
|
17483
|
-
|
|
17484
|
-
/**
|
|
17485
|
-
* @param {!proto.gateway.web.v1.ProjectOverviewSlice=} opt_value
|
|
17486
|
-
* @param {number=} opt_index
|
|
17487
|
-
* @return {!proto.gateway.web.v1.ProjectOverviewSlice}
|
|
17488
|
-
*/
|
|
17489
|
-
proto.gateway.web.v1.ProjectOverview.prototype.addBySource = function(opt_value, opt_index) {
|
|
17490
|
-
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.gateway.web.v1.ProjectOverviewSlice, opt_index);
|
|
17585
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.setAsOf = function(value) {
|
|
17586
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
17491
17587
|
};
|
|
17492
17588
|
|
|
17493
17589
|
|
|
17494
17590
|
/**
|
|
17495
|
-
* Clears the
|
|
17496
|
-
* @return {!proto.gateway.web.v1.
|
|
17591
|
+
* Clears the message field making it undefined.
|
|
17592
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm} returns this
|
|
17497
17593
|
*/
|
|
17498
|
-
proto.gateway.web.v1.
|
|
17499
|
-
return this.
|
|
17594
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.clearAsOf = function() {
|
|
17595
|
+
return this.setAsOf(undefined);
|
|
17500
17596
|
};
|
|
17501
17597
|
|
|
17502
17598
|
|
|
17503
17599
|
/**
|
|
17504
|
-
*
|
|
17505
|
-
* @return {
|
|
17600
|
+
* Returns whether this field is set.
|
|
17601
|
+
* @return {boolean}
|
|
17506
17602
|
*/
|
|
17507
|
-
proto.gateway.web.v1.
|
|
17508
|
-
return
|
|
17509
|
-
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectSessionRef, 5));
|
|
17510
|
-
};
|
|
17511
|
-
|
|
17512
|
-
|
|
17513
|
-
/**
|
|
17514
|
-
* @param {!Array<!proto.gateway.web.v1.ProjectSessionRef>} value
|
|
17515
|
-
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
17516
|
-
*/
|
|
17517
|
-
proto.gateway.web.v1.ProjectOverview.prototype.setTopSessionsList = function(value) {
|
|
17518
|
-
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
17603
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.hasAsOf = function() {
|
|
17604
|
+
return jspb.Message.getField(this, 4) != null;
|
|
17519
17605
|
};
|
|
17520
17606
|
|
|
17521
17607
|
|
|
17522
17608
|
/**
|
|
17523
|
-
*
|
|
17524
|
-
* @
|
|
17525
|
-
* @return {!proto.gateway.web.v1.ProjectSessionRef}
|
|
17609
|
+
* optional string time_zone = 5;
|
|
17610
|
+
* @return {string}
|
|
17526
17611
|
*/
|
|
17527
|
-
proto.gateway.web.v1.
|
|
17528
|
-
return jspb.Message.
|
|
17612
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.getTimeZone = function() {
|
|
17613
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
17529
17614
|
};
|
|
17530
17615
|
|
|
17531
17616
|
|
|
17532
17617
|
/**
|
|
17533
|
-
*
|
|
17534
|
-
* @return {!proto.gateway.web.v1.
|
|
17618
|
+
* @param {string} value
|
|
17619
|
+
* @return {!proto.gateway.web.v1.ActivityRhythm} returns this
|
|
17535
17620
|
*/
|
|
17536
|
-
proto.gateway.web.v1.
|
|
17537
|
-
return
|
|
17621
|
+
proto.gateway.web.v1.ActivityRhythm.prototype.setTimeZone = function(value) {
|
|
17622
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
17538
17623
|
};
|
|
17539
17624
|
|
|
17540
17625
|
|
|
@@ -17554,8 +17639,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
17554
17639
|
* http://goto/soy-param-migration
|
|
17555
17640
|
* @return {!Object}
|
|
17556
17641
|
*/
|
|
17557
|
-
proto.gateway.web.v1.
|
|
17558
|
-
return proto.gateway.web.v1.
|
|
17642
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.toObject = function(opt_includeInstance) {
|
|
17643
|
+
return proto.gateway.web.v1.ActivityRhythmBucket.toObject(opt_includeInstance, this);
|
|
17559
17644
|
};
|
|
17560
17645
|
|
|
17561
17646
|
|
|
@@ -17564,26 +17649,23 @@ proto.gateway.web.v1.ProjectOverviewTotals.prototype.toObject = function(opt_inc
|
|
|
17564
17649
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17565
17650
|
* the JSPB instance for transitional soy proto support:
|
|
17566
17651
|
* http://goto/soy-param-migration
|
|
17567
|
-
* @param {!proto.gateway.web.v1.
|
|
17652
|
+
* @param {!proto.gateway.web.v1.ActivityRhythmBucket} msg The msg instance to transform.
|
|
17568
17653
|
* @return {!Object}
|
|
17569
17654
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17570
17655
|
*/
|
|
17571
|
-
proto.gateway.web.v1.
|
|
17656
|
+
proto.gateway.web.v1.ActivityRhythmBucket.toObject = function(includeInstance, msg) {
|
|
17572
17657
|
var f, obj = {
|
|
17573
|
-
|
|
17574
|
-
|
|
17575
|
-
|
|
17576
|
-
|
|
17577
|
-
|
|
17578
|
-
|
|
17579
|
-
|
|
17580
|
-
|
|
17581
|
-
|
|
17582
|
-
|
|
17583
|
-
|
|
17584
|
-
pushes: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
17585
|
-
filesTouched: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
17586
|
-
lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
17658
|
+
dayOfWeek: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
17659
|
+
hourOfDay: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
17660
|
+
eventCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
17661
|
+
modelUsage: (f = msg.getModelUsage()) && proto.gateway.web.v1.TokenActivityMeasures.toObject(includeInstance, f),
|
|
17662
|
+
usageUnavailableCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
17663
|
+
costUnavailableCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
17664
|
+
toolCalls: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
17665
|
+
userMessages: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
17666
|
+
sessions: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
17667
|
+
activeUsers: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
17668
|
+
topTool: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
17587
17669
|
};
|
|
17588
17670
|
|
|
17589
17671
|
if (includeInstance) {
|
|
@@ -17597,23 +17679,23 @@ lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Ti
|
|
|
17597
17679
|
/**
|
|
17598
17680
|
* Deserializes binary data (in protobuf wire format).
|
|
17599
17681
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
17600
|
-
* @return {!proto.gateway.web.v1.
|
|
17682
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket}
|
|
17601
17683
|
*/
|
|
17602
|
-
proto.gateway.web.v1.
|
|
17684
|
+
proto.gateway.web.v1.ActivityRhythmBucket.deserializeBinary = function(bytes) {
|
|
17603
17685
|
var reader = new jspb.BinaryReader(bytes);
|
|
17604
|
-
var msg = new proto.gateway.web.v1.
|
|
17605
|
-
return proto.gateway.web.v1.
|
|
17686
|
+
var msg = new proto.gateway.web.v1.ActivityRhythmBucket;
|
|
17687
|
+
return proto.gateway.web.v1.ActivityRhythmBucket.deserializeBinaryFromReader(msg, reader);
|
|
17606
17688
|
};
|
|
17607
17689
|
|
|
17608
17690
|
|
|
17609
17691
|
/**
|
|
17610
17692
|
* Deserializes binary data (in protobuf wire format) from the
|
|
17611
17693
|
* given reader into the given message object.
|
|
17612
|
-
* @param {!proto.gateway.web.v1.
|
|
17694
|
+
* @param {!proto.gateway.web.v1.ActivityRhythmBucket} msg The message object to deserialize into.
|
|
17613
17695
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17614
|
-
* @return {!proto.gateway.web.v1.
|
|
17696
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket}
|
|
17615
17697
|
*/
|
|
17616
|
-
proto.gateway.web.v1.
|
|
17698
|
+
proto.gateway.web.v1.ActivityRhythmBucket.deserializeBinaryFromReader = function(msg, reader) {
|
|
17617
17699
|
while (reader.nextField()) {
|
|
17618
17700
|
if (reader.isEndGroup()) {
|
|
17619
17701
|
break;
|
|
@@ -17621,61 +17703,49 @@ proto.gateway.web.v1.ProjectOverviewTotals.deserializeBinaryFromReader = functio
|
|
|
17621
17703
|
var field = reader.getFieldNumber();
|
|
17622
17704
|
switch (field) {
|
|
17623
17705
|
case 1:
|
|
17624
|
-
var value = /** @type {number} */ (reader.
|
|
17625
|
-
msg.
|
|
17706
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
17707
|
+
msg.setDayOfWeek(value);
|
|
17626
17708
|
break;
|
|
17627
17709
|
case 2:
|
|
17628
|
-
var value = /** @type {number} */ (reader.
|
|
17629
|
-
msg.
|
|
17710
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
17711
|
+
msg.setHourOfDay(value);
|
|
17630
17712
|
break;
|
|
17631
17713
|
case 3:
|
|
17632
17714
|
var value = /** @type {number} */ (reader.readUint64());
|
|
17633
|
-
msg.
|
|
17715
|
+
msg.setEventCount(value);
|
|
17634
17716
|
break;
|
|
17635
17717
|
case 4:
|
|
17636
|
-
var value =
|
|
17637
|
-
|
|
17718
|
+
var value = new proto.gateway.web.v1.TokenActivityMeasures;
|
|
17719
|
+
reader.readMessage(value,proto.gateway.web.v1.TokenActivityMeasures.deserializeBinaryFromReader);
|
|
17720
|
+
msg.setModelUsage(value);
|
|
17638
17721
|
break;
|
|
17639
17722
|
case 5:
|
|
17640
17723
|
var value = /** @type {number} */ (reader.readUint64());
|
|
17641
|
-
msg.
|
|
17724
|
+
msg.setUsageUnavailableCount(value);
|
|
17642
17725
|
break;
|
|
17643
17726
|
case 6:
|
|
17644
17727
|
var value = /** @type {number} */ (reader.readUint64());
|
|
17645
|
-
msg.
|
|
17728
|
+
msg.setCostUnavailableCount(value);
|
|
17646
17729
|
break;
|
|
17647
17730
|
case 7:
|
|
17648
17731
|
var value = /** @type {number} */ (reader.readUint64());
|
|
17649
|
-
msg.
|
|
17732
|
+
msg.setToolCalls(value);
|
|
17650
17733
|
break;
|
|
17651
17734
|
case 8:
|
|
17652
17735
|
var value = /** @type {number} */ (reader.readUint64());
|
|
17653
|
-
msg.
|
|
17736
|
+
msg.setUserMessages(value);
|
|
17654
17737
|
break;
|
|
17655
17738
|
case 9:
|
|
17656
|
-
var value = /** @type {number} */ (reader.
|
|
17657
|
-
msg.
|
|
17739
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
17740
|
+
msg.setSessions(value);
|
|
17658
17741
|
break;
|
|
17659
17742
|
case 10:
|
|
17660
17743
|
var value = /** @type {number} */ (reader.readUint64());
|
|
17661
|
-
msg.
|
|
17744
|
+
msg.setActiveUsers(value);
|
|
17662
17745
|
break;
|
|
17663
17746
|
case 11:
|
|
17664
|
-
var value = /** @type {
|
|
17665
|
-
msg.
|
|
17666
|
-
break;
|
|
17667
|
-
case 12:
|
|
17668
|
-
var value = /** @type {number} */ (reader.readUint64());
|
|
17669
|
-
msg.setPushes(value);
|
|
17670
|
-
break;
|
|
17671
|
-
case 13:
|
|
17672
|
-
var value = /** @type {number} */ (reader.readUint64());
|
|
17673
|
-
msg.setFilesTouched(value);
|
|
17674
|
-
break;
|
|
17675
|
-
case 14:
|
|
17676
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
17677
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
17678
|
-
msg.setLastActivityAt(value);
|
|
17747
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
17748
|
+
msg.setTopTool(value);
|
|
17679
17749
|
break;
|
|
17680
17750
|
default:
|
|
17681
17751
|
reader.skipField();
|
|
@@ -17690,9 +17760,9 @@ proto.gateway.web.v1.ProjectOverviewTotals.deserializeBinaryFromReader = functio
|
|
|
17690
17760
|
* Serializes the message to binary data (in protobuf wire format).
|
|
17691
17761
|
* @return {!Uint8Array}
|
|
17692
17762
|
*/
|
|
17693
|
-
proto.gateway.web.v1.
|
|
17763
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.serializeBinary = function() {
|
|
17694
17764
|
var writer = new jspb.BinaryWriter();
|
|
17695
|
-
proto.gateway.web.v1.
|
|
17765
|
+
proto.gateway.web.v1.ActivityRhythmBucket.serializeBinaryToWriter(this, writer);
|
|
17696
17766
|
return writer.getResultBuffer();
|
|
17697
17767
|
};
|
|
17698
17768
|
|
|
@@ -17700,382 +17770,307 @@ proto.gateway.web.v1.ProjectOverviewTotals.prototype.serializeBinary = function(
|
|
|
17700
17770
|
/**
|
|
17701
17771
|
* Serializes the given message to binary data (in protobuf wire
|
|
17702
17772
|
* format), writing to the given BinaryWriter.
|
|
17703
|
-
* @param {!proto.gateway.web.v1.
|
|
17773
|
+
* @param {!proto.gateway.web.v1.ActivityRhythmBucket} message
|
|
17704
17774
|
* @param {!jspb.BinaryWriter} writer
|
|
17705
17775
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17706
17776
|
*/
|
|
17707
|
-
proto.gateway.web.v1.
|
|
17777
|
+
proto.gateway.web.v1.ActivityRhythmBucket.serializeBinaryToWriter = function(message, writer) {
|
|
17708
17778
|
var f = undefined;
|
|
17709
|
-
f = message.
|
|
17779
|
+
f = message.getDayOfWeek();
|
|
17710
17780
|
if (f !== 0) {
|
|
17711
|
-
writer.
|
|
17781
|
+
writer.writeUint32(
|
|
17712
17782
|
1,
|
|
17713
17783
|
f
|
|
17714
17784
|
);
|
|
17715
17785
|
}
|
|
17716
|
-
f = message.
|
|
17786
|
+
f = message.getHourOfDay();
|
|
17717
17787
|
if (f !== 0) {
|
|
17718
|
-
writer.
|
|
17788
|
+
writer.writeUint32(
|
|
17719
17789
|
2,
|
|
17720
17790
|
f
|
|
17721
17791
|
);
|
|
17722
17792
|
}
|
|
17723
|
-
f = message.
|
|
17793
|
+
f = message.getEventCount();
|
|
17724
17794
|
if (f !== 0) {
|
|
17725
17795
|
writer.writeUint64(
|
|
17726
17796
|
3,
|
|
17727
17797
|
f
|
|
17728
17798
|
);
|
|
17729
17799
|
}
|
|
17730
|
-
f = message.
|
|
17731
|
-
if (f
|
|
17732
|
-
writer.
|
|
17800
|
+
f = message.getModelUsage();
|
|
17801
|
+
if (f != null) {
|
|
17802
|
+
writer.writeMessage(
|
|
17733
17803
|
4,
|
|
17734
|
-
f
|
|
17804
|
+
f,
|
|
17805
|
+
proto.gateway.web.v1.TokenActivityMeasures.serializeBinaryToWriter
|
|
17735
17806
|
);
|
|
17736
17807
|
}
|
|
17737
|
-
f = message.
|
|
17808
|
+
f = message.getUsageUnavailableCount();
|
|
17738
17809
|
if (f !== 0) {
|
|
17739
17810
|
writer.writeUint64(
|
|
17740
17811
|
5,
|
|
17741
17812
|
f
|
|
17742
17813
|
);
|
|
17743
17814
|
}
|
|
17744
|
-
f = message.
|
|
17815
|
+
f = message.getCostUnavailableCount();
|
|
17745
17816
|
if (f !== 0) {
|
|
17746
17817
|
writer.writeUint64(
|
|
17747
17818
|
6,
|
|
17748
17819
|
f
|
|
17749
17820
|
);
|
|
17750
17821
|
}
|
|
17751
|
-
f = message.
|
|
17822
|
+
f = message.getToolCalls();
|
|
17752
17823
|
if (f !== 0) {
|
|
17753
17824
|
writer.writeUint64(
|
|
17754
17825
|
7,
|
|
17755
17826
|
f
|
|
17756
17827
|
);
|
|
17757
17828
|
}
|
|
17758
|
-
f = message.
|
|
17829
|
+
f = message.getUserMessages();
|
|
17759
17830
|
if (f !== 0) {
|
|
17760
17831
|
writer.writeUint64(
|
|
17761
17832
|
8,
|
|
17762
17833
|
f
|
|
17763
17834
|
);
|
|
17764
17835
|
}
|
|
17765
|
-
f = message.
|
|
17766
|
-
if (f !== 0
|
|
17767
|
-
writer.
|
|
17836
|
+
f = message.getSessions();
|
|
17837
|
+
if (f !== 0) {
|
|
17838
|
+
writer.writeUint64(
|
|
17768
17839
|
9,
|
|
17769
17840
|
f
|
|
17770
17841
|
);
|
|
17771
17842
|
}
|
|
17772
|
-
f = message.
|
|
17843
|
+
f = message.getActiveUsers();
|
|
17773
17844
|
if (f !== 0) {
|
|
17774
17845
|
writer.writeUint64(
|
|
17775
17846
|
10,
|
|
17776
17847
|
f
|
|
17777
17848
|
);
|
|
17778
17849
|
}
|
|
17779
|
-
f = message.
|
|
17780
|
-
if (f
|
|
17781
|
-
writer.
|
|
17850
|
+
f = message.getTopTool();
|
|
17851
|
+
if (f.length > 0) {
|
|
17852
|
+
writer.writeString(
|
|
17782
17853
|
11,
|
|
17783
17854
|
f
|
|
17784
17855
|
);
|
|
17785
17856
|
}
|
|
17786
|
-
f = message.getPushes();
|
|
17787
|
-
if (f !== 0) {
|
|
17788
|
-
writer.writeUint64(
|
|
17789
|
-
12,
|
|
17790
|
-
f
|
|
17791
|
-
);
|
|
17792
|
-
}
|
|
17793
|
-
f = message.getFilesTouched();
|
|
17794
|
-
if (f !== 0) {
|
|
17795
|
-
writer.writeUint64(
|
|
17796
|
-
13,
|
|
17797
|
-
f
|
|
17798
|
-
);
|
|
17799
|
-
}
|
|
17800
|
-
f = message.getLastActivityAt();
|
|
17801
|
-
if (f != null) {
|
|
17802
|
-
writer.writeMessage(
|
|
17803
|
-
14,
|
|
17804
|
-
f,
|
|
17805
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
17806
|
-
);
|
|
17807
|
-
}
|
|
17808
17857
|
};
|
|
17809
17858
|
|
|
17810
17859
|
|
|
17811
17860
|
/**
|
|
17812
|
-
* optional
|
|
17861
|
+
* optional uint32 day_of_week = 1;
|
|
17813
17862
|
* @return {number}
|
|
17814
17863
|
*/
|
|
17815
|
-
proto.gateway.web.v1.
|
|
17864
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getDayOfWeek = function() {
|
|
17816
17865
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
17817
17866
|
};
|
|
17818
17867
|
|
|
17819
17868
|
|
|
17820
17869
|
/**
|
|
17821
17870
|
* @param {number} value
|
|
17822
|
-
* @return {!proto.gateway.web.v1.
|
|
17871
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17823
17872
|
*/
|
|
17824
|
-
proto.gateway.web.v1.
|
|
17873
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setDayOfWeek = function(value) {
|
|
17825
17874
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
17826
17875
|
};
|
|
17827
17876
|
|
|
17828
17877
|
|
|
17829
17878
|
/**
|
|
17830
|
-
* optional
|
|
17879
|
+
* optional uint32 hour_of_day = 2;
|
|
17831
17880
|
* @return {number}
|
|
17832
17881
|
*/
|
|
17833
|
-
proto.gateway.web.v1.
|
|
17882
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getHourOfDay = function() {
|
|
17834
17883
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
17835
17884
|
};
|
|
17836
17885
|
|
|
17837
17886
|
|
|
17838
17887
|
/**
|
|
17839
17888
|
* @param {number} value
|
|
17840
|
-
* @return {!proto.gateway.web.v1.
|
|
17889
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17841
17890
|
*/
|
|
17842
|
-
proto.gateway.web.v1.
|
|
17891
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setHourOfDay = function(value) {
|
|
17843
17892
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
17844
17893
|
};
|
|
17845
17894
|
|
|
17846
17895
|
|
|
17847
17896
|
/**
|
|
17848
|
-
* optional uint64
|
|
17897
|
+
* optional uint64 event_count = 3;
|
|
17849
17898
|
* @return {number}
|
|
17850
17899
|
*/
|
|
17851
|
-
proto.gateway.web.v1.
|
|
17900
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getEventCount = function() {
|
|
17852
17901
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
17853
17902
|
};
|
|
17854
17903
|
|
|
17855
17904
|
|
|
17856
17905
|
/**
|
|
17857
17906
|
* @param {number} value
|
|
17858
|
-
* @return {!proto.gateway.web.v1.
|
|
17907
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17859
17908
|
*/
|
|
17860
|
-
proto.gateway.web.v1.
|
|
17909
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setEventCount = function(value) {
|
|
17861
17910
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
17862
17911
|
};
|
|
17863
17912
|
|
|
17864
17913
|
|
|
17865
17914
|
/**
|
|
17866
|
-
* optional
|
|
17867
|
-
* @return {
|
|
17915
|
+
* optional TokenActivityMeasures model_usage = 4;
|
|
17916
|
+
* @return {?proto.gateway.web.v1.TokenActivityMeasures}
|
|
17868
17917
|
*/
|
|
17869
|
-
proto.gateway.web.v1.
|
|
17870
|
-
return /** @type
|
|
17918
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getModelUsage = function() {
|
|
17919
|
+
return /** @type{?proto.gateway.web.v1.TokenActivityMeasures} */ (
|
|
17920
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.TokenActivityMeasures, 4));
|
|
17871
17921
|
};
|
|
17872
17922
|
|
|
17873
17923
|
|
|
17874
17924
|
/**
|
|
17875
|
-
* @param {
|
|
17876
|
-
* @return {!proto.gateway.web.v1.
|
|
17925
|
+
* @param {?proto.gateway.web.v1.TokenActivityMeasures|undefined} value
|
|
17926
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17927
|
+
*/
|
|
17928
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setModelUsage = function(value) {
|
|
17929
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
17930
|
+
};
|
|
17931
|
+
|
|
17932
|
+
|
|
17933
|
+
/**
|
|
17934
|
+
* Clears the message field making it undefined.
|
|
17935
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17877
17936
|
*/
|
|
17878
|
-
proto.gateway.web.v1.
|
|
17879
|
-
return
|
|
17937
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.clearModelUsage = function() {
|
|
17938
|
+
return this.setModelUsage(undefined);
|
|
17880
17939
|
};
|
|
17881
17940
|
|
|
17882
17941
|
|
|
17883
17942
|
/**
|
|
17884
|
-
*
|
|
17943
|
+
* Returns whether this field is set.
|
|
17944
|
+
* @return {boolean}
|
|
17945
|
+
*/
|
|
17946
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.hasModelUsage = function() {
|
|
17947
|
+
return jspb.Message.getField(this, 4) != null;
|
|
17948
|
+
};
|
|
17949
|
+
|
|
17950
|
+
|
|
17951
|
+
/**
|
|
17952
|
+
* optional uint64 usage_unavailable_count = 5;
|
|
17885
17953
|
* @return {number}
|
|
17886
17954
|
*/
|
|
17887
|
-
proto.gateway.web.v1.
|
|
17955
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getUsageUnavailableCount = function() {
|
|
17888
17956
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
17889
17957
|
};
|
|
17890
17958
|
|
|
17891
17959
|
|
|
17892
17960
|
/**
|
|
17893
17961
|
* @param {number} value
|
|
17894
|
-
* @return {!proto.gateway.web.v1.
|
|
17962
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17895
17963
|
*/
|
|
17896
|
-
proto.gateway.web.v1.
|
|
17964
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setUsageUnavailableCount = function(value) {
|
|
17897
17965
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
17898
17966
|
};
|
|
17899
17967
|
|
|
17900
17968
|
|
|
17901
17969
|
/**
|
|
17902
|
-
* optional uint64
|
|
17970
|
+
* optional uint64 cost_unavailable_count = 6;
|
|
17903
17971
|
* @return {number}
|
|
17904
17972
|
*/
|
|
17905
|
-
proto.gateway.web.v1.
|
|
17973
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getCostUnavailableCount = function() {
|
|
17906
17974
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
17907
17975
|
};
|
|
17908
17976
|
|
|
17909
17977
|
|
|
17910
17978
|
/**
|
|
17911
17979
|
* @param {number} value
|
|
17912
|
-
* @return {!proto.gateway.web.v1.
|
|
17980
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17913
17981
|
*/
|
|
17914
|
-
proto.gateway.web.v1.
|
|
17982
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setCostUnavailableCount = function(value) {
|
|
17915
17983
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
17916
17984
|
};
|
|
17917
17985
|
|
|
17918
17986
|
|
|
17919
17987
|
/**
|
|
17920
|
-
* optional uint64
|
|
17988
|
+
* optional uint64 tool_calls = 7;
|
|
17921
17989
|
* @return {number}
|
|
17922
17990
|
*/
|
|
17923
|
-
proto.gateway.web.v1.
|
|
17991
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getToolCalls = function() {
|
|
17924
17992
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
17925
17993
|
};
|
|
17926
17994
|
|
|
17927
17995
|
|
|
17928
17996
|
/**
|
|
17929
17997
|
* @param {number} value
|
|
17930
|
-
* @return {!proto.gateway.web.v1.
|
|
17998
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17931
17999
|
*/
|
|
17932
|
-
proto.gateway.web.v1.
|
|
18000
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setToolCalls = function(value) {
|
|
17933
18001
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
17934
18002
|
};
|
|
17935
18003
|
|
|
17936
18004
|
|
|
17937
18005
|
/**
|
|
17938
|
-
* optional uint64
|
|
18006
|
+
* optional uint64 user_messages = 8;
|
|
17939
18007
|
* @return {number}
|
|
17940
18008
|
*/
|
|
17941
|
-
proto.gateway.web.v1.
|
|
18009
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getUserMessages = function() {
|
|
17942
18010
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
17943
18011
|
};
|
|
17944
18012
|
|
|
17945
18013
|
|
|
17946
18014
|
/**
|
|
17947
18015
|
* @param {number} value
|
|
17948
|
-
* @return {!proto.gateway.web.v1.
|
|
18016
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17949
18017
|
*/
|
|
17950
|
-
proto.gateway.web.v1.
|
|
18018
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setUserMessages = function(value) {
|
|
17951
18019
|
return jspb.Message.setProto3IntField(this, 8, value);
|
|
17952
18020
|
};
|
|
17953
18021
|
|
|
17954
18022
|
|
|
17955
18023
|
/**
|
|
17956
|
-
* optional
|
|
18024
|
+
* optional uint64 sessions = 9;
|
|
17957
18025
|
* @return {number}
|
|
17958
18026
|
*/
|
|
17959
|
-
proto.gateway.web.v1.
|
|
17960
|
-
return /** @type {number} */ (jspb.Message.
|
|
18027
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getSessions = function() {
|
|
18028
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
17961
18029
|
};
|
|
17962
18030
|
|
|
17963
18031
|
|
|
17964
18032
|
/**
|
|
17965
18033
|
* @param {number} value
|
|
17966
|
-
* @return {!proto.gateway.web.v1.
|
|
18034
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17967
18035
|
*/
|
|
17968
|
-
proto.gateway.web.v1.
|
|
17969
|
-
return jspb.Message.
|
|
18036
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setSessions = function(value) {
|
|
18037
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
17970
18038
|
};
|
|
17971
18039
|
|
|
17972
18040
|
|
|
17973
18041
|
/**
|
|
17974
|
-
* optional uint64
|
|
18042
|
+
* optional uint64 active_users = 10;
|
|
17975
18043
|
* @return {number}
|
|
17976
18044
|
*/
|
|
17977
|
-
proto.gateway.web.v1.
|
|
18045
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getActiveUsers = function() {
|
|
17978
18046
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
17979
18047
|
};
|
|
17980
18048
|
|
|
17981
18049
|
|
|
17982
18050
|
/**
|
|
17983
18051
|
* @param {number} value
|
|
17984
|
-
* @return {!proto.gateway.web.v1.
|
|
18052
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
17985
18053
|
*/
|
|
17986
|
-
proto.gateway.web.v1.
|
|
18054
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setActiveUsers = function(value) {
|
|
17987
18055
|
return jspb.Message.setProto3IntField(this, 10, value);
|
|
17988
18056
|
};
|
|
17989
18057
|
|
|
17990
18058
|
|
|
17991
18059
|
/**
|
|
17992
|
-
* optional
|
|
17993
|
-
* @return {
|
|
17994
|
-
*/
|
|
17995
|
-
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getCommits = function() {
|
|
17996
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
17997
|
-
};
|
|
17998
|
-
|
|
17999
|
-
|
|
18000
|
-
/**
|
|
18001
|
-
* @param {number} value
|
|
18002
|
-
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
18003
|
-
*/
|
|
18004
|
-
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setCommits = function(value) {
|
|
18005
|
-
return jspb.Message.setProto3IntField(this, 11, value);
|
|
18006
|
-
};
|
|
18007
|
-
|
|
18008
|
-
|
|
18009
|
-
/**
|
|
18010
|
-
* optional uint64 pushes = 12;
|
|
18011
|
-
* @return {number}
|
|
18012
|
-
*/
|
|
18013
|
-
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getPushes = function() {
|
|
18014
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
18015
|
-
};
|
|
18016
|
-
|
|
18017
|
-
|
|
18018
|
-
/**
|
|
18019
|
-
* @param {number} value
|
|
18020
|
-
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
18021
|
-
*/
|
|
18022
|
-
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setPushes = function(value) {
|
|
18023
|
-
return jspb.Message.setProto3IntField(this, 12, value);
|
|
18024
|
-
};
|
|
18025
|
-
|
|
18026
|
-
|
|
18027
|
-
/**
|
|
18028
|
-
* optional uint64 files_touched = 13;
|
|
18029
|
-
* @return {number}
|
|
18030
|
-
*/
|
|
18031
|
-
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getFilesTouched = function() {
|
|
18032
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
18033
|
-
};
|
|
18034
|
-
|
|
18035
|
-
|
|
18036
|
-
/**
|
|
18037
|
-
* @param {number} value
|
|
18038
|
-
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
18039
|
-
*/
|
|
18040
|
-
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setFilesTouched = function(value) {
|
|
18041
|
-
return jspb.Message.setProto3IntField(this, 13, value);
|
|
18042
|
-
};
|
|
18043
|
-
|
|
18044
|
-
|
|
18045
|
-
/**
|
|
18046
|
-
* optional google.protobuf.Timestamp last_activity_at = 14;
|
|
18047
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
18048
|
-
*/
|
|
18049
|
-
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getLastActivityAt = function() {
|
|
18050
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
18051
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 14));
|
|
18052
|
-
};
|
|
18053
|
-
|
|
18054
|
-
|
|
18055
|
-
/**
|
|
18056
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
18057
|
-
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
18058
|
-
*/
|
|
18059
|
-
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setLastActivityAt = function(value) {
|
|
18060
|
-
return jspb.Message.setWrapperField(this, 14, value);
|
|
18061
|
-
};
|
|
18062
|
-
|
|
18063
|
-
|
|
18064
|
-
/**
|
|
18065
|
-
* Clears the message field making it undefined.
|
|
18066
|
-
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
18060
|
+
* optional string top_tool = 11;
|
|
18061
|
+
* @return {string}
|
|
18067
18062
|
*/
|
|
18068
|
-
proto.gateway.web.v1.
|
|
18069
|
-
return
|
|
18063
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.getTopTool = function() {
|
|
18064
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
18070
18065
|
};
|
|
18071
18066
|
|
|
18072
18067
|
|
|
18073
18068
|
/**
|
|
18074
|
-
*
|
|
18075
|
-
* @return {
|
|
18069
|
+
* @param {string} value
|
|
18070
|
+
* @return {!proto.gateway.web.v1.ActivityRhythmBucket} returns this
|
|
18076
18071
|
*/
|
|
18077
|
-
proto.gateway.web.v1.
|
|
18078
|
-
return jspb.Message.
|
|
18072
|
+
proto.gateway.web.v1.ActivityRhythmBucket.prototype.setTopTool = function(value) {
|
|
18073
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
18079
18074
|
};
|
|
18080
18075
|
|
|
18081
18076
|
|
|
@@ -18095,8 +18090,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
18095
18090
|
* http://goto/soy-param-migration
|
|
18096
18091
|
* @return {!Object}
|
|
18097
18092
|
*/
|
|
18098
|
-
proto.gateway.web.v1.
|
|
18099
|
-
return proto.gateway.web.v1.
|
|
18093
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.toObject = function(opt_includeInstance) {
|
|
18094
|
+
return proto.gateway.web.v1.ProjectOverviewRequest.toObject(opt_includeInstance, this);
|
|
18100
18095
|
};
|
|
18101
18096
|
|
|
18102
18097
|
|
|
@@ -18105,17 +18100,16 @@ proto.gateway.web.v1.ProjectOverviewSlice.prototype.toObject = function(opt_incl
|
|
|
18105
18100
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18106
18101
|
* the JSPB instance for transitional soy proto support:
|
|
18107
18102
|
* http://goto/soy-param-migration
|
|
18108
|
-
* @param {!proto.gateway.web.v1.
|
|
18103
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewRequest} msg The msg instance to transform.
|
|
18109
18104
|
* @return {!Object}
|
|
18110
18105
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18111
18106
|
*/
|
|
18112
|
-
proto.gateway.web.v1.
|
|
18107
|
+
proto.gateway.web.v1.ProjectOverviewRequest.toObject = function(includeInstance, msg) {
|
|
18113
18108
|
var f, obj = {
|
|
18114
|
-
|
|
18115
|
-
|
|
18116
|
-
|
|
18117
|
-
|
|
18118
|
-
costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
|
18109
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18110
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18111
|
+
activeAfter: (f = msg.getActiveAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
18112
|
+
topSessions: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
18119
18113
|
};
|
|
18120
18114
|
|
|
18121
18115
|
if (includeInstance) {
|
|
@@ -18129,23 +18123,23 @@ costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
|
|
18129
18123
|
/**
|
|
18130
18124
|
* Deserializes binary data (in protobuf wire format).
|
|
18131
18125
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
18132
|
-
* @return {!proto.gateway.web.v1.
|
|
18126
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewRequest}
|
|
18133
18127
|
*/
|
|
18134
|
-
proto.gateway.web.v1.
|
|
18128
|
+
proto.gateway.web.v1.ProjectOverviewRequest.deserializeBinary = function(bytes) {
|
|
18135
18129
|
var reader = new jspb.BinaryReader(bytes);
|
|
18136
|
-
var msg = new proto.gateway.web.v1.
|
|
18137
|
-
return proto.gateway.web.v1.
|
|
18130
|
+
var msg = new proto.gateway.web.v1.ProjectOverviewRequest;
|
|
18131
|
+
return proto.gateway.web.v1.ProjectOverviewRequest.deserializeBinaryFromReader(msg, reader);
|
|
18138
18132
|
};
|
|
18139
18133
|
|
|
18140
18134
|
|
|
18141
18135
|
/**
|
|
18142
18136
|
* Deserializes binary data (in protobuf wire format) from the
|
|
18143
18137
|
* given reader into the given message object.
|
|
18144
|
-
* @param {!proto.gateway.web.v1.
|
|
18138
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewRequest} msg The message object to deserialize into.
|
|
18145
18139
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18146
|
-
* @return {!proto.gateway.web.v1.
|
|
18140
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewRequest}
|
|
18147
18141
|
*/
|
|
18148
|
-
proto.gateway.web.v1.
|
|
18142
|
+
proto.gateway.web.v1.ProjectOverviewRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
18149
18143
|
while (reader.nextField()) {
|
|
18150
18144
|
if (reader.isEndGroup()) {
|
|
18151
18145
|
break;
|
|
@@ -18154,23 +18148,20 @@ proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader = function
|
|
|
18154
18148
|
switch (field) {
|
|
18155
18149
|
case 1:
|
|
18156
18150
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18157
|
-
msg.
|
|
18151
|
+
msg.setOrganizationId(value);
|
|
18158
18152
|
break;
|
|
18159
18153
|
case 2:
|
|
18160
|
-
var value = /** @type {
|
|
18161
|
-
msg.
|
|
18154
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18155
|
+
msg.setProjectId(value);
|
|
18162
18156
|
break;
|
|
18163
18157
|
case 3:
|
|
18164
|
-
var value =
|
|
18165
|
-
|
|
18158
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
18159
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
18160
|
+
msg.setActiveAfter(value);
|
|
18166
18161
|
break;
|
|
18167
18162
|
case 4:
|
|
18168
|
-
var value = /** @type {number} */ (reader.
|
|
18169
|
-
msg.
|
|
18170
|
-
break;
|
|
18171
|
-
case 5:
|
|
18172
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
18173
|
-
msg.setCostUsd(value);
|
|
18163
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
18164
|
+
msg.setTopSessions(value);
|
|
18174
18165
|
break;
|
|
18175
18166
|
default:
|
|
18176
18167
|
reader.skipField();
|
|
@@ -18182,150 +18173,2272 @@ proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader = function
|
|
|
18182
18173
|
|
|
18183
18174
|
|
|
18184
18175
|
/**
|
|
18185
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
18186
|
-
* @return {!Uint8Array}
|
|
18176
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18177
|
+
* @return {!Uint8Array}
|
|
18178
|
+
*/
|
|
18179
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.serializeBinary = function() {
|
|
18180
|
+
var writer = new jspb.BinaryWriter();
|
|
18181
|
+
proto.gateway.web.v1.ProjectOverviewRequest.serializeBinaryToWriter(this, writer);
|
|
18182
|
+
return writer.getResultBuffer();
|
|
18183
|
+
};
|
|
18184
|
+
|
|
18185
|
+
|
|
18186
|
+
/**
|
|
18187
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18188
|
+
* format), writing to the given BinaryWriter.
|
|
18189
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewRequest} message
|
|
18190
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18191
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18192
|
+
*/
|
|
18193
|
+
proto.gateway.web.v1.ProjectOverviewRequest.serializeBinaryToWriter = function(message, writer) {
|
|
18194
|
+
var f = undefined;
|
|
18195
|
+
f = message.getOrganizationId();
|
|
18196
|
+
if (f.length > 0) {
|
|
18197
|
+
writer.writeString(
|
|
18198
|
+
1,
|
|
18199
|
+
f
|
|
18200
|
+
);
|
|
18201
|
+
}
|
|
18202
|
+
f = message.getProjectId();
|
|
18203
|
+
if (f.length > 0) {
|
|
18204
|
+
writer.writeString(
|
|
18205
|
+
2,
|
|
18206
|
+
f
|
|
18207
|
+
);
|
|
18208
|
+
}
|
|
18209
|
+
f = message.getActiveAfter();
|
|
18210
|
+
if (f != null) {
|
|
18211
|
+
writer.writeMessage(
|
|
18212
|
+
3,
|
|
18213
|
+
f,
|
|
18214
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
18215
|
+
);
|
|
18216
|
+
}
|
|
18217
|
+
f = message.getTopSessions();
|
|
18218
|
+
if (f !== 0) {
|
|
18219
|
+
writer.writeInt32(
|
|
18220
|
+
4,
|
|
18221
|
+
f
|
|
18222
|
+
);
|
|
18223
|
+
}
|
|
18224
|
+
};
|
|
18225
|
+
|
|
18226
|
+
|
|
18227
|
+
/**
|
|
18228
|
+
* optional string organization_id = 1;
|
|
18229
|
+
* @return {string}
|
|
18230
|
+
*/
|
|
18231
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.getOrganizationId = function() {
|
|
18232
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
18233
|
+
};
|
|
18234
|
+
|
|
18235
|
+
|
|
18236
|
+
/**
|
|
18237
|
+
* @param {string} value
|
|
18238
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewRequest} returns this
|
|
18239
|
+
*/
|
|
18240
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.setOrganizationId = function(value) {
|
|
18241
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
18242
|
+
};
|
|
18243
|
+
|
|
18244
|
+
|
|
18245
|
+
/**
|
|
18246
|
+
* optional string project_id = 2;
|
|
18247
|
+
* @return {string}
|
|
18248
|
+
*/
|
|
18249
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.getProjectId = function() {
|
|
18250
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
18251
|
+
};
|
|
18252
|
+
|
|
18253
|
+
|
|
18254
|
+
/**
|
|
18255
|
+
* @param {string} value
|
|
18256
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewRequest} returns this
|
|
18257
|
+
*/
|
|
18258
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.setProjectId = function(value) {
|
|
18259
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
18260
|
+
};
|
|
18261
|
+
|
|
18262
|
+
|
|
18263
|
+
/**
|
|
18264
|
+
* optional google.protobuf.Timestamp active_after = 3;
|
|
18265
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
18266
|
+
*/
|
|
18267
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.getActiveAfter = function() {
|
|
18268
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
18269
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
18270
|
+
};
|
|
18271
|
+
|
|
18272
|
+
|
|
18273
|
+
/**
|
|
18274
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
18275
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewRequest} returns this
|
|
18276
|
+
*/
|
|
18277
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.setActiveAfter = function(value) {
|
|
18278
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
18279
|
+
};
|
|
18280
|
+
|
|
18281
|
+
|
|
18282
|
+
/**
|
|
18283
|
+
* Clears the message field making it undefined.
|
|
18284
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewRequest} returns this
|
|
18285
|
+
*/
|
|
18286
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.clearActiveAfter = function() {
|
|
18287
|
+
return this.setActiveAfter(undefined);
|
|
18288
|
+
};
|
|
18289
|
+
|
|
18290
|
+
|
|
18291
|
+
/**
|
|
18292
|
+
* Returns whether this field is set.
|
|
18293
|
+
* @return {boolean}
|
|
18294
|
+
*/
|
|
18295
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.hasActiveAfter = function() {
|
|
18296
|
+
return jspb.Message.getField(this, 3) != null;
|
|
18297
|
+
};
|
|
18298
|
+
|
|
18299
|
+
|
|
18300
|
+
/**
|
|
18301
|
+
* optional int32 top_sessions = 4;
|
|
18302
|
+
* @return {number}
|
|
18303
|
+
*/
|
|
18304
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.getTopSessions = function() {
|
|
18305
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
18306
|
+
};
|
|
18307
|
+
|
|
18308
|
+
|
|
18309
|
+
/**
|
|
18310
|
+
* @param {number} value
|
|
18311
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewRequest} returns this
|
|
18312
|
+
*/
|
|
18313
|
+
proto.gateway.web.v1.ProjectOverviewRequest.prototype.setTopSessions = function(value) {
|
|
18314
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
18315
|
+
};
|
|
18316
|
+
|
|
18317
|
+
|
|
18318
|
+
|
|
18319
|
+
/**
|
|
18320
|
+
* List of repeated fields within this message type.
|
|
18321
|
+
* @private {!Array<number>}
|
|
18322
|
+
* @const
|
|
18323
|
+
*/
|
|
18324
|
+
proto.gateway.web.v1.ProjectOverview.repeatedFields_ = [2,3,4,5];
|
|
18325
|
+
|
|
18326
|
+
|
|
18327
|
+
|
|
18328
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18329
|
+
/**
|
|
18330
|
+
* Creates an object representation of this proto.
|
|
18331
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18332
|
+
* Optional fields that are not set will be set to undefined.
|
|
18333
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18334
|
+
* For the list of reserved names please see:
|
|
18335
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18336
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18337
|
+
* JSPB instance for transitional soy proto support:
|
|
18338
|
+
* http://goto/soy-param-migration
|
|
18339
|
+
* @return {!Object}
|
|
18340
|
+
*/
|
|
18341
|
+
proto.gateway.web.v1.ProjectOverview.prototype.toObject = function(opt_includeInstance) {
|
|
18342
|
+
return proto.gateway.web.v1.ProjectOverview.toObject(opt_includeInstance, this);
|
|
18343
|
+
};
|
|
18344
|
+
|
|
18345
|
+
|
|
18346
|
+
/**
|
|
18347
|
+
* Static version of the {@see toObject} method.
|
|
18348
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18349
|
+
* the JSPB instance for transitional soy proto support:
|
|
18350
|
+
* http://goto/soy-param-migration
|
|
18351
|
+
* @param {!proto.gateway.web.v1.ProjectOverview} msg The msg instance to transform.
|
|
18352
|
+
* @return {!Object}
|
|
18353
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18354
|
+
*/
|
|
18355
|
+
proto.gateway.web.v1.ProjectOverview.toObject = function(includeInstance, msg) {
|
|
18356
|
+
var f, obj = {
|
|
18357
|
+
totals: (f = msg.getTotals()) && proto.gateway.web.v1.ProjectOverviewTotals.toObject(includeInstance, f),
|
|
18358
|
+
byModelList: jspb.Message.toObjectList(msg.getByModelList(),
|
|
18359
|
+
proto.gateway.web.v1.ProjectOverviewSlice.toObject, includeInstance),
|
|
18360
|
+
byProviderList: jspb.Message.toObjectList(msg.getByProviderList(),
|
|
18361
|
+
proto.gateway.web.v1.ProjectOverviewSlice.toObject, includeInstance),
|
|
18362
|
+
bySourceList: jspb.Message.toObjectList(msg.getBySourceList(),
|
|
18363
|
+
proto.gateway.web.v1.ProjectOverviewSlice.toObject, includeInstance),
|
|
18364
|
+
topSessionsList: jspb.Message.toObjectList(msg.getTopSessionsList(),
|
|
18365
|
+
proto.gateway.web.v1.ProjectSessionRef.toObject, includeInstance)
|
|
18366
|
+
};
|
|
18367
|
+
|
|
18368
|
+
if (includeInstance) {
|
|
18369
|
+
obj.$jspbMessageInstance = msg;
|
|
18370
|
+
}
|
|
18371
|
+
return obj;
|
|
18372
|
+
};
|
|
18373
|
+
}
|
|
18374
|
+
|
|
18375
|
+
|
|
18376
|
+
/**
|
|
18377
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18378
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
18379
|
+
* @return {!proto.gateway.web.v1.ProjectOverview}
|
|
18380
|
+
*/
|
|
18381
|
+
proto.gateway.web.v1.ProjectOverview.deserializeBinary = function(bytes) {
|
|
18382
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18383
|
+
var msg = new proto.gateway.web.v1.ProjectOverview;
|
|
18384
|
+
return proto.gateway.web.v1.ProjectOverview.deserializeBinaryFromReader(msg, reader);
|
|
18385
|
+
};
|
|
18386
|
+
|
|
18387
|
+
|
|
18388
|
+
/**
|
|
18389
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18390
|
+
* given reader into the given message object.
|
|
18391
|
+
* @param {!proto.gateway.web.v1.ProjectOverview} msg The message object to deserialize into.
|
|
18392
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18393
|
+
* @return {!proto.gateway.web.v1.ProjectOverview}
|
|
18394
|
+
*/
|
|
18395
|
+
proto.gateway.web.v1.ProjectOverview.deserializeBinaryFromReader = function(msg, reader) {
|
|
18396
|
+
while (reader.nextField()) {
|
|
18397
|
+
if (reader.isEndGroup()) {
|
|
18398
|
+
break;
|
|
18399
|
+
}
|
|
18400
|
+
var field = reader.getFieldNumber();
|
|
18401
|
+
switch (field) {
|
|
18402
|
+
case 1:
|
|
18403
|
+
var value = new proto.gateway.web.v1.ProjectOverviewTotals;
|
|
18404
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectOverviewTotals.deserializeBinaryFromReader);
|
|
18405
|
+
msg.setTotals(value);
|
|
18406
|
+
break;
|
|
18407
|
+
case 2:
|
|
18408
|
+
var value = new proto.gateway.web.v1.ProjectOverviewSlice;
|
|
18409
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader);
|
|
18410
|
+
msg.addByModel(value);
|
|
18411
|
+
break;
|
|
18412
|
+
case 3:
|
|
18413
|
+
var value = new proto.gateway.web.v1.ProjectOverviewSlice;
|
|
18414
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader);
|
|
18415
|
+
msg.addByProvider(value);
|
|
18416
|
+
break;
|
|
18417
|
+
case 4:
|
|
18418
|
+
var value = new proto.gateway.web.v1.ProjectOverviewSlice;
|
|
18419
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader);
|
|
18420
|
+
msg.addBySource(value);
|
|
18421
|
+
break;
|
|
18422
|
+
case 5:
|
|
18423
|
+
var value = new proto.gateway.web.v1.ProjectSessionRef;
|
|
18424
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectSessionRef.deserializeBinaryFromReader);
|
|
18425
|
+
msg.addTopSessions(value);
|
|
18426
|
+
break;
|
|
18427
|
+
default:
|
|
18428
|
+
reader.skipField();
|
|
18429
|
+
break;
|
|
18430
|
+
}
|
|
18431
|
+
}
|
|
18432
|
+
return msg;
|
|
18433
|
+
};
|
|
18434
|
+
|
|
18435
|
+
|
|
18436
|
+
/**
|
|
18437
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18438
|
+
* @return {!Uint8Array}
|
|
18439
|
+
*/
|
|
18440
|
+
proto.gateway.web.v1.ProjectOverview.prototype.serializeBinary = function() {
|
|
18441
|
+
var writer = new jspb.BinaryWriter();
|
|
18442
|
+
proto.gateway.web.v1.ProjectOverview.serializeBinaryToWriter(this, writer);
|
|
18443
|
+
return writer.getResultBuffer();
|
|
18444
|
+
};
|
|
18445
|
+
|
|
18446
|
+
|
|
18447
|
+
/**
|
|
18448
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18449
|
+
* format), writing to the given BinaryWriter.
|
|
18450
|
+
* @param {!proto.gateway.web.v1.ProjectOverview} message
|
|
18451
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18452
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18453
|
+
*/
|
|
18454
|
+
proto.gateway.web.v1.ProjectOverview.serializeBinaryToWriter = function(message, writer) {
|
|
18455
|
+
var f = undefined;
|
|
18456
|
+
f = message.getTotals();
|
|
18457
|
+
if (f != null) {
|
|
18458
|
+
writer.writeMessage(
|
|
18459
|
+
1,
|
|
18460
|
+
f,
|
|
18461
|
+
proto.gateway.web.v1.ProjectOverviewTotals.serializeBinaryToWriter
|
|
18462
|
+
);
|
|
18463
|
+
}
|
|
18464
|
+
f = message.getByModelList();
|
|
18465
|
+
if (f.length > 0) {
|
|
18466
|
+
writer.writeRepeatedMessage(
|
|
18467
|
+
2,
|
|
18468
|
+
f,
|
|
18469
|
+
proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter
|
|
18470
|
+
);
|
|
18471
|
+
}
|
|
18472
|
+
f = message.getByProviderList();
|
|
18473
|
+
if (f.length > 0) {
|
|
18474
|
+
writer.writeRepeatedMessage(
|
|
18475
|
+
3,
|
|
18476
|
+
f,
|
|
18477
|
+
proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter
|
|
18478
|
+
);
|
|
18479
|
+
}
|
|
18480
|
+
f = message.getBySourceList();
|
|
18481
|
+
if (f.length > 0) {
|
|
18482
|
+
writer.writeRepeatedMessage(
|
|
18483
|
+
4,
|
|
18484
|
+
f,
|
|
18485
|
+
proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter
|
|
18486
|
+
);
|
|
18487
|
+
}
|
|
18488
|
+
f = message.getTopSessionsList();
|
|
18489
|
+
if (f.length > 0) {
|
|
18490
|
+
writer.writeRepeatedMessage(
|
|
18491
|
+
5,
|
|
18492
|
+
f,
|
|
18493
|
+
proto.gateway.web.v1.ProjectSessionRef.serializeBinaryToWriter
|
|
18494
|
+
);
|
|
18495
|
+
}
|
|
18496
|
+
};
|
|
18497
|
+
|
|
18498
|
+
|
|
18499
|
+
/**
|
|
18500
|
+
* optional ProjectOverviewTotals totals = 1;
|
|
18501
|
+
* @return {?proto.gateway.web.v1.ProjectOverviewTotals}
|
|
18502
|
+
*/
|
|
18503
|
+
proto.gateway.web.v1.ProjectOverview.prototype.getTotals = function() {
|
|
18504
|
+
return /** @type{?proto.gateway.web.v1.ProjectOverviewTotals} */ (
|
|
18505
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.ProjectOverviewTotals, 1));
|
|
18506
|
+
};
|
|
18507
|
+
|
|
18508
|
+
|
|
18509
|
+
/**
|
|
18510
|
+
* @param {?proto.gateway.web.v1.ProjectOverviewTotals|undefined} value
|
|
18511
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
18512
|
+
*/
|
|
18513
|
+
proto.gateway.web.v1.ProjectOverview.prototype.setTotals = function(value) {
|
|
18514
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
18515
|
+
};
|
|
18516
|
+
|
|
18517
|
+
|
|
18518
|
+
/**
|
|
18519
|
+
* Clears the message field making it undefined.
|
|
18520
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
18521
|
+
*/
|
|
18522
|
+
proto.gateway.web.v1.ProjectOverview.prototype.clearTotals = function() {
|
|
18523
|
+
return this.setTotals(undefined);
|
|
18524
|
+
};
|
|
18525
|
+
|
|
18526
|
+
|
|
18527
|
+
/**
|
|
18528
|
+
* Returns whether this field is set.
|
|
18529
|
+
* @return {boolean}
|
|
18530
|
+
*/
|
|
18531
|
+
proto.gateway.web.v1.ProjectOverview.prototype.hasTotals = function() {
|
|
18532
|
+
return jspb.Message.getField(this, 1) != null;
|
|
18533
|
+
};
|
|
18534
|
+
|
|
18535
|
+
|
|
18536
|
+
/**
|
|
18537
|
+
* repeated ProjectOverviewSlice by_model = 2;
|
|
18538
|
+
* @return {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>}
|
|
18539
|
+
*/
|
|
18540
|
+
proto.gateway.web.v1.ProjectOverview.prototype.getByModelList = function() {
|
|
18541
|
+
return /** @type{!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} */ (
|
|
18542
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectOverviewSlice, 2));
|
|
18543
|
+
};
|
|
18544
|
+
|
|
18545
|
+
|
|
18546
|
+
/**
|
|
18547
|
+
* @param {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} value
|
|
18548
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
18549
|
+
*/
|
|
18550
|
+
proto.gateway.web.v1.ProjectOverview.prototype.setByModelList = function(value) {
|
|
18551
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
18552
|
+
};
|
|
18553
|
+
|
|
18554
|
+
|
|
18555
|
+
/**
|
|
18556
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewSlice=} opt_value
|
|
18557
|
+
* @param {number=} opt_index
|
|
18558
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice}
|
|
18559
|
+
*/
|
|
18560
|
+
proto.gateway.web.v1.ProjectOverview.prototype.addByModel = function(opt_value, opt_index) {
|
|
18561
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.ProjectOverviewSlice, opt_index);
|
|
18562
|
+
};
|
|
18563
|
+
|
|
18564
|
+
|
|
18565
|
+
/**
|
|
18566
|
+
* Clears the list making it empty but non-null.
|
|
18567
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
18568
|
+
*/
|
|
18569
|
+
proto.gateway.web.v1.ProjectOverview.prototype.clearByModelList = function() {
|
|
18570
|
+
return this.setByModelList([]);
|
|
18571
|
+
};
|
|
18572
|
+
|
|
18573
|
+
|
|
18574
|
+
/**
|
|
18575
|
+
* repeated ProjectOverviewSlice by_provider = 3;
|
|
18576
|
+
* @return {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>}
|
|
18577
|
+
*/
|
|
18578
|
+
proto.gateway.web.v1.ProjectOverview.prototype.getByProviderList = function() {
|
|
18579
|
+
return /** @type{!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} */ (
|
|
18580
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectOverviewSlice, 3));
|
|
18581
|
+
};
|
|
18582
|
+
|
|
18583
|
+
|
|
18584
|
+
/**
|
|
18585
|
+
* @param {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} value
|
|
18586
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
18587
|
+
*/
|
|
18588
|
+
proto.gateway.web.v1.ProjectOverview.prototype.setByProviderList = function(value) {
|
|
18589
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
18590
|
+
};
|
|
18591
|
+
|
|
18592
|
+
|
|
18593
|
+
/**
|
|
18594
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewSlice=} opt_value
|
|
18595
|
+
* @param {number=} opt_index
|
|
18596
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice}
|
|
18597
|
+
*/
|
|
18598
|
+
proto.gateway.web.v1.ProjectOverview.prototype.addByProvider = function(opt_value, opt_index) {
|
|
18599
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.ProjectOverviewSlice, opt_index);
|
|
18600
|
+
};
|
|
18601
|
+
|
|
18602
|
+
|
|
18603
|
+
/**
|
|
18604
|
+
* Clears the list making it empty but non-null.
|
|
18605
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
18606
|
+
*/
|
|
18607
|
+
proto.gateway.web.v1.ProjectOverview.prototype.clearByProviderList = function() {
|
|
18608
|
+
return this.setByProviderList([]);
|
|
18609
|
+
};
|
|
18610
|
+
|
|
18611
|
+
|
|
18612
|
+
/**
|
|
18613
|
+
* repeated ProjectOverviewSlice by_source = 4;
|
|
18614
|
+
* @return {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>}
|
|
18615
|
+
*/
|
|
18616
|
+
proto.gateway.web.v1.ProjectOverview.prototype.getBySourceList = function() {
|
|
18617
|
+
return /** @type{!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} */ (
|
|
18618
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectOverviewSlice, 4));
|
|
18619
|
+
};
|
|
18620
|
+
|
|
18621
|
+
|
|
18622
|
+
/**
|
|
18623
|
+
* @param {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} value
|
|
18624
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
18625
|
+
*/
|
|
18626
|
+
proto.gateway.web.v1.ProjectOverview.prototype.setBySourceList = function(value) {
|
|
18627
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
18628
|
+
};
|
|
18629
|
+
|
|
18630
|
+
|
|
18631
|
+
/**
|
|
18632
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewSlice=} opt_value
|
|
18633
|
+
* @param {number=} opt_index
|
|
18634
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice}
|
|
18635
|
+
*/
|
|
18636
|
+
proto.gateway.web.v1.ProjectOverview.prototype.addBySource = function(opt_value, opt_index) {
|
|
18637
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.gateway.web.v1.ProjectOverviewSlice, opt_index);
|
|
18638
|
+
};
|
|
18639
|
+
|
|
18640
|
+
|
|
18641
|
+
/**
|
|
18642
|
+
* Clears the list making it empty but non-null.
|
|
18643
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
18644
|
+
*/
|
|
18645
|
+
proto.gateway.web.v1.ProjectOverview.prototype.clearBySourceList = function() {
|
|
18646
|
+
return this.setBySourceList([]);
|
|
18647
|
+
};
|
|
18648
|
+
|
|
18649
|
+
|
|
18650
|
+
/**
|
|
18651
|
+
* repeated ProjectSessionRef top_sessions = 5;
|
|
18652
|
+
* @return {!Array<!proto.gateway.web.v1.ProjectSessionRef>}
|
|
18653
|
+
*/
|
|
18654
|
+
proto.gateway.web.v1.ProjectOverview.prototype.getTopSessionsList = function() {
|
|
18655
|
+
return /** @type{!Array<!proto.gateway.web.v1.ProjectSessionRef>} */ (
|
|
18656
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectSessionRef, 5));
|
|
18657
|
+
};
|
|
18658
|
+
|
|
18659
|
+
|
|
18660
|
+
/**
|
|
18661
|
+
* @param {!Array<!proto.gateway.web.v1.ProjectSessionRef>} value
|
|
18662
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
18663
|
+
*/
|
|
18664
|
+
proto.gateway.web.v1.ProjectOverview.prototype.setTopSessionsList = function(value) {
|
|
18665
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
18666
|
+
};
|
|
18667
|
+
|
|
18668
|
+
|
|
18669
|
+
/**
|
|
18670
|
+
* @param {!proto.gateway.web.v1.ProjectSessionRef=} opt_value
|
|
18671
|
+
* @param {number=} opt_index
|
|
18672
|
+
* @return {!proto.gateway.web.v1.ProjectSessionRef}
|
|
18673
|
+
*/
|
|
18674
|
+
proto.gateway.web.v1.ProjectOverview.prototype.addTopSessions = function(opt_value, opt_index) {
|
|
18675
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.gateway.web.v1.ProjectSessionRef, opt_index);
|
|
18676
|
+
};
|
|
18677
|
+
|
|
18678
|
+
|
|
18679
|
+
/**
|
|
18680
|
+
* Clears the list making it empty but non-null.
|
|
18681
|
+
* @return {!proto.gateway.web.v1.ProjectOverview} returns this
|
|
18682
|
+
*/
|
|
18683
|
+
proto.gateway.web.v1.ProjectOverview.prototype.clearTopSessionsList = function() {
|
|
18684
|
+
return this.setTopSessionsList([]);
|
|
18685
|
+
};
|
|
18686
|
+
|
|
18687
|
+
|
|
18688
|
+
|
|
18689
|
+
|
|
18690
|
+
|
|
18691
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18692
|
+
/**
|
|
18693
|
+
* Creates an object representation of this proto.
|
|
18694
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18695
|
+
* Optional fields that are not set will be set to undefined.
|
|
18696
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18697
|
+
* For the list of reserved names please see:
|
|
18698
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18699
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18700
|
+
* JSPB instance for transitional soy proto support:
|
|
18701
|
+
* http://goto/soy-param-migration
|
|
18702
|
+
* @return {!Object}
|
|
18703
|
+
*/
|
|
18704
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.toObject = function(opt_includeInstance) {
|
|
18705
|
+
return proto.gateway.web.v1.ProjectOverviewTotals.toObject(opt_includeInstance, this);
|
|
18706
|
+
};
|
|
18707
|
+
|
|
18708
|
+
|
|
18709
|
+
/**
|
|
18710
|
+
* Static version of the {@see toObject} method.
|
|
18711
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18712
|
+
* the JSPB instance for transitional soy proto support:
|
|
18713
|
+
* http://goto/soy-param-migration
|
|
18714
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewTotals} msg The msg instance to transform.
|
|
18715
|
+
* @return {!Object}
|
|
18716
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18717
|
+
*/
|
|
18718
|
+
proto.gateway.web.v1.ProjectOverviewTotals.toObject = function(includeInstance, msg) {
|
|
18719
|
+
var f, obj = {
|
|
18720
|
+
sessions: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
18721
|
+
modelCalls: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
18722
|
+
toolCalls: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
18723
|
+
userMessages: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
18724
|
+
inputTokens: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
18725
|
+
outputTokens: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
18726
|
+
cacheReadTokens: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
18727
|
+
cacheWriteTokens: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
18728
|
+
costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
18729
|
+
distinctUsers: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
18730
|
+
commits: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
18731
|
+
pushes: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
18732
|
+
filesTouched: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
18733
|
+
lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
18734
|
+
};
|
|
18735
|
+
|
|
18736
|
+
if (includeInstance) {
|
|
18737
|
+
obj.$jspbMessageInstance = msg;
|
|
18738
|
+
}
|
|
18739
|
+
return obj;
|
|
18740
|
+
};
|
|
18741
|
+
}
|
|
18742
|
+
|
|
18743
|
+
|
|
18744
|
+
/**
|
|
18745
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18746
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
18747
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals}
|
|
18748
|
+
*/
|
|
18749
|
+
proto.gateway.web.v1.ProjectOverviewTotals.deserializeBinary = function(bytes) {
|
|
18750
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18751
|
+
var msg = new proto.gateway.web.v1.ProjectOverviewTotals;
|
|
18752
|
+
return proto.gateway.web.v1.ProjectOverviewTotals.deserializeBinaryFromReader(msg, reader);
|
|
18753
|
+
};
|
|
18754
|
+
|
|
18755
|
+
|
|
18756
|
+
/**
|
|
18757
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18758
|
+
* given reader into the given message object.
|
|
18759
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewTotals} msg The message object to deserialize into.
|
|
18760
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18761
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals}
|
|
18762
|
+
*/
|
|
18763
|
+
proto.gateway.web.v1.ProjectOverviewTotals.deserializeBinaryFromReader = function(msg, reader) {
|
|
18764
|
+
while (reader.nextField()) {
|
|
18765
|
+
if (reader.isEndGroup()) {
|
|
18766
|
+
break;
|
|
18767
|
+
}
|
|
18768
|
+
var field = reader.getFieldNumber();
|
|
18769
|
+
switch (field) {
|
|
18770
|
+
case 1:
|
|
18771
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18772
|
+
msg.setSessions(value);
|
|
18773
|
+
break;
|
|
18774
|
+
case 2:
|
|
18775
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18776
|
+
msg.setModelCalls(value);
|
|
18777
|
+
break;
|
|
18778
|
+
case 3:
|
|
18779
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18780
|
+
msg.setToolCalls(value);
|
|
18781
|
+
break;
|
|
18782
|
+
case 4:
|
|
18783
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18784
|
+
msg.setUserMessages(value);
|
|
18785
|
+
break;
|
|
18786
|
+
case 5:
|
|
18787
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18788
|
+
msg.setInputTokens(value);
|
|
18789
|
+
break;
|
|
18790
|
+
case 6:
|
|
18791
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18792
|
+
msg.setOutputTokens(value);
|
|
18793
|
+
break;
|
|
18794
|
+
case 7:
|
|
18795
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18796
|
+
msg.setCacheReadTokens(value);
|
|
18797
|
+
break;
|
|
18798
|
+
case 8:
|
|
18799
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18800
|
+
msg.setCacheWriteTokens(value);
|
|
18801
|
+
break;
|
|
18802
|
+
case 9:
|
|
18803
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
18804
|
+
msg.setCostUsd(value);
|
|
18805
|
+
break;
|
|
18806
|
+
case 10:
|
|
18807
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18808
|
+
msg.setDistinctUsers(value);
|
|
18809
|
+
break;
|
|
18810
|
+
case 11:
|
|
18811
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18812
|
+
msg.setCommits(value);
|
|
18813
|
+
break;
|
|
18814
|
+
case 12:
|
|
18815
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18816
|
+
msg.setPushes(value);
|
|
18817
|
+
break;
|
|
18818
|
+
case 13:
|
|
18819
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18820
|
+
msg.setFilesTouched(value);
|
|
18821
|
+
break;
|
|
18822
|
+
case 14:
|
|
18823
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
18824
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
18825
|
+
msg.setLastActivityAt(value);
|
|
18826
|
+
break;
|
|
18827
|
+
default:
|
|
18828
|
+
reader.skipField();
|
|
18829
|
+
break;
|
|
18830
|
+
}
|
|
18831
|
+
}
|
|
18832
|
+
return msg;
|
|
18833
|
+
};
|
|
18834
|
+
|
|
18835
|
+
|
|
18836
|
+
/**
|
|
18837
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18838
|
+
* @return {!Uint8Array}
|
|
18839
|
+
*/
|
|
18840
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.serializeBinary = function() {
|
|
18841
|
+
var writer = new jspb.BinaryWriter();
|
|
18842
|
+
proto.gateway.web.v1.ProjectOverviewTotals.serializeBinaryToWriter(this, writer);
|
|
18843
|
+
return writer.getResultBuffer();
|
|
18844
|
+
};
|
|
18845
|
+
|
|
18846
|
+
|
|
18847
|
+
/**
|
|
18848
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18849
|
+
* format), writing to the given BinaryWriter.
|
|
18850
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewTotals} message
|
|
18851
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18852
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18853
|
+
*/
|
|
18854
|
+
proto.gateway.web.v1.ProjectOverviewTotals.serializeBinaryToWriter = function(message, writer) {
|
|
18855
|
+
var f = undefined;
|
|
18856
|
+
f = message.getSessions();
|
|
18857
|
+
if (f !== 0) {
|
|
18858
|
+
writer.writeUint64(
|
|
18859
|
+
1,
|
|
18860
|
+
f
|
|
18861
|
+
);
|
|
18862
|
+
}
|
|
18863
|
+
f = message.getModelCalls();
|
|
18864
|
+
if (f !== 0) {
|
|
18865
|
+
writer.writeUint64(
|
|
18866
|
+
2,
|
|
18867
|
+
f
|
|
18868
|
+
);
|
|
18869
|
+
}
|
|
18870
|
+
f = message.getToolCalls();
|
|
18871
|
+
if (f !== 0) {
|
|
18872
|
+
writer.writeUint64(
|
|
18873
|
+
3,
|
|
18874
|
+
f
|
|
18875
|
+
);
|
|
18876
|
+
}
|
|
18877
|
+
f = message.getUserMessages();
|
|
18878
|
+
if (f !== 0) {
|
|
18879
|
+
writer.writeUint64(
|
|
18880
|
+
4,
|
|
18881
|
+
f
|
|
18882
|
+
);
|
|
18883
|
+
}
|
|
18884
|
+
f = message.getInputTokens();
|
|
18885
|
+
if (f !== 0) {
|
|
18886
|
+
writer.writeUint64(
|
|
18887
|
+
5,
|
|
18888
|
+
f
|
|
18889
|
+
);
|
|
18890
|
+
}
|
|
18891
|
+
f = message.getOutputTokens();
|
|
18892
|
+
if (f !== 0) {
|
|
18893
|
+
writer.writeUint64(
|
|
18894
|
+
6,
|
|
18895
|
+
f
|
|
18896
|
+
);
|
|
18897
|
+
}
|
|
18898
|
+
f = message.getCacheReadTokens();
|
|
18899
|
+
if (f !== 0) {
|
|
18900
|
+
writer.writeUint64(
|
|
18901
|
+
7,
|
|
18902
|
+
f
|
|
18903
|
+
);
|
|
18904
|
+
}
|
|
18905
|
+
f = message.getCacheWriteTokens();
|
|
18906
|
+
if (f !== 0) {
|
|
18907
|
+
writer.writeUint64(
|
|
18908
|
+
8,
|
|
18909
|
+
f
|
|
18910
|
+
);
|
|
18911
|
+
}
|
|
18912
|
+
f = message.getCostUsd();
|
|
18913
|
+
if (f !== 0.0) {
|
|
18914
|
+
writer.writeDouble(
|
|
18915
|
+
9,
|
|
18916
|
+
f
|
|
18917
|
+
);
|
|
18918
|
+
}
|
|
18919
|
+
f = message.getDistinctUsers();
|
|
18920
|
+
if (f !== 0) {
|
|
18921
|
+
writer.writeUint64(
|
|
18922
|
+
10,
|
|
18923
|
+
f
|
|
18924
|
+
);
|
|
18925
|
+
}
|
|
18926
|
+
f = message.getCommits();
|
|
18927
|
+
if (f !== 0) {
|
|
18928
|
+
writer.writeUint64(
|
|
18929
|
+
11,
|
|
18930
|
+
f
|
|
18931
|
+
);
|
|
18932
|
+
}
|
|
18933
|
+
f = message.getPushes();
|
|
18934
|
+
if (f !== 0) {
|
|
18935
|
+
writer.writeUint64(
|
|
18936
|
+
12,
|
|
18937
|
+
f
|
|
18938
|
+
);
|
|
18939
|
+
}
|
|
18940
|
+
f = message.getFilesTouched();
|
|
18941
|
+
if (f !== 0) {
|
|
18942
|
+
writer.writeUint64(
|
|
18943
|
+
13,
|
|
18944
|
+
f
|
|
18945
|
+
);
|
|
18946
|
+
}
|
|
18947
|
+
f = message.getLastActivityAt();
|
|
18948
|
+
if (f != null) {
|
|
18949
|
+
writer.writeMessage(
|
|
18950
|
+
14,
|
|
18951
|
+
f,
|
|
18952
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
18953
|
+
);
|
|
18954
|
+
}
|
|
18955
|
+
};
|
|
18956
|
+
|
|
18957
|
+
|
|
18958
|
+
/**
|
|
18959
|
+
* optional uint64 sessions = 1;
|
|
18960
|
+
* @return {number}
|
|
18961
|
+
*/
|
|
18962
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getSessions = function() {
|
|
18963
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
18964
|
+
};
|
|
18965
|
+
|
|
18966
|
+
|
|
18967
|
+
/**
|
|
18968
|
+
* @param {number} value
|
|
18969
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
18970
|
+
*/
|
|
18971
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setSessions = function(value) {
|
|
18972
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
18973
|
+
};
|
|
18974
|
+
|
|
18975
|
+
|
|
18976
|
+
/**
|
|
18977
|
+
* optional uint64 model_calls = 2;
|
|
18978
|
+
* @return {number}
|
|
18979
|
+
*/
|
|
18980
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getModelCalls = function() {
|
|
18981
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
18982
|
+
};
|
|
18983
|
+
|
|
18984
|
+
|
|
18985
|
+
/**
|
|
18986
|
+
* @param {number} value
|
|
18987
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
18988
|
+
*/
|
|
18989
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setModelCalls = function(value) {
|
|
18990
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
18991
|
+
};
|
|
18992
|
+
|
|
18993
|
+
|
|
18994
|
+
/**
|
|
18995
|
+
* optional uint64 tool_calls = 3;
|
|
18996
|
+
* @return {number}
|
|
18997
|
+
*/
|
|
18998
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getToolCalls = function() {
|
|
18999
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
19000
|
+
};
|
|
19001
|
+
|
|
19002
|
+
|
|
19003
|
+
/**
|
|
19004
|
+
* @param {number} value
|
|
19005
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19006
|
+
*/
|
|
19007
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setToolCalls = function(value) {
|
|
19008
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
19009
|
+
};
|
|
19010
|
+
|
|
19011
|
+
|
|
19012
|
+
/**
|
|
19013
|
+
* optional uint64 user_messages = 4;
|
|
19014
|
+
* @return {number}
|
|
19015
|
+
*/
|
|
19016
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getUserMessages = function() {
|
|
19017
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
19018
|
+
};
|
|
19019
|
+
|
|
19020
|
+
|
|
19021
|
+
/**
|
|
19022
|
+
* @param {number} value
|
|
19023
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19024
|
+
*/
|
|
19025
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setUserMessages = function(value) {
|
|
19026
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
19027
|
+
};
|
|
19028
|
+
|
|
19029
|
+
|
|
19030
|
+
/**
|
|
19031
|
+
* optional uint64 input_tokens = 5;
|
|
19032
|
+
* @return {number}
|
|
19033
|
+
*/
|
|
19034
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getInputTokens = function() {
|
|
19035
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
19036
|
+
};
|
|
19037
|
+
|
|
19038
|
+
|
|
19039
|
+
/**
|
|
19040
|
+
* @param {number} value
|
|
19041
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19042
|
+
*/
|
|
19043
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setInputTokens = function(value) {
|
|
19044
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
19045
|
+
};
|
|
19046
|
+
|
|
19047
|
+
|
|
19048
|
+
/**
|
|
19049
|
+
* optional uint64 output_tokens = 6;
|
|
19050
|
+
* @return {number}
|
|
19051
|
+
*/
|
|
19052
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getOutputTokens = function() {
|
|
19053
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
19054
|
+
};
|
|
19055
|
+
|
|
19056
|
+
|
|
19057
|
+
/**
|
|
19058
|
+
* @param {number} value
|
|
19059
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19060
|
+
*/
|
|
19061
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setOutputTokens = function(value) {
|
|
19062
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
19063
|
+
};
|
|
19064
|
+
|
|
19065
|
+
|
|
19066
|
+
/**
|
|
19067
|
+
* optional uint64 cache_read_tokens = 7;
|
|
19068
|
+
* @return {number}
|
|
19069
|
+
*/
|
|
19070
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getCacheReadTokens = function() {
|
|
19071
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
19072
|
+
};
|
|
19073
|
+
|
|
19074
|
+
|
|
19075
|
+
/**
|
|
19076
|
+
* @param {number} value
|
|
19077
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19078
|
+
*/
|
|
19079
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setCacheReadTokens = function(value) {
|
|
19080
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
19081
|
+
};
|
|
19082
|
+
|
|
19083
|
+
|
|
19084
|
+
/**
|
|
19085
|
+
* optional uint64 cache_write_tokens = 8;
|
|
19086
|
+
* @return {number}
|
|
19087
|
+
*/
|
|
19088
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getCacheWriteTokens = function() {
|
|
19089
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
19090
|
+
};
|
|
19091
|
+
|
|
19092
|
+
|
|
19093
|
+
/**
|
|
19094
|
+
* @param {number} value
|
|
19095
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19096
|
+
*/
|
|
19097
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setCacheWriteTokens = function(value) {
|
|
19098
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
19099
|
+
};
|
|
19100
|
+
|
|
19101
|
+
|
|
19102
|
+
/**
|
|
19103
|
+
* optional double cost_usd = 9;
|
|
19104
|
+
* @return {number}
|
|
19105
|
+
*/
|
|
19106
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getCostUsd = function() {
|
|
19107
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
19108
|
+
};
|
|
19109
|
+
|
|
19110
|
+
|
|
19111
|
+
/**
|
|
19112
|
+
* @param {number} value
|
|
19113
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19114
|
+
*/
|
|
19115
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setCostUsd = function(value) {
|
|
19116
|
+
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
19117
|
+
};
|
|
19118
|
+
|
|
19119
|
+
|
|
19120
|
+
/**
|
|
19121
|
+
* optional uint64 distinct_users = 10;
|
|
19122
|
+
* @return {number}
|
|
19123
|
+
*/
|
|
19124
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getDistinctUsers = function() {
|
|
19125
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
19126
|
+
};
|
|
19127
|
+
|
|
19128
|
+
|
|
19129
|
+
/**
|
|
19130
|
+
* @param {number} value
|
|
19131
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19132
|
+
*/
|
|
19133
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setDistinctUsers = function(value) {
|
|
19134
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
19135
|
+
};
|
|
19136
|
+
|
|
19137
|
+
|
|
19138
|
+
/**
|
|
19139
|
+
* optional uint64 commits = 11;
|
|
19140
|
+
* @return {number}
|
|
19141
|
+
*/
|
|
19142
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getCommits = function() {
|
|
19143
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
19144
|
+
};
|
|
19145
|
+
|
|
19146
|
+
|
|
19147
|
+
/**
|
|
19148
|
+
* @param {number} value
|
|
19149
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19150
|
+
*/
|
|
19151
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setCommits = function(value) {
|
|
19152
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
|
19153
|
+
};
|
|
19154
|
+
|
|
19155
|
+
|
|
19156
|
+
/**
|
|
19157
|
+
* optional uint64 pushes = 12;
|
|
19158
|
+
* @return {number}
|
|
19159
|
+
*/
|
|
19160
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getPushes = function() {
|
|
19161
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
19162
|
+
};
|
|
19163
|
+
|
|
19164
|
+
|
|
19165
|
+
/**
|
|
19166
|
+
* @param {number} value
|
|
19167
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19168
|
+
*/
|
|
19169
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setPushes = function(value) {
|
|
19170
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
19171
|
+
};
|
|
19172
|
+
|
|
19173
|
+
|
|
19174
|
+
/**
|
|
19175
|
+
* optional uint64 files_touched = 13;
|
|
19176
|
+
* @return {number}
|
|
19177
|
+
*/
|
|
19178
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getFilesTouched = function() {
|
|
19179
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
19180
|
+
};
|
|
19181
|
+
|
|
19182
|
+
|
|
19183
|
+
/**
|
|
19184
|
+
* @param {number} value
|
|
19185
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19186
|
+
*/
|
|
19187
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setFilesTouched = function(value) {
|
|
19188
|
+
return jspb.Message.setProto3IntField(this, 13, value);
|
|
19189
|
+
};
|
|
19190
|
+
|
|
19191
|
+
|
|
19192
|
+
/**
|
|
19193
|
+
* optional google.protobuf.Timestamp last_activity_at = 14;
|
|
19194
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
19195
|
+
*/
|
|
19196
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getLastActivityAt = function() {
|
|
19197
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
19198
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 14));
|
|
19199
|
+
};
|
|
19200
|
+
|
|
19201
|
+
|
|
19202
|
+
/**
|
|
19203
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
19204
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19205
|
+
*/
|
|
19206
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setLastActivityAt = function(value) {
|
|
19207
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
19208
|
+
};
|
|
19209
|
+
|
|
19210
|
+
|
|
19211
|
+
/**
|
|
19212
|
+
* Clears the message field making it undefined.
|
|
19213
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
19214
|
+
*/
|
|
19215
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.clearLastActivityAt = function() {
|
|
19216
|
+
return this.setLastActivityAt(undefined);
|
|
19217
|
+
};
|
|
19218
|
+
|
|
19219
|
+
|
|
19220
|
+
/**
|
|
19221
|
+
* Returns whether this field is set.
|
|
19222
|
+
* @return {boolean}
|
|
19223
|
+
*/
|
|
19224
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.hasLastActivityAt = function() {
|
|
19225
|
+
return jspb.Message.getField(this, 14) != null;
|
|
19226
|
+
};
|
|
19227
|
+
|
|
19228
|
+
|
|
19229
|
+
|
|
19230
|
+
|
|
19231
|
+
|
|
19232
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19233
|
+
/**
|
|
19234
|
+
* Creates an object representation of this proto.
|
|
19235
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19236
|
+
* Optional fields that are not set will be set to undefined.
|
|
19237
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19238
|
+
* For the list of reserved names please see:
|
|
19239
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19240
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19241
|
+
* JSPB instance for transitional soy proto support:
|
|
19242
|
+
* http://goto/soy-param-migration
|
|
19243
|
+
* @return {!Object}
|
|
19244
|
+
*/
|
|
19245
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.toObject = function(opt_includeInstance) {
|
|
19246
|
+
return proto.gateway.web.v1.ProjectOverviewSlice.toObject(opt_includeInstance, this);
|
|
19247
|
+
};
|
|
19248
|
+
|
|
19249
|
+
|
|
19250
|
+
/**
|
|
19251
|
+
* Static version of the {@see toObject} method.
|
|
19252
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19253
|
+
* the JSPB instance for transitional soy proto support:
|
|
19254
|
+
* http://goto/soy-param-migration
|
|
19255
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewSlice} msg The msg instance to transform.
|
|
19256
|
+
* @return {!Object}
|
|
19257
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19258
|
+
*/
|
|
19259
|
+
proto.gateway.web.v1.ProjectOverviewSlice.toObject = function(includeInstance, msg) {
|
|
19260
|
+
var f, obj = {
|
|
19261
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19262
|
+
modelCalls: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
19263
|
+
inputTokens: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
19264
|
+
outputTokens: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
19265
|
+
costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
|
19266
|
+
};
|
|
19267
|
+
|
|
19268
|
+
if (includeInstance) {
|
|
19269
|
+
obj.$jspbMessageInstance = msg;
|
|
19270
|
+
}
|
|
19271
|
+
return obj;
|
|
19272
|
+
};
|
|
19273
|
+
}
|
|
19274
|
+
|
|
19275
|
+
|
|
19276
|
+
/**
|
|
19277
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19278
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
19279
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice}
|
|
19280
|
+
*/
|
|
19281
|
+
proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinary = function(bytes) {
|
|
19282
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19283
|
+
var msg = new proto.gateway.web.v1.ProjectOverviewSlice;
|
|
19284
|
+
return proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader(msg, reader);
|
|
19285
|
+
};
|
|
19286
|
+
|
|
19287
|
+
|
|
19288
|
+
/**
|
|
19289
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19290
|
+
* given reader into the given message object.
|
|
19291
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewSlice} msg The message object to deserialize into.
|
|
19292
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19293
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice}
|
|
19294
|
+
*/
|
|
19295
|
+
proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader = function(msg, reader) {
|
|
19296
|
+
while (reader.nextField()) {
|
|
19297
|
+
if (reader.isEndGroup()) {
|
|
19298
|
+
break;
|
|
19299
|
+
}
|
|
19300
|
+
var field = reader.getFieldNumber();
|
|
19301
|
+
switch (field) {
|
|
19302
|
+
case 1:
|
|
19303
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
19304
|
+
msg.setKey(value);
|
|
19305
|
+
break;
|
|
19306
|
+
case 2:
|
|
19307
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
19308
|
+
msg.setModelCalls(value);
|
|
19309
|
+
break;
|
|
19310
|
+
case 3:
|
|
19311
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
19312
|
+
msg.setInputTokens(value);
|
|
19313
|
+
break;
|
|
19314
|
+
case 4:
|
|
19315
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
19316
|
+
msg.setOutputTokens(value);
|
|
19317
|
+
break;
|
|
19318
|
+
case 5:
|
|
19319
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
19320
|
+
msg.setCostUsd(value);
|
|
19321
|
+
break;
|
|
19322
|
+
default:
|
|
19323
|
+
reader.skipField();
|
|
19324
|
+
break;
|
|
19325
|
+
}
|
|
19326
|
+
}
|
|
19327
|
+
return msg;
|
|
19328
|
+
};
|
|
19329
|
+
|
|
19330
|
+
|
|
19331
|
+
/**
|
|
19332
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19333
|
+
* @return {!Uint8Array}
|
|
19334
|
+
*/
|
|
19335
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.serializeBinary = function() {
|
|
19336
|
+
var writer = new jspb.BinaryWriter();
|
|
19337
|
+
proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter(this, writer);
|
|
19338
|
+
return writer.getResultBuffer();
|
|
19339
|
+
};
|
|
19340
|
+
|
|
19341
|
+
|
|
19342
|
+
/**
|
|
19343
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19344
|
+
* format), writing to the given BinaryWriter.
|
|
19345
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewSlice} message
|
|
19346
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19347
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19348
|
+
*/
|
|
19349
|
+
proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter = function(message, writer) {
|
|
19350
|
+
var f = undefined;
|
|
19351
|
+
f = message.getKey();
|
|
19352
|
+
if (f.length > 0) {
|
|
19353
|
+
writer.writeString(
|
|
19354
|
+
1,
|
|
19355
|
+
f
|
|
19356
|
+
);
|
|
19357
|
+
}
|
|
19358
|
+
f = message.getModelCalls();
|
|
19359
|
+
if (f !== 0) {
|
|
19360
|
+
writer.writeUint64(
|
|
19361
|
+
2,
|
|
19362
|
+
f
|
|
19363
|
+
);
|
|
19364
|
+
}
|
|
19365
|
+
f = message.getInputTokens();
|
|
19366
|
+
if (f !== 0) {
|
|
19367
|
+
writer.writeUint64(
|
|
19368
|
+
3,
|
|
19369
|
+
f
|
|
19370
|
+
);
|
|
19371
|
+
}
|
|
19372
|
+
f = message.getOutputTokens();
|
|
19373
|
+
if (f !== 0) {
|
|
19374
|
+
writer.writeUint64(
|
|
19375
|
+
4,
|
|
19376
|
+
f
|
|
19377
|
+
);
|
|
19378
|
+
}
|
|
19379
|
+
f = message.getCostUsd();
|
|
19380
|
+
if (f !== 0.0) {
|
|
19381
|
+
writer.writeDouble(
|
|
19382
|
+
5,
|
|
19383
|
+
f
|
|
19384
|
+
);
|
|
19385
|
+
}
|
|
19386
|
+
};
|
|
19387
|
+
|
|
19388
|
+
|
|
19389
|
+
/**
|
|
19390
|
+
* optional string key = 1;
|
|
19391
|
+
* @return {string}
|
|
19392
|
+
*/
|
|
19393
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.getKey = function() {
|
|
19394
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
19395
|
+
};
|
|
19396
|
+
|
|
19397
|
+
|
|
19398
|
+
/**
|
|
19399
|
+
* @param {string} value
|
|
19400
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice} returns this
|
|
19401
|
+
*/
|
|
19402
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.setKey = function(value) {
|
|
19403
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
19404
|
+
};
|
|
19405
|
+
|
|
19406
|
+
|
|
19407
|
+
/**
|
|
19408
|
+
* optional uint64 model_calls = 2;
|
|
19409
|
+
* @return {number}
|
|
19410
|
+
*/
|
|
19411
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.getModelCalls = function() {
|
|
19412
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
19413
|
+
};
|
|
19414
|
+
|
|
19415
|
+
|
|
19416
|
+
/**
|
|
19417
|
+
* @param {number} value
|
|
19418
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice} returns this
|
|
19419
|
+
*/
|
|
19420
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.setModelCalls = function(value) {
|
|
19421
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
19422
|
+
};
|
|
19423
|
+
|
|
19424
|
+
|
|
19425
|
+
/**
|
|
19426
|
+
* optional uint64 input_tokens = 3;
|
|
19427
|
+
* @return {number}
|
|
19428
|
+
*/
|
|
19429
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.getInputTokens = function() {
|
|
19430
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
19431
|
+
};
|
|
19432
|
+
|
|
19433
|
+
|
|
19434
|
+
/**
|
|
19435
|
+
* @param {number} value
|
|
19436
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice} returns this
|
|
19437
|
+
*/
|
|
19438
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.setInputTokens = function(value) {
|
|
19439
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
19440
|
+
};
|
|
19441
|
+
|
|
19442
|
+
|
|
19443
|
+
/**
|
|
19444
|
+
* optional uint64 output_tokens = 4;
|
|
19445
|
+
* @return {number}
|
|
19446
|
+
*/
|
|
19447
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.getOutputTokens = function() {
|
|
19448
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
19449
|
+
};
|
|
19450
|
+
|
|
19451
|
+
|
|
19452
|
+
/**
|
|
19453
|
+
* @param {number} value
|
|
19454
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice} returns this
|
|
19455
|
+
*/
|
|
19456
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.setOutputTokens = function(value) {
|
|
19457
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
19458
|
+
};
|
|
19459
|
+
|
|
19460
|
+
|
|
19461
|
+
/**
|
|
19462
|
+
* optional double cost_usd = 5;
|
|
19463
|
+
* @return {number}
|
|
19464
|
+
*/
|
|
19465
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.getCostUsd = function() {
|
|
19466
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
19467
|
+
};
|
|
19468
|
+
|
|
19469
|
+
|
|
19470
|
+
/**
|
|
19471
|
+
* @param {number} value
|
|
19472
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice} returns this
|
|
19473
|
+
*/
|
|
19474
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.setCostUsd = function(value) {
|
|
19475
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
19476
|
+
};
|
|
19477
|
+
|
|
19478
|
+
|
|
19479
|
+
|
|
19480
|
+
|
|
19481
|
+
|
|
19482
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19483
|
+
/**
|
|
19484
|
+
* Creates an object representation of this proto.
|
|
19485
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19486
|
+
* Optional fields that are not set will be set to undefined.
|
|
19487
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19488
|
+
* For the list of reserved names please see:
|
|
19489
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19490
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19491
|
+
* JSPB instance for transitional soy proto support:
|
|
19492
|
+
* http://goto/soy-param-migration
|
|
19493
|
+
* @return {!Object}
|
|
19494
|
+
*/
|
|
19495
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.toObject = function(opt_includeInstance) {
|
|
19496
|
+
return proto.gateway.web.v1.ProjectSessionRef.toObject(opt_includeInstance, this);
|
|
19497
|
+
};
|
|
19498
|
+
|
|
19499
|
+
|
|
19500
|
+
/**
|
|
19501
|
+
* Static version of the {@see toObject} method.
|
|
19502
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19503
|
+
* the JSPB instance for transitional soy proto support:
|
|
19504
|
+
* http://goto/soy-param-migration
|
|
19505
|
+
* @param {!proto.gateway.web.v1.ProjectSessionRef} msg The msg instance to transform.
|
|
19506
|
+
* @return {!Object}
|
|
19507
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19508
|
+
*/
|
|
19509
|
+
proto.gateway.web.v1.ProjectSessionRef.toObject = function(includeInstance, msg) {
|
|
19510
|
+
var f, obj = {
|
|
19511
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19512
|
+
sourceSystem: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
19513
|
+
costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
19514
|
+
modelCalls: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
19515
|
+
lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
19516
|
+
};
|
|
19517
|
+
|
|
19518
|
+
if (includeInstance) {
|
|
19519
|
+
obj.$jspbMessageInstance = msg;
|
|
19520
|
+
}
|
|
19521
|
+
return obj;
|
|
19522
|
+
};
|
|
19523
|
+
}
|
|
19524
|
+
|
|
19525
|
+
|
|
19526
|
+
/**
|
|
19527
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19528
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
19529
|
+
* @return {!proto.gateway.web.v1.ProjectSessionRef}
|
|
19530
|
+
*/
|
|
19531
|
+
proto.gateway.web.v1.ProjectSessionRef.deserializeBinary = function(bytes) {
|
|
19532
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19533
|
+
var msg = new proto.gateway.web.v1.ProjectSessionRef;
|
|
19534
|
+
return proto.gateway.web.v1.ProjectSessionRef.deserializeBinaryFromReader(msg, reader);
|
|
19535
|
+
};
|
|
19536
|
+
|
|
19537
|
+
|
|
19538
|
+
/**
|
|
19539
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19540
|
+
* given reader into the given message object.
|
|
19541
|
+
* @param {!proto.gateway.web.v1.ProjectSessionRef} msg The message object to deserialize into.
|
|
19542
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19543
|
+
* @return {!proto.gateway.web.v1.ProjectSessionRef}
|
|
19544
|
+
*/
|
|
19545
|
+
proto.gateway.web.v1.ProjectSessionRef.deserializeBinaryFromReader = function(msg, reader) {
|
|
19546
|
+
while (reader.nextField()) {
|
|
19547
|
+
if (reader.isEndGroup()) {
|
|
19548
|
+
break;
|
|
19549
|
+
}
|
|
19550
|
+
var field = reader.getFieldNumber();
|
|
19551
|
+
switch (field) {
|
|
19552
|
+
case 1:
|
|
19553
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
19554
|
+
msg.setSessionId(value);
|
|
19555
|
+
break;
|
|
19556
|
+
case 2:
|
|
19557
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
19558
|
+
msg.setSourceSystem(value);
|
|
19559
|
+
break;
|
|
19560
|
+
case 3:
|
|
19561
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
19562
|
+
msg.setCostUsd(value);
|
|
19563
|
+
break;
|
|
19564
|
+
case 4:
|
|
19565
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
19566
|
+
msg.setModelCalls(value);
|
|
19567
|
+
break;
|
|
19568
|
+
case 5:
|
|
19569
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
19570
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
19571
|
+
msg.setLastActivityAt(value);
|
|
19572
|
+
break;
|
|
19573
|
+
default:
|
|
19574
|
+
reader.skipField();
|
|
19575
|
+
break;
|
|
19576
|
+
}
|
|
19577
|
+
}
|
|
19578
|
+
return msg;
|
|
19579
|
+
};
|
|
19580
|
+
|
|
19581
|
+
|
|
19582
|
+
/**
|
|
19583
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19584
|
+
* @return {!Uint8Array}
|
|
19585
|
+
*/
|
|
19586
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.serializeBinary = function() {
|
|
19587
|
+
var writer = new jspb.BinaryWriter();
|
|
19588
|
+
proto.gateway.web.v1.ProjectSessionRef.serializeBinaryToWriter(this, writer);
|
|
19589
|
+
return writer.getResultBuffer();
|
|
19590
|
+
};
|
|
19591
|
+
|
|
19592
|
+
|
|
19593
|
+
/**
|
|
19594
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19595
|
+
* format), writing to the given BinaryWriter.
|
|
19596
|
+
* @param {!proto.gateway.web.v1.ProjectSessionRef} message
|
|
19597
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19598
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19599
|
+
*/
|
|
19600
|
+
proto.gateway.web.v1.ProjectSessionRef.serializeBinaryToWriter = function(message, writer) {
|
|
19601
|
+
var f = undefined;
|
|
19602
|
+
f = message.getSessionId();
|
|
19603
|
+
if (f.length > 0) {
|
|
19604
|
+
writer.writeString(
|
|
19605
|
+
1,
|
|
19606
|
+
f
|
|
19607
|
+
);
|
|
19608
|
+
}
|
|
19609
|
+
f = message.getSourceSystem();
|
|
19610
|
+
if (f.length > 0) {
|
|
19611
|
+
writer.writeString(
|
|
19612
|
+
2,
|
|
19613
|
+
f
|
|
19614
|
+
);
|
|
19615
|
+
}
|
|
19616
|
+
f = message.getCostUsd();
|
|
19617
|
+
if (f !== 0.0) {
|
|
19618
|
+
writer.writeDouble(
|
|
19619
|
+
3,
|
|
19620
|
+
f
|
|
19621
|
+
);
|
|
19622
|
+
}
|
|
19623
|
+
f = message.getModelCalls();
|
|
19624
|
+
if (f !== 0) {
|
|
19625
|
+
writer.writeUint64(
|
|
19626
|
+
4,
|
|
19627
|
+
f
|
|
19628
|
+
);
|
|
19629
|
+
}
|
|
19630
|
+
f = message.getLastActivityAt();
|
|
19631
|
+
if (f != null) {
|
|
19632
|
+
writer.writeMessage(
|
|
19633
|
+
5,
|
|
19634
|
+
f,
|
|
19635
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
19636
|
+
);
|
|
19637
|
+
}
|
|
19638
|
+
};
|
|
19639
|
+
|
|
19640
|
+
|
|
19641
|
+
/**
|
|
19642
|
+
* optional string session_id = 1;
|
|
19643
|
+
* @return {string}
|
|
19644
|
+
*/
|
|
19645
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.getSessionId = function() {
|
|
19646
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
19647
|
+
};
|
|
19648
|
+
|
|
19649
|
+
|
|
19650
|
+
/**
|
|
19651
|
+
* @param {string} value
|
|
19652
|
+
* @return {!proto.gateway.web.v1.ProjectSessionRef} returns this
|
|
19653
|
+
*/
|
|
19654
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.setSessionId = function(value) {
|
|
19655
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
19656
|
+
};
|
|
19657
|
+
|
|
19658
|
+
|
|
19659
|
+
/**
|
|
19660
|
+
* optional string source_system = 2;
|
|
19661
|
+
* @return {string}
|
|
19662
|
+
*/
|
|
19663
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.getSourceSystem = function() {
|
|
19664
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
19665
|
+
};
|
|
19666
|
+
|
|
19667
|
+
|
|
19668
|
+
/**
|
|
19669
|
+
* @param {string} value
|
|
19670
|
+
* @return {!proto.gateway.web.v1.ProjectSessionRef} returns this
|
|
19671
|
+
*/
|
|
19672
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.setSourceSystem = function(value) {
|
|
19673
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
19674
|
+
};
|
|
19675
|
+
|
|
19676
|
+
|
|
19677
|
+
/**
|
|
19678
|
+
* optional double cost_usd = 3;
|
|
19679
|
+
* @return {number}
|
|
19680
|
+
*/
|
|
19681
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.getCostUsd = function() {
|
|
19682
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
19683
|
+
};
|
|
19684
|
+
|
|
19685
|
+
|
|
19686
|
+
/**
|
|
19687
|
+
* @param {number} value
|
|
19688
|
+
* @return {!proto.gateway.web.v1.ProjectSessionRef} returns this
|
|
19689
|
+
*/
|
|
19690
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.setCostUsd = function(value) {
|
|
19691
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
19692
|
+
};
|
|
19693
|
+
|
|
19694
|
+
|
|
19695
|
+
/**
|
|
19696
|
+
* optional uint64 model_calls = 4;
|
|
19697
|
+
* @return {number}
|
|
19698
|
+
*/
|
|
19699
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.getModelCalls = function() {
|
|
19700
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
19701
|
+
};
|
|
19702
|
+
|
|
19703
|
+
|
|
19704
|
+
/**
|
|
19705
|
+
* @param {number} value
|
|
19706
|
+
* @return {!proto.gateway.web.v1.ProjectSessionRef} returns this
|
|
19707
|
+
*/
|
|
19708
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.setModelCalls = function(value) {
|
|
19709
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
19710
|
+
};
|
|
19711
|
+
|
|
19712
|
+
|
|
19713
|
+
/**
|
|
19714
|
+
* optional google.protobuf.Timestamp last_activity_at = 5;
|
|
19715
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
19716
|
+
*/
|
|
19717
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.getLastActivityAt = function() {
|
|
19718
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
19719
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
19720
|
+
};
|
|
19721
|
+
|
|
19722
|
+
|
|
19723
|
+
/**
|
|
19724
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
19725
|
+
* @return {!proto.gateway.web.v1.ProjectSessionRef} returns this
|
|
19726
|
+
*/
|
|
19727
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.setLastActivityAt = function(value) {
|
|
19728
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
19729
|
+
};
|
|
19730
|
+
|
|
19731
|
+
|
|
19732
|
+
/**
|
|
19733
|
+
* Clears the message field making it undefined.
|
|
19734
|
+
* @return {!proto.gateway.web.v1.ProjectSessionRef} returns this
|
|
19735
|
+
*/
|
|
19736
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.clearLastActivityAt = function() {
|
|
19737
|
+
return this.setLastActivityAt(undefined);
|
|
19738
|
+
};
|
|
19739
|
+
|
|
19740
|
+
|
|
19741
|
+
/**
|
|
19742
|
+
* Returns whether this field is set.
|
|
19743
|
+
* @return {boolean}
|
|
19744
|
+
*/
|
|
19745
|
+
proto.gateway.web.v1.ProjectSessionRef.prototype.hasLastActivityAt = function() {
|
|
19746
|
+
return jspb.Message.getField(this, 5) != null;
|
|
19747
|
+
};
|
|
19748
|
+
|
|
19749
|
+
|
|
19750
|
+
|
|
19751
|
+
|
|
19752
|
+
|
|
19753
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19754
|
+
/**
|
|
19755
|
+
* Creates an object representation of this proto.
|
|
19756
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19757
|
+
* Optional fields that are not set will be set to undefined.
|
|
19758
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19759
|
+
* For the list of reserved names please see:
|
|
19760
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19761
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19762
|
+
* JSPB instance for transitional soy proto support:
|
|
19763
|
+
* http://goto/soy-param-migration
|
|
19764
|
+
* @return {!Object}
|
|
19765
|
+
*/
|
|
19766
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
19767
|
+
return proto.gateway.web.v1.ResourceRankingsRequest.toObject(opt_includeInstance, this);
|
|
19768
|
+
};
|
|
19769
|
+
|
|
19770
|
+
|
|
19771
|
+
/**
|
|
19772
|
+
* Static version of the {@see toObject} method.
|
|
19773
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19774
|
+
* the JSPB instance for transitional soy proto support:
|
|
19775
|
+
* http://goto/soy-param-migration
|
|
19776
|
+
* @param {!proto.gateway.web.v1.ResourceRankingsRequest} msg The msg instance to transform.
|
|
19777
|
+
* @return {!Object}
|
|
19778
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19779
|
+
*/
|
|
19780
|
+
proto.gateway.web.v1.ResourceRankingsRequest.toObject = function(includeInstance, msg) {
|
|
19781
|
+
var f, obj = {
|
|
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)
|
|
19788
|
+
};
|
|
19789
|
+
|
|
19790
|
+
if (includeInstance) {
|
|
19791
|
+
obj.$jspbMessageInstance = msg;
|
|
19792
|
+
}
|
|
19793
|
+
return obj;
|
|
19794
|
+
};
|
|
19795
|
+
}
|
|
19796
|
+
|
|
19797
|
+
|
|
19798
|
+
/**
|
|
19799
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19800
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
19801
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest}
|
|
19802
|
+
*/
|
|
19803
|
+
proto.gateway.web.v1.ResourceRankingsRequest.deserializeBinary = function(bytes) {
|
|
19804
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19805
|
+
var msg = new proto.gateway.web.v1.ResourceRankingsRequest;
|
|
19806
|
+
return proto.gateway.web.v1.ResourceRankingsRequest.deserializeBinaryFromReader(msg, reader);
|
|
19807
|
+
};
|
|
19808
|
+
|
|
19809
|
+
|
|
19810
|
+
/**
|
|
19811
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19812
|
+
* given reader into the given message object.
|
|
19813
|
+
* @param {!proto.gateway.web.v1.ResourceRankingsRequest} msg The message object to deserialize into.
|
|
19814
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19815
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest}
|
|
19816
|
+
*/
|
|
19817
|
+
proto.gateway.web.v1.ResourceRankingsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
19818
|
+
while (reader.nextField()) {
|
|
19819
|
+
if (reader.isEndGroup()) {
|
|
19820
|
+
break;
|
|
19821
|
+
}
|
|
19822
|
+
var field = reader.getFieldNumber();
|
|
19823
|
+
switch (field) {
|
|
19824
|
+
case 1:
|
|
19825
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
19826
|
+
msg.setOrganizationId(value);
|
|
19827
|
+
break;
|
|
19828
|
+
case 2:
|
|
19829
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
19830
|
+
msg.setProjectId(value);
|
|
19831
|
+
break;
|
|
19832
|
+
case 3:
|
|
19833
|
+
var value = new proto.gateway.web.v1.AISessionFilter;
|
|
19834
|
+
reader.readMessage(value,proto.gateway.web.v1.AISessionFilter.deserializeBinaryFromReader);
|
|
19835
|
+
msg.setFilter(value);
|
|
19836
|
+
break;
|
|
19837
|
+
case 4:
|
|
19838
|
+
var value = /** @type {!proto.gateway.web.v1.AIResourceDimension} */ (reader.readEnum());
|
|
19839
|
+
msg.setDimension(value);
|
|
19840
|
+
break;
|
|
19841
|
+
case 5:
|
|
19842
|
+
var value = /** @type {!proto.gateway.web.v1.AnalyticsTimeWindow} */ (reader.readEnum());
|
|
19843
|
+
msg.setTimeWindow(value);
|
|
19844
|
+
break;
|
|
19845
|
+
case 6:
|
|
19846
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
19847
|
+
msg.setTopN(value);
|
|
19848
|
+
break;
|
|
19849
|
+
default:
|
|
19850
|
+
reader.skipField();
|
|
19851
|
+
break;
|
|
19852
|
+
}
|
|
19853
|
+
}
|
|
19854
|
+
return msg;
|
|
19855
|
+
};
|
|
19856
|
+
|
|
19857
|
+
|
|
19858
|
+
/**
|
|
19859
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19860
|
+
* @return {!Uint8Array}
|
|
19861
|
+
*/
|
|
19862
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.serializeBinary = function() {
|
|
19863
|
+
var writer = new jspb.BinaryWriter();
|
|
19864
|
+
proto.gateway.web.v1.ResourceRankingsRequest.serializeBinaryToWriter(this, writer);
|
|
19865
|
+
return writer.getResultBuffer();
|
|
19866
|
+
};
|
|
19867
|
+
|
|
19868
|
+
|
|
19869
|
+
/**
|
|
19870
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19871
|
+
* format), writing to the given BinaryWriter.
|
|
19872
|
+
* @param {!proto.gateway.web.v1.ResourceRankingsRequest} message
|
|
19873
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19874
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19875
|
+
*/
|
|
19876
|
+
proto.gateway.web.v1.ResourceRankingsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
19877
|
+
var f = undefined;
|
|
19878
|
+
f = message.getOrganizationId();
|
|
19879
|
+
if (f.length > 0) {
|
|
19880
|
+
writer.writeString(
|
|
19881
|
+
1,
|
|
19882
|
+
f
|
|
19883
|
+
);
|
|
19884
|
+
}
|
|
19885
|
+
f = message.getProjectId();
|
|
19886
|
+
if (f.length > 0) {
|
|
19887
|
+
writer.writeString(
|
|
19888
|
+
2,
|
|
19889
|
+
f
|
|
19890
|
+
);
|
|
19891
|
+
}
|
|
19892
|
+
f = message.getFilter();
|
|
19893
|
+
if (f != null) {
|
|
19894
|
+
writer.writeMessage(
|
|
19895
|
+
3,
|
|
19896
|
+
f,
|
|
19897
|
+
proto.gateway.web.v1.AISessionFilter.serializeBinaryToWriter
|
|
19898
|
+
);
|
|
19899
|
+
}
|
|
19900
|
+
f = message.getDimension();
|
|
19901
|
+
if (f !== 0.0) {
|
|
19902
|
+
writer.writeEnum(
|
|
19903
|
+
4,
|
|
19904
|
+
f
|
|
19905
|
+
);
|
|
19906
|
+
}
|
|
19907
|
+
f = message.getTimeWindow();
|
|
19908
|
+
if (f !== 0.0) {
|
|
19909
|
+
writer.writeEnum(
|
|
19910
|
+
5,
|
|
19911
|
+
f
|
|
19912
|
+
);
|
|
19913
|
+
}
|
|
19914
|
+
f = message.getTopN();
|
|
19915
|
+
if (f !== 0) {
|
|
19916
|
+
writer.writeInt32(
|
|
19917
|
+
6,
|
|
19918
|
+
f
|
|
19919
|
+
);
|
|
19920
|
+
}
|
|
19921
|
+
};
|
|
19922
|
+
|
|
19923
|
+
|
|
19924
|
+
/**
|
|
19925
|
+
* optional string organization_id = 1;
|
|
19926
|
+
* @return {string}
|
|
19927
|
+
*/
|
|
19928
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getOrganizationId = function() {
|
|
19929
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
19930
|
+
};
|
|
19931
|
+
|
|
19932
|
+
|
|
19933
|
+
/**
|
|
19934
|
+
* @param {string} value
|
|
19935
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
19936
|
+
*/
|
|
19937
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.setOrganizationId = function(value) {
|
|
19938
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
19939
|
+
};
|
|
19940
|
+
|
|
19941
|
+
|
|
19942
|
+
/**
|
|
19943
|
+
* optional string project_id = 2;
|
|
19944
|
+
* @return {string}
|
|
19945
|
+
*/
|
|
19946
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getProjectId = function() {
|
|
19947
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
19948
|
+
};
|
|
19949
|
+
|
|
19950
|
+
|
|
19951
|
+
/**
|
|
19952
|
+
* @param {string} value
|
|
19953
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
19954
|
+
*/
|
|
19955
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.setProjectId = function(value) {
|
|
19956
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
19957
|
+
};
|
|
19958
|
+
|
|
19959
|
+
|
|
19960
|
+
/**
|
|
19961
|
+
* optional AISessionFilter filter = 3;
|
|
19962
|
+
* @return {?proto.gateway.web.v1.AISessionFilter}
|
|
19963
|
+
*/
|
|
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));
|
|
19967
|
+
};
|
|
19968
|
+
|
|
19969
|
+
|
|
19970
|
+
/**
|
|
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);
|
|
19976
|
+
};
|
|
19977
|
+
|
|
19978
|
+
|
|
19979
|
+
/**
|
|
19980
|
+
* Clears the message field making it undefined.
|
|
19981
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
19982
|
+
*/
|
|
19983
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.clearFilter = function() {
|
|
19984
|
+
return this.setFilter(undefined);
|
|
19985
|
+
};
|
|
19986
|
+
|
|
19987
|
+
|
|
19988
|
+
/**
|
|
19989
|
+
* Returns whether this field is set.
|
|
19990
|
+
* @return {boolean}
|
|
19991
|
+
*/
|
|
19992
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.hasFilter = function() {
|
|
19993
|
+
return jspb.Message.getField(this, 3) != null;
|
|
19994
|
+
};
|
|
19995
|
+
|
|
19996
|
+
|
|
19997
|
+
/**
|
|
19998
|
+
* optional AIResourceDimension dimension = 4;
|
|
19999
|
+
* @return {!proto.gateway.web.v1.AIResourceDimension}
|
|
20000
|
+
*/
|
|
20001
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getDimension = function() {
|
|
20002
|
+
return /** @type {!proto.gateway.web.v1.AIResourceDimension} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
20003
|
+
};
|
|
20004
|
+
|
|
20005
|
+
|
|
20006
|
+
/**
|
|
20007
|
+
* @param {!proto.gateway.web.v1.AIResourceDimension} value
|
|
20008
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
20009
|
+
*/
|
|
20010
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.setDimension = function(value) {
|
|
20011
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
20012
|
+
};
|
|
20013
|
+
|
|
20014
|
+
|
|
20015
|
+
/**
|
|
20016
|
+
* optional AnalyticsTimeWindow time_window = 5;
|
|
20017
|
+
* @return {!proto.gateway.web.v1.AnalyticsTimeWindow}
|
|
20018
|
+
*/
|
|
20019
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getTimeWindow = function() {
|
|
20020
|
+
return /** @type {!proto.gateway.web.v1.AnalyticsTimeWindow} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
20021
|
+
};
|
|
20022
|
+
|
|
20023
|
+
|
|
20024
|
+
/**
|
|
20025
|
+
* @param {!proto.gateway.web.v1.AnalyticsTimeWindow} value
|
|
20026
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
20027
|
+
*/
|
|
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
|
|
18187
20328
|
*/
|
|
18188
|
-
proto.gateway.web.v1.
|
|
18189
|
-
|
|
18190
|
-
proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter(this, writer);
|
|
18191
|
-
return writer.getResultBuffer();
|
|
20329
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.setDimension = function(value) {
|
|
20330
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
18192
20331
|
};
|
|
18193
20332
|
|
|
18194
20333
|
|
|
18195
20334
|
/**
|
|
18196
|
-
*
|
|
18197
|
-
*
|
|
18198
|
-
* @param {!proto.gateway.web.v1.ProjectOverviewSlice} message
|
|
18199
|
-
* @param {!jspb.BinaryWriter} writer
|
|
18200
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20335
|
+
* optional google.protobuf.Timestamp window_start = 4;
|
|
20336
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
18201
20337
|
*/
|
|
18202
|
-
proto.gateway.web.v1.
|
|
18203
|
-
|
|
18204
|
-
|
|
18205
|
-
if (f.length > 0) {
|
|
18206
|
-
writer.writeString(
|
|
18207
|
-
1,
|
|
18208
|
-
f
|
|
18209
|
-
);
|
|
18210
|
-
}
|
|
18211
|
-
f = message.getModelCalls();
|
|
18212
|
-
if (f !== 0) {
|
|
18213
|
-
writer.writeUint64(
|
|
18214
|
-
2,
|
|
18215
|
-
f
|
|
18216
|
-
);
|
|
18217
|
-
}
|
|
18218
|
-
f = message.getInputTokens();
|
|
18219
|
-
if (f !== 0) {
|
|
18220
|
-
writer.writeUint64(
|
|
18221
|
-
3,
|
|
18222
|
-
f
|
|
18223
|
-
);
|
|
18224
|
-
}
|
|
18225
|
-
f = message.getOutputTokens();
|
|
18226
|
-
if (f !== 0) {
|
|
18227
|
-
writer.writeUint64(
|
|
18228
|
-
4,
|
|
18229
|
-
f
|
|
18230
|
-
);
|
|
18231
|
-
}
|
|
18232
|
-
f = message.getCostUsd();
|
|
18233
|
-
if (f !== 0.0) {
|
|
18234
|
-
writer.writeDouble(
|
|
18235
|
-
5,
|
|
18236
|
-
f
|
|
18237
|
-
);
|
|
18238
|
-
}
|
|
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));
|
|
18239
20341
|
};
|
|
18240
20342
|
|
|
18241
20343
|
|
|
18242
20344
|
/**
|
|
18243
|
-
*
|
|
18244
|
-
* @return {
|
|
18245
|
-
|
|
18246
|
-
proto.gateway.web.v1.
|
|
18247
|
-
return
|
|
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);
|
|
18248
20350
|
};
|
|
18249
20351
|
|
|
18250
20352
|
|
|
18251
20353
|
/**
|
|
18252
|
-
*
|
|
18253
|
-
* @return {!proto.gateway.web.v1.
|
|
20354
|
+
* Clears the message field making it undefined.
|
|
20355
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
18254
20356
|
*/
|
|
18255
|
-
proto.gateway.web.v1.
|
|
18256
|
-
return
|
|
20357
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.clearWindowStart = function() {
|
|
20358
|
+
return this.setWindowStart(undefined);
|
|
18257
20359
|
};
|
|
18258
20360
|
|
|
18259
20361
|
|
|
18260
20362
|
/**
|
|
18261
|
-
*
|
|
18262
|
-
* @return {
|
|
20363
|
+
* Returns whether this field is set.
|
|
20364
|
+
* @return {boolean}
|
|
18263
20365
|
*/
|
|
18264
|
-
proto.gateway.web.v1.
|
|
18265
|
-
return
|
|
20366
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.hasWindowStart = function() {
|
|
20367
|
+
return jspb.Message.getField(this, 4) != null;
|
|
18266
20368
|
};
|
|
18267
20369
|
|
|
18268
20370
|
|
|
18269
20371
|
/**
|
|
18270
|
-
*
|
|
18271
|
-
* @return {
|
|
20372
|
+
* optional google.protobuf.Timestamp window_end = 5;
|
|
20373
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
18272
20374
|
*/
|
|
18273
|
-
proto.gateway.web.v1.
|
|
18274
|
-
return
|
|
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));
|
|
18275
20378
|
};
|
|
18276
20379
|
|
|
18277
20380
|
|
|
18278
20381
|
/**
|
|
18279
|
-
*
|
|
18280
|
-
* @return {
|
|
18281
|
-
|
|
18282
|
-
proto.gateway.web.v1.
|
|
18283
|
-
return
|
|
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);
|
|
18284
20387
|
};
|
|
18285
20388
|
|
|
18286
20389
|
|
|
18287
20390
|
/**
|
|
18288
|
-
*
|
|
18289
|
-
* @return {!proto.gateway.web.v1.
|
|
20391
|
+
* Clears the message field making it undefined.
|
|
20392
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsResponse} returns this
|
|
18290
20393
|
*/
|
|
18291
|
-
proto.gateway.web.v1.
|
|
18292
|
-
return
|
|
20394
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.clearWindowEnd = function() {
|
|
20395
|
+
return this.setWindowEnd(undefined);
|
|
18293
20396
|
};
|
|
18294
20397
|
|
|
18295
20398
|
|
|
18296
20399
|
/**
|
|
18297
|
-
*
|
|
18298
|
-
* @return {
|
|
20400
|
+
* Returns whether this field is set.
|
|
20401
|
+
* @return {boolean}
|
|
18299
20402
|
*/
|
|
18300
|
-
proto.gateway.web.v1.
|
|
18301
|
-
return
|
|
20403
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.hasWindowEnd = function() {
|
|
20404
|
+
return jspb.Message.getField(this, 5) != null;
|
|
18302
20405
|
};
|
|
18303
20406
|
|
|
18304
20407
|
|
|
18305
20408
|
/**
|
|
18306
|
-
*
|
|
18307
|
-
* @return {
|
|
20409
|
+
* optional google.protobuf.Timestamp as_of = 6;
|
|
20410
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
18308
20411
|
*/
|
|
18309
|
-
proto.gateway.web.v1.
|
|
18310
|
-
return
|
|
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));
|
|
18311
20415
|
};
|
|
18312
20416
|
|
|
18313
20417
|
|
|
18314
20418
|
/**
|
|
18315
|
-
*
|
|
18316
|
-
* @return {
|
|
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
|
|
18317
20430
|
*/
|
|
18318
|
-
proto.gateway.web.v1.
|
|
18319
|
-
return
|
|
20431
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.clearAsOf = function() {
|
|
20432
|
+
return this.setAsOf(undefined);
|
|
18320
20433
|
};
|
|
18321
20434
|
|
|
18322
20435
|
|
|
18323
20436
|
/**
|
|
18324
|
-
*
|
|
18325
|
-
* @return {
|
|
20437
|
+
* Returns whether this field is set.
|
|
20438
|
+
* @return {boolean}
|
|
18326
20439
|
*/
|
|
18327
|
-
proto.gateway.web.v1.
|
|
18328
|
-
return jspb.Message.
|
|
20440
|
+
proto.gateway.web.v1.ResourceRankingsResponse.prototype.hasAsOf = function() {
|
|
20441
|
+
return jspb.Message.getField(this, 6) != null;
|
|
18329
20442
|
};
|
|
18330
20443
|
|
|
18331
20444
|
|
|
@@ -18345,8 +20458,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
18345
20458
|
* http://goto/soy-param-migration
|
|
18346
20459
|
* @return {!Object}
|
|
18347
20460
|
*/
|
|
18348
|
-
proto.gateway.web.v1.
|
|
18349
|
-
return proto.gateway.web.v1.
|
|
20461
|
+
proto.gateway.web.v1.ResourceRanking.prototype.toObject = function(opt_includeInstance) {
|
|
20462
|
+
return proto.gateway.web.v1.ResourceRanking.toObject(opt_includeInstance, this);
|
|
18350
20463
|
};
|
|
18351
20464
|
|
|
18352
20465
|
|
|
@@ -18355,17 +20468,16 @@ proto.gateway.web.v1.ProjectSessionRef.prototype.toObject = function(opt_include
|
|
|
18355
20468
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18356
20469
|
* the JSPB instance for transitional soy proto support:
|
|
18357
20470
|
* http://goto/soy-param-migration
|
|
18358
|
-
* @param {!proto.gateway.web.v1.
|
|
20471
|
+
* @param {!proto.gateway.web.v1.ResourceRanking} msg The msg instance to transform.
|
|
18359
20472
|
* @return {!Object}
|
|
18360
20473
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18361
20474
|
*/
|
|
18362
|
-
proto.gateway.web.v1.
|
|
20475
|
+
proto.gateway.web.v1.ResourceRanking.toObject = function(includeInstance, msg) {
|
|
18363
20476
|
var f, obj = {
|
|
18364
|
-
|
|
18365
|
-
|
|
18366
|
-
|
|
18367
|
-
|
|
18368
|
-
lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
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)
|
|
18369
20481
|
};
|
|
18370
20482
|
|
|
18371
20483
|
if (includeInstance) {
|
|
@@ -18379,23 +20491,23 @@ lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Ti
|
|
|
18379
20491
|
/**
|
|
18380
20492
|
* Deserializes binary data (in protobuf wire format).
|
|
18381
20493
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
18382
|
-
* @return {!proto.gateway.web.v1.
|
|
20494
|
+
* @return {!proto.gateway.web.v1.ResourceRanking}
|
|
18383
20495
|
*/
|
|
18384
|
-
proto.gateway.web.v1.
|
|
20496
|
+
proto.gateway.web.v1.ResourceRanking.deserializeBinary = function(bytes) {
|
|
18385
20497
|
var reader = new jspb.BinaryReader(bytes);
|
|
18386
|
-
var msg = new proto.gateway.web.v1.
|
|
18387
|
-
return proto.gateway.web.v1.
|
|
20498
|
+
var msg = new proto.gateway.web.v1.ResourceRanking;
|
|
20499
|
+
return proto.gateway.web.v1.ResourceRanking.deserializeBinaryFromReader(msg, reader);
|
|
18388
20500
|
};
|
|
18389
20501
|
|
|
18390
20502
|
|
|
18391
20503
|
/**
|
|
18392
20504
|
* Deserializes binary data (in protobuf wire format) from the
|
|
18393
20505
|
* given reader into the given message object.
|
|
18394
|
-
* @param {!proto.gateway.web.v1.
|
|
20506
|
+
* @param {!proto.gateway.web.v1.ResourceRanking} msg The message object to deserialize into.
|
|
18395
20507
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18396
|
-
* @return {!proto.gateway.web.v1.
|
|
20508
|
+
* @return {!proto.gateway.web.v1.ResourceRanking}
|
|
18397
20509
|
*/
|
|
18398
|
-
proto.gateway.web.v1.
|
|
20510
|
+
proto.gateway.web.v1.ResourceRanking.deserializeBinaryFromReader = function(msg, reader) {
|
|
18399
20511
|
while (reader.nextField()) {
|
|
18400
20512
|
if (reader.isEndGroup()) {
|
|
18401
20513
|
break;
|
|
@@ -18404,24 +20516,19 @@ proto.gateway.web.v1.ProjectSessionRef.deserializeBinaryFromReader = function(ms
|
|
|
18404
20516
|
switch (field) {
|
|
18405
20517
|
case 1:
|
|
18406
20518
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18407
|
-
msg.
|
|
20519
|
+
msg.setKey(value);
|
|
18408
20520
|
break;
|
|
18409
20521
|
case 2:
|
|
18410
|
-
var value = /** @type {
|
|
18411
|
-
msg.
|
|
20522
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
20523
|
+
msg.setCount(value);
|
|
18412
20524
|
break;
|
|
18413
20525
|
case 3:
|
|
18414
|
-
var value = /** @type {number} */ (reader.
|
|
18415
|
-
msg.
|
|
20526
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
20527
|
+
msg.setPriorCount(value);
|
|
18416
20528
|
break;
|
|
18417
20529
|
case 4:
|
|
18418
20530
|
var value = /** @type {number} */ (reader.readUint64());
|
|
18419
|
-
msg.
|
|
18420
|
-
break;
|
|
18421
|
-
case 5:
|
|
18422
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
18423
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
18424
|
-
msg.setLastActivityAt(value);
|
|
20531
|
+
msg.setSessionCount(value);
|
|
18425
20532
|
break;
|
|
18426
20533
|
default:
|
|
18427
20534
|
reader.skipField();
|
|
@@ -18436,9 +20543,9 @@ proto.gateway.web.v1.ProjectSessionRef.deserializeBinaryFromReader = function(ms
|
|
|
18436
20543
|
* Serializes the message to binary data (in protobuf wire format).
|
|
18437
20544
|
* @return {!Uint8Array}
|
|
18438
20545
|
*/
|
|
18439
|
-
proto.gateway.web.v1.
|
|
20546
|
+
proto.gateway.web.v1.ResourceRanking.prototype.serializeBinary = function() {
|
|
18440
20547
|
var writer = new jspb.BinaryWriter();
|
|
18441
|
-
proto.gateway.web.v1.
|
|
20548
|
+
proto.gateway.web.v1.ResourceRanking.serializeBinaryToWriter(this, writer);
|
|
18442
20549
|
return writer.getResultBuffer();
|
|
18443
20550
|
};
|
|
18444
20551
|
|
|
@@ -18446,160 +20553,115 @@ proto.gateway.web.v1.ProjectSessionRef.prototype.serializeBinary = function() {
|
|
|
18446
20553
|
/**
|
|
18447
20554
|
* Serializes the given message to binary data (in protobuf wire
|
|
18448
20555
|
* format), writing to the given BinaryWriter.
|
|
18449
|
-
* @param {!proto.gateway.web.v1.
|
|
20556
|
+
* @param {!proto.gateway.web.v1.ResourceRanking} message
|
|
18450
20557
|
* @param {!jspb.BinaryWriter} writer
|
|
18451
20558
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18452
20559
|
*/
|
|
18453
|
-
proto.gateway.web.v1.
|
|
20560
|
+
proto.gateway.web.v1.ResourceRanking.serializeBinaryToWriter = function(message, writer) {
|
|
18454
20561
|
var f = undefined;
|
|
18455
|
-
f = message.
|
|
20562
|
+
f = message.getKey();
|
|
18456
20563
|
if (f.length > 0) {
|
|
18457
20564
|
writer.writeString(
|
|
18458
20565
|
1,
|
|
18459
20566
|
f
|
|
18460
20567
|
);
|
|
18461
20568
|
}
|
|
18462
|
-
f = message.
|
|
18463
|
-
if (f
|
|
18464
|
-
writer.
|
|
20569
|
+
f = message.getCount();
|
|
20570
|
+
if (f !== 0) {
|
|
20571
|
+
writer.writeUint64(
|
|
18465
20572
|
2,
|
|
18466
20573
|
f
|
|
18467
20574
|
);
|
|
18468
20575
|
}
|
|
18469
|
-
f = message.
|
|
18470
|
-
if (f !== 0
|
|
18471
|
-
writer.
|
|
20576
|
+
f = message.getPriorCount();
|
|
20577
|
+
if (f !== 0) {
|
|
20578
|
+
writer.writeUint64(
|
|
18472
20579
|
3,
|
|
18473
20580
|
f
|
|
18474
20581
|
);
|
|
18475
20582
|
}
|
|
18476
|
-
f = message.
|
|
20583
|
+
f = message.getSessionCount();
|
|
18477
20584
|
if (f !== 0) {
|
|
18478
20585
|
writer.writeUint64(
|
|
18479
20586
|
4,
|
|
18480
20587
|
f
|
|
18481
20588
|
);
|
|
18482
20589
|
}
|
|
18483
|
-
f = message.getLastActivityAt();
|
|
18484
|
-
if (f != null) {
|
|
18485
|
-
writer.writeMessage(
|
|
18486
|
-
5,
|
|
18487
|
-
f,
|
|
18488
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
18489
|
-
);
|
|
18490
|
-
}
|
|
18491
20590
|
};
|
|
18492
20591
|
|
|
18493
20592
|
|
|
18494
20593
|
/**
|
|
18495
|
-
* optional string
|
|
20594
|
+
* optional string key = 1;
|
|
18496
20595
|
* @return {string}
|
|
18497
20596
|
*/
|
|
18498
|
-
proto.gateway.web.v1.
|
|
20597
|
+
proto.gateway.web.v1.ResourceRanking.prototype.getKey = function() {
|
|
18499
20598
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
18500
20599
|
};
|
|
18501
20600
|
|
|
18502
20601
|
|
|
18503
20602
|
/**
|
|
18504
20603
|
* @param {string} value
|
|
18505
|
-
* @return {!proto.gateway.web.v1.
|
|
20604
|
+
* @return {!proto.gateway.web.v1.ResourceRanking} returns this
|
|
18506
20605
|
*/
|
|
18507
|
-
proto.gateway.web.v1.
|
|
20606
|
+
proto.gateway.web.v1.ResourceRanking.prototype.setKey = function(value) {
|
|
18508
20607
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
18509
20608
|
};
|
|
18510
20609
|
|
|
18511
20610
|
|
|
18512
20611
|
/**
|
|
18513
|
-
* optional
|
|
18514
|
-
* @return {
|
|
20612
|
+
* optional uint64 count = 2;
|
|
20613
|
+
* @return {number}
|
|
18515
20614
|
*/
|
|
18516
|
-
proto.gateway.web.v1.
|
|
18517
|
-
return /** @type {
|
|
20615
|
+
proto.gateway.web.v1.ResourceRanking.prototype.getCount = function() {
|
|
20616
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
18518
20617
|
};
|
|
18519
20618
|
|
|
18520
20619
|
|
|
18521
20620
|
/**
|
|
18522
|
-
* @param {
|
|
18523
|
-
* @return {!proto.gateway.web.v1.
|
|
20621
|
+
* @param {number} value
|
|
20622
|
+
* @return {!proto.gateway.web.v1.ResourceRanking} returns this
|
|
18524
20623
|
*/
|
|
18525
|
-
proto.gateway.web.v1.
|
|
18526
|
-
return jspb.Message.
|
|
20624
|
+
proto.gateway.web.v1.ResourceRanking.prototype.setCount = function(value) {
|
|
20625
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
18527
20626
|
};
|
|
18528
20627
|
|
|
18529
20628
|
|
|
18530
20629
|
/**
|
|
18531
|
-
* optional
|
|
20630
|
+
* optional uint64 prior_count = 3;
|
|
18532
20631
|
* @return {number}
|
|
18533
20632
|
*/
|
|
18534
|
-
proto.gateway.web.v1.
|
|
18535
|
-
return /** @type {number} */ (jspb.Message.
|
|
20633
|
+
proto.gateway.web.v1.ResourceRanking.prototype.getPriorCount = function() {
|
|
20634
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
18536
20635
|
};
|
|
18537
20636
|
|
|
18538
20637
|
|
|
18539
20638
|
/**
|
|
18540
20639
|
* @param {number} value
|
|
18541
|
-
* @return {!proto.gateway.web.v1.
|
|
20640
|
+
* @return {!proto.gateway.web.v1.ResourceRanking} returns this
|
|
18542
20641
|
*/
|
|
18543
|
-
proto.gateway.web.v1.
|
|
18544
|
-
return jspb.Message.
|
|
20642
|
+
proto.gateway.web.v1.ResourceRanking.prototype.setPriorCount = function(value) {
|
|
20643
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
18545
20644
|
};
|
|
18546
20645
|
|
|
18547
20646
|
|
|
18548
20647
|
/**
|
|
18549
|
-
* optional uint64
|
|
20648
|
+
* optional uint64 session_count = 4;
|
|
18550
20649
|
* @return {number}
|
|
18551
20650
|
*/
|
|
18552
|
-
proto.gateway.web.v1.
|
|
20651
|
+
proto.gateway.web.v1.ResourceRanking.prototype.getSessionCount = function() {
|
|
18553
20652
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
18554
20653
|
};
|
|
18555
20654
|
|
|
18556
20655
|
|
|
18557
20656
|
/**
|
|
18558
20657
|
* @param {number} value
|
|
18559
|
-
* @return {!proto.gateway.web.v1.
|
|
20658
|
+
* @return {!proto.gateway.web.v1.ResourceRanking} returns this
|
|
18560
20659
|
*/
|
|
18561
|
-
proto.gateway.web.v1.
|
|
20660
|
+
proto.gateway.web.v1.ResourceRanking.prototype.setSessionCount = function(value) {
|
|
18562
20661
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
18563
20662
|
};
|
|
18564
20663
|
|
|
18565
20664
|
|
|
18566
|
-
/**
|
|
18567
|
-
* optional google.protobuf.Timestamp last_activity_at = 5;
|
|
18568
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
18569
|
-
*/
|
|
18570
|
-
proto.gateway.web.v1.ProjectSessionRef.prototype.getLastActivityAt = function() {
|
|
18571
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
18572
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
18573
|
-
};
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
/**
|
|
18577
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
18578
|
-
* @return {!proto.gateway.web.v1.ProjectSessionRef} returns this
|
|
18579
|
-
*/
|
|
18580
|
-
proto.gateway.web.v1.ProjectSessionRef.prototype.setLastActivityAt = function(value) {
|
|
18581
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
18582
|
-
};
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
/**
|
|
18586
|
-
* Clears the message field making it undefined.
|
|
18587
|
-
* @return {!proto.gateway.web.v1.ProjectSessionRef} returns this
|
|
18588
|
-
*/
|
|
18589
|
-
proto.gateway.web.v1.ProjectSessionRef.prototype.clearLastActivityAt = function() {
|
|
18590
|
-
return this.setLastActivityAt(undefined);
|
|
18591
|
-
};
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
/**
|
|
18595
|
-
* Returns whether this field is set.
|
|
18596
|
-
* @return {boolean}
|
|
18597
|
-
*/
|
|
18598
|
-
proto.gateway.web.v1.ProjectSessionRef.prototype.hasLastActivityAt = function() {
|
|
18599
|
-
return jspb.Message.getField(this, 5) != null;
|
|
18600
|
-
};
|
|
18601
|
-
|
|
18602
|
-
|
|
18603
20665
|
|
|
18604
20666
|
/**
|
|
18605
20667
|
* List of repeated fields within this message type.
|
|
@@ -24063,6 +26125,18 @@ proto.gateway.web.v1.AITokenActivityDimension = {
|
|
|
24063
26125
|
AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5
|
|
24064
26126
|
};
|
|
24065
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
|
+
|
|
24066
26140
|
/**
|
|
24067
26141
|
* @enum {number}
|
|
24068
26142
|
*/
|