protobuf-platform 1.2.657 → 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.
@@ -58,8 +58,16 @@ goog.exportSymbol('proto.payment.DepositResponse', null, global);
58
58
  goog.exportSymbol('proto.payment.DepositStatus', null, global);
59
59
  goog.exportSymbol('proto.payment.DepositStatusItemsResponse', null, global);
60
60
  goog.exportSymbol('proto.payment.DepositWebHookRequest', null, global);
61
+ goog.exportSymbol('proto.payment.ExecuteGameplayPrecisionCommandRequest', null, global);
61
62
  goog.exportSymbol('proto.payment.File', null, global);
62
63
  goog.exportSymbol('proto.payment.FinancialOperationResponse', null, global);
64
+ goog.exportSymbol('proto.payment.GameplayPrecisionAccountingLeg', null, global);
65
+ goog.exportSymbol('proto.payment.GameplayPrecisionLeg', null, global);
66
+ goog.exportSymbol('proto.payment.GameplayPrecisionPreparation', null, global);
67
+ goog.exportSymbol('proto.payment.GameplayPrecisionPrepareMode', null, global);
68
+ goog.exportSymbol('proto.payment.GameplayPrecisionResult', null, global);
69
+ goog.exportSymbol('proto.payment.GameplayPrecisionRgEvidence', null, global);
70
+ goog.exportSymbol('proto.payment.GameplayPrecisionSessionRequest', null, global);
63
71
  goog.exportSymbol('proto.payment.GetCurrenciesMetadataRequest', null, global);
64
72
  goog.exportSymbol('proto.payment.GetCurrencyMetadataRequest', null, global);
65
73
  goog.exportSymbol('proto.payment.GetCurrencyRequest', null, global);
@@ -106,6 +114,8 @@ goog.exportSymbol('proto.payment.PaymentStatusResponse', null, global);
106
114
  goog.exportSymbol('proto.payment.PingRequest', null, global);
107
115
  goog.exportSymbol('proto.payment.PongResponse', null, global);
108
116
  goog.exportSymbol('proto.payment.PoorMethodsRequest', null, global);
117
+ goog.exportSymbol('proto.payment.PrepareGameplayPrecisionCommandRequest', null, global);
118
+ goog.exportSymbol('proto.payment.PrepareGameplayPrecisionCommandResponse', null, global);
109
119
  goog.exportSymbol('proto.payment.ProcessedDepositResponse', null, global);
110
120
  goog.exportSymbol('proto.payment.ProcessedWithdrawalResponse', null, global);
111
121
  goog.exportSymbol('proto.payment.ProviderItem', null, global);
@@ -118,6 +128,7 @@ goog.exportSymbol('proto.payment.ProviderResponse', null, global);
118
128
  goog.exportSymbol('proto.payment.ProviderTranslationItem', null, global);
119
129
  goog.exportSymbol('proto.payment.ProviderTranslationRequest', null, global);
120
130
  goog.exportSymbol('proto.payment.ProviderTranslationResponse', null, global);
131
+ goog.exportSymbol('proto.payment.RegisterGameplayPrecisionSessionRequest', null, global);
121
132
  goog.exportSymbol('proto.payment.ResolveGameWalletContextRequest', null, global);
122
133
  goog.exportSymbol('proto.payment.ResolveGameWalletContextResponse', null, global);
123
134
  goog.exportSymbol('proto.payment.SegmentedUserRequest', null, global);
@@ -2597,6 +2608,216 @@ if (goog.DEBUG && !COMPILED) {
2597
2608
  */
2598
2609
  proto.payment.FinancialOperationResponse.displayName = 'proto.payment.FinancialOperationResponse';
2599
2610
  }
2611
+ /**
2612
+ * Generated by JsPbCodeGenerator.
2613
+ * @param {Array=} opt_data Optional initial data array, typically from a
2614
+ * server response, or constructed directly in Javascript. The array is used
2615
+ * in place and becomes part of the constructed object. It is not cloned.
2616
+ * If no data is provided, the constructed object will be empty, but still
2617
+ * valid.
2618
+ * @extends {jspb.Message}
2619
+ * @constructor
2620
+ */
2621
+ proto.payment.RegisterGameplayPrecisionSessionRequest = function(opt_data) {
2622
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2623
+ };
2624
+ goog.inherits(proto.payment.RegisterGameplayPrecisionSessionRequest, jspb.Message);
2625
+ if (goog.DEBUG && !COMPILED) {
2626
+ /**
2627
+ * @public
2628
+ * @override
2629
+ */
2630
+ proto.payment.RegisterGameplayPrecisionSessionRequest.displayName = 'proto.payment.RegisterGameplayPrecisionSessionRequest';
2631
+ }
2632
+ /**
2633
+ * Generated by JsPbCodeGenerator.
2634
+ * @param {Array=} opt_data Optional initial data array, typically from a
2635
+ * server response, or constructed directly in Javascript. The array is used
2636
+ * in place and becomes part of the constructed object. It is not cloned.
2637
+ * If no data is provided, the constructed object will be empty, but still
2638
+ * valid.
2639
+ * @extends {jspb.Message}
2640
+ * @constructor
2641
+ */
2642
+ proto.payment.GameplayPrecisionSessionRequest = function(opt_data) {
2643
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2644
+ };
2645
+ goog.inherits(proto.payment.GameplayPrecisionSessionRequest, jspb.Message);
2646
+ if (goog.DEBUG && !COMPILED) {
2647
+ /**
2648
+ * @public
2649
+ * @override
2650
+ */
2651
+ proto.payment.GameplayPrecisionSessionRequest.displayName = 'proto.payment.GameplayPrecisionSessionRequest';
2652
+ }
2653
+ /**
2654
+ * Generated by JsPbCodeGenerator.
2655
+ * @param {Array=} opt_data Optional initial data array, typically from a
2656
+ * server response, or constructed directly in Javascript. The array is used
2657
+ * in place and becomes part of the constructed object. It is not cloned.
2658
+ * If no data is provided, the constructed object will be empty, but still
2659
+ * valid.
2660
+ * @extends {jspb.Message}
2661
+ * @constructor
2662
+ */
2663
+ proto.payment.GameplayPrecisionLeg = function(opt_data) {
2664
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2665
+ };
2666
+ goog.inherits(proto.payment.GameplayPrecisionLeg, jspb.Message);
2667
+ if (goog.DEBUG && !COMPILED) {
2668
+ /**
2669
+ * @public
2670
+ * @override
2671
+ */
2672
+ proto.payment.GameplayPrecisionLeg.displayName = 'proto.payment.GameplayPrecisionLeg';
2673
+ }
2674
+ /**
2675
+ * Generated by JsPbCodeGenerator.
2676
+ * @param {Array=} opt_data Optional initial data array, typically from a
2677
+ * server response, or constructed directly in Javascript. The array is used
2678
+ * in place and becomes part of the constructed object. It is not cloned.
2679
+ * If no data is provided, the constructed object will be empty, but still
2680
+ * valid.
2681
+ * @extends {jspb.Message}
2682
+ * @constructor
2683
+ */
2684
+ proto.payment.ExecuteGameplayPrecisionCommandRequest = function(opt_data) {
2685
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.ExecuteGameplayPrecisionCommandRequest.repeatedFields_, null);
2686
+ };
2687
+ goog.inherits(proto.payment.ExecuteGameplayPrecisionCommandRequest, jspb.Message);
2688
+ if (goog.DEBUG && !COMPILED) {
2689
+ /**
2690
+ * @public
2691
+ * @override
2692
+ */
2693
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.displayName = 'proto.payment.ExecuteGameplayPrecisionCommandRequest';
2694
+ }
2695
+ /**
2696
+ * Generated by JsPbCodeGenerator.
2697
+ * @param {Array=} opt_data Optional initial data array, typically from a
2698
+ * server response, or constructed directly in Javascript. The array is used
2699
+ * in place and becomes part of the constructed object. It is not cloned.
2700
+ * If no data is provided, the constructed object will be empty, but still
2701
+ * valid.
2702
+ * @extends {jspb.Message}
2703
+ * @constructor
2704
+ */
2705
+ proto.payment.GameplayPrecisionResult = function(opt_data) {
2706
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GameplayPrecisionResult.repeatedFields_, null);
2707
+ };
2708
+ goog.inherits(proto.payment.GameplayPrecisionResult, jspb.Message);
2709
+ if (goog.DEBUG && !COMPILED) {
2710
+ /**
2711
+ * @public
2712
+ * @override
2713
+ */
2714
+ proto.payment.GameplayPrecisionResult.displayName = 'proto.payment.GameplayPrecisionResult';
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
+ }
2600
2821
 
2601
2822
 
2602
2823
 
@@ -51955,4 +52176,4158 @@ proto.payment.FinancialOperationResponse.prototype.hasCompletedAt = function() {
51955
52176
  };
51956
52177
 
51957
52178
 
