@miradorlabs/web-grpc 2.66.0 → 2.68.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.
@@ -54,7 +54,11 @@ 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.BurnMapNode', null, global);
58
+ goog.exportSymbol('proto.gateway.web.v1.BurnMapRequest', null, global);
59
+ goog.exportSymbol('proto.gateway.web.v1.BurnMapResponse', null, global);
57
60
  goog.exportSymbol('proto.gateway.web.v1.BurnRate', null, global);
61
+ goog.exportSymbol('proto.gateway.web.v1.BurnRateBreakdown', null, global);
58
62
  goog.exportSymbol('proto.gateway.web.v1.BurnRateGroup', null, global);
59
63
  goog.exportSymbol('proto.gateway.web.v1.BurnRateMeasures', null, global);
60
64
  goog.exportSymbol('proto.gateway.web.v1.BurnRateRequest', null, global);
@@ -1112,6 +1116,27 @@ if (goog.DEBUG && !COMPILED) {
1112
1116
  */
1113
1117
  proto.gateway.web.v1.BurnRate.displayName = 'proto.gateway.web.v1.BurnRate';
1114
1118
  }
1119
+ /**
1120
+ * Generated by JsPbCodeGenerator.
1121
+ * @param {Array=} opt_data Optional initial data array, typically from a
1122
+ * server response, or constructed directly in Javascript. The array is used
1123
+ * in place and becomes part of the constructed object. It is not cloned.
1124
+ * If no data is provided, the constructed object will be empty, but still
1125
+ * valid.
1126
+ * @extends {jspb.Message}
1127
+ * @constructor
1128
+ */
1129
+ proto.gateway.web.v1.BurnRateBreakdown = function(opt_data) {
1130
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.BurnRateBreakdown.repeatedFields_, null);
1131
+ };
1132
+ goog.inherits(proto.gateway.web.v1.BurnRateBreakdown, jspb.Message);
1133
+ if (goog.DEBUG && !COMPILED) {
1134
+ /**
1135
+ * @public
1136
+ * @override
1137
+ */
1138
+ proto.gateway.web.v1.BurnRateBreakdown.displayName = 'proto.gateway.web.v1.BurnRateBreakdown';
1139
+ }
1115
1140
  /**
1116
1141
  * Generated by JsPbCodeGenerator.
1117
1142
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1574,6 +1599,69 @@ if (goog.DEBUG && !COMPILED) {
1574
1599
  */
1575
1600
  proto.gateway.web.v1.AIFileRow.displayName = 'proto.gateway.web.v1.AIFileRow';
1576
1601
  }
1602
+ /**
1603
+ * Generated by JsPbCodeGenerator.
1604
+ * @param {Array=} opt_data Optional initial data array, typically from a
1605
+ * server response, or constructed directly in Javascript. The array is used
1606
+ * in place and becomes part of the constructed object. It is not cloned.
1607
+ * If no data is provided, the constructed object will be empty, but still
1608
+ * valid.
1609
+ * @extends {jspb.Message}
1610
+ * @constructor
1611
+ */
1612
+ proto.gateway.web.v1.BurnMapRequest = function(opt_data) {
1613
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1614
+ };
1615
+ goog.inherits(proto.gateway.web.v1.BurnMapRequest, jspb.Message);
1616
+ if (goog.DEBUG && !COMPILED) {
1617
+ /**
1618
+ * @public
1619
+ * @override
1620
+ */
1621
+ proto.gateway.web.v1.BurnMapRequest.displayName = 'proto.gateway.web.v1.BurnMapRequest';
1622
+ }
1623
+ /**
1624
+ * Generated by JsPbCodeGenerator.
1625
+ * @param {Array=} opt_data Optional initial data array, typically from a
1626
+ * server response, or constructed directly in Javascript. The array is used
1627
+ * in place and becomes part of the constructed object. It is not cloned.
1628
+ * If no data is provided, the constructed object will be empty, but still
1629
+ * valid.
1630
+ * @extends {jspb.Message}
1631
+ * @constructor
1632
+ */
1633
+ proto.gateway.web.v1.BurnMapResponse = function(opt_data) {
1634
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.BurnMapResponse.repeatedFields_, null);
1635
+ };
1636
+ goog.inherits(proto.gateway.web.v1.BurnMapResponse, jspb.Message);
1637
+ if (goog.DEBUG && !COMPILED) {
1638
+ /**
1639
+ * @public
1640
+ * @override
1641
+ */
1642
+ proto.gateway.web.v1.BurnMapResponse.displayName = 'proto.gateway.web.v1.BurnMapResponse';
1643
+ }
1644
+ /**
1645
+ * Generated by JsPbCodeGenerator.
1646
+ * @param {Array=} opt_data Optional initial data array, typically from a
1647
+ * server response, or constructed directly in Javascript. The array is used
1648
+ * in place and becomes part of the constructed object. It is not cloned.
1649
+ * If no data is provided, the constructed object will be empty, but still
1650
+ * valid.
1651
+ * @extends {jspb.Message}
1652
+ * @constructor
1653
+ */
1654
+ proto.gateway.web.v1.BurnMapNode = function(opt_data) {
1655
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1656
+ };
1657
+ goog.inherits(proto.gateway.web.v1.BurnMapNode, jspb.Message);
1658
+ if (goog.DEBUG && !COMPILED) {
1659
+ /**
1660
+ * @public
1661
+ * @override
1662
+ */
1663
+ proto.gateway.web.v1.BurnMapNode.displayName = 'proto.gateway.web.v1.BurnMapNode';
1664
+ }
1577
1665
  /**
1578
1666
  * Generated by JsPbCodeGenerator.
1579
1667
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -16307,7 +16395,7 @@ proto.gateway.web.v1.BurnRateRequest.prototype.setGroupBy = function(value) {
16307
16395
  * @private {!Array<number>}
16308
16396
  * @const
16309
16397
  */
16310
- proto.gateway.web.v1.BurnRate.repeatedFields_ = [3,4];
16398
+ proto.gateway.web.v1.BurnRate.repeatedFields_ = [3,4,6];
16311
16399
 
16312
16400
 
16313
16401
 
@@ -16346,7 +16434,9 @@ currentGroupsList: jspb.Message.toObjectList(msg.getCurrentGroupsList(),
16346
16434
  proto.gateway.web.v1.BurnRateGroup.toObject, includeInstance),
16347
16435
  sparklineList: jspb.Message.toObjectList(msg.getSparklineList(),
16348
16436
  proto.gateway.web.v1.BurnRateSparkPoint.toObject, includeInstance),
16349
- groupBy: jspb.Message.getFieldWithDefault(msg, 5, 0)
16437
+ groupBy: jspb.Message.getFieldWithDefault(msg, 5, 0),
16438
+ breakdownsList: jspb.Message.toObjectList(msg.getBreakdownsList(),
16439
+ proto.gateway.web.v1.BurnRateBreakdown.toObject, includeInstance)
16350
16440
  };
16351
16441
 
16352
16442
  if (includeInstance) {
@@ -16407,6 +16497,11 @@ proto.gateway.web.v1.BurnRate.deserializeBinaryFromReader = function(msg, reader
16407
16497
  var value = /** @type {!proto.gateway.web.v1.AITokenActivityDimension} */ (reader.readEnum());
16408
16498
  msg.setGroupBy(value);
16409
16499
  break;
16500
+ case 6:
16501
+ var value = new proto.gateway.web.v1.BurnRateBreakdown;
16502
+ reader.readMessage(value,proto.gateway.web.v1.BurnRateBreakdown.deserializeBinaryFromReader);
16503
+ msg.addBreakdowns(value);
16504
+ break;
16410
16505
  default:
16411
16506
  reader.skipField();
16412
16507
  break;
@@ -16475,6 +16570,14 @@ proto.gateway.web.v1.BurnRate.serializeBinaryToWriter = function(message, writer
16475
16570
  f
16476
16571
  );
16477
16572
  }
16573
+ f = message.getBreakdownsList();
16574
+ if (f.length > 0) {
16575
+ writer.writeRepeatedMessage(
16576
+ 6,
16577
+ f,
16578
+ proto.gateway.web.v1.BurnRateBreakdown.serializeBinaryToWriter
16579
+ );
16580
+ }
16478
16581
  };
16479
16582
 
16480
16583
 
@@ -16646,6 +16749,51 @@ proto.gateway.web.v1.BurnRate.prototype.setGroupBy = function(value) {
16646
16749
  };
16647
16750
 
16648
16751
 
