@aldiokta/protocgen 1.1.22 → 1.1.24

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.
@@ -256,7 +256,7 @@ if (goog.DEBUG && !COMPILED) {
256
256
  * @constructor
257
257
  */
258
258
  proto.DeleteTaxCodeRequest = function(opt_data) {
259
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
259
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteTaxCodeRequest.repeatedFields_, null);
260
260
  };
261
261
  goog.inherits(proto.DeleteTaxCodeRequest, jspb.Message);
262
262
  if (goog.DEBUG && !COMPILED) {
@@ -277,7 +277,7 @@ if (goog.DEBUG && !COMPILED) {
277
277
  * @constructor
278
278
  */
279
279
  proto.DeleteTaxCodeResponse = function(opt_data) {
280
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
280
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteTaxCodeResponse.repeatedFields_, null);
281
281
  };
282
282
  goog.inherits(proto.DeleteTaxCodeResponse, jspb.Message);
283
283
  if (goog.DEBUG && !COMPILED) {
@@ -2419,6 +2419,13 @@ proto.GetListTaxCodeResponse.prototype.hasMeta = function() {
2419
2419
 
2420
2420
 
2421
2421
 
2422
+ /**
2423
+ * List of repeated fields within this message type.
2424
+ * @private {!Array<number>}
2425
+ * @const
2426
+ */
2427
+ proto.DeleteTaxCodeRequest.repeatedFields_ = [1];
2428
+
2422
2429
 
2423
2430
 
2424
2431
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2450,7 +2457,7 @@ proto.DeleteTaxCodeRequest.prototype.toObject = function(opt_includeInstance) {
2450
2457
  */
2451
2458
  proto.DeleteTaxCodeRequest.toObject = function(includeInstance, msg) {
2452
2459
  var f, obj = {
2453
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
2460
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2454
2461
  };
2455
2462
 
2456
2463
  if (includeInstance) {
@@ -2489,7 +2496,7 @@ proto.DeleteTaxCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
2489
2496
  switch (field) {
2490
2497
  case 1:
2491
2498
  var value = /** @type {string} */ (reader.readString());
2492
- msg.setReferencesId(value);
2499
+ msg.addReferenceIds(value);
2493
2500
  break;
2494
2501
  default:
2495
2502
  reader.skipField();
@@ -2520,9 +2527,9 @@ proto.DeleteTaxCodeRequest.prototype.serializeBinary = function() {
2520
2527
  */
2521
2528
  proto.DeleteTaxCodeRequest.serializeBinaryToWriter = function(message, writer) {
2522
2529
  var f = undefined;
2523
- f = message.getReferencesId();
2530
+ f = message.getReferenceIdsList();
2524
2531
  if (f.length > 0) {
2525
- writer.writeString(
2532
+ writer.writeRepeatedString(
2526
2533
  1,
2527
2534
  f
2528
2535
  );
@@ -2531,24 +2538,50 @@ proto.DeleteTaxCodeRequest.serializeBinaryToWriter = function(message, writer) {
2531
2538
 
2532
2539
 
2533
2540
  /**
2534
- * optional string references_id = 1;
2535
- * @return {string}
2541
+ * repeated string reference_ids = 1;
2542
+ * @return {!Array<string>}
2536
2543
  */
2537
- proto.DeleteTaxCodeRequest.prototype.getReferencesId = function() {
2538
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2544
+ proto.DeleteTaxCodeRequest.prototype.getReferenceIdsList = function() {
2545
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2546
+ };
2547
+
2548
+
2549
+ /**
2550
+ * @param {!Array<string>} value
2551
+ * @return {!proto.DeleteTaxCodeRequest} returns this
2552
+ */
2553
+ proto.DeleteTaxCodeRequest.prototype.setReferenceIdsList = function(value) {
2554
+ return jspb.Message.setField(this, 1, value || []);
2539
2555
  };
2540
2556
 
2541
2557
 
2542
2558
  /**
2543
2559
  * @param {string} value
2560
+ * @param {number=} opt_index
2544
2561
  * @return {!proto.DeleteTaxCodeRequest} returns this
2545
2562
  */
2546
- proto.DeleteTaxCodeRequest.prototype.setReferencesId = function(value) {
2547
- return jspb.Message.setProto3StringField(this, 1, value);
2563
+ proto.DeleteTaxCodeRequest.prototype.addReferenceIds = function(value, opt_index) {
2564
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2565
+ };
2566
+
2567
+
2568
+ /**
2569
+ * Clears the list making it empty but non-null.
2570
+ * @return {!proto.DeleteTaxCodeRequest} returns this
2571
+ */
2572
+ proto.DeleteTaxCodeRequest.prototype.clearReferenceIdsList = function() {
2573
+ return this.setReferenceIdsList([]);
2548
2574
  };
2549
2575
 
2550
2576
 
2551
2577
 
2578
+ /**
2579
+ * List of repeated fields within this message type.
2580
+ * @private {!Array<number>}
2581
+ * @const
2582
+ */
2583
+ proto.DeleteTaxCodeResponse.repeatedFields_ = [1];
2584
+
2552
2585
 
2553
2586
 
2554
2587
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2580,7 +2613,7 @@ proto.DeleteTaxCodeResponse.prototype.toObject = function(opt_includeInstance) {
2580
2613
  */
2581
2614
  proto.DeleteTaxCodeResponse.toObject = function(includeInstance, msg) {
2582
2615
  var f, obj = {
2583
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2616
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
2584
2617
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2585
2618
  };
2586
2619
 
@@ -2620,7 +2653,7 @@ proto.DeleteTaxCodeResponse.deserializeBinaryFromReader = function(msg, reader)
2620
2653
  switch (field) {
2621
2654
  case 1:
2622
2655
  var value = /** @type {string} */ (reader.readString());
2623
- msg.setReferencesId(value);
2656
+ msg.addReferenceIds(value);
2624
2657
  break;
2625
2658
  case 2:
2626
2659
  var value = new prisca_v1_global_meta_meta_pb.Meta;
@@ -2656,9 +2689,9 @@ proto.DeleteTaxCodeResponse.prototype.serializeBinary = function() {
2656
2689
  */
2657
2690
  proto.DeleteTaxCodeResponse.serializeBinaryToWriter = function(message, writer) {
2658
2691
  var f = undefined;
2659
- f = message.getReferencesId();
2692
+ f = message.getReferenceIdsList();
2660
2693
  if (f.length > 0) {
2661
- writer.writeString(
2694
+ writer.writeRepeatedString(
2662
2695
  1,
2663
2696
  f
2664
2697
  );
@@ -2675,20 +2708,39 @@ proto.DeleteTaxCodeResponse.serializeBinaryToWriter = function(message, writer)
2675
2708
 
2676
2709
 
2677
2710
  /**
2678
- * optional string references_id = 1;
2679
- * @return {string}
2711
+ * repeated string reference_ids = 1;
2712
+ * @return {!Array<string>}
2680
2713
  */
2681
- proto.DeleteTaxCodeResponse.prototype.getReferencesId = function() {
2682
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2714
+ proto.DeleteTaxCodeResponse.prototype.getReferenceIdsList = function() {
2715
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2716
+ };
2717
+
2718
+
2719
+ /**
2720
+ * @param {!Array<string>} value
2721
+ * @return {!proto.DeleteTaxCodeResponse} returns this
2722
+ */
2723
+ proto.DeleteTaxCodeResponse.prototype.setReferenceIdsList = function(value) {
2724
+ return jspb.Message.setField(this, 1, value || []);
2683
2725
  };
2684
2726
 
2685
2727
 
2686
2728
  /**
2687
2729
  * @param {string} value
2730
+ * @param {number=} opt_index
2688
2731
  * @return {!proto.DeleteTaxCodeResponse} returns this
2689
2732
  */
2690
- proto.DeleteTaxCodeResponse.prototype.setReferencesId = function(value) {
2691
- return jspb.Message.setProto3StringField(this, 1, value);
2733
+ proto.DeleteTaxCodeResponse.prototype.addReferenceIds = function(value, opt_index) {
2734
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2735
+ };
2736
+
2737
+
2738
+ /**
2739
+ * Clears the list making it empty but non-null.
2740
+ * @return {!proto.DeleteTaxCodeResponse} returns this
2741
+ */
2742
+ proto.DeleteTaxCodeResponse.prototype.clearReferenceIdsList = function() {
2743
+ return this.setReferenceIdsList([]);
2692
2744
  };
2693
2745
 
2694
2746
 
@@ -172,7 +172,7 @@ if (goog.DEBUG && !COMPILED) {
172
172
  * @constructor
173
173
  */
174
174
  proto.DeleteUnitOfMeasureRequest = function(opt_data) {
175
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
175
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteUnitOfMeasureRequest.repeatedFields_, null);
176
176
  };
177
177
  goog.inherits(proto.DeleteUnitOfMeasureRequest, jspb.Message);
178
178
  if (goog.DEBUG && !COMPILED) {
@@ -277,7 +277,7 @@ if (goog.DEBUG && !COMPILED) {
277
277
  * @constructor
278
278
  */
279
279
  proto.DeleteUnitOfMeasureResponse = function(opt_data) {
280
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
280
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteUnitOfMeasureResponse.repeatedFields_, null);
281
281
  };
282
282
  goog.inherits(proto.DeleteUnitOfMeasureResponse, jspb.Message);
283
283
  if (goog.DEBUG && !COMPILED) {
@@ -1668,6 +1668,13 @@ proto.GetUnitOfMeasureByIdRequest.prototype.setReferencesId = function(value) {
1668
1668
 
1669
1669
 
1670
1670
 
1671
+ /**
1672
+ * List of repeated fields within this message type.
1673
+ * @private {!Array<number>}
1674
+ * @const
1675
+ */
1676
+ proto.DeleteUnitOfMeasureRequest.repeatedFields_ = [1];
1677
+
1671
1678
 
1672
1679
 
1673
1680
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -1699,7 +1706,7 @@ proto.DeleteUnitOfMeasureRequest.prototype.toObject = function(opt_includeInstan
1699
1706
  */
1700
1707
  proto.DeleteUnitOfMeasureRequest.toObject = function(includeInstance, msg) {
1701
1708
  var f, obj = {
1702
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1709
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
1703
1710
  };
1704
1711
 
1705
1712
  if (includeInstance) {
@@ -1738,7 +1745,7 @@ proto.DeleteUnitOfMeasureRequest.deserializeBinaryFromReader = function(msg, rea
1738
1745
  switch (field) {
1739
1746
  case 1:
1740
1747
  var value = /** @type {string} */ (reader.readString());
1741
- msg.setReferencesId(value);
1748
+ msg.addReferenceIds(value);
1742
1749
  break;
1743
1750
  default:
1744
1751
  reader.skipField();
@@ -1769,9 +1776,9 @@ proto.DeleteUnitOfMeasureRequest.prototype.serializeBinary = function() {
1769
1776
  */
1770
1777
  proto.DeleteUnitOfMeasureRequest.serializeBinaryToWriter = function(message, writer) {
1771
1778
  var f = undefined;
1772
- f = message.getReferencesId();
1779
+ f = message.getReferenceIdsList();
1773
1780
  if (f.length > 0) {
1774
- writer.writeString(
1781
+ writer.writeRepeatedString(
1775
1782
  1,
1776
1783
  f
1777
1784
  );
@@ -1780,20 +1787,39 @@ proto.DeleteUnitOfMeasureRequest.serializeBinaryToWriter = function(message, wri
1780
1787
 
1781
1788
 
1782
1789
  /**
1783
- * optional string references_id = 1;
1784
- * @return {string}
1790
+ * repeated string reference_ids = 1;
1791
+ * @return {!Array<string>}
1785
1792
  */
1786
- proto.DeleteUnitOfMeasureRequest.prototype.getReferencesId = function() {
1787
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1793
+ proto.DeleteUnitOfMeasureRequest.prototype.getReferenceIdsList = function() {
1794
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1795
+ };
1796
+
1797
+
1798
+ /**
1799
+ * @param {!Array<string>} value
1800
+ * @return {!proto.DeleteUnitOfMeasureRequest} returns this
1801
+ */
1802
+ proto.DeleteUnitOfMeasureRequest.prototype.setReferenceIdsList = function(value) {
1803
+ return jspb.Message.setField(this, 1, value || []);
1788
1804
  };
1789
1805
 
1790
1806
 
1791
1807
  /**
1792
1808
  * @param {string} value
1809
+ * @param {number=} opt_index
1793
1810
  * @return {!proto.DeleteUnitOfMeasureRequest} returns this
1794
1811
  */
1795
- proto.DeleteUnitOfMeasureRequest.prototype.setReferencesId = function(value) {
1796
- return jspb.Message.setProto3StringField(this, 1, value);
1812
+ proto.DeleteUnitOfMeasureRequest.prototype.addReferenceIds = function(value, opt_index) {
1813
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1814
+ };
1815
+
1816
+
1817
+ /**
1818
+ * Clears the list making it empty but non-null.
1819
+ * @return {!proto.DeleteUnitOfMeasureRequest} returns this
1820
+ */
1821
+ proto.DeleteUnitOfMeasureRequest.prototype.clearReferenceIdsList = function() {
1822
+ return this.setReferenceIdsList([]);
1797
1823
  };
1798
1824
 
1799
1825
 
@@ -2615,6 +2641,13 @@ proto.GetUnitOfMeasureByIdResponse.prototype.hasMeta = function() {
2615
2641
 
2616
2642
 
2617
2643
 
2644
+ /**
2645
+ * List of repeated fields within this message type.
2646
+ * @private {!Array<number>}
2647
+ * @const
2648
+ */
2649
+ proto.DeleteUnitOfMeasureResponse.repeatedFields_ = [1];
2650
+
2618
2651
 
2619
2652
 
2620
2653
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2646,7 +2679,7 @@ proto.DeleteUnitOfMeasureResponse.prototype.toObject = function(opt_includeInsta
2646
2679
  */
2647
2680
  proto.DeleteUnitOfMeasureResponse.toObject = function(includeInstance, msg) {
2648
2681
  var f, obj = {
2649
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2682
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
2650
2683
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2651
2684
  };
2652
2685
 
@@ -2686,7 +2719,7 @@ proto.DeleteUnitOfMeasureResponse.deserializeBinaryFromReader = function(msg, re
2686
2719
  switch (field) {
2687
2720
  case 1:
2688
2721
  var value = /** @type {string} */ (reader.readString());
2689
- msg.setReferencesId(value);
2722
+ msg.addReferenceIds(value);
2690
2723
  break;
2691
2724
  case 2:
2692
2725
  var value = new prisca_v1_global_meta_meta_pb.Meta;
@@ -2722,9 +2755,9 @@ proto.DeleteUnitOfMeasureResponse.prototype.serializeBinary = function() {
2722
2755
  */
2723
2756
  proto.DeleteUnitOfMeasureResponse.serializeBinaryToWriter = function(message, writer) {
2724
2757
  var f = undefined;
2725
- f = message.getReferencesId();
2758
+ f = message.getReferenceIdsList();
2726
2759
  if (f.length > 0) {
2727
- writer.writeString(
2760
+ writer.writeRepeatedString(
2728
2761
  1,
2729
2762
  f
2730
2763
  );
@@ -2741,20 +2774,39 @@ proto.DeleteUnitOfMeasureResponse.serializeBinaryToWriter = function(message, wr
2741
2774
 
2742
2775
 
2743
2776
  /**
2744
- * optional string references_id = 1;
2745
- * @return {string}
2777
+ * repeated string reference_ids = 1;
2778
+ * @return {!Array<string>}
2746
2779
  */
2747
- proto.DeleteUnitOfMeasureResponse.prototype.getReferencesId = function() {
2748
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2780
+ proto.DeleteUnitOfMeasureResponse.prototype.getReferenceIdsList = function() {
2781
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2782
+ };
2783
+
2784
+
2785
+ /**
2786
+ * @param {!Array<string>} value
2787
+ * @return {!proto.DeleteUnitOfMeasureResponse} returns this
2788
+ */
2789
+ proto.DeleteUnitOfMeasureResponse.prototype.setReferenceIdsList = function(value) {
2790
+ return jspb.Message.setField(this, 1, value || []);
2749
2791
  };
2750
2792
 
2751
2793
 
2752
2794
  /**
2753
2795
  * @param {string} value
2796
+ * @param {number=} opt_index
2754
2797
  * @return {!proto.DeleteUnitOfMeasureResponse} returns this
2755
2798
  */
2756
- proto.DeleteUnitOfMeasureResponse.prototype.setReferencesId = function(value) {
2757
- return jspb.Message.setProto3StringField(this, 1, value);
2799
+ proto.DeleteUnitOfMeasureResponse.prototype.addReferenceIds = function(value, opt_index) {
2800
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2801
+ };
2802
+
2803
+
2804
+ /**
2805
+ * Clears the list making it empty but non-null.
2806
+ * @return {!proto.DeleteUnitOfMeasureResponse} returns this
2807
+ */
2808
+ proto.DeleteUnitOfMeasureResponse.prototype.clearReferenceIdsList = function() {
2809
+ return this.setReferenceIdsList([]);
2758
2810
  };
2759
2811
 
2760
2812
 
@@ -258,7 +258,7 @@ if (goog.DEBUG && !COMPILED) {
258
258
  * @constructor
259
259
  */
260
260
  proto.DeleteDocumentTypeRequest = function(opt_data) {
261
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
261
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteDocumentTypeRequest.repeatedFields_, null);
262
262
  };
263
263
  goog.inherits(proto.DeleteDocumentTypeRequest, jspb.Message);
264
264
  if (goog.DEBUG && !COMPILED) {
@@ -279,7 +279,7 @@ if (goog.DEBUG && !COMPILED) {
279
279
  * @constructor
280
280
  */
281
281
  proto.DeleteDocumentTypeResponse = function(opt_data) {
282
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
282
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteDocumentTypeResponse.repeatedFields_, null);
283
283
  };
284
284
  goog.inherits(proto.DeleteDocumentTypeResponse, jspb.Message);
285
285
  if (goog.DEBUG && !COMPILED) {
@@ -2433,6 +2433,13 @@ proto.GetListDocumentTypeResponse.prototype.hasMeta = function() {
2433
2433
 
2434
2434
 
2435
2435
 
2436
+ /**
2437
+ * List of repeated fields within this message type.
2438
+ * @private {!Array<number>}
2439
+ * @const
2440
+ */
2441
+ proto.DeleteDocumentTypeRequest.repeatedFields_ = [1];
2442
+
2436
2443
 
2437
2444
 
2438
2445
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2464,7 +2471,7 @@ proto.DeleteDocumentTypeRequest.prototype.toObject = function(opt_includeInstanc
2464
2471
  */
2465
2472
  proto.DeleteDocumentTypeRequest.toObject = function(includeInstance, msg) {
2466
2473
  var f, obj = {
2467
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
2474
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2468
2475
  };
2469
2476
 
2470
2477
  if (includeInstance) {
@@ -2503,7 +2510,7 @@ proto.DeleteDocumentTypeRequest.deserializeBinaryFromReader = function(msg, read
2503
2510
  switch (field) {
2504
2511
  case 1:
2505
2512
  var value = /** @type {string} */ (reader.readString());
2506
- msg.setReferencesId(value);
2513
+ msg.addReferenceIds(value);
2507
2514
  break;
2508
2515
  default:
2509
2516
  reader.skipField();
@@ -2534,9 +2541,9 @@ proto.DeleteDocumentTypeRequest.prototype.serializeBinary = function() {
2534
2541
  */
2535
2542
  proto.DeleteDocumentTypeRequest.serializeBinaryToWriter = function(message, writer) {
2536
2543
  var f = undefined;
2537
- f = message.getReferencesId();
2544
+ f = message.getReferenceIdsList();
2538
2545
  if (f.length > 0) {
2539
- writer.writeString(
2546
+ writer.writeRepeatedString(
2540
2547
  1,
2541
2548
  f
2542
2549
  );
@@ -2545,24 +2552,50 @@ proto.DeleteDocumentTypeRequest.serializeBinaryToWriter = function(message, writ
2545
2552
 
2546
2553
 
2547
2554
  /**
2548
- * optional string references_id = 1;
2549
- * @return {string}
2555
+ * repeated string reference_ids = 1;
2556
+ * @return {!Array<string>}
2550
2557
  */
2551
- proto.DeleteDocumentTypeRequest.prototype.getReferencesId = function() {
2552
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2558
+ proto.DeleteDocumentTypeRequest.prototype.getReferenceIdsList = function() {
2559
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2560
+ };
2561
+
2562
+
2563
+ /**
2564
+ * @param {!Array<string>} value
2565
+ * @return {!proto.DeleteDocumentTypeRequest} returns this
2566
+ */
2567
+ proto.DeleteDocumentTypeRequest.prototype.setReferenceIdsList = function(value) {
2568
+ return jspb.Message.setField(this, 1, value || []);
2553
2569
  };
2554
2570
 
2555
2571
 
2556
2572
  /**
2557
2573
  * @param {string} value
2574
+ * @param {number=} opt_index
2558
2575
  * @return {!proto.DeleteDocumentTypeRequest} returns this
2559
2576
  */
2560
- proto.DeleteDocumentTypeRequest.prototype.setReferencesId = function(value) {
2561
- return jspb.Message.setProto3StringField(this, 1, value);
2577
+ proto.DeleteDocumentTypeRequest.prototype.addReferenceIds = function(value, opt_index) {
2578
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2579
+ };
2580
+
2581
+
2582
+ /**
2583
+ * Clears the list making it empty but non-null.
2584
+ * @return {!proto.DeleteDocumentTypeRequest} returns this
2585
+ */
2586
+ proto.DeleteDocumentTypeRequest.prototype.clearReferenceIdsList = function() {
2587
+ return this.setReferenceIdsList([]);
2562
2588
  };
2563
2589
 
2564
2590
 
2565
2591
 
2592
+ /**
2593
+ * List of repeated fields within this message type.
2594
+ * @private {!Array<number>}
2595
+ * @const
2596
+ */
2597
+ proto.DeleteDocumentTypeResponse.repeatedFields_ = [1];
2598
+
2566
2599
 
2567
2600
 
2568
2601
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2594,7 +2627,7 @@ proto.DeleteDocumentTypeResponse.prototype.toObject = function(opt_includeInstan
2594
2627
  */
2595
2628
  proto.DeleteDocumentTypeResponse.toObject = function(includeInstance, msg) {
2596
2629
  var f, obj = {
2597
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2630
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
2598
2631
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2599
2632
  };
2600
2633
 
@@ -2634,7 +2667,7 @@ proto.DeleteDocumentTypeResponse.deserializeBinaryFromReader = function(msg, rea
2634
2667
  switch (field) {
2635
2668
  case 1:
2636
2669
  var value = /** @type {string} */ (reader.readString());
2637
- msg.setReferencesId(value);
2670
+ msg.addReferenceIds(value);
2638
2671
  break;
2639
2672
  case 2:
2640
2673
  var value = new prisca_v1_global_meta_meta_pb.Meta;
@@ -2670,9 +2703,9 @@ proto.DeleteDocumentTypeResponse.prototype.serializeBinary = function() {
2670
2703
  */
2671
2704
  proto.DeleteDocumentTypeResponse.serializeBinaryToWriter = function(message, writer) {
2672
2705
  var f = undefined;
2673
- f = message.getReferencesId();
2706
+ f = message.getReferenceIdsList();
2674
2707
  if (f.length > 0) {
2675
- writer.writeString(
2708
+ writer.writeRepeatedString(
2676
2709
  1,
2677
2710
  f
2678
2711
  );
@@ -2689,20 +2722,39 @@ proto.DeleteDocumentTypeResponse.serializeBinaryToWriter = function(message, wri
2689
2722
 
2690
2723
 
2691
2724
  /**
2692
- * optional string references_id = 1;
2693
- * @return {string}
2725
+ * repeated string reference_ids = 1;
2726
+ * @return {!Array<string>}
2694
2727
  */
2695
- proto.DeleteDocumentTypeResponse.prototype.getReferencesId = function() {
2696
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2728
+ proto.DeleteDocumentTypeResponse.prototype.getReferenceIdsList = function() {
2729
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2730
+ };
2731
+
2732
+
2733
+ /**
2734
+ * @param {!Array<string>} value
2735
+ * @return {!proto.DeleteDocumentTypeResponse} returns this
2736
+ */
2737
+ proto.DeleteDocumentTypeResponse.prototype.setReferenceIdsList = function(value) {
2738
+ return jspb.Message.setField(this, 1, value || []);
2697
2739
  };
2698
2740
 
2699
2741
 
2700
2742
  /**
2701
2743
  * @param {string} value
2744
+ * @param {number=} opt_index
2702
2745
  * @return {!proto.DeleteDocumentTypeResponse} returns this
2703
2746
  */
2704
- proto.DeleteDocumentTypeResponse.prototype.setReferencesId = function(value) {
2705
- return jspb.Message.setProto3StringField(this, 1, value);
2747
+ proto.DeleteDocumentTypeResponse.prototype.addReferenceIds = function(value, opt_index) {
2748
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2749
+ };
2750
+
2751
+
2752
+ /**
2753
+ * Clears the list making it empty but non-null.
2754
+ * @return {!proto.DeleteDocumentTypeResponse} returns this
2755
+ */
2756
+ proto.DeleteDocumentTypeResponse.prototype.clearReferenceIdsList = function() {
2757
+ return this.setReferenceIdsList([]);
2706
2758
  };
2707
2759
 
2708
2760