@miradorlabs/web-grpc 3.20.0 → 3.21.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.
|
@@ -107,6 +107,10 @@ goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewRequest', null, global);
|
|
|
107
107
|
goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewSlice', null, global);
|
|
108
108
|
goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewTotals', null, global);
|
|
109
109
|
goog.exportSymbol('proto.gateway.web.v1.ProjectSessionRef', null, global);
|
|
110
|
+
goog.exportSymbol('proto.gateway.web.v1.ProjectSummaries', null, global);
|
|
111
|
+
goog.exportSymbol('proto.gateway.web.v1.ProjectSummariesRequest', null, global);
|
|
112
|
+
goog.exportSymbol('proto.gateway.web.v1.ProjectSummary', null, global);
|
|
113
|
+
goog.exportSymbol('proto.gateway.web.v1.ProjectSummaryActor', null, global);
|
|
110
114
|
goog.exportSymbol('proto.gateway.web.v1.ResourceRanking', null, global);
|
|
111
115
|
goog.exportSymbol('proto.gateway.web.v1.ResourceRankingsRequest', null, global);
|
|
112
116
|
goog.exportSymbol('proto.gateway.web.v1.ResourceRankingsResponse', null, global);
|
|
@@ -1419,6 +1423,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1419
1423
|
*/
|
|
1420
1424
|
proto.gateway.web.v1.ProjectOverviewSlice.displayName = 'proto.gateway.web.v1.ProjectOverviewSlice';
|
|
1421
1425
|
}
|
|
1426
|
+
/**
|
|
1427
|
+
* Generated by JsPbCodeGenerator.
|
|
1428
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1429
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1430
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1431
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1432
|
+
* valid.
|
|
1433
|
+
* @extends {jspb.Message}
|
|
1434
|
+
* @constructor
|
|
1435
|
+
*/
|
|
1436
|
+
proto.gateway.web.v1.ProjectSummariesRequest = function(opt_data) {
|
|
1437
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ProjectSummariesRequest.repeatedFields_, null);
|
|
1438
|
+
};
|
|
1439
|
+
goog.inherits(proto.gateway.web.v1.ProjectSummariesRequest, jspb.Message);
|
|
1440
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1441
|
+
/**
|
|
1442
|
+
* @public
|
|
1443
|
+
* @override
|
|
1444
|
+
*/
|
|
1445
|
+
proto.gateway.web.v1.ProjectSummariesRequest.displayName = 'proto.gateway.web.v1.ProjectSummariesRequest';
|
|
1446
|
+
}
|
|
1447
|
+
/**
|
|
1448
|
+
* Generated by JsPbCodeGenerator.
|
|
1449
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1450
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1451
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1452
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1453
|
+
* valid.
|
|
1454
|
+
* @extends {jspb.Message}
|
|
1455
|
+
* @constructor
|
|
1456
|
+
*/
|
|
1457
|
+
proto.gateway.web.v1.ProjectSummaries = function(opt_data) {
|
|
1458
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ProjectSummaries.repeatedFields_, null);
|
|
1459
|
+
};
|
|
1460
|
+
goog.inherits(proto.gateway.web.v1.ProjectSummaries, jspb.Message);
|
|
1461
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1462
|
+
/**
|
|
1463
|
+
* @public
|
|
1464
|
+
* @override
|
|
1465
|
+
*/
|
|
1466
|
+
proto.gateway.web.v1.ProjectSummaries.displayName = 'proto.gateway.web.v1.ProjectSummaries';
|
|
1467
|
+
}
|
|
1468
|
+
/**
|
|
1469
|
+
* Generated by JsPbCodeGenerator.
|
|
1470
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1471
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1472
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1473
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1474
|
+
* valid.
|
|
1475
|
+
* @extends {jspb.Message}
|
|
1476
|
+
* @constructor
|
|
1477
|
+
*/
|
|
1478
|
+
proto.gateway.web.v1.ProjectSummary = function(opt_data) {
|
|
1479
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ProjectSummary.repeatedFields_, null);
|
|
1480
|
+
};
|
|
1481
|
+
goog.inherits(proto.gateway.web.v1.ProjectSummary, jspb.Message);
|
|
1482
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1483
|
+
/**
|
|
1484
|
+
* @public
|
|
1485
|
+
* @override
|
|
1486
|
+
*/
|
|
1487
|
+
proto.gateway.web.v1.ProjectSummary.displayName = 'proto.gateway.web.v1.ProjectSummary';
|
|
1488
|
+
}
|
|
1489
|
+
/**
|
|
1490
|
+
* Generated by JsPbCodeGenerator.
|
|
1491
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1492
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1493
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1494
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1495
|
+
* valid.
|
|
1496
|
+
* @extends {jspb.Message}
|
|
1497
|
+
* @constructor
|
|
1498
|
+
*/
|
|
1499
|
+
proto.gateway.web.v1.ProjectSummaryActor = function(opt_data) {
|
|
1500
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1501
|
+
};
|
|
1502
|
+
goog.inherits(proto.gateway.web.v1.ProjectSummaryActor, jspb.Message);
|
|
1503
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1504
|
+
/**
|
|
1505
|
+
* @public
|
|
1506
|
+
* @override
|
|
1507
|
+
*/
|
|
1508
|
+
proto.gateway.web.v1.ProjectSummaryActor.displayName = 'proto.gateway.web.v1.ProjectSummaryActor';
|
|
1509
|
+
}
|
|
1422
1510
|
/**
|
|
1423
1511
|
* Generated by JsPbCodeGenerator.
|
|
1424
1512
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -22704,6 +22792,1037 @@ proto.gateway.web.v1.ProjectOverviewSlice.prototype.setSubscriptionCostUsd = fun
|
|
|
22704
22792
|
|
|
22705
22793
|
|
|
22706
22794
|
|
|
22795
|
+
/**
|
|
22796
|
+
* List of repeated fields within this message type.
|
|
22797
|
+
* @private {!Array<number>}
|
|
22798
|
+
* @const
|
|
22799
|
+
*/
|
|
22800
|
+
proto.gateway.web.v1.ProjectSummariesRequest.repeatedFields_ = [2];
|
|
22801
|
+
|
|
22802
|
+
|
|
22803
|
+
|
|
22804
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22805
|
+
/**
|
|
22806
|
+
* Creates an object representation of this proto.
|
|
22807
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22808
|
+
* Optional fields that are not set will be set to undefined.
|
|
22809
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22810
|
+
* For the list of reserved names please see:
|
|
22811
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22812
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22813
|
+
* JSPB instance for transitional soy proto support:
|
|
22814
|
+
* http://goto/soy-param-migration
|
|
22815
|
+
* @return {!Object}
|
|
22816
|
+
*/
|
|
22817
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22818
|
+
return proto.gateway.web.v1.ProjectSummariesRequest.toObject(opt_includeInstance, this);
|
|
22819
|
+
};
|
|
22820
|
+
|
|
22821
|
+
|
|
22822
|
+
/**
|
|
22823
|
+
* Static version of the {@see toObject} method.
|
|
22824
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22825
|
+
* the JSPB instance for transitional soy proto support:
|
|
22826
|
+
* http://goto/soy-param-migration
|
|
22827
|
+
* @param {!proto.gateway.web.v1.ProjectSummariesRequest} msg The msg instance to transform.
|
|
22828
|
+
* @return {!Object}
|
|
22829
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22830
|
+
*/
|
|
22831
|
+
proto.gateway.web.v1.ProjectSummariesRequest.toObject = function(includeInstance, msg) {
|
|
22832
|
+
var f, obj = {
|
|
22833
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
22834
|
+
projectIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
22835
|
+
activeAfter: (f = msg.getActiveAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
22836
|
+
};
|
|
22837
|
+
|
|
22838
|
+
if (includeInstance) {
|
|
22839
|
+
obj.$jspbMessageInstance = msg;
|
|
22840
|
+
}
|
|
22841
|
+
return obj;
|
|
22842
|
+
};
|
|
22843
|
+
}
|
|
22844
|
+
|
|
22845
|
+
|
|
22846
|
+
/**
|
|
22847
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22848
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
22849
|
+
* @return {!proto.gateway.web.v1.ProjectSummariesRequest}
|
|
22850
|
+
*/
|
|
22851
|
+
proto.gateway.web.v1.ProjectSummariesRequest.deserializeBinary = function(bytes) {
|
|
22852
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22853
|
+
var msg = new proto.gateway.web.v1.ProjectSummariesRequest;
|
|
22854
|
+
return proto.gateway.web.v1.ProjectSummariesRequest.deserializeBinaryFromReader(msg, reader);
|
|
22855
|
+
};
|
|
22856
|
+
|
|
22857
|
+
|
|
22858
|
+
/**
|
|
22859
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22860
|
+
* given reader into the given message object.
|
|
22861
|
+
* @param {!proto.gateway.web.v1.ProjectSummariesRequest} msg The message object to deserialize into.
|
|
22862
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22863
|
+
* @return {!proto.gateway.web.v1.ProjectSummariesRequest}
|
|
22864
|
+
*/
|
|
22865
|
+
proto.gateway.web.v1.ProjectSummariesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22866
|
+
while (reader.nextField()) {
|
|
22867
|
+
if (reader.isEndGroup()) {
|
|
22868
|
+
break;
|
|
22869
|
+
}
|
|
22870
|
+
var field = reader.getFieldNumber();
|
|
22871
|
+
switch (field) {
|
|
22872
|
+
case 1:
|
|
22873
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
22874
|
+
msg.setOrganizationId(value);
|
|
22875
|
+
break;
|
|
22876
|
+
case 2:
|
|
22877
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
22878
|
+
msg.addProjectIds(value);
|
|
22879
|
+
break;
|
|
22880
|
+
case 3:
|
|
22881
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
22882
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
22883
|
+
msg.setActiveAfter(value);
|
|
22884
|
+
break;
|
|
22885
|
+
default:
|
|
22886
|
+
reader.skipField();
|
|
22887
|
+
break;
|
|
22888
|
+
}
|
|
22889
|
+
}
|
|
22890
|
+
return msg;
|
|
22891
|
+
};
|
|
22892
|
+
|
|
22893
|
+
|
|
22894
|
+
/**
|
|
22895
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22896
|
+
* @return {!Uint8Array}
|
|
22897
|
+
*/
|
|
22898
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.serializeBinary = function() {
|
|
22899
|
+
var writer = new jspb.BinaryWriter();
|
|
22900
|
+
proto.gateway.web.v1.ProjectSummariesRequest.serializeBinaryToWriter(this, writer);
|
|
22901
|
+
return writer.getResultBuffer();
|
|
22902
|
+
};
|
|
22903
|
+
|
|
22904
|
+
|
|
22905
|
+
/**
|
|
22906
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22907
|
+
* format), writing to the given BinaryWriter.
|
|
22908
|
+
* @param {!proto.gateway.web.v1.ProjectSummariesRequest} message
|
|
22909
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22910
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22911
|
+
*/
|
|
22912
|
+
proto.gateway.web.v1.ProjectSummariesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22913
|
+
var f = undefined;
|
|
22914
|
+
f = message.getOrganizationId();
|
|
22915
|
+
if (f.length > 0) {
|
|
22916
|
+
writer.writeString(
|
|
22917
|
+
1,
|
|
22918
|
+
f
|
|
22919
|
+
);
|
|
22920
|
+
}
|
|
22921
|
+
f = message.getProjectIdsList();
|
|
22922
|
+
if (f.length > 0) {
|
|
22923
|
+
writer.writeRepeatedString(
|
|
22924
|
+
2,
|
|
22925
|
+
f
|
|
22926
|
+
);
|
|
22927
|
+
}
|
|
22928
|
+
f = message.getActiveAfter();
|
|
22929
|
+
if (f != null) {
|
|
22930
|
+
writer.writeMessage(
|
|
22931
|
+
3,
|
|
22932
|
+
f,
|
|
22933
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
22934
|
+
);
|
|
22935
|
+
}
|
|
22936
|
+
};
|
|
22937
|
+
|
|
22938
|
+
|
|
22939
|
+
/**
|
|
22940
|
+
* optional string organization_id = 1;
|
|
22941
|
+
* @return {string}
|
|
22942
|
+
*/
|
|
22943
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.getOrganizationId = function() {
|
|
22944
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
22945
|
+
};
|
|
22946
|
+
|
|
22947
|
+
|
|
22948
|
+
/**
|
|
22949
|
+
* @param {string} value
|
|
22950
|
+
* @return {!proto.gateway.web.v1.ProjectSummariesRequest} returns this
|
|
22951
|
+
*/
|
|
22952
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.setOrganizationId = function(value) {
|
|
22953
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
22954
|
+
};
|
|
22955
|
+
|
|
22956
|
+
|
|
22957
|
+
/**
|
|
22958
|
+
* repeated string project_ids = 2;
|
|
22959
|
+
* @return {!Array<string>}
|
|
22960
|
+
*/
|
|
22961
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.getProjectIdsList = function() {
|
|
22962
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
22963
|
+
};
|
|
22964
|
+
|
|
22965
|
+
|
|
22966
|
+
/**
|
|
22967
|
+
* @param {!Array<string>} value
|
|
22968
|
+
* @return {!proto.gateway.web.v1.ProjectSummariesRequest} returns this
|
|
22969
|
+
*/
|
|
22970
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.setProjectIdsList = function(value) {
|
|
22971
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
22972
|
+
};
|
|
22973
|
+
|
|
22974
|
+
|
|
22975
|
+
/**
|
|
22976
|
+
* @param {string} value
|
|
22977
|
+
* @param {number=} opt_index
|
|
22978
|
+
* @return {!proto.gateway.web.v1.ProjectSummariesRequest} returns this
|
|
22979
|
+
*/
|
|
22980
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.addProjectIds = function(value, opt_index) {
|
|
22981
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
22982
|
+
};
|
|
22983
|
+
|
|
22984
|
+
|
|
22985
|
+
/**
|
|
22986
|
+
* Clears the list making it empty but non-null.
|
|
22987
|
+
* @return {!proto.gateway.web.v1.ProjectSummariesRequest} returns this
|
|
22988
|
+
*/
|
|
22989
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.clearProjectIdsList = function() {
|
|
22990
|
+
return this.setProjectIdsList([]);
|
|
22991
|
+
};
|
|
22992
|
+
|
|
22993
|
+
|
|
22994
|
+
/**
|
|
22995
|
+
* optional google.protobuf.Timestamp active_after = 3;
|
|
22996
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
22997
|
+
*/
|
|
22998
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.getActiveAfter = function() {
|
|
22999
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
23000
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
23001
|
+
};
|
|
23002
|
+
|
|
23003
|
+
|
|
23004
|
+
/**
|
|
23005
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
23006
|
+
* @return {!proto.gateway.web.v1.ProjectSummariesRequest} returns this
|
|
23007
|
+
*/
|
|
23008
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.setActiveAfter = function(value) {
|
|
23009
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
23010
|
+
};
|
|
23011
|
+
|
|
23012
|
+
|
|
23013
|
+
/**
|
|
23014
|
+
* Clears the message field making it undefined.
|
|
23015
|
+
* @return {!proto.gateway.web.v1.ProjectSummariesRequest} returns this
|
|
23016
|
+
*/
|
|
23017
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.clearActiveAfter = function() {
|
|
23018
|
+
return this.setActiveAfter(undefined);
|
|
23019
|
+
};
|
|
23020
|
+
|
|
23021
|
+
|
|
23022
|
+
/**
|
|
23023
|
+
* Returns whether this field is set.
|
|
23024
|
+
* @return {boolean}
|
|
23025
|
+
*/
|
|
23026
|
+
proto.gateway.web.v1.ProjectSummariesRequest.prototype.hasActiveAfter = function() {
|
|
23027
|
+
return jspb.Message.getField(this, 3) != null;
|
|
23028
|
+
};
|
|
23029
|
+
|
|
23030
|
+
|
|
23031
|
+
|
|
23032
|
+
/**
|
|
23033
|
+
* List of repeated fields within this message type.
|
|
23034
|
+
* @private {!Array<number>}
|
|
23035
|
+
* @const
|
|
23036
|
+
*/
|
|
23037
|
+
proto.gateway.web.v1.ProjectSummaries.repeatedFields_ = [1];
|
|
23038
|
+
|
|
23039
|
+
|
|
23040
|
+
|
|
23041
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23042
|
+
/**
|
|
23043
|
+
* Creates an object representation of this proto.
|
|
23044
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23045
|
+
* Optional fields that are not set will be set to undefined.
|
|
23046
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23047
|
+
* For the list of reserved names please see:
|
|
23048
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23049
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23050
|
+
* JSPB instance for transitional soy proto support:
|
|
23051
|
+
* http://goto/soy-param-migration
|
|
23052
|
+
* @return {!Object}
|
|
23053
|
+
*/
|
|
23054
|
+
proto.gateway.web.v1.ProjectSummaries.prototype.toObject = function(opt_includeInstance) {
|
|
23055
|
+
return proto.gateway.web.v1.ProjectSummaries.toObject(opt_includeInstance, this);
|
|
23056
|
+
};
|
|
23057
|
+
|
|
23058
|
+
|
|
23059
|
+
/**
|
|
23060
|
+
* Static version of the {@see toObject} method.
|
|
23061
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23062
|
+
* the JSPB instance for transitional soy proto support:
|
|
23063
|
+
* http://goto/soy-param-migration
|
|
23064
|
+
* @param {!proto.gateway.web.v1.ProjectSummaries} msg The msg instance to transform.
|
|
23065
|
+
* @return {!Object}
|
|
23066
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23067
|
+
*/
|
|
23068
|
+
proto.gateway.web.v1.ProjectSummaries.toObject = function(includeInstance, msg) {
|
|
23069
|
+
var f, obj = {
|
|
23070
|
+
projectsList: jspb.Message.toObjectList(msg.getProjectsList(),
|
|
23071
|
+
proto.gateway.web.v1.ProjectSummary.toObject, includeInstance)
|
|
23072
|
+
};
|
|
23073
|
+
|
|
23074
|
+
if (includeInstance) {
|
|
23075
|
+
obj.$jspbMessageInstance = msg;
|
|
23076
|
+
}
|
|
23077
|
+
return obj;
|
|
23078
|
+
};
|
|
23079
|
+
}
|
|
23080
|
+
|
|
23081
|
+
|
|
23082
|
+
/**
|
|
23083
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23084
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
23085
|
+
* @return {!proto.gateway.web.v1.ProjectSummaries}
|
|
23086
|
+
*/
|
|
23087
|
+
proto.gateway.web.v1.ProjectSummaries.deserializeBinary = function(bytes) {
|
|
23088
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23089
|
+
var msg = new proto.gateway.web.v1.ProjectSummaries;
|
|
23090
|
+
return proto.gateway.web.v1.ProjectSummaries.deserializeBinaryFromReader(msg, reader);
|
|
23091
|
+
};
|
|
23092
|
+
|
|
23093
|
+
|
|
23094
|
+
/**
|
|
23095
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23096
|
+
* given reader into the given message object.
|
|
23097
|
+
* @param {!proto.gateway.web.v1.ProjectSummaries} msg The message object to deserialize into.
|
|
23098
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23099
|
+
* @return {!proto.gateway.web.v1.ProjectSummaries}
|
|
23100
|
+
*/
|
|
23101
|
+
proto.gateway.web.v1.ProjectSummaries.deserializeBinaryFromReader = function(msg, reader) {
|
|
23102
|
+
while (reader.nextField()) {
|
|
23103
|
+
if (reader.isEndGroup()) {
|
|
23104
|
+
break;
|
|
23105
|
+
}
|
|
23106
|
+
var field = reader.getFieldNumber();
|
|
23107
|
+
switch (field) {
|
|
23108
|
+
case 1:
|
|
23109
|
+
var value = new proto.gateway.web.v1.ProjectSummary;
|
|
23110
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectSummary.deserializeBinaryFromReader);
|
|
23111
|
+
msg.addProjects(value);
|
|
23112
|
+
break;
|
|
23113
|
+
default:
|
|
23114
|
+
reader.skipField();
|
|
23115
|
+
break;
|
|
23116
|
+
}
|
|
23117
|
+
}
|
|
23118
|
+
return msg;
|
|
23119
|
+
};
|
|
23120
|
+
|
|
23121
|
+
|
|
23122
|
+
/**
|
|
23123
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23124
|
+
* @return {!Uint8Array}
|
|
23125
|
+
*/
|
|
23126
|
+
proto.gateway.web.v1.ProjectSummaries.prototype.serializeBinary = function() {
|
|
23127
|
+
var writer = new jspb.BinaryWriter();
|
|
23128
|
+
proto.gateway.web.v1.ProjectSummaries.serializeBinaryToWriter(this, writer);
|
|
23129
|
+
return writer.getResultBuffer();
|
|
23130
|
+
};
|
|
23131
|
+
|
|
23132
|
+
|
|
23133
|
+
/**
|
|
23134
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23135
|
+
* format), writing to the given BinaryWriter.
|
|
23136
|
+
* @param {!proto.gateway.web.v1.ProjectSummaries} message
|
|
23137
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23138
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23139
|
+
*/
|
|
23140
|
+
proto.gateway.web.v1.ProjectSummaries.serializeBinaryToWriter = function(message, writer) {
|
|
23141
|
+
var f = undefined;
|
|
23142
|
+
f = message.getProjectsList();
|
|
23143
|
+
if (f.length > 0) {
|
|
23144
|
+
writer.writeRepeatedMessage(
|
|
23145
|
+
1,
|
|
23146
|
+
f,
|
|
23147
|
+
proto.gateway.web.v1.ProjectSummary.serializeBinaryToWriter
|
|
23148
|
+
);
|
|
23149
|
+
}
|
|
23150
|
+
};
|
|
23151
|
+
|
|
23152
|
+
|
|
23153
|
+
/**
|
|
23154
|
+
* repeated ProjectSummary projects = 1;
|
|
23155
|
+
* @return {!Array<!proto.gateway.web.v1.ProjectSummary>}
|
|
23156
|
+
*/
|
|
23157
|
+
proto.gateway.web.v1.ProjectSummaries.prototype.getProjectsList = function() {
|
|
23158
|
+
return /** @type{!Array<!proto.gateway.web.v1.ProjectSummary>} */ (
|
|
23159
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectSummary, 1));
|
|
23160
|
+
};
|
|
23161
|
+
|
|
23162
|
+
|
|
23163
|
+
/**
|
|
23164
|
+
* @param {!Array<!proto.gateway.web.v1.ProjectSummary>} value
|
|
23165
|
+
* @return {!proto.gateway.web.v1.ProjectSummaries} returns this
|
|
23166
|
+
*/
|
|
23167
|
+
proto.gateway.web.v1.ProjectSummaries.prototype.setProjectsList = function(value) {
|
|
23168
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
23169
|
+
};
|
|
23170
|
+
|
|
23171
|
+
|
|
23172
|
+
/**
|
|
23173
|
+
* @param {!proto.gateway.web.v1.ProjectSummary=} opt_value
|
|
23174
|
+
* @param {number=} opt_index
|
|
23175
|
+
* @return {!proto.gateway.web.v1.ProjectSummary}
|
|
23176
|
+
*/
|
|
23177
|
+
proto.gateway.web.v1.ProjectSummaries.prototype.addProjects = function(opt_value, opt_index) {
|
|
23178
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.gateway.web.v1.ProjectSummary, opt_index);
|
|
23179
|
+
};
|
|
23180
|
+
|
|
23181
|
+
|
|
23182
|
+
/**
|
|
23183
|
+
* Clears the list making it empty but non-null.
|
|
23184
|
+
* @return {!proto.gateway.web.v1.ProjectSummaries} returns this
|
|
23185
|
+
*/
|
|
23186
|
+
proto.gateway.web.v1.ProjectSummaries.prototype.clearProjectsList = function() {
|
|
23187
|
+
return this.setProjectsList([]);
|
|
23188
|
+
};
|
|
23189
|
+
|
|
23190
|
+
|
|
23191
|
+
|
|
23192
|
+
/**
|
|
23193
|
+
* List of repeated fields within this message type.
|
|
23194
|
+
* @private {!Array<number>}
|
|
23195
|
+
* @const
|
|
23196
|
+
*/
|
|
23197
|
+
proto.gateway.web.v1.ProjectSummary.repeatedFields_ = [8,9];
|
|
23198
|
+
|
|
23199
|
+
|
|
23200
|
+
|
|
23201
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23202
|
+
/**
|
|
23203
|
+
* Creates an object representation of this proto.
|
|
23204
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23205
|
+
* Optional fields that are not set will be set to undefined.
|
|
23206
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23207
|
+
* For the list of reserved names please see:
|
|
23208
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23209
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23210
|
+
* JSPB instance for transitional soy proto support:
|
|
23211
|
+
* http://goto/soy-param-migration
|
|
23212
|
+
* @return {!Object}
|
|
23213
|
+
*/
|
|
23214
|
+
proto.gateway.web.v1.ProjectSummary.prototype.toObject = function(opt_includeInstance) {
|
|
23215
|
+
return proto.gateway.web.v1.ProjectSummary.toObject(opt_includeInstance, this);
|
|
23216
|
+
};
|
|
23217
|
+
|
|
23218
|
+
|
|
23219
|
+
/**
|
|
23220
|
+
* Static version of the {@see toObject} method.
|
|
23221
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23222
|
+
* the JSPB instance for transitional soy proto support:
|
|
23223
|
+
* http://goto/soy-param-migration
|
|
23224
|
+
* @param {!proto.gateway.web.v1.ProjectSummary} msg The msg instance to transform.
|
|
23225
|
+
* @return {!Object}
|
|
23226
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23227
|
+
*/
|
|
23228
|
+
proto.gateway.web.v1.ProjectSummary.toObject = function(includeInstance, msg) {
|
|
23229
|
+
var f, obj = {
|
|
23230
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
23231
|
+
sessions: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
23232
|
+
pullRequestsMerged: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23233
|
+
repositories: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
23234
|
+
sessionTokens: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
23235
|
+
unpricedTokens: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
23236
|
+
lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
23237
|
+
actorsList: jspb.Message.toObjectList(msg.getActorsList(),
|
|
23238
|
+
proto.gateway.web.v1.ProjectSummaryActor.toObject, includeInstance),
|
|
23239
|
+
byModelList: jspb.Message.toObjectList(msg.getByModelList(),
|
|
23240
|
+
proto.gateway.web.v1.ProjectOverviewSlice.toObject, includeInstance)
|
|
23241
|
+
};
|
|
23242
|
+
|
|
23243
|
+
if (includeInstance) {
|
|
23244
|
+
obj.$jspbMessageInstance = msg;
|
|
23245
|
+
}
|
|
23246
|
+
return obj;
|
|
23247
|
+
};
|
|
23248
|
+
}
|
|
23249
|
+
|
|
23250
|
+
|
|
23251
|
+
/**
|
|
23252
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23253
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
23254
|
+
* @return {!proto.gateway.web.v1.ProjectSummary}
|
|
23255
|
+
*/
|
|
23256
|
+
proto.gateway.web.v1.ProjectSummary.deserializeBinary = function(bytes) {
|
|
23257
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23258
|
+
var msg = new proto.gateway.web.v1.ProjectSummary;
|
|
23259
|
+
return proto.gateway.web.v1.ProjectSummary.deserializeBinaryFromReader(msg, reader);
|
|
23260
|
+
};
|
|
23261
|
+
|
|
23262
|
+
|
|
23263
|
+
/**
|
|
23264
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23265
|
+
* given reader into the given message object.
|
|
23266
|
+
* @param {!proto.gateway.web.v1.ProjectSummary} msg The message object to deserialize into.
|
|
23267
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23268
|
+
* @return {!proto.gateway.web.v1.ProjectSummary}
|
|
23269
|
+
*/
|
|
23270
|
+
proto.gateway.web.v1.ProjectSummary.deserializeBinaryFromReader = function(msg, reader) {
|
|
23271
|
+
while (reader.nextField()) {
|
|
23272
|
+
if (reader.isEndGroup()) {
|
|
23273
|
+
break;
|
|
23274
|
+
}
|
|
23275
|
+
var field = reader.getFieldNumber();
|
|
23276
|
+
switch (field) {
|
|
23277
|
+
case 1:
|
|
23278
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
23279
|
+
msg.setProjectId(value);
|
|
23280
|
+
break;
|
|
23281
|
+
case 2:
|
|
23282
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
23283
|
+
msg.setSessions(value);
|
|
23284
|
+
break;
|
|
23285
|
+
case 3:
|
|
23286
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
23287
|
+
msg.setPullRequestsMerged(value);
|
|
23288
|
+
break;
|
|
23289
|
+
case 4:
|
|
23290
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
23291
|
+
msg.setRepositories(value);
|
|
23292
|
+
break;
|
|
23293
|
+
case 5:
|
|
23294
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
23295
|
+
msg.setSessionTokens(value);
|
|
23296
|
+
break;
|
|
23297
|
+
case 6:
|
|
23298
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
23299
|
+
msg.setUnpricedTokens(value);
|
|
23300
|
+
break;
|
|
23301
|
+
case 7:
|
|
23302
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
23303
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
23304
|
+
msg.setLastActivityAt(value);
|
|
23305
|
+
break;
|
|
23306
|
+
case 8:
|
|
23307
|
+
var value = new proto.gateway.web.v1.ProjectSummaryActor;
|
|
23308
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectSummaryActor.deserializeBinaryFromReader);
|
|
23309
|
+
msg.addActors(value);
|
|
23310
|
+
break;
|
|
23311
|
+
case 9:
|
|
23312
|
+
var value = new proto.gateway.web.v1.ProjectOverviewSlice;
|
|
23313
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader);
|
|
23314
|
+
msg.addByModel(value);
|
|
23315
|
+
break;
|
|
23316
|
+
default:
|
|
23317
|
+
reader.skipField();
|
|
23318
|
+
break;
|
|
23319
|
+
}
|
|
23320
|
+
}
|
|
23321
|
+
return msg;
|
|
23322
|
+
};
|
|
23323
|
+
|
|
23324
|
+
|
|
23325
|
+
/**
|
|
23326
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23327
|
+
* @return {!Uint8Array}
|
|
23328
|
+
*/
|
|
23329
|
+
proto.gateway.web.v1.ProjectSummary.prototype.serializeBinary = function() {
|
|
23330
|
+
var writer = new jspb.BinaryWriter();
|
|
23331
|
+
proto.gateway.web.v1.ProjectSummary.serializeBinaryToWriter(this, writer);
|
|
23332
|
+
return writer.getResultBuffer();
|
|
23333
|
+
};
|
|
23334
|
+
|
|
23335
|
+
|
|
23336
|
+
/**
|
|
23337
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23338
|
+
* format), writing to the given BinaryWriter.
|
|
23339
|
+
* @param {!proto.gateway.web.v1.ProjectSummary} message
|
|
23340
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23341
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23342
|
+
*/
|
|
23343
|
+
proto.gateway.web.v1.ProjectSummary.serializeBinaryToWriter = function(message, writer) {
|
|
23344
|
+
var f = undefined;
|
|
23345
|
+
f = message.getProjectId();
|
|
23346
|
+
if (f.length > 0) {
|
|
23347
|
+
writer.writeString(
|
|
23348
|
+
1,
|
|
23349
|
+
f
|
|
23350
|
+
);
|
|
23351
|
+
}
|
|
23352
|
+
f = message.getSessions();
|
|
23353
|
+
if (f !== 0) {
|
|
23354
|
+
writer.writeUint64(
|
|
23355
|
+
2,
|
|
23356
|
+
f
|
|
23357
|
+
);
|
|
23358
|
+
}
|
|
23359
|
+
f = message.getPullRequestsMerged();
|
|
23360
|
+
if (f !== 0) {
|
|
23361
|
+
writer.writeUint64(
|
|
23362
|
+
3,
|
|
23363
|
+
f
|
|
23364
|
+
);
|
|
23365
|
+
}
|
|
23366
|
+
f = message.getRepositories();
|
|
23367
|
+
if (f !== 0) {
|
|
23368
|
+
writer.writeUint64(
|
|
23369
|
+
4,
|
|
23370
|
+
f
|
|
23371
|
+
);
|
|
23372
|
+
}
|
|
23373
|
+
f = message.getSessionTokens();
|
|
23374
|
+
if (f !== 0) {
|
|
23375
|
+
writer.writeUint64(
|
|
23376
|
+
5,
|
|
23377
|
+
f
|
|
23378
|
+
);
|
|
23379
|
+
}
|
|
23380
|
+
f = message.getUnpricedTokens();
|
|
23381
|
+
if (f !== 0) {
|
|
23382
|
+
writer.writeUint64(
|
|
23383
|
+
6,
|
|
23384
|
+
f
|
|
23385
|
+
);
|
|
23386
|
+
}
|
|
23387
|
+
f = message.getLastActivityAt();
|
|
23388
|
+
if (f != null) {
|
|
23389
|
+
writer.writeMessage(
|
|
23390
|
+
7,
|
|
23391
|
+
f,
|
|
23392
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
23393
|
+
);
|
|
23394
|
+
}
|
|
23395
|
+
f = message.getActorsList();
|
|
23396
|
+
if (f.length > 0) {
|
|
23397
|
+
writer.writeRepeatedMessage(
|
|
23398
|
+
8,
|
|
23399
|
+
f,
|
|
23400
|
+
proto.gateway.web.v1.ProjectSummaryActor.serializeBinaryToWriter
|
|
23401
|
+
);
|
|
23402
|
+
}
|
|
23403
|
+
f = message.getByModelList();
|
|
23404
|
+
if (f.length > 0) {
|
|
23405
|
+
writer.writeRepeatedMessage(
|
|
23406
|
+
9,
|
|
23407
|
+
f,
|
|
23408
|
+
proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter
|
|
23409
|
+
);
|
|
23410
|
+
}
|
|
23411
|
+
};
|
|
23412
|
+
|
|
23413
|
+
|
|
23414
|
+
/**
|
|
23415
|
+
* optional string project_id = 1;
|
|
23416
|
+
* @return {string}
|
|
23417
|
+
*/
|
|
23418
|
+
proto.gateway.web.v1.ProjectSummary.prototype.getProjectId = function() {
|
|
23419
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
23420
|
+
};
|
|
23421
|
+
|
|
23422
|
+
|
|
23423
|
+
/**
|
|
23424
|
+
* @param {string} value
|
|
23425
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23426
|
+
*/
|
|
23427
|
+
proto.gateway.web.v1.ProjectSummary.prototype.setProjectId = function(value) {
|
|
23428
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
23429
|
+
};
|
|
23430
|
+
|
|
23431
|
+
|
|
23432
|
+
/**
|
|
23433
|
+
* optional uint64 sessions = 2;
|
|
23434
|
+
* @return {number}
|
|
23435
|
+
*/
|
|
23436
|
+
proto.gateway.web.v1.ProjectSummary.prototype.getSessions = function() {
|
|
23437
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
23438
|
+
};
|
|
23439
|
+
|
|
23440
|
+
|
|
23441
|
+
/**
|
|
23442
|
+
* @param {number} value
|
|
23443
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23444
|
+
*/
|
|
23445
|
+
proto.gateway.web.v1.ProjectSummary.prototype.setSessions = function(value) {
|
|
23446
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
23447
|
+
};
|
|
23448
|
+
|
|
23449
|
+
|
|
23450
|
+
/**
|
|
23451
|
+
* optional uint64 pull_requests_merged = 3;
|
|
23452
|
+
* @return {number}
|
|
23453
|
+
*/
|
|
23454
|
+
proto.gateway.web.v1.ProjectSummary.prototype.getPullRequestsMerged = function() {
|
|
23455
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
23456
|
+
};
|
|
23457
|
+
|
|
23458
|
+
|
|
23459
|
+
/**
|
|
23460
|
+
* @param {number} value
|
|
23461
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23462
|
+
*/
|
|
23463
|
+
proto.gateway.web.v1.ProjectSummary.prototype.setPullRequestsMerged = function(value) {
|
|
23464
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
23465
|
+
};
|
|
23466
|
+
|
|
23467
|
+
|
|
23468
|
+
/**
|
|
23469
|
+
* optional uint64 repositories = 4;
|
|
23470
|
+
* @return {number}
|
|
23471
|
+
*/
|
|
23472
|
+
proto.gateway.web.v1.ProjectSummary.prototype.getRepositories = function() {
|
|
23473
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
23474
|
+
};
|
|
23475
|
+
|
|
23476
|
+
|
|
23477
|
+
/**
|
|
23478
|
+
* @param {number} value
|
|
23479
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23480
|
+
*/
|
|
23481
|
+
proto.gateway.web.v1.ProjectSummary.prototype.setRepositories = function(value) {
|
|
23482
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
23483
|
+
};
|
|
23484
|
+
|
|
23485
|
+
|
|
23486
|
+
/**
|
|
23487
|
+
* optional uint64 session_tokens = 5;
|
|
23488
|
+
* @return {number}
|
|
23489
|
+
*/
|
|
23490
|
+
proto.gateway.web.v1.ProjectSummary.prototype.getSessionTokens = function() {
|
|
23491
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
23492
|
+
};
|
|
23493
|
+
|
|
23494
|
+
|
|
23495
|
+
/**
|
|
23496
|
+
* @param {number} value
|
|
23497
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23498
|
+
*/
|
|
23499
|
+
proto.gateway.web.v1.ProjectSummary.prototype.setSessionTokens = function(value) {
|
|
23500
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
23501
|
+
};
|
|
23502
|
+
|
|
23503
|
+
|
|
23504
|
+
/**
|
|
23505
|
+
* optional uint64 unpriced_tokens = 6;
|
|
23506
|
+
* @return {number}
|
|
23507
|
+
*/
|
|
23508
|
+
proto.gateway.web.v1.ProjectSummary.prototype.getUnpricedTokens = function() {
|
|
23509
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
23510
|
+
};
|
|
23511
|
+
|
|
23512
|
+
|
|
23513
|
+
/**
|
|
23514
|
+
* @param {number} value
|
|
23515
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23516
|
+
*/
|
|
23517
|
+
proto.gateway.web.v1.ProjectSummary.prototype.setUnpricedTokens = function(value) {
|
|
23518
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
23519
|
+
};
|
|
23520
|
+
|
|
23521
|
+
|
|
23522
|
+
/**
|
|
23523
|
+
* optional google.protobuf.Timestamp last_activity_at = 7;
|
|
23524
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
23525
|
+
*/
|
|
23526
|
+
proto.gateway.web.v1.ProjectSummary.prototype.getLastActivityAt = function() {
|
|
23527
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
23528
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
23529
|
+
};
|
|
23530
|
+
|
|
23531
|
+
|
|
23532
|
+
/**
|
|
23533
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
23534
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23535
|
+
*/
|
|
23536
|
+
proto.gateway.web.v1.ProjectSummary.prototype.setLastActivityAt = function(value) {
|
|
23537
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
23538
|
+
};
|
|
23539
|
+
|
|
23540
|
+
|
|
23541
|
+
/**
|
|
23542
|
+
* Clears the message field making it undefined.
|
|
23543
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23544
|
+
*/
|
|
23545
|
+
proto.gateway.web.v1.ProjectSummary.prototype.clearLastActivityAt = function() {
|
|
23546
|
+
return this.setLastActivityAt(undefined);
|
|
23547
|
+
};
|
|
23548
|
+
|
|
23549
|
+
|
|
23550
|
+
/**
|
|
23551
|
+
* Returns whether this field is set.
|
|
23552
|
+
* @return {boolean}
|
|
23553
|
+
*/
|
|
23554
|
+
proto.gateway.web.v1.ProjectSummary.prototype.hasLastActivityAt = function() {
|
|
23555
|
+
return jspb.Message.getField(this, 7) != null;
|
|
23556
|
+
};
|
|
23557
|
+
|
|
23558
|
+
|
|
23559
|
+
/**
|
|
23560
|
+
* repeated ProjectSummaryActor actors = 8;
|
|
23561
|
+
* @return {!Array<!proto.gateway.web.v1.ProjectSummaryActor>}
|
|
23562
|
+
*/
|
|
23563
|
+
proto.gateway.web.v1.ProjectSummary.prototype.getActorsList = function() {
|
|
23564
|
+
return /** @type{!Array<!proto.gateway.web.v1.ProjectSummaryActor>} */ (
|
|
23565
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectSummaryActor, 8));
|
|
23566
|
+
};
|
|
23567
|
+
|
|
23568
|
+
|
|
23569
|
+
/**
|
|
23570
|
+
* @param {!Array<!proto.gateway.web.v1.ProjectSummaryActor>} value
|
|
23571
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23572
|
+
*/
|
|
23573
|
+
proto.gateway.web.v1.ProjectSummary.prototype.setActorsList = function(value) {
|
|
23574
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
23575
|
+
};
|
|
23576
|
+
|
|
23577
|
+
|
|
23578
|
+
/**
|
|
23579
|
+
* @param {!proto.gateway.web.v1.ProjectSummaryActor=} opt_value
|
|
23580
|
+
* @param {number=} opt_index
|
|
23581
|
+
* @return {!proto.gateway.web.v1.ProjectSummaryActor}
|
|
23582
|
+
*/
|
|
23583
|
+
proto.gateway.web.v1.ProjectSummary.prototype.addActors = function(opt_value, opt_index) {
|
|
23584
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.gateway.web.v1.ProjectSummaryActor, opt_index);
|
|
23585
|
+
};
|
|
23586
|
+
|
|
23587
|
+
|
|
23588
|
+
/**
|
|
23589
|
+
* Clears the list making it empty but non-null.
|
|
23590
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23591
|
+
*/
|
|
23592
|
+
proto.gateway.web.v1.ProjectSummary.prototype.clearActorsList = function() {
|
|
23593
|
+
return this.setActorsList([]);
|
|
23594
|
+
};
|
|
23595
|
+
|
|
23596
|
+
|
|
23597
|
+
/**
|
|
23598
|
+
* repeated ProjectOverviewSlice by_model = 9;
|
|
23599
|
+
* @return {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>}
|
|
23600
|
+
*/
|
|
23601
|
+
proto.gateway.web.v1.ProjectSummary.prototype.getByModelList = function() {
|
|
23602
|
+
return /** @type{!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} */ (
|
|
23603
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectOverviewSlice, 9));
|
|
23604
|
+
};
|
|
23605
|
+
|
|
23606
|
+
|
|
23607
|
+
/**
|
|
23608
|
+
* @param {!Array<!proto.gateway.web.v1.ProjectOverviewSlice>} value
|
|
23609
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23610
|
+
*/
|
|
23611
|
+
proto.gateway.web.v1.ProjectSummary.prototype.setByModelList = function(value) {
|
|
23612
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
23613
|
+
};
|
|
23614
|
+
|
|
23615
|
+
|
|
23616
|
+
/**
|
|
23617
|
+
* @param {!proto.gateway.web.v1.ProjectOverviewSlice=} opt_value
|
|
23618
|
+
* @param {number=} opt_index
|
|
23619
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice}
|
|
23620
|
+
*/
|
|
23621
|
+
proto.gateway.web.v1.ProjectSummary.prototype.addByModel = function(opt_value, opt_index) {
|
|
23622
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.gateway.web.v1.ProjectOverviewSlice, opt_index);
|
|
23623
|
+
};
|
|
23624
|
+
|
|
23625
|
+
|
|
23626
|
+
/**
|
|
23627
|
+
* Clears the list making it empty but non-null.
|
|
23628
|
+
* @return {!proto.gateway.web.v1.ProjectSummary} returns this
|
|
23629
|
+
*/
|
|
23630
|
+
proto.gateway.web.v1.ProjectSummary.prototype.clearByModelList = function() {
|
|
23631
|
+
return this.setByModelList([]);
|
|
23632
|
+
};
|
|
23633
|
+
|
|
23634
|
+
|
|
23635
|
+
|
|
23636
|
+
|
|
23637
|
+
|
|
23638
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23639
|
+
/**
|
|
23640
|
+
* Creates an object representation of this proto.
|
|
23641
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23642
|
+
* Optional fields that are not set will be set to undefined.
|
|
23643
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23644
|
+
* For the list of reserved names please see:
|
|
23645
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23646
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23647
|
+
* JSPB instance for transitional soy proto support:
|
|
23648
|
+
* http://goto/soy-param-migration
|
|
23649
|
+
* @return {!Object}
|
|
23650
|
+
*/
|
|
23651
|
+
proto.gateway.web.v1.ProjectSummaryActor.prototype.toObject = function(opt_includeInstance) {
|
|
23652
|
+
return proto.gateway.web.v1.ProjectSummaryActor.toObject(opt_includeInstance, this);
|
|
23653
|
+
};
|
|
23654
|
+
|
|
23655
|
+
|
|
23656
|
+
/**
|
|
23657
|
+
* Static version of the {@see toObject} method.
|
|
23658
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23659
|
+
* the JSPB instance for transitional soy proto support:
|
|
23660
|
+
* http://goto/soy-param-migration
|
|
23661
|
+
* @param {!proto.gateway.web.v1.ProjectSummaryActor} msg The msg instance to transform.
|
|
23662
|
+
* @return {!Object}
|
|
23663
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23664
|
+
*/
|
|
23665
|
+
proto.gateway.web.v1.ProjectSummaryActor.toObject = function(includeInstance, msg) {
|
|
23666
|
+
var f, obj = {
|
|
23667
|
+
sourceSystem: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
23668
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23669
|
+
apiKeyId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
23670
|
+
};
|
|
23671
|
+
|
|
23672
|
+
if (includeInstance) {
|
|
23673
|
+
obj.$jspbMessageInstance = msg;
|
|
23674
|
+
}
|
|
23675
|
+
return obj;
|
|
23676
|
+
};
|
|
23677
|
+
}
|
|
23678
|
+
|
|
23679
|
+
|
|
23680
|
+
/**
|
|
23681
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23682
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
23683
|
+
* @return {!proto.gateway.web.v1.ProjectSummaryActor}
|
|
23684
|
+
*/
|
|
23685
|
+
proto.gateway.web.v1.ProjectSummaryActor.deserializeBinary = function(bytes) {
|
|
23686
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23687
|
+
var msg = new proto.gateway.web.v1.ProjectSummaryActor;
|
|
23688
|
+
return proto.gateway.web.v1.ProjectSummaryActor.deserializeBinaryFromReader(msg, reader);
|
|
23689
|
+
};
|
|
23690
|
+
|
|
23691
|
+
|
|
23692
|
+
/**
|
|
23693
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23694
|
+
* given reader into the given message object.
|
|
23695
|
+
* @param {!proto.gateway.web.v1.ProjectSummaryActor} msg The message object to deserialize into.
|
|
23696
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23697
|
+
* @return {!proto.gateway.web.v1.ProjectSummaryActor}
|
|
23698
|
+
*/
|
|
23699
|
+
proto.gateway.web.v1.ProjectSummaryActor.deserializeBinaryFromReader = function(msg, reader) {
|
|
23700
|
+
while (reader.nextField()) {
|
|
23701
|
+
if (reader.isEndGroup()) {
|
|
23702
|
+
break;
|
|
23703
|
+
}
|
|
23704
|
+
var field = reader.getFieldNumber();
|
|
23705
|
+
switch (field) {
|
|
23706
|
+
case 1:
|
|
23707
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
23708
|
+
msg.setSourceSystem(value);
|
|
23709
|
+
break;
|
|
23710
|
+
case 2:
|
|
23711
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
23712
|
+
msg.setUserId(value);
|
|
23713
|
+
break;
|
|
23714
|
+
case 3:
|
|
23715
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
23716
|
+
msg.setApiKeyId(value);
|
|
23717
|
+
break;
|
|
23718
|
+
default:
|
|
23719
|
+
reader.skipField();
|
|
23720
|
+
break;
|
|
23721
|
+
}
|
|
23722
|
+
}
|
|
23723
|
+
return msg;
|
|
23724
|
+
};
|
|
23725
|
+
|
|
23726
|
+
|
|
23727
|
+
/**
|
|
23728
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23729
|
+
* @return {!Uint8Array}
|
|
23730
|
+
*/
|
|
23731
|
+
proto.gateway.web.v1.ProjectSummaryActor.prototype.serializeBinary = function() {
|
|
23732
|
+
var writer = new jspb.BinaryWriter();
|
|
23733
|
+
proto.gateway.web.v1.ProjectSummaryActor.serializeBinaryToWriter(this, writer);
|
|
23734
|
+
return writer.getResultBuffer();
|
|
23735
|
+
};
|
|
23736
|
+
|
|
23737
|
+
|
|
23738
|
+
/**
|
|
23739
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23740
|
+
* format), writing to the given BinaryWriter.
|
|
23741
|
+
* @param {!proto.gateway.web.v1.ProjectSummaryActor} message
|
|
23742
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23743
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23744
|
+
*/
|
|
23745
|
+
proto.gateway.web.v1.ProjectSummaryActor.serializeBinaryToWriter = function(message, writer) {
|
|
23746
|
+
var f = undefined;
|
|
23747
|
+
f = message.getSourceSystem();
|
|
23748
|
+
if (f.length > 0) {
|
|
23749
|
+
writer.writeString(
|
|
23750
|
+
1,
|
|
23751
|
+
f
|
|
23752
|
+
);
|
|
23753
|
+
}
|
|
23754
|
+
f = message.getUserId();
|
|
23755
|
+
if (f.length > 0) {
|
|
23756
|
+
writer.writeString(
|
|
23757
|
+
2,
|
|
23758
|
+
f
|
|
23759
|
+
);
|
|
23760
|
+
}
|
|
23761
|
+
f = message.getApiKeyId();
|
|
23762
|
+
if (f.length > 0) {
|
|
23763
|
+
writer.writeString(
|
|
23764
|
+
3,
|
|
23765
|
+
f
|
|
23766
|
+
);
|
|
23767
|
+
}
|
|
23768
|
+
};
|
|
23769
|
+
|
|
23770
|
+
|
|
23771
|
+
/**
|
|
23772
|
+
* optional string source_system = 1;
|
|
23773
|
+
* @return {string}
|
|
23774
|
+
*/
|
|
23775
|
+
proto.gateway.web.v1.ProjectSummaryActor.prototype.getSourceSystem = function() {
|
|
23776
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
23777
|
+
};
|
|
23778
|
+
|
|
23779
|
+
|
|
23780
|
+
/**
|
|
23781
|
+
* @param {string} value
|
|
23782
|
+
* @return {!proto.gateway.web.v1.ProjectSummaryActor} returns this
|
|
23783
|
+
*/
|
|
23784
|
+
proto.gateway.web.v1.ProjectSummaryActor.prototype.setSourceSystem = function(value) {
|
|
23785
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
23786
|
+
};
|
|
23787
|
+
|
|
23788
|
+
|
|
23789
|
+
/**
|
|
23790
|
+
* optional string user_id = 2;
|
|
23791
|
+
* @return {string}
|
|
23792
|
+
*/
|
|
23793
|
+
proto.gateway.web.v1.ProjectSummaryActor.prototype.getUserId = function() {
|
|
23794
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
23795
|
+
};
|
|
23796
|
+
|
|
23797
|
+
|
|
23798
|
+
/**
|
|
23799
|
+
* @param {string} value
|
|
23800
|
+
* @return {!proto.gateway.web.v1.ProjectSummaryActor} returns this
|
|
23801
|
+
*/
|
|
23802
|
+
proto.gateway.web.v1.ProjectSummaryActor.prototype.setUserId = function(value) {
|
|
23803
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
23804
|
+
};
|
|
23805
|
+
|
|
23806
|
+
|
|
23807
|
+
/**
|
|
23808
|
+
* optional string api_key_id = 3;
|
|
23809
|
+
* @return {string}
|
|
23810
|
+
*/
|
|
23811
|
+
proto.gateway.web.v1.ProjectSummaryActor.prototype.getApiKeyId = function() {
|
|
23812
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
23813
|
+
};
|
|
23814
|
+
|
|
23815
|
+
|
|
23816
|
+
/**
|
|
23817
|
+
* @param {string} value
|
|
23818
|
+
* @return {!proto.gateway.web.v1.ProjectSummaryActor} returns this
|
|
23819
|
+
*/
|
|
23820
|
+
proto.gateway.web.v1.ProjectSummaryActor.prototype.setApiKeyId = function(value) {
|
|
23821
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
23822
|
+
};
|
|
23823
|
+
|
|
23824
|
+
|
|
23825
|
+
|
|
22707
23826
|
|
|
22708
23827
|
|
|
22709
23828
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|