@aldiokta/protocgen 1.1.52 → 1.1.53

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.
@@ -68,6 +68,7 @@ goog.exportSymbol('proto.PoliciesResponse', null, global);
68
68
  goog.exportSymbol('proto.Policy', null, global);
69
69
  goog.exportSymbol('proto.PolicyAction', null, global);
70
70
  goog.exportSymbol('proto.Resource', null, global);
71
+ goog.exportSymbol('proto.ResourceFilter', null, global);
71
72
  goog.exportSymbol('proto.Role', null, global);
72
73
  goog.exportSymbol('proto.RolePolicy', null, global);
73
74
  goog.exportSymbol('proto.Statement', null, global);
@@ -276,7 +277,7 @@ if (goog.DEBUG && !COMPILED) {
276
277
  * @constructor
277
278
  */
278
279
  proto.Resource = function(opt_data) {
279
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
280
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Resource.repeatedFields_, null);
280
281
  };
281
282
  goog.inherits(proto.Resource, jspb.Message);
282
283
  if (goog.DEBUG && !COMPILED) {
@@ -286,6 +287,27 @@ if (goog.DEBUG && !COMPILED) {
286
287
  */
287
288
  proto.Resource.displayName = 'proto.Resource';
288
289
  }
290
+ /**
291
+ * Generated by JsPbCodeGenerator.
292
+ * @param {Array=} opt_data Optional initial data array, typically from a
293
+ * server response, or constructed directly in Javascript. The array is used
294
+ * in place and becomes part of the constructed object. It is not cloned.
295
+ * If no data is provided, the constructed object will be empty, but still
296
+ * valid.
297
+ * @extends {jspb.Message}
298
+ * @constructor
299
+ */
300
+ proto.ResourceFilter = function(opt_data) {
301
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
302
+ };
303
+ goog.inherits(proto.ResourceFilter, jspb.Message);
304
+ if (goog.DEBUG && !COMPILED) {
305
+ /**
306
+ * @public
307
+ * @override
308
+ */
309
+ proto.ResourceFilter.displayName = 'proto.ResourceFilter';
310
+ }
289
311
  /**
290
312
  * Generated by JsPbCodeGenerator.
291
313
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1591,7 +1613,8 @@ proto.Statement.toObject = function(includeInstance, msg) {
1591
1613
  var f, obj = {
1592
1614
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1593
1615
  actionsList: jspb.Message.toObjectList(msg.getActionsList(),
1594
- proto.Action.toObject, includeInstance)
1616
+ proto.Action.toObject, includeInstance),
1617
+ resources: (f = msg.getResources()) && proto.Resource.toObject(includeInstance, f)
1595
1618
  };
1596
1619
 
1597
1620
  if (includeInstance) {
@@ -1637,6 +1660,11 @@ proto.Statement.deserializeBinaryFromReader = function(msg, reader) {
1637
1660
  reader.readMessage(value,proto.Action.deserializeBinaryFromReader);
1638
1661
  msg.addActions(value);
1639
1662
  break;
1663
+ case 3:
1664
+ var value = new proto.Resource;
1665
+ reader.readMessage(value,proto.Resource.deserializeBinaryFromReader);
1666
+ msg.setResources(value);
1667
+ break;
1640
1668
  default:
1641
1669
  reader.skipField();
1642
1670
  break;
@@ -1681,6 +1709,14 @@ proto.Statement.serializeBinaryToWriter = function(message, writer) {
1681
1709
  proto.Action.serializeBinaryToWriter
1682
1710
  );
1683
1711
  }
1712
+ f = message.getResources();
1713
+ if (f != null) {
1714
+ writer.writeMessage(
1715
+ 3,
1716
+ f,
1717
+ proto.Resource.serializeBinaryToWriter
1718
+ );
1719
+ }
1684
1720
  };
1685
1721
 
1686
1722
 
@@ -1740,6 +1776,43 @@ proto.Statement.prototype.clearActionsList = function() {
1740
1776
  };
1741
1777
 
1742
1778
 
1779
+ /**
1780
+ * optional Resource resources = 3;
1781
+ * @return {?proto.Resource}
1782
+ */
1783
+ proto.Statement.prototype.getResources = function() {
1784
+ return /** @type{?proto.Resource} */ (
1785
+ jspb.Message.getWrapperField(this, proto.Resource, 3));
1786
+ };
1787
+
1788
+
1789
+ /**
1790
+ * @param {?proto.Resource|undefined} value
1791
+ * @return {!proto.Statement} returns this
1792
+ */
1793
+ proto.Statement.prototype.setResources = function(value) {
1794
+ return jspb.Message.setWrapperField(this, 3, value);
1795
+ };
1796
+
1797
+
1798
+ /**
1799
+ * Clears the message field making it undefined.
1800
+ * @return {!proto.Statement} returns this
1801
+ */
1802
+ proto.Statement.prototype.clearResources = function() {
1803
+ return this.setResources(undefined);
1804
+ };
1805
+
1806
+
1807
+ /**
1808
+ * Returns whether this field is set.
1809
+ * @return {boolean}
1810
+ */
1811
+ proto.Statement.prototype.hasResources = function() {
1812
+ return jspb.Message.getField(this, 3) != null;
1813
+ };
1814
+
1815
+
1743
1816
 
1744
1817
  /**
1745
1818
  * List of repeated fields within this message type.
@@ -1783,7 +1856,8 @@ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1783
1856
  names: jspb.Message.getFieldWithDefault(msg, 2, ""),
1784
1857
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
1785
1858
  policiesActionList: jspb.Message.toObjectList(msg.getPoliciesActionList(),
1786
- proto.PolicyAction.toObject, includeInstance)
1859
+ proto.PolicyAction.toObject, includeInstance),
1860
+ resources: (f = msg.getResources()) && proto.Resource.toObject(includeInstance, f)
1787
1861
  };
1788
1862
 
1789
1863
  if (includeInstance) {
@@ -1837,6 +1911,11 @@ proto.BasePolicy.deserializeBinaryFromReader = function(msg, reader) {
1837
1911
  reader.readMessage(value,proto.PolicyAction.deserializeBinaryFromReader);
1838
1912
  msg.addPoliciesAction(value);
1839
1913
  break;
1914
+ case 5:
1915
+ var value = new proto.Resource;
1916
+ reader.readMessage(value,proto.Resource.deserializeBinaryFromReader);
1917
+ msg.setResources(value);
1918
+ break;
1840
1919
  default:
1841
1920
  reader.skipField();
1842
1921
  break;
@@ -1895,6 +1974,14 @@ proto.BasePolicy.serializeBinaryToWriter = function(message, writer) {
1895
1974
  proto.PolicyAction.serializeBinaryToWriter
1896
1975
  );
1897
1976
  }
1977
+ f = message.getResources();
1978
+ if (f != null) {
1979
+ writer.writeMessage(
1980
+ 5,
1981
+ f,
1982
+ proto.Resource.serializeBinaryToWriter
1983
+ );
1984
+ }
1898
1985
  };
1899
1986
 
1900
1987
 
@@ -1990,6 +2077,43 @@ proto.BasePolicy.prototype.clearPoliciesActionList = function() {
1990
2077
  };
1991
2078
 
1992
2079
 
2080
+ /**
2081
+ * optional Resource resources = 5;
2082
+ * @return {?proto.Resource}
2083
+ */
2084
+ proto.BasePolicy.prototype.getResources = function() {
2085
+ return /** @type{?proto.Resource} */ (
2086
+ jspb.Message.getWrapperField(this, proto.Resource, 5));
2087
+ };
2088
+
2089
+
2090
+ /**
2091
+ * @param {?proto.Resource|undefined} value
2092
+ * @return {!proto.BasePolicy} returns this
2093
+ */
2094
+ proto.BasePolicy.prototype.setResources = function(value) {
2095
+ return jspb.Message.setWrapperField(this, 5, value);
2096
+ };
2097
+
2098
+
2099
+ /**
2100
+ * Clears the message field making it undefined.
2101
+ * @return {!proto.BasePolicy} returns this
2102
+ */
2103
+ proto.BasePolicy.prototype.clearResources = function() {
2104
+ return this.setResources(undefined);
2105
+ };
2106
+
2107
+
2108
+ /**
2109
+ * Returns whether this field is set.
2110
+ * @return {boolean}
2111
+ */
2112
+ proto.BasePolicy.prototype.hasResources = function() {
2113
+ return jspb.Message.getField(this, 5) != null;
2114
+ };
2115
+
2116
+
1993
2117
 
1994
2118
  /**
1995
2119
  * List of repeated fields within this message type.
@@ -2229,7 +2353,8 @@ createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
2229
2353
  updatedBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
2230
2354
  companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
2231
2355
  policiesActionsList: jspb.Message.toObjectList(msg.getPoliciesActionsList(),
2232
- proto.PolicyAction.toObject, includeInstance)
2356
+ proto.PolicyAction.toObject, includeInstance),
2357
+ resources: (f = msg.getResources()) && proto.Resource.toObject(includeInstance, f)
2233
2358
  };
2234
2359
 
2235
2360
  if (includeInstance) {
@@ -2307,6 +2432,11 @@ proto.Policy.deserializeBinaryFromReader = function(msg, reader) {
2307
2432
  reader.readMessage(value,proto.PolicyAction.deserializeBinaryFromReader);
2308
2433
  msg.addPoliciesActions(value);
2309
2434
  break;
2435
+ case 11:
2436
+ var value = new proto.Resource;
2437
+ reader.readMessage(value,proto.Resource.deserializeBinaryFromReader);
2438
+ msg.setResources(value);
2439
+ break;
2310
2440
  default:
2311
2441
  reader.skipField();
2312
2442
  break;
@@ -2407,6 +2537,14 @@ proto.Policy.serializeBinaryToWriter = function(message, writer) {
2407
2537
  proto.PolicyAction.serializeBinaryToWriter
2408
2538
  );
2409
2539
  }
2540
+ f = message.getResources();
2541
+ if (f != null) {
2542
+ writer.writeMessage(
2543
+ 11,
2544
+ f,
2545
+ proto.Resource.serializeBinaryToWriter
2546
+ );
2547
+ }
2410
2548
  };
2411
2549
 
2412
2550
 
@@ -2610,6 +2748,43 @@ proto.Policy.prototype.clearPoliciesActionsList = function() {
2610
2748
  };
2611
2749
 
2612
2750
 
2751
+ /**
2752
+ * optional Resource resources = 11;
2753
+ * @return {?proto.Resource}
2754
+ */
2755
+ proto.Policy.prototype.getResources = function() {
2756
+ return /** @type{?proto.Resource} */ (
2757
+ jspb.Message.getWrapperField(this, proto.Resource, 11));
2758
+ };
2759
+
2760
+
2761
+ /**
2762
+ * @param {?proto.Resource|undefined} value
2763
+ * @return {!proto.Policy} returns this
2764
+ */
2765
+ proto.Policy.prototype.setResources = function(value) {
2766
+ return jspb.Message.setWrapperField(this, 11, value);
2767
+ };
2768
+
2769
+
2770
+ /**
2771
+ * Clears the message field making it undefined.
2772
+ * @return {!proto.Policy} returns this
2773
+ */
2774
+ proto.Policy.prototype.clearResources = function() {
2775
+ return this.setResources(undefined);
2776
+ };
2777
+
2778
+
2779
+ /**
2780
+ * Returns whether this field is set.
2781
+ * @return {boolean}
2782
+ */
2783
+ proto.Policy.prototype.hasResources = function() {
2784
+ return jspb.Message.getField(this, 11) != null;
2785
+ };
2786
+
2787
+
2613
2788
 
2614
2789
 
2615
2790
 
@@ -3773,6 +3948,13 @@ proto.BaseRole.prototype.setReferencesId = function(value) {
3773
3948
 
3774
3949
 
3775
3950
 
3951
+ /**
3952
+ * List of repeated fields within this message type.
3953
+ * @private {!Array<number>}
3954
+ * @const
3955
+ */
3956
+ proto.Resource.repeatedFields_ = [5];
3957
+
3776
3958
 
3777
3959
 
3778
3960
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -3808,7 +3990,8 @@ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3808
3990
  parameter: jspb.Message.getFieldWithDefault(msg, 2, ""),
3809
3991
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
3810
3992
  referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
3811
- resourceFilter: jspb.Message.getFieldWithDefault(msg, 5, "")
3993
+ resourceFilterList: jspb.Message.toObjectList(msg.getResourceFilterList(),
3994
+ proto.ResourceFilter.toObject, includeInstance)
3812
3995
  };
3813
3996
 
3814
3997
  if (includeInstance) {
@@ -3862,8 +4045,9 @@ proto.Resource.deserializeBinaryFromReader = function(msg, reader) {
3862
4045
  msg.setReferencesId(value);
3863
4046
  break;
3864
4047
  case 5:
3865
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3866
- msg.setResourceFilter(value);
4048
+ var value = new proto.ResourceFilter;
4049
+ reader.readMessage(value,proto.ResourceFilter.deserializeBinaryFromReader);
4050
+ msg.addResourceFilter(value);
3867
4051
  break;
3868
4052
  default:
3869
4053
  reader.skipField();
@@ -3922,11 +4106,12 @@ proto.Resource.serializeBinaryToWriter = function(message, writer) {
3922
4106
  f
3923
4107
  );
3924
4108
  }
3925
- f = message.getResourceFilter();
4109
+ f = message.getResourceFilterList();
3926
4110
  if (f.length > 0) {
3927
- writer.writeString(
4111
+ writer.writeRepeatedMessage(
3928
4112
  5,
3929
- f
4113
+ f,
4114
+ proto.ResourceFilter.serializeBinaryToWriter
3930
4115
  );
3931
4116
  }
3932
4117
  };
@@ -4005,20 +4190,230 @@ proto.Resource.prototype.setReferencesId = function(value) {
4005
4190
 
4006
4191
 
4007
4192
  /**
4008
- * optional string resource_filter = 5;
4193
+ * repeated ResourceFilter resource_filter = 5;
4194
+ * @return {!Array<!proto.ResourceFilter>}
4195
+ */
4196
+ proto.Resource.prototype.getResourceFilterList = function() {
4197
+ return /** @type{!Array<!proto.ResourceFilter>} */ (
4198
+ jspb.Message.getRepeatedWrapperField(this, proto.ResourceFilter, 5));
4199
+ };
4200
+
4201
+
4202
+ /**
4203
+ * @param {!Array<!proto.ResourceFilter>} value
4204
+ * @return {!proto.Resource} returns this
4205
+ */
4206
+ proto.Resource.prototype.setResourceFilterList = function(value) {
4207
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
4208
+ };
4209
+
4210
+
4211
+ /**
4212
+ * @param {!proto.ResourceFilter=} opt_value
4213
+ * @param {number=} opt_index
4214
+ * @return {!proto.ResourceFilter}
4215
+ */
4216
+ proto.Resource.prototype.addResourceFilter = function(opt_value, opt_index) {
4217
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.ResourceFilter, opt_index);
4218
+ };
4219
+
4220
+
4221
+ /**
4222
+ * Clears the list making it empty but non-null.
4223
+ * @return {!proto.Resource} returns this
4224
+ */
4225
+ proto.Resource.prototype.clearResourceFilterList = function() {
4226
+ return this.setResourceFilterList([]);
4227
+ };
4228
+
4229
+
4230
+
4231
+
4232
+
4233
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4234
+ /**
4235
+ * Creates an object representation of this proto.
4236
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4237
+ * Optional fields that are not set will be set to undefined.
4238
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4239
+ * For the list of reserved names please see:
4240
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4241
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4242
+ * JSPB instance for transitional soy proto support:
4243
+ * http://goto/soy-param-migration
4244
+ * @return {!Object}
4245
+ */
4246
+ proto.ResourceFilter.prototype.toObject = function(opt_includeInstance) {
4247
+ return proto.ResourceFilter.toObject(opt_includeInstance, this);
4248
+ };
4249
+
4250
+
4251
+ /**
4252
+ * Static version of the {@see toObject} method.
4253
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4254
+ * the JSPB instance for transitional soy proto support:
4255
+ * http://goto/soy-param-migration
4256
+ * @param {!proto.ResourceFilter} msg The msg instance to transform.
4257
+ * @return {!Object}
4258
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4259
+ */
4260
+ proto.ResourceFilter.toObject = function(includeInstance, msg) {
4261
+ var f, obj = {
4262
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
4263
+ operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
4264
+ value: jspb.Message.getFieldWithDefault(msg, 4, "")
4265
+ };
4266
+
4267
+ if (includeInstance) {
4268
+ obj.$jspbMessageInstance = msg;
4269
+ }
4270
+ return obj;
4271
+ };
4272
+ }
4273
+
4274
+
4275
+ /**
4276
+ * Deserializes binary data (in protobuf wire format).
4277
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4278
+ * @return {!proto.ResourceFilter}
4279
+ */
4280
+ proto.ResourceFilter.deserializeBinary = function(bytes) {
4281
+ var reader = new jspb.BinaryReader(bytes);
4282
+ var msg = new proto.ResourceFilter;
4283
+ return proto.ResourceFilter.deserializeBinaryFromReader(msg, reader);
4284
+ };
4285
+
4286
+
4287
+ /**
4288
+ * Deserializes binary data (in protobuf wire format) from the
4289
+ * given reader into the given message object.
4290
+ * @param {!proto.ResourceFilter} msg The message object to deserialize into.
4291
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4292
+ * @return {!proto.ResourceFilter}
4293
+ */
4294
+ proto.ResourceFilter.deserializeBinaryFromReader = function(msg, reader) {
4295
+ while (reader.nextField()) {
4296
+ if (reader.isEndGroup()) {
4297
+ break;
4298
+ }
4299
+ var field = reader.getFieldNumber();
4300
+ switch (field) {
4301
+ case 1:
4302
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4303
+ msg.setKey(value);
4304
+ break;
4305
+ case 2:
4306
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4307
+ msg.setOperator(value);
4308
+ break;
4309
+ case 4:
4310
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4311
+ msg.setValue(value);
4312
+ break;
4313
+ default:
4314
+ reader.skipField();
4315
+ break;
4316
+ }
4317
+ }
4318
+ return msg;
4319
+ };
4320
+
4321
+
4322
+ /**
4323
+ * Serializes the message to binary data (in protobuf wire format).
4324
+ * @return {!Uint8Array}
4325
+ */
4326
+ proto.ResourceFilter.prototype.serializeBinary = function() {
4327
+ var writer = new jspb.BinaryWriter();
4328
+ proto.ResourceFilter.serializeBinaryToWriter(this, writer);
4329
+ return writer.getResultBuffer();
4330
+ };
4331
+
4332
+
4333
+ /**
4334
+ * Serializes the given message to binary data (in protobuf wire
4335
+ * format), writing to the given BinaryWriter.
4336
+ * @param {!proto.ResourceFilter} message
4337
+ * @param {!jspb.BinaryWriter} writer
4338
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4339
+ */
4340
+ proto.ResourceFilter.serializeBinaryToWriter = function(message, writer) {
4341
+ var f = undefined;
4342
+ f = message.getKey();
4343
+ if (f.length > 0) {
4344
+ writer.writeString(
4345
+ 1,
4346
+ f
4347
+ );
4348
+ }
4349
+ f = message.getOperator();
4350
+ if (f.length > 0) {
4351
+ writer.writeString(
4352
+ 2,
4353
+ f
4354
+ );
4355
+ }
4356
+ f = message.getValue();
4357
+ if (f.length > 0) {
4358
+ writer.writeString(
4359
+ 4,
4360
+ f
4361
+ );
4362
+ }
4363
+ };
4364
+
4365
+
4366
+ /**
4367
+ * optional string key = 1;
4009
4368
  * @return {string}
4010
4369
  */
4011
- proto.Resource.prototype.getResourceFilter = function() {
4012
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4370
+ proto.ResourceFilter.prototype.getKey = function() {
4371
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4013
4372
  };
4014
4373
 
4015
4374
 
4016
4375
  /**
4017
4376
  * @param {string} value
4018
- * @return {!proto.Resource} returns this
4377
+ * @return {!proto.ResourceFilter} returns this
4019
4378
  */
4020
- proto.Resource.prototype.setResourceFilter = function(value) {
4021
- return jspb.Message.setProto3StringField(this, 5, value);
4379
+ proto.ResourceFilter.prototype.setKey = function(value) {
4380
+ return jspb.Message.setProto3StringField(this, 1, value);
4381
+ };
4382
+
4383
+
4384
+ /**
4385
+ * optional string operator = 2;
4386
+ * @return {string}
4387
+ */
4388
+ proto.ResourceFilter.prototype.getOperator = function() {
4389
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4390
+ };
4391
+
4392
+
4393
+ /**
4394
+ * @param {string} value
4395
+ * @return {!proto.ResourceFilter} returns this
4396
+ */
4397
+ proto.ResourceFilter.prototype.setOperator = function(value) {
4398
+ return jspb.Message.setProto3StringField(this, 2, value);
4399
+ };
4400
+
4401
+
4402
+ /**
4403
+ * optional string value = 4;
4404
+ * @return {string}
4405
+ */
4406
+ proto.ResourceFilter.prototype.getValue = function() {
4407
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4408
+ };
4409
+
4410
+
4411
+ /**
4412
+ * @param {string} value
4413
+ * @return {!proto.ResourceFilter} returns this
4414
+ */
4415
+ proto.ResourceFilter.prototype.setValue = function(value) {
4416
+ return jspb.Message.setProto3StringField(this, 4, value);
4022
4417
  };
4023
4418
 
4024
4419
 
@@ -2801,7 +2801,7 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
2801
2801
  itemTransactionServicePriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionServicePriceConditionList(),
2802
2802
  proto.ItemTransactionServicePriceCondition.toObject, includeInstance),
2803
2803
  previousReferences: jspb.Message.getFieldWithDefault(msg, 13, ""),
2804
- remainingQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0)
2804
+ remainingQuantity: jspb.Message.getFieldWithDefault(msg, 14, "")
2805
2805
  };