16752
+ /**
16753
+ * repeated BurnRateBreakdown breakdowns = 6;
16754
+ * @return {!Array<!proto.gateway.web.v1.BurnRateBreakdown>}
16755
+ */
16756
+ proto.gateway.web.v1.BurnRate.prototype.getBreakdownsList = function() {
16757
+ return /** @type{!Array<!proto.gateway.web.v1.BurnRateBreakdown>} */ (
16758
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.BurnRateBreakdown, 6));
16759
+ };
16760
+
16761
+
16762
+ /**
16763
+ * @param {!Array<!proto.gateway.web.v1.BurnRateBreakdown>} value
16764
+ * @return {!proto.gateway.web.v1.BurnRate} returns this
16765
+ */
16766
+ proto.gateway.web.v1.BurnRate.prototype.setBreakdownsList = function(value) {
16767
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
16768
+ };
16769
+
16770
+
16771
+ /**
16772
+ * @param {!proto.gateway.web.v1.BurnRateBreakdown=} opt_value
16773
+ * @param {number=} opt_index
16774
+ * @return {!proto.gateway.web.v1.BurnRateBreakdown}
16775
+ */
16776
+ proto.gateway.web.v1.BurnRate.prototype.addBreakdowns = function(opt_value, opt_index) {
16777
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.gateway.web.v1.BurnRateBreakdown, opt_index);
16778
+ };
16779
+
16780
+
16781
+ /**
16782
+ * Clears the list making it empty but non-null.
16783
+ * @return {!proto.gateway.web.v1.BurnRate} returns this
16784
+ */
16785
+ proto.gateway.web.v1.BurnRate.prototype.clearBreakdownsList = function() {
16786
+ return this.setBreakdownsList([]);
16787
+ };
16788
+
16789
+
16790
+
16791
+ /**
16792
+ * List of repeated fields within this message type.
16793
+ * @private {!Array<number>}
16794
+ * @const
16795
+ */
16796
+ proto.gateway.web.v1.BurnRateBreakdown.repeatedFields_ = [2];
16649
16797
 
16650
16798
 
16651
16799
 
@@ -16662,8 +16810,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
16662
16810
  * http://goto/soy-param-migration
16663
16811
  * @return {!Object}
16664
16812
  */
