protobuf-platform 1.2.656 → 1.2.658

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,12 @@ 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.GameplayPrecisionLeg', null, global);
65
+ goog.exportSymbol('proto.payment.GameplayPrecisionResult', null, global);
66
+ goog.exportSymbol('proto.payment.GameplayPrecisionSessionRequest', null, global);
63
67
  goog.exportSymbol('proto.payment.GetCurrenciesMetadataRequest', null, global);
64
68
  goog.exportSymbol('proto.payment.GetCurrencyMetadataRequest', null, global);
65
69
  goog.exportSymbol('proto.payment.GetCurrencyRequest', null, global);
@@ -118,6 +122,7 @@ goog.exportSymbol('proto.payment.ProviderResponse', null, global);
118
122
  goog.exportSymbol('proto.payment.ProviderTranslationItem', null, global);
119
123
  goog.exportSymbol('proto.payment.ProviderTranslationRequest', null, global);
120
124
  goog.exportSymbol('proto.payment.ProviderTranslationResponse', null, global);
125
+ goog.exportSymbol('proto.payment.RegisterGameplayPrecisionSessionRequest', null, global);
121
126
  goog.exportSymbol('proto.payment.ResolveGameWalletContextRequest', null, global);
122
127
  goog.exportSymbol('proto.payment.ResolveGameWalletContextResponse', null, global);
123
128
  goog.exportSymbol('proto.payment.SegmentedUserRequest', null, global);
@@ -2597,6 +2602,111 @@ if (goog.DEBUG && !COMPILED) {
2597
2602
  */
2598
2603
  proto.payment.FinancialOperationResponse.displayName = 'proto.payment.FinancialOperationResponse';
2599
2604
  }
2605
+ /**
2606
+ * Generated by JsPbCodeGenerator.
2607
+ * @param {Array=} opt_data Optional initial data array, typically from a
2608
+ * server response, or constructed directly in Javascript. The array is used
2609
+ * in place and becomes part of the constructed object. It is not cloned.
2610
+ * If no data is provided, the constructed object will be empty, but still
2611
+ * valid.
2612
+ * @extends {jspb.Message}
2613
+ * @constructor
2614
+ */
2615
+ proto.payment.RegisterGameplayPrecisionSessionRequest = function(opt_data) {
2616
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2617
+ };
2618
+ goog.inherits(proto.payment.RegisterGameplayPrecisionSessionRequest, jspb.Message);
2619
+ if (goog.DEBUG && !COMPILED) {
2620
+ /**
2621
+ * @public
2622
+ * @override
2623
+ */
2624
+ proto.payment.RegisterGameplayPrecisionSessionRequest.displayName = 'proto.payment.RegisterGameplayPrecisionSessionRequest';
2625
+ }
2626
+ /**
2627
+ * Generated by JsPbCodeGenerator.
2628
+ * @param {Array=} opt_data Optional initial data array, typically from a
2629
+ * server response, or constructed directly in Javascript. The array is used
2630
+ * in place and becomes part of the constructed object. It is not cloned.
2631
+ * If no data is provided, the constructed object will be empty, but still
2632
+ * valid.
2633
+ * @extends {jspb.Message}
2634
+ * @constructor
2635
+ */
2636
+ proto.payment.GameplayPrecisionSessionRequest = function(opt_data) {
2637
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2638
+ };
2639
+ goog.inherits(proto.payment.GameplayPrecisionSessionRequest, jspb.Message);
2640
+ if (goog.DEBUG && !COMPILED) {
2641
+ /**
2642
+ * @public
2643
+ * @override
2644
+ */
2645
+ proto.payment.GameplayPrecisionSessionRequest.displayName = 'proto.payment.GameplayPrecisionSessionRequest';
2646
+ }
2647
+ /**
2648
+ * Generated by JsPbCodeGenerator.
2649
+ * @param {Array=} opt_data Optional initial data array, typically from a
2650
+ * server response, or constructed directly in Javascript. The array is used
2651
+ * in place and becomes part of the constructed object. It is not cloned.
2652
+ * If no data is provided, the constructed object will be empty, but still
2653
+ * valid.
2654
+ * @extends {jspb.Message}
2655
+ * @constructor
2656
+ */
2657
+ proto.payment.GameplayPrecisionLeg = function(opt_data) {
2658
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2659
+ };
2660
+ goog.inherits(proto.payment.GameplayPrecisionLeg, jspb.Message);
2661
+ if (goog.DEBUG && !COMPILED) {
2662
+ /**
2663
+ * @public
2664
+ * @override
2665
+ */
2666
+ proto.payment.GameplayPrecisionLeg.displayName = 'proto.payment.GameplayPrecisionLeg';
2667
+ }
2668
+ /**
2669
+ * Generated by JsPbCodeGenerator.
2670
+ * @param {Array=} opt_data Optional initial data array, typically from a
2671
+ * server response, or constructed directly in Javascript. The array is used
2672
+ * in place and becomes part of the constructed object. It is not cloned.
2673
+ * If no data is provided, the constructed object will be empty, but still
2674
+ * valid.
2675
+ * @extends {jspb.Message}
2676
+ * @constructor
2677
+ */
2678
+ proto.payment.ExecuteGameplayPrecisionCommandRequest = function(opt_data) {
2679
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.ExecuteGameplayPrecisionCommandRequest.repeatedFields_, null);
2680
+ };
2681
+ goog.inherits(proto.payment.ExecuteGameplayPrecisionCommandRequest, jspb.Message);
2682
+ if (goog.DEBUG && !COMPILED) {
2683
+ /**
2684
+ * @public
2685
+ * @override
2686
+ */
2687
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.displayName = 'proto.payment.ExecuteGameplayPrecisionCommandRequest';
2688
+ }
2689
+ /**
2690
+ * Generated by JsPbCodeGenerator.
2691
+ * @param {Array=} opt_data Optional initial data array, typically from a
2692
+ * server response, or constructed directly in Javascript. The array is used
2693
+ * in place and becomes part of the constructed object. It is not cloned.
2694
+ * If no data is provided, the constructed object will be empty, but still
2695
+ * valid.
2696
+ * @extends {jspb.Message}
2697
+ * @constructor
2698
+ */
2699
+ proto.payment.GameplayPrecisionResult = function(opt_data) {
2700
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GameplayPrecisionResult.repeatedFields_, null);
2701
+ };
2702
+ goog.inherits(proto.payment.GameplayPrecisionResult, jspb.Message);
2703
+ if (goog.DEBUG && !COMPILED) {
2704
+ /**
2705
+ * @public
2706
+ * @override
2707
+ */
2708
+ proto.payment.GameplayPrecisionResult.displayName = 'proto.payment.GameplayPrecisionResult';
2709
+ }
2600
2710
 
2601
2711
 
2602
2712
 
@@ -51955,4 +52065,2051 @@ proto.payment.FinancialOperationResponse.prototype.hasCompletedAt = function() {
51955
52065
  };
51956
52066
 
51957
52067
 
