@miradorlabs/web-grpc 2.68.0 → 2.71.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,9 +54,6 @@ 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);
60
57
  goog.exportSymbol('proto.gateway.web.v1.BurnRate', null, global);
61
58
  goog.exportSymbol('proto.gateway.web.v1.BurnRateBreakdown', null, global);
62
59
  goog.exportSymbol('proto.gateway.web.v1.BurnRateGroup', null, global);
@@ -1599,69 +1596,6 @@ if (goog.DEBUG && !COMPILED) {
1599
1596
  */
1600
1597
  proto.gateway.web.v1.AIFileRow.displayName = 'proto.gateway.web.v1.AIFileRow';
1601
1598
  }
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
- }
1665
1599
  /**
1666
1600
  * Generated by JsPbCodeGenerator.
1667
1601
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -24835,807 +24769,6 @@ proto.gateway.web.v1.AIFileRow.prototype.setSubscriptionUnlandedCostUsd = functi
24835
24769
 
24836
24770
 
24837
24771
 
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
-
25639
24772
  if (jspb.Message.GENERATE_TO_OBJECT) {
25640
24773
  /**
25641
24774
  * Creates an object representation of this proto.