protobuf-platform 1.2.391 → 1.2.392
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/config.proto +47 -0
- package/config/config_grpc_pb.js +66 -0
- package/config/config_pb.js +2295 -344
- package/package.json +1 -1
package/config/config_pb.js
CHANGED
|
@@ -33,8 +33,11 @@ goog.exportSymbol('proto.config.CountryItem', null, global);
|
|
|
33
33
|
goog.exportSymbol('proto.config.CurrenciesRatesRequest', null, global);
|
|
34
34
|
goog.exportSymbol('proto.config.CurrenciesRatesResponse', null, global);
|
|
35
35
|
goog.exportSymbol('proto.config.CurrencyRateItem', null, global);
|
|
36
|
+
goog.exportSymbol('proto.config.CurrencyRateItemResponse', null, global);
|
|
36
37
|
goog.exportSymbol('proto.config.CurrencyRateRequest', null, global);
|
|
37
38
|
goog.exportSymbol('proto.config.CurrencyRateResponse', null, global);
|
|
39
|
+
goog.exportSymbol('proto.config.CurrencyRatesMapRequest', null, global);
|
|
40
|
+
goog.exportSymbol('proto.config.CurrencyRatesMapResponse', null, global);
|
|
38
41
|
goog.exportSymbol('proto.config.ErrorRequest', null, global);
|
|
39
42
|
goog.exportSymbol('proto.config.ErrorStatusResponse', null, global);
|
|
40
43
|
goog.exportSymbol('proto.config.GeneratedTextResponse', null, global);
|
|
@@ -61,6 +64,7 @@ goog.exportSymbol('proto.config.R2FileListResponse', null, global);
|
|
|
61
64
|
goog.exportSymbol('proto.config.R2FileRequest', null, global);
|
|
62
65
|
goog.exportSymbol('proto.config.R2FileResponse', null, global);
|
|
63
66
|
goog.exportSymbol('proto.config.RefreshCurrenciesRatesRequest', null, global);
|
|
67
|
+
goog.exportSymbol('proto.config.SetManualCurrencyRateRequest', null, global);
|
|
64
68
|
goog.exportSymbol('proto.config.SettingsRequest', null, global);
|
|
65
69
|
goog.exportSymbol('proto.config.SettingsResponse', null, global);
|
|
66
70
|
goog.exportSymbol('proto.config.VerifyPrivateR2ObjectRequest', null, global);
|
|
@@ -489,6 +493,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
489
493
|
*/
|
|
490
494
|
proto.config.CurrenciesRatesResponse.displayName = 'proto.config.CurrenciesRatesResponse';
|
|
491
495
|
}
|
|
496
|
+
/**
|
|
497
|
+
* Generated by JsPbCodeGenerator.
|
|
498
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
499
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
500
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
501
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
502
|
+
* valid.
|
|
503
|
+
* @extends {jspb.Message}
|
|
504
|
+
* @constructor
|
|
505
|
+
*/
|
|
506
|
+
proto.config.CurrencyRatesMapRequest = function(opt_data) {
|
|
507
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.config.CurrencyRatesMapRequest.repeatedFields_, null);
|
|
508
|
+
};
|
|
509
|
+
goog.inherits(proto.config.CurrencyRatesMapRequest, jspb.Message);
|
|
510
|
+
if (goog.DEBUG && !COMPILED) {
|
|
511
|
+
/**
|
|
512
|
+
* @public
|
|
513
|
+
* @override
|
|
514
|
+
*/
|
|
515
|
+
proto.config.CurrencyRatesMapRequest.displayName = 'proto.config.CurrencyRatesMapRequest';
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* Generated by JsPbCodeGenerator.
|
|
519
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
520
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
521
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
522
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
523
|
+
* valid.
|
|
524
|
+
* @extends {jspb.Message}
|
|
525
|
+
* @constructor
|
|
526
|
+
*/
|
|
527
|
+
proto.config.CurrencyRatesMapResponse = function(opt_data) {
|
|
528
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.config.CurrencyRatesMapResponse.repeatedFields_, null);
|
|
529
|
+
};
|
|
530
|
+
goog.inherits(proto.config.CurrencyRatesMapResponse, jspb.Message);
|
|
531
|
+
if (goog.DEBUG && !COMPILED) {
|
|
532
|
+
/**
|
|
533
|
+
* @public
|
|
534
|
+
* @override
|
|
535
|
+
*/
|
|
536
|
+
proto.config.CurrencyRatesMapResponse.displayName = 'proto.config.CurrencyRatesMapResponse';
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* Generated by JsPbCodeGenerator.
|
|
540
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
541
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
542
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
543
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
544
|
+
* valid.
|
|
545
|
+
* @extends {jspb.Message}
|
|
546
|
+
* @constructor
|
|
547
|
+
*/
|
|
548
|
+
proto.config.SetManualCurrencyRateRequest = function(opt_data) {
|
|
549
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
550
|
+
};
|
|
551
|
+
goog.inherits(proto.config.SetManualCurrencyRateRequest, jspb.Message);
|
|
552
|
+
if (goog.DEBUG && !COMPILED) {
|
|
553
|
+
/**
|
|
554
|
+
* @public
|
|
555
|
+
* @override
|
|
556
|
+
*/
|
|
557
|
+
proto.config.SetManualCurrencyRateRequest.displayName = 'proto.config.SetManualCurrencyRateRequest';
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Generated by JsPbCodeGenerator.
|
|
561
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
562
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
563
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
564
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
565
|
+
* valid.
|
|
566
|
+
* @extends {jspb.Message}
|
|
567
|
+
* @constructor
|
|
568
|
+
*/
|
|
569
|
+
proto.config.CurrencyRateItemResponse = function(opt_data) {
|
|
570
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
571
|
+
};
|
|
572
|
+
goog.inherits(proto.config.CurrencyRateItemResponse, jspb.Message);
|
|
573
|
+
if (goog.DEBUG && !COMPILED) {
|
|
574
|
+
/**
|
|
575
|
+
* @public
|
|
576
|
+
* @override
|
|
577
|
+
*/
|
|
578
|
+
proto.config.CurrencyRateItemResponse.displayName = 'proto.config.CurrencyRateItemResponse';
|
|
579
|
+
}
|
|
492
580
|
/**
|
|
493
581
|
* Generated by JsPbCodeGenerator.
|
|
494
582
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4429,7 +4517,18 @@ proto.config.CurrencyRateResponse.prototype.toObject = function(opt_includeInsta
|
|
|
4429
4517
|
*/
|
|
4430
4518
|
proto.config.CurrencyRateResponse.toObject = function(includeInstance, msg) {
|
|
4431
4519
|
var f, obj = {
|
|
4432
|
-
rate: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0)
|
|
4520
|
+
rate: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
4521
|
+
currencyFrom: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4522
|
+
currencyTo: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4523
|
+
baseCurrency: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4524
|
+
source: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4525
|
+
provider: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4526
|
+
fetchedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4527
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4528
|
+
validUntil: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4529
|
+
isManual: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
4530
|
+
status: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4531
|
+
errorCode: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
4433
4532
|
};
|
|
4434
4533
|
|
|
4435
4534
|
if (includeInstance) {
|
|
@@ -4470,6 +4569,50 @@ proto.config.CurrencyRateResponse.deserializeBinaryFromReader = function(msg, re
|
|
|
4470
4569
|
var value = /** @type {number} */ (reader.readFloat());
|
|
4471
4570
|
msg.setRate(value);
|
|
4472
4571
|
break;
|
|
4572
|
+
case 2:
|
|
4573
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4574
|
+
msg.setCurrencyFrom(value);
|
|
4575
|
+
break;
|
|
4576
|
+
case 3:
|
|
4577
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4578
|
+
msg.setCurrencyTo(value);
|
|
4579
|
+
break;
|
|
4580
|
+
case 4:
|
|
4581
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4582
|
+
msg.setBaseCurrency(value);
|
|
4583
|
+
break;
|
|
4584
|
+
case 5:
|
|
4585
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4586
|
+
msg.setSource(value);
|
|
4587
|
+
break;
|
|
4588
|
+
case 6:
|
|
4589
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4590
|
+
msg.setProvider(value);
|
|
4591
|
+
break;
|
|
4592
|
+
case 7:
|
|
4593
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4594
|
+
msg.setFetchedAt(value);
|
|
4595
|
+
break;
|
|
4596
|
+
case 8:
|
|
4597
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4598
|
+
msg.setUpdatedAt(value);
|
|
4599
|
+
break;
|
|
4600
|
+
case 9:
|
|
4601
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4602
|
+
msg.setValidUntil(value);
|
|
4603
|
+
break;
|
|
4604
|
+
case 10:
|
|
4605
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4606
|
+
msg.setIsManual(value);
|
|
4607
|
+
break;
|
|
4608
|
+
case 11:
|
|
4609
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4610
|
+
msg.setStatus(value);
|
|
4611
|
+
break;
|
|
4612
|
+
case 12:
|
|
4613
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4614
|
+
msg.setErrorCode(value);
|
|
4615
|
+
break;
|
|
4473
4616
|
default:
|
|
4474
4617
|
reader.skipField();
|
|
4475
4618
|
break;
|
|
@@ -4506,6 +4649,83 @@ proto.config.CurrencyRateResponse.serializeBinaryToWriter = function(message, wr
|
|
|
4506
4649
|
f
|
|
4507
4650
|
);
|
|
4508
4651
|
}
|
|
4652
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
4653
|
+
if (f != null) {
|
|
4654
|
+
writer.writeString(
|
|
4655
|
+
2,
|
|
4656
|
+
f
|
|
4657
|
+
);
|
|
4658
|
+
}
|
|
4659
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
4660
|
+
if (f != null) {
|
|
4661
|
+
writer.writeString(
|
|
4662
|
+
3,
|
|
4663
|
+
f
|
|
4664
|
+
);
|
|
4665
|
+
}
|
|
4666
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
4667
|
+
if (f != null) {
|
|
4668
|
+
writer.writeString(
|
|
4669
|
+
4,
|
|
4670
|
+
f
|
|
4671
|
+
);
|
|
4672
|
+
}
|
|
4673
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
4674
|
+
if (f != null) {
|
|
4675
|
+
writer.writeString(
|
|
4676
|
+
5,
|
|
4677
|
+
f
|
|
4678
|
+
);
|
|
4679
|
+
}
|
|
4680
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
4681
|
+
if (f != null) {
|
|
4682
|
+
writer.writeString(
|
|
4683
|
+
6,
|
|
4684
|
+
f
|
|
4685
|
+
);
|
|
4686
|
+
}
|
|
4687
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
4688
|
+
if (f != null) {
|
|
4689
|
+
writer.writeString(
|
|
4690
|
+
7,
|
|
4691
|
+
f
|
|
4692
|
+
);
|
|
4693
|
+
}
|
|
4694
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
4695
|
+
if (f != null) {
|
|
4696
|
+
writer.writeString(
|
|
4697
|
+
8,
|
|
4698
|
+
f
|
|
4699
|
+
);
|
|
4700
|
+
}
|
|
4701
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
4702
|
+
if (f != null) {
|
|
4703
|
+
writer.writeString(
|
|
4704
|
+
9,
|
|
4705
|
+
f
|
|
4706
|
+
);
|
|
4707
|
+
}
|
|
4708
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
|
|
4709
|
+
if (f != null) {
|
|
4710
|
+
writer.writeBool(
|
|
4711
|
+
10,
|
|
4712
|
+
f
|
|
4713
|
+
);
|
|
4714
|
+
}
|
|
4715
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
4716
|
+
if (f != null) {
|
|
4717
|
+
writer.writeString(
|
|
4718
|
+
11,
|
|
4719
|
+
f
|
|
4720
|
+
);
|
|
4721
|
+
}
|
|
4722
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
4723
|
+
if (f != null) {
|
|
4724
|
+
writer.writeString(
|
|
4725
|
+
12,
|
|
4726
|
+
f
|
|
4727
|
+
);
|
|
4728
|
+
}
|
|
4509
4729
|
};
|
|
4510
4730
|
|
|
4511
4731
|
|
|
@@ -4527,82 +4747,1771 @@ proto.config.CurrencyRateResponse.prototype.setRate = function(value) {
|
|
|
4527
4747
|
};
|
|
4528
4748
|
|
|
4529
4749
|
|
|
4530
|
-
|
|
4531
4750
|
/**
|
|
4532
|
-
*
|
|
4533
|
-
* @
|
|
4534
|
-
* @const
|
|
4751
|
+
* optional string currency_from = 2;
|
|
4752
|
+
* @return {string}
|
|
4535
4753
|
*/
|
|
4536
|
-
proto.config.
|
|
4537
|
-
|
|
4754
|
+
proto.config.CurrencyRateResponse.prototype.getCurrencyFrom = function() {
|
|
4755
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4756
|
+
};
|
|
4538
4757
|
|
|
4539
4758
|
|
|
4540
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4541
4759
|
/**
|
|
4542
|
-
*
|
|
4543
|
-
*
|
|
4544
|
-
* Optional fields that are not set will be set to undefined.
|
|
4545
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4546
|
-
* For the list of reserved names please see:
|
|
4547
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4548
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4549
|
-
* JSPB instance for transitional soy proto support:
|
|
4550
|
-
* http://goto/soy-param-migration
|
|
4551
|
-
* @return {!Object}
|
|
4760
|
+
* @param {string} value
|
|
4761
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4552
4762
|
*/
|
|
4553
|
-
proto.config.
|
|
4554
|
-
return
|
|
4763
|
+
proto.config.CurrencyRateResponse.prototype.setCurrencyFrom = function(value) {
|
|
4764
|
+
return jspb.Message.setField(this, 2, value);
|
|
4555
4765
|
};
|
|
4556
4766
|
|
|
4557
4767
|
|
|
4558
4768
|
/**
|
|
4559
|
-
*
|
|
4560
|
-
* @
|
|
4561
|
-
* the JSPB instance for transitional soy proto support:
|
|
4562
|
-
* http://goto/soy-param-migration
|
|
4563
|
-
* @param {!proto.config.CurrenciesRatesRequest} msg The msg instance to transform.
|
|
4564
|
-
* @return {!Object}
|
|
4565
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4769
|
+
* Clears the field making it undefined.
|
|
4770
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4566
4771
|
*/
|
|
4567
|
-
proto.config.
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4571
|
-
currencyFromList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
4572
|
-
currencyTo: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4573
|
-
};
|
|
4772
|
+
proto.config.CurrencyRateResponse.prototype.clearCurrencyFrom = function() {
|
|
4773
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
4774
|
+
};
|
|
4574
4775
|
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4776
|
+
|
|
4777
|
+
/**
|
|
4778
|
+
* Returns whether this field is set.
|
|
4779
|
+
* @return {boolean}
|
|
4780
|
+
*/
|
|
4781
|
+
proto.config.CurrencyRateResponse.prototype.hasCurrencyFrom = function() {
|
|
4782
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4579
4783
|
};
|
|
4580
|
-
}
|
|
4581
4784
|
|
|
4582
4785
|
|
|
4583
4786
|
/**
|
|
4584
|
-
*
|
|
4585
|
-
* @
|
|
4586
|
-
* @return {!proto.config.CurrenciesRatesRequest}
|
|
4787
|
+
* optional string currency_to = 3;
|
|
4788
|
+
* @return {string}
|
|
4587
4789
|
*/
|
|
4588
|
-
proto.config.
|
|
4589
|
-
|
|
4590
|
-
var msg = new proto.config.CurrenciesRatesRequest;
|
|
4591
|
-
return proto.config.CurrenciesRatesRequest.deserializeBinaryFromReader(msg, reader);
|
|
4790
|
+
proto.config.CurrencyRateResponse.prototype.getCurrencyTo = function() {
|
|
4791
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4592
4792
|
};
|
|
4593
4793
|
|
|
4594
4794
|
|
|
4595
4795
|
/**
|
|
4596
|
-
*
|
|
4597
|
-
*
|
|
4598
|
-
* @param {!proto.config.CurrenciesRatesRequest} msg The message object to deserialize into.
|
|
4599
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4600
|
-
* @return {!proto.config.CurrenciesRatesRequest}
|
|
4796
|
+
* @param {string} value
|
|
4797
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4601
4798
|
*/
|
|
4602
|
-
proto.config.
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4799
|
+
proto.config.CurrencyRateResponse.prototype.setCurrencyTo = function(value) {
|
|
4800
|
+
return jspb.Message.setField(this, 3, value);
|
|
4801
|
+
};
|
|
4802
|
+
|
|
4803
|
+
|
|
4804
|
+
/**
|
|
4805
|
+
* Clears the field making it undefined.
|
|
4806
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4807
|
+
*/
|
|
4808
|
+
proto.config.CurrencyRateResponse.prototype.clearCurrencyTo = function() {
|
|
4809
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
4810
|
+
};
|
|
4811
|
+
|
|
4812
|
+
|
|
4813
|
+
/**
|
|
4814
|
+
* Returns whether this field is set.
|
|
4815
|
+
* @return {boolean}
|
|
4816
|
+
*/
|
|
4817
|
+
proto.config.CurrencyRateResponse.prototype.hasCurrencyTo = function() {
|
|
4818
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4819
|
+
};
|
|
4820
|
+
|
|
4821
|
+
|
|
4822
|
+
/**
|
|
4823
|
+
* optional string base_currency = 4;
|
|
4824
|
+
* @return {string}
|
|
4825
|
+
*/
|
|
4826
|
+
proto.config.CurrencyRateResponse.prototype.getBaseCurrency = function() {
|
|
4827
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4828
|
+
};
|
|
4829
|
+
|
|
4830
|
+
|
|
4831
|
+
/**
|
|
4832
|
+
* @param {string} value
|
|
4833
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4834
|
+
*/
|
|
4835
|
+
proto.config.CurrencyRateResponse.prototype.setBaseCurrency = function(value) {
|
|
4836
|
+
return jspb.Message.setField(this, 4, value);
|
|
4837
|
+
};
|
|
4838
|
+
|
|
4839
|
+
|
|
4840
|
+
/**
|
|
4841
|
+
* Clears the field making it undefined.
|
|
4842
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4843
|
+
*/
|
|
4844
|
+
proto.config.CurrencyRateResponse.prototype.clearBaseCurrency = function() {
|
|
4845
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
4846
|
+
};
|
|
4847
|
+
|
|
4848
|
+
|
|
4849
|
+
/**
|
|
4850
|
+
* Returns whether this field is set.
|
|
4851
|
+
* @return {boolean}
|
|
4852
|
+
*/
|
|
4853
|
+
proto.config.CurrencyRateResponse.prototype.hasBaseCurrency = function() {
|
|
4854
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4855
|
+
};
|
|
4856
|
+
|
|
4857
|
+
|
|
4858
|
+
/**
|
|
4859
|
+
* optional string source = 5;
|
|
4860
|
+
* @return {string}
|
|
4861
|
+
*/
|
|
4862
|
+
proto.config.CurrencyRateResponse.prototype.getSource = function() {
|
|
4863
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4864
|
+
};
|
|
4865
|
+
|
|
4866
|
+
|
|
4867
|
+
/**
|
|
4868
|
+
* @param {string} value
|
|
4869
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4870
|
+
*/
|
|
4871
|
+
proto.config.CurrencyRateResponse.prototype.setSource = function(value) {
|
|
4872
|
+
return jspb.Message.setField(this, 5, value);
|
|
4873
|
+
};
|
|
4874
|
+
|
|
4875
|
+
|
|
4876
|
+
/**
|
|
4877
|
+
* Clears the field making it undefined.
|
|
4878
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4879
|
+
*/
|
|
4880
|
+
proto.config.CurrencyRateResponse.prototype.clearSource = function() {
|
|
4881
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
4882
|
+
};
|
|
4883
|
+
|
|
4884
|
+
|
|
4885
|
+
/**
|
|
4886
|
+
* Returns whether this field is set.
|
|
4887
|
+
* @return {boolean}
|
|
4888
|
+
*/
|
|
4889
|
+
proto.config.CurrencyRateResponse.prototype.hasSource = function() {
|
|
4890
|
+
return jspb.Message.getField(this, 5) != null;
|
|
4891
|
+
};
|
|
4892
|
+
|
|
4893
|
+
|
|
4894
|
+
/**
|
|
4895
|
+
* optional string provider = 6;
|
|
4896
|
+
* @return {string}
|
|
4897
|
+
*/
|
|
4898
|
+
proto.config.CurrencyRateResponse.prototype.getProvider = function() {
|
|
4899
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4900
|
+
};
|
|
4901
|
+
|
|
4902
|
+
|
|
4903
|
+
/**
|
|
4904
|
+
* @param {string} value
|
|
4905
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4906
|
+
*/
|
|
4907
|
+
proto.config.CurrencyRateResponse.prototype.setProvider = function(value) {
|
|
4908
|
+
return jspb.Message.setField(this, 6, value);
|
|
4909
|
+
};
|
|
4910
|
+
|
|
4911
|
+
|
|
4912
|
+
/**
|
|
4913
|
+
* Clears the field making it undefined.
|
|
4914
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4915
|
+
*/
|
|
4916
|
+
proto.config.CurrencyRateResponse.prototype.clearProvider = function() {
|
|
4917
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
4918
|
+
};
|
|
4919
|
+
|
|
4920
|
+
|
|
4921
|
+
/**
|
|
4922
|
+
* Returns whether this field is set.
|
|
4923
|
+
* @return {boolean}
|
|
4924
|
+
*/
|
|
4925
|
+
proto.config.CurrencyRateResponse.prototype.hasProvider = function() {
|
|
4926
|
+
return jspb.Message.getField(this, 6) != null;
|
|
4927
|
+
};
|
|
4928
|
+
|
|
4929
|
+
|
|
4930
|
+
/**
|
|
4931
|
+
* optional string fetched_at = 7;
|
|
4932
|
+
* @return {string}
|
|
4933
|
+
*/
|
|
4934
|
+
proto.config.CurrencyRateResponse.prototype.getFetchedAt = function() {
|
|
4935
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4936
|
+
};
|
|
4937
|
+
|
|
4938
|
+
|
|
4939
|
+
/**
|
|
4940
|
+
* @param {string} value
|
|
4941
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4942
|
+
*/
|
|
4943
|
+
proto.config.CurrencyRateResponse.prototype.setFetchedAt = function(value) {
|
|
4944
|
+
return jspb.Message.setField(this, 7, value);
|
|
4945
|
+
};
|
|
4946
|
+
|
|
4947
|
+
|
|
4948
|
+
/**
|
|
4949
|
+
* Clears the field making it undefined.
|
|
4950
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4951
|
+
*/
|
|
4952
|
+
proto.config.CurrencyRateResponse.prototype.clearFetchedAt = function() {
|
|
4953
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
4954
|
+
};
|
|
4955
|
+
|
|
4956
|
+
|
|
4957
|
+
/**
|
|
4958
|
+
* Returns whether this field is set.
|
|
4959
|
+
* @return {boolean}
|
|
4960
|
+
*/
|
|
4961
|
+
proto.config.CurrencyRateResponse.prototype.hasFetchedAt = function() {
|
|
4962
|
+
return jspb.Message.getField(this, 7) != null;
|
|
4963
|
+
};
|
|
4964
|
+
|
|
4965
|
+
|
|
4966
|
+
/**
|
|
4967
|
+
* optional string updated_at = 8;
|
|
4968
|
+
* @return {string}
|
|
4969
|
+
*/
|
|
4970
|
+
proto.config.CurrencyRateResponse.prototype.getUpdatedAt = function() {
|
|
4971
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4972
|
+
};
|
|
4973
|
+
|
|
4974
|
+
|
|
4975
|
+
/**
|
|
4976
|
+
* @param {string} value
|
|
4977
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4978
|
+
*/
|
|
4979
|
+
proto.config.CurrencyRateResponse.prototype.setUpdatedAt = function(value) {
|
|
4980
|
+
return jspb.Message.setField(this, 8, value);
|
|
4981
|
+
};
|
|
4982
|
+
|
|
4983
|
+
|
|
4984
|
+
/**
|
|
4985
|
+
* Clears the field making it undefined.
|
|
4986
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
4987
|
+
*/
|
|
4988
|
+
proto.config.CurrencyRateResponse.prototype.clearUpdatedAt = function() {
|
|
4989
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
4990
|
+
};
|
|
4991
|
+
|
|
4992
|
+
|
|
4993
|
+
/**
|
|
4994
|
+
* Returns whether this field is set.
|
|
4995
|
+
* @return {boolean}
|
|
4996
|
+
*/
|
|
4997
|
+
proto.config.CurrencyRateResponse.prototype.hasUpdatedAt = function() {
|
|
4998
|
+
return jspb.Message.getField(this, 8) != null;
|
|
4999
|
+
};
|
|
5000
|
+
|
|
5001
|
+
|
|
5002
|
+
/**
|
|
5003
|
+
* optional string valid_until = 9;
|
|
5004
|
+
* @return {string}
|
|
5005
|
+
*/
|
|
5006
|
+
proto.config.CurrencyRateResponse.prototype.getValidUntil = function() {
|
|
5007
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5008
|
+
};
|
|
5009
|
+
|
|
5010
|
+
|
|
5011
|
+
/**
|
|
5012
|
+
* @param {string} value
|
|
5013
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
5014
|
+
*/
|
|
5015
|
+
proto.config.CurrencyRateResponse.prototype.setValidUntil = function(value) {
|
|
5016
|
+
return jspb.Message.setField(this, 9, value);
|
|
5017
|
+
};
|
|
5018
|
+
|
|
5019
|
+
|
|
5020
|
+
/**
|
|
5021
|
+
* Clears the field making it undefined.
|
|
5022
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
5023
|
+
*/
|
|
5024
|
+
proto.config.CurrencyRateResponse.prototype.clearValidUntil = function() {
|
|
5025
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
5026
|
+
};
|
|
5027
|
+
|
|
5028
|
+
|
|
5029
|
+
/**
|
|
5030
|
+
* Returns whether this field is set.
|
|
5031
|
+
* @return {boolean}
|
|
5032
|
+
*/
|
|
5033
|
+
proto.config.CurrencyRateResponse.prototype.hasValidUntil = function() {
|
|
5034
|
+
return jspb.Message.getField(this, 9) != null;
|
|
5035
|
+
};
|
|
5036
|
+
|
|
5037
|
+
|
|
5038
|
+
/**
|
|
5039
|
+
* optional bool is_manual = 10;
|
|
5040
|
+
* @return {boolean}
|
|
5041
|
+
*/
|
|
5042
|
+
proto.config.CurrencyRateResponse.prototype.getIsManual = function() {
|
|
5043
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
5044
|
+
};
|
|
5045
|
+
|
|
5046
|
+
|
|
5047
|
+
/**
|
|
5048
|
+
* @param {boolean} value
|
|
5049
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
5050
|
+
*/
|
|
5051
|
+
proto.config.CurrencyRateResponse.prototype.setIsManual = function(value) {
|
|
5052
|
+
return jspb.Message.setField(this, 10, value);
|
|
5053
|
+
};
|
|
5054
|
+
|
|
5055
|
+
|
|
5056
|
+
/**
|
|
5057
|
+
* Clears the field making it undefined.
|
|
5058
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
5059
|
+
*/
|
|
5060
|
+
proto.config.CurrencyRateResponse.prototype.clearIsManual = function() {
|
|
5061
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
5062
|
+
};
|
|
5063
|
+
|
|
5064
|
+
|
|
5065
|
+
/**
|
|
5066
|
+
* Returns whether this field is set.
|
|
5067
|
+
* @return {boolean}
|
|
5068
|
+
*/
|
|
5069
|
+
proto.config.CurrencyRateResponse.prototype.hasIsManual = function() {
|
|
5070
|
+
return jspb.Message.getField(this, 10) != null;
|
|
5071
|
+
};
|
|
5072
|
+
|
|
5073
|
+
|
|
5074
|
+
/**
|
|
5075
|
+
* optional string status = 11;
|
|
5076
|
+
* @return {string}
|
|
5077
|
+
*/
|
|
5078
|
+
proto.config.CurrencyRateResponse.prototype.getStatus = function() {
|
|
5079
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5080
|
+
};
|
|
5081
|
+
|
|
5082
|
+
|
|
5083
|
+
/**
|
|
5084
|
+
* @param {string} value
|
|
5085
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
5086
|
+
*/
|
|
5087
|
+
proto.config.CurrencyRateResponse.prototype.setStatus = function(value) {
|
|
5088
|
+
return jspb.Message.setField(this, 11, value);
|
|
5089
|
+
};
|
|
5090
|
+
|
|
5091
|
+
|
|
5092
|
+
/**
|
|
5093
|
+
* Clears the field making it undefined.
|
|
5094
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
5095
|
+
*/
|
|
5096
|
+
proto.config.CurrencyRateResponse.prototype.clearStatus = function() {
|
|
5097
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
5098
|
+
};
|
|
5099
|
+
|
|
5100
|
+
|
|
5101
|
+
/**
|
|
5102
|
+
* Returns whether this field is set.
|
|
5103
|
+
* @return {boolean}
|
|
5104
|
+
*/
|
|
5105
|
+
proto.config.CurrencyRateResponse.prototype.hasStatus = function() {
|
|
5106
|
+
return jspb.Message.getField(this, 11) != null;
|
|
5107
|
+
};
|
|
5108
|
+
|
|
5109
|
+
|
|
5110
|
+
/**
|
|
5111
|
+
* optional string error_code = 12;
|
|
5112
|
+
* @return {string}
|
|
5113
|
+
*/
|
|
5114
|
+
proto.config.CurrencyRateResponse.prototype.getErrorCode = function() {
|
|
5115
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
5116
|
+
};
|
|
5117
|
+
|
|
5118
|
+
|
|
5119
|
+
/**
|
|
5120
|
+
* @param {string} value
|
|
5121
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
5122
|
+
*/
|
|
5123
|
+
proto.config.CurrencyRateResponse.prototype.setErrorCode = function(value) {
|
|
5124
|
+
return jspb.Message.setField(this, 12, value);
|
|
5125
|
+
};
|
|
5126
|
+
|
|
5127
|
+
|
|
5128
|
+
/**
|
|
5129
|
+
* Clears the field making it undefined.
|
|
5130
|
+
* @return {!proto.config.CurrencyRateResponse} returns this
|
|
5131
|
+
*/
|
|
5132
|
+
proto.config.CurrencyRateResponse.prototype.clearErrorCode = function() {
|
|
5133
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
5134
|
+
};
|
|
5135
|
+
|
|
5136
|
+
|
|
5137
|
+
/**
|
|
5138
|
+
* Returns whether this field is set.
|
|
5139
|
+
* @return {boolean}
|
|
5140
|
+
*/
|
|
5141
|
+
proto.config.CurrencyRateResponse.prototype.hasErrorCode = function() {
|
|
5142
|
+
return jspb.Message.getField(this, 12) != null;
|
|
5143
|
+
};
|
|
5144
|
+
|
|
5145
|
+
|
|
5146
|
+
|
|
5147
|
+
/**
|
|
5148
|
+
* List of repeated fields within this message type.
|
|
5149
|
+
* @private {!Array<number>}
|
|
5150
|
+
* @const
|
|
5151
|
+
*/
|
|
5152
|
+
proto.config.CurrenciesRatesRequest.repeatedFields_ = [3];
|
|
5153
|
+
|
|
5154
|
+
|
|
5155
|
+
|
|
5156
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5157
|
+
/**
|
|
5158
|
+
* Creates an object representation of this proto.
|
|
5159
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5160
|
+
* Optional fields that are not set will be set to undefined.
|
|
5161
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5162
|
+
* For the list of reserved names please see:
|
|
5163
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5164
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5165
|
+
* JSPB instance for transitional soy proto support:
|
|
5166
|
+
* http://goto/soy-param-migration
|
|
5167
|
+
* @return {!Object}
|
|
5168
|
+
*/
|
|
5169
|
+
proto.config.CurrenciesRatesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5170
|
+
return proto.config.CurrenciesRatesRequest.toObject(opt_includeInstance, this);
|
|
5171
|
+
};
|
|
5172
|
+
|
|
5173
|
+
|
|
5174
|
+
/**
|
|
5175
|
+
* Static version of the {@see toObject} method.
|
|
5176
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5177
|
+
* the JSPB instance for transitional soy proto support:
|
|
5178
|
+
* http://goto/soy-param-migration
|
|
5179
|
+
* @param {!proto.config.CurrenciesRatesRequest} msg The msg instance to transform.
|
|
5180
|
+
* @return {!Object}
|
|
5181
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5182
|
+
*/
|
|
5183
|
+
proto.config.CurrenciesRatesRequest.toObject = function(includeInstance, msg) {
|
|
5184
|
+
var f, obj = {
|
|
5185
|
+
environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5186
|
+
customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5187
|
+
currencyFromList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
5188
|
+
currencyTo: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
5189
|
+
};
|
|
5190
|
+
|
|
5191
|
+
if (includeInstance) {
|
|
5192
|
+
obj.$jspbMessageInstance = msg;
|
|
5193
|
+
}
|
|
5194
|
+
return obj;
|
|
5195
|
+
};
|
|
5196
|
+
}
|
|
5197
|
+
|
|
5198
|
+
|
|
5199
|
+
/**
|
|
5200
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5201
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5202
|
+
* @return {!proto.config.CurrenciesRatesRequest}
|
|
5203
|
+
*/
|
|
5204
|
+
proto.config.CurrenciesRatesRequest.deserializeBinary = function(bytes) {
|
|
5205
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5206
|
+
var msg = new proto.config.CurrenciesRatesRequest;
|
|
5207
|
+
return proto.config.CurrenciesRatesRequest.deserializeBinaryFromReader(msg, reader);
|
|
5208
|
+
};
|
|
5209
|
+
|
|
5210
|
+
|
|
5211
|
+
/**
|
|
5212
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5213
|
+
* given reader into the given message object.
|
|
5214
|
+
* @param {!proto.config.CurrenciesRatesRequest} msg The message object to deserialize into.
|
|
5215
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5216
|
+
* @return {!proto.config.CurrenciesRatesRequest}
|
|
5217
|
+
*/
|
|
5218
|
+
proto.config.CurrenciesRatesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5219
|
+
while (reader.nextField()) {
|
|
5220
|
+
if (reader.isEndGroup()) {
|
|
5221
|
+
break;
|
|
5222
|
+
}
|
|
5223
|
+
var field = reader.getFieldNumber();
|
|
5224
|
+
switch (field) {
|
|
5225
|
+
case 1:
|
|
5226
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5227
|
+
msg.setEnvironment(value);
|
|
5228
|
+
break;
|
|
5229
|
+
case 2:
|
|
5230
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5231
|
+
msg.setCustomer(value);
|
|
5232
|
+
break;
|
|
5233
|
+
case 3:
|
|
5234
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5235
|
+
msg.addCurrencyFrom(value);
|
|
5236
|
+
break;
|
|
5237
|
+
case 4:
|
|
5238
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5239
|
+
msg.setCurrencyTo(value);
|
|
5240
|
+
break;
|
|
5241
|
+
default:
|
|
5242
|
+
reader.skipField();
|
|
5243
|
+
break;
|
|
5244
|
+
}
|
|
5245
|
+
}
|
|
5246
|
+
return msg;
|
|
5247
|
+
};
|
|
5248
|
+
|
|
5249
|
+
|
|
5250
|
+
/**
|
|
5251
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5252
|
+
* @return {!Uint8Array}
|
|
5253
|
+
*/
|
|
5254
|
+
proto.config.CurrenciesRatesRequest.prototype.serializeBinary = function() {
|
|
5255
|
+
var writer = new jspb.BinaryWriter();
|
|
5256
|
+
proto.config.CurrenciesRatesRequest.serializeBinaryToWriter(this, writer);
|
|
5257
|
+
return writer.getResultBuffer();
|
|
5258
|
+
};
|
|
5259
|
+
|
|
5260
|
+
|
|
5261
|
+
/**
|
|
5262
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5263
|
+
* format), writing to the given BinaryWriter.
|
|
5264
|
+
* @param {!proto.config.CurrenciesRatesRequest} message
|
|
5265
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5266
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5267
|
+
*/
|
|
5268
|
+
proto.config.CurrenciesRatesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5269
|
+
var f = undefined;
|
|
5270
|
+
f = message.getEnvironment();
|
|
5271
|
+
if (f.length > 0) {
|
|
5272
|
+
writer.writeString(
|
|
5273
|
+
1,
|
|
5274
|
+
f
|
|
5275
|
+
);
|
|
5276
|
+
}
|
|
5277
|
+
f = message.getCustomer();
|
|
5278
|
+
if (f.length > 0) {
|
|
5279
|
+
writer.writeString(
|
|
5280
|
+
2,
|
|
5281
|
+
f
|
|
5282
|
+
);
|
|
5283
|
+
}
|
|
5284
|
+
f = message.getCurrencyFromList();
|
|
5285
|
+
if (f.length > 0) {
|
|
5286
|
+
writer.writeRepeatedString(
|
|
5287
|
+
3,
|
|
5288
|
+
f
|
|
5289
|
+
);
|
|
5290
|
+
}
|
|
5291
|
+
f = message.getCurrencyTo();
|
|
5292
|
+
if (f.length > 0) {
|
|
5293
|
+
writer.writeString(
|
|
5294
|
+
4,
|
|
5295
|
+
f
|
|
5296
|
+
);
|
|
5297
|
+
}
|
|
5298
|
+
};
|
|
5299
|
+
|
|
5300
|
+
|
|
5301
|
+
/**
|
|
5302
|
+
* optional string environment = 1;
|
|
5303
|
+
* @return {string}
|
|
5304
|
+
*/
|
|
5305
|
+
proto.config.CurrenciesRatesRequest.prototype.getEnvironment = function() {
|
|
5306
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5307
|
+
};
|
|
5308
|
+
|
|
5309
|
+
|
|
5310
|
+
/**
|
|
5311
|
+
* @param {string} value
|
|
5312
|
+
* @return {!proto.config.CurrenciesRatesRequest} returns this
|
|
5313
|
+
*/
|
|
5314
|
+
proto.config.CurrenciesRatesRequest.prototype.setEnvironment = function(value) {
|
|
5315
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5316
|
+
};
|
|
5317
|
+
|
|
5318
|
+
|
|
5319
|
+
/**
|
|
5320
|
+
* optional string customer = 2;
|
|
5321
|
+
* @return {string}
|
|
5322
|
+
*/
|
|
5323
|
+
proto.config.CurrenciesRatesRequest.prototype.getCustomer = function() {
|
|
5324
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5325
|
+
};
|
|
5326
|
+
|
|
5327
|
+
|
|
5328
|
+
/**
|
|
5329
|
+
* @param {string} value
|
|
5330
|
+
* @return {!proto.config.CurrenciesRatesRequest} returns this
|
|
5331
|
+
*/
|
|
5332
|
+
proto.config.CurrenciesRatesRequest.prototype.setCustomer = function(value) {
|
|
5333
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5334
|
+
};
|
|
5335
|
+
|
|
5336
|
+
|
|
5337
|
+
/**
|
|
5338
|
+
* repeated string currency_from = 3;
|
|
5339
|
+
* @return {!Array<string>}
|
|
5340
|
+
*/
|
|
5341
|
+
proto.config.CurrenciesRatesRequest.prototype.getCurrencyFromList = function() {
|
|
5342
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
5343
|
+
};
|
|
5344
|
+
|
|
5345
|
+
|
|
5346
|
+
/**
|
|
5347
|
+
* @param {!Array<string>} value
|
|
5348
|
+
* @return {!proto.config.CurrenciesRatesRequest} returns this
|
|
5349
|
+
*/
|
|
5350
|
+
proto.config.CurrenciesRatesRequest.prototype.setCurrencyFromList = function(value) {
|
|
5351
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
5352
|
+
};
|
|
5353
|
+
|
|
5354
|
+
|
|
5355
|
+
/**
|
|
5356
|
+
* @param {string} value
|
|
5357
|
+
* @param {number=} opt_index
|
|
5358
|
+
* @return {!proto.config.CurrenciesRatesRequest} returns this
|
|
5359
|
+
*/
|
|
5360
|
+
proto.config.CurrenciesRatesRequest.prototype.addCurrencyFrom = function(value, opt_index) {
|
|
5361
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
5362
|
+
};
|
|
5363
|
+
|
|
5364
|
+
|
|
5365
|
+
/**
|
|
5366
|
+
* Clears the list making it empty but non-null.
|
|
5367
|
+
* @return {!proto.config.CurrenciesRatesRequest} returns this
|
|
5368
|
+
*/
|
|
5369
|
+
proto.config.CurrenciesRatesRequest.prototype.clearCurrencyFromList = function() {
|
|
5370
|
+
return this.setCurrencyFromList([]);
|
|
5371
|
+
};
|
|
5372
|
+
|
|
5373
|
+
|
|
5374
|
+
/**
|
|
5375
|
+
* optional string currency_to = 4;
|
|
5376
|
+
* @return {string}
|
|
5377
|
+
*/
|
|
5378
|
+
proto.config.CurrenciesRatesRequest.prototype.getCurrencyTo = function() {
|
|
5379
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5380
|
+
};
|
|
5381
|
+
|
|
5382
|
+
|
|
5383
|
+
/**
|
|
5384
|
+
* @param {string} value
|
|
5385
|
+
* @return {!proto.config.CurrenciesRatesRequest} returns this
|
|
5386
|
+
*/
|
|
5387
|
+
proto.config.CurrenciesRatesRequest.prototype.setCurrencyTo = function(value) {
|
|
5388
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5389
|
+
};
|
|
5390
|
+
|
|
5391
|
+
|
|
5392
|
+
|
|
5393
|
+
/**
|
|
5394
|
+
* List of repeated fields within this message type.
|
|
5395
|
+
* @private {!Array<number>}
|
|
5396
|
+
* @const
|
|
5397
|
+
*/
|
|
5398
|
+
proto.config.RefreshCurrenciesRatesRequest.repeatedFields_ = [3];
|
|
5399
|
+
|
|
5400
|
+
|
|
5401
|
+
|
|
5402
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5403
|
+
/**
|
|
5404
|
+
* Creates an object representation of this proto.
|
|
5405
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5406
|
+
* Optional fields that are not set will be set to undefined.
|
|
5407
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5408
|
+
* For the list of reserved names please see:
|
|
5409
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5410
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5411
|
+
* JSPB instance for transitional soy proto support:
|
|
5412
|
+
* http://goto/soy-param-migration
|
|
5413
|
+
* @return {!Object}
|
|
5414
|
+
*/
|
|
5415
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5416
|
+
return proto.config.RefreshCurrenciesRatesRequest.toObject(opt_includeInstance, this);
|
|
5417
|
+
};
|
|
5418
|
+
|
|
5419
|
+
|
|
5420
|
+
/**
|
|
5421
|
+
* Static version of the {@see toObject} method.
|
|
5422
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5423
|
+
* the JSPB instance for transitional soy proto support:
|
|
5424
|
+
* http://goto/soy-param-migration
|
|
5425
|
+
* @param {!proto.config.RefreshCurrenciesRatesRequest} msg The msg instance to transform.
|
|
5426
|
+
* @return {!Object}
|
|
5427
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5428
|
+
*/
|
|
5429
|
+
proto.config.RefreshCurrenciesRatesRequest.toObject = function(includeInstance, msg) {
|
|
5430
|
+
var f, obj = {
|
|
5431
|
+
environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5432
|
+
customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5433
|
+
currencyFromList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
5434
|
+
currencyTo: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
5435
|
+
};
|
|
5436
|
+
|
|
5437
|
+
if (includeInstance) {
|
|
5438
|
+
obj.$jspbMessageInstance = msg;
|
|
5439
|
+
}
|
|
5440
|
+
return obj;
|
|
5441
|
+
};
|
|
5442
|
+
}
|
|
5443
|
+
|
|
5444
|
+
|
|
5445
|
+
/**
|
|
5446
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5447
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5448
|
+
* @return {!proto.config.RefreshCurrenciesRatesRequest}
|
|
5449
|
+
*/
|
|
5450
|
+
proto.config.RefreshCurrenciesRatesRequest.deserializeBinary = function(bytes) {
|
|
5451
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5452
|
+
var msg = new proto.config.RefreshCurrenciesRatesRequest;
|
|
5453
|
+
return proto.config.RefreshCurrenciesRatesRequest.deserializeBinaryFromReader(msg, reader);
|
|
5454
|
+
};
|
|
5455
|
+
|
|
5456
|
+
|
|
5457
|
+
/**
|
|
5458
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5459
|
+
* given reader into the given message object.
|
|
5460
|
+
* @param {!proto.config.RefreshCurrenciesRatesRequest} msg The message object to deserialize into.
|
|
5461
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5462
|
+
* @return {!proto.config.RefreshCurrenciesRatesRequest}
|
|
5463
|
+
*/
|
|
5464
|
+
proto.config.RefreshCurrenciesRatesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5465
|
+
while (reader.nextField()) {
|
|
5466
|
+
if (reader.isEndGroup()) {
|
|
5467
|
+
break;
|
|
5468
|
+
}
|
|
5469
|
+
var field = reader.getFieldNumber();
|
|
5470
|
+
switch (field) {
|
|
5471
|
+
case 1:
|
|
5472
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5473
|
+
msg.setEnvironment(value);
|
|
5474
|
+
break;
|
|
5475
|
+
case 2:
|
|
5476
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5477
|
+
msg.setCustomer(value);
|
|
5478
|
+
break;
|
|
5479
|
+
case 3:
|
|
5480
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5481
|
+
msg.addCurrencyFrom(value);
|
|
5482
|
+
break;
|
|
5483
|
+
case 4:
|
|
5484
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5485
|
+
msg.setCurrencyTo(value);
|
|
5486
|
+
break;
|
|
5487
|
+
default:
|
|
5488
|
+
reader.skipField();
|
|
5489
|
+
break;
|
|
5490
|
+
}
|
|
5491
|
+
}
|
|
5492
|
+
return msg;
|
|
5493
|
+
};
|
|
5494
|
+
|
|
5495
|
+
|
|
5496
|
+
/**
|
|
5497
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5498
|
+
* @return {!Uint8Array}
|
|
5499
|
+
*/
|
|
5500
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.serializeBinary = function() {
|
|
5501
|
+
var writer = new jspb.BinaryWriter();
|
|
5502
|
+
proto.config.RefreshCurrenciesRatesRequest.serializeBinaryToWriter(this, writer);
|
|
5503
|
+
return writer.getResultBuffer();
|
|
5504
|
+
};
|
|
5505
|
+
|
|
5506
|
+
|
|
5507
|
+
/**
|
|
5508
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5509
|
+
* format), writing to the given BinaryWriter.
|
|
5510
|
+
* @param {!proto.config.RefreshCurrenciesRatesRequest} message
|
|
5511
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5512
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5513
|
+
*/
|
|
5514
|
+
proto.config.RefreshCurrenciesRatesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5515
|
+
var f = undefined;
|
|
5516
|
+
f = message.getEnvironment();
|
|
5517
|
+
if (f.length > 0) {
|
|
5518
|
+
writer.writeString(
|
|
5519
|
+
1,
|
|
5520
|
+
f
|
|
5521
|
+
);
|
|
5522
|
+
}
|
|
5523
|
+
f = message.getCustomer();
|
|
5524
|
+
if (f.length > 0) {
|
|
5525
|
+
writer.writeString(
|
|
5526
|
+
2,
|
|
5527
|
+
f
|
|
5528
|
+
);
|
|
5529
|
+
}
|
|
5530
|
+
f = message.getCurrencyFromList();
|
|
5531
|
+
if (f.length > 0) {
|
|
5532
|
+
writer.writeRepeatedString(
|
|
5533
|
+
3,
|
|
5534
|
+
f
|
|
5535
|
+
);
|
|
5536
|
+
}
|
|
5537
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
5538
|
+
if (f != null) {
|
|
5539
|
+
writer.writeString(
|
|
5540
|
+
4,
|
|
5541
|
+
f
|
|
5542
|
+
);
|
|
5543
|
+
}
|
|
5544
|
+
};
|
|
5545
|
+
|
|
5546
|
+
|
|
5547
|
+
/**
|
|
5548
|
+
* optional string environment = 1;
|
|
5549
|
+
* @return {string}
|
|
5550
|
+
*/
|
|
5551
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.getEnvironment = function() {
|
|
5552
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5553
|
+
};
|
|
5554
|
+
|
|
5555
|
+
|
|
5556
|
+
/**
|
|
5557
|
+
* @param {string} value
|
|
5558
|
+
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
5559
|
+
*/
|
|
5560
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.setEnvironment = function(value) {
|
|
5561
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5562
|
+
};
|
|
5563
|
+
|
|
5564
|
+
|
|
5565
|
+
/**
|
|
5566
|
+
* optional string customer = 2;
|
|
5567
|
+
* @return {string}
|
|
5568
|
+
*/
|
|
5569
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.getCustomer = function() {
|
|
5570
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5571
|
+
};
|
|
5572
|
+
|
|
5573
|
+
|
|
5574
|
+
/**
|
|
5575
|
+
* @param {string} value
|
|
5576
|
+
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
5577
|
+
*/
|
|
5578
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.setCustomer = function(value) {
|
|
5579
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5580
|
+
};
|
|
5581
|
+
|
|
5582
|
+
|
|
5583
|
+
/**
|
|
5584
|
+
* repeated string currency_from = 3;
|
|
5585
|
+
* @return {!Array<string>}
|
|
5586
|
+
*/
|
|
5587
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.getCurrencyFromList = function() {
|
|
5588
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
5589
|
+
};
|
|
5590
|
+
|
|
5591
|
+
|
|
5592
|
+
/**
|
|
5593
|
+
* @param {!Array<string>} value
|
|
5594
|
+
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
5595
|
+
*/
|
|
5596
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.setCurrencyFromList = function(value) {
|
|
5597
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
5598
|
+
};
|
|
5599
|
+
|
|
5600
|
+
|
|
5601
|
+
/**
|
|
5602
|
+
* @param {string} value
|
|
5603
|
+
* @param {number=} opt_index
|
|
5604
|
+
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
5605
|
+
*/
|
|
5606
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.addCurrencyFrom = function(value, opt_index) {
|
|
5607
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
5608
|
+
};
|
|
5609
|
+
|
|
5610
|
+
|
|
5611
|
+
/**
|
|
5612
|
+
* Clears the list making it empty but non-null.
|
|
5613
|
+
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
5614
|
+
*/
|
|
5615
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.clearCurrencyFromList = function() {
|
|
5616
|
+
return this.setCurrencyFromList([]);
|
|
5617
|
+
};
|
|
5618
|
+
|
|
5619
|
+
|
|
5620
|
+
/**
|
|
5621
|
+
* optional string currency_to = 4;
|
|
5622
|
+
* @return {string}
|
|
5623
|
+
*/
|
|
5624
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.getCurrencyTo = function() {
|
|
5625
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5626
|
+
};
|
|
5627
|
+
|
|
5628
|
+
|
|
5629
|
+
/**
|
|
5630
|
+
* @param {string} value
|
|
5631
|
+
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
5632
|
+
*/
|
|
5633
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.setCurrencyTo = function(value) {
|
|
5634
|
+
return jspb.Message.setField(this, 4, value);
|
|
5635
|
+
};
|
|
5636
|
+
|
|
5637
|
+
|
|
5638
|
+
/**
|
|
5639
|
+
* Clears the field making it undefined.
|
|
5640
|
+
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
5641
|
+
*/
|
|
5642
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.clearCurrencyTo = function() {
|
|
5643
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
5644
|
+
};
|
|
5645
|
+
|
|
5646
|
+
|
|
5647
|
+
/**
|
|
5648
|
+
* Returns whether this field is set.
|
|
5649
|
+
* @return {boolean}
|
|
5650
|
+
*/
|
|
5651
|
+
proto.config.RefreshCurrenciesRatesRequest.prototype.hasCurrencyTo = function() {
|
|
5652
|
+
return jspb.Message.getField(this, 4) != null;
|
|
5653
|
+
};
|
|
5654
|
+
|
|
5655
|
+
|
|
5656
|
+
|
|
5657
|
+
|
|
5658
|
+
|
|
5659
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5660
|
+
/**
|
|
5661
|
+
* Creates an object representation of this proto.
|
|
5662
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5663
|
+
* Optional fields that are not set will be set to undefined.
|
|
5664
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5665
|
+
* For the list of reserved names please see:
|
|
5666
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5667
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5668
|
+
* JSPB instance for transitional soy proto support:
|
|
5669
|
+
* http://goto/soy-param-migration
|
|
5670
|
+
* @return {!Object}
|
|
5671
|
+
*/
|
|
5672
|
+
proto.config.CurrencyRateItem.prototype.toObject = function(opt_includeInstance) {
|
|
5673
|
+
return proto.config.CurrencyRateItem.toObject(opt_includeInstance, this);
|
|
5674
|
+
};
|
|
5675
|
+
|
|
5676
|
+
|
|
5677
|
+
/**
|
|
5678
|
+
* Static version of the {@see toObject} method.
|
|
5679
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5680
|
+
* the JSPB instance for transitional soy proto support:
|
|
5681
|
+
* http://goto/soy-param-migration
|
|
5682
|
+
* @param {!proto.config.CurrencyRateItem} msg The msg instance to transform.
|
|
5683
|
+
* @return {!Object}
|
|
5684
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5685
|
+
*/
|
|
5686
|
+
proto.config.CurrencyRateItem.toObject = function(includeInstance, msg) {
|
|
5687
|
+
var f, obj = {
|
|
5688
|
+
currencyFrom: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5689
|
+
currencyTo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5690
|
+
rate: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
5691
|
+
source: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5692
|
+
fetchedAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5693
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5694
|
+
provider: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5695
|
+
baseCurrency: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
5696
|
+
validUntil: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5697
|
+
isManual: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
5698
|
+
status: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5699
|
+
errorCode: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
5700
|
+
};
|
|
5701
|
+
|
|
5702
|
+
if (includeInstance) {
|
|
5703
|
+
obj.$jspbMessageInstance = msg;
|
|
5704
|
+
}
|
|
5705
|
+
return obj;
|
|
5706
|
+
};
|
|
5707
|
+
}
|
|
5708
|
+
|
|
5709
|
+
|
|
5710
|
+
/**
|
|
5711
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5712
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5713
|
+
* @return {!proto.config.CurrencyRateItem}
|
|
5714
|
+
*/
|
|
5715
|
+
proto.config.CurrencyRateItem.deserializeBinary = function(bytes) {
|
|
5716
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5717
|
+
var msg = new proto.config.CurrencyRateItem;
|
|
5718
|
+
return proto.config.CurrencyRateItem.deserializeBinaryFromReader(msg, reader);
|
|
5719
|
+
};
|
|
5720
|
+
|
|
5721
|
+
|
|
5722
|
+
/**
|
|
5723
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5724
|
+
* given reader into the given message object.
|
|
5725
|
+
* @param {!proto.config.CurrencyRateItem} msg The message object to deserialize into.
|
|
5726
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5727
|
+
* @return {!proto.config.CurrencyRateItem}
|
|
5728
|
+
*/
|
|
5729
|
+
proto.config.CurrencyRateItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
5730
|
+
while (reader.nextField()) {
|
|
5731
|
+
if (reader.isEndGroup()) {
|
|
5732
|
+
break;
|
|
5733
|
+
}
|
|
5734
|
+
var field = reader.getFieldNumber();
|
|
5735
|
+
switch (field) {
|
|
5736
|
+
case 1:
|
|
5737
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5738
|
+
msg.setCurrencyFrom(value);
|
|
5739
|
+
break;
|
|
5740
|
+
case 2:
|
|
5741
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5742
|
+
msg.setCurrencyTo(value);
|
|
5743
|
+
break;
|
|
5744
|
+
case 3:
|
|
5745
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
5746
|
+
msg.setRate(value);
|
|
5747
|
+
break;
|
|
5748
|
+
case 4:
|
|
5749
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5750
|
+
msg.setSource(value);
|
|
5751
|
+
break;
|
|
5752
|
+
case 5:
|
|
5753
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5754
|
+
msg.setFetchedAt(value);
|
|
5755
|
+
break;
|
|
5756
|
+
case 6:
|
|
5757
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5758
|
+
msg.setUpdatedAt(value);
|
|
5759
|
+
break;
|
|
5760
|
+
case 7:
|
|
5761
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5762
|
+
msg.setProvider(value);
|
|
5763
|
+
break;
|
|
5764
|
+
case 8:
|
|
5765
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5766
|
+
msg.setBaseCurrency(value);
|
|
5767
|
+
break;
|
|
5768
|
+
case 9:
|
|
5769
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5770
|
+
msg.setValidUntil(value);
|
|
5771
|
+
break;
|
|
5772
|
+
case 10:
|
|
5773
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5774
|
+
msg.setIsManual(value);
|
|
5775
|
+
break;
|
|
5776
|
+
case 11:
|
|
5777
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5778
|
+
msg.setStatus(value);
|
|
5779
|
+
break;
|
|
5780
|
+
case 12:
|
|
5781
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5782
|
+
msg.setErrorCode(value);
|
|
5783
|
+
break;
|
|
5784
|
+
default:
|
|
5785
|
+
reader.skipField();
|
|
5786
|
+
break;
|
|
5787
|
+
}
|
|
5788
|
+
}
|
|
5789
|
+
return msg;
|
|
5790
|
+
};
|
|
5791
|
+
|
|
5792
|
+
|
|
5793
|
+
/**
|
|
5794
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5795
|
+
* @return {!Uint8Array}
|
|
5796
|
+
*/
|
|
5797
|
+
proto.config.CurrencyRateItem.prototype.serializeBinary = function() {
|
|
5798
|
+
var writer = new jspb.BinaryWriter();
|
|
5799
|
+
proto.config.CurrencyRateItem.serializeBinaryToWriter(this, writer);
|
|
5800
|
+
return writer.getResultBuffer();
|
|
5801
|
+
};
|
|
5802
|
+
|
|
5803
|
+
|
|
5804
|
+
/**
|
|
5805
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5806
|
+
* format), writing to the given BinaryWriter.
|
|
5807
|
+
* @param {!proto.config.CurrencyRateItem} message
|
|
5808
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5809
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5810
|
+
*/
|
|
5811
|
+
proto.config.CurrencyRateItem.serializeBinaryToWriter = function(message, writer) {
|
|
5812
|
+
var f = undefined;
|
|
5813
|
+
f = message.getCurrencyFrom();
|
|
5814
|
+
if (f.length > 0) {
|
|
5815
|
+
writer.writeString(
|
|
5816
|
+
1,
|
|
5817
|
+
f
|
|
5818
|
+
);
|
|
5819
|
+
}
|
|
5820
|
+
f = message.getCurrencyTo();
|
|
5821
|
+
if (f.length > 0) {
|
|
5822
|
+
writer.writeString(
|
|
5823
|
+
2,
|
|
5824
|
+
f
|
|
5825
|
+
);
|
|
5826
|
+
}
|
|
5827
|
+
f = message.getRate();
|
|
5828
|
+
if (f !== 0.0) {
|
|
5829
|
+
writer.writeDouble(
|
|
5830
|
+
3,
|
|
5831
|
+
f
|
|
5832
|
+
);
|
|
5833
|
+
}
|
|
5834
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
5835
|
+
if (f != null) {
|
|
5836
|
+
writer.writeString(
|
|
5837
|
+
4,
|
|
5838
|
+
f
|
|
5839
|
+
);
|
|
5840
|
+
}
|
|
5841
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
5842
|
+
if (f != null) {
|
|
5843
|
+
writer.writeString(
|
|
5844
|
+
5,
|
|
5845
|
+
f
|
|
5846
|
+
);
|
|
5847
|
+
}
|
|
5848
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
5849
|
+
if (f != null) {
|
|
5850
|
+
writer.writeString(
|
|
5851
|
+
6,
|
|
5852
|
+
f
|
|
5853
|
+
);
|
|
5854
|
+
}
|
|
5855
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
5856
|
+
if (f != null) {
|
|
5857
|
+
writer.writeString(
|
|
5858
|
+
7,
|
|
5859
|
+
f
|
|
5860
|
+
);
|
|
5861
|
+
}
|
|
5862
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
5863
|
+
if (f != null) {
|
|
5864
|
+
writer.writeString(
|
|
5865
|
+
8,
|
|
5866
|
+
f
|
|
5867
|
+
);
|
|
5868
|
+
}
|
|
5869
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
5870
|
+
if (f != null) {
|
|
5871
|
+
writer.writeString(
|
|
5872
|
+
9,
|
|
5873
|
+
f
|
|
5874
|
+
);
|
|
5875
|
+
}
|
|
5876
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
|
|
5877
|
+
if (f != null) {
|
|
5878
|
+
writer.writeBool(
|
|
5879
|
+
10,
|
|
5880
|
+
f
|
|
5881
|
+
);
|
|
5882
|
+
}
|
|
5883
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
5884
|
+
if (f != null) {
|
|
5885
|
+
writer.writeString(
|
|
5886
|
+
11,
|
|
5887
|
+
f
|
|
5888
|
+
);
|
|
5889
|
+
}
|
|
5890
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
5891
|
+
if (f != null) {
|
|
5892
|
+
writer.writeString(
|
|
5893
|
+
12,
|
|
5894
|
+
f
|
|
5895
|
+
);
|
|
5896
|
+
}
|
|
5897
|
+
};
|
|
5898
|
+
|
|
5899
|
+
|
|
5900
|
+
/**
|
|
5901
|
+
* optional string currency_from = 1;
|
|
5902
|
+
* @return {string}
|
|
5903
|
+
*/
|
|
5904
|
+
proto.config.CurrencyRateItem.prototype.getCurrencyFrom = function() {
|
|
5905
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5906
|
+
};
|
|
5907
|
+
|
|
5908
|
+
|
|
5909
|
+
/**
|
|
5910
|
+
* @param {string} value
|
|
5911
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
5912
|
+
*/
|
|
5913
|
+
proto.config.CurrencyRateItem.prototype.setCurrencyFrom = function(value) {
|
|
5914
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5915
|
+
};
|
|
5916
|
+
|
|
5917
|
+
|
|
5918
|
+
/**
|
|
5919
|
+
* optional string currency_to = 2;
|
|
5920
|
+
* @return {string}
|
|
5921
|
+
*/
|
|
5922
|
+
proto.config.CurrencyRateItem.prototype.getCurrencyTo = function() {
|
|
5923
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5924
|
+
};
|
|
5925
|
+
|
|
5926
|
+
|
|
5927
|
+
/**
|
|
5928
|
+
* @param {string} value
|
|
5929
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
5930
|
+
*/
|
|
5931
|
+
proto.config.CurrencyRateItem.prototype.setCurrencyTo = function(value) {
|
|
5932
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5933
|
+
};
|
|
5934
|
+
|
|
5935
|
+
|
|
5936
|
+
/**
|
|
5937
|
+
* optional double rate = 3;
|
|
5938
|
+
* @return {number}
|
|
5939
|
+
*/
|
|
5940
|
+
proto.config.CurrencyRateItem.prototype.getRate = function() {
|
|
5941
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
5942
|
+
};
|
|
5943
|
+
|
|
5944
|
+
|
|
5945
|
+
/**
|
|
5946
|
+
* @param {number} value
|
|
5947
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
5948
|
+
*/
|
|
5949
|
+
proto.config.CurrencyRateItem.prototype.setRate = function(value) {
|
|
5950
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
5951
|
+
};
|
|
5952
|
+
|
|
5953
|
+
|
|
5954
|
+
/**
|
|
5955
|
+
* optional string source = 4;
|
|
5956
|
+
* @return {string}
|
|
5957
|
+
*/
|
|
5958
|
+
proto.config.CurrencyRateItem.prototype.getSource = function() {
|
|
5959
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5960
|
+
};
|
|
5961
|
+
|
|
5962
|
+
|
|
5963
|
+
/**
|
|
5964
|
+
* @param {string} value
|
|
5965
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
5966
|
+
*/
|
|
5967
|
+
proto.config.CurrencyRateItem.prototype.setSource = function(value) {
|
|
5968
|
+
return jspb.Message.setField(this, 4, value);
|
|
5969
|
+
};
|
|
5970
|
+
|
|
5971
|
+
|
|
5972
|
+
/**
|
|
5973
|
+
* Clears the field making it undefined.
|
|
5974
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
5975
|
+
*/
|
|
5976
|
+
proto.config.CurrencyRateItem.prototype.clearSource = function() {
|
|
5977
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
5978
|
+
};
|
|
5979
|
+
|
|
5980
|
+
|
|
5981
|
+
/**
|
|
5982
|
+
* Returns whether this field is set.
|
|
5983
|
+
* @return {boolean}
|
|
5984
|
+
*/
|
|
5985
|
+
proto.config.CurrencyRateItem.prototype.hasSource = function() {
|
|
5986
|
+
return jspb.Message.getField(this, 4) != null;
|
|
5987
|
+
};
|
|
5988
|
+
|
|
5989
|
+
|
|
5990
|
+
/**
|
|
5991
|
+
* optional string fetched_at = 5;
|
|
5992
|
+
* @return {string}
|
|
5993
|
+
*/
|
|
5994
|
+
proto.config.CurrencyRateItem.prototype.getFetchedAt = function() {
|
|
5995
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5996
|
+
};
|
|
5997
|
+
|
|
5998
|
+
|
|
5999
|
+
/**
|
|
6000
|
+
* @param {string} value
|
|
6001
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6002
|
+
*/
|
|
6003
|
+
proto.config.CurrencyRateItem.prototype.setFetchedAt = function(value) {
|
|
6004
|
+
return jspb.Message.setField(this, 5, value);
|
|
6005
|
+
};
|
|
6006
|
+
|
|
6007
|
+
|
|
6008
|
+
/**
|
|
6009
|
+
* Clears the field making it undefined.
|
|
6010
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6011
|
+
*/
|
|
6012
|
+
proto.config.CurrencyRateItem.prototype.clearFetchedAt = function() {
|
|
6013
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
6014
|
+
};
|
|
6015
|
+
|
|
6016
|
+
|
|
6017
|
+
/**
|
|
6018
|
+
* Returns whether this field is set.
|
|
6019
|
+
* @return {boolean}
|
|
6020
|
+
*/
|
|
6021
|
+
proto.config.CurrencyRateItem.prototype.hasFetchedAt = function() {
|
|
6022
|
+
return jspb.Message.getField(this, 5) != null;
|
|
6023
|
+
};
|
|
6024
|
+
|
|
6025
|
+
|
|
6026
|
+
/**
|
|
6027
|
+
* optional string updated_at = 6;
|
|
6028
|
+
* @return {string}
|
|
6029
|
+
*/
|
|
6030
|
+
proto.config.CurrencyRateItem.prototype.getUpdatedAt = function() {
|
|
6031
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
6032
|
+
};
|
|
6033
|
+
|
|
6034
|
+
|
|
6035
|
+
/**
|
|
6036
|
+
* @param {string} value
|
|
6037
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6038
|
+
*/
|
|
6039
|
+
proto.config.CurrencyRateItem.prototype.setUpdatedAt = function(value) {
|
|
6040
|
+
return jspb.Message.setField(this, 6, value);
|
|
6041
|
+
};
|
|
6042
|
+
|
|
6043
|
+
|
|
6044
|
+
/**
|
|
6045
|
+
* Clears the field making it undefined.
|
|
6046
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6047
|
+
*/
|
|
6048
|
+
proto.config.CurrencyRateItem.prototype.clearUpdatedAt = function() {
|
|
6049
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
6050
|
+
};
|
|
6051
|
+
|
|
6052
|
+
|
|
6053
|
+
/**
|
|
6054
|
+
* Returns whether this field is set.
|
|
6055
|
+
* @return {boolean}
|
|
6056
|
+
*/
|
|
6057
|
+
proto.config.CurrencyRateItem.prototype.hasUpdatedAt = function() {
|
|
6058
|
+
return jspb.Message.getField(this, 6) != null;
|
|
6059
|
+
};
|
|
6060
|
+
|
|
6061
|
+
|
|
6062
|
+
/**
|
|
6063
|
+
* optional string provider = 7;
|
|
6064
|
+
* @return {string}
|
|
6065
|
+
*/
|
|
6066
|
+
proto.config.CurrencyRateItem.prototype.getProvider = function() {
|
|
6067
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
6068
|
+
};
|
|
6069
|
+
|
|
6070
|
+
|
|
6071
|
+
/**
|
|
6072
|
+
* @param {string} value
|
|
6073
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6074
|
+
*/
|
|
6075
|
+
proto.config.CurrencyRateItem.prototype.setProvider = function(value) {
|
|
6076
|
+
return jspb.Message.setField(this, 7, value);
|
|
6077
|
+
};
|
|
6078
|
+
|
|
6079
|
+
|
|
6080
|
+
/**
|
|
6081
|
+
* Clears the field making it undefined.
|
|
6082
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6083
|
+
*/
|
|
6084
|
+
proto.config.CurrencyRateItem.prototype.clearProvider = function() {
|
|
6085
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
6086
|
+
};
|
|
6087
|
+
|
|
6088
|
+
|
|
6089
|
+
/**
|
|
6090
|
+
* Returns whether this field is set.
|
|
6091
|
+
* @return {boolean}
|
|
6092
|
+
*/
|
|
6093
|
+
proto.config.CurrencyRateItem.prototype.hasProvider = function() {
|
|
6094
|
+
return jspb.Message.getField(this, 7) != null;
|
|
6095
|
+
};
|
|
6096
|
+
|
|
6097
|
+
|
|
6098
|
+
/**
|
|
6099
|
+
* optional string base_currency = 8;
|
|
6100
|
+
* @return {string}
|
|
6101
|
+
*/
|
|
6102
|
+
proto.config.CurrencyRateItem.prototype.getBaseCurrency = function() {
|
|
6103
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
6104
|
+
};
|
|
6105
|
+
|
|
6106
|
+
|
|
6107
|
+
/**
|
|
6108
|
+
* @param {string} value
|
|
6109
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6110
|
+
*/
|
|
6111
|
+
proto.config.CurrencyRateItem.prototype.setBaseCurrency = function(value) {
|
|
6112
|
+
return jspb.Message.setField(this, 8, value);
|
|
6113
|
+
};
|
|
6114
|
+
|
|
6115
|
+
|
|
6116
|
+
/**
|
|
6117
|
+
* Clears the field making it undefined.
|
|
6118
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6119
|
+
*/
|
|
6120
|
+
proto.config.CurrencyRateItem.prototype.clearBaseCurrency = function() {
|
|
6121
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
6122
|
+
};
|
|
6123
|
+
|
|
6124
|
+
|
|
6125
|
+
/**
|
|
6126
|
+
* Returns whether this field is set.
|
|
6127
|
+
* @return {boolean}
|
|
6128
|
+
*/
|
|
6129
|
+
proto.config.CurrencyRateItem.prototype.hasBaseCurrency = function() {
|
|
6130
|
+
return jspb.Message.getField(this, 8) != null;
|
|
6131
|
+
};
|
|
6132
|
+
|
|
6133
|
+
|
|
6134
|
+
/**
|
|
6135
|
+
* optional string valid_until = 9;
|
|
6136
|
+
* @return {string}
|
|
6137
|
+
*/
|
|
6138
|
+
proto.config.CurrencyRateItem.prototype.getValidUntil = function() {
|
|
6139
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
6140
|
+
};
|
|
6141
|
+
|
|
6142
|
+
|
|
6143
|
+
/**
|
|
6144
|
+
* @param {string} value
|
|
6145
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6146
|
+
*/
|
|
6147
|
+
proto.config.CurrencyRateItem.prototype.setValidUntil = function(value) {
|
|
6148
|
+
return jspb.Message.setField(this, 9, value);
|
|
6149
|
+
};
|
|
6150
|
+
|
|
6151
|
+
|
|
6152
|
+
/**
|
|
6153
|
+
* Clears the field making it undefined.
|
|
6154
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6155
|
+
*/
|
|
6156
|
+
proto.config.CurrencyRateItem.prototype.clearValidUntil = function() {
|
|
6157
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
6158
|
+
};
|
|
6159
|
+
|
|
6160
|
+
|
|
6161
|
+
/**
|
|
6162
|
+
* Returns whether this field is set.
|
|
6163
|
+
* @return {boolean}
|
|
6164
|
+
*/
|
|
6165
|
+
proto.config.CurrencyRateItem.prototype.hasValidUntil = function() {
|
|
6166
|
+
return jspb.Message.getField(this, 9) != null;
|
|
6167
|
+
};
|
|
6168
|
+
|
|
6169
|
+
|
|
6170
|
+
/**
|
|
6171
|
+
* optional bool is_manual = 10;
|
|
6172
|
+
* @return {boolean}
|
|
6173
|
+
*/
|
|
6174
|
+
proto.config.CurrencyRateItem.prototype.getIsManual = function() {
|
|
6175
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
6176
|
+
};
|
|
6177
|
+
|
|
6178
|
+
|
|
6179
|
+
/**
|
|
6180
|
+
* @param {boolean} value
|
|
6181
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6182
|
+
*/
|
|
6183
|
+
proto.config.CurrencyRateItem.prototype.setIsManual = function(value) {
|
|
6184
|
+
return jspb.Message.setField(this, 10, value);
|
|
6185
|
+
};
|
|
6186
|
+
|
|
6187
|
+
|
|
6188
|
+
/**
|
|
6189
|
+
* Clears the field making it undefined.
|
|
6190
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6191
|
+
*/
|
|
6192
|
+
proto.config.CurrencyRateItem.prototype.clearIsManual = function() {
|
|
6193
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
6194
|
+
};
|
|
6195
|
+
|
|
6196
|
+
|
|
6197
|
+
/**
|
|
6198
|
+
* Returns whether this field is set.
|
|
6199
|
+
* @return {boolean}
|
|
6200
|
+
*/
|
|
6201
|
+
proto.config.CurrencyRateItem.prototype.hasIsManual = function() {
|
|
6202
|
+
return jspb.Message.getField(this, 10) != null;
|
|
6203
|
+
};
|
|
6204
|
+
|
|
6205
|
+
|
|
6206
|
+
/**
|
|
6207
|
+
* optional string status = 11;
|
|
6208
|
+
* @return {string}
|
|
6209
|
+
*/
|
|
6210
|
+
proto.config.CurrencyRateItem.prototype.getStatus = function() {
|
|
6211
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
6212
|
+
};
|
|
6213
|
+
|
|
6214
|
+
|
|
6215
|
+
/**
|
|
6216
|
+
* @param {string} value
|
|
6217
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6218
|
+
*/
|
|
6219
|
+
proto.config.CurrencyRateItem.prototype.setStatus = function(value) {
|
|
6220
|
+
return jspb.Message.setField(this, 11, value);
|
|
6221
|
+
};
|
|
6222
|
+
|
|
6223
|
+
|
|
6224
|
+
/**
|
|
6225
|
+
* Clears the field making it undefined.
|
|
6226
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6227
|
+
*/
|
|
6228
|
+
proto.config.CurrencyRateItem.prototype.clearStatus = function() {
|
|
6229
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
6230
|
+
};
|
|
6231
|
+
|
|
6232
|
+
|
|
6233
|
+
/**
|
|
6234
|
+
* Returns whether this field is set.
|
|
6235
|
+
* @return {boolean}
|
|
6236
|
+
*/
|
|
6237
|
+
proto.config.CurrencyRateItem.prototype.hasStatus = function() {
|
|
6238
|
+
return jspb.Message.getField(this, 11) != null;
|
|
6239
|
+
};
|
|
6240
|
+
|
|
6241
|
+
|
|
6242
|
+
/**
|
|
6243
|
+
* optional string error_code = 12;
|
|
6244
|
+
* @return {string}
|
|
6245
|
+
*/
|
|
6246
|
+
proto.config.CurrencyRateItem.prototype.getErrorCode = function() {
|
|
6247
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
6248
|
+
};
|
|
6249
|
+
|
|
6250
|
+
|
|
6251
|
+
/**
|
|
6252
|
+
* @param {string} value
|
|
6253
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6254
|
+
*/
|
|
6255
|
+
proto.config.CurrencyRateItem.prototype.setErrorCode = function(value) {
|
|
6256
|
+
return jspb.Message.setField(this, 12, value);
|
|
6257
|
+
};
|
|
6258
|
+
|
|
6259
|
+
|
|
6260
|
+
/**
|
|
6261
|
+
* Clears the field making it undefined.
|
|
6262
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6263
|
+
*/
|
|
6264
|
+
proto.config.CurrencyRateItem.prototype.clearErrorCode = function() {
|
|
6265
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
6266
|
+
};
|
|
6267
|
+
|
|
6268
|
+
|
|
6269
|
+
/**
|
|
6270
|
+
* Returns whether this field is set.
|
|
6271
|
+
* @return {boolean}
|
|
6272
|
+
*/
|
|
6273
|
+
proto.config.CurrencyRateItem.prototype.hasErrorCode = function() {
|
|
6274
|
+
return jspb.Message.getField(this, 12) != null;
|
|
6275
|
+
};
|
|
6276
|
+
|
|
6277
|
+
|
|
6278
|
+
|
|
6279
|
+
/**
|
|
6280
|
+
* List of repeated fields within this message type.
|
|
6281
|
+
* @private {!Array<number>}
|
|
6282
|
+
* @const
|
|
6283
|
+
*/
|
|
6284
|
+
proto.config.CurrenciesRatesResponse.repeatedFields_ = [1];
|
|
6285
|
+
|
|
6286
|
+
|
|
6287
|
+
|
|
6288
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6289
|
+
/**
|
|
6290
|
+
* Creates an object representation of this proto.
|
|
6291
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6292
|
+
* Optional fields that are not set will be set to undefined.
|
|
6293
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6294
|
+
* For the list of reserved names please see:
|
|
6295
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6296
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6297
|
+
* JSPB instance for transitional soy proto support:
|
|
6298
|
+
* http://goto/soy-param-migration
|
|
6299
|
+
* @return {!Object}
|
|
6300
|
+
*/
|
|
6301
|
+
proto.config.CurrenciesRatesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6302
|
+
return proto.config.CurrenciesRatesResponse.toObject(opt_includeInstance, this);
|
|
6303
|
+
};
|
|
6304
|
+
|
|
6305
|
+
|
|
6306
|
+
/**
|
|
6307
|
+
* Static version of the {@see toObject} method.
|
|
6308
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6309
|
+
* the JSPB instance for transitional soy proto support:
|
|
6310
|
+
* http://goto/soy-param-migration
|
|
6311
|
+
* @param {!proto.config.CurrenciesRatesResponse} msg The msg instance to transform.
|
|
6312
|
+
* @return {!Object}
|
|
6313
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6314
|
+
*/
|
|
6315
|
+
proto.config.CurrenciesRatesResponse.toObject = function(includeInstance, msg) {
|
|
6316
|
+
var f, obj = {
|
|
6317
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
6318
|
+
proto.config.CurrencyRateItem.toObject, includeInstance)
|
|
6319
|
+
};
|
|
6320
|
+
|
|
6321
|
+
if (includeInstance) {
|
|
6322
|
+
obj.$jspbMessageInstance = msg;
|
|
6323
|
+
}
|
|
6324
|
+
return obj;
|
|
6325
|
+
};
|
|
6326
|
+
}
|
|
6327
|
+
|
|
6328
|
+
|
|
6329
|
+
/**
|
|
6330
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6331
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6332
|
+
* @return {!proto.config.CurrenciesRatesResponse}
|
|
6333
|
+
*/
|
|
6334
|
+
proto.config.CurrenciesRatesResponse.deserializeBinary = function(bytes) {
|
|
6335
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6336
|
+
var msg = new proto.config.CurrenciesRatesResponse;
|
|
6337
|
+
return proto.config.CurrenciesRatesResponse.deserializeBinaryFromReader(msg, reader);
|
|
6338
|
+
};
|
|
6339
|
+
|
|
6340
|
+
|
|
6341
|
+
/**
|
|
6342
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6343
|
+
* given reader into the given message object.
|
|
6344
|
+
* @param {!proto.config.CurrenciesRatesResponse} msg The message object to deserialize into.
|
|
6345
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6346
|
+
* @return {!proto.config.CurrenciesRatesResponse}
|
|
6347
|
+
*/
|
|
6348
|
+
proto.config.CurrenciesRatesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6349
|
+
while (reader.nextField()) {
|
|
6350
|
+
if (reader.isEndGroup()) {
|
|
6351
|
+
break;
|
|
6352
|
+
}
|
|
6353
|
+
var field = reader.getFieldNumber();
|
|
6354
|
+
switch (field) {
|
|
6355
|
+
case 1:
|
|
6356
|
+
var value = new proto.config.CurrencyRateItem;
|
|
6357
|
+
reader.readMessage(value,proto.config.CurrencyRateItem.deserializeBinaryFromReader);
|
|
6358
|
+
msg.addItems(value);
|
|
6359
|
+
break;
|
|
6360
|
+
default:
|
|
6361
|
+
reader.skipField();
|
|
6362
|
+
break;
|
|
6363
|
+
}
|
|
6364
|
+
}
|
|
6365
|
+
return msg;
|
|
6366
|
+
};
|
|
6367
|
+
|
|
6368
|
+
|
|
6369
|
+
/**
|
|
6370
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6371
|
+
* @return {!Uint8Array}
|
|
6372
|
+
*/
|
|
6373
|
+
proto.config.CurrenciesRatesResponse.prototype.serializeBinary = function() {
|
|
6374
|
+
var writer = new jspb.BinaryWriter();
|
|
6375
|
+
proto.config.CurrenciesRatesResponse.serializeBinaryToWriter(this, writer);
|
|
6376
|
+
return writer.getResultBuffer();
|
|
6377
|
+
};
|
|
6378
|
+
|
|
6379
|
+
|
|
6380
|
+
/**
|
|
6381
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6382
|
+
* format), writing to the given BinaryWriter.
|
|
6383
|
+
* @param {!proto.config.CurrenciesRatesResponse} message
|
|
6384
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6385
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6386
|
+
*/
|
|
6387
|
+
proto.config.CurrenciesRatesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6388
|
+
var f = undefined;
|
|
6389
|
+
f = message.getItemsList();
|
|
6390
|
+
if (f.length > 0) {
|
|
6391
|
+
writer.writeRepeatedMessage(
|
|
6392
|
+
1,
|
|
6393
|
+
f,
|
|
6394
|
+
proto.config.CurrencyRateItem.serializeBinaryToWriter
|
|
6395
|
+
);
|
|
6396
|
+
}
|
|
6397
|
+
};
|
|
6398
|
+
|
|
6399
|
+
|
|
6400
|
+
/**
|
|
6401
|
+
* repeated CurrencyRateItem items = 1;
|
|
6402
|
+
* @return {!Array<!proto.config.CurrencyRateItem>}
|
|
6403
|
+
*/
|
|
6404
|
+
proto.config.CurrenciesRatesResponse.prototype.getItemsList = function() {
|
|
6405
|
+
return /** @type{!Array<!proto.config.CurrencyRateItem>} */ (
|
|
6406
|
+
jspb.Message.getRepeatedWrapperField(this, proto.config.CurrencyRateItem, 1));
|
|
6407
|
+
};
|
|
6408
|
+
|
|
6409
|
+
|
|
6410
|
+
/**
|
|
6411
|
+
* @param {!Array<!proto.config.CurrencyRateItem>} value
|
|
6412
|
+
* @return {!proto.config.CurrenciesRatesResponse} returns this
|
|
6413
|
+
*/
|
|
6414
|
+
proto.config.CurrenciesRatesResponse.prototype.setItemsList = function(value) {
|
|
6415
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
6416
|
+
};
|
|
6417
|
+
|
|
6418
|
+
|
|
6419
|
+
/**
|
|
6420
|
+
* @param {!proto.config.CurrencyRateItem=} opt_value
|
|
6421
|
+
* @param {number=} opt_index
|
|
6422
|
+
* @return {!proto.config.CurrencyRateItem}
|
|
6423
|
+
*/
|
|
6424
|
+
proto.config.CurrenciesRatesResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
6425
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.config.CurrencyRateItem, opt_index);
|
|
6426
|
+
};
|
|
6427
|
+
|
|
6428
|
+
|
|
6429
|
+
/**
|
|
6430
|
+
* Clears the list making it empty but non-null.
|
|
6431
|
+
* @return {!proto.config.CurrenciesRatesResponse} returns this
|
|
6432
|
+
*/
|
|
6433
|
+
proto.config.CurrenciesRatesResponse.prototype.clearItemsList = function() {
|
|
6434
|
+
return this.setItemsList([]);
|
|
6435
|
+
};
|
|
6436
|
+
|
|
6437
|
+
|
|
6438
|
+
|
|
6439
|
+
/**
|
|
6440
|
+
* List of repeated fields within this message type.
|
|
6441
|
+
* @private {!Array<number>}
|
|
6442
|
+
* @const
|
|
6443
|
+
*/
|
|
6444
|
+
proto.config.CurrencyRatesMapRequest.repeatedFields_ = [4];
|
|
6445
|
+
|
|
6446
|
+
|
|
6447
|
+
|
|
6448
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6449
|
+
/**
|
|
6450
|
+
* Creates an object representation of this proto.
|
|
6451
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6452
|
+
* Optional fields that are not set will be set to undefined.
|
|
6453
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6454
|
+
* For the list of reserved names please see:
|
|
6455
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6456
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6457
|
+
* JSPB instance for transitional soy proto support:
|
|
6458
|
+
* http://goto/soy-param-migration
|
|
6459
|
+
* @return {!Object}
|
|
6460
|
+
*/
|
|
6461
|
+
proto.config.CurrencyRatesMapRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6462
|
+
return proto.config.CurrencyRatesMapRequest.toObject(opt_includeInstance, this);
|
|
6463
|
+
};
|
|
6464
|
+
|
|
6465
|
+
|
|
6466
|
+
/**
|
|
6467
|
+
* Static version of the {@see toObject} method.
|
|
6468
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6469
|
+
* the JSPB instance for transitional soy proto support:
|
|
6470
|
+
* http://goto/soy-param-migration
|
|
6471
|
+
* @param {!proto.config.CurrencyRatesMapRequest} msg The msg instance to transform.
|
|
6472
|
+
* @return {!Object}
|
|
6473
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6474
|
+
*/
|
|
6475
|
+
proto.config.CurrencyRatesMapRequest.toObject = function(includeInstance, msg) {
|
|
6476
|
+
var f, obj = {
|
|
6477
|
+
environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6478
|
+
customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6479
|
+
baseCurrency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6480
|
+
currencyFromList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
6481
|
+
includeMissing: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
6482
|
+
};
|
|
6483
|
+
|
|
6484
|
+
if (includeInstance) {
|
|
6485
|
+
obj.$jspbMessageInstance = msg;
|
|
6486
|
+
}
|
|
6487
|
+
return obj;
|
|
6488
|
+
};
|
|
6489
|
+
}
|
|
6490
|
+
|
|
6491
|
+
|
|
6492
|
+
/**
|
|
6493
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6494
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6495
|
+
* @return {!proto.config.CurrencyRatesMapRequest}
|
|
6496
|
+
*/
|
|
6497
|
+
proto.config.CurrencyRatesMapRequest.deserializeBinary = function(bytes) {
|
|
6498
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6499
|
+
var msg = new proto.config.CurrencyRatesMapRequest;
|
|
6500
|
+
return proto.config.CurrencyRatesMapRequest.deserializeBinaryFromReader(msg, reader);
|
|
6501
|
+
};
|
|
6502
|
+
|
|
6503
|
+
|
|
6504
|
+
/**
|
|
6505
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6506
|
+
* given reader into the given message object.
|
|
6507
|
+
* @param {!proto.config.CurrencyRatesMapRequest} msg The message object to deserialize into.
|
|
6508
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6509
|
+
* @return {!proto.config.CurrencyRatesMapRequest}
|
|
6510
|
+
*/
|
|
6511
|
+
proto.config.CurrencyRatesMapRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6512
|
+
while (reader.nextField()) {
|
|
6513
|
+
if (reader.isEndGroup()) {
|
|
6514
|
+
break;
|
|
4606
6515
|
}
|
|
4607
6516
|
var field = reader.getFieldNumber();
|
|
4608
6517
|
switch (field) {
|
|
@@ -4616,11 +6525,15 @@ proto.config.CurrenciesRatesRequest.deserializeBinaryFromReader = function(msg,
|
|
|
4616
6525
|
break;
|
|
4617
6526
|
case 3:
|
|
4618
6527
|
var value = /** @type {string} */ (reader.readString());
|
|
4619
|
-
msg.
|
|
6528
|
+
msg.setBaseCurrency(value);
|
|
4620
6529
|
break;
|
|
4621
6530
|
case 4:
|
|
4622
6531
|
var value = /** @type {string} */ (reader.readString());
|
|
4623
|
-
msg.
|
|
6532
|
+
msg.addCurrencyFrom(value);
|
|
6533
|
+
break;
|
|
6534
|
+
case 5:
|
|
6535
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6536
|
+
msg.setIncludeMissing(value);
|
|
4624
6537
|
break;
|
|
4625
6538
|
default:
|
|
4626
6539
|
reader.skipField();
|
|
@@ -4635,9 +6548,9 @@ proto.config.CurrenciesRatesRequest.deserializeBinaryFromReader = function(msg,
|
|
|
4635
6548
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4636
6549
|
* @return {!Uint8Array}
|
|
4637
6550
|
*/
|
|
4638
|
-
proto.config.
|
|
6551
|
+
proto.config.CurrencyRatesMapRequest.prototype.serializeBinary = function() {
|
|
4639
6552
|
var writer = new jspb.BinaryWriter();
|
|
4640
|
-
proto.config.
|
|
6553
|
+
proto.config.CurrencyRatesMapRequest.serializeBinaryToWriter(this, writer);
|
|
4641
6554
|
return writer.getResultBuffer();
|
|
4642
6555
|
};
|
|
4643
6556
|
|
|
@@ -4645,11 +6558,11 @@ proto.config.CurrenciesRatesRequest.prototype.serializeBinary = function() {
|
|
|
4645
6558
|
/**
|
|
4646
6559
|
* Serializes the given message to binary data (in protobuf wire
|
|
4647
6560
|
* format), writing to the given BinaryWriter.
|
|
4648
|
-
* @param {!proto.config.
|
|
6561
|
+
* @param {!proto.config.CurrencyRatesMapRequest} message
|
|
4649
6562
|
* @param {!jspb.BinaryWriter} writer
|
|
4650
6563
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4651
6564
|
*/
|
|
4652
|
-
proto.config.
|
|
6565
|
+
proto.config.CurrencyRatesMapRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4653
6566
|
var f = undefined;
|
|
4654
6567
|
f = message.getEnvironment();
|
|
4655
6568
|
if (f.length > 0) {
|
|
@@ -4665,20 +6578,27 @@ proto.config.CurrenciesRatesRequest.serializeBinaryToWriter = function(message,
|
|
|
4665
6578
|
f
|
|
4666
6579
|
);
|
|
4667
6580
|
}
|
|
4668
|
-
f =
|
|
4669
|
-
if (f
|
|
4670
|
-
writer.
|
|
6581
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
6582
|
+
if (f != null) {
|
|
6583
|
+
writer.writeString(
|
|
4671
6584
|
3,
|
|
4672
6585
|
f
|
|
4673
6586
|
);
|
|
4674
6587
|
}
|
|
4675
|
-
f = message.
|
|
6588
|
+
f = message.getCurrencyFromList();
|
|
4676
6589
|
if (f.length > 0) {
|
|
4677
|
-
writer.
|
|
6590
|
+
writer.writeRepeatedString(
|
|
4678
6591
|
4,
|
|
4679
6592
|
f
|
|
4680
6593
|
);
|
|
4681
6594
|
}
|
|
6595
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
6596
|
+
if (f != null) {
|
|
6597
|
+
writer.writeInt32(
|
|
6598
|
+
5,
|
|
6599
|
+
f
|
|
6600
|
+
);
|
|
6601
|
+
}
|
|
4682
6602
|
};
|
|
4683
6603
|
|
|
4684
6604
|
|
|
@@ -4686,16 +6606,16 @@ proto.config.CurrenciesRatesRequest.serializeBinaryToWriter = function(message,
|
|
|
4686
6606
|
* optional string environment = 1;
|
|
4687
6607
|
* @return {string}
|
|
4688
6608
|
*/
|
|
4689
|
-
proto.config.
|
|
6609
|
+
proto.config.CurrencyRatesMapRequest.prototype.getEnvironment = function() {
|
|
4690
6610
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4691
6611
|
};
|
|
4692
6612
|
|
|
4693
6613
|
|
|
4694
6614
|
/**
|
|
4695
6615
|
* @param {string} value
|
|
4696
|
-
* @return {!proto.config.
|
|
6616
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
4697
6617
|
*/
|
|
4698
|
-
proto.config.
|
|
6618
|
+
proto.config.CurrencyRatesMapRequest.prototype.setEnvironment = function(value) {
|
|
4699
6619
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4700
6620
|
};
|
|
4701
6621
|
|
|
@@ -4704,72 +6624,126 @@ proto.config.CurrenciesRatesRequest.prototype.setEnvironment = function(value) {
|
|
|
4704
6624
|
* optional string customer = 2;
|
|
4705
6625
|
* @return {string}
|
|
4706
6626
|
*/
|
|
4707
|
-
proto.config.
|
|
6627
|
+
proto.config.CurrencyRatesMapRequest.prototype.getCustomer = function() {
|
|
4708
6628
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4709
6629
|
};
|
|
4710
6630
|
|
|
4711
6631
|
|
|
4712
6632
|
/**
|
|
4713
6633
|
* @param {string} value
|
|
4714
|
-
* @return {!proto.config.
|
|
6634
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
4715
6635
|
*/
|
|
4716
|
-
proto.config.
|
|
6636
|
+
proto.config.CurrencyRatesMapRequest.prototype.setCustomer = function(value) {
|
|
4717
6637
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4718
6638
|
};
|
|
4719
6639
|
|
|
4720
6640
|
|
|
4721
6641
|
/**
|
|
4722
|
-
*
|
|
6642
|
+
* optional string base_currency = 3;
|
|
6643
|
+
* @return {string}
|
|
6644
|
+
*/
|
|
6645
|
+
proto.config.CurrencyRatesMapRequest.prototype.getBaseCurrency = function() {
|
|
6646
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6647
|
+
};
|
|
6648
|
+
|
|
6649
|
+
|
|
6650
|
+
/**
|
|
6651
|
+
* @param {string} value
|
|
6652
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
6653
|
+
*/
|
|
6654
|
+
proto.config.CurrencyRatesMapRequest.prototype.setBaseCurrency = function(value) {
|
|
6655
|
+
return jspb.Message.setField(this, 3, value);
|
|
6656
|
+
};
|
|
6657
|
+
|
|
6658
|
+
|
|
6659
|
+
/**
|
|
6660
|
+
* Clears the field making it undefined.
|
|
6661
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
6662
|
+
*/
|
|
6663
|
+
proto.config.CurrencyRatesMapRequest.prototype.clearBaseCurrency = function() {
|
|
6664
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
6665
|
+
};
|
|
6666
|
+
|
|
6667
|
+
|
|
6668
|
+
/**
|
|
6669
|
+
* Returns whether this field is set.
|
|
6670
|
+
* @return {boolean}
|
|
6671
|
+
*/
|
|
6672
|
+
proto.config.CurrencyRatesMapRequest.prototype.hasBaseCurrency = function() {
|
|
6673
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6674
|
+
};
|
|
6675
|
+
|
|
6676
|
+
|
|
6677
|
+
/**
|
|
6678
|
+
* repeated string currency_from = 4;
|
|
4723
6679
|
* @return {!Array<string>}
|
|
4724
6680
|
*/
|
|
4725
|
-
proto.config.
|
|
4726
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
6681
|
+
proto.config.CurrencyRatesMapRequest.prototype.getCurrencyFromList = function() {
|
|
6682
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
4727
6683
|
};
|
|
4728
6684
|
|
|
4729
6685
|
|
|
4730
6686
|
/**
|
|
4731
6687
|
* @param {!Array<string>} value
|
|
4732
|
-
* @return {!proto.config.
|
|
6688
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
4733
6689
|
*/
|
|
4734
|
-
proto.config.
|
|
4735
|
-
return jspb.Message.setField(this,
|
|
6690
|
+
proto.config.CurrencyRatesMapRequest.prototype.setCurrencyFromList = function(value) {
|
|
6691
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
4736
6692
|
};
|
|
4737
6693
|
|
|
4738
6694
|
|
|
4739
6695
|
/**
|
|
4740
6696
|
* @param {string} value
|
|
4741
6697
|
* @param {number=} opt_index
|
|
4742
|
-
* @return {!proto.config.
|
|
6698
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
4743
6699
|
*/
|
|
4744
|
-
proto.config.
|
|
4745
|
-
return jspb.Message.addToRepeatedField(this,
|
|
6700
|
+
proto.config.CurrencyRatesMapRequest.prototype.addCurrencyFrom = function(value, opt_index) {
|
|
6701
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
4746
6702
|
};
|
|
4747
6703
|
|
|
4748
6704
|
|
|
4749
6705
|
/**
|
|
4750
6706
|
* Clears the list making it empty but non-null.
|
|
4751
|
-
* @return {!proto.config.
|
|
6707
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
4752
6708
|
*/
|
|
4753
|
-
proto.config.
|
|
6709
|
+
proto.config.CurrencyRatesMapRequest.prototype.clearCurrencyFromList = function() {
|
|
4754
6710
|
return this.setCurrencyFromList([]);
|
|
4755
6711
|
};
|
|
4756
6712
|
|
|
4757
6713
|
|
|
4758
6714
|
/**
|
|
4759
|
-
* optional
|
|
4760
|
-
* @return {
|
|
6715
|
+
* optional int32 include_missing = 5;
|
|
6716
|
+
* @return {number}
|
|
4761
6717
|
*/
|
|
4762
|
-
proto.config.
|
|
4763
|
-
return /** @type {
|
|
6718
|
+
proto.config.CurrencyRatesMapRequest.prototype.getIncludeMissing = function() {
|
|
6719
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
4764
6720
|
};
|
|
4765
6721
|
|
|
4766
6722
|
|
|
4767
6723
|
/**
|
|
4768
|
-
* @param {
|
|
4769
|
-
* @return {!proto.config.
|
|
6724
|
+
* @param {number} value
|
|
6725
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
4770
6726
|
*/
|
|
4771
|
-
proto.config.
|
|
4772
|
-
return jspb.Message.
|
|
6727
|
+
proto.config.CurrencyRatesMapRequest.prototype.setIncludeMissing = function(value) {
|
|
6728
|
+
return jspb.Message.setField(this, 5, value);
|
|
6729
|
+
};
|
|
6730
|
+
|
|
6731
|
+
|
|
6732
|
+
/**
|
|
6733
|
+
* Clears the field making it undefined.
|
|
6734
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
6735
|
+
*/
|
|
6736
|
+
proto.config.CurrencyRatesMapRequest.prototype.clearIncludeMissing = function() {
|
|
6737
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
6738
|
+
};
|
|
6739
|
+
|
|
6740
|
+
|
|
6741
|
+
/**
|
|
6742
|
+
* Returns whether this field is set.
|
|
6743
|
+
* @return {boolean}
|
|
6744
|
+
*/
|
|
6745
|
+
proto.config.CurrencyRatesMapRequest.prototype.hasIncludeMissing = function() {
|
|
6746
|
+
return jspb.Message.getField(this, 5) != null;
|
|
4773
6747
|
};
|
|
4774
6748
|
|
|
4775
6749
|
|
|
@@ -4779,7 +6753,7 @@ proto.config.CurrenciesRatesRequest.prototype.setCurrencyTo = function(value) {
|
|
|
4779
6753
|
* @private {!Array<number>}
|
|
4780
6754
|
* @const
|
|
4781
6755
|
*/
|
|
4782
|
-
proto.config.
|
|
6756
|
+
proto.config.CurrencyRatesMapResponse.repeatedFields_ = [2];
|
|
4783
6757
|
|
|
4784
6758
|
|
|
4785
6759
|
|
|
@@ -4796,8 +6770,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4796
6770
|
* http://goto/soy-param-migration
|
|
4797
6771
|
* @return {!Object}
|
|
4798
6772
|
*/
|
|
4799
|
-
proto.config.
|
|
4800
|
-
return proto.config.
|
|
6773
|
+
proto.config.CurrencyRatesMapResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6774
|
+
return proto.config.CurrencyRatesMapResponse.toObject(opt_includeInstance, this);
|
|
4801
6775
|
};
|
|
4802
6776
|
|
|
4803
6777
|
|
|
@@ -4806,16 +6780,15 @@ proto.config.RefreshCurrenciesRatesRequest.prototype.toObject = function(opt_inc
|
|
|
4806
6780
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4807
6781
|
* the JSPB instance for transitional soy proto support:
|
|
4808
6782
|
* http://goto/soy-param-migration
|
|
4809
|
-
* @param {!proto.config.
|
|
6783
|
+
* @param {!proto.config.CurrencyRatesMapResponse} msg The msg instance to transform.
|
|
4810
6784
|
* @return {!Object}
|
|
4811
6785
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4812
6786
|
*/
|
|
4813
|
-
proto.config.
|
|
6787
|
+
proto.config.CurrencyRatesMapResponse.toObject = function(includeInstance, msg) {
|
|
4814
6788
|
var f, obj = {
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
currencyTo: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
6789
|
+
baseCurrency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6790
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
6791
|
+
proto.config.CurrencyRateItem.toObject, includeInstance)
|
|
4819
6792
|
};
|
|
4820
6793
|
|
|
4821
6794
|
if (includeInstance) {
|
|
@@ -4829,23 +6802,23 @@ proto.config.RefreshCurrenciesRatesRequest.toObject = function(includeInstance,
|
|
|
4829
6802
|
/**
|
|
4830
6803
|
* Deserializes binary data (in protobuf wire format).
|
|
4831
6804
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4832
|
-
* @return {!proto.config.
|
|
6805
|
+
* @return {!proto.config.CurrencyRatesMapResponse}
|
|
4833
6806
|
*/
|
|
4834
|
-
proto.config.
|
|
6807
|
+
proto.config.CurrencyRatesMapResponse.deserializeBinary = function(bytes) {
|
|
4835
6808
|
var reader = new jspb.BinaryReader(bytes);
|
|
4836
|
-
var msg = new proto.config.
|
|
4837
|
-
return proto.config.
|
|
6809
|
+
var msg = new proto.config.CurrencyRatesMapResponse;
|
|
6810
|
+
return proto.config.CurrencyRatesMapResponse.deserializeBinaryFromReader(msg, reader);
|
|
4838
6811
|
};
|
|
4839
6812
|
|
|
4840
6813
|
|
|
4841
6814
|
/**
|
|
4842
6815
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4843
6816
|
* given reader into the given message object.
|
|
4844
|
-
* @param {!proto.config.
|
|
6817
|
+
* @param {!proto.config.CurrencyRatesMapResponse} msg The message object to deserialize into.
|
|
4845
6818
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4846
|
-
* @return {!proto.config.
|
|
6819
|
+
* @return {!proto.config.CurrencyRatesMapResponse}
|
|
4847
6820
|
*/
|
|
4848
|
-
proto.config.
|
|
6821
|
+
proto.config.CurrencyRatesMapResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4849
6822
|
while (reader.nextField()) {
|
|
4850
6823
|
if (reader.isEndGroup()) {
|
|
4851
6824
|
break;
|
|
@@ -4854,19 +6827,12 @@ proto.config.RefreshCurrenciesRatesRequest.deserializeBinaryFromReader = functio
|
|
|
4854
6827
|
switch (field) {
|
|
4855
6828
|
case 1:
|
|
4856
6829
|
var value = /** @type {string} */ (reader.readString());
|
|
4857
|
-
msg.
|
|
6830
|
+
msg.setBaseCurrency(value);
|
|
4858
6831
|
break;
|
|
4859
6832
|
case 2:
|
|
4860
|
-
var value =
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
case 3:
|
|
4864
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4865
|
-
msg.addCurrencyFrom(value);
|
|
4866
|
-
break;
|
|
4867
|
-
case 4:
|
|
4868
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4869
|
-
msg.setCurrencyTo(value);
|
|
6833
|
+
var value = new proto.config.CurrencyRateItem;
|
|
6834
|
+
reader.readMessage(value,proto.config.CurrencyRateItem.deserializeBinaryFromReader);
|
|
6835
|
+
msg.addItems(value);
|
|
4870
6836
|
break;
|
|
4871
6837
|
default:
|
|
4872
6838
|
reader.skipField();
|
|
@@ -4881,9 +6847,9 @@ proto.config.RefreshCurrenciesRatesRequest.deserializeBinaryFromReader = functio
|
|
|
4881
6847
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4882
6848
|
* @return {!Uint8Array}
|
|
4883
6849
|
*/
|
|
4884
|
-
proto.config.
|
|
6850
|
+
proto.config.CurrencyRatesMapResponse.prototype.serializeBinary = function() {
|
|
4885
6851
|
var writer = new jspb.BinaryWriter();
|
|
4886
|
-
proto.config.
|
|
6852
|
+
proto.config.CurrencyRatesMapResponse.serializeBinaryToWriter(this, writer);
|
|
4887
6853
|
return writer.getResultBuffer();
|
|
4888
6854
|
};
|
|
4889
6855
|
|
|
@@ -4891,149 +6857,83 @@ proto.config.RefreshCurrenciesRatesRequest.prototype.serializeBinary = function(
|
|
|
4891
6857
|
/**
|
|
4892
6858
|
* Serializes the given message to binary data (in protobuf wire
|
|
4893
6859
|
* format), writing to the given BinaryWriter.
|
|
4894
|
-
* @param {!proto.config.
|
|
6860
|
+
* @param {!proto.config.CurrencyRatesMapResponse} message
|
|
4895
6861
|
* @param {!jspb.BinaryWriter} writer
|
|
4896
6862
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4897
6863
|
*/
|
|
4898
|
-
proto.config.
|
|
6864
|
+
proto.config.CurrencyRatesMapResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4899
6865
|
var f = undefined;
|
|
4900
|
-
f = message.
|
|
6866
|
+
f = message.getBaseCurrency();
|
|
4901
6867
|
if (f.length > 0) {
|
|
4902
6868
|
writer.writeString(
|
|
4903
6869
|
1,
|
|
4904
6870
|
f
|
|
4905
6871
|
);
|
|
4906
6872
|
}
|
|
4907
|
-
f = message.
|
|
4908
|
-
if (f.length > 0) {
|
|
4909
|
-
writer.writeString(
|
|
4910
|
-
2,
|
|
4911
|
-
f
|
|
4912
|
-
);
|
|
4913
|
-
}
|
|
4914
|
-
f = message.getCurrencyFromList();
|
|
6873
|
+
f = message.getItemsList();
|
|
4915
6874
|
if (f.length > 0) {
|
|
4916
|
-
writer.
|
|
4917
|
-
|
|
4918
|
-
f
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
if (f != null) {
|
|
4923
|
-
writer.writeString(
|
|
4924
|
-
4,
|
|
4925
|
-
f
|
|
4926
|
-
);
|
|
4927
|
-
}
|
|
4928
|
-
};
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
/**
|
|
4932
|
-
* optional string environment = 1;
|
|
4933
|
-
* @return {string}
|
|
4934
|
-
*/
|
|
4935
|
-
proto.config.RefreshCurrenciesRatesRequest.prototype.getEnvironment = function() {
|
|
4936
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4937
|
-
};
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
/**
|
|
4941
|
-
* @param {string} value
|
|
4942
|
-
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
4943
|
-
*/
|
|
4944
|
-
proto.config.RefreshCurrenciesRatesRequest.prototype.setEnvironment = function(value) {
|
|
4945
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4946
|
-
};
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
/**
|
|
4950
|
-
* optional string customer = 2;
|
|
4951
|
-
* @return {string}
|
|
4952
|
-
*/
|
|
4953
|
-
proto.config.RefreshCurrenciesRatesRequest.prototype.getCustomer = function() {
|
|
4954
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4955
|
-
};
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
/**
|
|
4959
|
-
* @param {string} value
|
|
4960
|
-
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
4961
|
-
*/
|
|
4962
|
-
proto.config.RefreshCurrenciesRatesRequest.prototype.setCustomer = function(value) {
|
|
4963
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4964
|
-
};
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
/**
|
|
4968
|
-
* repeated string currency_from = 3;
|
|
4969
|
-
* @return {!Array<string>}
|
|
4970
|
-
*/
|
|
4971
|
-
proto.config.RefreshCurrenciesRatesRequest.prototype.getCurrencyFromList = function() {
|
|
4972
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
6875
|
+
writer.writeRepeatedMessage(
|
|
6876
|
+
2,
|
|
6877
|
+
f,
|
|
6878
|
+
proto.config.CurrencyRateItem.serializeBinaryToWriter
|
|
6879
|
+
);
|
|
6880
|
+
}
|
|
4973
6881
|
};
|
|
4974
6882
|
|
|
4975
6883
|
|
|
4976
6884
|
/**
|
|
4977
|
-
*
|
|
4978
|
-
* @return {
|
|
6885
|
+
* optional string base_currency = 1;
|
|
6886
|
+
* @return {string}
|
|
4979
6887
|
*/
|
|
4980
|
-
proto.config.
|
|
4981
|
-
return jspb.Message.
|
|
6888
|
+
proto.config.CurrencyRatesMapResponse.prototype.getBaseCurrency = function() {
|
|
6889
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4982
6890
|
};
|
|
4983
6891
|
|
|
4984
6892
|
|
|
4985
6893
|
/**
|
|
4986
6894
|
* @param {string} value
|
|
4987
|
-
* @
|
|
4988
|
-
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
4989
|
-
*/
|
|
4990
|
-
proto.config.RefreshCurrenciesRatesRequest.prototype.addCurrencyFrom = function(value, opt_index) {
|
|
4991
|
-
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
4992
|
-
};
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
/**
|
|
4996
|
-
* Clears the list making it empty but non-null.
|
|
4997
|
-
* @return {!proto.config.RefreshCurrenciesRatesRequest} returns this
|
|
6895
|
+
* @return {!proto.config.CurrencyRatesMapResponse} returns this
|
|
4998
6896
|
*/
|
|
4999
|
-
proto.config.
|
|
5000
|
-
return
|
|
6897
|
+
proto.config.CurrencyRatesMapResponse.prototype.setBaseCurrency = function(value) {
|
|
6898
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5001
6899
|
};
|
|
5002
6900
|
|
|
5003
6901
|
|
|
5004
6902
|
/**
|
|
5005
|
-
*
|
|
5006
|
-
* @return {
|
|
6903
|
+
* repeated CurrencyRateItem items = 2;
|
|
6904
|
+
* @return {!Array<!proto.config.CurrencyRateItem>}
|
|
5007
6905
|
*/
|
|
5008
|
-
proto.config.
|
|
5009
|
-
return /** @type
|
|
6906
|
+
proto.config.CurrencyRatesMapResponse.prototype.getItemsList = function() {
|
|
6907
|
+
return /** @type{!Array<!proto.config.CurrencyRateItem>} */ (
|
|
6908
|
+
jspb.Message.getRepeatedWrapperField(this, proto.config.CurrencyRateItem, 2));
|
|
5010
6909
|
};
|
|
5011
6910
|
|
|
5012
6911
|
|
|
5013
6912
|
/**
|
|
5014
|
-
* @param {
|
|
5015
|
-
* @return {!proto.config.
|
|
5016
|
-
|
|
5017
|
-
proto.config.
|
|
5018
|
-
return jspb.Message.
|
|
6913
|
+
* @param {!Array<!proto.config.CurrencyRateItem>} value
|
|
6914
|
+
* @return {!proto.config.CurrencyRatesMapResponse} returns this
|
|
6915
|
+
*/
|
|
6916
|
+
proto.config.CurrencyRatesMapResponse.prototype.setItemsList = function(value) {
|
|
6917
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
5019
6918
|
};
|
|
5020
6919
|
|
|
5021
6920
|
|
|
5022
6921
|
/**
|
|
5023
|
-
*
|
|
5024
|
-
* @
|
|
6922
|
+
* @param {!proto.config.CurrencyRateItem=} opt_value
|
|
6923
|
+
* @param {number=} opt_index
|
|
6924
|
+
* @return {!proto.config.CurrencyRateItem}
|
|
5025
6925
|
*/
|
|
5026
|
-
proto.config.
|
|
5027
|
-
return jspb.Message.
|
|
6926
|
+
proto.config.CurrencyRatesMapResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
6927
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.config.CurrencyRateItem, opt_index);
|
|
5028
6928
|
};
|
|
5029
6929
|
|
|
5030
6930
|
|
|
5031
6931
|
/**
|
|
5032
|
-
*
|
|
5033
|
-
* @return {
|
|
6932
|
+
* Clears the list making it empty but non-null.
|
|
6933
|
+
* @return {!proto.config.CurrencyRatesMapResponse} returns this
|
|
5034
6934
|
*/
|
|
5035
|
-
proto.config.
|
|
5036
|
-
return
|
|
6935
|
+
proto.config.CurrencyRatesMapResponse.prototype.clearItemsList = function() {
|
|
6936
|
+
return this.setItemsList([]);
|
|
5037
6937
|
};
|
|
5038
6938
|
|
|
5039
6939
|
|
|
@@ -5053,8 +6953,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5053
6953
|
* http://goto/soy-param-migration
|
|
5054
6954
|
* @return {!Object}
|
|
5055
6955
|
*/
|
|
5056
|
-
proto.config.
|
|
5057
|
-
return proto.config.
|
|
6956
|
+
proto.config.SetManualCurrencyRateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6957
|
+
return proto.config.SetManualCurrencyRateRequest.toObject(opt_includeInstance, this);
|
|
5058
6958
|
};
|
|
5059
6959
|
|
|
5060
6960
|
|
|
@@ -5063,18 +6963,20 @@ proto.config.CurrencyRateItem.prototype.toObject = function(opt_includeInstance)
|
|
|
5063
6963
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5064
6964
|
* the JSPB instance for transitional soy proto support:
|
|
5065
6965
|
* http://goto/soy-param-migration
|
|
5066
|
-
* @param {!proto.config.
|
|
6966
|
+
* @param {!proto.config.SetManualCurrencyRateRequest} msg The msg instance to transform.
|
|
5067
6967
|
* @return {!Object}
|
|
5068
6968
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5069
6969
|
*/
|
|
5070
|
-
proto.config.
|
|
6970
|
+
proto.config.SetManualCurrencyRateRequest.toObject = function(includeInstance, msg) {
|
|
5071
6971
|
var f, obj = {
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
6972
|
+
environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6973
|
+
customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6974
|
+
currencyFrom: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6975
|
+
currencyTo: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6976
|
+
baseCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6977
|
+
rate: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
6978
|
+
expiresInMinutes: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
6979
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
5078
6980
|
};
|
|
5079
6981
|
|
|
5080
6982
|
if (includeInstance) {
|
|
@@ -5088,23 +6990,23 @@ proto.config.CurrencyRateItem.toObject = function(includeInstance, msg) {
|
|
|
5088
6990
|
/**
|
|
5089
6991
|
* Deserializes binary data (in protobuf wire format).
|
|
5090
6992
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5091
|
-
* @return {!proto.config.
|
|
6993
|
+
* @return {!proto.config.SetManualCurrencyRateRequest}
|
|
5092
6994
|
*/
|
|
5093
|
-
proto.config.
|
|
6995
|
+
proto.config.SetManualCurrencyRateRequest.deserializeBinary = function(bytes) {
|
|
5094
6996
|
var reader = new jspb.BinaryReader(bytes);
|
|
5095
|
-
var msg = new proto.config.
|
|
5096
|
-
return proto.config.
|
|
6997
|
+
var msg = new proto.config.SetManualCurrencyRateRequest;
|
|
6998
|
+
return proto.config.SetManualCurrencyRateRequest.deserializeBinaryFromReader(msg, reader);
|
|
5097
6999
|
};
|
|
5098
7000
|
|
|
5099
7001
|
|
|
5100
7002
|
/**
|
|
5101
7003
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5102
7004
|
* given reader into the given message object.
|
|
5103
|
-
* @param {!proto.config.
|
|
7005
|
+
* @param {!proto.config.SetManualCurrencyRateRequest} msg The message object to deserialize into.
|
|
5104
7006
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5105
|
-
* @return {!proto.config.
|
|
7007
|
+
* @return {!proto.config.SetManualCurrencyRateRequest}
|
|
5106
7008
|
*/
|
|
5107
|
-
proto.config.
|
|
7009
|
+
proto.config.SetManualCurrencyRateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5108
7010
|
while (reader.nextField()) {
|
|
5109
7011
|
if (reader.isEndGroup()) {
|
|
5110
7012
|
break;
|
|
@@ -5113,27 +7015,35 @@ proto.config.CurrencyRateItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
5113
7015
|
switch (field) {
|
|
5114
7016
|
case 1:
|
|
5115
7017
|
var value = /** @type {string} */ (reader.readString());
|
|
5116
|
-
msg.
|
|
7018
|
+
msg.setEnvironment(value);
|
|
5117
7019
|
break;
|
|
5118
7020
|
case 2:
|
|
5119
7021
|
var value = /** @type {string} */ (reader.readString());
|
|
5120
|
-
msg.
|
|
7022
|
+
msg.setCustomer(value);
|
|
5121
7023
|
break;
|
|
5122
7024
|
case 3:
|
|
5123
|
-
var value = /** @type {
|
|
5124
|
-
msg.
|
|
7025
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7026
|
+
msg.setCurrencyFrom(value);
|
|
5125
7027
|
break;
|
|
5126
7028
|
case 4:
|
|
5127
7029
|
var value = /** @type {string} */ (reader.readString());
|
|
5128
|
-
msg.
|
|
7030
|
+
msg.setCurrencyTo(value);
|
|
5129
7031
|
break;
|
|
5130
7032
|
case 5:
|
|
5131
7033
|
var value = /** @type {string} */ (reader.readString());
|
|
5132
|
-
msg.
|
|
7034
|
+
msg.setBaseCurrency(value);
|
|
5133
7035
|
break;
|
|
5134
7036
|
case 6:
|
|
7037
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
7038
|
+
msg.setRate(value);
|
|
7039
|
+
break;
|
|
7040
|
+
case 7:
|
|
7041
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7042
|
+
msg.setExpiresInMinutes(value);
|
|
7043
|
+
break;
|
|
7044
|
+
case 8:
|
|
5135
7045
|
var value = /** @type {string} */ (reader.readString());
|
|
5136
|
-
msg.
|
|
7046
|
+
msg.setUpdatedBy(value);
|
|
5137
7047
|
break;
|
|
5138
7048
|
default:
|
|
5139
7049
|
reader.skipField();
|
|
@@ -5148,9 +7058,9 @@ proto.config.CurrencyRateItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
5148
7058
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5149
7059
|
* @return {!Uint8Array}
|
|
5150
7060
|
*/
|
|
5151
|
-
proto.config.
|
|
7061
|
+
proto.config.SetManualCurrencyRateRequest.prototype.serializeBinary = function() {
|
|
5152
7062
|
var writer = new jspb.BinaryWriter();
|
|
5153
|
-
proto.config.
|
|
7063
|
+
proto.config.SetManualCurrencyRateRequest.serializeBinaryToWriter(this, writer);
|
|
5154
7064
|
return writer.getResultBuffer();
|
|
5155
7065
|
};
|
|
5156
7066
|
|
|
@@ -5158,29 +7068,29 @@ proto.config.CurrencyRateItem.prototype.serializeBinary = function() {
|
|
|
5158
7068
|
/**
|
|
5159
7069
|
* Serializes the given message to binary data (in protobuf wire
|
|
5160
7070
|
* format), writing to the given BinaryWriter.
|
|
5161
|
-
* @param {!proto.config.
|
|
7071
|
+
* @param {!proto.config.SetManualCurrencyRateRequest} message
|
|
5162
7072
|
* @param {!jspb.BinaryWriter} writer
|
|
5163
7073
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5164
7074
|
*/
|
|
5165
|
-
proto.config.
|
|
7075
|
+
proto.config.SetManualCurrencyRateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5166
7076
|
var f = undefined;
|
|
5167
|
-
f = message.
|
|
7077
|
+
f = message.getEnvironment();
|
|
5168
7078
|
if (f.length > 0) {
|
|
5169
7079
|
writer.writeString(
|
|
5170
7080
|
1,
|
|
5171
7081
|
f
|
|
5172
7082
|
);
|
|
5173
7083
|
}
|
|
5174
|
-
f = message.
|
|
7084
|
+
f = message.getCustomer();
|
|
5175
7085
|
if (f.length > 0) {
|
|
5176
7086
|
writer.writeString(
|
|
5177
7087
|
2,
|
|
5178
7088
|
f
|
|
5179
7089
|
);
|
|
5180
7090
|
}
|
|
5181
|
-
f = message.
|
|
5182
|
-
if (f
|
|
5183
|
-
writer.
|
|
7091
|
+
f = message.getCurrencyFrom();
|
|
7092
|
+
if (f.length > 0) {
|
|
7093
|
+
writer.writeString(
|
|
5184
7094
|
3,
|
|
5185
7095
|
f
|
|
5186
7096
|
);
|
|
@@ -5199,10 +7109,24 @@ proto.config.CurrencyRateItem.serializeBinaryToWriter = function(message, writer
|
|
|
5199
7109
|
f
|
|
5200
7110
|
);
|
|
5201
7111
|
}
|
|
5202
|
-
f =
|
|
7112
|
+
f = message.getRate();
|
|
7113
|
+
if (f !== 0.0) {
|
|
7114
|
+
writer.writeDouble(
|
|
7115
|
+
6,
|
|
7116
|
+
f
|
|
7117
|
+
);
|
|
7118
|
+
}
|
|
7119
|
+
f = message.getExpiresInMinutes();
|
|
7120
|
+
if (f !== 0) {
|
|
7121
|
+
writer.writeInt32(
|
|
7122
|
+
7,
|
|
7123
|
+
f
|
|
7124
|
+
);
|
|
7125
|
+
}
|
|
7126
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
5203
7127
|
if (f != null) {
|
|
5204
7128
|
writer.writeString(
|
|
5205
|
-
|
|
7129
|
+
8,
|
|
5206
7130
|
f
|
|
5207
7131
|
);
|
|
5208
7132
|
}
|
|
@@ -5210,82 +7134,82 @@ proto.config.CurrencyRateItem.serializeBinaryToWriter = function(message, writer
|
|
|
5210
7134
|
|
|
5211
7135
|
|
|
5212
7136
|
/**
|
|
5213
|
-
* optional string
|
|
7137
|
+
* optional string environment = 1;
|
|
5214
7138
|
* @return {string}
|
|
5215
7139
|
*/
|
|
5216
|
-
proto.config.
|
|
7140
|
+
proto.config.SetManualCurrencyRateRequest.prototype.getEnvironment = function() {
|
|
5217
7141
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5218
7142
|
};
|
|
5219
7143
|
|
|
5220
7144
|
|
|
5221
7145
|
/**
|
|
5222
7146
|
* @param {string} value
|
|
5223
|
-
* @return {!proto.config.
|
|
7147
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
5224
7148
|
*/
|
|
5225
|
-
proto.config.
|
|
7149
|
+
proto.config.SetManualCurrencyRateRequest.prototype.setEnvironment = function(value) {
|
|
5226
7150
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5227
7151
|
};
|
|
5228
7152
|
|
|
5229
7153
|
|
|
5230
7154
|
/**
|
|
5231
|
-
* optional string
|
|
7155
|
+
* optional string customer = 2;
|
|
5232
7156
|
* @return {string}
|
|
5233
7157
|
*/
|
|
5234
|
-
proto.config.
|
|
7158
|
+
proto.config.SetManualCurrencyRateRequest.prototype.getCustomer = function() {
|
|
5235
7159
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5236
7160
|
};
|
|
5237
7161
|
|
|
5238
7162
|
|
|
5239
7163
|
/**
|
|
5240
7164
|
* @param {string} value
|
|
5241
|
-
* @return {!proto.config.
|
|
7165
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
5242
7166
|
*/
|
|
5243
|
-
proto.config.
|
|
7167
|
+
proto.config.SetManualCurrencyRateRequest.prototype.setCustomer = function(value) {
|
|
5244
7168
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5245
7169
|
};
|
|
5246
7170
|
|
|
5247
7171
|
|
|
5248
7172
|
/**
|
|
5249
|
-
* optional
|
|
5250
|
-
* @return {
|
|
7173
|
+
* optional string currency_from = 3;
|
|
7174
|
+
* @return {string}
|
|
5251
7175
|
*/
|
|
5252
|
-
proto.config.
|
|
5253
|
-
return /** @type {
|
|
7176
|
+
proto.config.SetManualCurrencyRateRequest.prototype.getCurrencyFrom = function() {
|
|
7177
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5254
7178
|
};
|
|
5255
7179
|
|
|
5256
7180
|
|
|
5257
7181
|
/**
|
|
5258
|
-
* @param {
|
|
5259
|
-
* @return {!proto.config.
|
|
7182
|
+
* @param {string} value
|
|
7183
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
5260
7184
|
*/
|
|
5261
|
-
proto.config.
|
|
5262
|
-
return jspb.Message.
|
|
7185
|
+
proto.config.SetManualCurrencyRateRequest.prototype.setCurrencyFrom = function(value) {
|
|
7186
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5263
7187
|
};
|
|
5264
7188
|
|
|
5265
7189
|
|
|
5266
7190
|
/**
|
|
5267
|
-
* optional string
|
|
7191
|
+
* optional string currency_to = 4;
|
|
5268
7192
|
* @return {string}
|
|
5269
7193
|
*/
|
|
5270
|
-
proto.config.
|
|
7194
|
+
proto.config.SetManualCurrencyRateRequest.prototype.getCurrencyTo = function() {
|
|
5271
7195
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5272
7196
|
};
|
|
5273
7197
|
|
|
5274
7198
|
|
|
5275
7199
|
/**
|
|
5276
7200
|
* @param {string} value
|
|
5277
|
-
* @return {!proto.config.
|
|
7201
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
5278
7202
|
*/
|
|
5279
|
-
proto.config.
|
|
7203
|
+
proto.config.SetManualCurrencyRateRequest.prototype.setCurrencyTo = function(value) {
|
|
5280
7204
|
return jspb.Message.setField(this, 4, value);
|
|
5281
7205
|
};
|
|
5282
7206
|
|
|
5283
7207
|
|
|
5284
7208
|
/**
|
|
5285
7209
|
* Clears the field making it undefined.
|
|
5286
|
-
* @return {!proto.config.
|
|
7210
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
5287
7211
|
*/
|
|
5288
|
-
proto.config.
|
|
7212
|
+
proto.config.SetManualCurrencyRateRequest.prototype.clearCurrencyTo = function() {
|
|
5289
7213
|
return jspb.Message.setField(this, 4, undefined);
|
|
5290
7214
|
};
|
|
5291
7215
|
|
|
@@ -5294,34 +7218,34 @@ proto.config.CurrencyRateItem.prototype.clearSource = function() {
|
|
|
5294
7218
|
* Returns whether this field is set.
|
|
5295
7219
|
* @return {boolean}
|
|
5296
7220
|
*/
|
|
5297
|
-
proto.config.
|
|
7221
|
+
proto.config.SetManualCurrencyRateRequest.prototype.hasCurrencyTo = function() {
|
|
5298
7222
|
return jspb.Message.getField(this, 4) != null;
|
|
5299
7223
|
};
|
|
5300
7224
|
|
|
5301
7225
|
|
|
5302
7226
|
/**
|
|
5303
|
-
* optional string
|
|
7227
|
+
* optional string base_currency = 5;
|
|
5304
7228
|
* @return {string}
|
|
5305
7229
|
*/
|
|
5306
|
-
proto.config.
|
|
7230
|
+
proto.config.SetManualCurrencyRateRequest.prototype.getBaseCurrency = function() {
|
|
5307
7231
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5308
7232
|
};
|
|
5309
7233
|
|
|
5310
7234
|
|
|
5311
7235
|
/**
|
|
5312
7236
|
* @param {string} value
|
|
5313
|
-
* @return {!proto.config.
|
|
7237
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
5314
7238
|
*/
|
|
5315
|
-
proto.config.
|
|
7239
|
+
proto.config.SetManualCurrencyRateRequest.prototype.setBaseCurrency = function(value) {
|
|
5316
7240
|
return jspb.Message.setField(this, 5, value);
|
|
5317
7241
|
};
|
|
5318
7242
|
|
|
5319
7243
|
|
|
5320
7244
|
/**
|
|
5321
7245
|
* Clears the field making it undefined.
|
|
5322
|
-
* @return {!proto.config.
|
|
7246
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
5323
7247
|
*/
|
|
5324
|
-
proto.config.
|
|
7248
|
+
proto.config.SetManualCurrencyRateRequest.prototype.clearBaseCurrency = function() {
|
|
5325
7249
|
return jspb.Message.setField(this, 5, undefined);
|
|
5326
7250
|
};
|
|
5327
7251
|
|
|
@@ -5330,35 +7254,71 @@ proto.config.CurrencyRateItem.prototype.clearFetchedAt = function() {
|
|
|
5330
7254
|
* Returns whether this field is set.
|
|
5331
7255
|
* @return {boolean}
|
|
5332
7256
|
*/
|
|
5333
|
-
proto.config.
|
|
7257
|
+
proto.config.SetManualCurrencyRateRequest.prototype.hasBaseCurrency = function() {
|
|
5334
7258
|
return jspb.Message.getField(this, 5) != null;
|
|
5335
7259
|
};
|
|
5336
7260
|
|
|
5337
7261
|
|
|
5338
7262
|
/**
|
|
5339
|
-
* optional
|
|
7263
|
+
* optional double rate = 6;
|
|
7264
|
+
* @return {number}
|
|
7265
|
+
*/
|
|
7266
|
+
proto.config.SetManualCurrencyRateRequest.prototype.getRate = function() {
|
|
7267
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
7268
|
+
};
|
|
7269
|
+
|
|
7270
|
+
|
|
7271
|
+
/**
|
|
7272
|
+
* @param {number} value
|
|
7273
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
7274
|
+
*/
|
|
7275
|
+
proto.config.SetManualCurrencyRateRequest.prototype.setRate = function(value) {
|
|
7276
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
7277
|
+
};
|
|
7278
|
+
|
|
7279
|
+
|
|
7280
|
+
/**
|
|
7281
|
+
* optional int32 expires_in_minutes = 7;
|
|
7282
|
+
* @return {number}
|
|
7283
|
+
*/
|
|
7284
|
+
proto.config.SetManualCurrencyRateRequest.prototype.getExpiresInMinutes = function() {
|
|
7285
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
7286
|
+
};
|
|
7287
|
+
|
|
7288
|
+
|
|
7289
|
+
/**
|
|
7290
|
+
* @param {number} value
|
|
7291
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
7292
|
+
*/
|
|
7293
|
+
proto.config.SetManualCurrencyRateRequest.prototype.setExpiresInMinutes = function(value) {
|
|
7294
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
7295
|
+
};
|
|
7296
|
+
|
|
7297
|
+
|
|
7298
|
+
/**
|
|
7299
|
+
* optional string updated_by = 8;
|
|
5340
7300
|
* @return {string}
|
|
5341
7301
|
*/
|
|
5342
|
-
proto.config.
|
|
5343
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
7302
|
+
proto.config.SetManualCurrencyRateRequest.prototype.getUpdatedBy = function() {
|
|
7303
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
5344
7304
|
};
|
|
5345
7305
|
|
|
5346
7306
|
|
|
5347
7307
|
/**
|
|
5348
7308
|
* @param {string} value
|
|
5349
|
-
* @return {!proto.config.
|
|
7309
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
5350
7310
|
*/
|
|
5351
|
-
proto.config.
|
|
5352
|
-
return jspb.Message.setField(this,
|
|
7311
|
+
proto.config.SetManualCurrencyRateRequest.prototype.setUpdatedBy = function(value) {
|
|
7312
|
+
return jspb.Message.setField(this, 8, value);
|
|
5353
7313
|
};
|
|
5354
7314
|
|
|
5355
7315
|
|
|
5356
7316
|
/**
|
|
5357
7317
|
* Clears the field making it undefined.
|
|
5358
|
-
* @return {!proto.config.
|
|
7318
|
+
* @return {!proto.config.SetManualCurrencyRateRequest} returns this
|
|
5359
7319
|
*/
|
|
5360
|
-
proto.config.
|
|
5361
|
-
return jspb.Message.setField(this,
|
|
7320
|
+
proto.config.SetManualCurrencyRateRequest.prototype.clearUpdatedBy = function() {
|
|
7321
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
5362
7322
|
};
|
|
5363
7323
|
|
|
5364
7324
|
|
|
@@ -5366,19 +7326,12 @@ proto.config.CurrencyRateItem.prototype.clearUpdatedAt = function() {
|
|
|
5366
7326
|
* Returns whether this field is set.
|
|
5367
7327
|
* @return {boolean}
|
|
5368
7328
|
*/
|
|
5369
|
-
proto.config.
|
|
5370
|
-
return jspb.Message.getField(this,
|
|
7329
|
+
proto.config.SetManualCurrencyRateRequest.prototype.hasUpdatedBy = function() {
|
|
7330
|
+
return jspb.Message.getField(this, 8) != null;
|
|
5371
7331
|
};
|
|
5372
7332
|
|
|
5373
7333
|
|
|
5374
7334
|
|
|
5375
|
-
/**
|
|
5376
|
-
* List of repeated fields within this message type.
|
|
5377
|
-
* @private {!Array<number>}
|
|
5378
|
-
* @const
|
|
5379
|
-
*/
|
|
5380
|
-
proto.config.CurrenciesRatesResponse.repeatedFields_ = [1];
|
|
5381
|
-
|
|
5382
7335
|
|
|
5383
7336
|
|
|
5384
7337
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5394,8 +7347,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5394
7347
|
* http://goto/soy-param-migration
|
|
5395
7348
|
* @return {!Object}
|
|
5396
7349
|
*/
|
|
5397
|
-
proto.config.
|
|
5398
|
-
return proto.config.
|
|
7350
|
+
proto.config.CurrencyRateItemResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7351
|
+
return proto.config.CurrencyRateItemResponse.toObject(opt_includeInstance, this);
|
|
5399
7352
|
};
|
|
5400
7353
|
|
|
5401
7354
|
|
|
@@ -5404,14 +7357,13 @@ proto.config.CurrenciesRatesResponse.prototype.toObject = function(opt_includeIn
|
|
|
5404
7357
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5405
7358
|
* the JSPB instance for transitional soy proto support:
|
|
5406
7359
|
* http://goto/soy-param-migration
|
|
5407
|
-
* @param {!proto.config.
|
|
7360
|
+
* @param {!proto.config.CurrencyRateItemResponse} msg The msg instance to transform.
|
|
5408
7361
|
* @return {!Object}
|
|
5409
7362
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5410
7363
|
*/
|
|
5411
|
-
proto.config.
|
|
7364
|
+
proto.config.CurrencyRateItemResponse.toObject = function(includeInstance, msg) {
|
|
5412
7365
|
var f, obj = {
|
|
5413
|
-
|
|
5414
|
-
proto.config.CurrencyRateItem.toObject, includeInstance)
|
|
7366
|
+
data: (f = msg.getData()) && proto.config.CurrencyRateItem.toObject(includeInstance, f)
|
|
5415
7367
|
};
|
|
5416
7368
|
|
|
5417
7369
|
if (includeInstance) {
|
|
@@ -5425,23 +7377,23 @@ proto.config.CurrenciesRatesResponse.toObject = function(includeInstance, msg) {
|
|
|
5425
7377
|
/**
|
|
5426
7378
|
* Deserializes binary data (in protobuf wire format).
|
|
5427
7379
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5428
|
-
* @return {!proto.config.
|
|
7380
|
+
* @return {!proto.config.CurrencyRateItemResponse}
|
|
5429
7381
|
*/
|
|
5430
|
-
proto.config.
|
|
7382
|
+
proto.config.CurrencyRateItemResponse.deserializeBinary = function(bytes) {
|
|
5431
7383
|
var reader = new jspb.BinaryReader(bytes);
|
|
5432
|
-
var msg = new proto.config.
|
|
5433
|
-
return proto.config.
|
|
7384
|
+
var msg = new proto.config.CurrencyRateItemResponse;
|
|
7385
|
+
return proto.config.CurrencyRateItemResponse.deserializeBinaryFromReader(msg, reader);
|
|
5434
7386
|
};
|
|
5435
7387
|
|
|
5436
7388
|
|
|
5437
7389
|
/**
|
|
5438
7390
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5439
7391
|
* given reader into the given message object.
|
|
5440
|
-
* @param {!proto.config.
|
|
7392
|
+
* @param {!proto.config.CurrencyRateItemResponse} msg The message object to deserialize into.
|
|
5441
7393
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5442
|
-
* @return {!proto.config.
|
|
7394
|
+
* @return {!proto.config.CurrencyRateItemResponse}
|
|
5443
7395
|
*/
|
|
5444
|
-
proto.config.
|
|
7396
|
+
proto.config.CurrencyRateItemResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5445
7397
|
while (reader.nextField()) {
|
|
5446
7398
|
if (reader.isEndGroup()) {
|
|
5447
7399
|
break;
|
|
@@ -5451,7 +7403,7 @@ proto.config.CurrenciesRatesResponse.deserializeBinaryFromReader = function(msg,
|
|
|
5451
7403
|
case 1:
|
|
5452
7404
|
var value = new proto.config.CurrencyRateItem;
|
|
5453
7405
|
reader.readMessage(value,proto.config.CurrencyRateItem.deserializeBinaryFromReader);
|
|
5454
|
-
msg.
|
|
7406
|
+
msg.setData(value);
|
|
5455
7407
|
break;
|
|
5456
7408
|
default:
|
|
5457
7409
|
reader.skipField();
|
|
@@ -5466,9 +7418,9 @@ proto.config.CurrenciesRatesResponse.deserializeBinaryFromReader = function(msg,
|
|
|
5466
7418
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5467
7419
|
* @return {!Uint8Array}
|
|
5468
7420
|
*/
|
|
5469
|
-
proto.config.
|
|
7421
|
+
proto.config.CurrencyRateItemResponse.prototype.serializeBinary = function() {
|
|
5470
7422
|
var writer = new jspb.BinaryWriter();
|
|
5471
|
-
proto.config.
|
|
7423
|
+
proto.config.CurrencyRateItemResponse.serializeBinaryToWriter(this, writer);
|
|
5472
7424
|
return writer.getResultBuffer();
|
|
5473
7425
|
};
|
|
5474
7426
|
|
|
@@ -5476,15 +7428,15 @@ proto.config.CurrenciesRatesResponse.prototype.serializeBinary = function() {
|
|
|
5476
7428
|
/**
|
|
5477
7429
|
* Serializes the given message to binary data (in protobuf wire
|
|
5478
7430
|
* format), writing to the given BinaryWriter.
|
|
5479
|
-
* @param {!proto.config.
|
|
7431
|
+
* @param {!proto.config.CurrencyRateItemResponse} message
|
|
5480
7432
|
* @param {!jspb.BinaryWriter} writer
|
|
5481
7433
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5482
7434
|
*/
|
|
5483
|
-
proto.config.
|
|
7435
|
+
proto.config.CurrencyRateItemResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5484
7436
|
var f = undefined;
|
|
5485
|
-
f = message.
|
|
5486
|
-
if (f
|
|
5487
|
-
writer.
|
|
7437
|
+
f = message.getData();
|
|
7438
|
+
if (f != null) {
|
|
7439
|
+
writer.writeMessage(
|
|
5488
7440
|
1,
|
|
5489
7441
|
f,
|
|
5490
7442
|
proto.config.CurrencyRateItem.serializeBinaryToWriter
|
|
@@ -5494,40 +7446,39 @@ proto.config.CurrenciesRatesResponse.serializeBinaryToWriter = function(message,
|
|
|
5494
7446
|
|
|
5495
7447
|
|
|
5496
7448
|
/**
|
|
5497
|
-
*
|
|
5498
|
-
* @return {
|
|
7449
|
+
* optional CurrencyRateItem data = 1;
|
|
7450
|
+
* @return {?proto.config.CurrencyRateItem}
|
|
5499
7451
|
*/
|
|
5500
|
-
proto.config.
|
|
5501
|
-
return /** @type{
|
|
5502
|
-
jspb.Message.
|
|
7452
|
+
proto.config.CurrencyRateItemResponse.prototype.getData = function() {
|
|
7453
|
+
return /** @type{?proto.config.CurrencyRateItem} */ (
|
|
7454
|
+
jspb.Message.getWrapperField(this, proto.config.CurrencyRateItem, 1));
|
|
5503
7455
|
};
|
|
5504
7456
|
|
|
5505
7457
|
|
|
5506
7458
|
/**
|
|
5507
|
-
* @param {
|
|
5508
|
-
* @return {!proto.config.
|
|
7459
|
+
* @param {?proto.config.CurrencyRateItem|undefined} value
|
|
7460
|
+
* @return {!proto.config.CurrencyRateItemResponse} returns this
|
|
5509
7461
|
*/
|
|
5510
|
-
proto.config.
|
|
5511
|
-
return jspb.Message.
|
|
7462
|
+
proto.config.CurrencyRateItemResponse.prototype.setData = function(value) {
|
|
7463
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
5512
7464
|
};
|
|
5513
7465
|
|
|
5514
7466
|
|
|
5515
7467
|
/**
|
|
5516
|
-
*
|
|
5517
|
-
* @
|
|
5518
|
-
* @return {!proto.config.CurrencyRateItem}
|
|
7468
|
+
* Clears the message field making it undefined.
|
|
7469
|
+
* @return {!proto.config.CurrencyRateItemResponse} returns this
|
|
5519
7470
|
*/
|
|
5520
|
-
proto.config.
|
|
5521
|
-
return
|
|
7471
|
+
proto.config.CurrencyRateItemResponse.prototype.clearData = function() {
|
|
7472
|
+
return this.setData(undefined);
|
|
5522
7473
|
};
|
|
5523
7474
|
|
|
5524
7475
|
|
|
5525
7476
|
/**
|
|
5526
|
-
*
|
|
5527
|
-
* @return {
|
|
7477
|
+
* Returns whether this field is set.
|
|
7478
|
+
* @return {boolean}
|
|
5528
7479
|
*/
|
|
5529
|
-
proto.config.
|
|
5530
|
-
return
|
|
7480
|
+
proto.config.CurrencyRateItemResponse.prototype.hasData = function() {
|
|
7481
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5531
7482
|
};
|
|
5532
7483
|
|
|
5533
7484
|
|