52068
+
52069
+
52070
+
52071
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52072
+ /**
52073
+ * Creates an object representation of this proto.
52074
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52075
+ * Optional fields that are not set will be set to undefined.
52076
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52077
+ * For the list of reserved names please see:
52078
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52079
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52080
+ * JSPB instance for transitional soy proto support:
52081
+ * http://goto/soy-param-migration
52082
+ * @return {!Object}
52083
+ */
52084
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.toObject = function(opt_includeInstance) {
52085
+ return proto.payment.RegisterGameplayPrecisionSessionRequest.toObject(opt_includeInstance, this);
52086
+ };
52087
+
52088
+
52089
+ /**
52090
+ * Static version of the {@see toObject} method.
52091
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52092
+ * the JSPB instance for transitional soy proto support:
52093
+ * http://goto/soy-param-migration
52094
+ * @param {!proto.payment.RegisterGameplayPrecisionSessionRequest} msg The msg instance to transform.
52095
+ * @return {!Object}
52096
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52097
+ */
52098
+ proto.payment.RegisterGameplayPrecisionSessionRequest.toObject = function(includeInstance, msg) {
52099
+ var f, obj = {
52100
+ userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
52101
+ internalSessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
52102
+ vendor: jspb.Message.getFieldWithDefault(msg, 3, ""),
52103
+ providerId: jspb.Message.getFieldWithDefault(msg, 4, ""),
52104
+ accountingCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
52105
+ accountingScale: jspb.Message.getFieldWithDefault(msg, 6, 0),
52106
+ providerCurrency: jspb.Message.getFieldWithDefault(msg, 7, ""),
52107
+ wireCurrency: jspb.Message.getFieldWithDefault(msg, 8, ""),
52108
+ wireMultiplier: jspb.Message.getFieldWithDefault(msg, 9, ""),
52109
+ fxRate: jspb.Message.getFieldWithDefault(msg, 10, ""),
52110
+ fxSnapshotJson: jspb.Message.getFieldWithDefault(msg, 11, ""),
52111
+ precisionModelVersion: jspb.Message.getFieldWithDefault(msg, 12, 0),
52112
+ balanceType: jspb.Message.getFieldWithDefault(msg, 13, ""),
52113
+ gameType: jspb.Message.getFieldWithDefault(msg, 14, ""),
52114
+ gameId: jspb.Message.getFieldWithDefault(msg, 15, ""),
52115
+ gameCode: jspb.Message.getFieldWithDefault(msg, 16, ""),
52116
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 17, ""),
52117
+ userFreespinBonusId: jspb.Message.getFieldWithDefault(msg, 18, ""),
52118
+ bankrollMode: jspb.Message.getFieldWithDefault(msg, 19, ""),
52119
+ responsePolicyVersion: jspb.Message.getFieldWithDefault(msg, 20, "")
52120
+ };
52121
+
52122
+ if (includeInstance) {
52123
+ obj.$jspbMessageInstance = msg;
52124
+ }
52125
+ return obj;
52126
+ };
52127
+ }
52128
+
52129
+
52130
+ /**
52131
+ * Deserializes binary data (in protobuf wire format).
52132
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
52133
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest}
52134
+ */
52135
+ proto.payment.RegisterGameplayPrecisionSessionRequest.deserializeBinary = function(bytes) {
52136
+ var reader = new jspb.BinaryReader(bytes);
52137
+ var msg = new proto.payment.RegisterGameplayPrecisionSessionRequest;
52138
+ return proto.payment.RegisterGameplayPrecisionSessionRequest.deserializeBinaryFromReader(msg, reader);
52139
+ };
52140
+
52141
+
52142
+ /**
52143
+ * Deserializes binary data (in protobuf wire format) from the
52144
+ * given reader into the given message object.
52145
+ * @param {!proto.payment.RegisterGameplayPrecisionSessionRequest} msg The message object to deserialize into.
52146
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
52147
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest}
52148
+ */
52149
+ proto.payment.RegisterGameplayPrecisionSessionRequest.deserializeBinaryFromReader = function(msg, reader) {
52150
+ while (reader.nextField()) {
52151
+ if (reader.isEndGroup()) {
52152
+ break;
52153
+ }
52154
+ var field = reader.getFieldNumber();
52155
+ switch (field) {
52156
+ case 1:
52157
+ var value = /** @type {string} */ (reader.readString());
52158
+ msg.setUserId(value);
52159
+ break;
52160
+ case 2:
52161
+ var value = /** @type {string} */ (reader.readString());
52162
+ msg.setInternalSessionId(value);
52163
+ break;
52164
+ case 3:
52165
+ var value = /** @type {string} */ (reader.readString());
52166
+ msg.setVendor(value);
52167
+ break;
52168
+ case 4:
52169
+ var value = /** @type {string} */ (reader.readString());
52170
+ msg.setProviderId(value);
52171
+ break;
52172
+ case 5:
52173
+ var value = /** @type {string} */ (reader.readString());
52174
+ msg.setAccountingCurrency(value);
52175
+ break;
52176
+ case 6:
52177
+ var value = /** @type {number} */ (reader.readUint32());
52178
+ msg.setAccountingScale(value);
52179
+ break;
52180
+ case 7:
52181
+ var value = /** @type {string} */ (reader.readString());
52182
+ msg.setProviderCurrency(value);
52183
+ break;
52184
+ case 8:
52185
+ var value = /** @type {string} */ (reader.readString());
52186
+ msg.setWireCurrency(value);
52187
+ break;
52188
+ case 9:
52189
+ var value = /** @type {string} */ (reader.readString());
52190
+ msg.setWireMultiplier(value);
52191
+ break;
52192
+ case 10:
52193
+ var value = /** @type {string} */ (reader.readString());
52194
+ msg.setFxRate(value);
52195
+ break;
52196
+ case 11:
52197
+ var value = /** @type {string} */ (reader.readString());
52198
+ msg.setFxSnapshotJson(value);
52199
+ break;
52200
+ case 12:
52201
+ var value = /** @type {number} */ (reader.readUint32());
52202
+ msg.setPrecisionModelVersion(value);
52203
+ break;
52204
+ case 13:
52205
+ var value = /** @type {string} */ (reader.readString());
52206
+ msg.setBalanceType(value);
52207
+ break;
52208
+ case 14:
52209
+ var value = /** @type {string} */ (reader.readString());
52210
+ msg.setGameType(value);
52211
+ break;
52212
+ case 15:
52213
+ var value = /** @type {string} */ (reader.readString());
52214
+ msg.setGameId(value);
52215
+ break;
52216
+ case 16:
52217
+ var value = /** @type {string} */ (reader.readString());
52218
+ msg.setGameCode(value);
52219
+ break;
52220
+ case 17:
52221
+ var value = /** @type {string} */ (reader.readString());
52222
+ msg.setUserBonusId(value);
52223
+ break;
52224
+ case 18:
52225
+ var value = /** @type {string} */ (reader.readString());
52226
+ msg.setUserFreespinBonusId(value);
52227
+ break;
52228
+ case 19:
52229
+ var value = /** @type {string} */ (reader.readString());
52230
+ msg.setBankrollMode(value);
52231
+ break;
52232
+ case 20:
52233
+ var value = /** @type {string} */ (reader.readString());
52234
+ msg.setResponsePolicyVersion(value);
52235
+ break;
52236
+ default:
52237
+ reader.skipField();
52238
+ break;
52239
+ }
52240
+ }
52241
+ return msg;
52242
+ };
52243
+
52244
+
52245
+ /**
52246
+ * Serializes the message to binary data (in protobuf wire format).
52247
+ * @return {!Uint8Array}
52248
+ */
52249
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.serializeBinary = function() {
52250
+ var writer = new jspb.BinaryWriter();
52251
+ proto.payment.RegisterGameplayPrecisionSessionRequest.serializeBinaryToWriter(this, writer);
52252
+ return writer.getResultBuffer();
52253
+ };
52254
+
52255
+
52256
+ /**
52257
+ * Serializes the given message to binary data (in protobuf wire
52258
+ * format), writing to the given BinaryWriter.
52259
+ * @param {!proto.payment.RegisterGameplayPrecisionSessionRequest} message
52260
+ * @param {!jspb.BinaryWriter} writer
52261
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52262
+ */
52263
+ proto.payment.RegisterGameplayPrecisionSessionRequest.serializeBinaryToWriter = function(message, writer) {
52264
+ var f = undefined;
52265
+ f = message.getUserId();
52266
+ if (f.length > 0) {
52267
+ writer.writeString(
52268
+ 1,
52269
+ f
52270
+ );
52271
+ }
52272
+ f = message.getInternalSessionId();
52273
+ if (f.length > 0) {
52274
+ writer.writeString(
52275
+ 2,
52276
+ f
52277
+ );
52278
+ }
52279
+ f = message.getVendor();
52280
+ if (f.length > 0) {
52281
+ writer.writeString(
52282
+ 3,
52283
+ f
52284
+ );
52285
+ }
52286
+ f = message.getProviderId();
52287
+ if (f.length > 0) {
52288
+ writer.writeString(
52289
+ 4,
52290
+ f
52291
+ );
52292
+ }
52293
+ f = message.getAccountingCurrency();
52294
+ if (f.length > 0) {
52295
+ writer.writeString(
52296
+ 5,
52297
+ f
52298
+ );
52299
+ }
52300
+ f = message.getAccountingScale();
52301
+ if (f !== 0) {
52302
+ writer.writeUint32(
52303
+ 6,
52304
+ f
52305
+ );
52306
+ }
52307
+ f = message.getProviderCurrency();
52308
+ if (f.length > 0) {
52309
+ writer.writeString(
52310
+ 7,
52311
+ f
52312
+ );
52313
+ }
52314
+ f = message.getWireCurrency();
52315
+ if (f.length > 0) {
52316
+ writer.writeString(
52317
+ 8,
52318
+ f
52319
+ );
52320
+ }
52321
+ f = message.getWireMultiplier();
52322
+ if (f.length > 0) {
52323
+ writer.writeString(
52324
+ 9,
52325
+ f
52326
+ );
52327
+ }
52328
+ f = message.getFxRate();
52329
+ if (f.length > 0) {
52330
+ writer.writeString(
52331
+ 10,
52332
+ f
52333
+ );
52334
+ }
52335
+ f = message.getFxSnapshotJson();
52336
+ if (f.length > 0) {
52337
+ writer.writeString(
52338
+ 11,
52339
+ f
52340
+ );
52341
+ }
52342
+ f = message.getPrecisionModelVersion();
52343
+ if (f !== 0) {
52344
+ writer.writeUint32(
52345
+ 12,
52346
+ f
52347
+ );
52348
+ }
52349
+ f = message.getBalanceType();
52350
+ if (f.length > 0) {
52351
+ writer.writeString(
52352
+ 13,
52353
+ f
52354
+ );
52355
+ }
52356
+ f = message.getGameType();
52357
+ if (f.length > 0) {
52358
+ writer.writeString(
52359
+ 14,
52360
+ f
52361
+ );
52362
+ }
52363
+ f = message.getGameId();
52364
+ if (f.length > 0) {
52365
+ writer.writeString(
52366
+ 15,
52367
+ f
52368
+ );
52369
+ }
52370
+ f = message.getGameCode();
52371
+ if (f.length > 0) {
52372
+ writer.writeString(
52373
+ 16,
52374
+ f
52375
+ );
52376
+ }
52377
+ f = message.getUserBonusId();
52378
+ if (f.length > 0) {
52379
+ writer.writeString(
52380
+ 17,
52381
+ f
52382
+ );
52383
+ }
52384
+ f = message.getUserFreespinBonusId();
52385
+ if (f.length > 0) {
52386
+ writer.writeString(
52387
+ 18,
52388
+ f
52389
+ );
52390
+ }
52391
+ f = message.getBankrollMode();
52392
+ if (f.length > 0) {
52393
+ writer.writeString(
52394
+ 19,
52395
+ f
52396
+ );
52397
+ }
52398
+ f = message.getResponsePolicyVersion();
52399
+ if (f.length > 0) {
52400
+ writer.writeString(
52401
+ 20,
52402
+ f
52403
+ );
52404
+ }
52405
+ };
52406
+
52407
+
52408
+ /**
52409
+ * optional string user_id = 1;
52410
+ * @return {string}
52411
+ */
52412
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getUserId = function() {
52413
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
52414
+ };
52415
+
52416
+
52417
+ /**
52418
+ * @param {string} value
52419
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52420
+ */
52421
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setUserId = function(value) {
52422
+ return jspb.Message.setProto3StringField(this, 1, value);
52423
+ };
52424
+
52425
+
52426
+ /**
52427
+ * optional string internal_session_id = 2;
52428
+ * @return {string}
52429
+ */
52430
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getInternalSessionId = function() {
52431
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
52432
+ };
52433
+
52434
+
52435
+ /**
52436
+ * @param {string} value
52437
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52438
+ */
52439
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setInternalSessionId = function(value) {
52440
+ return jspb.Message.setProto3StringField(this, 2, value);
52441
+ };
52442
+
52443
+
52444
+ /**
52445
+ * optional string vendor = 3;
52446
+ * @return {string}
52447
+ */
52448
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getVendor = function() {
52449
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
52450
+ };
52451
+
52452
+
52453
+ /**
52454
+ * @param {string} value
52455
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52456
+ */
52457
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setVendor = function(value) {
52458
+ return jspb.Message.setProto3StringField(this, 3, value);
52459
+ };
52460
+
52461
+
52462
+ /**
52463
+ * optional string provider_id = 4;
52464
+ * @return {string}
52465
+ */
52466
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getProviderId = function() {
52467
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
52468
+ };
52469
+
52470
+
52471
+ /**
52472
+ * @param {string} value
52473
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52474
+ */
52475
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setProviderId = function(value) {
52476
+ return jspb.Message.setProto3StringField(this, 4, value);
52477
+ };
52478
+
52479
+
52480
+ /**
52481
+ * optional string accounting_currency = 5;
52482
+ * @return {string}
52483
+ */
52484
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getAccountingCurrency = function() {
52485
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
52486
+ };
52487
+
52488
+
52489
+ /**
52490
+ * @param {string} value
52491
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52492
+ */
52493
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setAccountingCurrency = function(value) {
52494
+ return jspb.Message.setProto3StringField(this, 5, value);
52495
+ };
52496
+
52497
+
52498
+ /**
52499
+ * optional uint32 accounting_scale = 6;
52500
+ * @return {number}
52501
+ */
52502
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getAccountingScale = function() {
52503
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
52504
+ };
52505
+
52506
+
52507
+ /**
52508
+ * @param {number} value
52509
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52510
+ */
52511
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setAccountingScale = function(value) {
52512
+ return jspb.Message.setProto3IntField(this, 6, value);
52513
+ };
52514
+
52515
+
52516
+ /**
52517
+ * optional string provider_currency = 7;
52518
+ * @return {string}
52519
+ */
52520
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getProviderCurrency = function() {
52521
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
52522
+ };
52523
+
52524
+
52525
+ /**
52526
+ * @param {string} value
52527
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52528
+ */
52529
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setProviderCurrency = function(value) {
52530
+ return jspb.Message.setProto3StringField(this, 7, value);
52531
+ };
52532
+
52533
+
52534
+ /**
52535
+ * optional string wire_currency = 8;
52536
+ * @return {string}
52537
+ */
52538
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getWireCurrency = function() {
52539
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
52540
+ };
52541
+
52542
+
52543
+ /**
52544
+ * @param {string} value
52545
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52546
+ */
52547
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setWireCurrency = function(value) {
52548
+ return jspb.Message.setProto3StringField(this, 8, value);
52549
+ };
52550
+
52551
+
52552
+ /**
52553
+ * optional string wire_multiplier = 9;
52554
+ * @return {string}
52555
+ */
52556
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getWireMultiplier = function() {
52557
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
52558
+ };
52559
+
52560
+
52561
+ /**
52562
+ * @param {string} value
52563
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52564
+ */
52565
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setWireMultiplier = function(value) {
52566
+ return jspb.Message.setProto3StringField(this, 9, value);
52567
+ };
52568
+
52569
+
52570
+ /**
52571
+ * optional string fx_rate = 10;
52572
+ * @return {string}
52573
+ */
52574
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getFxRate = function() {
52575
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
52576
+ };
52577
+
52578
+
52579
+ /**
52580
+ * @param {string} value
52581
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52582
+ */
52583
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setFxRate = function(value) {
52584
+ return jspb.Message.setProto3StringField(this, 10, value);
52585
+ };
52586
+
52587
+
52588
+ /**
52589
+ * optional string fx_snapshot_json = 11;
52590
+ * @return {string}
52591
+ */
52592
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getFxSnapshotJson = function() {
52593
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
52594
+ };
52595
+
52596
+
52597
+ /**
52598
+ * @param {string} value
52599
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52600
+ */
52601
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setFxSnapshotJson = function(value) {
52602
+ return jspb.Message.setProto3StringField(this, 11, value);
52603
+ };
52604
+
52605
+
52606
+ /**
52607
+ * optional uint32 precision_model_version = 12;
52608
+ * @return {number}
52609
+ */
52610
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getPrecisionModelVersion = function() {
52611
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
52612
+ };
52613
+
52614
+
52615
+ /**
52616
+ * @param {number} value
52617
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52618
+ */
52619
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setPrecisionModelVersion = function(value) {
52620
+ return jspb.Message.setProto3IntField(this, 12, value);
52621
+ };
52622
+
52623
+
52624
+ /**
52625
+ * optional string balance_type = 13;
52626
+ * @return {string}
52627
+ */
52628
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getBalanceType = function() {
52629
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
52630
+ };
52631
+
52632
+
52633
+ /**
52634
+ * @param {string} value
52635
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52636
+ */
52637
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setBalanceType = function(value) {
52638
+ return jspb.Message.setProto3StringField(this, 13, value);
52639
+ };
52640
+
52641
+
52642
+ /**
52643
+ * optional string game_type = 14;
52644
+ * @return {string}
52645
+ */
52646
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getGameType = function() {
52647
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
52648
+ };
52649
+
52650
+
52651
+ /**
52652
+ * @param {string} value
52653
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52654
+ */
52655
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setGameType = function(value) {
52656
+ return jspb.Message.setProto3StringField(this, 14, value);
52657
+ };
52658
+
52659
+
52660
+ /**
52661
+ * optional string game_id = 15;
52662
+ * @return {string}
52663
+ */
52664
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getGameId = function() {
52665
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
52666
+ };
52667
+
52668
+
52669
+ /**
52670
+ * @param {string} value
52671
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52672
+ */
52673
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setGameId = function(value) {
52674
+ return jspb.Message.setProto3StringField(this, 15, value);
52675
+ };
52676
+
52677
+
52678
+ /**
52679
+ * optional string game_code = 16;
52680
+ * @return {string}
52681
+ */
52682
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getGameCode = function() {
52683
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
52684
+ };
52685
+
52686
+
52687
+ /**
52688
+ * @param {string} value
52689
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52690
+ */
52691
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setGameCode = function(value) {
52692
+ return jspb.Message.setProto3StringField(this, 16, value);
52693
+ };
52694
+
52695
+
52696
+ /**
52697
+ * optional string user_bonus_id = 17;
52698
+ * @return {string}
52699
+ */
52700
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getUserBonusId = function() {
52701
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
52702
+ };
52703
+
52704
+
52705
+ /**
52706
+ * @param {string} value
52707
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52708
+ */
52709
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setUserBonusId = function(value) {
52710
+ return jspb.Message.setProto3StringField(this, 17, value);
52711
+ };
52712
+
52713
+
52714
+ /**
52715
+ * optional string user_freespin_bonus_id = 18;
52716
+ * @return {string}
52717
+ */
52718
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getUserFreespinBonusId = function() {
52719
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
52720
+ };
52721
+
52722
+
52723
+ /**
52724
+ * @param {string} value
52725
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52726
+ */
52727
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setUserFreespinBonusId = function(value) {
52728
+ return jspb.Message.setProto3StringField(this, 18, value);
52729
+ };
52730
+
52731
+
52732
+ /**
52733
+ * optional string bankroll_mode = 19;
52734
+ * @return {string}
52735
+ */
52736
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getBankrollMode = function() {
52737
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
52738
+ };
52739
+
52740
+
52741
+ /**
52742
+ * @param {string} value
52743
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52744
+ */
52745
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setBankrollMode = function(value) {
52746
+ return jspb.Message.setProto3StringField(this, 19, value);
52747
+ };
52748
+
52749
+
52750
+ /**
52751
+ * optional string response_policy_version = 20;
52752
+ * @return {string}
52753
+ */
52754
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.getResponsePolicyVersion = function() {
52755
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
52756
+ };
52757
+
52758
+
52759
+ /**
52760
+ * @param {string} value
52761
+ * @return {!proto.payment.RegisterGameplayPrecisionSessionRequest} returns this
52762
+ */
52763
+ proto.payment.RegisterGameplayPrecisionSessionRequest.prototype.setResponsePolicyVersion = function(value) {
52764
+ return jspb.Message.setProto3StringField(this, 20, value);
52765
+ };
52766
+
52767
+
52768
+
52769
+
52770
+
52771
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52772
+ /**
52773
+ * Creates an object representation of this proto.
52774
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52775
+ * Optional fields that are not set will be set to undefined.
52776
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52777
+ * For the list of reserved names please see:
52778
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52779
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52780
+ * JSPB instance for transitional soy proto support:
52781
+ * http://goto/soy-param-migration
52782
+ * @return {!Object}
52783
+ */
52784
+ proto.payment.GameplayPrecisionSessionRequest.prototype.toObject = function(opt_includeInstance) {
52785
+ return proto.payment.GameplayPrecisionSessionRequest.toObject(opt_includeInstance, this);
52786
+ };
52787
+
52788
+
52789
+ /**
52790
+ * Static version of the {@see toObject} method.
52791
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52792
+ * the JSPB instance for transitional soy proto support:
52793
+ * http://goto/soy-param-migration
52794
+ * @param {!proto.payment.GameplayPrecisionSessionRequest} msg The msg instance to transform.
52795
+ * @return {!Object}
52796
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52797
+ */
52798
+ proto.payment.GameplayPrecisionSessionRequest.toObject = function(includeInstance, msg) {
52799
+ var f, obj = {
52800
+ precisionSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
52801
+ userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
52802
+ contextFingerprint: jspb.Message.getFieldWithDefault(msg, 3, "")
52803
+ };
52804
+
52805
+ if (includeInstance) {
52806
+ obj.$jspbMessageInstance = msg;
52807
+ }
52808
+ return obj;
52809
+ };
52810
+ }
52811
+
52812
+
52813
+ /**
52814
+ * Deserializes binary data (in protobuf wire format).
52815
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
52816
+ * @return {!proto.payment.GameplayPrecisionSessionRequest}
52817
+ */
52818
+ proto.payment.GameplayPrecisionSessionRequest.deserializeBinary = function(bytes) {
52819
+ var reader = new jspb.BinaryReader(bytes);
52820
+ var msg = new proto.payment.GameplayPrecisionSessionRequest;
52821
+ return proto.payment.GameplayPrecisionSessionRequest.deserializeBinaryFromReader(msg, reader);
52822
+ };
52823
+
52824
+
52825
+ /**
52826
+ * Deserializes binary data (in protobuf wire format) from the
52827
+ * given reader into the given message object.
52828
+ * @param {!proto.payment.GameplayPrecisionSessionRequest} msg The message object to deserialize into.
52829
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
52830
+ * @return {!proto.payment.GameplayPrecisionSessionRequest}
52831
+ */
52832
+ proto.payment.GameplayPrecisionSessionRequest.deserializeBinaryFromReader = function(msg, reader) {
52833
+ while (reader.nextField()) {
52834
+ if (reader.isEndGroup()) {
52835
+ break;
52836
+ }
52837
+ var field = reader.getFieldNumber();
52838
+ switch (field) {
52839
+ case 1:
52840
+ var value = /** @type {string} */ (reader.readString());
52841
+ msg.setPrecisionSessionId(value);
52842
+ break;
52843
+ case 2:
52844
+ var value = /** @type {string} */ (reader.readString());
52845
+ msg.setUserId(value);
52846
+ break;
52847
+ case 3:
52848
+ var value = /** @type {string} */ (reader.readString());
52849
+ msg.setContextFingerprint(value);
52850
+ break;
52851
+ default:
52852
+ reader.skipField();
52853
+ break;
52854
+ }
52855
+ }
52856
+ return msg;
52857
+ };
52858
+
52859
+
52860
+ /**
52861
+ * Serializes the message to binary data (in protobuf wire format).
52862
+ * @return {!Uint8Array}
52863
+ */
52864
+ proto.payment.GameplayPrecisionSessionRequest.prototype.serializeBinary = function() {
52865
+ var writer = new jspb.BinaryWriter();
52866
+ proto.payment.GameplayPrecisionSessionRequest.serializeBinaryToWriter(this, writer);
52867
+ return writer.getResultBuffer();
52868
+ };
52869
+
52870
+
52871
+ /**
52872
+ * Serializes the given message to binary data (in protobuf wire
52873
+ * format), writing to the given BinaryWriter.
52874
+ * @param {!proto.payment.GameplayPrecisionSessionRequest} message
52875
+ * @param {!jspb.BinaryWriter} writer
52876
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52877
+ */
52878
+ proto.payment.GameplayPrecisionSessionRequest.serializeBinaryToWriter = function(message, writer) {
52879
+ var f = undefined;
52880
+ f = message.getPrecisionSessionId();
52881
+ if (f.length > 0) {
52882
+ writer.writeString(
52883
+ 1,
52884
+ f
52885
+ );
52886
+ }
52887
+ f = message.getUserId();
52888
+ if (f.length > 0) {
52889
+ writer.writeString(
52890
+ 2,
52891
+ f
52892
+ );
52893
+ }
52894
+ f = message.getContextFingerprint();
52895
+ if (f.length > 0) {
52896
+ writer.writeString(
52897
+ 3,
52898
+ f
52899
+ );
52900
+ }
52901
+ };
52902
+
52903
+
52904
+ /**
52905
+ * optional string precision_session_id = 1;
52906
+ * @return {string}
52907
+ */
52908
+ proto.payment.GameplayPrecisionSessionRequest.prototype.getPrecisionSessionId = function() {
52909
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
52910
+ };
52911
+
52912
+
52913
+ /**
52914
+ * @param {string} value
52915
+ * @return {!proto.payment.GameplayPrecisionSessionRequest} returns this
52916
+ */
52917
+ proto.payment.GameplayPrecisionSessionRequest.prototype.setPrecisionSessionId = function(value) {
52918
+ return jspb.Message.setProto3StringField(this, 1, value);
52919
+ };
52920
+
52921
+
52922
+ /**
52923
+ * optional string user_id = 2;
52924
+ * @return {string}
52925
+ */
52926
+ proto.payment.GameplayPrecisionSessionRequest.prototype.getUserId = function() {
52927
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
52928
+ };
52929
+
52930
+
52931
+ /**
52932
+ * @param {string} value
52933
+ * @return {!proto.payment.GameplayPrecisionSessionRequest} returns this
52934
+ */
52935
+ proto.payment.GameplayPrecisionSessionRequest.prototype.setUserId = function(value) {
52936
+ return jspb.Message.setProto3StringField(this, 2, value);
52937
+ };
52938
+
52939
+
52940
+ /**
52941
+ * optional string context_fingerprint = 3;
52942
+ * @return {string}
52943
+ */
52944
+ proto.payment.GameplayPrecisionSessionRequest.prototype.getContextFingerprint = function() {
52945
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
52946
+ };
52947
+
52948
+
52949
+ /**
52950
+ * @param {string} value
52951
+ * @return {!proto.payment.GameplayPrecisionSessionRequest} returns this
52952
+ */
52953
+ proto.payment.GameplayPrecisionSessionRequest.prototype.setContextFingerprint = function(value) {
52954
+ return jspb.Message.setProto3StringField(this, 3, value);
52955
+ };
52956
+
52957
+
52958
+
52959
+
52960
+
52961
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52962
+ /**
52963
+ * Creates an object representation of this proto.
52964
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52965
+ * Optional fields that are not set will be set to undefined.
52966
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52967
+ * For the list of reserved names please see:
52968
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52969
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52970
+ * JSPB instance for transitional soy proto support:
52971
+ * http://goto/soy-param-migration
52972
+ * @return {!Object}
52973
+ */
52974
+ proto.payment.GameplayPrecisionLeg.prototype.toObject = function(opt_includeInstance) {
52975
+ return proto.payment.GameplayPrecisionLeg.toObject(opt_includeInstance, this);
52976
+ };
52977
+
52978
+
52979
+ /**
52980
+ * Static version of the {@see toObject} method.
52981
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52982
+ * the JSPB instance for transitional soy proto support:
52983
+ * http://goto/soy-param-migration
52984
+ * @param {!proto.payment.GameplayPrecisionLeg} msg The msg instance to transform.
52985
+ * @return {!Object}
52986
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52987
+ */
52988
+ proto.payment.GameplayPrecisionLeg.toObject = function(includeInstance, msg) {
52989
+ var f, obj = {
52990
+ action: jspb.Message.getFieldWithDefault(msg, 1, ""),
52991
+ providerTransactionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
52992
+ wireAmountDecimal: jspb.Message.getFieldWithDefault(msg, 3, ""),
52993
+ originalTransactionId: jspb.Message.getFieldWithDefault(msg, 4, ""),
52994
+ originalAction: jspb.Message.getFieldWithDefault(msg, 5, ""),
52995
+ eventContextJson: jspb.Message.getFieldWithDefault(msg, 6, "")
52996
+ };
52997
+
52998
+ if (includeInstance) {
52999
+ obj.$jspbMessageInstance = msg;
53000
+ }
53001
+ return obj;
53002
+ };
53003
+ }
53004
+
53005
+
53006
+ /**
53007
+ * Deserializes binary data (in protobuf wire format).
53008
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53009
+ * @return {!proto.payment.GameplayPrecisionLeg}
53010
+ */
53011
+ proto.payment.GameplayPrecisionLeg.deserializeBinary = function(bytes) {
53012
+ var reader = new jspb.BinaryReader(bytes);
53013
+ var msg = new proto.payment.GameplayPrecisionLeg;
53014
+ return proto.payment.GameplayPrecisionLeg.deserializeBinaryFromReader(msg, reader);
53015
+ };
53016
+
53017
+
53018
+ /**
53019
+ * Deserializes binary data (in protobuf wire format) from the
53020
+ * given reader into the given message object.
53021
+ * @param {!proto.payment.GameplayPrecisionLeg} msg The message object to deserialize into.
53022
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53023
+ * @return {!proto.payment.GameplayPrecisionLeg}
53024
+ */
53025
+ proto.payment.GameplayPrecisionLeg.deserializeBinaryFromReader = function(msg, reader) {
53026
+ while (reader.nextField()) {
53027
+ if (reader.isEndGroup()) {
53028
+ break;
53029
+ }
53030
+ var field = reader.getFieldNumber();
53031
+ switch (field) {
53032
+ case 1:
53033
+ var value = /** @type {string} */ (reader.readString());
53034
+ msg.setAction(value);
53035
+ break;
53036
+ case 2:
53037
+ var value = /** @type {string} */ (reader.readString());
53038
+ msg.setProviderTransactionId(value);
53039
+ break;
53040
+ case 3:
53041
+ var value = /** @type {string} */ (reader.readString());
53042
+ msg.setWireAmountDecimal(value);
53043
+ break;
53044
+ case 4:
53045
+ var value = /** @type {string} */ (reader.readString());
53046
+ msg.setOriginalTransactionId(value);
53047
+ break;
53048
+ case 5:
53049
+ var value = /** @type {string} */ (reader.readString());
53050
+ msg.setOriginalAction(value);
53051
+ break;
53052
+ case 6:
53053
+ var value = /** @type {string} */ (reader.readString());
53054
+ msg.setEventContextJson(value);
53055
+ break;
53056
+ default:
53057
+ reader.skipField();
53058
+ break;
53059
+ }
53060
+ }
53061
+ return msg;
53062
+ };
53063
+
53064
+
53065
+ /**
53066
+ * Serializes the message to binary data (in protobuf wire format).
53067
+ * @return {!Uint8Array}
53068
+ */
53069
+ proto.payment.GameplayPrecisionLeg.prototype.serializeBinary = function() {
53070
+ var writer = new jspb.BinaryWriter();
53071
+ proto.payment.GameplayPrecisionLeg.serializeBinaryToWriter(this, writer);
53072
+ return writer.getResultBuffer();
53073
+ };
53074
+
53075
+
53076
+ /**
53077
+ * Serializes the given message to binary data (in protobuf wire
53078
+ * format), writing to the given BinaryWriter.
53079
+ * @param {!proto.payment.GameplayPrecisionLeg} message
53080
+ * @param {!jspb.BinaryWriter} writer
53081
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53082
+ */
53083
+ proto.payment.GameplayPrecisionLeg.serializeBinaryToWriter = function(message, writer) {
53084
+ var f = undefined;
53085
+ f = message.getAction();
53086
+ if (f.length > 0) {
53087
+ writer.writeString(
53088
+ 1,
53089
+ f
53090
+ );
53091
+ }
53092
+ f = message.getProviderTransactionId();
53093
+ if (f.length > 0) {
53094
+ writer.writeString(
53095
+ 2,
53096
+ f
53097
+ );
53098
+ }
53099
+ f = message.getWireAmountDecimal();
53100
+ if (f.length > 0) {
53101
+ writer.writeString(
53102
+ 3,
53103
+ f
53104
+ );
53105
+ }
53106
+ f = message.getOriginalTransactionId();
53107
+ if (f.length > 0) {
53108
+ writer.writeString(
53109
+ 4,
53110
+ f
53111
+ );
53112
+ }
53113
+ f = message.getOriginalAction();
53114
+ if (f.length > 0) {
53115
+ writer.writeString(
53116
+ 5,
53117
+ f
53118
+ );
53119
+ }
53120
+ f = message.getEventContextJson();
53121
+ if (f.length > 0) {
53122
+ writer.writeString(
53123
+ 6,
53124
+ f
53125
+ );
53126
+ }
53127
+ };
53128
+
53129
+
53130
+ /**
53131
+ * optional string action = 1;
53132
+ * @return {string}
53133
+ */
53134
+ proto.payment.GameplayPrecisionLeg.prototype.getAction = function() {
53135
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
53136
+ };
53137
+
53138
+
53139
+ /**
53140
+ * @param {string} value
53141
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53142
+ */
53143
+ proto.payment.GameplayPrecisionLeg.prototype.setAction = function(value) {
53144
+ return jspb.Message.setProto3StringField(this, 1, value);
53145
+ };
53146
+
53147
+
53148
+ /**
53149
+ * optional string provider_transaction_id = 2;
53150
+ * @return {string}
53151
+ */
53152
+ proto.payment.GameplayPrecisionLeg.prototype.getProviderTransactionId = function() {
53153
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
53154
+ };
53155
+
53156
+
53157
+ /**
53158
+ * @param {string} value
53159
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53160
+ */
53161
+ proto.payment.GameplayPrecisionLeg.prototype.setProviderTransactionId = function(value) {
53162
+ return jspb.Message.setProto3StringField(this, 2, value);
53163
+ };
53164
+
53165
+
53166
+ /**
53167
+ * optional string wire_amount_decimal = 3;
53168
+ * @return {string}
53169
+ */
53170
+ proto.payment.GameplayPrecisionLeg.prototype.getWireAmountDecimal = function() {
53171
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
53172
+ };
53173
+
53174
+
53175
+ /**
53176
+ * @param {string} value
53177
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53178
+ */
53179
+ proto.payment.GameplayPrecisionLeg.prototype.setWireAmountDecimal = function(value) {
53180
+ return jspb.Message.setProto3StringField(this, 3, value);
53181
+ };
53182
+
53183
+
53184
+ /**
53185
+ * optional string original_transaction_id = 4;
53186
+ * @return {string}
53187
+ */
53188
+ proto.payment.GameplayPrecisionLeg.prototype.getOriginalTransactionId = function() {
53189
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
53190
+ };
53191
+
53192
+
53193
+ /**
53194
+ * @param {string} value
53195
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53196
+ */
53197
+ proto.payment.GameplayPrecisionLeg.prototype.setOriginalTransactionId = function(value) {
53198
+ return jspb.Message.setProto3StringField(this, 4, value);
53199
+ };
53200
+
53201
+
53202
+ /**
53203
+ * optional string original_action = 5;
53204
+ * @return {string}
53205
+ */
53206
+ proto.payment.GameplayPrecisionLeg.prototype.getOriginalAction = function() {
53207
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
53208
+ };
53209
+
53210
+
53211
+ /**
53212
+ * @param {string} value
53213
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53214
+ */
53215
+ proto.payment.GameplayPrecisionLeg.prototype.setOriginalAction = function(value) {
53216
+ return jspb.Message.setProto3StringField(this, 5, value);
53217
+ };
53218
+
53219
+
53220
+ /**
53221
+ * optional string event_context_json = 6;
53222
+ * @return {string}
53223
+ */
53224
+ proto.payment.GameplayPrecisionLeg.prototype.getEventContextJson = function() {
53225
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
53226
+ };
53227
+
53228
+
53229
+ /**
53230
+ * @param {string} value
53231
+ * @return {!proto.payment.GameplayPrecisionLeg} returns this
53232
+ */
53233
+ proto.payment.GameplayPrecisionLeg.prototype.setEventContextJson = function(value) {
53234
+ return jspb.Message.setProto3StringField(this, 6, value);
53235
+ };
53236
+
53237
+
53238
+
53239
+ /**
53240
+ * List of repeated fields within this message type.
53241
+ * @private {!Array<number>}
53242
+ * @const
53243
+ */
53244
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.repeatedFields_ = [4];
53245
+
53246
+
53247
+
53248
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53249
+ /**
53250
+ * Creates an object representation of this proto.
53251
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53252
+ * Optional fields that are not set will be set to undefined.
53253
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53254
+ * For the list of reserved names please see:
53255
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53256
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53257
+ * JSPB instance for transitional soy proto support:
53258
+ * http://goto/soy-param-migration
53259
+ * @return {!Object}
53260
+ */
53261
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.toObject = function(opt_includeInstance) {
53262
+ return proto.payment.ExecuteGameplayPrecisionCommandRequest.toObject(opt_includeInstance, this);
53263
+ };
53264
+
53265
+
53266
+ /**
53267
+ * Static version of the {@see toObject} method.
53268
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53269
+ * the JSPB instance for transitional soy proto support:
53270
+ * http://goto/soy-param-migration
53271
+ * @param {!proto.payment.ExecuteGameplayPrecisionCommandRequest} msg The msg instance to transform.
53272
+ * @return {!Object}
53273
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53274
+ */
53275
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.toObject = function(includeInstance, msg) {
53276
+ var f, obj = {
53277
+ session: (f = msg.getSession()) && proto.payment.GameplayPrecisionSessionRequest.toObject(includeInstance, f),
53278
+ commandId: jspb.Message.getFieldWithDefault(msg, 2, ""),
53279
+ callbackAction: jspb.Message.getFieldWithDefault(msg, 3, ""),
53280
+ legsList: jspb.Message.toObjectList(msg.getLegsList(),
53281
+ proto.payment.GameplayPrecisionLeg.toObject, includeInstance)
53282
+ };
53283
+
53284
+ if (includeInstance) {
53285
+ obj.$jspbMessageInstance = msg;
53286
+ }
53287
+ return obj;
53288
+ };
53289
+ }
53290
+
53291
+
53292
+ /**
53293
+ * Deserializes binary data (in protobuf wire format).
53294
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53295
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest}
53296
+ */
53297
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.deserializeBinary = function(bytes) {
53298
+ var reader = new jspb.BinaryReader(bytes);
53299
+ var msg = new proto.payment.ExecuteGameplayPrecisionCommandRequest;
53300
+ return proto.payment.ExecuteGameplayPrecisionCommandRequest.deserializeBinaryFromReader(msg, reader);
53301
+ };
53302
+
53303
+
53304
+ /**
53305
+ * Deserializes binary data (in protobuf wire format) from the
53306
+ * given reader into the given message object.
53307
+ * @param {!proto.payment.ExecuteGameplayPrecisionCommandRequest} msg The message object to deserialize into.
53308
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53309
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest}
53310
+ */
53311
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.deserializeBinaryFromReader = function(msg, reader) {
53312
+ while (reader.nextField()) {
53313
+ if (reader.isEndGroup()) {
53314
+ break;
53315
+ }
53316
+ var field = reader.getFieldNumber();
53317
+ switch (field) {
53318
+ case 1:
53319
+ var value = new proto.payment.GameplayPrecisionSessionRequest;
53320
+ reader.readMessage(value,proto.payment.GameplayPrecisionSessionRequest.deserializeBinaryFromReader);
53321
+ msg.setSession(value);
53322
+ break;
53323
+ case 2:
53324
+ var value = /** @type {string} */ (reader.readString());
53325
+ msg.setCommandId(value);
53326
+ break;
53327
+ case 3:
53328
+ var value = /** @type {string} */ (reader.readString());
53329
+ msg.setCallbackAction(value);
53330
+ break;
53331
+ case 4:
53332
+ var value = new proto.payment.GameplayPrecisionLeg;
53333
+ reader.readMessage(value,proto.payment.GameplayPrecisionLeg.deserializeBinaryFromReader);
53334
+ msg.addLegs(value);
53335
+ break;
53336
+ default:
53337
+ reader.skipField();
53338
+ break;
53339
+ }
53340
+ }
53341
+ return msg;
53342
+ };
53343
+
53344
+
53345
+ /**
53346
+ * Serializes the message to binary data (in protobuf wire format).
53347
+ * @return {!Uint8Array}
53348
+ */
53349
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.serializeBinary = function() {
53350
+ var writer = new jspb.BinaryWriter();
53351
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.serializeBinaryToWriter(this, writer);
53352
+ return writer.getResultBuffer();
53353
+ };
53354
+
53355
+
53356
+ /**
53357
+ * Serializes the given message to binary data (in protobuf wire
53358
+ * format), writing to the given BinaryWriter.
53359
+ * @param {!proto.payment.ExecuteGameplayPrecisionCommandRequest} message
53360
+ * @param {!jspb.BinaryWriter} writer
53361
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53362
+ */
53363
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.serializeBinaryToWriter = function(message, writer) {
53364
+ var f = undefined;
53365
+ f = message.getSession();
53366
+ if (f != null) {
53367
+ writer.writeMessage(
53368
+ 1,
53369
+ f,
53370
+ proto.payment.GameplayPrecisionSessionRequest.serializeBinaryToWriter
53371
+ );
53372
+ }
53373
+ f = message.getCommandId();
53374
+ if (f.length > 0) {
53375
+ writer.writeString(
53376
+ 2,
53377
+ f
53378
+ );
53379
+ }
53380
+ f = message.getCallbackAction();
53381
+ if (f.length > 0) {
53382
+ writer.writeString(
53383
+ 3,
53384
+ f
53385
+ );
53386
+ }
53387
+ f = message.getLegsList();
53388
+ if (f.length > 0) {
53389
+ writer.writeRepeatedMessage(
53390
+ 4,
53391
+ f,
53392
+ proto.payment.GameplayPrecisionLeg.serializeBinaryToWriter
53393
+ );
53394
+ }
53395
+ };
53396
+
53397
+
53398
+ /**
53399
+ * optional GameplayPrecisionSessionRequest session = 1;
53400
+ * @return {?proto.payment.GameplayPrecisionSessionRequest}
53401
+ */
53402
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getSession = function() {
53403
+ return /** @type{?proto.payment.GameplayPrecisionSessionRequest} */ (
53404
+ jspb.Message.getWrapperField(this, proto.payment.GameplayPrecisionSessionRequest, 1));
53405
+ };
53406
+
53407
+
53408
+ /**
53409
+ * @param {?proto.payment.GameplayPrecisionSessionRequest|undefined} value
53410
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53411
+ */
53412
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setSession = function(value) {
53413
+ return jspb.Message.setWrapperField(this, 1, value);
53414
+ };
53415
+
53416
+
53417
+ /**
53418
+ * Clears the message field making it undefined.
53419
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53420
+ */
53421
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.clearSession = function() {
53422
+ return this.setSession(undefined);
53423
+ };
53424
+
53425
+
53426
+ /**
53427
+ * Returns whether this field is set.
53428
+ * @return {boolean}
53429
+ */
53430
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.hasSession = function() {
53431
+ return jspb.Message.getField(this, 1) != null;
53432
+ };
53433
+
53434
+
53435
+ /**
53436
+ * optional string command_id = 2;
53437
+ * @return {string}
53438
+ */
53439
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getCommandId = function() {
53440
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
53441
+ };
53442
+
53443
+
53444
+ /**
53445
+ * @param {string} value
53446
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53447
+ */
53448
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setCommandId = function(value) {
53449
+ return jspb.Message.setProto3StringField(this, 2, value);
53450
+ };
53451
+
53452
+
53453
+ /**
53454
+ * optional string callback_action = 3;
53455
+ * @return {string}
53456
+ */
53457
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getCallbackAction = function() {
53458
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
53459
+ };
53460
+
53461
+
53462
+ /**
53463
+ * @param {string} value
53464
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53465
+ */
53466
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setCallbackAction = function(value) {
53467
+ return jspb.Message.setProto3StringField(this, 3, value);
53468
+ };
53469
+
53470
+
53471
+ /**
53472
+ * repeated GameplayPrecisionLeg legs = 4;
53473
+ * @return {!Array<!proto.payment.GameplayPrecisionLeg>}
53474
+ */
53475
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.getLegsList = function() {
53476
+ return /** @type{!Array<!proto.payment.GameplayPrecisionLeg>} */ (
53477
+ jspb.Message.getRepeatedWrapperField(this, proto.payment.GameplayPrecisionLeg, 4));
53478
+ };
53479
+
53480
+
53481
+ /**
53482
+ * @param {!Array<!proto.payment.GameplayPrecisionLeg>} value
53483
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53484
+ */
53485
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.setLegsList = function(value) {
53486
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
53487
+ };
53488
+
53489
+
53490
+ /**
53491
+ * @param {!proto.payment.GameplayPrecisionLeg=} opt_value
53492
+ * @param {number=} opt_index
53493
+ * @return {!proto.payment.GameplayPrecisionLeg}
53494
+ */
53495
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.addLegs = function(opt_value, opt_index) {
53496
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.payment.GameplayPrecisionLeg, opt_index);
53497
+ };
53498
+
53499
+
53500
+ /**
53501
+ * Clears the list making it empty but non-null.
53502
+ * @return {!proto.payment.ExecuteGameplayPrecisionCommandRequest} returns this
53503
+ */
53504
+ proto.payment.ExecuteGameplayPrecisionCommandRequest.prototype.clearLegsList = function() {
53505
+ return this.setLegsList([]);
53506
+ };
53507
+
53508
+
53509
+
53510
+ /**
53511
+ * List of repeated fields within this message type.
53512
+ * @private {!Array<number>}
53513
+ * @const
53514
+ */
53515
+ proto.payment.GameplayPrecisionResult.repeatedFields_ = [12];
53516
+
53517
+
53518
+
53519
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53520
+ /**
53521
+ * Creates an object representation of this proto.
53522
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53523
+ * Optional fields that are not set will be set to undefined.
53524
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53525
+ * For the list of reserved names please see:
53526
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53527
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53528
+ * JSPB instance for transitional soy proto support:
53529
+ * http://goto/soy-param-migration
53530
+ * @return {!Object}
53531
+ */
53532
+ proto.payment.GameplayPrecisionResult.prototype.toObject = function(opt_includeInstance) {
53533
+ return proto.payment.GameplayPrecisionResult.toObject(opt_includeInstance, this);
53534
+ };
53535
+
53536
+
53537
+ /**
53538
+ * Static version of the {@see toObject} method.
53539
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53540
+ * the JSPB instance for transitional soy proto support:
53541
+ * http://goto/soy-param-migration
53542
+ * @param {!proto.payment.GameplayPrecisionResult} msg The msg instance to transform.
53543
+ * @return {!Object}
53544
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53545
+ */
53546
+ proto.payment.GameplayPrecisionResult.toObject = function(includeInstance, msg) {
53547
+ var f, obj = {
53548
+ status: jspb.Message.getFieldWithDefault(msg, 1, ""),
53549
+ precisionSessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
53550
+ contextFingerprint: jspb.Message.getFieldWithDefault(msg, 3, ""),
53551
+ precisionModelVersion: jspb.Message.getFieldWithDefault(msg, 4, 0),
53552
+ accountingCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
53553
+ accountingScale: jspb.Message.getFieldWithDefault(msg, 6, 0),
53554
+ balanceMinor: jspb.Message.getFieldWithDefault(msg, 7, ""),
53555
+ remainderNumerator: jspb.Message.getFieldWithDefault(msg, 8, ""),
53556
+ remainderDenominator: jspb.Message.getFieldWithDefault(msg, 9, ""),
53557
+ cashLedgerEntryId: jspb.Message.getFieldWithDefault(msg, 10, ""),
53558
+ precisionVersion: jspb.Message.getFieldWithDefault(msg, 11, ""),
53559
+ operationIdsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
53560
+ providerBalanceNumerator: jspb.Message.getFieldWithDefault(msg, 13, ""),
53561
+ providerBalanceDenominator: jspb.Message.getFieldWithDefault(msg, 14, ""),
53562
+ providerBalanceDecimal: jspb.Message.getFieldWithDefault(msg, 15, ""),
53563
+ responsePolicyVersion: jspb.Message.getFieldWithDefault(msg, 16, "")
53564
+ };
53565
+
53566
+ if (includeInstance) {
53567
+ obj.$jspbMessageInstance = msg;
53568
+ }
53569
+ return obj;
53570
+ };
53571
+ }
53572
+
53573
+
53574
+ /**
53575
+ * Deserializes binary data (in protobuf wire format).
53576
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53577
+ * @return {!proto.payment.GameplayPrecisionResult}
53578
+ */
53579
+ proto.payment.GameplayPrecisionResult.deserializeBinary = function(bytes) {
53580
+ var reader = new jspb.BinaryReader(bytes);
53581
+ var msg = new proto.payment.GameplayPrecisionResult;
53582
+ return proto.payment.GameplayPrecisionResult.deserializeBinaryFromReader(msg, reader);
53583
+ };
53584
+
53585
+
53586
+ /**
53587
+ * Deserializes binary data (in protobuf wire format) from the
53588
+ * given reader into the given message object.
53589
+ * @param {!proto.payment.GameplayPrecisionResult} msg The message object to deserialize into.
53590
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53591
+ * @return {!proto.payment.GameplayPrecisionResult}
53592
+ */
53593
+ proto.payment.GameplayPrecisionResult.deserializeBinaryFromReader = function(msg, reader) {
53594
+ while (reader.nextField()) {
53595
+ if (reader.isEndGroup()) {
53596
+ break;
53597
+ }
53598
+ var field = reader.getFieldNumber();
53599
+ switch (field) {
53600
+ case 1:
53601
+ var value = /** @type {string} */ (reader.readString());
53602
+ msg.setStatus(value);
53603
+ break;
53604
+ case 2:
53605
+ var value = /** @type {string} */ (reader.readString());
53606
+ msg.setPrecisionSessionId(value);
53607
+ break;
53608
+ case 3:
53609
+ var value = /** @type {string} */ (reader.readString());
53610
+ msg.setContextFingerprint(value);
53611
+ break;
53612
+ case 4:
53613
+ var value = /** @type {number} */ (reader.readUint32());
53614
+ msg.setPrecisionModelVersion(value);
53615
+ break;
53616
+ case 5:
53617
+ var value = /** @type {string} */ (reader.readString());
53618
+ msg.setAccountingCurrency(value);
53619
+ break;
53620
+ case 6:
53621
+ var value = /** @type {number} */ (reader.readUint32());
53622
+ msg.setAccountingScale(value);
53623
+ break;
53624
+ case 7:
53625
+ var value = /** @type {string} */ (reader.readString());
53626
+ msg.setBalanceMinor(value);
53627
+ break;
53628
+ case 8:
53629
+ var value = /** @type {string} */ (reader.readString());
53630
+ msg.setRemainderNumerator(value);
53631
+ break;
53632
+ case 9:
53633
+ var value = /** @type {string} */ (reader.readString());
53634
+ msg.setRemainderDenominator(value);
53635
+ break;
53636
+ case 10:
53637
+ var value = /** @type {string} */ (reader.readString());
53638
+ msg.setCashLedgerEntryId(value);
53639
+ break;
53640
+ case 11:
53641
+ var value = /** @type {string} */ (reader.readString());
53642
+ msg.setPrecisionVersion(value);
53643
+ break;
53644
+ case 12:
53645
+ var value = /** @type {string} */ (reader.readString());
53646
+ msg.addOperationIds(value);
53647
+ break;
53648
+ case 13:
53649
+ var value = /** @type {string} */ (reader.readString());
53650
+ msg.setProviderBalanceNumerator(value);
53651
+ break;
53652
+ case 14:
53653
+ var value = /** @type {string} */ (reader.readString());
53654
+ msg.setProviderBalanceDenominator(value);
53655
+ break;
53656
+ case 15:
53657
+ var value = /** @type {string} */ (reader.readString());
53658
+ msg.setProviderBalanceDecimal(value);
53659
+ break;
53660
+ case 16:
53661
+ var value = /** @type {string} */ (reader.readString());
53662
+ msg.setResponsePolicyVersion(value);
53663
+ break;
53664
+ default:
53665
+ reader.skipField();
53666
+ break;
53667
+ }
53668
+ }
53669
+ return msg;
53670
+ };
53671
+
53672
+
53673
+ /**
53674
+ * Serializes the message to binary data (in protobuf wire format).
53675
+ * @return {!Uint8Array}
53676
+ */
53677
+ proto.payment.GameplayPrecisionResult.prototype.serializeBinary = function() {
53678
+ var writer = new jspb.BinaryWriter();
53679
+ proto.payment.GameplayPrecisionResult.serializeBinaryToWriter(this, writer);
53680
+ return writer.getResultBuffer();
53681
+ };
53682
+
53683
+
53684
+ /**
53685
+ * Serializes the given message to binary data (in protobuf wire
53686
+ * format), writing to the given BinaryWriter.
53687
+ * @param {!proto.payment.GameplayPrecisionResult} message
53688
+ * @param {!jspb.BinaryWriter} writer
53689
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53690
+ */
53691
+ proto.payment.GameplayPrecisionResult.serializeBinaryToWriter = function(message, writer) {
53692
+ var f = undefined;
53693
+ f = message.getStatus();
53694
+ if (f.length > 0) {
53695
+ writer.writeString(
53696
+ 1,
53697
+ f
53698
+ );
53699
+ }
53700
+ f = message.getPrecisionSessionId();
53701
+ if (f.length > 0) {
53702
+ writer.writeString(
53703
+ 2,
53704
+ f
53705
+ );
53706
+ }
53707
+ f = message.getContextFingerprint();
53708
+ if (f.length > 0) {
53709
+ writer.writeString(
53710
+ 3,
53711
+ f
53712
+ );
53713
+ }
53714
+ f = message.getPrecisionModelVersion();
53715
+ if (f !== 0) {
53716
+ writer.writeUint32(
53717
+ 4,
53718
+ f
53719
+ );
53720
+ }
53721
+ f = message.getAccountingCurrency();
53722
+ if (f.length > 0) {
53723
+ writer.writeString(
53724
+ 5,
53725
+ f
53726
+ );
53727
+ }
53728
+ f = message.getAccountingScale();
53729
+ if (f !== 0) {
53730
+ writer.writeUint32(
53731
+ 6,
53732
+ f
53733
+ );
53734
+ }
53735
+ f = message.getBalanceMinor();
53736
+ if (f.length > 0) {
53737
+ writer.writeString(
53738
+ 7,
53739
+ f
53740
+ );
53741
+ }
53742
+ f = message.getRemainderNumerator();
53743
+ if (f.length > 0) {
53744
+ writer.writeString(
53745
+ 8,
53746
+ f
53747
+ );
53748
+ }
53749
+ f = message.getRemainderDenominator();
53750
+ if (f.length > 0) {
53751
+ writer.writeString(
53752
+ 9,
53753
+ f
53754
+ );
53755
+ }
53756
+ f = message.getCashLedgerEntryId();
53757
+ if (f.length > 0) {
53758
+ writer.writeString(
53759
+ 10,
53760
+ f
53761
+ );
53762
+ }
53763
+ f = message.getPrecisionVersion();
53764
+ if (f.length > 0) {
53765
+ writer.writeString(
53766
+ 11,
53767
+ f
53768
+ );
53769
+ }
53770
+ f = message.getOperationIdsList();
53771
+ if (f.length > 0) {
53772
+ writer.writeRepeatedString(
53773
+ 12,
53774
+ f
53775
+ );
53776
+ }
53777
+ f = message.getProviderBalanceNumerator();
53778
+ if (f.length > 0) {
53779
+ writer.writeString(
53780
+ 13,
53781
+ f
53782
+ );
53783
+ }
53784
+ f = message.getProviderBalanceDenominator();
53785
+ if (f.length > 0) {
53786
+ writer.writeString(
53787
+ 14,
53788
+ f
53789
+ );
53790
+ }
53791
+ f = message.getProviderBalanceDecimal();
53792
+ if (f.length > 0) {
53793
+ writer.writeString(
53794
+ 15,
53795
+ f
53796
+ );
53797
+ }
53798
+ f = message.getResponsePolicyVersion();
53799
+ if (f.length > 0) {
53800
+ writer.writeString(
53801
+ 16,
53802
+ f
53803
+ );
53804
+ }
53805
+ };
53806
+
53807
+
53808
+ /**
53809
+ * optional string status = 1;
53810
+ * @return {string}
53811
+ */
53812
+ proto.payment.GameplayPrecisionResult.prototype.getStatus = function() {
53813
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
53814
+ };
53815
+
53816
+
53817
+ /**
53818
+ * @param {string} value
53819
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
53820
+ */
53821
+ proto.payment.GameplayPrecisionResult.prototype.setStatus = function(value) {
53822
+ return jspb.Message.setProto3StringField(this, 1, value);
53823
+ };
53824
+
53825
+
53826
+ /**
53827
+ * optional string precision_session_id = 2;
53828
+ * @return {string}
53829
+ */
53830
+ proto.payment.GameplayPrecisionResult.prototype.getPrecisionSessionId = function() {
53831
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
53832
+ };
53833
+
53834
+
53835
+ /**
53836
+ * @param {string} value
53837
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
53838
+ */
53839
+ proto.payment.GameplayPrecisionResult.prototype.setPrecisionSessionId = function(value) {
53840
+ return jspb.Message.setProto3StringField(this, 2, value);
53841
+ };
53842
+
53843
+
53844
+ /**
53845
+ * optional string context_fingerprint = 3;
53846
+ * @return {string}
53847
+ */
53848
+ proto.payment.GameplayPrecisionResult.prototype.getContextFingerprint = function() {
53849
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
53850
+ };
53851
+
53852
+
53853
+ /**
53854
+ * @param {string} value
53855
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
53856
+ */
53857
+ proto.payment.GameplayPrecisionResult.prototype.setContextFingerprint = function(value) {
53858
+ return jspb.Message.setProto3StringField(this, 3, value);
53859
+ };
53860
+
53861
+
53862
+ /**
53863
+ * optional uint32 precision_model_version = 4;
53864
+ * @return {number}
53865
+ */
53866
+ proto.payment.GameplayPrecisionResult.prototype.getPrecisionModelVersion = function() {
53867
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
53868
+ };
53869
+
53870
+
53871
+ /**
53872
+ * @param {number} value
53873
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
53874
+ */
53875
+ proto.payment.GameplayPrecisionResult.prototype.setPrecisionModelVersion = function(value) {
53876
+ return jspb.Message.setProto3IntField(this, 4, value);
53877
+ };
53878
+
53879
+
53880
+ /**
53881
+ * optional string accounting_currency = 5;
53882
+ * @return {string}
53883
+ */
53884
+ proto.payment.GameplayPrecisionResult.prototype.getAccountingCurrency = function() {
53885
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
53886
+ };
53887
+
53888
+
53889
+ /**
53890
+ * @param {string} value
53891
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
53892
+ */
53893
+ proto.payment.GameplayPrecisionResult.prototype.setAccountingCurrency = function(value) {
53894
+ return jspb.Message.setProto3StringField(this, 5, value);
53895
+ };
53896
+
53897
+
53898
+ /**
53899
+ * optional uint32 accounting_scale = 6;
53900
+ * @return {number}
53901
+ */
53902
+ proto.payment.GameplayPrecisionResult.prototype.getAccountingScale = function() {
53903
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
53904
+ };
53905
+
53906
+
53907
+ /**
53908
+ * @param {number} value
53909
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
53910
+ */
53911
+ proto.payment.GameplayPrecisionResult.prototype.setAccountingScale = function(value) {
53912
+ return jspb.Message.setProto3IntField(this, 6, value);
53913
+ };
53914
+
53915
+
53916
+ /**
53917
+ * optional string balance_minor = 7;
53918
+ * @return {string}
53919
+ */
53920
+ proto.payment.GameplayPrecisionResult.prototype.getBalanceMinor = function() {
53921
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
53922
+ };
53923
+
53924
+
53925
+ /**
53926
+ * @param {string} value
53927
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
53928
+ */
53929
+ proto.payment.GameplayPrecisionResult.prototype.setBalanceMinor = function(value) {
53930
+ return jspb.Message.setProto3StringField(this, 7, value);
53931
+ };
53932
+
53933
+
53934
+ /**
53935
+ * optional string remainder_numerator = 8;
53936
+ * @return {string}
53937
+ */
53938
+ proto.payment.GameplayPrecisionResult.prototype.getRemainderNumerator = function() {
53939
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
53940
+ };
53941
+
53942
+
53943
+ /**
53944
+ * @param {string} value
53945
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
53946
+ */
53947
+ proto.payment.GameplayPrecisionResult.prototype.setRemainderNumerator = function(value) {
53948
+ return jspb.Message.setProto3StringField(this, 8, value);
53949
+ };
53950
+
53951
+
53952
+ /**
53953
+ * optional string remainder_denominator = 9;
53954
+ * @return {string}
53955
+ */
53956
+ proto.payment.GameplayPrecisionResult.prototype.getRemainderDenominator = function() {
53957
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
53958
+ };
53959
+
53960
+
53961
+ /**
53962
+ * @param {string} value
53963
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
53964
+ */
53965
+ proto.payment.GameplayPrecisionResult.prototype.setRemainderDenominator = function(value) {
53966
+ return jspb.Message.setProto3StringField(this, 9, value);
53967
+ };
53968
+
53969
+
53970
+ /**
53971
+ * optional string cash_ledger_entry_id = 10;
53972
+ * @return {string}
53973
+ */
53974
+ proto.payment.GameplayPrecisionResult.prototype.getCashLedgerEntryId = function() {
53975
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
53976
+ };
53977
+
53978
+
53979
+ /**
53980
+ * @param {string} value
53981
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
53982
+ */
53983
+ proto.payment.GameplayPrecisionResult.prototype.setCashLedgerEntryId = function(value) {
53984
+ return jspb.Message.setProto3StringField(this, 10, value);
53985
+ };
53986
+
53987
+
53988
+ /**
53989
+ * optional string precision_version = 11;
53990
+ * @return {string}
53991
+ */
53992
+ proto.payment.GameplayPrecisionResult.prototype.getPrecisionVersion = function() {
53993
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
53994
+ };
53995
+
53996
+
53997
+ /**
53998
+ * @param {string} value
53999
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54000
+ */
54001
+ proto.payment.GameplayPrecisionResult.prototype.setPrecisionVersion = function(value) {
54002
+ return jspb.Message.setProto3StringField(this, 11, value);
54003
+ };
54004
+
54005
+
54006
+ /**
54007
+ * repeated string operation_ids = 12;
54008
+ * @return {!Array<string>}
54009
+ */
54010
+ proto.payment.GameplayPrecisionResult.prototype.getOperationIdsList = function() {
54011
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 12));
54012
+ };
54013
+
54014
+
54015
+ /**
54016
+ * @param {!Array<string>} value
54017
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54018
+ */
54019
+ proto.payment.GameplayPrecisionResult.prototype.setOperationIdsList = function(value) {
54020
+ return jspb.Message.setField(this, 12, value || []);
54021
+ };
54022
+
54023
+
54024
+ /**
54025
+ * @param {string} value
54026
+ * @param {number=} opt_index
54027
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54028
+ */
54029
+ proto.payment.GameplayPrecisionResult.prototype.addOperationIds = function(value, opt_index) {
54030
+ return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
54031
+ };
54032
+
54033
+
54034
+ /**
54035
+ * Clears the list making it empty but non-null.
54036
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54037
+ */
54038
+ proto.payment.GameplayPrecisionResult.prototype.clearOperationIdsList = function() {
54039
+ return this.setOperationIdsList([]);
54040
+ };
54041
+
54042
+
54043
+ /**
54044
+ * optional string provider_balance_numerator = 13;
54045
+ * @return {string}
54046
+ */
54047
+ proto.payment.GameplayPrecisionResult.prototype.getProviderBalanceNumerator = function() {
54048
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
54049
+ };
54050
+
54051
+
54052
+ /**
54053
+ * @param {string} value
54054
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54055
+ */
54056
+ proto.payment.GameplayPrecisionResult.prototype.setProviderBalanceNumerator = function(value) {
54057
+ return jspb.Message.setProto3StringField(this, 13, value);
54058
+ };
54059
+
54060
+
54061
+ /**
54062
+ * optional string provider_balance_denominator = 14;
54063
+ * @return {string}
54064
+ */
54065
+ proto.payment.GameplayPrecisionResult.prototype.getProviderBalanceDenominator = function() {
54066
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
54067
+ };
54068
+
54069
+
54070
+ /**
54071
+ * @param {string} value
54072
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54073
+ */
54074
+ proto.payment.GameplayPrecisionResult.prototype.setProviderBalanceDenominator = function(value) {
54075
+ return jspb.Message.setProto3StringField(this, 14, value);
54076
+ };
54077
+
54078
+
54079
+ /**
54080
+ * optional string provider_balance_decimal = 15;
54081
+ * @return {string}
54082
+ */
54083
+ proto.payment.GameplayPrecisionResult.prototype.getProviderBalanceDecimal = function() {
54084
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
54085
+ };
54086
+
54087
+
54088
+ /**
54089
+ * @param {string} value
54090
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54091
+ */
54092
+ proto.payment.GameplayPrecisionResult.prototype.setProviderBalanceDecimal = function(value) {
54093
+ return jspb.Message.setProto3StringField(this, 15, value);
54094
+ };
54095
+
54096
+
54097
+ /**
54098
+ * optional string response_policy_version = 16;
54099
+ * @return {string}
54100
+ */
54101
+ proto.payment.GameplayPrecisionResult.prototype.getResponsePolicyVersion = function() {
54102
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
54103
+ };
54104
+
54105
+
54106
+ /**
54107
+ * @param {string} value
54108
+ * @return {!proto.payment.GameplayPrecisionResult} returns this
54109
+ */
54110
+ proto.payment.GameplayPrecisionResult.prototype.setResponsePolicyVersion = function(value) {
54111
+ return jspb.Message.setProto3StringField(this, 16, value);
54112
+ };
54113
+
54114
+
51958
54115
  goog.object.extend(exports, proto.payment);