@miradorlabs/web-grpc 2.66.0 → 2.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/proto/gateway/web/v1/ai_gateway.ts +563 -3
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +36 -0
- package/proto/gateway/web/v1/ai_gateway_pb.js +968 -9
- package/proto/gateway/web/v1/metric_gateway.ts +389 -0
- package/proto/gateway/web/v1/metric_gateway_grpc_pb.js +39 -0
- package/proto/gateway/web/v1/metric_gateway_pb.js +786 -0
|
@@ -54,7 +54,10 @@ goog.exportSymbol('proto.gateway.web.v1.AITokenUsage', null, global);
|
|
|
54
54
|
goog.exportSymbol('proto.gateway.web.v1.ActivityRhythm', null, global);
|
|
55
55
|
goog.exportSymbol('proto.gateway.web.v1.ActivityRhythmBucket', null, global);
|
|
56
56
|
goog.exportSymbol('proto.gateway.web.v1.ActivityRhythmRequest', null, global);
|
|
57
|
+
goog.exportSymbol('proto.gateway.web.v1.BurnMapFile', null, global);
|
|
58
|
+
goog.exportSymbol('proto.gateway.web.v1.BurnMapRequest', null, global);
|
|
57
59
|
goog.exportSymbol('proto.gateway.web.v1.BurnRate', null, global);
|
|
60
|
+
goog.exportSymbol('proto.gateway.web.v1.BurnRateBreakdown', null, global);
|
|
58
61
|
goog.exportSymbol('proto.gateway.web.v1.BurnRateGroup', null, global);
|
|
59
62
|
goog.exportSymbol('proto.gateway.web.v1.BurnRateMeasures', null, global);
|
|
60
63
|
goog.exportSymbol('proto.gateway.web.v1.BurnRateRequest', null, global);
|
|
@@ -1112,6 +1115,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1112
1115
|
*/
|
|
1113
1116
|
proto.gateway.web.v1.BurnRate.displayName = 'proto.gateway.web.v1.BurnRate';
|
|
1114
1117
|
}
|
|
1118
|
+
/**
|
|
1119
|
+
* Generated by JsPbCodeGenerator.
|
|
1120
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1121
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1122
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1123
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1124
|
+
* valid.
|
|
1125
|
+
* @extends {jspb.Message}
|
|
1126
|
+
* @constructor
|
|
1127
|
+
*/
|
|
1128
|
+
proto.gateway.web.v1.BurnRateBreakdown = function(opt_data) {
|
|
1129
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.BurnRateBreakdown.repeatedFields_, null);
|
|
1130
|
+
};
|
|
1131
|
+
goog.inherits(proto.gateway.web.v1.BurnRateBreakdown, jspb.Message);
|
|
1132
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1133
|
+
/**
|
|
1134
|
+
* @public
|
|
1135
|
+
* @override
|
|
1136
|
+
*/
|
|
1137
|
+
proto.gateway.web.v1.BurnRateBreakdown.displayName = 'proto.gateway.web.v1.BurnRateBreakdown';
|
|
1138
|
+
}
|
|
1115
1139
|
/**
|
|
1116
1140
|
* Generated by JsPbCodeGenerator.
|
|
1117
1141
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1574,6 +1598,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1574
1598
|
*/
|
|
1575
1599
|
proto.gateway.web.v1.AIFileRow.displayName = 'proto.gateway.web.v1.AIFileRow';
|
|
1576
1600
|
}
|
|
1601
|
+
/**
|
|
1602
|
+
* Generated by JsPbCodeGenerator.
|
|
1603
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1604
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1605
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1606
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1607
|
+
* valid.
|
|
1608
|
+
* @extends {jspb.Message}
|
|
1609
|
+
* @constructor
|
|
1610
|
+
*/
|
|
1611
|
+
proto.gateway.web.v1.BurnMapRequest = function(opt_data) {
|
|
1612
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1613
|
+
};
|
|
1614
|
+
goog.inherits(proto.gateway.web.v1.BurnMapRequest, jspb.Message);
|
|
1615
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1616
|
+
/**
|
|
1617
|
+
* @public
|
|
1618
|
+
* @override
|
|
1619
|
+
*/
|
|
1620
|
+
proto.gateway.web.v1.BurnMapRequest.displayName = 'proto.gateway.web.v1.BurnMapRequest';
|
|
1621
|
+
}
|
|
1622
|
+
/**
|
|
1623
|
+
* Generated by JsPbCodeGenerator.
|
|
1624
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1625
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1626
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1627
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1628
|
+
* valid.
|
|
1629
|
+
* @extends {jspb.Message}
|
|
1630
|
+
* @constructor
|
|
1631
|
+
*/
|
|
1632
|
+
proto.gateway.web.v1.BurnMapFile = function(opt_data) {
|
|
1633
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1634
|
+
};
|
|
1635
|
+
goog.inherits(proto.gateway.web.v1.BurnMapFile, jspb.Message);
|
|
1636
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1637
|
+
/**
|
|
1638
|
+
* @public
|
|
1639
|
+
* @override
|
|
1640
|
+
*/
|
|
1641
|
+
proto.gateway.web.v1.BurnMapFile.displayName = 'proto.gateway.web.v1.BurnMapFile';
|
|
1642
|
+
}
|
|
1577
1643
|
/**
|
|
1578
1644
|
* Generated by JsPbCodeGenerator.
|
|
1579
1645
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -16307,7 +16373,7 @@ proto.gateway.web.v1.BurnRateRequest.prototype.setGroupBy = function(value) {
|
|
|
16307
16373
|
* @private {!Array<number>}
|
|
16308
16374
|
* @const
|
|
16309
16375
|
*/
|
|
16310
|
-
proto.gateway.web.v1.BurnRate.repeatedFields_ = [3,4];
|
|
16376
|
+
proto.gateway.web.v1.BurnRate.repeatedFields_ = [3,4,6];
|
|
16311
16377
|
|
|
16312
16378
|
|
|
16313
16379
|
|
|
@@ -16346,7 +16412,9 @@ currentGroupsList: jspb.Message.toObjectList(msg.getCurrentGroupsList(),
|
|
|
16346
16412
|
proto.gateway.web.v1.BurnRateGroup.toObject, includeInstance),
|
|
16347
16413
|
sparklineList: jspb.Message.toObjectList(msg.getSparklineList(),
|
|
16348
16414
|
proto.gateway.web.v1.BurnRateSparkPoint.toObject, includeInstance),
|
|
16349
|
-
groupBy: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
16415
|
+
groupBy: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
16416
|
+
breakdownsList: jspb.Message.toObjectList(msg.getBreakdownsList(),
|
|
16417
|
+
proto.gateway.web.v1.BurnRateBreakdown.toObject, includeInstance)
|
|
16350
16418
|
};
|
|
16351
16419
|
|
|
16352
16420
|
if (includeInstance) {
|
|
@@ -16407,6 +16475,11 @@ proto.gateway.web.v1.BurnRate.deserializeBinaryFromReader = function(msg, reader
|
|
|
16407
16475
|
var value = /** @type {!proto.gateway.web.v1.AITokenActivityDimension} */ (reader.readEnum());
|
|
16408
16476
|
msg.setGroupBy(value);
|
|
16409
16477
|
break;
|
|
16478
|
+
case 6:
|
|
16479
|
+
var value = new proto.gateway.web.v1.BurnRateBreakdown;
|
|
16480
|
+
reader.readMessage(value,proto.gateway.web.v1.BurnRateBreakdown.deserializeBinaryFromReader);
|
|
16481
|
+
msg.addBreakdowns(value);
|
|
16482
|
+
break;
|
|
16410
16483
|
default:
|
|
16411
16484
|
reader.skipField();
|
|
16412
16485
|
break;
|
|
@@ -16475,6 +16548,14 @@ proto.gateway.web.v1.BurnRate.serializeBinaryToWriter = function(message, writer
|
|
|
16475
16548
|
f
|
|
16476
16549
|
);
|
|
16477
16550
|
}
|
|
16551
|
+
f = message.getBreakdownsList();
|
|
16552
|
+
if (f.length > 0) {
|
|
16553
|
+
writer.writeRepeatedMessage(
|
|
16554
|
+
6,
|
|
16555
|
+
f,
|
|
16556
|
+
proto.gateway.web.v1.BurnRateBreakdown.serializeBinaryToWriter
|
|
16557
|
+
);
|
|
16558
|
+
}
|
|
16478
16559
|
};
|
|
16479
16560
|
|
|
16480
16561
|
|
|
@@ -16646,6 +16727,234 @@ proto.gateway.web.v1.BurnRate.prototype.setGroupBy = function(value) {
|
|
|
16646
16727
|
};
|
|
16647
16728
|
|
|
16648
16729
|
|
|
16730
|
+
/**
|
|
16731
|
+
* repeated BurnRateBreakdown breakdowns = 6;
|
|
16732
|
+
* @return {!Array<!proto.gateway.web.v1.BurnRateBreakdown>}
|
|
16733
|
+
*/
|
|
16734
|
+
proto.gateway.web.v1.BurnRate.prototype.getBreakdownsList = function() {
|
|
16735
|
+
return /** @type{!Array<!proto.gateway.web.v1.BurnRateBreakdown>} */ (
|
|
16736
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.BurnRateBreakdown, 6));
|
|
16737
|
+
};
|
|
16738
|
+
|
|
16739
|
+
|
|
16740
|
+
/**
|
|
16741
|
+
* @param {!Array<!proto.gateway.web.v1.BurnRateBreakdown>} value
|
|
16742
|
+
* @return {!proto.gateway.web.v1.BurnRate} returns this
|
|
16743
|
+
*/
|
|
16744
|
+
proto.gateway.web.v1.BurnRate.prototype.setBreakdownsList = function(value) {
|
|
16745
|
+
return jspb.Message.setRepeatedWrapperField(this, 6, value);
|
|
16746
|
+
};
|
|
16747
|
+
|
|
16748
|
+
|
|
16749
|
+
/**
|
|
16750
|
+
* @param {!proto.gateway.web.v1.BurnRateBreakdown=} opt_value
|
|
16751
|
+
* @param {number=} opt_index
|
|
16752
|
+
* @return {!proto.gateway.web.v1.BurnRateBreakdown}
|
|
16753
|
+
*/
|
|
16754
|
+
proto.gateway.web.v1.BurnRate.prototype.addBreakdowns = function(opt_value, opt_index) {
|
|
16755
|
+
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.gateway.web.v1.BurnRateBreakdown, opt_index);
|
|
16756
|
+
};
|
|
16757
|
+
|
|
16758
|
+
|
|
16759
|
+
/**
|
|
16760
|
+
* Clears the list making it empty but non-null.
|
|
16761
|
+
* @return {!proto.gateway.web.v1.BurnRate} returns this
|
|
16762
|
+
*/
|
|
16763
|
+
proto.gateway.web.v1.BurnRate.prototype.clearBreakdownsList = function() {
|
|
16764
|
+
return this.setBreakdownsList([]);
|
|
16765
|
+
};
|
|
16766
|
+
|
|
16767
|
+
|
|
16768
|
+
|
|
16769
|
+
/**
|
|
16770
|
+
* List of repeated fields within this message type.
|
|
16771
|
+
* @private {!Array<number>}
|
|
16772
|
+
* @const
|
|
16773
|
+
*/
|
|
16774
|
+
proto.gateway.web.v1.BurnRateBreakdown.repeatedFields_ = [2];
|
|
16775
|
+
|
|
16776
|
+
|
|
16777
|
+
|
|
16778
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16779
|
+
/**
|
|
16780
|
+
* Creates an object representation of this proto.
|
|
16781
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16782
|
+
* Optional fields that are not set will be set to undefined.
|
|
16783
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16784
|
+
* For the list of reserved names please see:
|
|
16785
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16786
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16787
|
+
* JSPB instance for transitional soy proto support:
|
|
16788
|
+
* http://goto/soy-param-migration
|
|
16789
|
+
* @return {!Object}
|
|
16790
|
+
*/
|
|
16791
|
+
proto.gateway.web.v1.BurnRateBreakdown.prototype.toObject = function(opt_includeInstance) {
|
|
16792
|
+
return proto.gateway.web.v1.BurnRateBreakdown.toObject(opt_includeInstance, this);
|
|
16793
|
+
};
|
|
16794
|
+
|
|
16795
|
+
|
|
16796
|
+
/**
|
|
16797
|
+
* Static version of the {@see toObject} method.
|
|
16798
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16799
|
+
* the JSPB instance for transitional soy proto support:
|
|
16800
|
+
* http://goto/soy-param-migration
|
|
16801
|
+
* @param {!proto.gateway.web.v1.BurnRateBreakdown} msg The msg instance to transform.
|
|
16802
|
+
* @return {!Object}
|
|
16803
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16804
|
+
*/
|
|
16805
|
+
proto.gateway.web.v1.BurnRateBreakdown.toObject = function(includeInstance, msg) {
|
|
16806
|
+
var f, obj = {
|
|
16807
|
+
dimension: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
16808
|
+
groupsList: jspb.Message.toObjectList(msg.getGroupsList(),
|
|
16809
|
+
proto.gateway.web.v1.BurnRateGroup.toObject, includeInstance)
|
|
16810
|
+
};
|
|
16811
|
+
|
|
16812
|
+
if (includeInstance) {
|
|
16813
|
+
obj.$jspbMessageInstance = msg;
|
|
16814
|
+
}
|
|
16815
|
+
return obj;
|
|
16816
|
+
};
|
|
16817
|
+
}
|
|
16818
|
+
|
|
16819
|
+
|
|
16820
|
+
/**
|
|
16821
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16822
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
16823
|
+
* @return {!proto.gateway.web.v1.BurnRateBreakdown}
|
|
16824
|
+
*/
|
|
16825
|
+
proto.gateway.web.v1.BurnRateBreakdown.deserializeBinary = function(bytes) {
|
|
16826
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16827
|
+
var msg = new proto.gateway.web.v1.BurnRateBreakdown;
|
|
16828
|
+
return proto.gateway.web.v1.BurnRateBreakdown.deserializeBinaryFromReader(msg, reader);
|
|
16829
|
+
};
|
|
16830
|
+
|
|
16831
|
+
|
|
16832
|
+
/**
|
|
16833
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16834
|
+
* given reader into the given message object.
|
|
16835
|
+
* @param {!proto.gateway.web.v1.BurnRateBreakdown} msg The message object to deserialize into.
|
|
16836
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16837
|
+
* @return {!proto.gateway.web.v1.BurnRateBreakdown}
|
|
16838
|
+
*/
|
|
16839
|
+
proto.gateway.web.v1.BurnRateBreakdown.deserializeBinaryFromReader = function(msg, reader) {
|
|
16840
|
+
while (reader.nextField()) {
|
|
16841
|
+
if (reader.isEndGroup()) {
|
|
16842
|
+
break;
|
|
16843
|
+
}
|
|
16844
|
+
var field = reader.getFieldNumber();
|
|
16845
|
+
switch (field) {
|
|
16846
|
+
case 1:
|
|
16847
|
+
var value = /** @type {!proto.gateway.web.v1.AITokenActivityDimension} */ (reader.readEnum());
|
|
16848
|
+
msg.setDimension(value);
|
|
16849
|
+
break;
|
|
16850
|
+
case 2:
|
|
16851
|
+
var value = new proto.gateway.web.v1.BurnRateGroup;
|
|
16852
|
+
reader.readMessage(value,proto.gateway.web.v1.BurnRateGroup.deserializeBinaryFromReader);
|
|
16853
|
+
msg.addGroups(value);
|
|
16854
|
+
break;
|
|
16855
|
+
default:
|
|
16856
|
+
reader.skipField();
|
|
16857
|
+
break;
|
|
16858
|
+
}
|
|
16859
|
+
}
|
|
16860
|
+
return msg;
|
|
16861
|
+
};
|
|
16862
|
+
|
|
16863
|
+
|
|
16864
|
+
/**
|
|
16865
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16866
|
+
* @return {!Uint8Array}
|
|
16867
|
+
*/
|
|
16868
|
+
proto.gateway.web.v1.BurnRateBreakdown.prototype.serializeBinary = function() {
|
|
16869
|
+
var writer = new jspb.BinaryWriter();
|
|
16870
|
+
proto.gateway.web.v1.BurnRateBreakdown.serializeBinaryToWriter(this, writer);
|
|
16871
|
+
return writer.getResultBuffer();
|
|
16872
|
+
};
|
|
16873
|
+
|
|
16874
|
+
|
|
16875
|
+
/**
|
|
16876
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16877
|
+
* format), writing to the given BinaryWriter.
|
|
16878
|
+
* @param {!proto.gateway.web.v1.BurnRateBreakdown} message
|
|
16879
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16880
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16881
|
+
*/
|
|
16882
|
+
proto.gateway.web.v1.BurnRateBreakdown.serializeBinaryToWriter = function(message, writer) {
|
|
16883
|
+
var f = undefined;
|
|
16884
|
+
f = message.getDimension();
|
|
16885
|
+
if (f !== 0.0) {
|
|
16886
|
+
writer.writeEnum(
|
|
16887
|
+
1,
|
|
16888
|
+
f
|
|
16889
|
+
);
|
|
16890
|
+
}
|
|
16891
|
+
f = message.getGroupsList();
|
|
16892
|
+
if (f.length > 0) {
|
|
16893
|
+
writer.writeRepeatedMessage(
|
|
16894
|
+
2,
|
|
16895
|
+
f,
|
|
16896
|
+
proto.gateway.web.v1.BurnRateGroup.serializeBinaryToWriter
|
|
16897
|
+
);
|
|
16898
|
+
}
|
|
16899
|
+
};
|
|
16900
|
+
|
|
16901
|
+
|
|
16902
|
+
/**
|
|
16903
|
+
* optional AITokenActivityDimension dimension = 1;
|
|
16904
|
+
* @return {!proto.gateway.web.v1.AITokenActivityDimension}
|
|
16905
|
+
*/
|
|
16906
|
+
proto.gateway.web.v1.BurnRateBreakdown.prototype.getDimension = function() {
|
|
16907
|
+
return /** @type {!proto.gateway.web.v1.AITokenActivityDimension} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
16908
|
+
};
|
|
16909
|
+
|
|
16910
|
+
|
|
16911
|
+
/**
|
|
16912
|
+
* @param {!proto.gateway.web.v1.AITokenActivityDimension} value
|
|
16913
|
+
* @return {!proto.gateway.web.v1.BurnRateBreakdown} returns this
|
|
16914
|
+
*/
|
|
16915
|
+
proto.gateway.web.v1.BurnRateBreakdown.prototype.setDimension = function(value) {
|
|
16916
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
16917
|
+
};
|
|
16918
|
+
|
|
16919
|
+
|
|
16920
|
+
/**
|
|
16921
|
+
* repeated BurnRateGroup groups = 2;
|
|
16922
|
+
* @return {!Array<!proto.gateway.web.v1.BurnRateGroup>}
|
|
16923
|
+
*/
|
|
16924
|
+
proto.gateway.web.v1.BurnRateBreakdown.prototype.getGroupsList = function() {
|
|
16925
|
+
return /** @type{!Array<!proto.gateway.web.v1.BurnRateGroup>} */ (
|
|
16926
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.BurnRateGroup, 2));
|
|
16927
|
+
};
|
|
16928
|
+
|
|
16929
|
+
|
|
16930
|
+
/**
|
|
16931
|
+
* @param {!Array<!proto.gateway.web.v1.BurnRateGroup>} value
|
|
16932
|
+
* @return {!proto.gateway.web.v1.BurnRateBreakdown} returns this
|
|
16933
|
+
*/
|
|
16934
|
+
proto.gateway.web.v1.BurnRateBreakdown.prototype.setGroupsList = function(value) {
|
|
16935
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
16936
|
+
};
|
|
16937
|
+
|
|
16938
|
+
|
|
16939
|
+
/**
|
|
16940
|
+
* @param {!proto.gateway.web.v1.BurnRateGroup=} opt_value
|
|
16941
|
+
* @param {number=} opt_index
|
|
16942
|
+
* @return {!proto.gateway.web.v1.BurnRateGroup}
|
|
16943
|
+
*/
|
|
16944
|
+
proto.gateway.web.v1.BurnRateBreakdown.prototype.addGroups = function(opt_value, opt_index) {
|
|
16945
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.BurnRateGroup, opt_index);
|
|
16946
|
+
};
|
|
16947
|
+
|
|
16948
|
+
|
|
16949
|
+
/**
|
|
16950
|
+
* Clears the list making it empty but non-null.
|
|
16951
|
+
* @return {!proto.gateway.web.v1.BurnRateBreakdown} returns this
|
|
16952
|
+
*/
|
|
16953
|
+
proto.gateway.web.v1.BurnRateBreakdown.prototype.clearGroupsList = function() {
|
|
16954
|
+
return this.setGroupsList([]);
|
|
16955
|
+
};
|
|
16956
|
+
|
|
16957
|
+
|
|
16649
16958
|
|
|
16650
16959
|
|
|
16651
16960
|
|
|
@@ -20531,7 +20840,8 @@ distinctUsers: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
|
20531
20840
|
commits: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
20532
20841
|
pushes: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
20533
20842
|
filesTouched: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
20534
|
-
lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
20843
|
+
lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
20844
|
+
subscriptionCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0)
|
|
20535
20845
|
};
|
|
20536
20846
|
|
|
20537
20847
|
if (includeInstance) {
|
|
@@ -20625,6 +20935,10 @@ proto.gateway.web.v1.ProjectOverviewTotals.deserializeBinaryFromReader = functio
|
|
|
20625
20935
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
20626
20936
|
msg.setLastActivityAt(value);
|
|
20627
20937
|
break;
|
|
20938
|
+
case 15:
|
|
20939
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
20940
|
+
msg.setSubscriptionCostUsd(value);
|
|
20941
|
+
break;
|
|
20628
20942
|
default:
|
|
20629
20943
|
reader.skipField();
|
|
20630
20944
|
break;
|
|
@@ -20753,11 +21067,18 @@ proto.gateway.web.v1.ProjectOverviewTotals.serializeBinaryToWriter = function(me
|
|
|
20753
21067
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
20754
21068
|
);
|
|
20755
21069
|
}
|
|
20756
|
-
|
|
20757
|
-
|
|
20758
|
-
|
|
20759
|
-
|
|
20760
|
-
|
|
21070
|
+
f = message.getSubscriptionCostUsd();
|
|
21071
|
+
if (f !== 0.0) {
|
|
21072
|
+
writer.writeDouble(
|
|
21073
|
+
15,
|
|
21074
|
+
f
|
|
21075
|
+
);
|
|
21076
|
+
}
|
|
21077
|
+
};
|
|
21078
|
+
|
|
21079
|
+
|
|
21080
|
+
/**
|
|
21081
|
+
* optional uint64 sessions = 1;
|
|
20761
21082
|
* @return {number}
|
|
20762
21083
|
*/
|
|
20763
21084
|
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getSessions = function() {
|
|
@@ -21027,6 +21348,24 @@ proto.gateway.web.v1.ProjectOverviewTotals.prototype.hasLastActivityAt = functio
|
|
|
21027
21348
|
};
|
|
21028
21349
|
|
|
21029
21350
|
|
|
21351
|
+
/**
|
|
21352
|
+
* optional double subscription_cost_usd = 15;
|
|
21353
|
+
* @return {number}
|
|
21354
|
+
*/
|
|
21355
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.getSubscriptionCostUsd = function() {
|
|
21356
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
|
21357
|
+
};
|
|
21358
|
+
|
|
21359
|
+
|
|
21360
|
+
/**
|
|
21361
|
+
* @param {number} value
|
|
21362
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
|
|
21363
|
+
*/
|
|
21364
|
+
proto.gateway.web.v1.ProjectOverviewTotals.prototype.setSubscriptionCostUsd = function(value) {
|
|
21365
|
+
return jspb.Message.setProto3FloatField(this, 15, value);
|
|
21366
|
+
};
|
|
21367
|
+
|
|
21368
|
+
|
|
21030
21369
|
|
|
21031
21370
|
|
|
21032
21371
|
|
|
@@ -21063,7 +21402,8 @@ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
21063
21402
|
modelCalls: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21064
21403
|
inputTokens: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
21065
21404
|
outputTokens: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
21066
|
-
costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
|
21405
|
+
costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
21406
|
+
subscriptionCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
|
|
21067
21407
|
};
|
|
21068
21408
|
|
|
21069
21409
|
if (includeInstance) {
|
|
@@ -21120,6 +21460,10 @@ proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader = function
|
|
|
21120
21460
|
var value = /** @type {number} */ (reader.readDouble());
|
|
21121
21461
|
msg.setCostUsd(value);
|
|
21122
21462
|
break;
|
|
21463
|
+
case 6:
|
|
21464
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
21465
|
+
msg.setSubscriptionCostUsd(value);
|
|
21466
|
+
break;
|
|
21123
21467
|
default:
|
|
21124
21468
|
reader.skipField();
|
|
21125
21469
|
break;
|
|
@@ -21184,6 +21528,13 @@ proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter = function(mes
|
|
|
21184
21528
|
f
|
|
21185
21529
|
);
|
|
21186
21530
|
}
|
|
21531
|
+
f = message.getSubscriptionCostUsd();
|
|
21532
|
+
if (f !== 0.0) {
|
|
21533
|
+
writer.writeDouble(
|
|
21534
|
+
6,
|
|
21535
|
+
f
|
|
21536
|
+
);
|
|
21537
|
+
}
|
|
21187
21538
|
};
|
|
21188
21539
|
|
|
21189
21540
|
|
|
@@ -21277,6 +21628,24 @@ proto.gateway.web.v1.ProjectOverviewSlice.prototype.setCostUsd = function(value)
|
|
|
21277
21628
|
};
|
|
21278
21629
|
|
|
21279
21630
|
|
|
21631
|
+
/**
|
|
21632
|
+
* optional double subscription_cost_usd = 6;
|
|
21633
|
+
* @return {number}
|
|
21634
|
+
*/
|
|
21635
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.getSubscriptionCostUsd = function() {
|
|
21636
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
21637
|
+
};
|
|
21638
|
+
|
|
21639
|
+
|
|
21640
|
+
/**
|
|
21641
|
+
* @param {number} value
|
|
21642
|
+
* @return {!proto.gateway.web.v1.ProjectOverviewSlice} returns this
|
|
21643
|
+
*/
|
|
21644
|
+
proto.gateway.web.v1.ProjectOverviewSlice.prototype.setSubscriptionCostUsd = function(value) {
|
|
21645
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
21646
|
+
};
|
|
21647
|
+
|
|
21648
|
+
|
|
21280
21649
|
|
|
21281
21650
|
|
|
21282
21651
|
|
|
@@ -24444,6 +24813,596 @@ proto.gateway.web.v1.AIFileRow.prototype.setSubscriptionUnlandedCostUsd = functi
|
|
|
24444
24813
|
|
|
24445
24814
|
|
|
24446
24815
|
|
|
24816
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24817
|
+
/**
|
|
24818
|
+
* Creates an object representation of this proto.
|
|
24819
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24820
|
+
* Optional fields that are not set will be set to undefined.
|
|
24821
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24822
|
+
* For the list of reserved names please see:
|
|
24823
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24824
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24825
|
+
* JSPB instance for transitional soy proto support:
|
|
24826
|
+
* http://goto/soy-param-migration
|
|
24827
|
+
* @return {!Object}
|
|
24828
|
+
*/
|
|
24829
|
+
proto.gateway.web.v1.BurnMapRequest.prototype.toObject = function(opt_includeInstance) {
|
|
24830
|
+
return proto.gateway.web.v1.BurnMapRequest.toObject(opt_includeInstance, this);
|
|
24831
|
+
};
|
|
24832
|
+
|
|
24833
|
+
|
|
24834
|
+
/**
|
|
24835
|
+
* Static version of the {@see toObject} method.
|
|
24836
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24837
|
+
* the JSPB instance for transitional soy proto support:
|
|
24838
|
+
* http://goto/soy-param-migration
|
|
24839
|
+
* @param {!proto.gateway.web.v1.BurnMapRequest} msg The msg instance to transform.
|
|
24840
|
+
* @return {!Object}
|
|
24841
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24842
|
+
*/
|
|
24843
|
+
proto.gateway.web.v1.BurnMapRequest.toObject = function(includeInstance, msg) {
|
|
24844
|
+
var f, obj = {
|
|
24845
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
24846
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
24847
|
+
};
|
|
24848
|
+
|
|
24849
|
+
if (includeInstance) {
|
|
24850
|
+
obj.$jspbMessageInstance = msg;
|
|
24851
|
+
}
|
|
24852
|
+
return obj;
|
|
24853
|
+
};
|
|
24854
|
+
}
|
|
24855
|
+
|
|
24856
|
+
|
|
24857
|
+
/**
|
|
24858
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24859
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
24860
|
+
* @return {!proto.gateway.web.v1.BurnMapRequest}
|
|
24861
|
+
*/
|
|
24862
|
+
proto.gateway.web.v1.BurnMapRequest.deserializeBinary = function(bytes) {
|
|
24863
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24864
|
+
var msg = new proto.gateway.web.v1.BurnMapRequest;
|
|
24865
|
+
return proto.gateway.web.v1.BurnMapRequest.deserializeBinaryFromReader(msg, reader);
|
|
24866
|
+
};
|
|
24867
|
+
|
|
24868
|
+
|
|
24869
|
+
/**
|
|
24870
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24871
|
+
* given reader into the given message object.
|
|
24872
|
+
* @param {!proto.gateway.web.v1.BurnMapRequest} msg The message object to deserialize into.
|
|
24873
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24874
|
+
* @return {!proto.gateway.web.v1.BurnMapRequest}
|
|
24875
|
+
*/
|
|
24876
|
+
proto.gateway.web.v1.BurnMapRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
24877
|
+
while (reader.nextField()) {
|
|
24878
|
+
if (reader.isEndGroup()) {
|
|
24879
|
+
break;
|
|
24880
|
+
}
|
|
24881
|
+
var field = reader.getFieldNumber();
|
|
24882
|
+
switch (field) {
|
|
24883
|
+
case 1:
|
|
24884
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
24885
|
+
msg.setOrganizationId(value);
|
|
24886
|
+
break;
|
|
24887
|
+
case 2:
|
|
24888
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
24889
|
+
msg.setProjectId(value);
|
|
24890
|
+
break;
|
|
24891
|
+
default:
|
|
24892
|
+
reader.skipField();
|
|
24893
|
+
break;
|
|
24894
|
+
}
|
|
24895
|
+
}
|
|
24896
|
+
return msg;
|
|
24897
|
+
};
|
|
24898
|
+
|
|
24899
|
+
|
|
24900
|
+
/**
|
|
24901
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24902
|
+
* @return {!Uint8Array}
|
|
24903
|
+
*/
|
|
24904
|
+
proto.gateway.web.v1.BurnMapRequest.prototype.serializeBinary = function() {
|
|
24905
|
+
var writer = new jspb.BinaryWriter();
|
|
24906
|
+
proto.gateway.web.v1.BurnMapRequest.serializeBinaryToWriter(this, writer);
|
|
24907
|
+
return writer.getResultBuffer();
|
|
24908
|
+
};
|
|
24909
|
+
|
|
24910
|
+
|
|
24911
|
+
/**
|
|
24912
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24913
|
+
* format), writing to the given BinaryWriter.
|
|
24914
|
+
* @param {!proto.gateway.web.v1.BurnMapRequest} message
|
|
24915
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24916
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24917
|
+
*/
|
|
24918
|
+
proto.gateway.web.v1.BurnMapRequest.serializeBinaryToWriter = function(message, writer) {
|
|
24919
|
+
var f = undefined;
|
|
24920
|
+
f = message.getOrganizationId();
|
|
24921
|
+
if (f.length > 0) {
|
|
24922
|
+
writer.writeString(
|
|
24923
|
+
1,
|
|
24924
|
+
f
|
|
24925
|
+
);
|
|
24926
|
+
}
|
|
24927
|
+
f = message.getProjectId();
|
|
24928
|
+
if (f.length > 0) {
|
|
24929
|
+
writer.writeString(
|
|
24930
|
+
2,
|
|
24931
|
+
f
|
|
24932
|
+
);
|
|
24933
|
+
}
|
|
24934
|
+
};
|
|
24935
|
+
|
|
24936
|
+
|
|
24937
|
+
/**
|
|
24938
|
+
* optional string organization_id = 1;
|
|
24939
|
+
* @return {string}
|
|
24940
|
+
*/
|
|
24941
|
+
proto.gateway.web.v1.BurnMapRequest.prototype.getOrganizationId = function() {
|
|
24942
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
24943
|
+
};
|
|
24944
|
+
|
|
24945
|
+
|
|
24946
|
+
/**
|
|
24947
|
+
* @param {string} value
|
|
24948
|
+
* @return {!proto.gateway.web.v1.BurnMapRequest} returns this
|
|
24949
|
+
*/
|
|
24950
|
+
proto.gateway.web.v1.BurnMapRequest.prototype.setOrganizationId = function(value) {
|
|
24951
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
24952
|
+
};
|
|
24953
|
+
|
|
24954
|
+
|
|
24955
|
+
/**
|
|
24956
|
+
* optional string project_id = 2;
|
|
24957
|
+
* @return {string}
|
|
24958
|
+
*/
|
|
24959
|
+
proto.gateway.web.v1.BurnMapRequest.prototype.getProjectId = function() {
|
|
24960
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
24961
|
+
};
|
|
24962
|
+
|
|
24963
|
+
|
|
24964
|
+
/**
|
|
24965
|
+
* @param {string} value
|
|
24966
|
+
* @return {!proto.gateway.web.v1.BurnMapRequest} returns this
|
|
24967
|
+
*/
|
|
24968
|
+
proto.gateway.web.v1.BurnMapRequest.prototype.setProjectId = function(value) {
|
|
24969
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
24970
|
+
};
|
|
24971
|
+
|
|
24972
|
+
|
|
24973
|
+
|
|
24974
|
+
|
|
24975
|
+
|
|
24976
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24977
|
+
/**
|
|
24978
|
+
* Creates an object representation of this proto.
|
|
24979
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24980
|
+
* Optional fields that are not set will be set to undefined.
|
|
24981
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24982
|
+
* For the list of reserved names please see:
|
|
24983
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24984
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24985
|
+
* JSPB instance for transitional soy proto support:
|
|
24986
|
+
* http://goto/soy-param-migration
|
|
24987
|
+
* @return {!Object}
|
|
24988
|
+
*/
|
|
24989
|
+
proto.gateway.web.v1.BurnMapFile.prototype.toObject = function(opt_includeInstance) {
|
|
24990
|
+
return proto.gateway.web.v1.BurnMapFile.toObject(opt_includeInstance, this);
|
|
24991
|
+
};
|
|
24992
|
+
|
|
24993
|
+
|
|
24994
|
+
/**
|
|
24995
|
+
* Static version of the {@see toObject} method.
|
|
24996
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24997
|
+
* the JSPB instance for transitional soy proto support:
|
|
24998
|
+
* http://goto/soy-param-migration
|
|
24999
|
+
* @param {!proto.gateway.web.v1.BurnMapFile} msg The msg instance to transform.
|
|
25000
|
+
* @return {!Object}
|
|
25001
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25002
|
+
*/
|
|
25003
|
+
proto.gateway.web.v1.BurnMapFile.toObject = function(includeInstance, msg) {
|
|
25004
|
+
var f, obj = {
|
|
25005
|
+
repoId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
25006
|
+
repositoryKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
25007
|
+
ref: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
25008
|
+
path: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
25009
|
+
state: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
25010
|
+
edits: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
25011
|
+
distinctSessions: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
25012
|
+
unlandedCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
25013
|
+
subscriptionUnlandedCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
25014
|
+
totalCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
25015
|
+
subscriptionTotalCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
25016
|
+
};
|
|
25017
|
+
|
|
25018
|
+
if (includeInstance) {
|
|
25019
|
+
obj.$jspbMessageInstance = msg;
|
|
25020
|
+
}
|
|
25021
|
+
return obj;
|
|
25022
|
+
};
|
|
25023
|
+
}
|
|
25024
|
+
|
|
25025
|
+
|
|
25026
|
+
/**
|
|
25027
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25028
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
25029
|
+
* @return {!proto.gateway.web.v1.BurnMapFile}
|
|
25030
|
+
*/
|
|
25031
|
+
proto.gateway.web.v1.BurnMapFile.deserializeBinary = function(bytes) {
|
|
25032
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25033
|
+
var msg = new proto.gateway.web.v1.BurnMapFile;
|
|
25034
|
+
return proto.gateway.web.v1.BurnMapFile.deserializeBinaryFromReader(msg, reader);
|
|
25035
|
+
};
|
|
25036
|
+
|
|
25037
|
+
|
|
25038
|
+
/**
|
|
25039
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25040
|
+
* given reader into the given message object.
|
|
25041
|
+
* @param {!proto.gateway.web.v1.BurnMapFile} msg The message object to deserialize into.
|
|
25042
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25043
|
+
* @return {!proto.gateway.web.v1.BurnMapFile}
|
|
25044
|
+
*/
|
|
25045
|
+
proto.gateway.web.v1.BurnMapFile.deserializeBinaryFromReader = function(msg, reader) {
|
|
25046
|
+
while (reader.nextField()) {
|
|
25047
|
+
if (reader.isEndGroup()) {
|
|
25048
|
+
break;
|
|
25049
|
+
}
|
|
25050
|
+
var field = reader.getFieldNumber();
|
|
25051
|
+
switch (field) {
|
|
25052
|
+
case 1:
|
|
25053
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
25054
|
+
msg.setRepoId(value);
|
|
25055
|
+
break;
|
|
25056
|
+
case 2:
|
|
25057
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
25058
|
+
msg.setRepositoryKey(value);
|
|
25059
|
+
break;
|
|
25060
|
+
case 3:
|
|
25061
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
25062
|
+
msg.setRef(value);
|
|
25063
|
+
break;
|
|
25064
|
+
case 4:
|
|
25065
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
25066
|
+
msg.setPath(value);
|
|
25067
|
+
break;
|
|
25068
|
+
case 5:
|
|
25069
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
25070
|
+
msg.setState(value);
|
|
25071
|
+
break;
|
|
25072
|
+
case 6:
|
|
25073
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
25074
|
+
msg.setEdits(value);
|
|
25075
|
+
break;
|
|
25076
|
+
case 7:
|
|
25077
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
25078
|
+
msg.setDistinctSessions(value);
|
|
25079
|
+
break;
|
|
25080
|
+
case 8:
|
|
25081
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
25082
|
+
msg.setUnlandedCostUsd(value);
|
|
25083
|
+
break;
|
|
25084
|
+
case 9:
|
|
25085
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
25086
|
+
msg.setSubscriptionUnlandedCostUsd(value);
|
|
25087
|
+
break;
|
|
25088
|
+
case 10:
|
|
25089
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
25090
|
+
msg.setTotalCostUsd(value);
|
|
25091
|
+
break;
|
|
25092
|
+
case 11:
|
|
25093
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
25094
|
+
msg.setSubscriptionTotalCostUsd(value);
|
|
25095
|
+
break;
|
|
25096
|
+
default:
|
|
25097
|
+
reader.skipField();
|
|
25098
|
+
break;
|
|
25099
|
+
}
|
|
25100
|
+
}
|
|
25101
|
+
return msg;
|
|
25102
|
+
};
|
|
25103
|
+
|
|
25104
|
+
|
|
25105
|
+
/**
|
|
25106
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25107
|
+
* @return {!Uint8Array}
|
|
25108
|
+
*/
|
|
25109
|
+
proto.gateway.web.v1.BurnMapFile.prototype.serializeBinary = function() {
|
|
25110
|
+
var writer = new jspb.BinaryWriter();
|
|
25111
|
+
proto.gateway.web.v1.BurnMapFile.serializeBinaryToWriter(this, writer);
|
|
25112
|
+
return writer.getResultBuffer();
|
|
25113
|
+
};
|
|
25114
|
+
|
|
25115
|
+
|
|
25116
|
+
/**
|
|
25117
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25118
|
+
* format), writing to the given BinaryWriter.
|
|
25119
|
+
* @param {!proto.gateway.web.v1.BurnMapFile} message
|
|
25120
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25121
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25122
|
+
*/
|
|
25123
|
+
proto.gateway.web.v1.BurnMapFile.serializeBinaryToWriter = function(message, writer) {
|
|
25124
|
+
var f = undefined;
|
|
25125
|
+
f = message.getRepoId();
|
|
25126
|
+
if (f.length > 0) {
|
|
25127
|
+
writer.writeString(
|
|
25128
|
+
1,
|
|
25129
|
+
f
|
|
25130
|
+
);
|
|
25131
|
+
}
|
|
25132
|
+
f = message.getRepositoryKey();
|
|
25133
|
+
if (f.length > 0) {
|
|
25134
|
+
writer.writeString(
|
|
25135
|
+
2,
|
|
25136
|
+
f
|
|
25137
|
+
);
|
|
25138
|
+
}
|
|
25139
|
+
f = message.getRef();
|
|
25140
|
+
if (f.length > 0) {
|
|
25141
|
+
writer.writeString(
|
|
25142
|
+
3,
|
|
25143
|
+
f
|
|
25144
|
+
);
|
|
25145
|
+
}
|
|
25146
|
+
f = message.getPath();
|
|
25147
|
+
if (f.length > 0) {
|
|
25148
|
+
writer.writeString(
|
|
25149
|
+
4,
|
|
25150
|
+
f
|
|
25151
|
+
);
|
|
25152
|
+
}
|
|
25153
|
+
f = message.getState();
|
|
25154
|
+
if (f.length > 0) {
|
|
25155
|
+
writer.writeString(
|
|
25156
|
+
5,
|
|
25157
|
+
f
|
|
25158
|
+
);
|
|
25159
|
+
}
|
|
25160
|
+
f = message.getEdits();
|
|
25161
|
+
if (f !== 0) {
|
|
25162
|
+
writer.writeUint64(
|
|
25163
|
+
6,
|
|
25164
|
+
f
|
|
25165
|
+
);
|
|
25166
|
+
}
|
|
25167
|
+
f = message.getDistinctSessions();
|
|
25168
|
+
if (f !== 0) {
|
|
25169
|
+
writer.writeUint64(
|
|
25170
|
+
7,
|
|
25171
|
+
f
|
|
25172
|
+
);
|
|
25173
|
+
}
|
|
25174
|
+
f = message.getUnlandedCostUsd();
|
|
25175
|
+
if (f !== 0.0) {
|
|
25176
|
+
writer.writeDouble(
|
|
25177
|
+
8,
|
|
25178
|
+
f
|
|
25179
|
+
);
|
|
25180
|
+
}
|
|
25181
|
+
f = message.getSubscriptionUnlandedCostUsd();
|
|
25182
|
+
if (f !== 0.0) {
|
|
25183
|
+
writer.writeDouble(
|
|
25184
|
+
9,
|
|
25185
|
+
f
|
|
25186
|
+
);
|
|
25187
|
+
}
|
|
25188
|
+
f = message.getTotalCostUsd();
|
|
25189
|
+
if (f !== 0.0) {
|
|
25190
|
+
writer.writeDouble(
|
|
25191
|
+
10,
|
|
25192
|
+
f
|
|
25193
|
+
);
|
|
25194
|
+
}
|
|
25195
|
+
f = message.getSubscriptionTotalCostUsd();
|
|
25196
|
+
if (f !== 0.0) {
|
|
25197
|
+
writer.writeDouble(
|
|
25198
|
+
11,
|
|
25199
|
+
f
|
|
25200
|
+
);
|
|
25201
|
+
}
|
|
25202
|
+
};
|
|
25203
|
+
|
|
25204
|
+
|
|
25205
|
+
/**
|
|
25206
|
+
* optional string repo_id = 1;
|
|
25207
|
+
* @return {string}
|
|
25208
|
+
*/
|
|
25209
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getRepoId = function() {
|
|
25210
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
25211
|
+
};
|
|
25212
|
+
|
|
25213
|
+
|
|
25214
|
+
/**
|
|
25215
|
+
* @param {string} value
|
|
25216
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25217
|
+
*/
|
|
25218
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setRepoId = function(value) {
|
|
25219
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
25220
|
+
};
|
|
25221
|
+
|
|
25222
|
+
|
|
25223
|
+
/**
|
|
25224
|
+
* optional string repository_key = 2;
|
|
25225
|
+
* @return {string}
|
|
25226
|
+
*/
|
|
25227
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getRepositoryKey = function() {
|
|
25228
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
25229
|
+
};
|
|
25230
|
+
|
|
25231
|
+
|
|
25232
|
+
/**
|
|
25233
|
+
* @param {string} value
|
|
25234
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25235
|
+
*/
|
|
25236
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setRepositoryKey = function(value) {
|
|
25237
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
25238
|
+
};
|
|
25239
|
+
|
|
25240
|
+
|
|
25241
|
+
/**
|
|
25242
|
+
* optional string ref = 3;
|
|
25243
|
+
* @return {string}
|
|
25244
|
+
*/
|
|
25245
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getRef = function() {
|
|
25246
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
25247
|
+
};
|
|
25248
|
+
|
|
25249
|
+
|
|
25250
|
+
/**
|
|
25251
|
+
* @param {string} value
|
|
25252
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25253
|
+
*/
|
|
25254
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setRef = function(value) {
|
|
25255
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
25256
|
+
};
|
|
25257
|
+
|
|
25258
|
+
|
|
25259
|
+
/**
|
|
25260
|
+
* optional string path = 4;
|
|
25261
|
+
* @return {string}
|
|
25262
|
+
*/
|
|
25263
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getPath = function() {
|
|
25264
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
25265
|
+
};
|
|
25266
|
+
|
|
25267
|
+
|
|
25268
|
+
/**
|
|
25269
|
+
* @param {string} value
|
|
25270
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25271
|
+
*/
|
|
25272
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setPath = function(value) {
|
|
25273
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
25274
|
+
};
|
|
25275
|
+
|
|
25276
|
+
|
|
25277
|
+
/**
|
|
25278
|
+
* optional string state = 5;
|
|
25279
|
+
* @return {string}
|
|
25280
|
+
*/
|
|
25281
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getState = function() {
|
|
25282
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
25283
|
+
};
|
|
25284
|
+
|
|
25285
|
+
|
|
25286
|
+
/**
|
|
25287
|
+
* @param {string} value
|
|
25288
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25289
|
+
*/
|
|
25290
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setState = function(value) {
|
|
25291
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
25292
|
+
};
|
|
25293
|
+
|
|
25294
|
+
|
|
25295
|
+
/**
|
|
25296
|
+
* optional uint64 edits = 6;
|
|
25297
|
+
* @return {number}
|
|
25298
|
+
*/
|
|
25299
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getEdits = function() {
|
|
25300
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
25301
|
+
};
|
|
25302
|
+
|
|
25303
|
+
|
|
25304
|
+
/**
|
|
25305
|
+
* @param {number} value
|
|
25306
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25307
|
+
*/
|
|
25308
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setEdits = function(value) {
|
|
25309
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
25310
|
+
};
|
|
25311
|
+
|
|
25312
|
+
|
|
25313
|
+
/**
|
|
25314
|
+
* optional uint64 distinct_sessions = 7;
|
|
25315
|
+
* @return {number}
|
|
25316
|
+
*/
|
|
25317
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getDistinctSessions = function() {
|
|
25318
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
25319
|
+
};
|
|
25320
|
+
|
|
25321
|
+
|
|
25322
|
+
/**
|
|
25323
|
+
* @param {number} value
|
|
25324
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25325
|
+
*/
|
|
25326
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setDistinctSessions = function(value) {
|
|
25327
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
25328
|
+
};
|
|
25329
|
+
|
|
25330
|
+
|
|
25331
|
+
/**
|
|
25332
|
+
* optional double unlanded_cost_usd = 8;
|
|
25333
|
+
* @return {number}
|
|
25334
|
+
*/
|
|
25335
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getUnlandedCostUsd = function() {
|
|
25336
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
25337
|
+
};
|
|
25338
|
+
|
|
25339
|
+
|
|
25340
|
+
/**
|
|
25341
|
+
* @param {number} value
|
|
25342
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25343
|
+
*/
|
|
25344
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setUnlandedCostUsd = function(value) {
|
|
25345
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
25346
|
+
};
|
|
25347
|
+
|
|
25348
|
+
|
|
25349
|
+
/**
|
|
25350
|
+
* optional double subscription_unlanded_cost_usd = 9;
|
|
25351
|
+
* @return {number}
|
|
25352
|
+
*/
|
|
25353
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getSubscriptionUnlandedCostUsd = function() {
|
|
25354
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
25355
|
+
};
|
|
25356
|
+
|
|
25357
|
+
|
|
25358
|
+
/**
|
|
25359
|
+
* @param {number} value
|
|
25360
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25361
|
+
*/
|
|
25362
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setSubscriptionUnlandedCostUsd = function(value) {
|
|
25363
|
+
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
25364
|
+
};
|
|
25365
|
+
|
|
25366
|
+
|
|
25367
|
+
/**
|
|
25368
|
+
* optional double total_cost_usd = 10;
|
|
25369
|
+
* @return {number}
|
|
25370
|
+
*/
|
|
25371
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getTotalCostUsd = function() {
|
|
25372
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
25373
|
+
};
|
|
25374
|
+
|
|
25375
|
+
|
|
25376
|
+
/**
|
|
25377
|
+
* @param {number} value
|
|
25378
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25379
|
+
*/
|
|
25380
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setTotalCostUsd = function(value) {
|
|
25381
|
+
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
25382
|
+
};
|
|
25383
|
+
|
|
25384
|
+
|
|
25385
|
+
/**
|
|
25386
|
+
* optional double subscription_total_cost_usd = 11;
|
|
25387
|
+
* @return {number}
|
|
25388
|
+
*/
|
|
25389
|
+
proto.gateway.web.v1.BurnMapFile.prototype.getSubscriptionTotalCostUsd = function() {
|
|
25390
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
|
25391
|
+
};
|
|
25392
|
+
|
|
25393
|
+
|
|
25394
|
+
/**
|
|
25395
|
+
* @param {number} value
|
|
25396
|
+
* @return {!proto.gateway.web.v1.BurnMapFile} returns this
|
|
25397
|
+
*/
|
|
25398
|
+
proto.gateway.web.v1.BurnMapFile.prototype.setSubscriptionTotalCostUsd = function(value) {
|
|
25399
|
+
return jspb.Message.setProto3FloatField(this, 11, value);
|
|
25400
|
+
};
|
|
25401
|
+
|
|
25402
|
+
|
|
25403
|
+
|
|
25404
|
+
|
|
25405
|
+
|
|
24447
25406
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24448
25407
|
/**
|
|
24449
25408
|
* Creates an object representation of this proto.
|