52179
+
52180
+
52181
+
52182
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52183
+ /**
52184
+ * Creates an object representation of this proto.
52185
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52186
+ * Optional fields that are not set will be set to undefined.
52187
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52188
+ * For the list of reserved names please see:
52189
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52190
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52191
+ * JSPB instance for transitional soy proto support:
52192
+ * http://goto/soy-param-migration
52193
+ * @return {!Object}
52194
+ */
52195
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.toObject = function(opt_includeInstance) {
52196
+ return proto.payment.RegisterGameplayPrecisionSessionRequest.toObject(opt_includeInstance, this);
52197
+ };
52198
+
52199
+
52200
+ /**
52201
+ * Static version of the {@see toObject} method.
52202
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52203
+ * the JSPB instance for transitional soy proto support:
52204
+ * http://goto/soy-param-migration
52205
+ * @param {!proto.payment.RegisterGameplayPrecisionSessionRequest} msg The msg instance to transform.
52206
+ * @return {!Object}
52207
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52208
+ */
52209
+ proto.payment.RegisterGameplayPrecisionSessionRequest.toObject = function(includeInstance, msg) {
52210
+ var f, obj = {
52211
+ userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
52212
+ internalSessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
52213
+ vendor: jspb.Message.getFieldWithDefault(msg, 3, ""),
52214
+ providerId: jspb.Message.getFieldWithDefault(msg, 4, ""),
52215
+ accountingCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
52216
+ accountingScale: jspb.Message.getFieldWithDefault(msg, 6, 0),
52217
+ providerCurrency: jspb.Message.getFieldWithDefault(msg, 7, ""),
52218
+ wireCurrency: jspb.Message.getFieldWithDefault(msg, 8, ""),
52219
+ wireMultiplier: jspb.Message.getFieldWithDefault(msg, 9, ""),
52220
+ fxRate: jspb.Message.getFieldWithDefault(msg, 10, ""),
52221
+ fxSnapshotJson: jspb.Message.getFieldWithDefault(msg, 11, ""),
52222
+ precisionModelVersion: jspb.Message.getFieldWithDefault(msg, 12, 0),
52223
+ balanceType: jspb.Message.getFieldWithDefault(msg, 13, ""),
52224
+ gameType: jspb.Message.getFieldWithDefault(msg, 14, ""),
52225
+ gameId: jspb.Message.getFieldWithDefault(msg, 15, ""),
52226
+ gameCode: jspb.Message.getFieldWithDefault(msg, 16, ""),
52227
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 17, ""),
52228
+ userFreespinBonusId: jspb.Message.getFieldWithDefault(msg, 18, ""),
52229
+ bankrollMode: jspb.Message.getFieldWithDefault(msg, 19, ""),
52230
+ responsePolicyVersion: jspb.Message.getFieldWithDefault(msg, 20, "")
52231
+ };
52232
+
52233
+ if (includeInstance) {
52234
+ obj.$jspbMessageInstance = msg;
52235
+ }
52236
+ return obj;
52237
+ };
52238
+ }
52239
+
52240
+
52241
+ /**
52242
+ * Deserializes binary data (in protobuf wire format).
52243
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
52244
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest}
52245
+ */
52246
+ proto.payment.RegisterGameplayPrecisionSessionRequest.deserializeBinary = function(bytes) {
52247
+ var reader = new jspb.BinaryReader(bytes);
52248
+ var msg = new proto.payment.RegisterGameplayPrecisionSessionRequest;
52249
+ return proto.payment.RegisterGameplayPrecisionSessionRequest.deserializeBinaryFromReader(msg, reader);
52250
+ };
52251
+
52252
+
52253
+ /**
52254
+ * Deserializes binary data (in protobuf wire format) from the
52255
+ * given reader into the given message object.
52256
+ * @param {!proto.payment.RegisterGameplayPrecisionSessionRequest} msg The message object to deserialize into.
52257
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
52258
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest}
52259
+ */
52260
+ proto.payment.RegisterGameplayPrecisionSessionRequest.deserializeBinaryFromReader = function(msg, reader) {
52261
+ while (reader.nextField()) {
52262
+ if (reader.isEndGroup()) {
52263
+ break;
52264
+ }
52265
+ var field = reader.getFieldNumber();
52266
+ switch (field) {
52267
+ case 1:
52268
+ var value = /** @type {string} */ (reader.readString());
52269
+ msg.setUserId(value);
52270
+ break;
52271
+ case 2:
52272
+ var value = /** @type {string} */ (reader.readString());
52273
+ msg.setInternalSessionId(value);
52274
+ break;
52275
+ case 3:
52276
+ var value = /** @type {string} */ (reader.readString());
52277
+ msg.setVendor(value);
52278
+ break;
52279
+ case 4:
52280
+ var value = /** @type {string} */ (reader.readString());
52281
+ msg.setProviderId(value);
52282
+ break;
52283
+ case 5:
52284
+ var value = /** @type {string} */ (reader.readString());
52285
+ msg.setAccountingCurrency(value);
52286
+ break;
52287
+ case 6:
52288
+ var value = /** @type {number} */ (reader.readUint32());
52289
+ msg.setAccountingScale(value);
52290
+ break;
52291
+ case 7:
52292
+ var value = /** @type {string} */ (reader.readString());
52293
+ msg.setProviderCurrency(value);
52294
+ break;
52295
+ case 8:
52296
+ var value = /** @type {string} */ (reader.readString());
52297
+ msg.setWireCurrency(value);
52298
+ break;
52299
+ case 9:
52300
+ var value = /** @type {string} */ (reader.readString());
52301
+ msg.setWireMultiplier(value);
52302
+ break;
52303
+ case 10:
52304
+ var value = /** @type {string} */ (reader.readString());
52305
+ msg.setFxRate(value);
52306
+ break;
52307
+ case 11:
52308
+ var value = /** @type {string} */ (reader.readString());
52309
+ msg.setFxSnapshotJson(value);
52310
+ break;
52311
+ case 12:
52312
+ var value = /** @type {number} */ (reader.readUint32());
52313
+ msg.setPrecisionModelVersion(value);
52314
+ break;
52315
+ case 13:
52316
+ var value = /** @type {string} */ (reader.readString());
52317
+ msg.setBalanceType(value);
52318
+ break;
52319
+ case 14:
52320
+ var value = /** @type {string} */ (reader.readString());
52321
+ msg.setGameType(value);
52322
+ break;
52323
+ case 15:
52324
+ var value = /** @type {string} */ (reader.readString());
52325
+ msg.setGameId(value);
52326
+ break;
52327
+ case 16:
52328
+ var value = /** @type {string} */ (reader.readString());
52329
+ msg.setGameCode(value);
52330
+ break;
52331
+ case 17:
52332
+ var value = /** @type {string} */ (reader.readString());
52333
+ msg.setUserBonusId(value);
52334
+ break;
52335
+ case 18:
52336
+ var value = /** @type {string} */ (reader.readString());
52337
+ msg.setUserFreespinBonusId(value);
52338
+ break;
52339
+ case 19:
52340
+ var value = /** @type {string} */ (reader.readString());
52341
+ msg.setBankrollMode(value);
52342
+ break;
52343
+ case 20:
52344
+ var value = /** @type {string} */ (reader.readString());
52345
+ msg.setResponsePolicyVersion(value);
52346
+ break;
52347
+ default:
52348
+ reader.skipField();
52349
+ break;
52350
+ }
52351
+ }
52352
+ return msg;
52353
+ };
52354
+
52355
+
52356
+ /**
52357
+ * Serializes the message to binary data (in protobuf wire format).
52358
+ * @return {!Uint8Array}
52359
+ */
52360
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.serializeBinary = function() {
52361
+ var writer = new jspb.BinaryWriter();
52362
+ proto.payment.RegisterGameplayPrecisionSessionRequest.serializeBinaryToWriter(this, writer);
52363
+ return writer.getResultBuffer();
52364
+ };
52365
+
52366
+
52367
+ /**
52368
+ * Serializes the given message to binary data (in protobuf wire
52369
+ * format), writing to the given BinaryWriter.
52370
+ * @param {!proto.payment.RegisterGameplayPrecisionSessionRequest} message
52371
+ * @param {!jspb.BinaryWriter} writer
52372
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52373
+ */
52374
+ proto.payment.RegisterGameplayPrecisionSessionRequest.serializeBinaryToWriter = function(message, writer) {
52375
+ var f = undefined;
52376
+ f = message.getUserId();
52377
+ if (f.length > 0) {
52378
+ writer.writeString(
52379
+ 1,
52380
+ f
52381
+ );
52382
+ }
52383
+ f = message.getInternalSessionId();
52384
+ if (f.length > 0) {
52385
+ writer.writeString(
52386
+ 2,
52387
+ f
52388
+ );
52389
+ }
52390
+ f = message.getVendor();
52391
+ if (f.length > 0) {
52392
+ writer.writeString(
52393
+ 3,
52394
+ f
52395
+ );
52396
+ }
52397
+ f = message.getProviderId();
52398
+ if (f.length > 0) {
52399
+ writer.writeString(
52400
+ 4,
52401
+ f
52402
+ );
52403
+ }
52404
+ f = message.getAccountingCurrency();
52405
+ if (f.length > 0) {
52406
+ writer.writeString(
52407
+ 5,
52408
+ f
52409
+ );
52410
+ }
52411
+ f = message.getAccountingScale();
52412
+ if (f !== 0) {
52413
+ writer.writeUint32(
52414
+ 6,
52415
+ f
52416
+ );
52417
+ }
52418
+ f = message.getProviderCurrency();
52419
+ if (f.length > 0) {
52420
+ writer.writeString(
52421
+ 7,
52422
+ f
52423
+ );
52424
+ }
52425
+ f = message.getWireCurrency();
52426
+ if (f.length > 0) {
52427
+ writer.writeString(
52428
+ 8,
52429
+ f
52430
+ );
52431
+ }
52432
+ f = message.getWireMultiplier();
52433
+ if (f.length > 0) {
52434
+ writer.writeString(
52435
+ 9,
52436
+ f
52437
+ );
52438
+ }
52439
+ f = message.getFxRate();
52440
+ if (f.length > 0) {
52441
+ writer.writeString(
52442
+ 10,
52443
+ f
52444
+ );
52445
+ }
52446
+ f = message.getFxSnapshotJson();
52447
+ if (f.length > 0) {
52448
+ writer.writeString(
52449
+ 11,
52450
+ f
52451
+ );
52452
+ }
52453
+ f = message.getPrecisionModelVersion();
52454
+ if (f !== 0) {
52455
+ writer.writeUint32(
52456
+ 12,
52457
+ f
52458
+ );
52459
+ }
52460
+ f = message.getBalanceType();
52461
+ if (f.length > 0) {
52462
+ writer.writeString(
52463
+ 13,
52464
+ f
52465
+ );
52466
+ }
52467
+ f = message.getGameType();
52468
+ if (f.length > 0) {
52469
+ writer.writeString(
52470
+ 14,
52471
+ f
52472
+ );
52473
+ }
52474
+ f = message.getGameId();
52475
+ if (f.length > 0) {
52476
+ writer.writeString(
52477
+ 15,
52478
+ f
52479
+ );
52480
+ }
52481
+ f = message.getGameCode();
52482
+ if (f.length > 0) {
52483
+ writer.writeString(
52484
+ 16,
52485
+ f
52486
+ );
52487
+ }
52488
+ f = message.getUserBonusId();
52489
+ if (f.length > 0) {
52490
+ writer.writeString(
52491
+ 17,
52492
+ f
52493
+ );
52494
+ }
52495
+ f = message.getUserFreespinBonusId();
52496
+ if (f.length > 0) {
52497
+ writer.writeString(
52498
+ 18,
52499
+ f
52500
+ );
52501
+ }
52502
+ f = message.getBankrollMode();
52503
+ if (f.length > 0) {
52504
+ writer.writeString(
52505
+ 19,
52506
+ f
52507
+ );
52508
+ }
52509
+ f = message.getResponsePolicyVersion();
52510
+ if (f.length > 0) {
52511
+ writer.writeString(
52512
+ 20,
52513
+ f
52514
+ );
52515
+ }
52516
+ };
52517
+
52518
+
52519
+ /**
52520
+ * optional string user_id = 1;
52521
+ * @return {string}
52522
+ */
52523
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getUserId = function() {
52524
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
52525
+ };
52526
+
52527
+
52528
+ /**
52529
+ * @param {string} value
52530
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52531
+ */
52532
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setUserId = function(value) {
52533
+ return jspb.Message.setProto3StringField(this, 1, value);
52534
+ };
52535
+
52536
+
52537
+ /**
52538
+ * optional string internal_session_id = 2;
52539
+ * @return {string}
52540
+ */
52541
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getInternalSessionId = function() {
52542
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
52543
+ };
52544
+
52545
+
52546
+ /**
52547
+ * @param {string} value
52548
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52549
+ */
52550
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setInternalSessionId = function(value) {
52551
+ return jspb.Message.setProto3StringField(this, 2, value);
52552
+ };
52553
+
52554
+
52555
+ /**
52556
+ * optional string vendor = 3;
52557
+ * @return {string}
52558
+ */
52559
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getVendor = function() {
52560
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
52561
+ };
52562
+
52563
+
52564
+ /**
52565
+ * @param {string} value
52566
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52567
+ */
52568
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setVendor = function(value) {
52569
+ return jspb.Message.setProto3StringField(this, 3, value);
52570
+ };
52571
+
52572
+
52573
+ /**
52574
+ * optional string provider_id = 4;
52575
+ * @return {string}
52576
+ */
52577
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getProviderId = function() {
52578
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
52579
+ };
52580
+
52581
+
52582
+ /**
52583
+ * @param {string} value
52584
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52585
+ */
52586
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setProviderId = function(value) {
52587
+ return jspb.Message.setProto3StringField(this, 4, value);
52588
+ };
52589
+
52590
+
52591
+ /**
52592
+ * optional string accounting_currency = 5;
52593
+ * @return {string}
52594
+ */
52595
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getAccountingCurrency = function() {
52596
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
52597
+ };
52598
+
52599
+
52600
+ /**
52601
+ * @param {string} value
52602
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52603
+ */
52604
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setAccountingCurrency = function(value) {
52605
+ return jspb.Message.setProto3StringField(this, 5, value);
52606
+ };
52607
+
52608
+
52609
+ /**
52610
+ * optional uint32 accounting_scale = 6;
52611
+ * @return {number}
52612
+ */
52613
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getAccountingScale = function() {
52614
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
52615
+ };
52616
+
52617
+
52618
+ /**
52619
+ * @param {number} value
52620
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52621
+ */
52622
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setAccountingScale = function(value) {
52623
+ return jspb.Message.setProto3IntField(this, 6, value);
52624
+ };
52625
+
52626
+
52627
+ /**
52628
+ * optional string provider_currency = 7;
52629
+ * @return {string}
52630
+ */
52631
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getProviderCurrency = function() {
52632
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
52633
+ };
52634
+
52635
+
52636
+ /**
52637
+ * @param {string} value
52638
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52639
+ */
52640
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setProviderCurrency = function(value) {
52641
+ return jspb.Message.setProto3StringField(this, 7, value);
52642
+ };
52643
+
52644
+
52645
+ /**
52646
+ * optional string wire_currency = 8;
52647
+ * @return {string}
52648
+ */
52649
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getWireCurrency = function() {
52650
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
52651
+ };
52652
+
52653
+
52654
+ /**
52655
+ * @param {string} value
52656
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52657
+ */
52658
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setWireCurrency = function(value) {
52659
+ return jspb.Message.setProto3StringField(this, 8, value);
52660
+ };
52661
+
52662
+
52663
+ /**
52664
+ * optional string wire_multiplier = 9;
52665
+ * @return {string}
52666
+ */
52667
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getWireMultiplier = function() {
52668
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
52669
+ };
52670
+
52671
+
52672
+ /**
52673
+ * @param {string} value
52674
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52675
+ */
52676
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setWireMultiplier = function(value) {
52677
+ return jspb.Message.setProto3StringField(this, 9, value);
52678
+ };
52679
+
52680
+
52681
+ /**
52682
+ * optional string fx_rate = 10;
52683
+ * @return {string}
52684
+ */
52685
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getFxRate = function() {
52686
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
52687
+ };
52688
+
52689
+
52690
+ /**
52691
+ * @param {string} value
52692
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52693
+ */
52694
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setFxRate = function(value) {
52695
+ return jspb.Message.setProto3StringField(this, 10, value);
52696
+ };
52697
+
52698
+
52699
+ /**
52700
+ * optional string fx_snapshot_json = 11;
52701
+ * @return {string}
52702
+ */
52703
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getFxSnapshotJson = function() {
52704
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
52705
+ };
52706
+
52707
+
52708
+ /**
52709
+ * @param {string} value
52710
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52711
+ */
52712
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setFxSnapshotJson = function(value) {
52713
+ return jspb.Message.setProto3StringField(this, 11, value);
52714
+ };
52715
+
52716
+
52717
+ /**
52718
+ * optional uint32 precision_model_version = 12;
52719
+ * @return {number}
52720
+ */
52721
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getPrecisionModelVersion = function() {
52722
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
52723
+ };
52724
+
52725
+
52726
+ /**
52727
+ * @param {number} value
52728
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52729
+ */
52730
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setPrecisionModelVersion = function(value) {
52731
+ return jspb.Message.setProto3IntField(this, 12, value);
52732
+ };
52733
+
52734
+
52735
+ /**
52736
+ * optional string balance_type = 13;
52737
+ * @return {string}
52738
+ */
52739
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getBalanceType = function() {
52740
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
52741
+ };
52742
+
52743
+
52744
+ /**
52745
+ * @param {string} value
52746
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52747
+ */
52748
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setBalanceType = function(value) {
52749
+ return jspb.Message.setProto3StringField(this, 13, value);
52750
+ };
52751
+
52752
+
52753
+ /**
52754
+ * optional string game_type = 14;
52755
+ * @return {string}
52756
+ */
52757
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getGameType = function() {
52758
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
52759
+ };
52760
+
52761
+
52762
+ /**
52763
+ * @param {string} value
52764
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52765
+ */
52766
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setGameType = function(value) {
52767
+ return jspb.Message.setProto3StringField(this, 14, value);
52768
+ };
52769
+
52770
+
52771
+ /**
52772
+ * optional string game_id = 15;
52773
+ * @return {string}
52774
+ */
52775
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getGameId = function() {
52776
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
52777
+ };
52778
+
52779
+
52780
+ /**
52781
+ * @param {string} value
52782
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52783
+ */
52784
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setGameId = function(value) {
52785
+ return jspb.Message.setProto3StringField(this, 15, value);
52786
+ };
52787
+
52788
+
52789
+ /**
52790
+ * optional string game_code = 16;
52791
+ * @return {string}
52792
+ */
52793
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getGameCode = function() {
52794
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
52795
+ };
52796
+
52797
+
52798
+ /**
52799
+ * @param {string} value
52800
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52801
+ */
52802
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setGameCode = function(value) {
52803
+ return jspb.Message.setProto3StringField(this, 16, value);
52804
+ };
52805
+
52806
+
52807
+ /**
52808
+ * optional string user_bonus_id = 17;
52809
+ * @return {string}
52810
+ */
52811
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getUserBonusId = function() {
52812
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
52813
+ };
52814
+
52815
+
52816
+ /**
52817
+ * @param {string} value
52818
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52819
+ */
52820
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setUserBonusId = function(value) {
52821
+ return jspb.Message.setProto3StringField(this, 17, value);
52822
+ };
52823
+
52824
+
52825
+ /**
52826
+ * optional string user_freespin_bonus_id = 18;
52827
+ * @return {string}
52828
+ */
52829
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getUserFreespinBonusId = function() {
52830
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
52831
+ };
52832
+
52833
+
52834
+ /**
52835
+ * @param {string} value
52836
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52837
+ */
52838
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setUserFreespinBonusId = function(value) {
52839
+ return jspb.Message.setProto3StringField(this, 18, value);
52840
+ };
52841
+
52842
+
52843
+ /**
52844
+ * optional string bankroll_mode = 19;
52845
+ * @return {string}
52846
+ */
52847
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getBankrollMode = function() {
52848
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
52849
+ };
52850
+
52851
+
52852
+ /**
52853
+ * @param {string} value
52854
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52855
+ */
52856
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setBankrollMode = function(value) {
52857
+ return jspb.Message.setProto3StringField(this, 19, value);
52858
+ };
52859
+
52860
+
52861
+ /**
52862
+ * optional string response_policy_version = 20;
52863
+ * @return {string}
52864
+ */
52865
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getResponsePolicyVersion = function() {
52866
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
52867
+ };
52868
+
52869
+
52870
+ /**
52871
+ * @param {string} value
52872
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52873
+ */
52874
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setResponsePolicyVersion = function(value) {
52875
+ return jspb.Message.setProto3StringField(this, 20, value);
52876
+ };
52877
+
52878
+
52879
+
52880
+
52881
+
52882
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52883
+ /**
52884
+ * Creates an object representation of this proto.
52885
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52886
+ * Optional fields that are not set will be set to undefined.
52887
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52888
+ * For the list of reserved names please see:
52889
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52890
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52891
+ * JSPB instance for transitional soy proto support:
52892
+ * http://goto/soy-param-migration
52893
+ * @return {!Object}
52894
+ */
52895
+ proto.payment.GameplayPrecisionSessionRequest.prototype.toObject = function(opt_includeInstance) {
52896
+ return proto.payment.GameplayPrecisionSessionRequest.toObject(opt_includeInstance, this);
52897
+ };
52898
+
52899
+
52900
+ /**
52901
+ * Static version of the {@see toObject} method.
52902
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52903
+ * the JSPB instance for transitional soy proto support:
52904
+ * http://goto/soy-param-migration
52905
+ * @param {!proto.payment.GameplayPrecisionSessionRequest} msg The msg instance to transform.
52906
+ * @return {!Object}
52907
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52908
+ */
52909
+ proto.payment.GameplayPrecisionSessionRequest.toObject = function(includeInstance, msg) {
52910
+ var f, obj = {
52911
+ precisionSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
52912
+ userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
52913
+ contextFingerprint: jspb.Message.getFieldWithDefault(msg, 3, "")
52914
+ };
52915
+
52916
+ if (includeInstance) {
52917
+ obj.$jspbMessageInstance = msg;
52918
+ }
52919
+ return obj;
52920
+ };
52921
+ }
52922
+
52923
+
52924
+ /**
52925
+ * Deserializes binary data (in protobuf wire format).
52926
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
52927
+ * @return {!proto.payment.GameplayPrecisionSessionRequest}
52928
+ */
52929
+ proto.payment.GameplayPrecisionSessionRequest.deserializeBinary = function(bytes) {
52930
+ var reader = new jspb.BinaryReader(bytes);
52931
+ var msg = new proto.payment.GameplayPrecisionSessionRequest;
52932
+ return proto.payment.GameplayPrecisionSessionRequest.deserializeBinaryFromReader(msg, reader);
52933
+ };
52934
+
52935
+
52936
+ /**
52937
+ * Deserializes binary data (in protobuf wire format) from the
52938
+ * given reader into the given message object.
52939
+ * @param {!proto.payment.GameplayPrecisionSessionRequest} msg The message object to deserialize into.
52940
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
52941
+ * @return {!proto.payment.GameplayPrecisionSessionRequest}
52942
+ */
52943
+ proto.payment.GameplayPrecisionSessionRequest.deserializeBinaryFromReader = function(msg, reader) {
52944
+ while (reader.nextField()) {
52945
+ if (reader.isEndGroup()) {
52946
+ break;
52947
+ }
52948
+ var field = reader.getFieldNumber();
52949
+ switch (field) {
52950
+ case 1:
52951
+ var value = /** @type {string} */ (reader.readString());
52952
+ msg.setPrecisionSessionId(value);
52953
+ break;
52954
+ case 2:
52955
+ var value = /** @type {string} */ (reader.readString());
52956
+ msg.setUserId(value);
52957
+ break;
52958
+ case 3:
52959
+ var value = /** @type {string} */ (reader.readString());
52960
+ msg.setContextFingerprint(value);
52961
+ break;
52962
+ default:
52963
+ reader.skipField();
52964
+ break;
52965
+ }
52966
+ }
52967
+ return msg;
52968
+ };
52969
+
52970
+
52971
+ /**
52972
+ * Serializes the message to binary data (in protobuf wire format).
52973
+ * @return {!Uint8Array}
52974
+ */
52975
+ proto.payment.GameplayPrecisionSessionRequest.prototype.serializeBinary = function() {
52976
+ var writer = new jspb.BinaryWriter();
52977
+ proto.payment.GameplayPrecisionSessionRequest.serializeBinaryToWriter(this, writer);
52978
+ return writer.getResultBuffer();
52979
+ };
52980
+
52981
+
52982
+ /**
52983
+ * Serializes the given message to binary data (in protobuf wire
52984
+ * format), writing to the given BinaryWriter.
52985
+ * @param {!proto.payment.GameplayPrecisionSessionRequest} message
52986
+ * @param {!jspb.BinaryWriter} writer
52987
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52988
+ */
52989
+ proto.payment.GameplayPrecisionSessionRequest.serializeBinaryToWriter = function(message, writer) {
52990
+ var f = undefined;
52991
+ f = message.getPrecisionSessionId();
52992
+ if (f.length > 0) {
52993
+ writer.writeString(
52994
+ 1,
52995
+ f
52996
+ );
52997
+ }
52998
+ f = message.getUserId();
52999
+ if (f.length > 0) {
53000
+ writer.writeString(
53001
+ 2,
53002
+ f
53003
+ );
53004
+ }
53005
+ f = message.getContextFingerprint();
53006
+ if (f.length > 0) {
53007
+ writer.writeString(
53008
+ 3,
53009
+ f
53010
+ );
53011
+ }
53012
+ };
53013
+
53014
+
53015
+ /**
53016
+ * optional string precision_session_id = 1;
53017
+ * @return {string}
53018
+ */
53019
+ proto.payment.GameplayPrecisionSessionRequest.prototype.getPrecisionSessionId = function() {
53020
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
53021
+ };
53022
+
53023
+
53024
+ /**
53025
+ * @param {string} value
53026
+ * @return {!proto.payment.GameplayPrecisionSessionRequest} returns this
53027
+ */
53028
+ proto.payment.GameplayPrecisionSessionRequest.prototype.setPrecisionSessionId = function(value) {
53029
+ return jspb.Message.setProto3StringField(this, 1, value);
53030
+ };
53031
+
53032
+
53033
+ /**
53034
+ * optional string user_id = 2;
53035
+ * @return {string}
53036
+ */
53037
+ proto.payment.GameplayPrecisionSessionRequest.prototype.getUserId = function() {
53038
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
53039
+ };
53040
+
53041
+
53042
+ /**
53043
+ * @param {string} value
53044
+ * @return {!proto.payment.GameplayPrecisionSessionRequest} returns this
53045
+ */
53046
+ proto.payment.GameplayPrecisionSessionRequest.prototype.setUserId = function(value) {
53047
+ return jspb.Message.setProto3StringField(this, 2, value);
53048
+ };
53049
+
53050
+
53051
+ /**
53052
+ * optional string context_fingerprint = 3;
53053
+ * @return {string}
53054
+ */
53055
+ proto.payment.GameplayPrecisionSessionRequest.prototype.getContextFingerprint = function() {
53056
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
53057
+ };
53058
+
53059
+
53060
+ /**
53061
+ * @param {string} value
53062
+ * @return {!proto.payment.GameplayPrecisionSessionRequest} returns this
53063
+ */
53064
+ proto.payment.GameplayPrecisionSessionRequest.prototype.setContextFingerprint = function(value) {
53065
+ return jspb.Message.setProto3StringField(this, 3, value);
53066
+ };
53067
+
53068
+
53069
+
53070
+
53071
+
53072
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53073
+ /**
53074
+ * Creates an object representation of this proto.
53075
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53076
+ * Optional fields that are not set will be set to undefined.
53077
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53078
+ * For the list of reserved names please see:
53079
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53080
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53081
+ * JSPB instance for transitional soy proto support:
53082
+ * http://goto/soy-param-migration
53083
+ * @return {!Object}
53084
+ */
53085
+ proto.payment.GameplayPrecisionLeg.prototype.toObject = function(opt_includeInstance) {
53086
+ return proto.payment.GameplayPrecisionLeg.toObject(opt_includeInstance, this);
53087
+ };
53088
+
53089
+
53090
+ /**
53091
+ * Static version of the {@see toObject} method.
53092
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53093
+ * the JSPB instance for transitional soy proto support:
53094
+ * http://goto/soy-param-migration
53095
+ * @param {!proto.payment.GameplayPrecisionLeg} msg The msg instance to transform.
53096
+ * @return {!Object}
53097
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53098
+ */
53099
+ proto.payment.GameplayPrecisionLeg.toObject = function(includeInstance, msg) {
53100
+ var f, obj = {
53101
+ action: jspb.Message.getFieldWithDefault(msg, 1, ""),
53102
+ providerTransactionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
53103
+ wireAmountDecimal: jspb.Message.getFieldWithDefault(msg, 3, ""),
53104
+ originalTransactionId: jspb.Message.getFieldWithDefault(msg, 4, ""),
53105
+ originalAction: jspb.Message.getFieldWithDefault(msg, 5, ""),
53106
+ eventContextJson: jspb.Message.getFieldWithDefault(msg, 6, "")
53107
+ };
53108
+
53109
+ if (includeInstance) {
53110
+ obj.$jspbMessageInstance = msg;
53111
+ }
53112
+ return obj;
53113
+ };
53114
+ }
53115
+
53116
+
53117
+ /**
53118
+ * Deserializes binary data (in protobuf wire format).
53119
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53120
+ * @return {!proto.payment.GameplayPrecisionLeg}
53121
+ */
53122
+ proto.payment.GameplayPrecisionLeg.deserializeBinary = function(bytes) {
53123
+ var reader = new jspb.BinaryReader(bytes);
53124
+ var msg = new proto.payment.GameplayPrecisionLeg;
53125
+ return proto.payment.GameplayPrecisionLeg.deserializeBinaryFromReader(msg, reader);
53126
+ };
53127
+
53128
+
53129
+ /**
53130
+ * Deserializes binary data (in protobuf wire format) from the
53131
+ * given reader into the given message object.
53132
+ * @param {!proto.payment.GameplayPrecisionLeg} msg The message object to deserialize into.
53133
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53134
+ * @return {!proto.payment.GameplayPrecisionLeg}
53135
+ */
53136
+ proto.payment.GameplayPrecisionLeg.deserializeBinaryFromReader = function(msg, reader) {
53137
+ while (reader.nextField()) {
53138
+ if (reader.isEndGroup()) {
53139
+ break;
53140
+ }
53141
+ var field = reader.getFieldNumber();
53142
+ switch (field) {
53143
+ case 1:
53144
+ var value = /** @type {string} */ (reader.readString());
53145
+ msg.setAction(value);
53146
+ break;
53147
+ case 2:
53148
+ var value = /** @type {string} */ (reader.readString());
53149
+ msg.setProviderTransactionId(value);
53150
+ break;
53151
+ case 3:
53152
+ var value = /** @type {string} */ (reader.readString());
53153
+ msg.setWireAmountDecimal(value);
53154
+ break;
53155
+ case 4:
53156
+ var value = /** @type {string} */ (reader.readString());
53157
+ msg.setOriginalTransactionId(value);
53158
+ break;
53159
+ case 5:
53160
+ var value = /** @type {string} */ (reader.readString());
53161
+ msg.setOriginalAction(value);
53162
+ break;
53163
+ case 6:
53164
+ var value = /** @type {string} */ (reader.readString());
53165
+ msg.setEventContextJson(value);
53166
+ break;
53167
+ default:
53168
+ reader.skipField();
53169
+ break;
53170
+ }
53171
+ }
53172
+ return msg;
53173
+ };
53174
+
53175
+
53176
+ /**
53177
+ * Serializes the message to binary data (in protobuf wire format).
53178
+ * @return {!Uint8Array}
53179
+ */
53180
+ proto.payment.GameplayPrecisionLeg.prototype.serializeBinary = function() {
53181
+ var writer = new jspb.BinaryWriter();
53182
+ proto.payment.GameplayPrecisionLeg.serializeBinaryToWriter(this, writer);
53183
+ return writer.getResultBuffer();
53184
+ };
53185
+
53186
+
53187
+ /**
53188
+ * Serializes the given message to binary data (in protobuf wire
53189
+ * format), writing to the given BinaryWriter.
53190
+ * @param {!proto.payment.GameplayPrecisionLeg} message
53191
+ * @param {!jspb.BinaryWriter} writer
53192
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53193
+ */
53194
+ proto.payment.GameplayPrecisionLeg.serializeBinaryToWriter = function(message, writer) {
53195
+ var f = undefined;
53196
+ f = message.getAction();
53197
+ if (f.length > 0) {
53198
+ writer.writeString(
53199
+ 1,
53200
+ f
53201
+ );
53202
+ }
53203
+ f = message.getProviderTransactionId();
53204
+ if (f.length > 0) {
53205
+ writer.writeString(
53206
+ 2,
53207
+ f
53208
+ );
53209
+ }
53210
+ f = message.getWireAmountDecimal();
53211
+ if (f.length > 0) {
53212
+ writer.writeString(
53213
+ 3,
53214
+ f
53215
+ );
53216
+ }
53217
+ f = message.getOriginalTransactionId();
53218
+ if (f.length > 0) {
53219
+ writer.writeString(
53220
+ 4,
53221
+ f
53222
+ );
53223
+ }
53224
+ f = message.getOriginalAction();
53225
+ if (f.length > 0) {
53226
+ writer.writeString(
53227
+ 5,
53228
+ f
53229
+ );
53230
+ }
53231
+ f = message.getEventContextJson();
53232
+ if (f.length > 0) {
53233
+ writer.writeString(
53234
+ 6,
53235
+ f
53236
+ );
53237
+ }
53238
+ };
53239
+
53240
+
53241
+ /**
53242
+ * optional string action = 1;
53243
+ * @return {string}
53244
+ */
53245
+ proto.payment.GameplayPrecisionLeg.prototype.getAction = function() {
53246
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
53247
+ };
53248
+
53249
+
53250
+ /**
53251
+ * @param {string} value
53252
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53253
+ */
53254
+ proto.payment.GameplayPrecisionLeg.prototype.setAction = function(value) {
53255
+ return jspb.Message.setProto3StringField(this, 1, value);
53256
+ };
53257
+
53258
+
53259
+ /**
53260
+ * optional string provider_transaction_id = 2;
53261
+ * @return {string}
53262
+ */
53263
+ proto.payment.GameplayPrecisionLeg.prototype.getProviderTransactionId = function() {
53264
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
53265
+ };
53266
+
53267
+
53268
+ /**
53269
+ * @param {string} value
53270
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53271
+ */
53272
+ proto.payment.GameplayPrecisionLeg.prototype.setProviderTransactionId = function(value) {
53273
+ return jspb.Message.setProto3StringField(this, 2, value);
53274
+ };
53275
+
53276
+
53277
+ /**
53278
+ * optional string wire_amount_decimal = 3;
53279
+ * @return {string}
53280
+ */
53281
+ proto.payment.GameplayPrecisionLeg.prototype.getWireAmountDecimal = function() {
53282
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
53283
+ };
53284
+
53285
+
53286
+ /**
53287
+ * @param {string} value
53288
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53289
+ */
53290
+ proto.payment.GameplayPrecisionLeg.prototype.setWireAmountDecimal = function(value) {
53291
+ return jspb.Message.setProto3StringField(this, 3, value);
53292
+ };
53293
+
53294
+
53295
+ /**
53296
+ * optional string original_transaction_id = 4;
53297
+ * @return {string}
53298
+ */
53299
+ proto.payment.GameplayPrecisionLeg.prototype.getOriginalTransactionId = function() {
53300
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
53301
+ };
53302
+
53303
+
53304
+ /**
53305
+ * @param {string} value
53306
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53307
+ */
53308
+ proto.payment.GameplayPrecisionLeg.prototype.setOriginalTransactionId = function(value) {
53309
+ return jspb.Message.setProto3StringField(this, 4, value);
53310
+ };
53311
+
53312
+
53313
+ /**
53314
+ * optional string original_action = 5;
53315
+ * @return {string}
53316
+ */
53317
+ proto.payment.GameplayPrecisionLeg.prototype.getOriginalAction = function() {
53318
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
53319
+ };
53320
+
53321
+
53322
+ /**
53323
+ * @param {string} value
53324
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53325
+ */
53326
+ proto.payment.GameplayPrecisionLeg.prototype.setOriginalAction = function(value) {
53327
+ return jspb.Message.setProto3StringField(this, 5, value);
53328
+ };
53329
+
53330
+
53331
+ /**
53332
+ * optional string event_context_json = 6;
53333
+ * @return {string}
53334
+ */
53335
+ proto.payment.GameplayPrecisionLeg.prototype.getEventContextJson = function() {
53336
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
53337
+ };
53338
+
53339
+
53340
+ /**
53341
+ * @param {string} value
53342
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53343
+ */
53344
+ proto.payment.GameplayPrecisionLeg.prototype.setEventContextJson = function(value) {
53345
+ return jspb.Message.setProto3StringField(this, 6, value);
53346
+ };
53347
+
53348
+
53349
+
53350
+ /**
53351
+ * List of repeated fields within this message type.
53352
+ * @private {!Array<number>}
53353
+ * @const
53354
+ */
53355
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.repeatedFields_ = [4];
53356
+
53357
+
53358
+
53359
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53360
+ /**
53361
+ * Creates an object representation of this proto.
53362
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53363
+ * Optional fields that are not set will be set to undefined.
53364
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53365
+ * For the list of reserved names please see:
53366
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53367
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53368
+ * JSPB instance for transitional soy proto support:
53369
+ * http://goto/soy-param-migration
53370
+ * @return {!Object}
53371
+ */
53372
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.toObject = function(opt_includeInstance) {
53373
+ return proto.payment.ExecuteGameplayPrecisionCommandRequest.toObject(opt_includeInstance, this);
53374
+ };
53375
+
53376
+
53377
+ /**
53378
+ * Static version of the {@see toObject} method.
53379
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53380
+ * the JSPB instance for transitional soy proto support:
53381
+ * http://goto/soy-param-migration
53382
+ * @param {!proto.payment.ExecuteGameplayPrecisionCommandRequest} msg The msg instance to transform.
53383
+ * @return {!Object}
53384
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53385
+ */
53386
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.toObject = function(includeInstance, msg) {
53387
+ var f, obj = {
53388
+ session: (f = msg.getSession()) && proto.payment.GameplayPrecisionSessionRequest.toObject(includeInstance, f),
53389
+ commandId: jspb.Message.getFieldWithDefault(msg, 2, ""),
53390
+ callbackAction: jspb.Message.getFieldWithDefault(msg, 3, ""),
53391
+ legsList: jspb.Message.toObjectList(msg.getLegsList(),
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)
53396
+ };
53397
+
53398
+ if (includeInstance) {
53399
+ obj.$jspbMessageInstance = msg;
53400
+ }
53401
+ return obj;
53402
+ };
53403
+ }
53404
+
53405
+
53406
+ /**
53407
+ * Deserializes binary data (in protobuf wire format).
53408
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53409
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest}
53410
+ */
53411
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.deserializeBinary = function(bytes) {
53412
+ var reader = new jspb.BinaryReader(bytes);
53413
+ var msg = new proto.payment.ExecuteGameplayPrecisionCommandRequest;
53414
+ return proto.payment.ExecuteGameplayPrecisionCommandRequest.deserializeBinaryFromReader(msg, reader);
53415
+ };
53416
+
53417
+
53418
+ /**
53419
+ * Deserializes binary data (in protobuf wire format) from the
53420
+ * given reader into the given message object.
53421
+ * @param {!proto.payment.ExecuteGameplayPrecisionCommandRequest} msg The message object to deserialize into.
53422
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53423
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest}
53424
+ */
53425
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.deserializeBinaryFromReader = function(msg, reader) {
53426
+ while (reader.nextField()) {
53427
+ if (reader.isEndGroup()) {
53428
+ break;
53429
+ }
53430
+ var field = reader.getFieldNumber();
53431
+ switch (field) {
53432
+ case 1:
53433
+ var value = new proto.payment.GameplayPrecisionSessionRequest;
53434
+ reader.readMessage(value,proto.payment.GameplayPrecisionSessionRequest.deserializeBinaryFromReader);
53435
+ msg.setSession(value);
53436
+ break;
53437
+ case 2:
53438
+ var value = /** @type {string} */ (reader.readString());
53439
+ msg.setCommandId(value);
53440
+ break;
53441
+ case 3:
53442
+ var value = /** @type {string} */ (reader.readString());
53443
+ msg.setCallbackAction(value);
53444
+ break;
53445
+ case 4:
53446
+ var value = new proto.payment.GameplayPrecisionLeg;
53447
+ reader.readMessage(value,proto.payment.GameplayPrecisionLeg.deserializeBinaryFromReader);
53448
+ msg.addLegs(value);
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;
53463
+ default:
53464
+ reader.skipField();
53465
+ break;
53466
+ }
53467
+ }
53468
+ return msg;
53469
+ };
53470
+
53471
+
53472
+ /**
53473
+ * Serializes the message to binary data (in protobuf wire format).
53474
+ * @return {!Uint8Array}
53475
+ */
53476
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.serializeBinary = function() {
53477
+ var writer = new jspb.BinaryWriter();
53478
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.serializeBinaryToWriter(this, writer);
53479
+ return writer.getResultBuffer();
53480
+ };
53481
+
53482
+
53483
+ /**
53484
+ * Serializes the given message to binary data (in protobuf wire
53485
+ * format), writing to the given BinaryWriter.
53486
+ * @param {!proto.payment.ExecuteGameplayPrecisionCommandRequest} message
53487
+ * @param {!jspb.BinaryWriter} writer
53488
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53489
+ */
53490
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.serializeBinaryToWriter = function(message, writer) {
53491
+ var f = undefined;
53492
+ f = message.getSession();
53493
+ if (f != null) {
53494
+ writer.writeMessage(
53495
+ 1,
53496
+ f,
53497
+ proto.payment.GameplayPrecisionSessionRequest.serializeBinaryToWriter
53498
+ );
53499
+ }
53500
+ f = message.getCommandId();
53501
+ if (f.length > 0) {
53502
+ writer.writeString(
53503
+ 2,
53504
+ f
53505
+ );
53506
+ }
53507
+ f = message.getCallbackAction();
53508
+ if (f.length > 0) {
53509
+ writer.writeString(
53510
+ 3,
53511
+ f
53512
+ );
53513
+ }
53514
+ f = message.getLegsList();
53515
+ if (f.length > 0) {
53516
+ writer.writeRepeatedMessage(
53517
+ 4,
53518
+ f,
53519
+ proto.payment.GameplayPrecisionLeg.serializeBinaryToWriter
53520
+ );
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
+ }
53544
+ };
53545
+
53546
+
53547
+ /**
53548
+ * optional GameplayPrecisionSessionRequest session = 1;
53549
+ * @return {?proto.payment.GameplayPrecisionSessionRequest}
53550
+ */
53551
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getSession = function() {
53552
+ return /** @type{?proto.payment.GameplayPrecisionSessionRequest} */ (
53553
+ jspb.Message.getWrapperField(this, proto.payment.GameplayPrecisionSessionRequest, 1));
53554
+ };
53555
+
53556
+
53557
+ /**
53558
+ * @param {?proto.payment.GameplayPrecisionSessionRequest|undefined} value
53559
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53560
+ */
53561
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setSession = function(value) {
53562
+ return jspb.Message.setWrapperField(this, 1, value);
53563
+ };
53564
+
53565
+
53566
+ /**
53567
+ * Clears the message field making it undefined.
53568
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53569
+ */
53570
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.clearSession = function() {
53571
+ return this.setSession(undefined);
53572
+ };
53573
+
53574
+
53575
+ /**
53576
+ * Returns whether this field is set.
53577
+ * @return {boolean}
53578
+ */
53579
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.hasSession = function() {
53580
+ return jspb.Message.getField(this, 1) != null;
53581
+ };
53582
+
53583
+
53584
+ /**
53585
+ * optional string command_id = 2;
53586
+ * @return {string}
53587
+ */
53588
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getCommandId = function() {
53589
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
53590
+ };
53591
+
53592
+
53593
+ /**
53594
+ * @param {string} value
53595
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53596
+ */
53597
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setCommandId = function(value) {
53598
+ return jspb.Message.setProto3StringField(this, 2, value);
53599
+ };
53600
+
53601
+
53602
+ /**
53603
+ * optional string callback_action = 3;
53604
+ * @return {string}
53605
+ */
53606
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getCallbackAction = function() {
53607
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
53608
+ };
53609
+
53610
+
53611
+ /**
53612
+ * @param {string} value
53613
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53614
+ */
53615
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setCallbackAction = function(value) {
53616
+ return jspb.Message.setProto3StringField(this, 3, value);
53617
+ };
53618
+
53619
+
53620
+ /**
53621
+ * repeated GameplayPrecisionLeg legs = 4;
53622
+ * @return {!Array<!proto.payment.GameplayPrecisionLeg>}
53623
+ */
53624
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getLegsList = function() {
53625
+ return /** @type{!Array<!proto.payment.GameplayPrecisionLeg>} */ (
53626
+ jspb.Message.getRepeatedWrapperField(this, proto.payment.GameplayPrecisionLeg, 4));
53627
+ };
53628
+
53629
+
53630
+ /**
53631
+ * @param {!Array<!proto.payment.GameplayPrecisionLeg>} value
53632
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53633
+ */
53634
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setLegsList = function(value) {
53635
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
53636
+ };
53637
+
53638
+
53639
+ /**
53640
+ * @param {!proto.payment.GameplayPrecisionLeg=} opt_value
53641
+ * @param {number=} opt_index
53642
+ * @return {!proto.payment.GameplayPrecisionLeg}
53643
+ */
53644
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.addLegs = function(opt_value, opt_index) {
53645
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.payment.GameplayPrecisionLeg, opt_index);
53646
+ };
53647
+
53648
+
53649
+ /**
53650
+ * Clears the list making it empty but non-null.
53651
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53652
+ */
53653
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.clearLegsList = function() {
53654
+ return this.setLegsList([]);
53655
+ };
53656
+
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
+
53731
+
53732
+ /**
53733
+ * List of repeated fields within this message type.
53734
+ * @private {!Array<number>}
53735
+ * @const
53736
+ */
53737
+ proto.payment.GameplayPrecisionResult.repeatedFields_ = [12,17];
53738
+
53739
+
53740
+
53741
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53742
+ /**
53743
+ * Creates an object representation of this proto.
53744
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53745
+ * Optional fields that are not set will be set to undefined.
53746
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53747
+ * For the list of reserved names please see:
53748
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53749
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53750
+ * JSPB instance for transitional soy proto support:
53751
+ * http://goto/soy-param-migration
53752
+ * @return {!Object}
53753
+ */
53754
+ proto.payment.GameplayPrecisionResult.prototype.toObject = function(opt_includeInstance) {
53755
+ return proto.payment.GameplayPrecisionResult.toObject(opt_includeInstance, this);
53756
+ };
53757
+
53758
+
53759
+ /**
53760
+ * Static version of the {@see toObject} method.
53761
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53762
+ * the JSPB instance for transitional soy proto support:
53763
+ * http://goto/soy-param-migration
53764
+ * @param {!proto.payment.GameplayPrecisionResult} msg The msg instance to transform.
53765
+ * @return {!Object}
53766
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53767
+ */
53768
+ proto.payment.GameplayPrecisionResult.toObject = function(includeInstance, msg) {
53769
+ var f, obj = {
53770
+ status: jspb.Message.getFieldWithDefault(msg, 1, ""),
53771
+ precisionSessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
53772
+ contextFingerprint: jspb.Message.getFieldWithDefault(msg, 3, ""),
53773
+ precisionModelVersion: jspb.Message.getFieldWithDefault(msg, 4, 0),
53774
+ accountingCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
53775
+ accountingScale: jspb.Message.getFieldWithDefault(msg, 6, 0),
53776
+ balanceMinor: jspb.Message.getFieldWithDefault(msg, 7, ""),
53777
+ remainderNumerator: jspb.Message.getFieldWithDefault(msg, 8, ""),
53778
+ remainderDenominator: jspb.Message.getFieldWithDefault(msg, 9, ""),
53779
+ cashLedgerEntryId: jspb.Message.getFieldWithDefault(msg, 10, ""),
53780
+ precisionVersion: jspb.Message.getFieldWithDefault(msg, 11, ""),
53781
+ operationIdsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
53782
+ providerBalanceNumerator: jspb.Message.getFieldWithDefault(msg, 13, ""),
53783
+ providerBalanceDenominator: jspb.Message.getFieldWithDefault(msg, 14, ""),
53784
+ providerBalanceDecimal: jspb.Message.getFieldWithDefault(msg, 15, ""),
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, "")
53792
+ };
53793
+
53794
+ if (includeInstance) {
53795
+ obj.$jspbMessageInstance = msg;
53796
+ }
53797
+ return obj;
53798
+ };
53799
+ }
53800
+
53801
+
53802
+ /**
53803
+ * Deserializes binary data (in protobuf wire format).
53804
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53805
+ * @return {!proto.payment.GameplayPrecisionResult}
53806
+ */
53807
+ proto.payment.GameplayPrecisionResult.deserializeBinary = function(bytes) {
53808
+ var reader = new jspb.BinaryReader(bytes);
53809
+ var msg = new proto.payment.GameplayPrecisionResult;
53810
+ return proto.payment.GameplayPrecisionResult.deserializeBinaryFromReader(msg, reader);
53811
+ };
53812
+
53813
+
53814
+ /**
53815
+ * Deserializes binary data (in protobuf wire format) from the
53816
+ * given reader into the given message object.
53817
+ * @param {!proto.payment.GameplayPrecisionResult} msg The message object to deserialize into.
53818
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53819
+ * @return {!proto.payment.GameplayPrecisionResult}
53820
+ */
53821
+ proto.payment.GameplayPrecisionResult.deserializeBinaryFromReader = function(msg, reader) {
53822
+ while (reader.nextField()) {
53823
+ if (reader.isEndGroup()) {
53824
+ break;
53825
+ }
53826
+ var field = reader.getFieldNumber();
53827
+ switch (field) {
53828
+ case 1:
53829
+ var value = /** @type {string} */ (reader.readString());
53830
+ msg.setStatus(value);
53831
+ break;
53832
+ case 2:
53833
+ var value = /** @type {string} */ (reader.readString());
53834
+ msg.setPrecisionSessionId(value);
53835
+ break;
53836
+ case 3:
53837
+ var value = /** @type {string} */ (reader.readString());
53838
+ msg.setContextFingerprint(value);
53839
+ break;
53840
+ case 4:
53841
+ var value = /** @type {number} */ (reader.readUint32());
53842
+ msg.setPrecisionModelVersion(value);
53843
+ break;
53844
+ case 5:
53845
+ var value = /** @type {string} */ (reader.readString());
53846
+ msg.setAccountingCurrency(value);
53847
+ break;
53848
+ case 6:
53849
+ var value = /** @type {number} */ (reader.readUint32());
53850
+ msg.setAccountingScale(value);
53851
+ break;
53852
+ case 7:
53853
+ var value = /** @type {string} */ (reader.readString());
53854
+ msg.setBalanceMinor(value);
53855
+ break;
53856
+ case 8:
53857
+ var value = /** @type {string} */ (reader.readString());
53858
+ msg.setRemainderNumerator(value);
53859
+ break;
53860
+ case 9:
53861
+ var value = /** @type {string} */ (reader.readString());
53862
+ msg.setRemainderDenominator(value);
53863
+ break;
53864
+ case 10:
53865
+ var value = /** @type {string} */ (reader.readString());
53866
+ msg.setCashLedgerEntryId(value);
53867
+ break;
53868
+ case 11:
53869
+ var value = /** @type {string} */ (reader.readString());
53870
+ msg.setPrecisionVersion(value);
53871
+ break;
53872
+ case 12:
53873
+ var value = /** @type {string} */ (reader.readString());
53874
+ msg.addOperationIds(value);
53875
+ break;
53876
+ case 13:
53877
+ var value = /** @type {string} */ (reader.readString());
53878
+ msg.setProviderBalanceNumerator(value);
53879
+ break;
53880
+ case 14:
53881
+ var value = /** @type {string} */ (reader.readString());
53882
+ msg.setProviderBalanceDenominator(value);
53883
+ break;
53884
+ case 15:
53885
+ var value = /** @type {string} */ (reader.readString());
53886
+ msg.setProviderBalanceDecimal(value);
53887
+ break;
53888
+ case 16:
53889
+ var value = /** @type {string} */ (reader.readString());
53890
+ msg.setResponsePolicyVersion(value);
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;
53913
+ default:
53914
+ reader.skipField();
53915
+ break;
53916
+ }
53917
+ }
53918
+ return msg;
53919
+ };
53920
+
53921
+
53922
+ /**
53923
+ * Serializes the message to binary data (in protobuf wire format).
53924
+ * @return {!Uint8Array}
53925
+ */
53926
+ proto.payment.GameplayPrecisionResult.prototype.serializeBinary = function() {
53927
+ var writer = new jspb.BinaryWriter();
53928
+ proto.payment.GameplayPrecisionResult.serializeBinaryToWriter(this, writer);
53929
+ return writer.getResultBuffer();
53930
+ };
53931
+
53932
+
53933
+ /**
53934
+ * Serializes the given message to binary data (in protobuf wire
53935
+ * format), writing to the given BinaryWriter.
53936
+ * @param {!proto.payment.GameplayPrecisionResult} message
53937
+ * @param {!jspb.BinaryWriter} writer
53938
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53939
+ */
53940
+ proto.payment.GameplayPrecisionResult.serializeBinaryToWriter = function(message, writer) {
53941
+ var f = undefined;
53942
+ f = message.getStatus();
53943
+ if (f.length > 0) {
53944
+ writer.writeString(
53945
+ 1,
53946
+ f
53947
+ );
53948
+ }
53949
+ f = message.getPrecisionSessionId();
53950
+ if (f.length > 0) {
53951
+ writer.writeString(
53952
+ 2,
53953
+ f
53954
+ );
53955
+ }
53956
+ f = message.getContextFingerprint();
53957
+ if (f.length > 0) {
53958
+ writer.writeString(
53959
+ 3,
53960
+ f
53961
+ );
53962
+ }
53963
+ f = message.getPrecisionModelVersion();
53964
+ if (f !== 0) {
53965
+ writer.writeUint32(
53966
+ 4,
53967
+ f
53968
+ );
53969
+ }
53970
+ f = message.getAccountingCurrency();
53971
+ if (f.length > 0) {
53972
+ writer.writeString(
53973
+ 5,
53974
+ f
53975
+ );
53976
+ }
53977
+ f = message.getAccountingScale();
53978
+ if (f !== 0) {
53979
+ writer.writeUint32(
53980
+ 6,
53981
+ f
53982
+ );
53983
+ }
53984
+ f = message.getBalanceMinor();
53985
+ if (f.length > 0) {
53986
+ writer.writeString(
53987
+ 7,
53988
+ f
53989
+ );
53990
+ }
53991
+ f = message.getRemainderNumerator();
53992
+ if (f.length > 0) {
53993
+ writer.writeString(
53994
+ 8,
53995
+ f
53996
+ );
53997
+ }
53998
+ f = message.getRemainderDenominator();
53999
+ if (f.length > 0) {
54000
+ writer.writeString(
54001
+ 9,
54002
+ f
54003
+ );
54004
+ }
54005
+ f = message.getCashLedgerEntryId();
54006
+ if (f.length > 0) {
54007
+ writer.writeString(
54008
+ 10,
54009
+ f
54010
+ );
54011
+ }
54012
+ f = message.getPrecisionVersion();
54013
+ if (f.length > 0) {
54014
+ writer.writeString(
54015
+ 11,
54016
+ f
54017
+ );
54018
+ }
54019
+ f = message.getOperationIdsList();
54020
+ if (f.length > 0) {
54021
+ writer.writeRepeatedString(
54022
+ 12,
54023
+ f
54024
+ );
54025
+ }
54026
+ f = message.getProviderBalanceNumerator();
54027
+ if (f.length > 0) {
54028
+ writer.writeString(
54029
+ 13,
54030
+ f
54031
+ );
54032
+ }
54033
+ f = message.getProviderBalanceDenominator();
54034
+ if (f.length > 0) {
54035
+ writer.writeString(
54036
+ 14,
54037
+ f
54038
+ );
54039
+ }
54040
+ f = message.getProviderBalanceDecimal();
54041
+ if (f.length > 0) {
54042
+ writer.writeString(
54043
+ 15,
54044
+ f
54045
+ );
54046
+ }
54047
+ f = message.getResponsePolicyVersion();
54048
+ if (f.length > 0) {
54049
+ writer.writeString(
54050
+ 16,
54051
+ f
54052
+ );
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
+ }
54090
+ };
54091
+
54092
+
54093
+ /**
54094
+ * optional string status = 1;
54095
+ * @return {string}
54096
+ */
54097
+ proto.payment.GameplayPrecisionResult.prototype.getStatus = function() {
54098
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
54099
+ };
54100
+
54101
+
54102
+ /**
54103
+ * @param {string} value
54104
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54105
+ */
54106
+ proto.payment.GameplayPrecisionResult.prototype.setStatus = function(value) {
54107
+ return jspb.Message.setProto3StringField(this, 1, value);
54108
+ };
54109
+
54110
+
54111
+ /**
54112
+ * optional string precision_session_id = 2;
54113
+ * @return {string}
54114
+ */
54115
+ proto.payment.GameplayPrecisionResult.prototype.getPrecisionSessionId = function() {
54116
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
54117
+ };
54118
+
54119
+
54120
+ /**
54121
+ * @param {string} value
54122
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54123
+ */
54124
+ proto.payment.GameplayPrecisionResult.prototype.setPrecisionSessionId = function(value) {
54125
+ return jspb.Message.setProto3StringField(this, 2, value);
54126
+ };
54127
+
54128
+
54129
+ /**
54130
+ * optional string context_fingerprint = 3;
54131
+ * @return {string}
54132
+ */
54133
+ proto.payment.GameplayPrecisionResult.prototype.getContextFingerprint = function() {
54134
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
54135
+ };
54136
+
54137
+
54138
+ /**
54139
+ * @param {string} value
54140
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54141
+ */
54142
+ proto.payment.GameplayPrecisionResult.prototype.setContextFingerprint = function(value) {
54143
+ return jspb.Message.setProto3StringField(this, 3, value);
54144
+ };
54145
+
54146
+
54147
+ /**
54148
+ * optional uint32 precision_model_version = 4;
54149
+ * @return {number}
54150
+ */
54151
+ proto.payment.GameplayPrecisionResult.prototype.getPrecisionModelVersion = function() {
54152
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
54153
+ };
54154
+
54155
+
54156
+ /**
54157
+ * @param {number} value
54158
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54159
+ */
54160
+ proto.payment.GameplayPrecisionResult.prototype.setPrecisionModelVersion = function(value) {
54161
+ return jspb.Message.setProto3IntField(this, 4, value);
54162
+ };
54163
+
54164
+
54165
+ /**
54166
+ * optional string accounting_currency = 5;
54167
+ * @return {string}
54168
+ */
54169
+ proto.payment.GameplayPrecisionResult.prototype.getAccountingCurrency = function() {
54170
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
54171
+ };
54172
+
54173
+
54174
+ /**
54175
+ * @param {string} value
54176
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54177
+ */
54178
+ proto.payment.GameplayPrecisionResult.prototype.setAccountingCurrency = function(value) {
54179
+ return jspb.Message.setProto3StringField(this, 5, value);
54180
+ };
54181
+
54182
+
54183
+ /**
54184
+ * optional uint32 accounting_scale = 6;
54185
+ * @return {number}
54186
+ */
54187
+ proto.payment.GameplayPrecisionResult.prototype.getAccountingScale = function() {
54188
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
54189
+ };
54190
+
54191
+
54192
+ /**
54193
+ * @param {number} value
54194
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54195
+ */
54196
+ proto.payment.GameplayPrecisionResult.prototype.setAccountingScale = function(value) {
54197
+ return jspb.Message.setProto3IntField(this, 6, value);
54198
+ };
54199
+
54200
+
54201
+ /**
54202
+ * optional string balance_minor = 7;
54203
+ * @return {string}
54204
+ */
54205
+ proto.payment.GameplayPrecisionResult.prototype.getBalanceMinor = function() {
54206
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
54207
+ };
54208
+
54209
+
54210
+ /**
54211
+ * @param {string} value
54212
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54213
+ */
54214
+ proto.payment.GameplayPrecisionResult.prototype.setBalanceMinor = function(value) {
54215
+ return jspb.Message.setProto3StringField(this, 7, value);
54216
+ };
54217
+
54218
+
54219
+ /**
54220
+ * optional string remainder_numerator = 8;
54221
+ * @return {string}
54222
+ */
54223
+ proto.payment.GameplayPrecisionResult.prototype.getRemainderNumerator = function() {
54224
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
54225
+ };
54226
+
54227
+
54228
+ /**
54229
+ * @param {string} value
54230
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54231
+ */
54232
+ proto.payment.GameplayPrecisionResult.prototype.setRemainderNumerator = function(value) {
54233
+ return jspb.Message.setProto3StringField(this, 8, value);
54234
+ };
54235
+
54236
+
54237
+ /**
54238
+ * optional string remainder_denominator = 9;
54239
+ * @return {string}
54240
+ */
54241
+ proto.payment.GameplayPrecisionResult.prototype.getRemainderDenominator = function() {
54242
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
54243
+ };
54244
+
54245
+
54246
+ /**
54247
+ * @param {string} value
54248
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54249
+ */
54250
+ proto.payment.GameplayPrecisionResult.prototype.setRemainderDenominator = function(value) {
54251
+ return jspb.Message.setProto3StringField(this, 9, value);
54252
+ };
54253
+
54254
+
54255
+ /**
54256
+ * optional string cash_ledger_entry_id = 10;
54257
+ * @return {string}
54258
+ */
54259
+ proto.payment.GameplayPrecisionResult.prototype.getCashLedgerEntryId = function() {
54260
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
54261
+ };
54262
+
54263
+
54264
+ /**
54265
+ * @param {string} value
54266
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54267
+ */
54268
+ proto.payment.GameplayPrecisionResult.prototype.setCashLedgerEntryId = function(value) {
54269
+ return jspb.Message.setProto3StringField(this, 10, value);
54270
+ };
54271
+
54272
+
54273
+ /**
54274
+ * optional string precision_version = 11;
54275
+ * @return {string}
54276
+ */
54277
+ proto.payment.GameplayPrecisionResult.prototype.getPrecisionVersion = function() {
54278
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
54279
+ };
54280
+
54281
+
54282
+ /**
54283
+ * @param {string} value
54284
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54285
+ */
54286
+ proto.payment.GameplayPrecisionResult.prototype.setPrecisionVersion = function(value) {
54287
+ return jspb.Message.setProto3StringField(this, 11, value);
54288
+ };
54289
+
54290
+
54291
+ /**
54292
+ * repeated string operation_ids = 12;
54293
+ * @return {!Array<string>}
54294
+ */
54295
+ proto.payment.GameplayPrecisionResult.prototype.getOperationIdsList = function() {
54296
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 12));
54297
+ };
54298
+
54299
+
54300
+ /**
54301
+ * @param {!Array<string>} value
54302
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54303
+ */
54304
+ proto.payment.GameplayPrecisionResult.prototype.setOperationIdsList = function(value) {
54305
+ return jspb.Message.setField(this, 12, value || []);
54306
+ };
54307
+
54308
+
54309
+ /**
54310
+ * @param {string} value
54311
+ * @param {number=} opt_index
54312
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54313
+ */
54314
+ proto.payment.GameplayPrecisionResult.prototype.addOperationIds = function(value, opt_index) {
54315
+ return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
54316
+ };
54317
+
54318
+
54319
+ /**
54320
+ * Clears the list making it empty but non-null.
54321
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54322
+ */
54323
+ proto.payment.GameplayPrecisionResult.prototype.clearOperationIdsList = function() {
54324
+ return this.setOperationIdsList([]);
54325
+ };
54326
+
54327
+
54328
+ /**
54329
+ * optional string provider_balance_numerator = 13;
54330
+ * @return {string}
54331
+ */
54332
+ proto.payment.GameplayPrecisionResult.prototype.getProviderBalanceNumerator = function() {
54333
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
54334
+ };
54335
+
54336
+
54337
+ /**
54338
+ * @param {string} value
54339
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54340
+ */
54341
+ proto.payment.GameplayPrecisionResult.prototype.setProviderBalanceNumerator = function(value) {
54342
+ return jspb.Message.setProto3StringField(this, 13, value);
54343
+ };
54344
+
54345
+
54346
+ /**
54347
+ * optional string provider_balance_denominator = 14;
54348
+ * @return {string}
54349
+ */
54350
+ proto.payment.GameplayPrecisionResult.prototype.getProviderBalanceDenominator = function() {
54351
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
54352
+ };
54353
+
54354
+
54355
+ /**
54356
+ * @param {string} value
54357
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54358
+ */
54359
+ proto.payment.GameplayPrecisionResult.prototype.setProviderBalanceDenominator = function(value) {
54360
+ return jspb.Message.setProto3StringField(this, 14, value);
54361
+ };
54362
+
54363
+
54364
+ /**
54365
+ * optional string provider_balance_decimal = 15;
54366
+ * @return {string}
54367
+ */
54368
+ proto.payment.GameplayPrecisionResult.prototype.getProviderBalanceDecimal = function() {
54369
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
54370
+ };
54371
+
54372
+
54373
+ /**
54374
+ * @param {string} value
54375
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54376
+ */
54377
+ proto.payment.GameplayPrecisionResult.prototype.setProviderBalanceDecimal = function(value) {
54378
+ return jspb.Message.setProto3StringField(this, 15, value);
54379
+ };
54380
+
54381
+
54382
+ /**
54383
+ * optional string response_policy_version = 16;
54384
+ * @return {string}
54385
+ */
54386
+ proto.payment.GameplayPrecisionResult.prototype.getResponsePolicyVersion = function() {
54387
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
54388
+ };
54389
+
54390
+
54391
+ /**
54392
+ * @param {string} value
54393
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54394
+ */
54395
+ proto.payment.GameplayPrecisionResult.prototype.setResponsePolicyVersion = function(value) {
54396
+ return jspb.Message.setProto3StringField(this, 16, value);
54397
+ };
54398
+
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
+
51958
56333
  goog.object.extend(exports, proto.payment);