2806
2806
 
2807
2807
  if (includeInstance) {
@@ -2893,7 +2893,7 @@ proto.ItemTransactionService.deserializeBinaryFromReader = function(msg, reader)
2893
2893
  msg.setPreviousReferences(value);
2894
2894
  break;
2895
2895
  case 14:
2896
- var value = /** @type {number} */ (reader.readDouble());
2896
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2897
2897
  msg.setRemainingQuantity(value);
2898
2898
  break;
2899
2899
  default:
@@ -3019,8 +3019,8 @@ proto.ItemTransactionService.serializeBinaryToWriter = function(message, writer)
3019
3019
  );
3020
3020
  }
3021
3021
  f = message.getRemainingQuantity();
3022
- if (f !== 0.0) {
3023
- writer.writeDouble(
3022
+ if (f.length > 0) {
3023
+ writer.writeString(
3024
3024
  14,
3025
3025
  f
3026
3026
  );
@@ -3303,20 +3303,20 @@ proto.ItemTransactionService.prototype.setPreviousReferences = function(value) {
3303
3303
 
3304
3304
 
3305
3305
  /**
3306
- * optional double remaining_quantity = 14;
3307
- * @return {number}
3306
+ * optional string remaining_quantity = 14;
3307
+ * @return {string}
3308
3308
  */
3309
3309
  proto.ItemTransactionService.prototype.getRemainingQuantity = function() {
3310
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
3310
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
3311
3311
  };
3312
3312
 
3313
3313
 
3314
3314
  /**
3315
- * @param {number} value
3315
+ * @param {string} value
3316
3316
  * @return {!proto.ItemTransactionService} returns this
3317
3317
  */
3318
3318
  proto.ItemTransactionService.prototype.setRemainingQuantity = function(value) {
3319
- return jspb.Message.setProto3FloatField(this, 14, value);
3319
+ return jspb.Message.setProto3StringField(this, 14, value);
3320
3320
  };
3321
3321
 
3322
3322
 
@@ -6783,7 +6783,8 @@ amountPrice: jspb.Message.getFieldWithDefault(msg, 10, ""),
6783
6783
  filesList: jspb.Message.toObjectList(msg.getFilesList(),
6784
6784
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
6785
6785
  itemTransactionServicePriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionServicePriceConditionList(),
6786
- proto.BaseItemTransactionServicePriceCondition.toObject, includeInstance)
6786
+ proto.BaseItemTransactionServicePriceCondition.toObject, includeInstance),
6787
+ previousReferences: jspb.Message.getFieldWithDefault(msg, 13, "")
6787
6788
  };
6788
6789
 
6789
6790
  if (includeInstance) {
@@ -6866,6 +6867,10 @@ proto.BaseItemTransactionService.deserializeBinaryFromReader = function(msg, rea
6866
6867
  reader.readMessage(value,proto.BaseItemTransactionServicePriceCondition.deserializeBinaryFromReader);
6867
6868
  msg.addItemTransactionServicePriceCondition(value);
6868
6869
  break;
6870
+ case 13:
6871
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6872
+ msg.setPreviousReferences(value);
6873
+ break;
6869
6874
  default:
6870
6875
  reader.skipField();
6871
6876
  break;
@@ -6974,6 +6979,13 @@ proto.BaseItemTransactionService.serializeBinaryToWriter = function(message, wri
6974
6979
  proto.BaseItemTransactionServicePriceCondition.serializeBinaryToWriter
6975
6980
  );
6976
6981
  }
6982
+ f = message.getPreviousReferences();
6983
+ if (f.length > 0) {
6984
+ writer.writeString(
6985
+ 13,
6986
+ f
6987
+ );
6988
+ }
6977
6989
  };
6978
6990
 
6979
6991
 
@@ -7215,6 +7227,24 @@ proto.BaseItemTransactionService.prototype.clearItemTransactionServicePriceCondi
7215
7227
  };
7216
7228
 
7217
7229
 
7230
+ /**
7231
+ * optional string previous_references = 13;
7232
+ * @return {string}
7233
+ */
7234
+ proto.BaseItemTransactionService.prototype.getPreviousReferences = function() {
7235
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
7236
+ };
7237
+
7238
+
7239
+ /**
7240
+ * @param {string} value
7241
+ * @return {!proto.BaseItemTransactionService} returns this
7242
+ */
7243
+ proto.BaseItemTransactionService.prototype.setPreviousReferences = function(value) {
7244
+ return jspb.Message.setProto3StringField(this, 13, value);
7245
+ };
7246
+
7247
+
7218
7248
 
7219
7249
 
7220
7250