16665
- proto.gateway.web.v1.BurnRateGroup.prototype.toObject = function(opt_includeInstance) {
16666
- return proto.gateway.web.v1.BurnRateGroup.toObject(opt_includeInstance, this);
16813
+ proto.gateway.web.v1.BurnRateBreakdown.prototype.toObject = function(opt_includeInstance) {
16814
+ return proto.gateway.web.v1.BurnRateBreakdown.toObject(opt_includeInstance, this);
16667
16815
  };
16668
16816
 
16669
16817
 
@@ -16672,14 +16820,15 @@ proto.gateway.web.v1.BurnRateGroup.prototype.toObject = function(opt_includeInst
16672
16820
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16673
16821
  * the JSPB instance for transitional soy proto support:
16674
16822
  * http://goto/soy-param-migration
16675
- * @param {!proto.gateway.web.v1.BurnRateGroup} msg The msg instance to transform.
16823
+ * @param {!proto.gateway.web.v1.BurnRateBreakdown} msg The msg instance to transform.
16676
16824
  * @return {!Object}
16677
16825
  * @suppress {unusedLocalVariables} f is only used for nested messages
16678
16826
  */
16679
- proto.gateway.web.v1.BurnRateGroup.toObject = function(includeInstance, msg) {
16827
+ proto.gateway.web.v1.BurnRateBreakdown.toObject = function(includeInstance, msg) {
16680
16828
  var f, obj = {
16681
- key: jspb.Message.getFieldWithDefault(msg, 1, ""),
16682
- rate: (f = msg.getRate()) && proto.gateway.web.v1.BurnRateMeasures.toObject(includeInstance, f)
16829
+ dimension: jspb.Message.getFieldWithDefault(msg, 1, 0),
16830
+ groupsList: jspb.Message.toObjectList(msg.getGroupsList(),
16831
+ proto.gateway.web.v1.BurnRateGroup.toObject, includeInstance)
16683
16832
  };
16684
16833
 
16685
16834
  if (includeInstance) {
@@ -16693,23 +16842,23 @@ rate: (f = msg.getRate()) && proto.gateway.web.v1.BurnRateMeasures.toObject(incl
16693
16842
  /**
16694
16843
  * Deserializes binary data (in protobuf wire format).
16695
16844
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
16696
- * @return {!proto.gateway.web.v1.BurnRateGroup}
16845
+ * @return {!proto.gateway.web.v1.BurnRateBreakdown}
16697
16846
  */
16698
- proto.gateway.web.v1.BurnRateGroup.deserializeBinary = function(bytes) {
16847
+ proto.gateway.web.v1.BurnRateBreakdown.deserializeBinary = function(bytes) {
16699
16848
  var reader = new jspb.BinaryReader(bytes);
16700
- var msg = new proto.gateway.web.v1.BurnRateGroup;
16701
- return proto.gateway.web.v1.BurnRateGroup.deserializeBinaryFromReader(msg, reader);
16849
+ var msg = new proto.gateway.web.v1.BurnRateBreakdown;
16850
+ return proto.gateway.web.v1.BurnRateBreakdown.deserializeBinaryFromReader(msg, reader);
16702
16851
  };
16703
16852
 
16704
16853
 
16705
16854
  /**
16706
16855
  * Deserializes binary data (in protobuf wire format) from the
16707
16856
  * given reader into the given message object.
16708
- * @param {!proto.gateway.web.v1.BurnRateGroup} msg The message object to deserialize into.
16857
+ * @param {!proto.gateway.web.v1.BurnRateBreakdown} msg The message object to deserialize into.
16709
16858
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16710
- * @return {!proto.gateway.web.v1.BurnRateGroup}
16859
+ * @return {!proto.gateway.web.v1.BurnRateBreakdown}
16711
16860
  */
16712
- proto.gateway.web.v1.BurnRateGroup.deserializeBinaryFromReader = function(msg, reader) {
16861
+ proto.gateway.web.v1.BurnRateBreakdown.deserializeBinaryFromReader = function(msg, reader) {
16713
16862
  while (reader.nextField()) {
16714
16863
  if (reader.isEndGroup()) {
16715
16864
  break;
@@ -16717,13 +16866,13 @@ proto.gateway.web.v1.BurnRateGroup.deserializeBinaryFromReader = function(msg, r
16717
16866
  var field = reader.getFieldNumber();
16718
16867
  switch (field) {
16719
16868
  case 1:
16720
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
16721
- msg.setKey(value);
16869
+ var value = /** @type {!proto.gateway.web.v1.AITokenActivityDimension} */ (reader.readEnum());
16870
+ msg.setDimension(value);
16722
16871
  break;
16723
16872
  case 2:
16724
- var value = new proto.gateway.web.v1.BurnRateMeasures;
16725
- reader.readMessage(value,proto.gateway.web.v1.BurnRateMeasures.deserializeBinaryFromReader);
16726
- msg.setRate(value);
16873
+ var value = new proto.gateway.web.v1.BurnRateGroup;
16874
+ reader.readMessage(value,proto.gateway.web.v1.BurnRateGroup.deserializeBinaryFromReader);
16875
+ msg.addGroups(value);
16727
16876
  break;
16728
16877
  default:
16729
16878
  reader.skipField();
@@ -16738,9 +16887,9 @@ proto.gateway.web.v1.BurnRateGroup.deserializeBinaryFromReader = function(msg, r
16738
16887
  * Serializes the message to binary data (in protobuf wire format).
16739
16888
  * @return {!Uint8Array}
16740
16889
  */
16741
- proto.gateway.web.v1.BurnRateGroup.prototype.serializeBinary = function() {
16890
+ proto.gateway.web.v1.BurnRateBreakdown.prototype.serializeBinary = function() {
16742
16891
  var writer = new jspb.BinaryWriter();
16743
- proto.gateway.web.v1.BurnRateGroup.serializeBinaryToWriter(this, writer);
16892
+ proto.gateway.web.v1.BurnRateBreakdown.serializeBinaryToWriter(this, writer);
16744
16893
  return writer.getResultBuffer();
16745
16894
  };
16746
16895
 
@@ -16748,82 +16897,83 @@ proto.gateway.web.v1.BurnRateGroup.prototype.serializeBinary = function() {
16748
16897
  /**
16749
16898
  * Serializes the given message to binary data (in protobuf wire
16750
16899
  * format), writing to the given BinaryWriter.
16751
- * @param {!proto.gateway.web.v1.BurnRateGroup} message
16900
+ * @param {!proto.gateway.web.v1.BurnRateBreakdown} message
16752
16901
  * @param {!jspb.BinaryWriter} writer
16753
16902
  * @suppress {unusedLocalVariables} f is only used for nested messages
16754
16903
  */
16755
- proto.gateway.web.v1.BurnRateGroup.serializeBinaryToWriter = function(message, writer) {
16904
+ proto.gateway.web.v1.BurnRateBreakdown.serializeBinaryToWriter = function(message, writer) {
16756
16905
  var f = undefined;
16757
- f = message.getKey();
16758
- if (f.length > 0) {
16759
- writer.writeString(
16906
+ f = message.getDimension();
16907
+ if (f !== 0.0) {
16908
+ writer.writeEnum(
16760
16909
  1,
16761
16910
  f
16762
16911
  );
16763
16912
  }
16764
- f = message.getRate();
16765
- if (f != null) {
16766
- writer.writeMessage(
16913
+ f = message.getGroupsList();
16914
+ if (f.length > 0) {
16915
+ writer.writeRepeatedMessage(
16767
16916
  2,
16768
16917
  f,
16769
- proto.gateway.web.v1.BurnRateMeasures.serializeBinaryToWriter
16918
+ proto.gateway.web.v1.BurnRateGroup.serializeBinaryToWriter
16770
16919
  );
16771
16920
  }
16772
16921
  };
16773
16922
 
16774
16923
 
16775
16924
  /**
16776
- * optional string key = 1;
16777
- * @return {string}
16925
+ * optional AITokenActivityDimension dimension = 1;
16926
+ * @return {!proto.gateway.web.v1.AITokenActivityDimension}
16778
16927
  */
16779
- proto.gateway.web.v1.BurnRateGroup.prototype.getKey = function() {
16780
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
16928
+ proto.gateway.web.v1.BurnRateBreakdown.prototype.getDimension = function() {
16929
+ return /** @type {!proto.gateway.web.v1.AITokenActivityDimension} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16781
16930
  };
16782
16931
 
16783
16932
 
16784
16933
  /**
16785
- * @param {string} value
16786
- * @return {!proto.gateway.web.v1.BurnRateGroup} returns this
16934
+ * @param {!proto.gateway.web.v1.AITokenActivityDimension} value
16935
+ * @return {!proto.gateway.web.v1.BurnRateBreakdown} returns this
16787
16936
  */
16788
- proto.gateway.web.v1.BurnRateGroup.prototype.setKey = function(value) {
16789
- return jspb.Message.setProto3StringField(this, 1, value);
16937
+ proto.gateway.web.v1.BurnRateBreakdown.prototype.setDimension = function(value) {
16938
+ return jspb.Message.setProto3EnumField(this, 1, value);
16790
16939
  };
16791
16940
 
16792
16941
 
16793
16942
  /**
16794
- * optional BurnRateMeasures rate = 2;
16795
- * @return {?proto.gateway.web.v1.BurnRateMeasures}
16943
+ * repeated BurnRateGroup groups = 2;
16944
+ * @return {!Array<!proto.gateway.web.v1.BurnRateGroup>}
16796
16945
  */
16797
- proto.gateway.web.v1.BurnRateGroup.prototype.getRate = function() {
16798
- return /** @type{?proto.gateway.web.v1.BurnRateMeasures} */ (
16799
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.BurnRateMeasures, 2));
16946
+ proto.gateway.web.v1.BurnRateBreakdown.prototype.getGroupsList = function() {
16947
+ return /** @type{!Array<!proto.gateway.web.v1.BurnRateGroup>} */ (
16948
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.BurnRateGroup, 2));
16800
16949
  };
16801
16950
 
16802
16951
 
16803
16952
  /**
16804
- * @param {?proto.gateway.web.v1.BurnRateMeasures|undefined} value
16805
- * @return {!proto.gateway.web.v1.BurnRateGroup} returns this
16953
+ * @param {!Array<!proto.gateway.web.v1.BurnRateGroup>} value
16954
+ * @return {!proto.gateway.web.v1.BurnRateBreakdown} returns this
16806
16955
  */
16807
- proto.gateway.web.v1.BurnRateGroup.prototype.setRate = function(value) {
16808
- return jspb.Message.setWrapperField(this, 2, value);
16956
+ proto.gateway.web.v1.BurnRateBreakdown.prototype.setGroupsList = function(value) {
16957
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
16809
16958
  };
16810
16959
 
16811
16960
 
16812
16961
  /**
16813
- * Clears the message field making it undefined.
16814
- * @return {!proto.gateway.web.v1.BurnRateGroup} returns this
16962
+ * @param {!proto.gateway.web.v1.BurnRateGroup=} opt_value
16963
+ * @param {number=} opt_index
16964
+ * @return {!proto.gateway.web.v1.BurnRateGroup}
16815
16965
  */
16816
- proto.gateway.web.v1.BurnRateGroup.prototype.clearRate = function() {
16817
- return this.setRate(undefined);
16966
+ proto.gateway.web.v1.BurnRateBreakdown.prototype.addGroups = function(opt_value, opt_index) {
16967
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.BurnRateGroup, opt_index);
16818
16968
  };
16819
16969
 
16820
16970
 
16821
16971
  /**
16822
- * Returns whether this field is set.
16823
- * @return {boolean}
16972
+ * Clears the list making it empty but non-null.
16973
+ * @return {!proto.gateway.web.v1.BurnRateBreakdown} returns this
16824
16974
  */
16825
- proto.gateway.web.v1.BurnRateGroup.prototype.hasRate = function() {
16826
- return jspb.Message.getField(this, 2) != null;
16975
+ proto.gateway.web.v1.BurnRateBreakdown.prototype.clearGroupsList = function() {
16976
+ return this.setGroupsList([]);
16827
16977
  };
16828
16978
 
16829
16979
 
@@ -16843,8 +16993,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
16843
16993
  * http://goto/soy-param-migration
16844
16994
  * @return {!Object}
16845
16995
  */
16846
- proto.gateway.web.v1.BurnRateSparkPoint.prototype.toObject = function(opt_includeInstance) {
16847
- return proto.gateway.web.v1.BurnRateSparkPoint.toObject(opt_includeInstance, this);
16996
+ proto.gateway.web.v1.BurnRateGroup.prototype.toObject = function(opt_includeInstance) {
16997
+ return proto.gateway.web.v1.BurnRateGroup.toObject(opt_includeInstance, this);
16848
16998
  };
16849
16999
 
16850
17000
 
@@ -16853,13 +17003,13 @@ proto.gateway.web.v1.BurnRateSparkPoint.prototype.toObject = function(opt_includ
16853
17003
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16854
17004
  * the JSPB instance for transitional soy proto support:
16855
17005
  * http://goto/soy-param-migration
16856
- * @param {!proto.gateway.web.v1.BurnRateSparkPoint} msg The msg instance to transform.
17006
+ * @param {!proto.gateway.web.v1.BurnRateGroup} msg The msg instance to transform.
16857
17007
  * @return {!Object}
16858
17008
  * @suppress {unusedLocalVariables} f is only used for nested messages
16859
17009
  */
16860
- proto.gateway.web.v1.BurnRateSparkPoint.toObject = function(includeInstance, msg) {
17010
+ proto.gateway.web.v1.BurnRateGroup.toObject = function(includeInstance, msg) {
16861
17011
  var f, obj = {
16862
- bucketStart: (f = msg.getBucketStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
17012
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
16863
17013
  rate: (f = msg.getRate()) && proto.gateway.web.v1.BurnRateMeasures.toObject(includeInstance, f)
16864
17014
  };
16865
17015
 
@@ -16874,23 +17024,23 @@ rate: (f = msg.getRate()) && proto.gateway.web.v1.BurnRateMeasures.toObject(incl
16874
17024
  /**
16875
17025
  * Deserializes binary data (in protobuf wire format).
16876
17026
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
16877
- * @return {!proto.gateway.web.v1.BurnRateSparkPoint}
17027
+ * @return {!proto.gateway.web.v1.BurnRateGroup}
16878
17028
  */
16879
- proto.gateway.web.v1.BurnRateSparkPoint.deserializeBinary = function(bytes) {
17029
+ proto.gateway.web.v1.BurnRateGroup.deserializeBinary = function(bytes) {
16880
17030
  var reader = new jspb.BinaryReader(bytes);
16881
- var msg = new proto.gateway.web.v1.BurnRateSparkPoint;
16882
- return proto.gateway.web.v1.BurnRateSparkPoint.deserializeBinaryFromReader(msg, reader);
17031
+ var msg = new proto.gateway.web.v1.BurnRateGroup;
17032
+ return proto.gateway.web.v1.BurnRateGroup.deserializeBinaryFromReader(msg, reader);
16883
17033
  };
16884
17034
 
16885
17035
 
16886
17036
  /**
16887
17037
  * Deserializes binary data (in protobuf wire format) from the
16888
17038
  * given reader into the given message object.
16889
- * @param {!proto.gateway.web.v1.BurnRateSparkPoint} msg The message object to deserialize into.
17039
+ * @param {!proto.gateway.web.v1.BurnRateGroup} msg The message object to deserialize into.
16890
17040
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16891
- * @return {!proto.gateway.web.v1.BurnRateSparkPoint}
17041
+ * @return {!proto.gateway.web.v1.BurnRateGroup}
16892
17042
  */
16893
- proto.gateway.web.v1.BurnRateSparkPoint.deserializeBinaryFromReader = function(msg, reader) {
17043
+ proto.gateway.web.v1.BurnRateGroup.deserializeBinaryFromReader = function(msg, reader) {
16894
17044
  while (reader.nextField()) {
16895
17045
  if (reader.isEndGroup()) {
16896
17046
  break;
@@ -16898,9 +17048,8 @@ proto.gateway.web.v1.BurnRateSparkPoint.deserializeBinaryFromReader = function(m
16898
17048
  var field = reader.getFieldNumber();
16899
17049
  switch (field) {
16900
17050
  case 1:
16901
- var value = new google_protobuf_timestamp_pb.Timestamp;
16902
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
16903
- msg.setBucketStart(value);
17051
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
17052
+ msg.setKey(value);
16904
17053
  break;
16905
17054
  case 2:
16906
17055
  var value = new proto.gateway.web.v1.BurnRateMeasures;
@@ -16920,9 +17069,9 @@ proto.gateway.web.v1.BurnRateSparkPoint.deserializeBinaryFromReader = function(m
16920
17069
  * Serializes the message to binary data (in protobuf wire format).
16921
17070
  * @return {!Uint8Array}
16922
17071
  */
16923
- proto.gateway.web.v1.BurnRateSparkPoint.prototype.serializeBinary = function() {
17072
+ proto.gateway.web.v1.BurnRateGroup.prototype.serializeBinary = function() {
16924
17073
  var writer = new jspb.BinaryWriter();
16925
- proto.gateway.web.v1.BurnRateSparkPoint.serializeBinaryToWriter(this, writer);
17074
+ proto.gateway.web.v1.BurnRateGroup.serializeBinaryToWriter(this, writer);
16926
17075
  return writer.getResultBuffer();
16927
17076
  };
16928
17077
 
@@ -16930,18 +17079,17 @@ proto.gateway.web.v1.BurnRateSparkPoint.prototype.serializeBinary = function() {
16930
17079
  /**
16931
17080
  * Serializes the given message to binary data (in protobuf wire
16932
17081
  * format), writing to the given BinaryWriter.
16933
- * @param {!proto.gateway.web.v1.BurnRateSparkPoint} message
17082
+ * @param {!proto.gateway.web.v1.BurnRateGroup} message
16934
17083
  * @param {!jspb.BinaryWriter} writer
16935
17084
  * @suppress {unusedLocalVariables} f is only used for nested messages
16936
17085
  */
16937
- proto.gateway.web.v1.BurnRateSparkPoint.serializeBinaryToWriter = function(message, writer) {
17086
+ proto.gateway.web.v1.BurnRateGroup.serializeBinaryToWriter = function(message, writer) {
16938
17087
  var f = undefined;
16939
- f = message.getBucketStart();
16940
- if (f != null) {
16941
- writer.writeMessage(
17088
+ f = message.getKey();
17089
+ if (f.length > 0) {
17090
+ writer.writeString(
16942
17091
  1,
16943
- f,
16944
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
17092
+ f
16945
17093
  );
16946
17094
  }
16947
17095
  f = message.getRate();
@@ -16956,27 +17104,210 @@ proto.gateway.web.v1.BurnRateSparkPoint.serializeBinaryToWriter = function(messa
16956
17104
 
16957
17105
 
16958
17106
  /**
16959
- * optional google.protobuf.Timestamp bucket_start = 1;
16960
- * @return {?proto.google.protobuf.Timestamp}
17107
+ * optional string key = 1;
17108
+ * @return {string}
16961
17109
  */
16962
- proto.gateway.web.v1.BurnRateSparkPoint.prototype.getBucketStart = function() {
16963
- return /** @type{?proto.google.protobuf.Timestamp} */ (
16964
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
17110
+ proto.gateway.web.v1.BurnRateGroup.prototype.getKey = function() {
17111
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
16965
17112
  };
16966
17113
 
16967
17114
 
16968
17115
  /**
16969
- * @param {?proto.google.protobuf.Timestamp|undefined} value
16970
- * @return {!proto.gateway.web.v1.BurnRateSparkPoint} returns this
16971
- */
16972
- proto.gateway.web.v1.BurnRateSparkPoint.prototype.setBucketStart = function(value) {
16973
- return jspb.Message.setWrapperField(this, 1, value);
17116
+ * @param {string} value
17117
+ * @return {!proto.gateway.web.v1.BurnRateGroup} returns this
17118
+ */
17119
+ proto.gateway.web.v1.BurnRateGroup.prototype.setKey = function(value) {
17120
+ return jspb.Message.setProto3StringField(this, 1, value);
16974
17121
  };
16975
17122
 
16976
17123
 
16977
17124
  /**
16978
- * Clears the message field making it undefined.
16979
- * @return {!proto.gateway.web.v1.BurnRateSparkPoint} returns this
17125
+ * optional BurnRateMeasures rate = 2;
17126
+ * @return {?proto.gateway.web.v1.BurnRateMeasures}
17127
+ */
17128
+ proto.gateway.web.v1.BurnRateGroup.prototype.getRate = function() {
17129
+ return /** @type{?proto.gateway.web.v1.BurnRateMeasures} */ (
17130
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.BurnRateMeasures, 2));
17131
+ };
17132
+
17133
+
17134
+ /**
17135
+ * @param {?proto.gateway.web.v1.BurnRateMeasures|undefined} value
17136
+ * @return {!proto.gateway.web.v1.BurnRateGroup} returns this
17137
+ */
17138
+ proto.gateway.web.v1.BurnRateGroup.prototype.setRate = function(value) {
17139
+ return jspb.Message.setWrapperField(this, 2, value);
17140
+ };
17141
+
17142
+
17143
+ /**
17144
+ * Clears the message field making it undefined.
17145
+ * @return {!proto.gateway.web.v1.BurnRateGroup} returns this
17146
+ */
17147
+ proto.gateway.web.v1.BurnRateGroup.prototype.clearRate = function() {
17148
+ return this.setRate(undefined);
17149
+ };
17150
+
17151
+
17152
+ /**
17153
+ * Returns whether this field is set.
17154
+ * @return {boolean}
17155
+ */
17156
+ proto.gateway.web.v1.BurnRateGroup.prototype.hasRate = function() {
17157
+ return jspb.Message.getField(this, 2) != null;
17158
+ };
17159
+
17160
+
17161
+
17162
+
17163
+
17164
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17165
+ /**
17166
+ * Creates an object representation of this proto.
17167
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17168
+ * Optional fields that are not set will be set to undefined.
17169
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17170
+ * For the list of reserved names please see:
17171
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17172
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17173
+ * JSPB instance for transitional soy proto support:
17174
+ * http://goto/soy-param-migration
17175
+ * @return {!Object}
17176
+ */
17177
+ proto.gateway.web.v1.BurnRateSparkPoint.prototype.toObject = function(opt_includeInstance) {
17178
+ return proto.gateway.web.v1.BurnRateSparkPoint.toObject(opt_includeInstance, this);
17179
+ };
17180
+
17181
+
17182
+ /**
17183
+ * Static version of the {@see toObject} method.
17184
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17185
+ * the JSPB instance for transitional soy proto support:
17186
+ * http://goto/soy-param-migration
17187
+ * @param {!proto.gateway.web.v1.BurnRateSparkPoint} msg The msg instance to transform.
17188
+ * @return {!Object}
17189
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17190
+ */
17191
+ proto.gateway.web.v1.BurnRateSparkPoint.toObject = function(includeInstance, msg) {
17192
+ var f, obj = {
17193
+ bucketStart: (f = msg.getBucketStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
17194
+ rate: (f = msg.getRate()) && proto.gateway.web.v1.BurnRateMeasures.toObject(includeInstance, f)
17195
+ };
17196
+
17197
+ if (includeInstance) {
17198
+ obj.$jspbMessageInstance = msg;
17199
+ }
17200
+ return obj;
17201
+ };
17202
+ }
17203
+
17204
+
17205
+ /**
17206
+ * Deserializes binary data (in protobuf wire format).
17207
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
17208
+ * @return {!proto.gateway.web.v1.BurnRateSparkPoint}
17209
+ */
17210
+ proto.gateway.web.v1.BurnRateSparkPoint.deserializeBinary = function(bytes) {
17211
+ var reader = new jspb.BinaryReader(bytes);
17212
+ var msg = new proto.gateway.web.v1.BurnRateSparkPoint;
17213
+ return proto.gateway.web.v1.BurnRateSparkPoint.deserializeBinaryFromReader(msg, reader);
17214
+ };
17215
+
17216
+
17217
+ /**
17218
+ * Deserializes binary data (in protobuf wire format) from the
17219
+ * given reader into the given message object.
17220
+ * @param {!proto.gateway.web.v1.BurnRateSparkPoint} msg The message object to deserialize into.
17221
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17222
+ * @return {!proto.gateway.web.v1.BurnRateSparkPoint}
17223
+ */
17224
+ proto.gateway.web.v1.BurnRateSparkPoint.deserializeBinaryFromReader = function(msg, reader) {
17225
+ while (reader.nextField()) {
17226
+ if (reader.isEndGroup()) {
17227
+ break;
17228
+ }
17229
+ var field = reader.getFieldNumber();
17230
+ switch (field) {
17231
+ case 1:
17232
+ var value = new google_protobuf_timestamp_pb.Timestamp;
17233
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
17234
+ msg.setBucketStart(value);
17235
+ break;
17236
+ case 2:
17237
+ var value = new proto.gateway.web.v1.BurnRateMeasures;
17238
+ reader.readMessage(value,proto.gateway.web.v1.BurnRateMeasures.deserializeBinaryFromReader);
17239
+ msg.setRate(value);
17240
+ break;
17241
+ default:
17242
+ reader.skipField();
17243
+ break;
17244
+ }
17245
+ }
17246
+ return msg;
17247
+ };
17248
+
17249
+
17250
+ /**
17251
+ * Serializes the message to binary data (in protobuf wire format).
17252
+ * @return {!Uint8Array}
17253
+ */
17254
+ proto.gateway.web.v1.BurnRateSparkPoint.prototype.serializeBinary = function() {
17255
+ var writer = new jspb.BinaryWriter();
17256
+ proto.gateway.web.v1.BurnRateSparkPoint.serializeBinaryToWriter(this, writer);
17257
+ return writer.getResultBuffer();
17258
+ };
17259
+
17260
+
17261
+ /**
17262
+ * Serializes the given message to binary data (in protobuf wire
17263
+ * format), writing to the given BinaryWriter.
17264
+ * @param {!proto.gateway.web.v1.BurnRateSparkPoint} message
17265
+ * @param {!jspb.BinaryWriter} writer
17266
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17267
+ */
17268
+ proto.gateway.web.v1.BurnRateSparkPoint.serializeBinaryToWriter = function(message, writer) {
17269
+ var f = undefined;
17270
+ f = message.getBucketStart();
17271
+ if (f != null) {
17272
+ writer.writeMessage(
17273
+ 1,
17274
+ f,
17275
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
17276
+ );
17277
+ }
17278
+ f = message.getRate();
17279
+ if (f != null) {
17280
+ writer.writeMessage(
17281
+ 2,
17282
+ f,
17283
+ proto.gateway.web.v1.BurnRateMeasures.serializeBinaryToWriter
17284
+ );
17285
+ }
17286
+ };
17287
+
17288
+
17289
+ /**
17290
+ * optional google.protobuf.Timestamp bucket_start = 1;
17291
+ * @return {?proto.google.protobuf.Timestamp}
17292
+ */
17293
+ proto.gateway.web.v1.BurnRateSparkPoint.prototype.getBucketStart = function() {
17294
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
17295
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
17296
+ };
17297
+
17298
+
17299
+ /**
17300
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
17301
+ * @return {!proto.gateway.web.v1.BurnRateSparkPoint} returns this
17302
+ */
17303
+ proto.gateway.web.v1.BurnRateSparkPoint.prototype.setBucketStart = function(value) {
17304
+ return jspb.Message.setWrapperField(this, 1, value);
17305
+ };
17306
+
17307
+
17308
+ /**
17309
+ * Clears the message field making it undefined.
17310
+ * @return {!proto.gateway.web.v1.BurnRateSparkPoint} returns this
16980
17311
  */
16981
17312
  proto.gateway.web.v1.BurnRateSparkPoint.prototype.clearBucketStart = function() {
16982
17313
  return this.setBucketStart(undefined);
@@ -20531,7 +20862,8 @@ distinctUsers: jspb.Message.getFieldWithDefault(msg, 10, 0),
20531
20862
  commits: jspb.Message.getFieldWithDefault(msg, 11, 0),
20532
20863
  pushes: jspb.Message.getFieldWithDefault(msg, 12, 0),
20533
20864
  filesTouched: jspb.Message.getFieldWithDefault(msg, 13, 0),
20534
- lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
20865
+ lastActivityAt: (f = msg.getLastActivityAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
20866
+ subscriptionCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0)
20535
20867
  };
20536
20868
 
20537
20869
  if (includeInstance) {
@@ -20625,6 +20957,10 @@ proto.gateway.web.v1.ProjectOverviewTotals.deserializeBinaryFromReader = functio
20625
20957
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
20626
20958
  msg.setLastActivityAt(value);
20627
20959
  break;
20960
+ case 15:
20961
+ var value = /** @type {number} */ (reader.readDouble());
20962
+ msg.setSubscriptionCostUsd(value);
20963
+ break;
20628
20964
  default:
20629
20965
  reader.skipField();
20630
20966
  break;
@@ -20753,6 +21089,13 @@ proto.gateway.web.v1.ProjectOverviewTotals.serializeBinaryToWriter = function(me
20753
21089
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
20754
21090
  );
20755
21091
  }
21092
+ f = message.getSubscriptionCostUsd();
21093
+ if (f !== 0.0) {
21094
+ writer.writeDouble(
21095
+ 15,
21096
+ f
21097
+ );
21098
+ }
20756
21099
  };
20757
21100
 
20758
21101
 
@@ -21027,6 +21370,24 @@ proto.gateway.web.v1.ProjectOverviewTotals.prototype.hasLastActivityAt = functio
21027
21370
  };
21028
21371
 
21029
21372
 
21373
+ /**
21374
+ * optional double subscription_cost_usd = 15;
21375
+ * @return {number}
21376
+ */
21377
+ proto.gateway.web.v1.ProjectOverviewTotals.prototype.getSubscriptionCostUsd = function() {
21378
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
21379
+ };
21380
+
21381
+
21382
+ /**
21383
+ * @param {number} value
21384
+ * @return {!proto.gateway.web.v1.ProjectOverviewTotals} returns this
21385
+ */
21386
+ proto.gateway.web.v1.ProjectOverviewTotals.prototype.setSubscriptionCostUsd = function(value) {
21387
+ return jspb.Message.setProto3FloatField(this, 15, value);
21388
+ };
21389
+
21390
+
21030
21391
 
21031
21392
 
21032
21393
 
@@ -21063,7 +21424,8 @@ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
21063
21424
  modelCalls: jspb.Message.getFieldWithDefault(msg, 2, 0),
21064
21425
  inputTokens: jspb.Message.getFieldWithDefault(msg, 3, 0),
21065
21426
  outputTokens: jspb.Message.getFieldWithDefault(msg, 4, 0),
21066
- costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
21427
+ costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
21428
+ subscriptionCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
21067
21429
  };
21068
21430
 
21069
21431
  if (includeInstance) {
@@ -21120,6 +21482,10 @@ proto.gateway.web.v1.ProjectOverviewSlice.deserializeBinaryFromReader = function
21120
21482
  var value = /** @type {number} */ (reader.readDouble());
21121
21483
  msg.setCostUsd(value);
21122
21484
  break;
21485
+ case 6:
21486
+ var value = /** @type {number} */ (reader.readDouble());
21487
+ msg.setSubscriptionCostUsd(value);
21488
+ break;
21123
21489
  default:
21124
21490
  reader.skipField();
21125
21491
  break;
@@ -21184,6 +21550,13 @@ proto.gateway.web.v1.ProjectOverviewSlice.serializeBinaryToWriter = function(mes
21184
21550
  f
21185
21551
  );
21186
21552
  }
21553
+ f = message.getSubscriptionCostUsd();
21554
+ if (f !== 0.0) {
21555
+ writer.writeDouble(
21556
+ 6,
21557
+ f
21558
+ );
21559
+ }
21187
21560
  };
21188
21561
 
21189
21562
 
@@ -21277,6 +21650,24 @@ proto.gateway.web.v1.ProjectOverviewSlice.prototype.setCostUsd = function(value)
21277
21650
  };
21278
21651
 
21279
21652
 
21653
+ /**
21654
+ * optional double subscription_cost_usd = 6;
21655
+ * @return {number}
21656
+ */
21657
+ proto.gateway.web.v1.ProjectOverviewSlice.prototype.getSubscriptionCostUsd = function() {
21658
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
21659
+ };
21660
+
21661
+
21662
+ /**
21663
+ * @param {number} value
21664
+ * @return {!proto.gateway.web.v1.ProjectOverviewSlice} returns this
21665
+ */
21666
+ proto.gateway.web.v1.ProjectOverviewSlice.prototype.setSubscriptionCostUsd = function(value) {
21667
+ return jspb.Message.setProto3FloatField(this, 6, value);
21668
+ };
21669
+
21670
+
21280
21671
 
21281
21672
 
21282
21673
 
@@ -24444,6 +24835,807 @@ proto.gateway.web.v1.AIFileRow.prototype.setSubscriptionUnlandedCostUsd = functi
24444
24835
 
24445
24836
 
24446
24837
 
24838
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24839
+ /**
24840
+ * Creates an object representation of this proto.
24841
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24842
+ * Optional fields that are not set will be set to undefined.
24843
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24844
+ * For the list of reserved names please see:
24845
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24846
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24847
+ * JSPB instance for transitional soy proto support:
24848
+ * http://goto/soy-param-migration
24849
+ * @return {!Object}
24850
+ */
24851
+ proto.gateway.web.v1.BurnMapRequest.prototype.toObject = function(opt_includeInstance) {
24852
+ return proto.gateway.web.v1.BurnMapRequest.toObject(opt_includeInstance, this);
24853
+ };
24854
+
24855
+
24856
+ /**
24857
+ * Static version of the {@see toObject} method.
24858
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24859
+ * the JSPB instance for transitional soy proto support:
24860
+ * http://goto/soy-param-migration
24861
+ * @param {!proto.gateway.web.v1.BurnMapRequest} msg The msg instance to transform.
24862
+ * @return {!Object}
24863
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24864
+ */
24865
+ proto.gateway.web.v1.BurnMapRequest.toObject = function(includeInstance, msg) {
24866
+ var f, obj = {
24867
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
24868
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
24869
+ };
24870
+
24871
+ if (includeInstance) {
24872
+ obj.$jspbMessageInstance = msg;
24873
+ }
24874
+ return obj;
24875
+ };
24876
+ }
24877
+
24878
+
24879
+ /**
24880
+ * Deserializes binary data (in protobuf wire format).
24881
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
24882
+ * @return {!proto.gateway.web.v1.BurnMapRequest}
24883
+ */
24884
+ proto.gateway.web.v1.BurnMapRequest.deserializeBinary = function(bytes) {
24885
+ var reader = new jspb.BinaryReader(bytes);
24886
+ var msg = new proto.gateway.web.v1.BurnMapRequest;
24887
+ return proto.gateway.web.v1.BurnMapRequest.deserializeBinaryFromReader(msg, reader);
24888
+ };
24889
+
24890
+
24891
+ /**
24892
+ * Deserializes binary data (in protobuf wire format) from the
24893
+ * given reader into the given message object.
24894
+ * @param {!proto.gateway.web.v1.BurnMapRequest} msg The message object to deserialize into.
24895
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24896
+ * @return {!proto.gateway.web.v1.BurnMapRequest}
24897
+ */
24898
+ proto.gateway.web.v1.BurnMapRequest.deserializeBinaryFromReader = function(msg, reader) {
24899
+ while (reader.nextField()) {
24900
+ if (reader.isEndGroup()) {
24901
+ break;
24902
+ }
24903
+ var field = reader.getFieldNumber();
24904
+ switch (field) {
24905
+ case 1:
24906
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
24907
+ msg.setOrganizationId(value);
24908
+ break;
24909
+ case 2:
24910
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
24911
+ msg.setProjectId(value);
24912
+ break;
24913
+ default:
24914
+ reader.skipField();
24915
+ break;
24916
+ }
24917
+ }
24918
+ return msg;
24919
+ };
24920
+
24921
+
24922
+ /**
24923
+ * Serializes the message to binary data (in protobuf wire format).
24924
+ * @return {!Uint8Array}
24925
+ */
24926
+ proto.gateway.web.v1.BurnMapRequest.prototype.serializeBinary = function() {
24927
+ var writer = new jspb.BinaryWriter();
24928
+ proto.gateway.web.v1.BurnMapRequest.serializeBinaryToWriter(this, writer);
24929
+ return writer.getResultBuffer();
24930
+ };
24931
+
24932
+
24933
+ /**
24934
+ * Serializes the given message to binary data (in protobuf wire
24935
+ * format), writing to the given BinaryWriter.
24936
+ * @param {!proto.gateway.web.v1.BurnMapRequest} message
24937
+ * @param {!jspb.BinaryWriter} writer
24938
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24939
+ */
24940
+ proto.gateway.web.v1.BurnMapRequest.serializeBinaryToWriter = function(message, writer) {
24941
+ var f = undefined;
24942
+ f = message.getOrganizationId();
24943
+ if (f.length > 0) {
24944
+ writer.writeString(
24945
+ 1,
24946
+ f
24947
+ );
24948
+ }
24949
+ f = message.getProjectId();
24950
+ if (f.length > 0) {
24951
+ writer.writeString(
24952
+ 2,
24953
+ f
24954
+ );
24955
+ }
24956
+ };
24957
+
24958
+
24959
+ /**
24960
+ * optional string organization_id = 1;
24961
+ * @return {string}
24962
+ */
24963
+ proto.gateway.web.v1.BurnMapRequest.prototype.getOrganizationId = function() {
24964
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24965
+ };
24966
+
24967
+
24968
+ /**
24969
+ * @param {string} value
24970
+ * @return {!proto.gateway.web.v1.BurnMapRequest} returns this
24971
+ */
24972
+ proto.gateway.web.v1.BurnMapRequest.prototype.setOrganizationId = function(value) {
24973
+ return jspb.Message.setProto3StringField(this, 1, value);
24974
+ };
24975
+
24976
+
24977
+ /**
24978
+ * optional string project_id = 2;
24979
+ * @return {string}
24980
+ */
24981
+ proto.gateway.web.v1.BurnMapRequest.prototype.getProjectId = function() {
24982
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
24983
+ };
24984
+
24985
+
24986
+ /**
24987
+ * @param {string} value
24988
+ * @return {!proto.gateway.web.v1.BurnMapRequest} returns this
24989
+ */
24990
+ proto.gateway.web.v1.BurnMapRequest.prototype.setProjectId = function(value) {
24991
+ return jspb.Message.setProto3StringField(this, 2, value);
24992
+ };
24993
+
24994
+
24995
+
24996
+ /**
24997
+ * List of repeated fields within this message type.
24998
+ * @private {!Array<number>}
24999
+ * @const
25000
+ */
25001
+ proto.gateway.web.v1.BurnMapResponse.repeatedFields_ = [2];
25002
+
25003
+
25004
+
25005
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25006
+ /**
25007
+ * Creates an object representation of this proto.
25008
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25009
+ * Optional fields that are not set will be set to undefined.
25010
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25011
+ * For the list of reserved names please see:
25012
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25013
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25014
+ * JSPB instance for transitional soy proto support:
25015
+ * http://goto/soy-param-migration
25016
+ * @return {!Object}
25017
+ */
25018
+ proto.gateway.web.v1.BurnMapResponse.prototype.toObject = function(opt_includeInstance) {
25019
+ return proto.gateway.web.v1.BurnMapResponse.toObject(opt_includeInstance, this);
25020
+ };
25021
+
25022
+
25023
+ /**
25024
+ * Static version of the {@see toObject} method.
25025
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25026
+ * the JSPB instance for transitional soy proto support:
25027
+ * http://goto/soy-param-migration
25028
+ * @param {!proto.gateway.web.v1.BurnMapResponse} msg The msg instance to transform.
25029
+ * @return {!Object}
25030
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25031
+ */
25032
+ proto.gateway.web.v1.BurnMapResponse.toObject = function(includeInstance, msg) {
25033
+ var f, obj = {
25034
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
25035
+ nodesList: jspb.Message.toObjectList(msg.getNodesList(),
25036
+ proto.gateway.web.v1.BurnMapNode.toObject, includeInstance)
25037
+ };
25038
+
25039
+ if (includeInstance) {
25040
+ obj.$jspbMessageInstance = msg;
25041
+ }
25042
+ return obj;
25043
+ };
25044
+ }
25045
+
25046
+
25047
+ /**
25048
+ * Deserializes binary data (in protobuf wire format).
25049
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
25050
+ * @return {!proto.gateway.web.v1.BurnMapResponse}
25051
+ */
25052
+ proto.gateway.web.v1.BurnMapResponse.deserializeBinary = function(bytes) {
25053
+ var reader = new jspb.BinaryReader(bytes);
25054
+ var msg = new proto.gateway.web.v1.BurnMapResponse;
25055
+ return proto.gateway.web.v1.BurnMapResponse.deserializeBinaryFromReader(msg, reader);
25056
+ };
25057
+
25058
+
25059
+ /**
25060
+ * Deserializes binary data (in protobuf wire format) from the
25061
+ * given reader into the given message object.
25062
+ * @param {!proto.gateway.web.v1.BurnMapResponse} msg The message object to deserialize into.
25063
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25064
+ * @return {!proto.gateway.web.v1.BurnMapResponse}
25065
+ */
25066
+ proto.gateway.web.v1.BurnMapResponse.deserializeBinaryFromReader = function(msg, reader) {
25067
+ while (reader.nextField()) {
25068
+ if (reader.isEndGroup()) {
25069
+ break;
25070
+ }
25071
+ var field = reader.getFieldNumber();
25072
+ switch (field) {
25073
+ case 1:
25074
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
25075
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
25076
+ msg.setStatus(value);
25077
+ break;
25078
+ case 2:
25079
+ var value = new proto.gateway.web.v1.BurnMapNode;
25080
+ reader.readMessage(value,proto.gateway.web.v1.BurnMapNode.deserializeBinaryFromReader);
25081
+ msg.addNodes(value);
25082
+ break;
25083
+ default:
25084
+ reader.skipField();
25085
+ break;
25086
+ }
25087
+ }
25088
+ return msg;
25089
+ };
25090
+
25091
+
25092
+ /**
25093
+ * Serializes the message to binary data (in protobuf wire format).
25094
+ * @return {!Uint8Array}
25095
+ */
25096
+ proto.gateway.web.v1.BurnMapResponse.prototype.serializeBinary = function() {
25097
+ var writer = new jspb.BinaryWriter();
25098
+ proto.gateway.web.v1.BurnMapResponse.serializeBinaryToWriter(this, writer);
25099
+ return writer.getResultBuffer();
25100
+ };
25101
+
25102
+
25103
+ /**
25104
+ * Serializes the given message to binary data (in protobuf wire
25105
+ * format), writing to the given BinaryWriter.
25106
+ * @param {!proto.gateway.web.v1.BurnMapResponse} message
25107
+ * @param {!jspb.BinaryWriter} writer
25108
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25109
+ */
25110
+ proto.gateway.web.v1.BurnMapResponse.serializeBinaryToWriter = function(message, writer) {
25111
+ var f = undefined;
25112
+ f = message.getStatus();
25113
+ if (f != null) {
25114
+ writer.writeMessage(
25115
+ 1,
25116
+ f,
25117
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
25118
+ );
25119
+ }
25120
+ f = message.getNodesList();
25121
+ if (f.length > 0) {
25122
+ writer.writeRepeatedMessage(
25123
+ 2,
25124
+ f,
25125
+ proto.gateway.web.v1.BurnMapNode.serializeBinaryToWriter
25126
+ );
25127
+ }
25128
+ };
25129
+
25130
+
25131
+ /**
25132
+ * optional gateway.common.v1.ResponseStatus status = 1;
25133
+ * @return {?proto.gateway.common.v1.ResponseStatus}
25134
+ */
25135
+ proto.gateway.web.v1.BurnMapResponse.prototype.getStatus = function() {
25136
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
25137
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
25138
+ };
25139
+
25140
+
25141
+ /**
25142
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
25143
+ * @return {!proto.gateway.web.v1.BurnMapResponse} returns this
25144
+ */
25145
+ proto.gateway.web.v1.BurnMapResponse.prototype.setStatus = function(value) {
25146
+ return jspb.Message.setWrapperField(this, 1, value);
25147
+ };
25148
+
25149
+
25150
+ /**
25151
+ * Clears the message field making it undefined.
25152
+ * @return {!proto.gateway.web.v1.BurnMapResponse} returns this
25153
+ */
25154
+ proto.gateway.web.v1.BurnMapResponse.prototype.clearStatus = function() {
25155
+ return this.setStatus(undefined);
25156
+ };
25157
+
25158
+
25159
+ /**
25160
+ * Returns whether this field is set.
25161
+ * @return {boolean}
25162
+ */
25163
+ proto.gateway.web.v1.BurnMapResponse.prototype.hasStatus = function() {
25164
+ return jspb.Message.getField(this, 1) != null;
25165
+ };
25166
+
25167
+
25168
+ /**
25169
+ * repeated BurnMapNode nodes = 2;
25170
+ * @return {!Array<!proto.gateway.web.v1.BurnMapNode>}
25171
+ */
25172
+ proto.gateway.web.v1.BurnMapResponse.prototype.getNodesList = function() {
25173
+ return /** @type{!Array<!proto.gateway.web.v1.BurnMapNode>} */ (
25174
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.BurnMapNode, 2));
25175
+ };
25176
+
25177
+
25178
+ /**
25179
+ * @param {!Array<!proto.gateway.web.v1.BurnMapNode>} value
25180
+ * @return {!proto.gateway.web.v1.BurnMapResponse} returns this
25181
+ */
25182
+ proto.gateway.web.v1.BurnMapResponse.prototype.setNodesList = function(value) {
25183
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
25184
+ };
25185
+
25186
+
25187
+ /**
25188
+ * @param {!proto.gateway.web.v1.BurnMapNode=} opt_value
25189
+ * @param {number=} opt_index
25190
+ * @return {!proto.gateway.web.v1.BurnMapNode}
25191
+ */
25192
+ proto.gateway.web.v1.BurnMapResponse.prototype.addNodes = function(opt_value, opt_index) {
25193
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.BurnMapNode, opt_index);
25194
+ };
25195
+
25196
+
25197
+ /**
25198
+ * Clears the list making it empty but non-null.
25199
+ * @return {!proto.gateway.web.v1.BurnMapResponse} returns this
25200
+ */
25201
+ proto.gateway.web.v1.BurnMapResponse.prototype.clearNodesList = function() {
25202
+ return this.setNodesList([]);
25203
+ };
25204
+
25205
+
25206
+
25207
+
25208
+
25209
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25210
+ /**
25211
+ * Creates an object representation of this proto.
25212
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25213
+ * Optional fields that are not set will be set to undefined.
25214
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25215
+ * For the list of reserved names please see:
25216
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25217
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25218
+ * JSPB instance for transitional soy proto support:
25219
+ * http://goto/soy-param-migration
25220
+ * @return {!Object}
25221
+ */
25222
+ proto.gateway.web.v1.BurnMapNode.prototype.toObject = function(opt_includeInstance) {
25223
+ return proto.gateway.web.v1.BurnMapNode.toObject(opt_includeInstance, this);
25224
+ };
25225
+
25226
+
25227
+ /**
25228
+ * Static version of the {@see toObject} method.
25229
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25230
+ * the JSPB instance for transitional soy proto support:
25231
+ * http://goto/soy-param-migration
25232
+ * @param {!proto.gateway.web.v1.BurnMapNode} msg The msg instance to transform.
25233
+ * @return {!Object}
25234
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25235
+ */
25236
+ proto.gateway.web.v1.BurnMapNode.toObject = function(includeInstance, msg) {
25237
+ var f, obj = {
25238
+ repositoryKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
25239
+ directory: jspb.Message.getFieldWithDefault(msg, 2, ""),
25240
+ files: jspb.Message.getFieldWithDefault(msg, 3, 0),
25241
+ landedFiles: jspb.Message.getFieldWithDefault(msg, 4, 0),
25242
+ discardedFiles: jspb.Message.getFieldWithDefault(msg, 5, 0),
25243
+ edits: jspb.Message.getFieldWithDefault(msg, 6, 0),
25244
+ distinctSessions: jspb.Message.getFieldWithDefault(msg, 7, 0),
25245
+ unlandedCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
25246
+ subscriptionUnlandedCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
25247
+ totalCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
25248
+ subscriptionTotalCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
25249
+ };
25250
+
25251
+ if (includeInstance) {
25252
+ obj.$jspbMessageInstance = msg;
25253
+ }
25254
+ return obj;
25255
+ };
25256
+ }
25257
+
25258
+
25259
+ /**
25260
+ * Deserializes binary data (in protobuf wire format).
25261
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
25262
+ * @return {!proto.gateway.web.v1.BurnMapNode}
25263
+ */
25264
+ proto.gateway.web.v1.BurnMapNode.deserializeBinary = function(bytes) {
25265
+ var reader = new jspb.BinaryReader(bytes);
25266
+ var msg = new proto.gateway.web.v1.BurnMapNode;
25267
+ return proto.gateway.web.v1.BurnMapNode.deserializeBinaryFromReader(msg, reader);
25268
+ };
25269
+
25270
+
25271
+ /**
25272
+ * Deserializes binary data (in protobuf wire format) from the
25273
+ * given reader into the given message object.
25274
+ * @param {!proto.gateway.web.v1.BurnMapNode} msg The message object to deserialize into.
25275
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25276
+ * @return {!proto.gateway.web.v1.BurnMapNode}
25277
+ */
25278
+ proto.gateway.web.v1.BurnMapNode.deserializeBinaryFromReader = function(msg, reader) {
25279
+ while (reader.nextField()) {
25280
+ if (reader.isEndGroup()) {
25281
+ break;
25282
+ }
25283
+ var field = reader.getFieldNumber();
25284
+ switch (field) {
25285
+ case 1:
25286
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
25287
+ msg.setRepositoryKey(value);
25288
+ break;
25289
+ case 2:
25290
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
25291
+ msg.setDirectory(value);
25292
+ break;
25293
+ case 3:
25294
+ var value = /** @type {number} */ (reader.readUint64());
25295
+ msg.setFiles(value);
25296
+ break;
25297
+ case 4:
25298
+ var value = /** @type {number} */ (reader.readUint64());
25299
+ msg.setLandedFiles(value);
25300
+ break;
25301
+ case 5:
25302
+ var value = /** @type {number} */ (reader.readUint64());
25303
+ msg.setDiscardedFiles(value);
25304
+ break;
25305
+ case 6:
25306
+ var value = /** @type {number} */ (reader.readUint64());
25307
+ msg.setEdits(value);
25308
+ break;
25309
+ case 7:
25310
+ var value = /** @type {number} */ (reader.readUint64());
25311
+ msg.setDistinctSessions(value);
25312
+ break;
25313
+ case 8:
25314
+ var value = /** @type {number} */ (reader.readDouble());
25315
+ msg.setUnlandedCostUsd(value);
25316
+ break;
25317
+ case 9:
25318
+ var value = /** @type {number} */ (reader.readDouble());
25319
+ msg.setSubscriptionUnlandedCostUsd(value);
25320
+ break;
25321
+ case 10:
25322
+ var value = /** @type {number} */ (reader.readDouble());
25323
+ msg.setTotalCostUsd(value);
25324
+ break;
25325
+ case 11:
25326
+ var value = /** @type {number} */ (reader.readDouble());
25327
+ msg.setSubscriptionTotalCostUsd(value);
25328
+ break;
25329
+ default:
25330
+ reader.skipField();
25331
+ break;
25332
+ }
25333
+ }
25334
+ return msg;
25335
+ };
25336
+
25337
+
25338
+ /**
25339
+ * Serializes the message to binary data (in protobuf wire format).
25340
+ * @return {!Uint8Array}
25341
+ */
25342
+ proto.gateway.web.v1.BurnMapNode.prototype.serializeBinary = function() {
25343
+ var writer = new jspb.BinaryWriter();
25344
+ proto.gateway.web.v1.BurnMapNode.serializeBinaryToWriter(this, writer);
25345
+ return writer.getResultBuffer();
25346
+ };
25347
+
25348
+
25349
+ /**
25350
+ * Serializes the given message to binary data (in protobuf wire
25351
+ * format), writing to the given BinaryWriter.
25352
+ * @param {!proto.gateway.web.v1.BurnMapNode} message
25353
+ * @param {!jspb.BinaryWriter} writer
25354
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25355
+ */
25356
+ proto.gateway.web.v1.BurnMapNode.serializeBinaryToWriter = function(message, writer) {
25357
+ var f = undefined;
25358
+ f = message.getRepositoryKey();
25359
+ if (f.length > 0) {
25360
+ writer.writeString(
25361
+ 1,
25362
+ f
25363
+ );
25364
+ }
25365
+ f = message.getDirectory();
25366
+ if (f.length > 0) {
25367
+ writer.writeString(
25368
+ 2,
25369
+ f
25370
+ );
25371
+ }
25372
+ f = message.getFiles();
25373
+ if (f !== 0) {
25374
+ writer.writeUint64(
25375
+ 3,
25376
+ f
25377
+ );
25378
+ }
25379
+ f = message.getLandedFiles();
25380
+ if (f !== 0) {
25381
+ writer.writeUint64(
25382
+ 4,
25383
+ f
25384
+ );
25385
+ }
25386
+ f = message.getDiscardedFiles();
25387
+ if (f !== 0) {
25388
+ writer.writeUint64(
25389
+ 5,
25390
+ f
25391
+ );
25392
+ }
25393
+ f = message.getEdits();
25394
+ if (f !== 0) {
25395
+ writer.writeUint64(
25396
+ 6,
25397
+ f
25398
+ );
25399
+ }
25400
+ f = message.getDistinctSessions();
25401
+ if (f !== 0) {
25402
+ writer.writeUint64(
25403
+ 7,
25404
+ f
25405
+ );
25406
+ }
25407
+ f = message.getUnlandedCostUsd();
25408
+ if (f !== 0.0) {
25409
+ writer.writeDouble(
25410
+ 8,
25411
+ f
25412
+ );
25413
+ }
25414
+ f = message.getSubscriptionUnlandedCostUsd();
25415
+ if (f !== 0.0) {
25416
+ writer.writeDouble(
25417
+ 9,
25418
+ f
25419
+ );
25420
+ }
25421
+ f = message.getTotalCostUsd();
25422
+ if (f !== 0.0) {
25423
+ writer.writeDouble(
25424
+ 10,
25425
+ f
25426
+ );
25427
+ }
25428
+ f = message.getSubscriptionTotalCostUsd();
25429
+ if (f !== 0.0) {
25430
+ writer.writeDouble(
25431
+ 11,
25432
+ f
25433
+ );
25434
+ }
25435
+ };
25436
+
25437
+
25438
+ /**
25439
+ * optional string repository_key = 1;
25440
+ * @return {string}
25441
+ */
25442
+ proto.gateway.web.v1.BurnMapNode.prototype.getRepositoryKey = function() {
25443
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
25444
+ };
25445
+
25446
+
25447
+ /**
25448
+ * @param {string} value
25449
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25450
+ */
25451
+ proto.gateway.web.v1.BurnMapNode.prototype.setRepositoryKey = function(value) {
25452
+ return jspb.Message.setProto3StringField(this, 1, value);
25453
+ };
25454
+
25455
+
25456
+ /**
25457
+ * optional string directory = 2;
25458
+ * @return {string}
25459
+ */
25460
+ proto.gateway.web.v1.BurnMapNode.prototype.getDirectory = function() {
25461
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
25462
+ };
25463
+
25464
+
25465
+ /**
25466
+ * @param {string} value
25467
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25468
+ */
25469
+ proto.gateway.web.v1.BurnMapNode.prototype.setDirectory = function(value) {
25470
+ return jspb.Message.setProto3StringField(this, 2, value);
25471
+ };
25472
+
25473
+
25474
+ /**
25475
+ * optional uint64 files = 3;
25476
+ * @return {number}
25477
+ */
25478
+ proto.gateway.web.v1.BurnMapNode.prototype.getFiles = function() {
25479
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
25480
+ };
25481
+
25482
+
25483
+ /**
25484
+ * @param {number} value
25485
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25486
+ */
25487
+ proto.gateway.web.v1.BurnMapNode.prototype.setFiles = function(value) {
25488
+ return jspb.Message.setProto3IntField(this, 3, value);
25489
+ };
25490
+
25491
+
25492
+ /**
25493
+ * optional uint64 landed_files = 4;
25494
+ * @return {number}
25495
+ */
25496
+ proto.gateway.web.v1.BurnMapNode.prototype.getLandedFiles = function() {
25497
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
25498
+ };
25499
+
25500
+
25501
+ /**
25502
+ * @param {number} value
25503
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25504
+ */
25505
+ proto.gateway.web.v1.BurnMapNode.prototype.setLandedFiles = function(value) {
25506
+ return jspb.Message.setProto3IntField(this, 4, value);
25507
+ };
25508
+
25509
+
25510
+ /**
25511
+ * optional uint64 discarded_files = 5;
25512
+ * @return {number}
25513
+ */
25514
+ proto.gateway.web.v1.BurnMapNode.prototype.getDiscardedFiles = function() {
25515
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
25516
+ };
25517
+
25518
+
25519
+ /**
25520
+ * @param {number} value
25521
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25522
+ */
25523
+ proto.gateway.web.v1.BurnMapNode.prototype.setDiscardedFiles = function(value) {
25524
+ return jspb.Message.setProto3IntField(this, 5, value);
25525
+ };
25526
+
25527
+
25528
+ /**
25529
+ * optional uint64 edits = 6;
25530
+ * @return {number}
25531
+ */
25532
+ proto.gateway.web.v1.BurnMapNode.prototype.getEdits = function() {
25533
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
25534
+ };
25535
+
25536
+
25537
+ /**
25538
+ * @param {number} value
25539
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25540
+ */
25541
+ proto.gateway.web.v1.BurnMapNode.prototype.setEdits = function(value) {
25542
+ return jspb.Message.setProto3IntField(this, 6, value);
25543
+ };
25544
+
25545
+
25546
+ /**
25547
+ * optional uint64 distinct_sessions = 7;
25548
+ * @return {number}
25549
+ */
25550
+ proto.gateway.web.v1.BurnMapNode.prototype.getDistinctSessions = function() {
25551
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
25552
+ };
25553
+
25554
+
25555
+ /**
25556
+ * @param {number} value
25557
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25558
+ */
25559
+ proto.gateway.web.v1.BurnMapNode.prototype.setDistinctSessions = function(value) {
25560
+ return jspb.Message.setProto3IntField(this, 7, value);
25561
+ };
25562
+
25563
+
25564
+ /**
25565
+ * optional double unlanded_cost_usd = 8;
25566
+ * @return {number}
25567
+ */
25568
+ proto.gateway.web.v1.BurnMapNode.prototype.getUnlandedCostUsd = function() {
25569
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
25570
+ };
25571
+
25572
+
25573
+ /**
25574
+ * @param {number} value
25575
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25576
+ */
25577
+ proto.gateway.web.v1.BurnMapNode.prototype.setUnlandedCostUsd = function(value) {
25578
+ return jspb.Message.setProto3FloatField(this, 8, value);
25579
+ };
25580
+
25581
+
25582
+ /**
25583
+ * optional double subscription_unlanded_cost_usd = 9;
25584
+ * @return {number}
25585
+ */
25586
+ proto.gateway.web.v1.BurnMapNode.prototype.getSubscriptionUnlandedCostUsd = function() {
25587
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
25588
+ };
25589
+
25590
+
25591
+ /**
25592
+ * @param {number} value
25593
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25594
+ */
25595
+ proto.gateway.web.v1.BurnMapNode.prototype.setSubscriptionUnlandedCostUsd = function(value) {
25596
+ return jspb.Message.setProto3FloatField(this, 9, value);
25597
+ };
25598
+
25599
+
25600
+ /**
25601
+ * optional double total_cost_usd = 10;
25602
+ * @return {number}
25603
+ */
25604
+ proto.gateway.web.v1.BurnMapNode.prototype.getTotalCostUsd = function() {
25605
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
25606
+ };
25607
+
25608
+
25609
+ /**
25610
+ * @param {number} value
25611
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25612
+ */
25613
+ proto.gateway.web.v1.BurnMapNode.prototype.setTotalCostUsd = function(value) {
25614
+ return jspb.Message.setProto3FloatField(this, 10, value);
25615
+ };
25616
+
25617
+
25618
+ /**
25619
+ * optional double subscription_total_cost_usd = 11;
25620
+ * @return {number}
25621
+ */
25622
+ proto.gateway.web.v1.BurnMapNode.prototype.getSubscriptionTotalCostUsd = function() {
25623
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
25624
+ };
25625
+
25626
+
25627
+ /**
25628
+ * @param {number} value
25629
+ * @return {!proto.gateway.web.v1.BurnMapNode} returns this
25630
+ */
25631
+ proto.gateway.web.v1.BurnMapNode.prototype.setSubscriptionTotalCostUsd = function(value) {
25632
+ return jspb.Message.setProto3FloatField(this, 11, value);
25633
+ };
25634
+
25635
+
25636
+
25637
+
25638
+
24447
25639
  if (jspb.Message.GENERATE_TO_OBJECT) {
24448
25640
  /**
24449
25641
  * Creates an object representation of this proto.