protobuf-platform 1.2.658 → 1.2.659
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/package.json +1 -1
- package/payment/payment.proto +68 -1
- package/payment/payment_grpc_pb.js +33 -0
- package/payment/payment_pb.js +2221 -3
- package/scripts/verify-precision-rg-contract.js +180 -0
- package/user/user.proto +57 -1
- package/user/user_grpc_pb.js +33 -0
- package/user/user_pb.js +1188 -0
package/payment/payment_pb.js
CHANGED
|
@@ -61,8 +61,12 @@ goog.exportSymbol('proto.payment.DepositWebHookRequest', null, global);
|
|
|
61
61
|
goog.exportSymbol('proto.payment.ExecuteGameplayPrecisionCommandRequest', null, global);
|
|
62
62
|
goog.exportSymbol('proto.payment.File', null, global);
|
|
63
63
|
goog.exportSymbol('proto.payment.FinancialOperationResponse', null, global);
|
|
64
|
+
goog.exportSymbol('proto.payment.GameplayPrecisionAccountingLeg', null, global);
|
|
64
65
|
goog.exportSymbol('proto.payment.GameplayPrecisionLeg', null, global);
|
|
66
|
+
goog.exportSymbol('proto.payment.GameplayPrecisionPreparation', null, global);
|
|
67
|
+
goog.exportSymbol('proto.payment.GameplayPrecisionPrepareMode', null, global);
|
|
65
68
|
goog.exportSymbol('proto.payment.GameplayPrecisionResult', null, global);
|
|
69
|
+
goog.exportSymbol('proto.payment.GameplayPrecisionRgEvidence', null, global);
|
|
66
70
|
goog.exportSymbol('proto.payment.GameplayPrecisionSessionRequest', null, global);
|
|
67
71
|
goog.exportSymbol('proto.payment.GetCurrenciesMetadataRequest', null, global);
|
|
68
72
|
goog.exportSymbol('proto.payment.GetCurrencyMetadataRequest', null, global);
|
|
@@ -110,6 +114,8 @@ goog.exportSymbol('proto.payment.PaymentStatusResponse', null, global);
|
|
|
110
114
|
goog.exportSymbol('proto.payment.PingRequest', null, global);
|
|
111
115
|
goog.exportSymbol('proto.payment.PongResponse', null, global);
|
|
112
116
|
goog.exportSymbol('proto.payment.PoorMethodsRequest', null, global);
|
|
117
|
+
goog.exportSymbol('proto.payment.PrepareGameplayPrecisionCommandRequest', null, global);
|
|
118
|
+
goog.exportSymbol('proto.payment.PrepareGameplayPrecisionCommandResponse', null, global);
|
|
113
119
|
goog.exportSymbol('proto.payment.ProcessedDepositResponse', null, global);
|
|
114
120
|
goog.exportSymbol('proto.payment.ProcessedWithdrawalResponse', null, global);
|
|
115
121
|
goog.exportSymbol('proto.payment.ProviderItem', null, global);
|
|
@@ -2707,6 +2713,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2707
2713
|
*/
|
|
2708
2714
|
proto.payment.GameplayPrecisionResult.displayName = 'proto.payment.GameplayPrecisionResult';
|
|
2709
2715
|
}
|
|
2716
|
+
/**
|
|
2717
|
+
* Generated by JsPbCodeGenerator.
|
|
2718
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2719
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2720
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2721
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2722
|
+
* valid.
|
|
2723
|
+
* @extends {jspb.Message}
|
|
2724
|
+
* @constructor
|
|
2725
|
+
*/
|
|
2726
|
+
proto.payment.GameplayPrecisionRgEvidence = function(opt_data) {
|
|
2727
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2728
|
+
};
|
|
2729
|
+
goog.inherits(proto.payment.GameplayPrecisionRgEvidence, jspb.Message);
|
|
2730
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2731
|
+
/**
|
|
2732
|
+
* @public
|
|
2733
|
+
* @override
|
|
2734
|
+
*/
|
|
2735
|
+
proto.payment.GameplayPrecisionRgEvidence.displayName = 'proto.payment.GameplayPrecisionRgEvidence';
|
|
2736
|
+
}
|
|
2737
|
+
/**
|
|
2738
|
+
* Generated by JsPbCodeGenerator.
|
|
2739
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2740
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2741
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2742
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2743
|
+
* valid.
|
|
2744
|
+
* @extends {jspb.Message}
|
|
2745
|
+
* @constructor
|
|
2746
|
+
*/
|
|
2747
|
+
proto.payment.GameplayPrecisionAccountingLeg = function(opt_data) {
|
|
2748
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2749
|
+
};
|
|
2750
|
+
goog.inherits(proto.payment.GameplayPrecisionAccountingLeg, jspb.Message);
|
|
2751
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2752
|
+
/**
|
|
2753
|
+
* @public
|
|
2754
|
+
* @override
|
|
2755
|
+
*/
|
|
2756
|
+
proto.payment.GameplayPrecisionAccountingLeg.displayName = 'proto.payment.GameplayPrecisionAccountingLeg';
|
|
2757
|
+
}
|
|
2758
|
+
/**
|
|
2759
|
+
* Generated by JsPbCodeGenerator.
|
|
2760
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2761
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2762
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2763
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2764
|
+
* valid.
|
|
2765
|
+
* @extends {jspb.Message}
|
|
2766
|
+
* @constructor
|
|
2767
|
+
*/
|
|
2768
|
+
proto.payment.GameplayPrecisionPreparation = function(opt_data) {
|
|
2769
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GameplayPrecisionPreparation.repeatedFields_, null);
|
|
2770
|
+
};
|
|
2771
|
+
goog.inherits(proto.payment.GameplayPrecisionPreparation, jspb.Message);
|
|
2772
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2773
|
+
/**
|
|
2774
|
+
* @public
|
|
2775
|
+
* @override
|
|
2776
|
+
*/
|
|
2777
|
+
proto.payment.GameplayPrecisionPreparation.displayName = 'proto.payment.GameplayPrecisionPreparation';
|
|
2778
|
+
}
|
|
2779
|
+
/**
|
|
2780
|
+
* Generated by JsPbCodeGenerator.
|
|
2781
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2782
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2783
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2784
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2785
|
+
* valid.
|
|
2786
|
+
* @extends {jspb.Message}
|
|
2787
|
+
* @constructor
|
|
2788
|
+
*/
|
|
2789
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest = function(opt_data) {
|
|
2790
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2791
|
+
};
|
|
2792
|
+
goog.inherits(proto.payment.PrepareGameplayPrecisionCommandRequest, jspb.Message);
|
|
2793
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2794
|
+
/**
|
|
2795
|
+
* @public
|
|
2796
|
+
* @override
|
|
2797
|
+
*/
|
|
2798
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.displayName = 'proto.payment.PrepareGameplayPrecisionCommandRequest';
|
|
2799
|
+
}
|
|
2800
|
+
/**
|
|
2801
|
+
* Generated by JsPbCodeGenerator.
|
|
2802
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2803
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2804
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2805
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2806
|
+
* valid.
|
|
2807
|
+
* @extends {jspb.Message}
|
|
2808
|
+
* @constructor
|
|
2809
|
+
*/
|
|
2810
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse = function(opt_data) {
|
|
2811
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2812
|
+
};
|
|
2813
|
+
goog.inherits(proto.payment.PrepareGameplayPrecisionCommandResponse, jspb.Message);
|
|
2814
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2815
|
+
/**
|
|
2816
|
+
* @public
|
|
2817
|
+
* @override
|
|
2818
|
+
*/
|
|
2819
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.displayName = 'proto.payment.PrepareGameplayPrecisionCommandResponse';
|
|
2820
|
+
}
|
|
2710
2821
|
|
|
2711
2822
|
|
|
2712
2823
|
|
|
@@ -53278,7 +53389,10 @@ proto.payment.ExecuteGameplayPrecisionCommandRequest.toObject = function(include
|
|
|
53278
53389
|
commandId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
53279
53390
|
callbackAction: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
53280
53391
|
legsList: jspb.Message.toObjectList(msg.getLegsList(),
|
|
53281
|
-
proto.payment.GameplayPrecisionLeg.toObject, includeInstance)
|
|
53392
|
+
proto.payment.GameplayPrecisionLeg.toObject, includeInstance),
|
|
53393
|
+
preparationGeneration: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
53394
|
+
preparationFingerprint: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
53395
|
+
rgAdmission: (f = msg.getRgAdmission()) && proto.payment.GameplayPrecisionRgEvidence.toObject(includeInstance, f)
|
|
53282
53396
|
};
|
|
53283
53397
|
|
|
53284
53398
|
if (includeInstance) {
|
|
@@ -53333,6 +53447,19 @@ proto.payment.ExecuteGameplayPrecisionCommandRequest.deserializeBinaryFromReader
|
|
|
53333
53447
|
reader.readMessage(value,proto.payment.GameplayPrecisionLeg.deserializeBinaryFromReader);
|
|
53334
53448
|
msg.addLegs(value);
|
|
53335
53449
|
break;
|
|
53450
|
+
case 5:
|
|
53451
|
+
var value = /** @type {string} */ (reader.readString());
|
|
53452
|
+
msg.setPreparationGeneration(value);
|
|
53453
|
+
break;
|
|
53454
|
+
case 6:
|
|
53455
|
+
var value = /** @type {string} */ (reader.readString());
|
|
53456
|
+
msg.setPreparationFingerprint(value);
|
|
53457
|
+
break;
|
|
53458
|
+
case 7:
|
|
53459
|
+
var value = new proto.payment.GameplayPrecisionRgEvidence;
|
|
53460
|
+
reader.readMessage(value,proto.payment.GameplayPrecisionRgEvidence.deserializeBinaryFromReader);
|
|
53461
|
+
msg.setRgAdmission(value);
|
|
53462
|
+
break;
|
|
53336
53463
|
default:
|
|
53337
53464
|
reader.skipField();
|
|
53338
53465
|
break;
|
|
@@ -53392,6 +53519,28 @@ proto.payment.ExecuteGameplayPrecisionCommandRequest.serializeBinaryToWriter = f
|
|
|
53392
53519
|
proto.payment.GameplayPrecisionLeg.serializeBinaryToWriter
|
|
53393
53520
|
);
|
|
53394
53521
|
}
|
|
53522
|
+
f = message.getPreparationGeneration();
|
|
53523
|
+
if (f.length > 0) {
|
|
53524
|
+
writer.writeString(
|
|
53525
|
+
5,
|
|
53526
|
+
f
|
|
53527
|
+
);
|
|
53528
|
+
}
|
|
53529
|
+
f = message.getPreparationFingerprint();
|
|
53530
|
+
if (f.length > 0) {
|
|
53531
|
+
writer.writeString(
|
|
53532
|
+
6,
|
|
53533
|
+
f
|
|
53534
|
+
);
|
|
53535
|
+
}
|
|
53536
|
+
f = message.getRgAdmission();
|
|
53537
|
+
if (f != null) {
|
|
53538
|
+
writer.writeMessage(
|
|
53539
|
+
7,
|
|
53540
|
+
f,
|
|
53541
|
+
proto.payment.GameplayPrecisionRgEvidence.serializeBinaryToWriter
|
|
53542
|
+
);
|
|
53543
|
+
}
|
|
53395
53544
|
};
|
|
53396
53545
|
|
|
53397
53546
|
|
|
@@ -53506,13 +53655,86 @@ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.clearLegsList = f
|
|
|
53506
53655
|
};
|
|
53507
53656
|
|
|
53508
53657
|
|
|
53658
|
+
/**
|
|
53659
|
+
* optional string preparation_generation = 5;
|
|
53660
|
+
* @return {string}
|
|
53661
|
+
*/
|
|
53662
|
+
proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getPreparationGeneration = function() {
|
|
53663
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
53664
|
+
};
|
|
53665
|
+
|
|
53666
|
+
|
|
53667
|
+
/**
|
|
53668
|
+
* @param {string} value
|
|
53669
|
+
* @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
|
|
53670
|
+
*/
|
|
53671
|
+
proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setPreparationGeneration = function(value) {
|
|
53672
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
53673
|
+
};
|
|
53674
|
+
|
|
53675
|
+
|
|
53676
|
+
/**
|
|
53677
|
+
* optional string preparation_fingerprint = 6;
|
|
53678
|
+
* @return {string}
|
|
53679
|
+
*/
|
|
53680
|
+
proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getPreparationFingerprint = function() {
|
|
53681
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
53682
|
+
};
|
|
53683
|
+
|
|
53684
|
+
|
|
53685
|
+
/**
|
|
53686
|
+
* @param {string} value
|
|
53687
|
+
* @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
|
|
53688
|
+
*/
|
|
53689
|
+
proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setPreparationFingerprint = function(value) {
|
|
53690
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
53691
|
+
};
|
|
53692
|
+
|
|
53693
|
+
|
|
53694
|
+
/**
|
|
53695
|
+
* optional GameplayPrecisionRgEvidence rg_admission = 7;
|
|
53696
|
+
* @return {?proto.payment.GameplayPrecisionRgEvidence}
|
|
53697
|
+
*/
|
|
53698
|
+
proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getRgAdmission = function() {
|
|
53699
|
+
return /** @type{?proto.payment.GameplayPrecisionRgEvidence} */ (
|
|
53700
|
+
jspb.Message.getWrapperField(this, proto.payment.GameplayPrecisionRgEvidence, 7));
|
|
53701
|
+
};
|
|
53702
|
+
|
|
53703
|
+
|
|
53704
|
+
/**
|
|
53705
|
+
* @param {?proto.payment.GameplayPrecisionRgEvidence|undefined} value
|
|
53706
|
+
* @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
|
|
53707
|
+
*/
|
|
53708
|
+
proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setRgAdmission = function(value) {
|
|
53709
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
53710
|
+
};
|
|
53711
|
+
|
|
53712
|
+
|
|
53713
|
+
/**
|
|
53714
|
+
* Clears the message field making it undefined.
|
|
53715
|
+
* @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
|
|
53716
|
+
*/
|
|
53717
|
+
proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.clearRgAdmission = function() {
|
|
53718
|
+
return this.setRgAdmission(undefined);
|
|
53719
|
+
};
|
|
53720
|
+
|
|
53721
|
+
|
|
53722
|
+
/**
|
|
53723
|
+
* Returns whether this field is set.
|
|
53724
|
+
* @return {boolean}
|
|
53725
|
+
*/
|
|
53726
|
+
proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.hasRgAdmission = function() {
|
|
53727
|
+
return jspb.Message.getField(this, 7) != null;
|
|
53728
|
+
};
|
|
53729
|
+
|
|
53730
|
+
|
|
53509
53731
|
|
|
53510
53732
|
/**
|
|
53511
53733
|
* List of repeated fields within this message type.
|
|
53512
53734
|
* @private {!Array<number>}
|
|
53513
53735
|
* @const
|
|
53514
53736
|
*/
|
|
53515
|
-
proto.payment.GameplayPrecisionResult.repeatedFields_ = [12];
|
|
53737
|
+
proto.payment.GameplayPrecisionResult.repeatedFields_ = [12,17];
|
|
53516
53738
|
|
|
53517
53739
|
|
|
53518
53740
|
|
|
@@ -53560,7 +53782,13 @@ proto.payment.GameplayPrecisionResult.toObject = function(includeInstance, msg)
|
|
|
53560
53782
|
providerBalanceNumerator: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
53561
53783
|
providerBalanceDenominator: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
53562
53784
|
providerBalanceDecimal: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
53563
|
-
responsePolicyVersion: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
53785
|
+
responsePolicyVersion: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
53786
|
+
accountingLegsList: jspb.Message.toObjectList(msg.getAccountingLegsList(),
|
|
53787
|
+
proto.payment.GameplayPrecisionAccountingLeg.toObject, includeInstance),
|
|
53788
|
+
preparationGeneration: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
53789
|
+
preparationFingerprint: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
53790
|
+
commandKey: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
53791
|
+
requestFingerprint: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
53564
53792
|
};
|
|
53565
53793
|
|
|
53566
53794
|
if (includeInstance) {
|
|
@@ -53661,6 +53889,27 @@ proto.payment.GameplayPrecisionResult.deserializeBinaryFromReader = function(msg
|
|
|
53661
53889
|
var value = /** @type {string} */ (reader.readString());
|
|
53662
53890
|
msg.setResponsePolicyVersion(value);
|
|
53663
53891
|
break;
|
|
53892
|
+
case 17:
|
|
53893
|
+
var value = new proto.payment.GameplayPrecisionAccountingLeg;
|
|
53894
|
+
reader.readMessage(value,proto.payment.GameplayPrecisionAccountingLeg.deserializeBinaryFromReader);
|
|
53895
|
+
msg.addAccountingLegs(value);
|
|
53896
|
+
break;
|
|
53897
|
+
case 18:
|
|
53898
|
+
var value = /** @type {string} */ (reader.readString());
|
|
53899
|
+
msg.setPreparationGeneration(value);
|
|
53900
|
+
break;
|
|
53901
|
+
case 19:
|
|
53902
|
+
var value = /** @type {string} */ (reader.readString());
|
|
53903
|
+
msg.setPreparationFingerprint(value);
|
|
53904
|
+
break;
|
|
53905
|
+
case 20:
|
|
53906
|
+
var value = /** @type {string} */ (reader.readString());
|
|
53907
|
+
msg.setCommandKey(value);
|
|
53908
|
+
break;
|
|
53909
|
+
case 21:
|
|
53910
|
+
var value = /** @type {string} */ (reader.readString());
|
|
53911
|
+
msg.setRequestFingerprint(value);
|
|
53912
|
+
break;
|
|
53664
53913
|
default:
|
|
53665
53914
|
reader.skipField();
|
|
53666
53915
|
break;
|
|
@@ -53802,6 +54051,42 @@ proto.payment.GameplayPrecisionResult.serializeBinaryToWriter = function(message
|
|
|
53802
54051
|
f
|
|
53803
54052
|
);
|
|
53804
54053
|
}
|
|
54054
|
+
f = message.getAccountingLegsList();
|
|
54055
|
+
if (f.length > 0) {
|
|
54056
|
+
writer.writeRepeatedMessage(
|
|
54057
|
+
17,
|
|
54058
|
+
f,
|
|
54059
|
+
proto.payment.GameplayPrecisionAccountingLeg.serializeBinaryToWriter
|
|
54060
|
+
);
|
|
54061
|
+
}
|
|
54062
|
+
f = message.getPreparationGeneration();
|
|
54063
|
+
if (f.length > 0) {
|
|
54064
|
+
writer.writeString(
|
|
54065
|
+
18,
|
|
54066
|
+
f
|
|
54067
|
+
);
|
|
54068
|
+
}
|
|
54069
|
+
f = message.getPreparationFingerprint();
|
|
54070
|
+
if (f.length > 0) {
|
|
54071
|
+
writer.writeString(
|
|
54072
|
+
19,
|
|
54073
|
+
f
|
|
54074
|
+
);
|
|
54075
|
+
}
|
|
54076
|
+
f = message.getCommandKey();
|
|
54077
|
+
if (f.length > 0) {
|
|
54078
|
+
writer.writeString(
|
|
54079
|
+
20,
|
|
54080
|
+
f
|
|
54081
|
+
);
|
|
54082
|
+
}
|
|
54083
|
+
f = message.getRequestFingerprint();
|
|
54084
|
+
if (f.length > 0) {
|
|
54085
|
+
writer.writeString(
|
|
54086
|
+
21,
|
|
54087
|
+
f
|
|
54088
|
+
);
|
|
54089
|
+
}
|
|
53805
54090
|
};
|
|
53806
54091
|
|
|
53807
54092
|
|
|
@@ -54112,4 +54397,1937 @@ proto.payment.GameplayPrecisionResult.prototype.setResponsePolicyVersion = funct
|
|
|
54112
54397
|
};
|
|
54113
54398
|
|
|
54114
54399
|
|
|
54400
|
+
/**
|
|
54401
|
+
* repeated GameplayPrecisionAccountingLeg accounting_legs = 17;
|
|
54402
|
+
* @return {!Array<!proto.payment.GameplayPrecisionAccountingLeg>}
|
|
54403
|
+
*/
|
|
54404
|
+
proto.payment.GameplayPrecisionResult.prototype.getAccountingLegsList = function() {
|
|
54405
|
+
return /** @type{!Array<!proto.payment.GameplayPrecisionAccountingLeg>} */ (
|
|
54406
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.GameplayPrecisionAccountingLeg, 17));
|
|
54407
|
+
};
|
|
54408
|
+
|
|
54409
|
+
|
|
54410
|
+
/**
|
|
54411
|
+
* @param {!Array<!proto.payment.GameplayPrecisionAccountingLeg>} value
|
|
54412
|
+
* @return {!proto.payment.GameplayPrecisionResult} returns this
|
|
54413
|
+
*/
|
|
54414
|
+
proto.payment.GameplayPrecisionResult.prototype.setAccountingLegsList = function(value) {
|
|
54415
|
+
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
54416
|
+
};
|
|
54417
|
+
|
|
54418
|
+
|
|
54419
|
+
/**
|
|
54420
|
+
* @param {!proto.payment.GameplayPrecisionAccountingLeg=} opt_value
|
|
54421
|
+
* @param {number=} opt_index
|
|
54422
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg}
|
|
54423
|
+
*/
|
|
54424
|
+
proto.payment.GameplayPrecisionResult.prototype.addAccountingLegs = function(opt_value, opt_index) {
|
|
54425
|
+
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.payment.GameplayPrecisionAccountingLeg, opt_index);
|
|
54426
|
+
};
|
|
54427
|
+
|
|
54428
|
+
|
|
54429
|
+
/**
|
|
54430
|
+
* Clears the list making it empty but non-null.
|
|
54431
|
+
* @return {!proto.payment.GameplayPrecisionResult} returns this
|
|
54432
|
+
*/
|
|
54433
|
+
proto.payment.GameplayPrecisionResult.prototype.clearAccountingLegsList = function() {
|
|
54434
|
+
return this.setAccountingLegsList([]);
|
|
54435
|
+
};
|
|
54436
|
+
|
|
54437
|
+
|
|
54438
|
+
/**
|
|
54439
|
+
* optional string preparation_generation = 18;
|
|
54440
|
+
* @return {string}
|
|
54441
|
+
*/
|
|
54442
|
+
proto.payment.GameplayPrecisionResult.prototype.getPreparationGeneration = function() {
|
|
54443
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
54444
|
+
};
|
|
54445
|
+
|
|
54446
|
+
|
|
54447
|
+
/**
|
|
54448
|
+
* @param {string} value
|
|
54449
|
+
* @return {!proto.payment.GameplayPrecisionResult} returns this
|
|
54450
|
+
*/
|
|
54451
|
+
proto.payment.GameplayPrecisionResult.prototype.setPreparationGeneration = function(value) {
|
|
54452
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
54453
|
+
};
|
|
54454
|
+
|
|
54455
|
+
|
|
54456
|
+
/**
|
|
54457
|
+
* optional string preparation_fingerprint = 19;
|
|
54458
|
+
* @return {string}
|
|
54459
|
+
*/
|
|
54460
|
+
proto.payment.GameplayPrecisionResult.prototype.getPreparationFingerprint = function() {
|
|
54461
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
54462
|
+
};
|
|
54463
|
+
|
|
54464
|
+
|
|
54465
|
+
/**
|
|
54466
|
+
* @param {string} value
|
|
54467
|
+
* @return {!proto.payment.GameplayPrecisionResult} returns this
|
|
54468
|
+
*/
|
|
54469
|
+
proto.payment.GameplayPrecisionResult.prototype.setPreparationFingerprint = function(value) {
|
|
54470
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
54471
|
+
};
|
|
54472
|
+
|
|
54473
|
+
|
|
54474
|
+
/**
|
|
54475
|
+
* optional string command_key = 20;
|
|
54476
|
+
* @return {string}
|
|
54477
|
+
*/
|
|
54478
|
+
proto.payment.GameplayPrecisionResult.prototype.getCommandKey = function() {
|
|
54479
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
54480
|
+
};
|
|
54481
|
+
|
|
54482
|
+
|
|
54483
|
+
/**
|
|
54484
|
+
* @param {string} value
|
|
54485
|
+
* @return {!proto.payment.GameplayPrecisionResult} returns this
|
|
54486
|
+
*/
|
|
54487
|
+
proto.payment.GameplayPrecisionResult.prototype.setCommandKey = function(value) {
|
|
54488
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
54489
|
+
};
|
|
54490
|
+
|
|
54491
|
+
|
|
54492
|
+
/**
|
|
54493
|
+
* optional string request_fingerprint = 21;
|
|
54494
|
+
* @return {string}
|
|
54495
|
+
*/
|
|
54496
|
+
proto.payment.GameplayPrecisionResult.prototype.getRequestFingerprint = function() {
|
|
54497
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
54498
|
+
};
|
|
54499
|
+
|
|
54500
|
+
|
|
54501
|
+
/**
|
|
54502
|
+
* @param {string} value
|
|
54503
|
+
* @return {!proto.payment.GameplayPrecisionResult} returns this
|
|
54504
|
+
*/
|
|
54505
|
+
proto.payment.GameplayPrecisionResult.prototype.setRequestFingerprint = function(value) {
|
|
54506
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
54507
|
+
};
|
|
54508
|
+
|
|
54509
|
+
|
|
54510
|
+
|
|
54511
|
+
|
|
54512
|
+
|
|
54513
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54514
|
+
/**
|
|
54515
|
+
* Creates an object representation of this proto.
|
|
54516
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
54517
|
+
* Optional fields that are not set will be set to undefined.
|
|
54518
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
54519
|
+
* For the list of reserved names please see:
|
|
54520
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
54521
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
54522
|
+
* JSPB instance for transitional soy proto support:
|
|
54523
|
+
* http://goto/soy-param-migration
|
|
54524
|
+
* @return {!Object}
|
|
54525
|
+
*/
|
|
54526
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.toObject = function(opt_includeInstance) {
|
|
54527
|
+
return proto.payment.GameplayPrecisionRgEvidence.toObject(opt_includeInstance, this);
|
|
54528
|
+
};
|
|
54529
|
+
|
|
54530
|
+
|
|
54531
|
+
/**
|
|
54532
|
+
* Static version of the {@see toObject} method.
|
|
54533
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
54534
|
+
* the JSPB instance for transitional soy proto support:
|
|
54535
|
+
* http://goto/soy-param-migration
|
|
54536
|
+
* @param {!proto.payment.GameplayPrecisionRgEvidence} msg The msg instance to transform.
|
|
54537
|
+
* @return {!Object}
|
|
54538
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54539
|
+
*/
|
|
54540
|
+
proto.payment.GameplayPrecisionRgEvidence.toObject = function(includeInstance, msg) {
|
|
54541
|
+
var f, obj = {
|
|
54542
|
+
commandKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
54543
|
+
requestFingerprint: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
54544
|
+
preparationGeneration: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
54545
|
+
preparationFingerprint: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
54546
|
+
accountingCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
54547
|
+
accountingScale: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
54548
|
+
requestedDebitMinor: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
54549
|
+
state: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
54550
|
+
receiptId: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
54551
|
+
};
|
|
54552
|
+
|
|
54553
|
+
if (includeInstance) {
|
|
54554
|
+
obj.$jspbMessageInstance = msg;
|
|
54555
|
+
}
|
|
54556
|
+
return obj;
|
|
54557
|
+
};
|
|
54558
|
+
}
|
|
54559
|
+
|
|
54560
|
+
|
|
54561
|
+
/**
|
|
54562
|
+
* Deserializes binary data (in protobuf wire format).
|
|
54563
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
54564
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence}
|
|
54565
|
+
*/
|
|
54566
|
+
proto.payment.GameplayPrecisionRgEvidence.deserializeBinary = function(bytes) {
|
|
54567
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
54568
|
+
var msg = new proto.payment.GameplayPrecisionRgEvidence;
|
|
54569
|
+
return proto.payment.GameplayPrecisionRgEvidence.deserializeBinaryFromReader(msg, reader);
|
|
54570
|
+
};
|
|
54571
|
+
|
|
54572
|
+
|
|
54573
|
+
/**
|
|
54574
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
54575
|
+
* given reader into the given message object.
|
|
54576
|
+
* @param {!proto.payment.GameplayPrecisionRgEvidence} msg The message object to deserialize into.
|
|
54577
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
54578
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence}
|
|
54579
|
+
*/
|
|
54580
|
+
proto.payment.GameplayPrecisionRgEvidence.deserializeBinaryFromReader = function(msg, reader) {
|
|
54581
|
+
while (reader.nextField()) {
|
|
54582
|
+
if (reader.isEndGroup()) {
|
|
54583
|
+
break;
|
|
54584
|
+
}
|
|
54585
|
+
var field = reader.getFieldNumber();
|
|
54586
|
+
switch (field) {
|
|
54587
|
+
case 1:
|
|
54588
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54589
|
+
msg.setCommandKey(value);
|
|
54590
|
+
break;
|
|
54591
|
+
case 2:
|
|
54592
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54593
|
+
msg.setRequestFingerprint(value);
|
|
54594
|
+
break;
|
|
54595
|
+
case 3:
|
|
54596
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54597
|
+
msg.setPreparationGeneration(value);
|
|
54598
|
+
break;
|
|
54599
|
+
case 4:
|
|
54600
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54601
|
+
msg.setPreparationFingerprint(value);
|
|
54602
|
+
break;
|
|
54603
|
+
case 5:
|
|
54604
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54605
|
+
msg.setAccountingCurrency(value);
|
|
54606
|
+
break;
|
|
54607
|
+
case 6:
|
|
54608
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
54609
|
+
msg.setAccountingScale(value);
|
|
54610
|
+
break;
|
|
54611
|
+
case 7:
|
|
54612
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54613
|
+
msg.setRequestedDebitMinor(value);
|
|
54614
|
+
break;
|
|
54615
|
+
case 8:
|
|
54616
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54617
|
+
msg.setState(value);
|
|
54618
|
+
break;
|
|
54619
|
+
case 9:
|
|
54620
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54621
|
+
msg.setReceiptId(value);
|
|
54622
|
+
break;
|
|
54623
|
+
default:
|
|
54624
|
+
reader.skipField();
|
|
54625
|
+
break;
|
|
54626
|
+
}
|
|
54627
|
+
}
|
|
54628
|
+
return msg;
|
|
54629
|
+
};
|
|
54630
|
+
|
|
54631
|
+
|
|
54632
|
+
/**
|
|
54633
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
54634
|
+
* @return {!Uint8Array}
|
|
54635
|
+
*/
|
|
54636
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.serializeBinary = function() {
|
|
54637
|
+
var writer = new jspb.BinaryWriter();
|
|
54638
|
+
proto.payment.GameplayPrecisionRgEvidence.serializeBinaryToWriter(this, writer);
|
|
54639
|
+
return writer.getResultBuffer();
|
|
54640
|
+
};
|
|
54641
|
+
|
|
54642
|
+
|
|
54643
|
+
/**
|
|
54644
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
54645
|
+
* format), writing to the given BinaryWriter.
|
|
54646
|
+
* @param {!proto.payment.GameplayPrecisionRgEvidence} message
|
|
54647
|
+
* @param {!jspb.BinaryWriter} writer
|
|
54648
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54649
|
+
*/
|
|
54650
|
+
proto.payment.GameplayPrecisionRgEvidence.serializeBinaryToWriter = function(message, writer) {
|
|
54651
|
+
var f = undefined;
|
|
54652
|
+
f = message.getCommandKey();
|
|
54653
|
+
if (f.length > 0) {
|
|
54654
|
+
writer.writeString(
|
|
54655
|
+
1,
|
|
54656
|
+
f
|
|
54657
|
+
);
|
|
54658
|
+
}
|
|
54659
|
+
f = message.getRequestFingerprint();
|
|
54660
|
+
if (f.length > 0) {
|
|
54661
|
+
writer.writeString(
|
|
54662
|
+
2,
|
|
54663
|
+
f
|
|
54664
|
+
);
|
|
54665
|
+
}
|
|
54666
|
+
f = message.getPreparationGeneration();
|
|
54667
|
+
if (f.length > 0) {
|
|
54668
|
+
writer.writeString(
|
|
54669
|
+
3,
|
|
54670
|
+
f
|
|
54671
|
+
);
|
|
54672
|
+
}
|
|
54673
|
+
f = message.getPreparationFingerprint();
|
|
54674
|
+
if (f.length > 0) {
|
|
54675
|
+
writer.writeString(
|
|
54676
|
+
4,
|
|
54677
|
+
f
|
|
54678
|
+
);
|
|
54679
|
+
}
|
|
54680
|
+
f = message.getAccountingCurrency();
|
|
54681
|
+
if (f.length > 0) {
|
|
54682
|
+
writer.writeString(
|
|
54683
|
+
5,
|
|
54684
|
+
f
|
|
54685
|
+
);
|
|
54686
|
+
}
|
|
54687
|
+
f = message.getAccountingScale();
|
|
54688
|
+
if (f !== 0) {
|
|
54689
|
+
writer.writeUint32(
|
|
54690
|
+
6,
|
|
54691
|
+
f
|
|
54692
|
+
);
|
|
54693
|
+
}
|
|
54694
|
+
f = message.getRequestedDebitMinor();
|
|
54695
|
+
if (f.length > 0) {
|
|
54696
|
+
writer.writeString(
|
|
54697
|
+
7,
|
|
54698
|
+
f
|
|
54699
|
+
);
|
|
54700
|
+
}
|
|
54701
|
+
f = message.getState();
|
|
54702
|
+
if (f.length > 0) {
|
|
54703
|
+
writer.writeString(
|
|
54704
|
+
8,
|
|
54705
|
+
f
|
|
54706
|
+
);
|
|
54707
|
+
}
|
|
54708
|
+
f = message.getReceiptId();
|
|
54709
|
+
if (f.length > 0) {
|
|
54710
|
+
writer.writeString(
|
|
54711
|
+
9,
|
|
54712
|
+
f
|
|
54713
|
+
);
|
|
54714
|
+
}
|
|
54715
|
+
};
|
|
54716
|
+
|
|
54717
|
+
|
|
54718
|
+
/**
|
|
54719
|
+
* optional string command_key = 1;
|
|
54720
|
+
* @return {string}
|
|
54721
|
+
*/
|
|
54722
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.getCommandKey = function() {
|
|
54723
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
54724
|
+
};
|
|
54725
|
+
|
|
54726
|
+
|
|
54727
|
+
/**
|
|
54728
|
+
* @param {string} value
|
|
54729
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence} returns this
|
|
54730
|
+
*/
|
|
54731
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.setCommandKey = function(value) {
|
|
54732
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
54733
|
+
};
|
|
54734
|
+
|
|
54735
|
+
|
|
54736
|
+
/**
|
|
54737
|
+
* optional string request_fingerprint = 2;
|
|
54738
|
+
* @return {string}
|
|
54739
|
+
*/
|
|
54740
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.getRequestFingerprint = function() {
|
|
54741
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
54742
|
+
};
|
|
54743
|
+
|
|
54744
|
+
|
|
54745
|
+
/**
|
|
54746
|
+
* @param {string} value
|
|
54747
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence} returns this
|
|
54748
|
+
*/
|
|
54749
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.setRequestFingerprint = function(value) {
|
|
54750
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
54751
|
+
};
|
|
54752
|
+
|
|
54753
|
+
|
|
54754
|
+
/**
|
|
54755
|
+
* optional string preparation_generation = 3;
|
|
54756
|
+
* @return {string}
|
|
54757
|
+
*/
|
|
54758
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.getPreparationGeneration = function() {
|
|
54759
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
54760
|
+
};
|
|
54761
|
+
|
|
54762
|
+
|
|
54763
|
+
/**
|
|
54764
|
+
* @param {string} value
|
|
54765
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence} returns this
|
|
54766
|
+
*/
|
|
54767
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.setPreparationGeneration = function(value) {
|
|
54768
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
54769
|
+
};
|
|
54770
|
+
|
|
54771
|
+
|
|
54772
|
+
/**
|
|
54773
|
+
* optional string preparation_fingerprint = 4;
|
|
54774
|
+
* @return {string}
|
|
54775
|
+
*/
|
|
54776
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.getPreparationFingerprint = function() {
|
|
54777
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
54778
|
+
};
|
|
54779
|
+
|
|
54780
|
+
|
|
54781
|
+
/**
|
|
54782
|
+
* @param {string} value
|
|
54783
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence} returns this
|
|
54784
|
+
*/
|
|
54785
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.setPreparationFingerprint = function(value) {
|
|
54786
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
54787
|
+
};
|
|
54788
|
+
|
|
54789
|
+
|
|
54790
|
+
/**
|
|
54791
|
+
* optional string accounting_currency = 5;
|
|
54792
|
+
* @return {string}
|
|
54793
|
+
*/
|
|
54794
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.getAccountingCurrency = function() {
|
|
54795
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
54796
|
+
};
|
|
54797
|
+
|
|
54798
|
+
|
|
54799
|
+
/**
|
|
54800
|
+
* @param {string} value
|
|
54801
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence} returns this
|
|
54802
|
+
*/
|
|
54803
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.setAccountingCurrency = function(value) {
|
|
54804
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
54805
|
+
};
|
|
54806
|
+
|
|
54807
|
+
|
|
54808
|
+
/**
|
|
54809
|
+
* optional uint32 accounting_scale = 6;
|
|
54810
|
+
* @return {number}
|
|
54811
|
+
*/
|
|
54812
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.getAccountingScale = function() {
|
|
54813
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
54814
|
+
};
|
|
54815
|
+
|
|
54816
|
+
|
|
54817
|
+
/**
|
|
54818
|
+
* @param {number} value
|
|
54819
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence} returns this
|
|
54820
|
+
*/
|
|
54821
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.setAccountingScale = function(value) {
|
|
54822
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
54823
|
+
};
|
|
54824
|
+
|
|
54825
|
+
|
|
54826
|
+
/**
|
|
54827
|
+
* optional string requested_debit_minor = 7;
|
|
54828
|
+
* @return {string}
|
|
54829
|
+
*/
|
|
54830
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.getRequestedDebitMinor = function() {
|
|
54831
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
54832
|
+
};
|
|
54833
|
+
|
|
54834
|
+
|
|
54835
|
+
/**
|
|
54836
|
+
* @param {string} value
|
|
54837
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence} returns this
|
|
54838
|
+
*/
|
|
54839
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.setRequestedDebitMinor = function(value) {
|
|
54840
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
54841
|
+
};
|
|
54842
|
+
|
|
54843
|
+
|
|
54844
|
+
/**
|
|
54845
|
+
* optional string state = 8;
|
|
54846
|
+
* @return {string}
|
|
54847
|
+
*/
|
|
54848
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.getState = function() {
|
|
54849
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
54850
|
+
};
|
|
54851
|
+
|
|
54852
|
+
|
|
54853
|
+
/**
|
|
54854
|
+
* @param {string} value
|
|
54855
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence} returns this
|
|
54856
|
+
*/
|
|
54857
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.setState = function(value) {
|
|
54858
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
54859
|
+
};
|
|
54860
|
+
|
|
54861
|
+
|
|
54862
|
+
/**
|
|
54863
|
+
* optional string receipt_id = 9;
|
|
54864
|
+
* @return {string}
|
|
54865
|
+
*/
|
|
54866
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.getReceiptId = function() {
|
|
54867
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
54868
|
+
};
|
|
54869
|
+
|
|
54870
|
+
|
|
54871
|
+
/**
|
|
54872
|
+
* @param {string} value
|
|
54873
|
+
* @return {!proto.payment.GameplayPrecisionRgEvidence} returns this
|
|
54874
|
+
*/
|
|
54875
|
+
proto.payment.GameplayPrecisionRgEvidence.prototype.setReceiptId = function(value) {
|
|
54876
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
54877
|
+
};
|
|
54878
|
+
|
|
54879
|
+
|
|
54880
|
+
|
|
54881
|
+
|
|
54882
|
+
|
|
54883
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54884
|
+
/**
|
|
54885
|
+
* Creates an object representation of this proto.
|
|
54886
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
54887
|
+
* Optional fields that are not set will be set to undefined.
|
|
54888
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
54889
|
+
* For the list of reserved names please see:
|
|
54890
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
54891
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
54892
|
+
* JSPB instance for transitional soy proto support:
|
|
54893
|
+
* http://goto/soy-param-migration
|
|
54894
|
+
* @return {!Object}
|
|
54895
|
+
*/
|
|
54896
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.toObject = function(opt_includeInstance) {
|
|
54897
|
+
return proto.payment.GameplayPrecisionAccountingLeg.toObject(opt_includeInstance, this);
|
|
54898
|
+
};
|
|
54899
|
+
|
|
54900
|
+
|
|
54901
|
+
/**
|
|
54902
|
+
* Static version of the {@see toObject} method.
|
|
54903
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
54904
|
+
* the JSPB instance for transitional soy proto support:
|
|
54905
|
+
* http://goto/soy-param-migration
|
|
54906
|
+
* @param {!proto.payment.GameplayPrecisionAccountingLeg} msg The msg instance to transform.
|
|
54907
|
+
* @return {!Object}
|
|
54908
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54909
|
+
*/
|
|
54910
|
+
proto.payment.GameplayPrecisionAccountingLeg.toObject = function(includeInstance, msg) {
|
|
54911
|
+
var f, obj = {
|
|
54912
|
+
action: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
54913
|
+
providerTransactionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
54914
|
+
integerDeltaMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
54915
|
+
fractionalDeltaNumerator: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
54916
|
+
fractionalDeltaDenominator: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
54917
|
+
accountingCurrency: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
54918
|
+
accountingScale: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
54919
|
+
paymentOperationId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
54920
|
+
originalTransactionId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
54921
|
+
originalAction: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
54922
|
+
};
|
|
54923
|
+
|
|
54924
|
+
if (includeInstance) {
|
|
54925
|
+
obj.$jspbMessageInstance = msg;
|
|
54926
|
+
}
|
|
54927
|
+
return obj;
|
|
54928
|
+
};
|
|
54929
|
+
}
|
|
54930
|
+
|
|
54931
|
+
|
|
54932
|
+
/**
|
|
54933
|
+
* Deserializes binary data (in protobuf wire format).
|
|
54934
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
54935
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg}
|
|
54936
|
+
*/
|
|
54937
|
+
proto.payment.GameplayPrecisionAccountingLeg.deserializeBinary = function(bytes) {
|
|
54938
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
54939
|
+
var msg = new proto.payment.GameplayPrecisionAccountingLeg;
|
|
54940
|
+
return proto.payment.GameplayPrecisionAccountingLeg.deserializeBinaryFromReader(msg, reader);
|
|
54941
|
+
};
|
|
54942
|
+
|
|
54943
|
+
|
|
54944
|
+
/**
|
|
54945
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
54946
|
+
* given reader into the given message object.
|
|
54947
|
+
* @param {!proto.payment.GameplayPrecisionAccountingLeg} msg The message object to deserialize into.
|
|
54948
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
54949
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg}
|
|
54950
|
+
*/
|
|
54951
|
+
proto.payment.GameplayPrecisionAccountingLeg.deserializeBinaryFromReader = function(msg, reader) {
|
|
54952
|
+
while (reader.nextField()) {
|
|
54953
|
+
if (reader.isEndGroup()) {
|
|
54954
|
+
break;
|
|
54955
|
+
}
|
|
54956
|
+
var field = reader.getFieldNumber();
|
|
54957
|
+
switch (field) {
|
|
54958
|
+
case 1:
|
|
54959
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54960
|
+
msg.setAction(value);
|
|
54961
|
+
break;
|
|
54962
|
+
case 2:
|
|
54963
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54964
|
+
msg.setProviderTransactionId(value);
|
|
54965
|
+
break;
|
|
54966
|
+
case 3:
|
|
54967
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54968
|
+
msg.setIntegerDeltaMinor(value);
|
|
54969
|
+
break;
|
|
54970
|
+
case 4:
|
|
54971
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54972
|
+
msg.setFractionalDeltaNumerator(value);
|
|
54973
|
+
break;
|
|
54974
|
+
case 5:
|
|
54975
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54976
|
+
msg.setFractionalDeltaDenominator(value);
|
|
54977
|
+
break;
|
|
54978
|
+
case 6:
|
|
54979
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54980
|
+
msg.setAccountingCurrency(value);
|
|
54981
|
+
break;
|
|
54982
|
+
case 7:
|
|
54983
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
54984
|
+
msg.setAccountingScale(value);
|
|
54985
|
+
break;
|
|
54986
|
+
case 8:
|
|
54987
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54988
|
+
msg.setPaymentOperationId(value);
|
|
54989
|
+
break;
|
|
54990
|
+
case 9:
|
|
54991
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54992
|
+
msg.setOriginalTransactionId(value);
|
|
54993
|
+
break;
|
|
54994
|
+
case 10:
|
|
54995
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54996
|
+
msg.setOriginalAction(value);
|
|
54997
|
+
break;
|
|
54998
|
+
default:
|
|
54999
|
+
reader.skipField();
|
|
55000
|
+
break;
|
|
55001
|
+
}
|
|
55002
|
+
}
|
|
55003
|
+
return msg;
|
|
55004
|
+
};
|
|
55005
|
+
|
|
55006
|
+
|
|
55007
|
+
/**
|
|
55008
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
55009
|
+
* @return {!Uint8Array}
|
|
55010
|
+
*/
|
|
55011
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.serializeBinary = function() {
|
|
55012
|
+
var writer = new jspb.BinaryWriter();
|
|
55013
|
+
proto.payment.GameplayPrecisionAccountingLeg.serializeBinaryToWriter(this, writer);
|
|
55014
|
+
return writer.getResultBuffer();
|
|
55015
|
+
};
|
|
55016
|
+
|
|
55017
|
+
|
|
55018
|
+
/**
|
|
55019
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55020
|
+
* format), writing to the given BinaryWriter.
|
|
55021
|
+
* @param {!proto.payment.GameplayPrecisionAccountingLeg} message
|
|
55022
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55023
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55024
|
+
*/
|
|
55025
|
+
proto.payment.GameplayPrecisionAccountingLeg.serializeBinaryToWriter = function(message, writer) {
|
|
55026
|
+
var f = undefined;
|
|
55027
|
+
f = message.getAction();
|
|
55028
|
+
if (f.length > 0) {
|
|
55029
|
+
writer.writeString(
|
|
55030
|
+
1,
|
|
55031
|
+
f
|
|
55032
|
+
);
|
|
55033
|
+
}
|
|
55034
|
+
f = message.getProviderTransactionId();
|
|
55035
|
+
if (f.length > 0) {
|
|
55036
|
+
writer.writeString(
|
|
55037
|
+
2,
|
|
55038
|
+
f
|
|
55039
|
+
);
|
|
55040
|
+
}
|
|
55041
|
+
f = message.getIntegerDeltaMinor();
|
|
55042
|
+
if (f.length > 0) {
|
|
55043
|
+
writer.writeString(
|
|
55044
|
+
3,
|
|
55045
|
+
f
|
|
55046
|
+
);
|
|
55047
|
+
}
|
|
55048
|
+
f = message.getFractionalDeltaNumerator();
|
|
55049
|
+
if (f.length > 0) {
|
|
55050
|
+
writer.writeString(
|
|
55051
|
+
4,
|
|
55052
|
+
f
|
|
55053
|
+
);
|
|
55054
|
+
}
|
|
55055
|
+
f = message.getFractionalDeltaDenominator();
|
|
55056
|
+
if (f.length > 0) {
|
|
55057
|
+
writer.writeString(
|
|
55058
|
+
5,
|
|
55059
|
+
f
|
|
55060
|
+
);
|
|
55061
|
+
}
|
|
55062
|
+
f = message.getAccountingCurrency();
|
|
55063
|
+
if (f.length > 0) {
|
|
55064
|
+
writer.writeString(
|
|
55065
|
+
6,
|
|
55066
|
+
f
|
|
55067
|
+
);
|
|
55068
|
+
}
|
|
55069
|
+
f = message.getAccountingScale();
|
|
55070
|
+
if (f !== 0) {
|
|
55071
|
+
writer.writeUint32(
|
|
55072
|
+
7,
|
|
55073
|
+
f
|
|
55074
|
+
);
|
|
55075
|
+
}
|
|
55076
|
+
f = message.getPaymentOperationId();
|
|
55077
|
+
if (f.length > 0) {
|
|
55078
|
+
writer.writeString(
|
|
55079
|
+
8,
|
|
55080
|
+
f
|
|
55081
|
+
);
|
|
55082
|
+
}
|
|
55083
|
+
f = message.getOriginalTransactionId();
|
|
55084
|
+
if (f.length > 0) {
|
|
55085
|
+
writer.writeString(
|
|
55086
|
+
9,
|
|
55087
|
+
f
|
|
55088
|
+
);
|
|
55089
|
+
}
|
|
55090
|
+
f = message.getOriginalAction();
|
|
55091
|
+
if (f.length > 0) {
|
|
55092
|
+
writer.writeString(
|
|
55093
|
+
10,
|
|
55094
|
+
f
|
|
55095
|
+
);
|
|
55096
|
+
}
|
|
55097
|
+
};
|
|
55098
|
+
|
|
55099
|
+
|
|
55100
|
+
/**
|
|
55101
|
+
* optional string action = 1;
|
|
55102
|
+
* @return {string}
|
|
55103
|
+
*/
|
|
55104
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.getAction = function() {
|
|
55105
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
55106
|
+
};
|
|
55107
|
+
|
|
55108
|
+
|
|
55109
|
+
/**
|
|
55110
|
+
* @param {string} value
|
|
55111
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg} returns this
|
|
55112
|
+
*/
|
|
55113
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.setAction = function(value) {
|
|
55114
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
55115
|
+
};
|
|
55116
|
+
|
|
55117
|
+
|
|
55118
|
+
/**
|
|
55119
|
+
* optional string provider_transaction_id = 2;
|
|
55120
|
+
* @return {string}
|
|
55121
|
+
*/
|
|
55122
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.getProviderTransactionId = function() {
|
|
55123
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
55124
|
+
};
|
|
55125
|
+
|
|
55126
|
+
|
|
55127
|
+
/**
|
|
55128
|
+
* @param {string} value
|
|
55129
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg} returns this
|
|
55130
|
+
*/
|
|
55131
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.setProviderTransactionId = function(value) {
|
|
55132
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
55133
|
+
};
|
|
55134
|
+
|
|
55135
|
+
|
|
55136
|
+
/**
|
|
55137
|
+
* optional string integer_delta_minor = 3;
|
|
55138
|
+
* @return {string}
|
|
55139
|
+
*/
|
|
55140
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.getIntegerDeltaMinor = function() {
|
|
55141
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
55142
|
+
};
|
|
55143
|
+
|
|
55144
|
+
|
|
55145
|
+
/**
|
|
55146
|
+
* @param {string} value
|
|
55147
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg} returns this
|
|
55148
|
+
*/
|
|
55149
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.setIntegerDeltaMinor = function(value) {
|
|
55150
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
55151
|
+
};
|
|
55152
|
+
|
|
55153
|
+
|
|
55154
|
+
/**
|
|
55155
|
+
* optional string fractional_delta_numerator = 4;
|
|
55156
|
+
* @return {string}
|
|
55157
|
+
*/
|
|
55158
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.getFractionalDeltaNumerator = function() {
|
|
55159
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
55160
|
+
};
|
|
55161
|
+
|
|
55162
|
+
|
|
55163
|
+
/**
|
|
55164
|
+
* @param {string} value
|
|
55165
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg} returns this
|
|
55166
|
+
*/
|
|
55167
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.setFractionalDeltaNumerator = function(value) {
|
|
55168
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
55169
|
+
};
|
|
55170
|
+
|
|
55171
|
+
|
|
55172
|
+
/**
|
|
55173
|
+
* optional string fractional_delta_denominator = 5;
|
|
55174
|
+
* @return {string}
|
|
55175
|
+
*/
|
|
55176
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.getFractionalDeltaDenominator = function() {
|
|
55177
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
55178
|
+
};
|
|
55179
|
+
|
|
55180
|
+
|
|
55181
|
+
/**
|
|
55182
|
+
* @param {string} value
|
|
55183
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg} returns this
|
|
55184
|
+
*/
|
|
55185
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.setFractionalDeltaDenominator = function(value) {
|
|
55186
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
55187
|
+
};
|
|
55188
|
+
|
|
55189
|
+
|
|
55190
|
+
/**
|
|
55191
|
+
* optional string accounting_currency = 6;
|
|
55192
|
+
* @return {string}
|
|
55193
|
+
*/
|
|
55194
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.getAccountingCurrency = function() {
|
|
55195
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
55196
|
+
};
|
|
55197
|
+
|
|
55198
|
+
|
|
55199
|
+
/**
|
|
55200
|
+
* @param {string} value
|
|
55201
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg} returns this
|
|
55202
|
+
*/
|
|
55203
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.setAccountingCurrency = function(value) {
|
|
55204
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
55205
|
+
};
|
|
55206
|
+
|
|
55207
|
+
|
|
55208
|
+
/**
|
|
55209
|
+
* optional uint32 accounting_scale = 7;
|
|
55210
|
+
* @return {number}
|
|
55211
|
+
*/
|
|
55212
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.getAccountingScale = function() {
|
|
55213
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
55214
|
+
};
|
|
55215
|
+
|
|
55216
|
+
|
|
55217
|
+
/**
|
|
55218
|
+
* @param {number} value
|
|
55219
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg} returns this
|
|
55220
|
+
*/
|
|
55221
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.setAccountingScale = function(value) {
|
|
55222
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
55223
|
+
};
|
|
55224
|
+
|
|
55225
|
+
|
|
55226
|
+
/**
|
|
55227
|
+
* optional string payment_operation_id = 8;
|
|
55228
|
+
* @return {string}
|
|
55229
|
+
*/
|
|
55230
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.getPaymentOperationId = function() {
|
|
55231
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
55232
|
+
};
|
|
55233
|
+
|
|
55234
|
+
|
|
55235
|
+
/**
|
|
55236
|
+
* @param {string} value
|
|
55237
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg} returns this
|
|
55238
|
+
*/
|
|
55239
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.setPaymentOperationId = function(value) {
|
|
55240
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
55241
|
+
};
|
|
55242
|
+
|
|
55243
|
+
|
|
55244
|
+
/**
|
|
55245
|
+
* optional string original_transaction_id = 9;
|
|
55246
|
+
* @return {string}
|
|
55247
|
+
*/
|
|
55248
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.getOriginalTransactionId = function() {
|
|
55249
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
55250
|
+
};
|
|
55251
|
+
|
|
55252
|
+
|
|
55253
|
+
/**
|
|
55254
|
+
* @param {string} value
|
|
55255
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg} returns this
|
|
55256
|
+
*/
|
|
55257
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.setOriginalTransactionId = function(value) {
|
|
55258
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
55259
|
+
};
|
|
55260
|
+
|
|
55261
|
+
|
|
55262
|
+
/**
|
|
55263
|
+
* optional string original_action = 10;
|
|
55264
|
+
* @return {string}
|
|
55265
|
+
*/
|
|
55266
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.getOriginalAction = function() {
|
|
55267
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
55268
|
+
};
|
|
55269
|
+
|
|
55270
|
+
|
|
55271
|
+
/**
|
|
55272
|
+
* @param {string} value
|
|
55273
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg} returns this
|
|
55274
|
+
*/
|
|
55275
|
+
proto.payment.GameplayPrecisionAccountingLeg.prototype.setOriginalAction = function(value) {
|
|
55276
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
55277
|
+
};
|
|
55278
|
+
|
|
55279
|
+
|
|
55280
|
+
|
|
55281
|
+
/**
|
|
55282
|
+
* List of repeated fields within this message type.
|
|
55283
|
+
* @private {!Array<number>}
|
|
55284
|
+
* @const
|
|
55285
|
+
*/
|
|
55286
|
+
proto.payment.GameplayPrecisionPreparation.repeatedFields_ = [10];
|
|
55287
|
+
|
|
55288
|
+
|
|
55289
|
+
|
|
55290
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
55291
|
+
/**
|
|
55292
|
+
* Creates an object representation of this proto.
|
|
55293
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55294
|
+
* Optional fields that are not set will be set to undefined.
|
|
55295
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55296
|
+
* For the list of reserved names please see:
|
|
55297
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
55298
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
55299
|
+
* JSPB instance for transitional soy proto support:
|
|
55300
|
+
* http://goto/soy-param-migration
|
|
55301
|
+
* @return {!Object}
|
|
55302
|
+
*/
|
|
55303
|
+
proto.payment.GameplayPrecisionPreparation.prototype.toObject = function(opt_includeInstance) {
|
|
55304
|
+
return proto.payment.GameplayPrecisionPreparation.toObject(opt_includeInstance, this);
|
|
55305
|
+
};
|
|
55306
|
+
|
|
55307
|
+
|
|
55308
|
+
/**
|
|
55309
|
+
* Static version of the {@see toObject} method.
|
|
55310
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
55311
|
+
* the JSPB instance for transitional soy proto support:
|
|
55312
|
+
* http://goto/soy-param-migration
|
|
55313
|
+
* @param {!proto.payment.GameplayPrecisionPreparation} msg The msg instance to transform.
|
|
55314
|
+
* @return {!Object}
|
|
55315
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55316
|
+
*/
|
|
55317
|
+
proto.payment.GameplayPrecisionPreparation.toObject = function(includeInstance, msg) {
|
|
55318
|
+
var f, obj = {
|
|
55319
|
+
commandKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
55320
|
+
requestFingerprint: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
55321
|
+
generation: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
55322
|
+
fingerprint: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
55323
|
+
cashLedgerEntryId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
55324
|
+
precisionVersion: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
55325
|
+
accountingCurrency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
55326
|
+
accountingScale: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
55327
|
+
requestedDebitMinor: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
55328
|
+
accountingLegsList: jspb.Message.toObjectList(msg.getAccountingLegsList(),
|
|
55329
|
+
proto.payment.GameplayPrecisionAccountingLeg.toObject, includeInstance),
|
|
55330
|
+
requiresRgAdmission: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
55331
|
+
};
|
|
55332
|
+
|
|
55333
|
+
if (includeInstance) {
|
|
55334
|
+
obj.$jspbMessageInstance = msg;
|
|
55335
|
+
}
|
|
55336
|
+
return obj;
|
|
55337
|
+
};
|
|
55338
|
+
}
|
|
55339
|
+
|
|
55340
|
+
|
|
55341
|
+
/**
|
|
55342
|
+
* Deserializes binary data (in protobuf wire format).
|
|
55343
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
55344
|
+
* @return {!proto.payment.GameplayPrecisionPreparation}
|
|
55345
|
+
*/
|
|
55346
|
+
proto.payment.GameplayPrecisionPreparation.deserializeBinary = function(bytes) {
|
|
55347
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
55348
|
+
var msg = new proto.payment.GameplayPrecisionPreparation;
|
|
55349
|
+
return proto.payment.GameplayPrecisionPreparation.deserializeBinaryFromReader(msg, reader);
|
|
55350
|
+
};
|
|
55351
|
+
|
|
55352
|
+
|
|
55353
|
+
/**
|
|
55354
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
55355
|
+
* given reader into the given message object.
|
|
55356
|
+
* @param {!proto.payment.GameplayPrecisionPreparation} msg The message object to deserialize into.
|
|
55357
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
55358
|
+
* @return {!proto.payment.GameplayPrecisionPreparation}
|
|
55359
|
+
*/
|
|
55360
|
+
proto.payment.GameplayPrecisionPreparation.deserializeBinaryFromReader = function(msg, reader) {
|
|
55361
|
+
while (reader.nextField()) {
|
|
55362
|
+
if (reader.isEndGroup()) {
|
|
55363
|
+
break;
|
|
55364
|
+
}
|
|
55365
|
+
var field = reader.getFieldNumber();
|
|
55366
|
+
switch (field) {
|
|
55367
|
+
case 1:
|
|
55368
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55369
|
+
msg.setCommandKey(value);
|
|
55370
|
+
break;
|
|
55371
|
+
case 2:
|
|
55372
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55373
|
+
msg.setRequestFingerprint(value);
|
|
55374
|
+
break;
|
|
55375
|
+
case 3:
|
|
55376
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55377
|
+
msg.setGeneration(value);
|
|
55378
|
+
break;
|
|
55379
|
+
case 4:
|
|
55380
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55381
|
+
msg.setFingerprint(value);
|
|
55382
|
+
break;
|
|
55383
|
+
case 5:
|
|
55384
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55385
|
+
msg.setCashLedgerEntryId(value);
|
|
55386
|
+
break;
|
|
55387
|
+
case 6:
|
|
55388
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55389
|
+
msg.setPrecisionVersion(value);
|
|
55390
|
+
break;
|
|
55391
|
+
case 7:
|
|
55392
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55393
|
+
msg.setAccountingCurrency(value);
|
|
55394
|
+
break;
|
|
55395
|
+
case 8:
|
|
55396
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
55397
|
+
msg.setAccountingScale(value);
|
|
55398
|
+
break;
|
|
55399
|
+
case 9:
|
|
55400
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55401
|
+
msg.setRequestedDebitMinor(value);
|
|
55402
|
+
break;
|
|
55403
|
+
case 10:
|
|
55404
|
+
var value = new proto.payment.GameplayPrecisionAccountingLeg;
|
|
55405
|
+
reader.readMessage(value,proto.payment.GameplayPrecisionAccountingLeg.deserializeBinaryFromReader);
|
|
55406
|
+
msg.addAccountingLegs(value);
|
|
55407
|
+
break;
|
|
55408
|
+
case 11:
|
|
55409
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
55410
|
+
msg.setRequiresRgAdmission(value);
|
|
55411
|
+
break;
|
|
55412
|
+
default:
|
|
55413
|
+
reader.skipField();
|
|
55414
|
+
break;
|
|
55415
|
+
}
|
|
55416
|
+
}
|
|
55417
|
+
return msg;
|
|
55418
|
+
};
|
|
55419
|
+
|
|
55420
|
+
|
|
55421
|
+
/**
|
|
55422
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
55423
|
+
* @return {!Uint8Array}
|
|
55424
|
+
*/
|
|
55425
|
+
proto.payment.GameplayPrecisionPreparation.prototype.serializeBinary = function() {
|
|
55426
|
+
var writer = new jspb.BinaryWriter();
|
|
55427
|
+
proto.payment.GameplayPrecisionPreparation.serializeBinaryToWriter(this, writer);
|
|
55428
|
+
return writer.getResultBuffer();
|
|
55429
|
+
};
|
|
55430
|
+
|
|
55431
|
+
|
|
55432
|
+
/**
|
|
55433
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55434
|
+
* format), writing to the given BinaryWriter.
|
|
55435
|
+
* @param {!proto.payment.GameplayPrecisionPreparation} message
|
|
55436
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55437
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55438
|
+
*/
|
|
55439
|
+
proto.payment.GameplayPrecisionPreparation.serializeBinaryToWriter = function(message, writer) {
|
|
55440
|
+
var f = undefined;
|
|
55441
|
+
f = message.getCommandKey();
|
|
55442
|
+
if (f.length > 0) {
|
|
55443
|
+
writer.writeString(
|
|
55444
|
+
1,
|
|
55445
|
+
f
|
|
55446
|
+
);
|
|
55447
|
+
}
|
|
55448
|
+
f = message.getRequestFingerprint();
|
|
55449
|
+
if (f.length > 0) {
|
|
55450
|
+
writer.writeString(
|
|
55451
|
+
2,
|
|
55452
|
+
f
|
|
55453
|
+
);
|
|
55454
|
+
}
|
|
55455
|
+
f = message.getGeneration();
|
|
55456
|
+
if (f.length > 0) {
|
|
55457
|
+
writer.writeString(
|
|
55458
|
+
3,
|
|
55459
|
+
f
|
|
55460
|
+
);
|
|
55461
|
+
}
|
|
55462
|
+
f = message.getFingerprint();
|
|
55463
|
+
if (f.length > 0) {
|
|
55464
|
+
writer.writeString(
|
|
55465
|
+
4,
|
|
55466
|
+
f
|
|
55467
|
+
);
|
|
55468
|
+
}
|
|
55469
|
+
f = message.getCashLedgerEntryId();
|
|
55470
|
+
if (f.length > 0) {
|
|
55471
|
+
writer.writeString(
|
|
55472
|
+
5,
|
|
55473
|
+
f
|
|
55474
|
+
);
|
|
55475
|
+
}
|
|
55476
|
+
f = message.getPrecisionVersion();
|
|
55477
|
+
if (f.length > 0) {
|
|
55478
|
+
writer.writeString(
|
|
55479
|
+
6,
|
|
55480
|
+
f
|
|
55481
|
+
);
|
|
55482
|
+
}
|
|
55483
|
+
f = message.getAccountingCurrency();
|
|
55484
|
+
if (f.length > 0) {
|
|
55485
|
+
writer.writeString(
|
|
55486
|
+
7,
|
|
55487
|
+
f
|
|
55488
|
+
);
|
|
55489
|
+
}
|
|
55490
|
+
f = message.getAccountingScale();
|
|
55491
|
+
if (f !== 0) {
|
|
55492
|
+
writer.writeUint32(
|
|
55493
|
+
8,
|
|
55494
|
+
f
|
|
55495
|
+
);
|
|
55496
|
+
}
|
|
55497
|
+
f = message.getRequestedDebitMinor();
|
|
55498
|
+
if (f.length > 0) {
|
|
55499
|
+
writer.writeString(
|
|
55500
|
+
9,
|
|
55501
|
+
f
|
|
55502
|
+
);
|
|
55503
|
+
}
|
|
55504
|
+
f = message.getAccountingLegsList();
|
|
55505
|
+
if (f.length > 0) {
|
|
55506
|
+
writer.writeRepeatedMessage(
|
|
55507
|
+
10,
|
|
55508
|
+
f,
|
|
55509
|
+
proto.payment.GameplayPrecisionAccountingLeg.serializeBinaryToWriter
|
|
55510
|
+
);
|
|
55511
|
+
}
|
|
55512
|
+
f = message.getRequiresRgAdmission();
|
|
55513
|
+
if (f) {
|
|
55514
|
+
writer.writeBool(
|
|
55515
|
+
11,
|
|
55516
|
+
f
|
|
55517
|
+
);
|
|
55518
|
+
}
|
|
55519
|
+
};
|
|
55520
|
+
|
|
55521
|
+
|
|
55522
|
+
/**
|
|
55523
|
+
* optional string command_key = 1;
|
|
55524
|
+
* @return {string}
|
|
55525
|
+
*/
|
|
55526
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getCommandKey = function() {
|
|
55527
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
55528
|
+
};
|
|
55529
|
+
|
|
55530
|
+
|
|
55531
|
+
/**
|
|
55532
|
+
* @param {string} value
|
|
55533
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55534
|
+
*/
|
|
55535
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setCommandKey = function(value) {
|
|
55536
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
55537
|
+
};
|
|
55538
|
+
|
|
55539
|
+
|
|
55540
|
+
/**
|
|
55541
|
+
* optional string request_fingerprint = 2;
|
|
55542
|
+
* @return {string}
|
|
55543
|
+
*/
|
|
55544
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getRequestFingerprint = function() {
|
|
55545
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
55546
|
+
};
|
|
55547
|
+
|
|
55548
|
+
|
|
55549
|
+
/**
|
|
55550
|
+
* @param {string} value
|
|
55551
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55552
|
+
*/
|
|
55553
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setRequestFingerprint = function(value) {
|
|
55554
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
55555
|
+
};
|
|
55556
|
+
|
|
55557
|
+
|
|
55558
|
+
/**
|
|
55559
|
+
* optional string generation = 3;
|
|
55560
|
+
* @return {string}
|
|
55561
|
+
*/
|
|
55562
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getGeneration = function() {
|
|
55563
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
55564
|
+
};
|
|
55565
|
+
|
|
55566
|
+
|
|
55567
|
+
/**
|
|
55568
|
+
* @param {string} value
|
|
55569
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55570
|
+
*/
|
|
55571
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setGeneration = function(value) {
|
|
55572
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
55573
|
+
};
|
|
55574
|
+
|
|
55575
|
+
|
|
55576
|
+
/**
|
|
55577
|
+
* optional string fingerprint = 4;
|
|
55578
|
+
* @return {string}
|
|
55579
|
+
*/
|
|
55580
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getFingerprint = function() {
|
|
55581
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
55582
|
+
};
|
|
55583
|
+
|
|
55584
|
+
|
|
55585
|
+
/**
|
|
55586
|
+
* @param {string} value
|
|
55587
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55588
|
+
*/
|
|
55589
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setFingerprint = function(value) {
|
|
55590
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
55591
|
+
};
|
|
55592
|
+
|
|
55593
|
+
|
|
55594
|
+
/**
|
|
55595
|
+
* optional string cash_ledger_entry_id = 5;
|
|
55596
|
+
* @return {string}
|
|
55597
|
+
*/
|
|
55598
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getCashLedgerEntryId = function() {
|
|
55599
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
55600
|
+
};
|
|
55601
|
+
|
|
55602
|
+
|
|
55603
|
+
/**
|
|
55604
|
+
* @param {string} value
|
|
55605
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55606
|
+
*/
|
|
55607
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setCashLedgerEntryId = function(value) {
|
|
55608
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
55609
|
+
};
|
|
55610
|
+
|
|
55611
|
+
|
|
55612
|
+
/**
|
|
55613
|
+
* optional string precision_version = 6;
|
|
55614
|
+
* @return {string}
|
|
55615
|
+
*/
|
|
55616
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getPrecisionVersion = function() {
|
|
55617
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
55618
|
+
};
|
|
55619
|
+
|
|
55620
|
+
|
|
55621
|
+
/**
|
|
55622
|
+
* @param {string} value
|
|
55623
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55624
|
+
*/
|
|
55625
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setPrecisionVersion = function(value) {
|
|
55626
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
55627
|
+
};
|
|
55628
|
+
|
|
55629
|
+
|
|
55630
|
+
/**
|
|
55631
|
+
* optional string accounting_currency = 7;
|
|
55632
|
+
* @return {string}
|
|
55633
|
+
*/
|
|
55634
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getAccountingCurrency = function() {
|
|
55635
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
55636
|
+
};
|
|
55637
|
+
|
|
55638
|
+
|
|
55639
|
+
/**
|
|
55640
|
+
* @param {string} value
|
|
55641
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55642
|
+
*/
|
|
55643
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setAccountingCurrency = function(value) {
|
|
55644
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
55645
|
+
};
|
|
55646
|
+
|
|
55647
|
+
|
|
55648
|
+
/**
|
|
55649
|
+
* optional uint32 accounting_scale = 8;
|
|
55650
|
+
* @return {number}
|
|
55651
|
+
*/
|
|
55652
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getAccountingScale = function() {
|
|
55653
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
55654
|
+
};
|
|
55655
|
+
|
|
55656
|
+
|
|
55657
|
+
/**
|
|
55658
|
+
* @param {number} value
|
|
55659
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55660
|
+
*/
|
|
55661
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setAccountingScale = function(value) {
|
|
55662
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
55663
|
+
};
|
|
55664
|
+
|
|
55665
|
+
|
|
55666
|
+
/**
|
|
55667
|
+
* optional string requested_debit_minor = 9;
|
|
55668
|
+
* @return {string}
|
|
55669
|
+
*/
|
|
55670
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getRequestedDebitMinor = function() {
|
|
55671
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
55672
|
+
};
|
|
55673
|
+
|
|
55674
|
+
|
|
55675
|
+
/**
|
|
55676
|
+
* @param {string} value
|
|
55677
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55678
|
+
*/
|
|
55679
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setRequestedDebitMinor = function(value) {
|
|
55680
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
55681
|
+
};
|
|
55682
|
+
|
|
55683
|
+
|
|
55684
|
+
/**
|
|
55685
|
+
* repeated GameplayPrecisionAccountingLeg accounting_legs = 10;
|
|
55686
|
+
* @return {!Array<!proto.payment.GameplayPrecisionAccountingLeg>}
|
|
55687
|
+
*/
|
|
55688
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getAccountingLegsList = function() {
|
|
55689
|
+
return /** @type{!Array<!proto.payment.GameplayPrecisionAccountingLeg>} */ (
|
|
55690
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.GameplayPrecisionAccountingLeg, 10));
|
|
55691
|
+
};
|
|
55692
|
+
|
|
55693
|
+
|
|
55694
|
+
/**
|
|
55695
|
+
* @param {!Array<!proto.payment.GameplayPrecisionAccountingLeg>} value
|
|
55696
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55697
|
+
*/
|
|
55698
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setAccountingLegsList = function(value) {
|
|
55699
|
+
return jspb.Message.setRepeatedWrapperField(this, 10, value);
|
|
55700
|
+
};
|
|
55701
|
+
|
|
55702
|
+
|
|
55703
|
+
/**
|
|
55704
|
+
* @param {!proto.payment.GameplayPrecisionAccountingLeg=} opt_value
|
|
55705
|
+
* @param {number=} opt_index
|
|
55706
|
+
* @return {!proto.payment.GameplayPrecisionAccountingLeg}
|
|
55707
|
+
*/
|
|
55708
|
+
proto.payment.GameplayPrecisionPreparation.prototype.addAccountingLegs = function(opt_value, opt_index) {
|
|
55709
|
+
return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.payment.GameplayPrecisionAccountingLeg, opt_index);
|
|
55710
|
+
};
|
|
55711
|
+
|
|
55712
|
+
|
|
55713
|
+
/**
|
|
55714
|
+
* Clears the list making it empty but non-null.
|
|
55715
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55716
|
+
*/
|
|
55717
|
+
proto.payment.GameplayPrecisionPreparation.prototype.clearAccountingLegsList = function() {
|
|
55718
|
+
return this.setAccountingLegsList([]);
|
|
55719
|
+
};
|
|
55720
|
+
|
|
55721
|
+
|
|
55722
|
+
/**
|
|
55723
|
+
* optional bool requires_rg_admission = 11;
|
|
55724
|
+
* @return {boolean}
|
|
55725
|
+
*/
|
|
55726
|
+
proto.payment.GameplayPrecisionPreparation.prototype.getRequiresRgAdmission = function() {
|
|
55727
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
55728
|
+
};
|
|
55729
|
+
|
|
55730
|
+
|
|
55731
|
+
/**
|
|
55732
|
+
* @param {boolean} value
|
|
55733
|
+
* @return {!proto.payment.GameplayPrecisionPreparation} returns this
|
|
55734
|
+
*/
|
|
55735
|
+
proto.payment.GameplayPrecisionPreparation.prototype.setRequiresRgAdmission = function(value) {
|
|
55736
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
55737
|
+
};
|
|
55738
|
+
|
|
55739
|
+
|
|
55740
|
+
|
|
55741
|
+
|
|
55742
|
+
|
|
55743
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
55744
|
+
/**
|
|
55745
|
+
* Creates an object representation of this proto.
|
|
55746
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55747
|
+
* Optional fields that are not set will be set to undefined.
|
|
55748
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55749
|
+
* For the list of reserved names please see:
|
|
55750
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
55751
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
55752
|
+
* JSPB instance for transitional soy proto support:
|
|
55753
|
+
* http://goto/soy-param-migration
|
|
55754
|
+
* @return {!Object}
|
|
55755
|
+
*/
|
|
55756
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.toObject = function(opt_includeInstance) {
|
|
55757
|
+
return proto.payment.PrepareGameplayPrecisionCommandRequest.toObject(opt_includeInstance, this);
|
|
55758
|
+
};
|
|
55759
|
+
|
|
55760
|
+
|
|
55761
|
+
/**
|
|
55762
|
+
* Static version of the {@see toObject} method.
|
|
55763
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
55764
|
+
* the JSPB instance for transitional soy proto support:
|
|
55765
|
+
* http://goto/soy-param-migration
|
|
55766
|
+
* @param {!proto.payment.PrepareGameplayPrecisionCommandRequest} msg The msg instance to transform.
|
|
55767
|
+
* @return {!Object}
|
|
55768
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55769
|
+
*/
|
|
55770
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.toObject = function(includeInstance, msg) {
|
|
55771
|
+
var f, obj = {
|
|
55772
|
+
command: (f = msg.getCommand()) && proto.payment.ExecuteGameplayPrecisionCommandRequest.toObject(includeInstance, f),
|
|
55773
|
+
mode: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
55774
|
+
reprepareRequestId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
55775
|
+
expectedGeneration: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
55776
|
+
expectedPreparationFingerprint: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
55777
|
+
previousRelease: (f = msg.getPreviousRelease()) && proto.payment.GameplayPrecisionRgEvidence.toObject(includeInstance, f)
|
|
55778
|
+
};
|
|
55779
|
+
|
|
55780
|
+
if (includeInstance) {
|
|
55781
|
+
obj.$jspbMessageInstance = msg;
|
|
55782
|
+
}
|
|
55783
|
+
return obj;
|
|
55784
|
+
};
|
|
55785
|
+
}
|
|
55786
|
+
|
|
55787
|
+
|
|
55788
|
+
/**
|
|
55789
|
+
* Deserializes binary data (in protobuf wire format).
|
|
55790
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
55791
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandRequest}
|
|
55792
|
+
*/
|
|
55793
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.deserializeBinary = function(bytes) {
|
|
55794
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
55795
|
+
var msg = new proto.payment.PrepareGameplayPrecisionCommandRequest;
|
|
55796
|
+
return proto.payment.PrepareGameplayPrecisionCommandRequest.deserializeBinaryFromReader(msg, reader);
|
|
55797
|
+
};
|
|
55798
|
+
|
|
55799
|
+
|
|
55800
|
+
/**
|
|
55801
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
55802
|
+
* given reader into the given message object.
|
|
55803
|
+
* @param {!proto.payment.PrepareGameplayPrecisionCommandRequest} msg The message object to deserialize into.
|
|
55804
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
55805
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandRequest}
|
|
55806
|
+
*/
|
|
55807
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
55808
|
+
while (reader.nextField()) {
|
|
55809
|
+
if (reader.isEndGroup()) {
|
|
55810
|
+
break;
|
|
55811
|
+
}
|
|
55812
|
+
var field = reader.getFieldNumber();
|
|
55813
|
+
switch (field) {
|
|
55814
|
+
case 1:
|
|
55815
|
+
var value = new proto.payment.ExecuteGameplayPrecisionCommandRequest;
|
|
55816
|
+
reader.readMessage(value,proto.payment.ExecuteGameplayPrecisionCommandRequest.deserializeBinaryFromReader);
|
|
55817
|
+
msg.setCommand(value);
|
|
55818
|
+
break;
|
|
55819
|
+
case 2:
|
|
55820
|
+
var value = /** @type {!proto.payment.GameplayPrecisionPrepareMode} */ (reader.readEnum());
|
|
55821
|
+
msg.setMode(value);
|
|
55822
|
+
break;
|
|
55823
|
+
case 3:
|
|
55824
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55825
|
+
msg.setReprepareRequestId(value);
|
|
55826
|
+
break;
|
|
55827
|
+
case 4:
|
|
55828
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55829
|
+
msg.setExpectedGeneration(value);
|
|
55830
|
+
break;
|
|
55831
|
+
case 5:
|
|
55832
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55833
|
+
msg.setExpectedPreparationFingerprint(value);
|
|
55834
|
+
break;
|
|
55835
|
+
case 6:
|
|
55836
|
+
var value = new proto.payment.GameplayPrecisionRgEvidence;
|
|
55837
|
+
reader.readMessage(value,proto.payment.GameplayPrecisionRgEvidence.deserializeBinaryFromReader);
|
|
55838
|
+
msg.setPreviousRelease(value);
|
|
55839
|
+
break;
|
|
55840
|
+
default:
|
|
55841
|
+
reader.skipField();
|
|
55842
|
+
break;
|
|
55843
|
+
}
|
|
55844
|
+
}
|
|
55845
|
+
return msg;
|
|
55846
|
+
};
|
|
55847
|
+
|
|
55848
|
+
|
|
55849
|
+
/**
|
|
55850
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
55851
|
+
* @return {!Uint8Array}
|
|
55852
|
+
*/
|
|
55853
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.serializeBinary = function() {
|
|
55854
|
+
var writer = new jspb.BinaryWriter();
|
|
55855
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.serializeBinaryToWriter(this, writer);
|
|
55856
|
+
return writer.getResultBuffer();
|
|
55857
|
+
};
|
|
55858
|
+
|
|
55859
|
+
|
|
55860
|
+
/**
|
|
55861
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55862
|
+
* format), writing to the given BinaryWriter.
|
|
55863
|
+
* @param {!proto.payment.PrepareGameplayPrecisionCommandRequest} message
|
|
55864
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55865
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55866
|
+
*/
|
|
55867
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.serializeBinaryToWriter = function(message, writer) {
|
|
55868
|
+
var f = undefined;
|
|
55869
|
+
f = message.getCommand();
|
|
55870
|
+
if (f != null) {
|
|
55871
|
+
writer.writeMessage(
|
|
55872
|
+
1,
|
|
55873
|
+
f,
|
|
55874
|
+
proto.payment.ExecuteGameplayPrecisionCommandRequest.serializeBinaryToWriter
|
|
55875
|
+
);
|
|
55876
|
+
}
|
|
55877
|
+
f = message.getMode();
|
|
55878
|
+
if (f !== 0.0) {
|
|
55879
|
+
writer.writeEnum(
|
|
55880
|
+
2,
|
|
55881
|
+
f
|
|
55882
|
+
);
|
|
55883
|
+
}
|
|
55884
|
+
f = message.getReprepareRequestId();
|
|
55885
|
+
if (f.length > 0) {
|
|
55886
|
+
writer.writeString(
|
|
55887
|
+
3,
|
|
55888
|
+
f
|
|
55889
|
+
);
|
|
55890
|
+
}
|
|
55891
|
+
f = message.getExpectedGeneration();
|
|
55892
|
+
if (f.length > 0) {
|
|
55893
|
+
writer.writeString(
|
|
55894
|
+
4,
|
|
55895
|
+
f
|
|
55896
|
+
);
|
|
55897
|
+
}
|
|
55898
|
+
f = message.getExpectedPreparationFingerprint();
|
|
55899
|
+
if (f.length > 0) {
|
|
55900
|
+
writer.writeString(
|
|
55901
|
+
5,
|
|
55902
|
+
f
|
|
55903
|
+
);
|
|
55904
|
+
}
|
|
55905
|
+
f = message.getPreviousRelease();
|
|
55906
|
+
if (f != null) {
|
|
55907
|
+
writer.writeMessage(
|
|
55908
|
+
6,
|
|
55909
|
+
f,
|
|
55910
|
+
proto.payment.GameplayPrecisionRgEvidence.serializeBinaryToWriter
|
|
55911
|
+
);
|
|
55912
|
+
}
|
|
55913
|
+
};
|
|
55914
|
+
|
|
55915
|
+
|
|
55916
|
+
/**
|
|
55917
|
+
* optional ExecuteGameplayPrecisionCommandRequest command = 1;
|
|
55918
|
+
* @return {?proto.payment.ExecuteGameplayPrecisionCommandRequest}
|
|
55919
|
+
*/
|
|
55920
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.getCommand = function() {
|
|
55921
|
+
return /** @type{?proto.payment.ExecuteGameplayPrecisionCommandRequest} */ (
|
|
55922
|
+
jspb.Message.getWrapperField(this, proto.payment.ExecuteGameplayPrecisionCommandRequest, 1));
|
|
55923
|
+
};
|
|
55924
|
+
|
|
55925
|
+
|
|
55926
|
+
/**
|
|
55927
|
+
* @param {?proto.payment.ExecuteGameplayPrecisionCommandRequest|undefined} value
|
|
55928
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandRequest} returns this
|
|
55929
|
+
*/
|
|
55930
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.setCommand = function(value) {
|
|
55931
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
55932
|
+
};
|
|
55933
|
+
|
|
55934
|
+
|
|
55935
|
+
/**
|
|
55936
|
+
* Clears the message field making it undefined.
|
|
55937
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandRequest} returns this
|
|
55938
|
+
*/
|
|
55939
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.clearCommand = function() {
|
|
55940
|
+
return this.setCommand(undefined);
|
|
55941
|
+
};
|
|
55942
|
+
|
|
55943
|
+
|
|
55944
|
+
/**
|
|
55945
|
+
* Returns whether this field is set.
|
|
55946
|
+
* @return {boolean}
|
|
55947
|
+
*/
|
|
55948
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.hasCommand = function() {
|
|
55949
|
+
return jspb.Message.getField(this, 1) != null;
|
|
55950
|
+
};
|
|
55951
|
+
|
|
55952
|
+
|
|
55953
|
+
/**
|
|
55954
|
+
* optional GameplayPrecisionPrepareMode mode = 2;
|
|
55955
|
+
* @return {!proto.payment.GameplayPrecisionPrepareMode}
|
|
55956
|
+
*/
|
|
55957
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.getMode = function() {
|
|
55958
|
+
return /** @type {!proto.payment.GameplayPrecisionPrepareMode} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
55959
|
+
};
|
|
55960
|
+
|
|
55961
|
+
|
|
55962
|
+
/**
|
|
55963
|
+
* @param {!proto.payment.GameplayPrecisionPrepareMode} value
|
|
55964
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandRequest} returns this
|
|
55965
|
+
*/
|
|
55966
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.setMode = function(value) {
|
|
55967
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
55968
|
+
};
|
|
55969
|
+
|
|
55970
|
+
|
|
55971
|
+
/**
|
|
55972
|
+
* optional string reprepare_request_id = 3;
|
|
55973
|
+
* @return {string}
|
|
55974
|
+
*/
|
|
55975
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.getReprepareRequestId = function() {
|
|
55976
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
55977
|
+
};
|
|
55978
|
+
|
|
55979
|
+
|
|
55980
|
+
/**
|
|
55981
|
+
* @param {string} value
|
|
55982
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandRequest} returns this
|
|
55983
|
+
*/
|
|
55984
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.setReprepareRequestId = function(value) {
|
|
55985
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
55986
|
+
};
|
|
55987
|
+
|
|
55988
|
+
|
|
55989
|
+
/**
|
|
55990
|
+
* optional string expected_generation = 4;
|
|
55991
|
+
* @return {string}
|
|
55992
|
+
*/
|
|
55993
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.getExpectedGeneration = function() {
|
|
55994
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
55995
|
+
};
|
|
55996
|
+
|
|
55997
|
+
|
|
55998
|
+
/**
|
|
55999
|
+
* @param {string} value
|
|
56000
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandRequest} returns this
|
|
56001
|
+
*/
|
|
56002
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.setExpectedGeneration = function(value) {
|
|
56003
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
56004
|
+
};
|
|
56005
|
+
|
|
56006
|
+
|
|
56007
|
+
/**
|
|
56008
|
+
* optional string expected_preparation_fingerprint = 5;
|
|
56009
|
+
* @return {string}
|
|
56010
|
+
*/
|
|
56011
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.getExpectedPreparationFingerprint = function() {
|
|
56012
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
56013
|
+
};
|
|
56014
|
+
|
|
56015
|
+
|
|
56016
|
+
/**
|
|
56017
|
+
* @param {string} value
|
|
56018
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandRequest} returns this
|
|
56019
|
+
*/
|
|
56020
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.setExpectedPreparationFingerprint = function(value) {
|
|
56021
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
56022
|
+
};
|
|
56023
|
+
|
|
56024
|
+
|
|
56025
|
+
/**
|
|
56026
|
+
* optional GameplayPrecisionRgEvidence previous_release = 6;
|
|
56027
|
+
* @return {?proto.payment.GameplayPrecisionRgEvidence}
|
|
56028
|
+
*/
|
|
56029
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.getPreviousRelease = function() {
|
|
56030
|
+
return /** @type{?proto.payment.GameplayPrecisionRgEvidence} */ (
|
|
56031
|
+
jspb.Message.getWrapperField(this, proto.payment.GameplayPrecisionRgEvidence, 6));
|
|
56032
|
+
};
|
|
56033
|
+
|
|
56034
|
+
|
|
56035
|
+
/**
|
|
56036
|
+
* @param {?proto.payment.GameplayPrecisionRgEvidence|undefined} value
|
|
56037
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandRequest} returns this
|
|
56038
|
+
*/
|
|
56039
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.setPreviousRelease = function(value) {
|
|
56040
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
56041
|
+
};
|
|
56042
|
+
|
|
56043
|
+
|
|
56044
|
+
/**
|
|
56045
|
+
* Clears the message field making it undefined.
|
|
56046
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandRequest} returns this
|
|
56047
|
+
*/
|
|
56048
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.clearPreviousRelease = function() {
|
|
56049
|
+
return this.setPreviousRelease(undefined);
|
|
56050
|
+
};
|
|
56051
|
+
|
|
56052
|
+
|
|
56053
|
+
/**
|
|
56054
|
+
* Returns whether this field is set.
|
|
56055
|
+
* @return {boolean}
|
|
56056
|
+
*/
|
|
56057
|
+
proto.payment.PrepareGameplayPrecisionCommandRequest.prototype.hasPreviousRelease = function() {
|
|
56058
|
+
return jspb.Message.getField(this, 6) != null;
|
|
56059
|
+
};
|
|
56060
|
+
|
|
56061
|
+
|
|
56062
|
+
|
|
56063
|
+
|
|
56064
|
+
|
|
56065
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
56066
|
+
/**
|
|
56067
|
+
* Creates an object representation of this proto.
|
|
56068
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
56069
|
+
* Optional fields that are not set will be set to undefined.
|
|
56070
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
56071
|
+
* For the list of reserved names please see:
|
|
56072
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
56073
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
56074
|
+
* JSPB instance for transitional soy proto support:
|
|
56075
|
+
* http://goto/soy-param-migration
|
|
56076
|
+
* @return {!Object}
|
|
56077
|
+
*/
|
|
56078
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.toObject = function(opt_includeInstance) {
|
|
56079
|
+
return proto.payment.PrepareGameplayPrecisionCommandResponse.toObject(opt_includeInstance, this);
|
|
56080
|
+
};
|
|
56081
|
+
|
|
56082
|
+
|
|
56083
|
+
/**
|
|
56084
|
+
* Static version of the {@see toObject} method.
|
|
56085
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
56086
|
+
* the JSPB instance for transitional soy proto support:
|
|
56087
|
+
* http://goto/soy-param-migration
|
|
56088
|
+
* @param {!proto.payment.PrepareGameplayPrecisionCommandResponse} msg The msg instance to transform.
|
|
56089
|
+
* @return {!Object}
|
|
56090
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56091
|
+
*/
|
|
56092
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.toObject = function(includeInstance, msg) {
|
|
56093
|
+
var f, obj = {
|
|
56094
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
56095
|
+
preparation: (f = msg.getPreparation()) && proto.payment.GameplayPrecisionPreparation.toObject(includeInstance, f),
|
|
56096
|
+
committedResult: (f = msg.getCommittedResult()) && proto.payment.GameplayPrecisionResult.toObject(includeInstance, f),
|
|
56097
|
+
reasonKey: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
56098
|
+
};
|
|
56099
|
+
|
|
56100
|
+
if (includeInstance) {
|
|
56101
|
+
obj.$jspbMessageInstance = msg;
|
|
56102
|
+
}
|
|
56103
|
+
return obj;
|
|
56104
|
+
};
|
|
56105
|
+
}
|
|
56106
|
+
|
|
56107
|
+
|
|
56108
|
+
/**
|
|
56109
|
+
* Deserializes binary data (in protobuf wire format).
|
|
56110
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
56111
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandResponse}
|
|
56112
|
+
*/
|
|
56113
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.deserializeBinary = function(bytes) {
|
|
56114
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
56115
|
+
var msg = new proto.payment.PrepareGameplayPrecisionCommandResponse;
|
|
56116
|
+
return proto.payment.PrepareGameplayPrecisionCommandResponse.deserializeBinaryFromReader(msg, reader);
|
|
56117
|
+
};
|
|
56118
|
+
|
|
56119
|
+
|
|
56120
|
+
/**
|
|
56121
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
56122
|
+
* given reader into the given message object.
|
|
56123
|
+
* @param {!proto.payment.PrepareGameplayPrecisionCommandResponse} msg The message object to deserialize into.
|
|
56124
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
56125
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandResponse}
|
|
56126
|
+
*/
|
|
56127
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
56128
|
+
while (reader.nextField()) {
|
|
56129
|
+
if (reader.isEndGroup()) {
|
|
56130
|
+
break;
|
|
56131
|
+
}
|
|
56132
|
+
var field = reader.getFieldNumber();
|
|
56133
|
+
switch (field) {
|
|
56134
|
+
case 1:
|
|
56135
|
+
var value = /** @type {string} */ (reader.readString());
|
|
56136
|
+
msg.setStatus(value);
|
|
56137
|
+
break;
|
|
56138
|
+
case 2:
|
|
56139
|
+
var value = new proto.payment.GameplayPrecisionPreparation;
|
|
56140
|
+
reader.readMessage(value,proto.payment.GameplayPrecisionPreparation.deserializeBinaryFromReader);
|
|
56141
|
+
msg.setPreparation(value);
|
|
56142
|
+
break;
|
|
56143
|
+
case 3:
|
|
56144
|
+
var value = new proto.payment.GameplayPrecisionResult;
|
|
56145
|
+
reader.readMessage(value,proto.payment.GameplayPrecisionResult.deserializeBinaryFromReader);
|
|
56146
|
+
msg.setCommittedResult(value);
|
|
56147
|
+
break;
|
|
56148
|
+
case 4:
|
|
56149
|
+
var value = /** @type {string} */ (reader.readString());
|
|
56150
|
+
msg.setReasonKey(value);
|
|
56151
|
+
break;
|
|
56152
|
+
default:
|
|
56153
|
+
reader.skipField();
|
|
56154
|
+
break;
|
|
56155
|
+
}
|
|
56156
|
+
}
|
|
56157
|
+
return msg;
|
|
56158
|
+
};
|
|
56159
|
+
|
|
56160
|
+
|
|
56161
|
+
/**
|
|
56162
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
56163
|
+
* @return {!Uint8Array}
|
|
56164
|
+
*/
|
|
56165
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.serializeBinary = function() {
|
|
56166
|
+
var writer = new jspb.BinaryWriter();
|
|
56167
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.serializeBinaryToWriter(this, writer);
|
|
56168
|
+
return writer.getResultBuffer();
|
|
56169
|
+
};
|
|
56170
|
+
|
|
56171
|
+
|
|
56172
|
+
/**
|
|
56173
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
56174
|
+
* format), writing to the given BinaryWriter.
|
|
56175
|
+
* @param {!proto.payment.PrepareGameplayPrecisionCommandResponse} message
|
|
56176
|
+
* @param {!jspb.BinaryWriter} writer
|
|
56177
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56178
|
+
*/
|
|
56179
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.serializeBinaryToWriter = function(message, writer) {
|
|
56180
|
+
var f = undefined;
|
|
56181
|
+
f = message.getStatus();
|
|
56182
|
+
if (f.length > 0) {
|
|
56183
|
+
writer.writeString(
|
|
56184
|
+
1,
|
|
56185
|
+
f
|
|
56186
|
+
);
|
|
56187
|
+
}
|
|
56188
|
+
f = message.getPreparation();
|
|
56189
|
+
if (f != null) {
|
|
56190
|
+
writer.writeMessage(
|
|
56191
|
+
2,
|
|
56192
|
+
f,
|
|
56193
|
+
proto.payment.GameplayPrecisionPreparation.serializeBinaryToWriter
|
|
56194
|
+
);
|
|
56195
|
+
}
|
|
56196
|
+
f = message.getCommittedResult();
|
|
56197
|
+
if (f != null) {
|
|
56198
|
+
writer.writeMessage(
|
|
56199
|
+
3,
|
|
56200
|
+
f,
|
|
56201
|
+
proto.payment.GameplayPrecisionResult.serializeBinaryToWriter
|
|
56202
|
+
);
|
|
56203
|
+
}
|
|
56204
|
+
f = message.getReasonKey();
|
|
56205
|
+
if (f.length > 0) {
|
|
56206
|
+
writer.writeString(
|
|
56207
|
+
4,
|
|
56208
|
+
f
|
|
56209
|
+
);
|
|
56210
|
+
}
|
|
56211
|
+
};
|
|
56212
|
+
|
|
56213
|
+
|
|
56214
|
+
/**
|
|
56215
|
+
* optional string status = 1;
|
|
56216
|
+
* @return {string}
|
|
56217
|
+
*/
|
|
56218
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.getStatus = function() {
|
|
56219
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
56220
|
+
};
|
|
56221
|
+
|
|
56222
|
+
|
|
56223
|
+
/**
|
|
56224
|
+
* @param {string} value
|
|
56225
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandResponse} returns this
|
|
56226
|
+
*/
|
|
56227
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.setStatus = function(value) {
|
|
56228
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
56229
|
+
};
|
|
56230
|
+
|
|
56231
|
+
|
|
56232
|
+
/**
|
|
56233
|
+
* optional GameplayPrecisionPreparation preparation = 2;
|
|
56234
|
+
* @return {?proto.payment.GameplayPrecisionPreparation}
|
|
56235
|
+
*/
|
|
56236
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.getPreparation = function() {
|
|
56237
|
+
return /** @type{?proto.payment.GameplayPrecisionPreparation} */ (
|
|
56238
|
+
jspb.Message.getWrapperField(this, proto.payment.GameplayPrecisionPreparation, 2));
|
|
56239
|
+
};
|
|
56240
|
+
|
|
56241
|
+
|
|
56242
|
+
/**
|
|
56243
|
+
* @param {?proto.payment.GameplayPrecisionPreparation|undefined} value
|
|
56244
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandResponse} returns this
|
|
56245
|
+
*/
|
|
56246
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.setPreparation = function(value) {
|
|
56247
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
56248
|
+
};
|
|
56249
|
+
|
|
56250
|
+
|
|
56251
|
+
/**
|
|
56252
|
+
* Clears the message field making it undefined.
|
|
56253
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandResponse} returns this
|
|
56254
|
+
*/
|
|
56255
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.clearPreparation = function() {
|
|
56256
|
+
return this.setPreparation(undefined);
|
|
56257
|
+
};
|
|
56258
|
+
|
|
56259
|
+
|
|
56260
|
+
/**
|
|
56261
|
+
* Returns whether this field is set.
|
|
56262
|
+
* @return {boolean}
|
|
56263
|
+
*/
|
|
56264
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.hasPreparation = function() {
|
|
56265
|
+
return jspb.Message.getField(this, 2) != null;
|
|
56266
|
+
};
|
|
56267
|
+
|
|
56268
|
+
|
|
56269
|
+
/**
|
|
56270
|
+
* optional GameplayPrecisionResult committed_result = 3;
|
|
56271
|
+
* @return {?proto.payment.GameplayPrecisionResult}
|
|
56272
|
+
*/
|
|
56273
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.getCommittedResult = function() {
|
|
56274
|
+
return /** @type{?proto.payment.GameplayPrecisionResult} */ (
|
|
56275
|
+
jspb.Message.getWrapperField(this, proto.payment.GameplayPrecisionResult, 3));
|
|
56276
|
+
};
|
|
56277
|
+
|
|
56278
|
+
|
|
56279
|
+
/**
|
|
56280
|
+
* @param {?proto.payment.GameplayPrecisionResult|undefined} value
|
|
56281
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandResponse} returns this
|
|
56282
|
+
*/
|
|
56283
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.setCommittedResult = function(value) {
|
|
56284
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
56285
|
+
};
|
|
56286
|
+
|
|
56287
|
+
|
|
56288
|
+
/**
|
|
56289
|
+
* Clears the message field making it undefined.
|
|
56290
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandResponse} returns this
|
|
56291
|
+
*/
|
|
56292
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.clearCommittedResult = function() {
|
|
56293
|
+
return this.setCommittedResult(undefined);
|
|
56294
|
+
};
|
|
56295
|
+
|
|
56296
|
+
|
|
56297
|
+
/**
|
|
56298
|
+
* Returns whether this field is set.
|
|
56299
|
+
* @return {boolean}
|
|
56300
|
+
*/
|
|
56301
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.hasCommittedResult = function() {
|
|
56302
|
+
return jspb.Message.getField(this, 3) != null;
|
|
56303
|
+
};
|
|
56304
|
+
|
|
56305
|
+
|
|
56306
|
+
/**
|
|
56307
|
+
* optional string reason_key = 4;
|
|
56308
|
+
* @return {string}
|
|
56309
|
+
*/
|
|
56310
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.getReasonKey = function() {
|
|
56311
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
56312
|
+
};
|
|
56313
|
+
|
|
56314
|
+
|
|
56315
|
+
/**
|
|
56316
|
+
* @param {string} value
|
|
56317
|
+
* @return {!proto.payment.PrepareGameplayPrecisionCommandResponse} returns this
|
|
56318
|
+
*/
|
|
56319
|
+
proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.setReasonKey = function(value) {
|
|
56320
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
56321
|
+
};
|
|
56322
|
+
|
|
56323
|
+
|
|
56324
|
+
/**
|
|
56325
|
+
* @enum {number}
|
|
56326
|
+
*/
|
|
56327
|
+
proto.payment.GameplayPrecisionPrepareMode = {
|
|
56328
|
+
GAMEPLAY_PRECISION_PREPARE_UNSPECIFIED: 0,
|
|
56329
|
+
GAMEPLAY_PRECISION_PREPARE_INITIAL: 1,
|
|
56330
|
+
GAMEPLAY_PRECISION_REPREPARE: 2
|
|
56331
|
+
};
|
|
56332
|
+
|
|
54115
56333
|
goog.object.extend(exports, proto.payment);
|