protobuf-platform 1.2.724 → 1.2.726
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/payment/payment.proto +88 -0
- package/payment/payment_grpc_pb.js +102 -0
- package/payment/payment_pb.js +2382 -5
- package/scripts/verify-provider-identity-contract.js +61 -0
package/payment/payment_pb.js
CHANGED
|
@@ -68,6 +68,8 @@ goog.exportSymbol('proto.payment.DepositStatusItemsResponse', null, global);
|
|
|
68
68
|
goog.exportSymbol('proto.payment.DepositWebHookRequest', null, global);
|
|
69
69
|
goog.exportSymbol('proto.payment.ExecuteGameplayPrecisionCommandRequest', null, global);
|
|
70
70
|
goog.exportSymbol('proto.payment.ExecuteManualWithdrawalRequest', null, global);
|
|
71
|
+
goog.exportSymbol('proto.payment.FenceGameplayProviderTransactionsRequest', null, global);
|
|
72
|
+
goog.exportSymbol('proto.payment.FenceGameplayProviderTransactionsResponse', null, global);
|
|
71
73
|
goog.exportSymbol('proto.payment.File', null, global);
|
|
72
74
|
goog.exportSymbol('proto.payment.FinancialAdmissionWalletContext', null, global);
|
|
73
75
|
goog.exportSymbol('proto.payment.FinancialOperationResponse', null, global);
|
|
@@ -78,6 +80,12 @@ goog.exportSymbol('proto.payment.GameplayPrecisionPrepareMode', null, global);
|
|
|
78
80
|
goog.exportSymbol('proto.payment.GameplayPrecisionResult', null, global);
|
|
79
81
|
goog.exportSymbol('proto.payment.GameplayPrecisionRgEvidence', null, global);
|
|
80
82
|
goog.exportSymbol('proto.payment.GameplayPrecisionSessionRequest', null, global);
|
|
83
|
+
goog.exportSymbol('proto.payment.GameplayProviderBinding', null, global);
|
|
84
|
+
goog.exportSymbol('proto.payment.GameplayProviderIdentityKind', null, global);
|
|
85
|
+
goog.exportSymbol('proto.payment.GameplayProviderIdentityResult', null, global);
|
|
86
|
+
goog.exportSymbol('proto.payment.GameplayProviderIdentityState', null, global);
|
|
87
|
+
goog.exportSymbol('proto.payment.GameplayProviderLegClaim', null, global);
|
|
88
|
+
goog.exportSymbol('proto.payment.GameplayProviderScope', null, global);
|
|
81
89
|
goog.exportSymbol('proto.payment.GetCurrenciesMetadataRequest', null, global);
|
|
82
90
|
goog.exportSymbol('proto.payment.GetCurrencyMetadataRequest', null, global);
|
|
83
91
|
goog.exportSymbol('proto.payment.GetCurrencyRequest', null, global);
|
|
@@ -146,6 +154,7 @@ goog.exportSymbol('proto.payment.ProviderResponse', null, global);
|
|
|
146
154
|
goog.exportSymbol('proto.payment.ProviderTranslationItem', null, global);
|
|
147
155
|
goog.exportSymbol('proto.payment.ProviderTranslationRequest', null, global);
|
|
148
156
|
goog.exportSymbol('proto.payment.ProviderTranslationResponse', null, global);
|
|
157
|
+
goog.exportSymbol('proto.payment.ReadGameplayProviderIdentityRequest', null, global);
|
|
149
158
|
goog.exportSymbol('proto.payment.ReadGameplaySettlementFactRequest', null, global);
|
|
150
159
|
goog.exportSymbol('proto.payment.ReadGameplaySettlementFactResponse', null, global);
|
|
151
160
|
goog.exportSymbol('proto.payment.RegisterGameplayPrecisionSessionRequest', null, global);
|
|
@@ -157,6 +166,7 @@ goog.exportSymbol('proto.payment.SegmentedUserRequest', null, global);
|
|
|
157
166
|
goog.exportSymbol('proto.payment.SegmentedUserResponse', null, global);
|
|
158
167
|
goog.exportSymbol('proto.payment.SettleGameplayRequest', null, global);
|
|
159
168
|
goog.exportSymbol('proto.payment.SettleGameplayResponse', null, global);
|
|
169
|
+
goog.exportSymbol('proto.payment.SettleGuardedGameplayRequest', null, global);
|
|
160
170
|
goog.exportSymbol('proto.payment.SyncCurrenciesRequest', null, global);
|
|
161
171
|
goog.exportSymbol('proto.payment.UpdateCurrencyRequest', null, global);
|
|
162
172
|
goog.exportSymbol('proto.payment.UserDepositCountResponse', null, global);
|
|
@@ -3456,6 +3466,174 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3456
3466
|
*/
|
|
3457
3467
|
proto.payment.LoyaltyLevelUpRewardResponse.displayName = 'proto.payment.LoyaltyLevelUpRewardResponse';
|
|
3458
3468
|
}
|
|
3469
|
+
/**
|
|
3470
|
+
* Generated by JsPbCodeGenerator.
|
|
3471
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3472
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3473
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3474
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3475
|
+
* valid.
|
|
3476
|
+
* @extends {jspb.Message}
|
|
3477
|
+
* @constructor
|
|
3478
|
+
*/
|
|
3479
|
+
proto.payment.GameplayProviderScope = function(opt_data) {
|
|
3480
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3481
|
+
};
|
|
3482
|
+
goog.inherits(proto.payment.GameplayProviderScope, jspb.Message);
|
|
3483
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3484
|
+
/**
|
|
3485
|
+
* @public
|
|
3486
|
+
* @override
|
|
3487
|
+
*/
|
|
3488
|
+
proto.payment.GameplayProviderScope.displayName = 'proto.payment.GameplayProviderScope';
|
|
3489
|
+
}
|
|
3490
|
+
/**
|
|
3491
|
+
* Generated by JsPbCodeGenerator.
|
|
3492
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3493
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3494
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3495
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3496
|
+
* valid.
|
|
3497
|
+
* @extends {jspb.Message}
|
|
3498
|
+
* @constructor
|
|
3499
|
+
*/
|
|
3500
|
+
proto.payment.GameplayProviderBinding = function(opt_data) {
|
|
3501
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3502
|
+
};
|
|
3503
|
+
goog.inherits(proto.payment.GameplayProviderBinding, jspb.Message);
|
|
3504
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3505
|
+
/**
|
|
3506
|
+
* @public
|
|
3507
|
+
* @override
|
|
3508
|
+
*/
|
|
3509
|
+
proto.payment.GameplayProviderBinding.displayName = 'proto.payment.GameplayProviderBinding';
|
|
3510
|
+
}
|
|
3511
|
+
/**
|
|
3512
|
+
* Generated by JsPbCodeGenerator.
|
|
3513
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3514
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3515
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3516
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3517
|
+
* valid.
|
|
3518
|
+
* @extends {jspb.Message}
|
|
3519
|
+
* @constructor
|
|
3520
|
+
*/
|
|
3521
|
+
proto.payment.ReadGameplayProviderIdentityRequest = function(opt_data) {
|
|
3522
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3523
|
+
};
|
|
3524
|
+
goog.inherits(proto.payment.ReadGameplayProviderIdentityRequest, jspb.Message);
|
|
3525
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3526
|
+
/**
|
|
3527
|
+
* @public
|
|
3528
|
+
* @override
|
|
3529
|
+
*/
|
|
3530
|
+
proto.payment.ReadGameplayProviderIdentityRequest.displayName = 'proto.payment.ReadGameplayProviderIdentityRequest';
|
|
3531
|
+
}
|
|
3532
|
+
/**
|
|
3533
|
+
* Generated by JsPbCodeGenerator.
|
|
3534
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3535
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3536
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3537
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3538
|
+
* valid.
|
|
3539
|
+
* @extends {jspb.Message}
|
|
3540
|
+
* @constructor
|
|
3541
|
+
*/
|
|
3542
|
+
proto.payment.GameplayProviderIdentityResult = function(opt_data) {
|
|
3543
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3544
|
+
};
|
|
3545
|
+
goog.inherits(proto.payment.GameplayProviderIdentityResult, jspb.Message);
|
|
3546
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3547
|
+
/**
|
|
3548
|
+
* @public
|
|
3549
|
+
* @override
|
|
3550
|
+
*/
|
|
3551
|
+
proto.payment.GameplayProviderIdentityResult.displayName = 'proto.payment.GameplayProviderIdentityResult';
|
|
3552
|
+
}
|
|
3553
|
+
/**
|
|
3554
|
+
* Generated by JsPbCodeGenerator.
|
|
3555
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3556
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3557
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3558
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3559
|
+
* valid.
|
|
3560
|
+
* @extends {jspb.Message}
|
|
3561
|
+
* @constructor
|
|
3562
|
+
*/
|
|
3563
|
+
proto.payment.FenceGameplayProviderTransactionsRequest = function(opt_data) {
|
|
3564
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.FenceGameplayProviderTransactionsRequest.repeatedFields_, null);
|
|
3565
|
+
};
|
|
3566
|
+
goog.inherits(proto.payment.FenceGameplayProviderTransactionsRequest, jspb.Message);
|
|
3567
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3568
|
+
/**
|
|
3569
|
+
* @public
|
|
3570
|
+
* @override
|
|
3571
|
+
*/
|
|
3572
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.displayName = 'proto.payment.FenceGameplayProviderTransactionsRequest';
|
|
3573
|
+
}
|
|
3574
|
+
/**
|
|
3575
|
+
* Generated by JsPbCodeGenerator.
|
|
3576
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3577
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3578
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3579
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3580
|
+
* valid.
|
|
3581
|
+
* @extends {jspb.Message}
|
|
3582
|
+
* @constructor
|
|
3583
|
+
*/
|
|
3584
|
+
proto.payment.FenceGameplayProviderTransactionsResponse = function(opt_data) {
|
|
3585
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.FenceGameplayProviderTransactionsResponse.repeatedFields_, null);
|
|
3586
|
+
};
|
|
3587
|
+
goog.inherits(proto.payment.FenceGameplayProviderTransactionsResponse, jspb.Message);
|
|
3588
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3589
|
+
/**
|
|
3590
|
+
* @public
|
|
3591
|
+
* @override
|
|
3592
|
+
*/
|
|
3593
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.displayName = 'proto.payment.FenceGameplayProviderTransactionsResponse';
|
|
3594
|
+
}
|
|
3595
|
+
/**
|
|
3596
|
+
* Generated by JsPbCodeGenerator.
|
|
3597
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3598
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3599
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3600
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3601
|
+
* valid.
|
|
3602
|
+
* @extends {jspb.Message}
|
|
3603
|
+
* @constructor
|
|
3604
|
+
*/
|
|
3605
|
+
proto.payment.GameplayProviderLegClaim = function(opt_data) {
|
|
3606
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3607
|
+
};
|
|
3608
|
+
goog.inherits(proto.payment.GameplayProviderLegClaim, jspb.Message);
|
|
3609
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3610
|
+
/**
|
|
3611
|
+
* @public
|
|
3612
|
+
* @override
|
|
3613
|
+
*/
|
|
3614
|
+
proto.payment.GameplayProviderLegClaim.displayName = 'proto.payment.GameplayProviderLegClaim';
|
|
3615
|
+
}
|
|
3616
|
+
/**
|
|
3617
|
+
* Generated by JsPbCodeGenerator.
|
|
3618
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3619
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3620
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3621
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3622
|
+
* valid.
|
|
3623
|
+
* @extends {jspb.Message}
|
|
3624
|
+
* @constructor
|
|
3625
|
+
*/
|
|
3626
|
+
proto.payment.SettleGuardedGameplayRequest = function(opt_data) {
|
|
3627
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.SettleGuardedGameplayRequest.repeatedFields_, null);
|
|
3628
|
+
};
|
|
3629
|
+
goog.inherits(proto.payment.SettleGuardedGameplayRequest, jspb.Message);
|
|
3630
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3631
|
+
/**
|
|
3632
|
+
* @public
|
|
3633
|
+
* @override
|
|
3634
|
+
*/
|
|
3635
|
+
proto.payment.SettleGuardedGameplayRequest.displayName = 'proto.payment.SettleGuardedGameplayRequest';
|
|
3636
|
+
}
|
|
3459
3637
|
|
|
3460
3638
|
|
|
3461
3639
|
|
|
@@ -68042,13 +68220,2212 @@ proto.payment.LoyaltyLevelUpRewardResponse.prototype.setIdempotentReplay = funct
|
|
|
68042
68220
|
};
|
|
68043
68221
|
|
|
68044
68222
|
|
|
68223
|
+
|
|
68224
|
+
|
|
68225
|
+
|
|
68226
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
68045
68227
|
/**
|
|
68046
|
-
*
|
|
68228
|
+
* Creates an object representation of this proto.
|
|
68229
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
68230
|
+
* Optional fields that are not set will be set to undefined.
|
|
68231
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
68232
|
+
* For the list of reserved names please see:
|
|
68233
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
68234
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
68235
|
+
* JSPB instance for transitional soy proto support:
|
|
68236
|
+
* http://goto/soy-param-migration
|
|
68237
|
+
* @return {!Object}
|
|
68047
68238
|
*/
|
|
68048
|
-
proto.payment.
|
|
68049
|
-
|
|
68050
|
-
|
|
68051
|
-
|
|
68239
|
+
proto.payment.GameplayProviderScope.prototype.toObject = function(opt_includeInstance) {
|
|
68240
|
+
return proto.payment.GameplayProviderScope.toObject(opt_includeInstance, this);
|
|
68241
|
+
};
|
|
68242
|
+
|
|
68243
|
+
|
|
68244
|
+
/**
|
|
68245
|
+
* Static version of the {@see toObject} method.
|
|
68246
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
68247
|
+
* the JSPB instance for transitional soy proto support:
|
|
68248
|
+
* http://goto/soy-param-migration
|
|
68249
|
+
* @param {!proto.payment.GameplayProviderScope} msg The msg instance to transform.
|
|
68250
|
+
* @return {!Object}
|
|
68251
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
68252
|
+
*/
|
|
68253
|
+
proto.payment.GameplayProviderScope.toObject = function(includeInstance, msg) {
|
|
68254
|
+
var f, obj = {
|
|
68255
|
+
namespace: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
68256
|
+
provider: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68257
|
+
operatorId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
68258
|
+
integrationGeneration: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
68259
|
+
};
|
|
68260
|
+
|
|
68261
|
+
if (includeInstance) {
|
|
68262
|
+
obj.$jspbMessageInstance = msg;
|
|
68263
|
+
}
|
|
68264
|
+
return obj;
|
|
68265
|
+
};
|
|
68266
|
+
}
|
|
68267
|
+
|
|
68268
|
+
|
|
68269
|
+
/**
|
|
68270
|
+
* Deserializes binary data (in protobuf wire format).
|
|
68271
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
68272
|
+
* @return {!proto.payment.GameplayProviderScope}
|
|
68273
|
+
*/
|
|
68274
|
+
proto.payment.GameplayProviderScope.deserializeBinary = function(bytes) {
|
|
68275
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
68276
|
+
var msg = new proto.payment.GameplayProviderScope;
|
|
68277
|
+
return proto.payment.GameplayProviderScope.deserializeBinaryFromReader(msg, reader);
|
|
68278
|
+
};
|
|
68279
|
+
|
|
68280
|
+
|
|
68281
|
+
/**
|
|
68282
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
68283
|
+
* given reader into the given message object.
|
|
68284
|
+
* @param {!proto.payment.GameplayProviderScope} msg The message object to deserialize into.
|
|
68285
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
68286
|
+
* @return {!proto.payment.GameplayProviderScope}
|
|
68287
|
+
*/
|
|
68288
|
+
proto.payment.GameplayProviderScope.deserializeBinaryFromReader = function(msg, reader) {
|
|
68289
|
+
while (reader.nextField()) {
|
|
68290
|
+
if (reader.isEndGroup()) {
|
|
68291
|
+
break;
|
|
68292
|
+
}
|
|
68293
|
+
var field = reader.getFieldNumber();
|
|
68294
|
+
switch (field) {
|
|
68295
|
+
case 1:
|
|
68296
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68297
|
+
msg.setNamespace(value);
|
|
68298
|
+
break;
|
|
68299
|
+
case 2:
|
|
68300
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68301
|
+
msg.setProvider(value);
|
|
68302
|
+
break;
|
|
68303
|
+
case 3:
|
|
68304
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68305
|
+
msg.setOperatorId(value);
|
|
68306
|
+
break;
|
|
68307
|
+
case 4:
|
|
68308
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68309
|
+
msg.setIntegrationGeneration(value);
|
|
68310
|
+
break;
|
|
68311
|
+
default:
|
|
68312
|
+
reader.skipField();
|
|
68313
|
+
break;
|
|
68314
|
+
}
|
|
68315
|
+
}
|
|
68316
|
+
return msg;
|
|
68317
|
+
};
|
|
68318
|
+
|
|
68319
|
+
|
|
68320
|
+
/**
|
|
68321
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
68322
|
+
* @return {!Uint8Array}
|
|
68323
|
+
*/
|
|
68324
|
+
proto.payment.GameplayProviderScope.prototype.serializeBinary = function() {
|
|
68325
|
+
var writer = new jspb.BinaryWriter();
|
|
68326
|
+
proto.payment.GameplayProviderScope.serializeBinaryToWriter(this, writer);
|
|
68327
|
+
return writer.getResultBuffer();
|
|
68328
|
+
};
|
|
68329
|
+
|
|
68330
|
+
|
|
68331
|
+
/**
|
|
68332
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
68333
|
+
* format), writing to the given BinaryWriter.
|
|
68334
|
+
* @param {!proto.payment.GameplayProviderScope} message
|
|
68335
|
+
* @param {!jspb.BinaryWriter} writer
|
|
68336
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
68337
|
+
*/
|
|
68338
|
+
proto.payment.GameplayProviderScope.serializeBinaryToWriter = function(message, writer) {
|
|
68339
|
+
var f = undefined;
|
|
68340
|
+
f = message.getNamespace();
|
|
68341
|
+
if (f.length > 0) {
|
|
68342
|
+
writer.writeString(
|
|
68343
|
+
1,
|
|
68344
|
+
f
|
|
68345
|
+
);
|
|
68346
|
+
}
|
|
68347
|
+
f = message.getProvider();
|
|
68348
|
+
if (f.length > 0) {
|
|
68349
|
+
writer.writeString(
|
|
68350
|
+
2,
|
|
68351
|
+
f
|
|
68352
|
+
);
|
|
68353
|
+
}
|
|
68354
|
+
f = message.getOperatorId();
|
|
68355
|
+
if (f.length > 0) {
|
|
68356
|
+
writer.writeString(
|
|
68357
|
+
3,
|
|
68358
|
+
f
|
|
68359
|
+
);
|
|
68360
|
+
}
|
|
68361
|
+
f = message.getIntegrationGeneration();
|
|
68362
|
+
if (f.length > 0) {
|
|
68363
|
+
writer.writeString(
|
|
68364
|
+
4,
|
|
68365
|
+
f
|
|
68366
|
+
);
|
|
68367
|
+
}
|
|
68368
|
+
};
|
|
68369
|
+
|
|
68370
|
+
|
|
68371
|
+
/**
|
|
68372
|
+
* optional string namespace = 1;
|
|
68373
|
+
* @return {string}
|
|
68374
|
+
*/
|
|
68375
|
+
proto.payment.GameplayProviderScope.prototype.getNamespace = function() {
|
|
68376
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
68377
|
+
};
|
|
68378
|
+
|
|
68379
|
+
|
|
68380
|
+
/**
|
|
68381
|
+
* @param {string} value
|
|
68382
|
+
* @return {!proto.payment.GameplayProviderScope} returns this
|
|
68383
|
+
*/
|
|
68384
|
+
proto.payment.GameplayProviderScope.prototype.setNamespace = function(value) {
|
|
68385
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
68386
|
+
};
|
|
68387
|
+
|
|
68388
|
+
|
|
68389
|
+
/**
|
|
68390
|
+
* optional string provider = 2;
|
|
68391
|
+
* @return {string}
|
|
68392
|
+
*/
|
|
68393
|
+
proto.payment.GameplayProviderScope.prototype.getProvider = function() {
|
|
68394
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
68395
|
+
};
|
|
68396
|
+
|
|
68397
|
+
|
|
68398
|
+
/**
|
|
68399
|
+
* @param {string} value
|
|
68400
|
+
* @return {!proto.payment.GameplayProviderScope} returns this
|
|
68401
|
+
*/
|
|
68402
|
+
proto.payment.GameplayProviderScope.prototype.setProvider = function(value) {
|
|
68403
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
68404
|
+
};
|
|
68405
|
+
|
|
68406
|
+
|
|
68407
|
+
/**
|
|
68408
|
+
* optional string operator_id = 3;
|
|
68409
|
+
* @return {string}
|
|
68410
|
+
*/
|
|
68411
|
+
proto.payment.GameplayProviderScope.prototype.getOperatorId = function() {
|
|
68412
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
68413
|
+
};
|
|
68414
|
+
|
|
68415
|
+
|
|
68416
|
+
/**
|
|
68417
|
+
* @param {string} value
|
|
68418
|
+
* @return {!proto.payment.GameplayProviderScope} returns this
|
|
68419
|
+
*/
|
|
68420
|
+
proto.payment.GameplayProviderScope.prototype.setOperatorId = function(value) {
|
|
68421
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
68422
|
+
};
|
|
68423
|
+
|
|
68424
|
+
|
|
68425
|
+
/**
|
|
68426
|
+
* optional string integration_generation = 4;
|
|
68427
|
+
* @return {string}
|
|
68428
|
+
*/
|
|
68429
|
+
proto.payment.GameplayProviderScope.prototype.getIntegrationGeneration = function() {
|
|
68430
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
68431
|
+
};
|
|
68432
|
+
|
|
68433
|
+
|
|
68434
|
+
/**
|
|
68435
|
+
* @param {string} value
|
|
68436
|
+
* @return {!proto.payment.GameplayProviderScope} returns this
|
|
68437
|
+
*/
|
|
68438
|
+
proto.payment.GameplayProviderScope.prototype.setIntegrationGeneration = function(value) {
|
|
68439
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
68440
|
+
};
|
|
68441
|
+
|
|
68442
|
+
|
|
68443
|
+
|
|
68444
|
+
|
|
68445
|
+
|
|
68446
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
68447
|
+
/**
|
|
68448
|
+
* Creates an object representation of this proto.
|
|
68449
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
68450
|
+
* Optional fields that are not set will be set to undefined.
|
|
68451
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
68452
|
+
* For the list of reserved names please see:
|
|
68453
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
68454
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
68455
|
+
* JSPB instance for transitional soy proto support:
|
|
68456
|
+
* http://goto/soy-param-migration
|
|
68457
|
+
* @return {!Object}
|
|
68458
|
+
*/
|
|
68459
|
+
proto.payment.GameplayProviderBinding.prototype.toObject = function(opt_includeInstance) {
|
|
68460
|
+
return proto.payment.GameplayProviderBinding.toObject(opt_includeInstance, this);
|
|
68461
|
+
};
|
|
68462
|
+
|
|
68463
|
+
|
|
68464
|
+
/**
|
|
68465
|
+
* Static version of the {@see toObject} method.
|
|
68466
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
68467
|
+
* the JSPB instance for transitional soy proto support:
|
|
68468
|
+
* http://goto/soy-param-migration
|
|
68469
|
+
* @param {!proto.payment.GameplayProviderBinding} msg The msg instance to transform.
|
|
68470
|
+
* @return {!Object}
|
|
68471
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
68472
|
+
*/
|
|
68473
|
+
proto.payment.GameplayProviderBinding.toObject = function(includeInstance, msg) {
|
|
68474
|
+
var f, obj = {
|
|
68475
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
68476
|
+
accountingCurrency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68477
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
68478
|
+
roundId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
68479
|
+
originalAction: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
68480
|
+
decisionId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
68481
|
+
journalKey: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
68482
|
+
};
|
|
68483
|
+
|
|
68484
|
+
if (includeInstance) {
|
|
68485
|
+
obj.$jspbMessageInstance = msg;
|
|
68486
|
+
}
|
|
68487
|
+
return obj;
|
|
68488
|
+
};
|
|
68489
|
+
}
|
|
68490
|
+
|
|
68491
|
+
|
|
68492
|
+
/**
|
|
68493
|
+
* Deserializes binary data (in protobuf wire format).
|
|
68494
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
68495
|
+
* @return {!proto.payment.GameplayProviderBinding}
|
|
68496
|
+
*/
|
|
68497
|
+
proto.payment.GameplayProviderBinding.deserializeBinary = function(bytes) {
|
|
68498
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
68499
|
+
var msg = new proto.payment.GameplayProviderBinding;
|
|
68500
|
+
return proto.payment.GameplayProviderBinding.deserializeBinaryFromReader(msg, reader);
|
|
68501
|
+
};
|
|
68502
|
+
|
|
68503
|
+
|
|
68504
|
+
/**
|
|
68505
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
68506
|
+
* given reader into the given message object.
|
|
68507
|
+
* @param {!proto.payment.GameplayProviderBinding} msg The message object to deserialize into.
|
|
68508
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
68509
|
+
* @return {!proto.payment.GameplayProviderBinding}
|
|
68510
|
+
*/
|
|
68511
|
+
proto.payment.GameplayProviderBinding.deserializeBinaryFromReader = function(msg, reader) {
|
|
68512
|
+
while (reader.nextField()) {
|
|
68513
|
+
if (reader.isEndGroup()) {
|
|
68514
|
+
break;
|
|
68515
|
+
}
|
|
68516
|
+
var field = reader.getFieldNumber();
|
|
68517
|
+
switch (field) {
|
|
68518
|
+
case 1:
|
|
68519
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68520
|
+
msg.setUserId(value);
|
|
68521
|
+
break;
|
|
68522
|
+
case 2:
|
|
68523
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68524
|
+
msg.setAccountingCurrency(value);
|
|
68525
|
+
break;
|
|
68526
|
+
case 3:
|
|
68527
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68528
|
+
msg.setSessionId(value);
|
|
68529
|
+
break;
|
|
68530
|
+
case 4:
|
|
68531
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68532
|
+
msg.setRoundId(value);
|
|
68533
|
+
break;
|
|
68534
|
+
case 5:
|
|
68535
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68536
|
+
msg.setOriginalAction(value);
|
|
68537
|
+
break;
|
|
68538
|
+
case 6:
|
|
68539
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68540
|
+
msg.setDecisionId(value);
|
|
68541
|
+
break;
|
|
68542
|
+
case 7:
|
|
68543
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68544
|
+
msg.setJournalKey(value);
|
|
68545
|
+
break;
|
|
68546
|
+
default:
|
|
68547
|
+
reader.skipField();
|
|
68548
|
+
break;
|
|
68549
|
+
}
|
|
68550
|
+
}
|
|
68551
|
+
return msg;
|
|
68552
|
+
};
|
|
68553
|
+
|
|
68554
|
+
|
|
68555
|
+
/**
|
|
68556
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
68557
|
+
* @return {!Uint8Array}
|
|
68558
|
+
*/
|
|
68559
|
+
proto.payment.GameplayProviderBinding.prototype.serializeBinary = function() {
|
|
68560
|
+
var writer = new jspb.BinaryWriter();
|
|
68561
|
+
proto.payment.GameplayProviderBinding.serializeBinaryToWriter(this, writer);
|
|
68562
|
+
return writer.getResultBuffer();
|
|
68563
|
+
};
|
|
68564
|
+
|
|
68565
|
+
|
|
68566
|
+
/**
|
|
68567
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
68568
|
+
* format), writing to the given BinaryWriter.
|
|
68569
|
+
* @param {!proto.payment.GameplayProviderBinding} message
|
|
68570
|
+
* @param {!jspb.BinaryWriter} writer
|
|
68571
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
68572
|
+
*/
|
|
68573
|
+
proto.payment.GameplayProviderBinding.serializeBinaryToWriter = function(message, writer) {
|
|
68574
|
+
var f = undefined;
|
|
68575
|
+
f = message.getUserId();
|
|
68576
|
+
if (f.length > 0) {
|
|
68577
|
+
writer.writeString(
|
|
68578
|
+
1,
|
|
68579
|
+
f
|
|
68580
|
+
);
|
|
68581
|
+
}
|
|
68582
|
+
f = message.getAccountingCurrency();
|
|
68583
|
+
if (f.length > 0) {
|
|
68584
|
+
writer.writeString(
|
|
68585
|
+
2,
|
|
68586
|
+
f
|
|
68587
|
+
);
|
|
68588
|
+
}
|
|
68589
|
+
f = message.getSessionId();
|
|
68590
|
+
if (f.length > 0) {
|
|
68591
|
+
writer.writeString(
|
|
68592
|
+
3,
|
|
68593
|
+
f
|
|
68594
|
+
);
|
|
68595
|
+
}
|
|
68596
|
+
f = message.getRoundId();
|
|
68597
|
+
if (f.length > 0) {
|
|
68598
|
+
writer.writeString(
|
|
68599
|
+
4,
|
|
68600
|
+
f
|
|
68601
|
+
);
|
|
68602
|
+
}
|
|
68603
|
+
f = message.getOriginalAction();
|
|
68604
|
+
if (f.length > 0) {
|
|
68605
|
+
writer.writeString(
|
|
68606
|
+
5,
|
|
68607
|
+
f
|
|
68608
|
+
);
|
|
68609
|
+
}
|
|
68610
|
+
f = message.getDecisionId();
|
|
68611
|
+
if (f.length > 0) {
|
|
68612
|
+
writer.writeString(
|
|
68613
|
+
6,
|
|
68614
|
+
f
|
|
68615
|
+
);
|
|
68616
|
+
}
|
|
68617
|
+
f = message.getJournalKey();
|
|
68618
|
+
if (f.length > 0) {
|
|
68619
|
+
writer.writeString(
|
|
68620
|
+
7,
|
|
68621
|
+
f
|
|
68622
|
+
);
|
|
68623
|
+
}
|
|
68624
|
+
};
|
|
68625
|
+
|
|
68626
|
+
|
|
68627
|
+
/**
|
|
68628
|
+
* optional string user_id = 1;
|
|
68629
|
+
* @return {string}
|
|
68630
|
+
*/
|
|
68631
|
+
proto.payment.GameplayProviderBinding.prototype.getUserId = function() {
|
|
68632
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
68633
|
+
};
|
|
68634
|
+
|
|
68635
|
+
|
|
68636
|
+
/**
|
|
68637
|
+
* @param {string} value
|
|
68638
|
+
* @return {!proto.payment.GameplayProviderBinding} returns this
|
|
68639
|
+
*/
|
|
68640
|
+
proto.payment.GameplayProviderBinding.prototype.setUserId = function(value) {
|
|
68641
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
68642
|
+
};
|
|
68643
|
+
|
|
68644
|
+
|
|
68645
|
+
/**
|
|
68646
|
+
* optional string accounting_currency = 2;
|
|
68647
|
+
* @return {string}
|
|
68648
|
+
*/
|
|
68649
|
+
proto.payment.GameplayProviderBinding.prototype.getAccountingCurrency = function() {
|
|
68650
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
68651
|
+
};
|
|
68652
|
+
|
|
68653
|
+
|
|
68654
|
+
/**
|
|
68655
|
+
* @param {string} value
|
|
68656
|
+
* @return {!proto.payment.GameplayProviderBinding} returns this
|
|
68657
|
+
*/
|
|
68658
|
+
proto.payment.GameplayProviderBinding.prototype.setAccountingCurrency = function(value) {
|
|
68659
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
68660
|
+
};
|
|
68661
|
+
|
|
68662
|
+
|
|
68663
|
+
/**
|
|
68664
|
+
* optional string session_id = 3;
|
|
68665
|
+
* @return {string}
|
|
68666
|
+
*/
|
|
68667
|
+
proto.payment.GameplayProviderBinding.prototype.getSessionId = function() {
|
|
68668
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
68669
|
+
};
|
|
68670
|
+
|
|
68671
|
+
|
|
68672
|
+
/**
|
|
68673
|
+
* @param {string} value
|
|
68674
|
+
* @return {!proto.payment.GameplayProviderBinding} returns this
|
|
68675
|
+
*/
|
|
68676
|
+
proto.payment.GameplayProviderBinding.prototype.setSessionId = function(value) {
|
|
68677
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
68678
|
+
};
|
|
68679
|
+
|
|
68680
|
+
|
|
68681
|
+
/**
|
|
68682
|
+
* optional string round_id = 4;
|
|
68683
|
+
* @return {string}
|
|
68684
|
+
*/
|
|
68685
|
+
proto.payment.GameplayProviderBinding.prototype.getRoundId = function() {
|
|
68686
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
68687
|
+
};
|
|
68688
|
+
|
|
68689
|
+
|
|
68690
|
+
/**
|
|
68691
|
+
* @param {string} value
|
|
68692
|
+
* @return {!proto.payment.GameplayProviderBinding} returns this
|
|
68693
|
+
*/
|
|
68694
|
+
proto.payment.GameplayProviderBinding.prototype.setRoundId = function(value) {
|
|
68695
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
68696
|
+
};
|
|
68697
|
+
|
|
68698
|
+
|
|
68699
|
+
/**
|
|
68700
|
+
* optional string original_action = 5;
|
|
68701
|
+
* @return {string}
|
|
68702
|
+
*/
|
|
68703
|
+
proto.payment.GameplayProviderBinding.prototype.getOriginalAction = function() {
|
|
68704
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
68705
|
+
};
|
|
68706
|
+
|
|
68707
|
+
|
|
68708
|
+
/**
|
|
68709
|
+
* @param {string} value
|
|
68710
|
+
* @return {!proto.payment.GameplayProviderBinding} returns this
|
|
68711
|
+
*/
|
|
68712
|
+
proto.payment.GameplayProviderBinding.prototype.setOriginalAction = function(value) {
|
|
68713
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
68714
|
+
};
|
|
68715
|
+
|
|
68716
|
+
|
|
68717
|
+
/**
|
|
68718
|
+
* optional string decision_id = 6;
|
|
68719
|
+
* @return {string}
|
|
68720
|
+
*/
|
|
68721
|
+
proto.payment.GameplayProviderBinding.prototype.getDecisionId = function() {
|
|
68722
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
68723
|
+
};
|
|
68724
|
+
|
|
68725
|
+
|
|
68726
|
+
/**
|
|
68727
|
+
* @param {string} value
|
|
68728
|
+
* @return {!proto.payment.GameplayProviderBinding} returns this
|
|
68729
|
+
*/
|
|
68730
|
+
proto.payment.GameplayProviderBinding.prototype.setDecisionId = function(value) {
|
|
68731
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
68732
|
+
};
|
|
68733
|
+
|
|
68734
|
+
|
|
68735
|
+
/**
|
|
68736
|
+
* optional string journal_key = 7;
|
|
68737
|
+
* @return {string}
|
|
68738
|
+
*/
|
|
68739
|
+
proto.payment.GameplayProviderBinding.prototype.getJournalKey = function() {
|
|
68740
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
68741
|
+
};
|
|
68742
|
+
|
|
68743
|
+
|
|
68744
|
+
/**
|
|
68745
|
+
* @param {string} value
|
|
68746
|
+
* @return {!proto.payment.GameplayProviderBinding} returns this
|
|
68747
|
+
*/
|
|
68748
|
+
proto.payment.GameplayProviderBinding.prototype.setJournalKey = function(value) {
|
|
68749
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
68750
|
+
};
|
|
68751
|
+
|
|
68752
|
+
|
|
68753
|
+
|
|
68754
|
+
|
|
68755
|
+
|
|
68756
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
68757
|
+
/**
|
|
68758
|
+
* Creates an object representation of this proto.
|
|
68759
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
68760
|
+
* Optional fields that are not set will be set to undefined.
|
|
68761
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
68762
|
+
* For the list of reserved names please see:
|
|
68763
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
68764
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
68765
|
+
* JSPB instance for transitional soy proto support:
|
|
68766
|
+
* http://goto/soy-param-migration
|
|
68767
|
+
* @return {!Object}
|
|
68768
|
+
*/
|
|
68769
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.toObject = function(opt_includeInstance) {
|
|
68770
|
+
return proto.payment.ReadGameplayProviderIdentityRequest.toObject(opt_includeInstance, this);
|
|
68771
|
+
};
|
|
68772
|
+
|
|
68773
|
+
|
|
68774
|
+
/**
|
|
68775
|
+
* Static version of the {@see toObject} method.
|
|
68776
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
68777
|
+
* the JSPB instance for transitional soy proto support:
|
|
68778
|
+
* http://goto/soy-param-migration
|
|
68779
|
+
* @param {!proto.payment.ReadGameplayProviderIdentityRequest} msg The msg instance to transform.
|
|
68780
|
+
* @return {!Object}
|
|
68781
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
68782
|
+
*/
|
|
68783
|
+
proto.payment.ReadGameplayProviderIdentityRequest.toObject = function(includeInstance, msg) {
|
|
68784
|
+
var f, obj = {
|
|
68785
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
68786
|
+
scope: (f = msg.getScope()) && proto.payment.GameplayProviderScope.toObject(includeInstance, f),
|
|
68787
|
+
identityKind: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
68788
|
+
externalId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
68789
|
+
};
|
|
68790
|
+
|
|
68791
|
+
if (includeInstance) {
|
|
68792
|
+
obj.$jspbMessageInstance = msg;
|
|
68793
|
+
}
|
|
68794
|
+
return obj;
|
|
68795
|
+
};
|
|
68796
|
+
}
|
|
68797
|
+
|
|
68798
|
+
|
|
68799
|
+
/**
|
|
68800
|
+
* Deserializes binary data (in protobuf wire format).
|
|
68801
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
68802
|
+
* @return {!proto.payment.ReadGameplayProviderIdentityRequest}
|
|
68803
|
+
*/
|
|
68804
|
+
proto.payment.ReadGameplayProviderIdentityRequest.deserializeBinary = function(bytes) {
|
|
68805
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
68806
|
+
var msg = new proto.payment.ReadGameplayProviderIdentityRequest;
|
|
68807
|
+
return proto.payment.ReadGameplayProviderIdentityRequest.deserializeBinaryFromReader(msg, reader);
|
|
68808
|
+
};
|
|
68809
|
+
|
|
68810
|
+
|
|
68811
|
+
/**
|
|
68812
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
68813
|
+
* given reader into the given message object.
|
|
68814
|
+
* @param {!proto.payment.ReadGameplayProviderIdentityRequest} msg The message object to deserialize into.
|
|
68815
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
68816
|
+
* @return {!proto.payment.ReadGameplayProviderIdentityRequest}
|
|
68817
|
+
*/
|
|
68818
|
+
proto.payment.ReadGameplayProviderIdentityRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
68819
|
+
while (reader.nextField()) {
|
|
68820
|
+
if (reader.isEndGroup()) {
|
|
68821
|
+
break;
|
|
68822
|
+
}
|
|
68823
|
+
var field = reader.getFieldNumber();
|
|
68824
|
+
switch (field) {
|
|
68825
|
+
case 1:
|
|
68826
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
68827
|
+
msg.setProtocolVersion(value);
|
|
68828
|
+
break;
|
|
68829
|
+
case 2:
|
|
68830
|
+
var value = new proto.payment.GameplayProviderScope;
|
|
68831
|
+
reader.readMessage(value,proto.payment.GameplayProviderScope.deserializeBinaryFromReader);
|
|
68832
|
+
msg.setScope(value);
|
|
68833
|
+
break;
|
|
68834
|
+
case 3:
|
|
68835
|
+
var value = /** @type {!proto.payment.GameplayProviderIdentityKind} */ (reader.readEnum());
|
|
68836
|
+
msg.setIdentityKind(value);
|
|
68837
|
+
break;
|
|
68838
|
+
case 4:
|
|
68839
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68840
|
+
msg.setExternalId(value);
|
|
68841
|
+
break;
|
|
68842
|
+
default:
|
|
68843
|
+
reader.skipField();
|
|
68844
|
+
break;
|
|
68845
|
+
}
|
|
68846
|
+
}
|
|
68847
|
+
return msg;
|
|
68848
|
+
};
|
|
68849
|
+
|
|
68850
|
+
|
|
68851
|
+
/**
|
|
68852
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
68853
|
+
* @return {!Uint8Array}
|
|
68854
|
+
*/
|
|
68855
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.serializeBinary = function() {
|
|
68856
|
+
var writer = new jspb.BinaryWriter();
|
|
68857
|
+
proto.payment.ReadGameplayProviderIdentityRequest.serializeBinaryToWriter(this, writer);
|
|
68858
|
+
return writer.getResultBuffer();
|
|
68859
|
+
};
|
|
68860
|
+
|
|
68861
|
+
|
|
68862
|
+
/**
|
|
68863
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
68864
|
+
* format), writing to the given BinaryWriter.
|
|
68865
|
+
* @param {!proto.payment.ReadGameplayProviderIdentityRequest} message
|
|
68866
|
+
* @param {!jspb.BinaryWriter} writer
|
|
68867
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
68868
|
+
*/
|
|
68869
|
+
proto.payment.ReadGameplayProviderIdentityRequest.serializeBinaryToWriter = function(message, writer) {
|
|
68870
|
+
var f = undefined;
|
|
68871
|
+
f = message.getProtocolVersion();
|
|
68872
|
+
if (f !== 0) {
|
|
68873
|
+
writer.writeUint32(
|
|
68874
|
+
1,
|
|
68875
|
+
f
|
|
68876
|
+
);
|
|
68877
|
+
}
|
|
68878
|
+
f = message.getScope();
|
|
68879
|
+
if (f != null) {
|
|
68880
|
+
writer.writeMessage(
|
|
68881
|
+
2,
|
|
68882
|
+
f,
|
|
68883
|
+
proto.payment.GameplayProviderScope.serializeBinaryToWriter
|
|
68884
|
+
);
|
|
68885
|
+
}
|
|
68886
|
+
f = message.getIdentityKind();
|
|
68887
|
+
if (f !== 0.0) {
|
|
68888
|
+
writer.writeEnum(
|
|
68889
|
+
3,
|
|
68890
|
+
f
|
|
68891
|
+
);
|
|
68892
|
+
}
|
|
68893
|
+
f = message.getExternalId();
|
|
68894
|
+
if (f.length > 0) {
|
|
68895
|
+
writer.writeString(
|
|
68896
|
+
4,
|
|
68897
|
+
f
|
|
68898
|
+
);
|
|
68899
|
+
}
|
|
68900
|
+
};
|
|
68901
|
+
|
|
68902
|
+
|
|
68903
|
+
/**
|
|
68904
|
+
* optional uint32 protocol_version = 1;
|
|
68905
|
+
* @return {number}
|
|
68906
|
+
*/
|
|
68907
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.getProtocolVersion = function() {
|
|
68908
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
68909
|
+
};
|
|
68910
|
+
|
|
68911
|
+
|
|
68912
|
+
/**
|
|
68913
|
+
* @param {number} value
|
|
68914
|
+
* @return {!proto.payment.ReadGameplayProviderIdentityRequest} returns this
|
|
68915
|
+
*/
|
|
68916
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.setProtocolVersion = function(value) {
|
|
68917
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
68918
|
+
};
|
|
68919
|
+
|
|
68920
|
+
|
|
68921
|
+
/**
|
|
68922
|
+
* optional GameplayProviderScope scope = 2;
|
|
68923
|
+
* @return {?proto.payment.GameplayProviderScope}
|
|
68924
|
+
*/
|
|
68925
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.getScope = function() {
|
|
68926
|
+
return /** @type{?proto.payment.GameplayProviderScope} */ (
|
|
68927
|
+
jspb.Message.getWrapperField(this, proto.payment.GameplayProviderScope, 2));
|
|
68928
|
+
};
|
|
68929
|
+
|
|
68930
|
+
|
|
68931
|
+
/**
|
|
68932
|
+
* @param {?proto.payment.GameplayProviderScope|undefined} value
|
|
68933
|
+
* @return {!proto.payment.ReadGameplayProviderIdentityRequest} returns this
|
|
68934
|
+
*/
|
|
68935
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.setScope = function(value) {
|
|
68936
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
68937
|
+
};
|
|
68938
|
+
|
|
68939
|
+
|
|
68940
|
+
/**
|
|
68941
|
+
* Clears the message field making it undefined.
|
|
68942
|
+
* @return {!proto.payment.ReadGameplayProviderIdentityRequest} returns this
|
|
68943
|
+
*/
|
|
68944
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.clearScope = function() {
|
|
68945
|
+
return this.setScope(undefined);
|
|
68946
|
+
};
|
|
68947
|
+
|
|
68948
|
+
|
|
68949
|
+
/**
|
|
68950
|
+
* Returns whether this field is set.
|
|
68951
|
+
* @return {boolean}
|
|
68952
|
+
*/
|
|
68953
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.hasScope = function() {
|
|
68954
|
+
return jspb.Message.getField(this, 2) != null;
|
|
68955
|
+
};
|
|
68956
|
+
|
|
68957
|
+
|
|
68958
|
+
/**
|
|
68959
|
+
* optional GameplayProviderIdentityKind identity_kind = 3;
|
|
68960
|
+
* @return {!proto.payment.GameplayProviderIdentityKind}
|
|
68961
|
+
*/
|
|
68962
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.getIdentityKind = function() {
|
|
68963
|
+
return /** @type {!proto.payment.GameplayProviderIdentityKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
68964
|
+
};
|
|
68965
|
+
|
|
68966
|
+
|
|
68967
|
+
/**
|
|
68968
|
+
* @param {!proto.payment.GameplayProviderIdentityKind} value
|
|
68969
|
+
* @return {!proto.payment.ReadGameplayProviderIdentityRequest} returns this
|
|
68970
|
+
*/
|
|
68971
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.setIdentityKind = function(value) {
|
|
68972
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
68973
|
+
};
|
|
68974
|
+
|
|
68975
|
+
|
|
68976
|
+
/**
|
|
68977
|
+
* optional string external_id = 4;
|
|
68978
|
+
* @return {string}
|
|
68979
|
+
*/
|
|
68980
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.getExternalId = function() {
|
|
68981
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
68982
|
+
};
|
|
68983
|
+
|
|
68984
|
+
|
|
68985
|
+
/**
|
|
68986
|
+
* @param {string} value
|
|
68987
|
+
* @return {!proto.payment.ReadGameplayProviderIdentityRequest} returns this
|
|
68988
|
+
*/
|
|
68989
|
+
proto.payment.ReadGameplayProviderIdentityRequest.prototype.setExternalId = function(value) {
|
|
68990
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
68991
|
+
};
|
|
68992
|
+
|
|
68993
|
+
|
|
68994
|
+
|
|
68995
|
+
|
|
68996
|
+
|
|
68997
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
68998
|
+
/**
|
|
68999
|
+
* Creates an object representation of this proto.
|
|
69000
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
69001
|
+
* Optional fields that are not set will be set to undefined.
|
|
69002
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
69003
|
+
* For the list of reserved names please see:
|
|
69004
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
69005
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
69006
|
+
* JSPB instance for transitional soy proto support:
|
|
69007
|
+
* http://goto/soy-param-migration
|
|
69008
|
+
* @return {!Object}
|
|
69009
|
+
*/
|
|
69010
|
+
proto.payment.GameplayProviderIdentityResult.prototype.toObject = function(opt_includeInstance) {
|
|
69011
|
+
return proto.payment.GameplayProviderIdentityResult.toObject(opt_includeInstance, this);
|
|
69012
|
+
};
|
|
69013
|
+
|
|
69014
|
+
|
|
69015
|
+
/**
|
|
69016
|
+
* Static version of the {@see toObject} method.
|
|
69017
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
69018
|
+
* the JSPB instance for transitional soy proto support:
|
|
69019
|
+
* http://goto/soy-param-migration
|
|
69020
|
+
* @param {!proto.payment.GameplayProviderIdentityResult} msg The msg instance to transform.
|
|
69021
|
+
* @return {!Object}
|
|
69022
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69023
|
+
*/
|
|
69024
|
+
proto.payment.GameplayProviderIdentityResult.toObject = function(includeInstance, msg) {
|
|
69025
|
+
var f, obj = {
|
|
69026
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
69027
|
+
identityKind: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
69028
|
+
externalId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
69029
|
+
state: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
69030
|
+
binding: (f = msg.getBinding()) && proto.payment.GameplayProviderBinding.toObject(includeInstance, f),
|
|
69031
|
+
fenceId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
69032
|
+
roundClosed: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
69033
|
+
};
|
|
69034
|
+
|
|
69035
|
+
if (includeInstance) {
|
|
69036
|
+
obj.$jspbMessageInstance = msg;
|
|
69037
|
+
}
|
|
69038
|
+
return obj;
|
|
69039
|
+
};
|
|
69040
|
+
}
|
|
69041
|
+
|
|
69042
|
+
|
|
69043
|
+
/**
|
|
69044
|
+
* Deserializes binary data (in protobuf wire format).
|
|
69045
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
69046
|
+
* @return {!proto.payment.GameplayProviderIdentityResult}
|
|
69047
|
+
*/
|
|
69048
|
+
proto.payment.GameplayProviderIdentityResult.deserializeBinary = function(bytes) {
|
|
69049
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
69050
|
+
var msg = new proto.payment.GameplayProviderIdentityResult;
|
|
69051
|
+
return proto.payment.GameplayProviderIdentityResult.deserializeBinaryFromReader(msg, reader);
|
|
69052
|
+
};
|
|
69053
|
+
|
|
69054
|
+
|
|
69055
|
+
/**
|
|
69056
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
69057
|
+
* given reader into the given message object.
|
|
69058
|
+
* @param {!proto.payment.GameplayProviderIdentityResult} msg The message object to deserialize into.
|
|
69059
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
69060
|
+
* @return {!proto.payment.GameplayProviderIdentityResult}
|
|
69061
|
+
*/
|
|
69062
|
+
proto.payment.GameplayProviderIdentityResult.deserializeBinaryFromReader = function(msg, reader) {
|
|
69063
|
+
while (reader.nextField()) {
|
|
69064
|
+
if (reader.isEndGroup()) {
|
|
69065
|
+
break;
|
|
69066
|
+
}
|
|
69067
|
+
var field = reader.getFieldNumber();
|
|
69068
|
+
switch (field) {
|
|
69069
|
+
case 1:
|
|
69070
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
69071
|
+
msg.setProtocolVersion(value);
|
|
69072
|
+
break;
|
|
69073
|
+
case 2:
|
|
69074
|
+
var value = /** @type {!proto.payment.GameplayProviderIdentityKind} */ (reader.readEnum());
|
|
69075
|
+
msg.setIdentityKind(value);
|
|
69076
|
+
break;
|
|
69077
|
+
case 3:
|
|
69078
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69079
|
+
msg.setExternalId(value);
|
|
69080
|
+
break;
|
|
69081
|
+
case 4:
|
|
69082
|
+
var value = /** @type {!proto.payment.GameplayProviderIdentityState} */ (reader.readEnum());
|
|
69083
|
+
msg.setState(value);
|
|
69084
|
+
break;
|
|
69085
|
+
case 5:
|
|
69086
|
+
var value = new proto.payment.GameplayProviderBinding;
|
|
69087
|
+
reader.readMessage(value,proto.payment.GameplayProviderBinding.deserializeBinaryFromReader);
|
|
69088
|
+
msg.setBinding(value);
|
|
69089
|
+
break;
|
|
69090
|
+
case 6:
|
|
69091
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69092
|
+
msg.setFenceId(value);
|
|
69093
|
+
break;
|
|
69094
|
+
case 7:
|
|
69095
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
69096
|
+
msg.setRoundClosed(value);
|
|
69097
|
+
break;
|
|
69098
|
+
default:
|
|
69099
|
+
reader.skipField();
|
|
69100
|
+
break;
|
|
69101
|
+
}
|
|
69102
|
+
}
|
|
69103
|
+
return msg;
|
|
69104
|
+
};
|
|
69105
|
+
|
|
69106
|
+
|
|
69107
|
+
/**
|
|
69108
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
69109
|
+
* @return {!Uint8Array}
|
|
69110
|
+
*/
|
|
69111
|
+
proto.payment.GameplayProviderIdentityResult.prototype.serializeBinary = function() {
|
|
69112
|
+
var writer = new jspb.BinaryWriter();
|
|
69113
|
+
proto.payment.GameplayProviderIdentityResult.serializeBinaryToWriter(this, writer);
|
|
69114
|
+
return writer.getResultBuffer();
|
|
69115
|
+
};
|
|
69116
|
+
|
|
69117
|
+
|
|
69118
|
+
/**
|
|
69119
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
69120
|
+
* format), writing to the given BinaryWriter.
|
|
69121
|
+
* @param {!proto.payment.GameplayProviderIdentityResult} message
|
|
69122
|
+
* @param {!jspb.BinaryWriter} writer
|
|
69123
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69124
|
+
*/
|
|
69125
|
+
proto.payment.GameplayProviderIdentityResult.serializeBinaryToWriter = function(message, writer) {
|
|
69126
|
+
var f = undefined;
|
|
69127
|
+
f = message.getProtocolVersion();
|
|
69128
|
+
if (f !== 0) {
|
|
69129
|
+
writer.writeUint32(
|
|
69130
|
+
1,
|
|
69131
|
+
f
|
|
69132
|
+
);
|
|
69133
|
+
}
|
|
69134
|
+
f = message.getIdentityKind();
|
|
69135
|
+
if (f !== 0.0) {
|
|
69136
|
+
writer.writeEnum(
|
|
69137
|
+
2,
|
|
69138
|
+
f
|
|
69139
|
+
);
|
|
69140
|
+
}
|
|
69141
|
+
f = message.getExternalId();
|
|
69142
|
+
if (f.length > 0) {
|
|
69143
|
+
writer.writeString(
|
|
69144
|
+
3,
|
|
69145
|
+
f
|
|
69146
|
+
);
|
|
69147
|
+
}
|
|
69148
|
+
f = message.getState();
|
|
69149
|
+
if (f !== 0.0) {
|
|
69150
|
+
writer.writeEnum(
|
|
69151
|
+
4,
|
|
69152
|
+
f
|
|
69153
|
+
);
|
|
69154
|
+
}
|
|
69155
|
+
f = message.getBinding();
|
|
69156
|
+
if (f != null) {
|
|
69157
|
+
writer.writeMessage(
|
|
69158
|
+
5,
|
|
69159
|
+
f,
|
|
69160
|
+
proto.payment.GameplayProviderBinding.serializeBinaryToWriter
|
|
69161
|
+
);
|
|
69162
|
+
}
|
|
69163
|
+
f = message.getFenceId();
|
|
69164
|
+
if (f.length > 0) {
|
|
69165
|
+
writer.writeString(
|
|
69166
|
+
6,
|
|
69167
|
+
f
|
|
69168
|
+
);
|
|
69169
|
+
}
|
|
69170
|
+
f = message.getRoundClosed();
|
|
69171
|
+
if (f) {
|
|
69172
|
+
writer.writeBool(
|
|
69173
|
+
7,
|
|
69174
|
+
f
|
|
69175
|
+
);
|
|
69176
|
+
}
|
|
69177
|
+
};
|
|
69178
|
+
|
|
69179
|
+
|
|
69180
|
+
/**
|
|
69181
|
+
* optional uint32 protocol_version = 1;
|
|
69182
|
+
* @return {number}
|
|
69183
|
+
*/
|
|
69184
|
+
proto.payment.GameplayProviderIdentityResult.prototype.getProtocolVersion = function() {
|
|
69185
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
69186
|
+
};
|
|
69187
|
+
|
|
69188
|
+
|
|
69189
|
+
/**
|
|
69190
|
+
* @param {number} value
|
|
69191
|
+
* @return {!proto.payment.GameplayProviderIdentityResult} returns this
|
|
69192
|
+
*/
|
|
69193
|
+
proto.payment.GameplayProviderIdentityResult.prototype.setProtocolVersion = function(value) {
|
|
69194
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
69195
|
+
};
|
|
69196
|
+
|
|
69197
|
+
|
|
69198
|
+
/**
|
|
69199
|
+
* optional GameplayProviderIdentityKind identity_kind = 2;
|
|
69200
|
+
* @return {!proto.payment.GameplayProviderIdentityKind}
|
|
69201
|
+
*/
|
|
69202
|
+
proto.payment.GameplayProviderIdentityResult.prototype.getIdentityKind = function() {
|
|
69203
|
+
return /** @type {!proto.payment.GameplayProviderIdentityKind} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
69204
|
+
};
|
|
69205
|
+
|
|
69206
|
+
|
|
69207
|
+
/**
|
|
69208
|
+
* @param {!proto.payment.GameplayProviderIdentityKind} value
|
|
69209
|
+
* @return {!proto.payment.GameplayProviderIdentityResult} returns this
|
|
69210
|
+
*/
|
|
69211
|
+
proto.payment.GameplayProviderIdentityResult.prototype.setIdentityKind = function(value) {
|
|
69212
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
69213
|
+
};
|
|
69214
|
+
|
|
69215
|
+
|
|
69216
|
+
/**
|
|
69217
|
+
* optional string external_id = 3;
|
|
69218
|
+
* @return {string}
|
|
69219
|
+
*/
|
|
69220
|
+
proto.payment.GameplayProviderIdentityResult.prototype.getExternalId = function() {
|
|
69221
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
69222
|
+
};
|
|
69223
|
+
|
|
69224
|
+
|
|
69225
|
+
/**
|
|
69226
|
+
* @param {string} value
|
|
69227
|
+
* @return {!proto.payment.GameplayProviderIdentityResult} returns this
|
|
69228
|
+
*/
|
|
69229
|
+
proto.payment.GameplayProviderIdentityResult.prototype.setExternalId = function(value) {
|
|
69230
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
69231
|
+
};
|
|
69232
|
+
|
|
69233
|
+
|
|
69234
|
+
/**
|
|
69235
|
+
* optional GameplayProviderIdentityState state = 4;
|
|
69236
|
+
* @return {!proto.payment.GameplayProviderIdentityState}
|
|
69237
|
+
*/
|
|
69238
|
+
proto.payment.GameplayProviderIdentityResult.prototype.getState = function() {
|
|
69239
|
+
return /** @type {!proto.payment.GameplayProviderIdentityState} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
69240
|
+
};
|
|
69241
|
+
|
|
69242
|
+
|
|
69243
|
+
/**
|
|
69244
|
+
* @param {!proto.payment.GameplayProviderIdentityState} value
|
|
69245
|
+
* @return {!proto.payment.GameplayProviderIdentityResult} returns this
|
|
69246
|
+
*/
|
|
69247
|
+
proto.payment.GameplayProviderIdentityResult.prototype.setState = function(value) {
|
|
69248
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
69249
|
+
};
|
|
69250
|
+
|
|
69251
|
+
|
|
69252
|
+
/**
|
|
69253
|
+
* optional GameplayProviderBinding binding = 5;
|
|
69254
|
+
* @return {?proto.payment.GameplayProviderBinding}
|
|
69255
|
+
*/
|
|
69256
|
+
proto.payment.GameplayProviderIdentityResult.prototype.getBinding = function() {
|
|
69257
|
+
return /** @type{?proto.payment.GameplayProviderBinding} */ (
|
|
69258
|
+
jspb.Message.getWrapperField(this, proto.payment.GameplayProviderBinding, 5));
|
|
69259
|
+
};
|
|
69260
|
+
|
|
69261
|
+
|
|
69262
|
+
/**
|
|
69263
|
+
* @param {?proto.payment.GameplayProviderBinding|undefined} value
|
|
69264
|
+
* @return {!proto.payment.GameplayProviderIdentityResult} returns this
|
|
69265
|
+
*/
|
|
69266
|
+
proto.payment.GameplayProviderIdentityResult.prototype.setBinding = function(value) {
|
|
69267
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
69268
|
+
};
|
|
69269
|
+
|
|
69270
|
+
|
|
69271
|
+
/**
|
|
69272
|
+
* Clears the message field making it undefined.
|
|
69273
|
+
* @return {!proto.payment.GameplayProviderIdentityResult} returns this
|
|
69274
|
+
*/
|
|
69275
|
+
proto.payment.GameplayProviderIdentityResult.prototype.clearBinding = function() {
|
|
69276
|
+
return this.setBinding(undefined);
|
|
69277
|
+
};
|
|
69278
|
+
|
|
69279
|
+
|
|
69280
|
+
/**
|
|
69281
|
+
* Returns whether this field is set.
|
|
69282
|
+
* @return {boolean}
|
|
69283
|
+
*/
|
|
69284
|
+
proto.payment.GameplayProviderIdentityResult.prototype.hasBinding = function() {
|
|
69285
|
+
return jspb.Message.getField(this, 5) != null;
|
|
69286
|
+
};
|
|
69287
|
+
|
|
69288
|
+
|
|
69289
|
+
/**
|
|
69290
|
+
* optional string fence_id = 6;
|
|
69291
|
+
* @return {string}
|
|
69292
|
+
*/
|
|
69293
|
+
proto.payment.GameplayProviderIdentityResult.prototype.getFenceId = function() {
|
|
69294
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
69295
|
+
};
|
|
69296
|
+
|
|
69297
|
+
|
|
69298
|
+
/**
|
|
69299
|
+
* @param {string} value
|
|
69300
|
+
* @return {!proto.payment.GameplayProviderIdentityResult} returns this
|
|
69301
|
+
*/
|
|
69302
|
+
proto.payment.GameplayProviderIdentityResult.prototype.setFenceId = function(value) {
|
|
69303
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
69304
|
+
};
|
|
69305
|
+
|
|
69306
|
+
|
|
69307
|
+
/**
|
|
69308
|
+
* optional bool round_closed = 7;
|
|
69309
|
+
* @return {boolean}
|
|
69310
|
+
*/
|
|
69311
|
+
proto.payment.GameplayProviderIdentityResult.prototype.getRoundClosed = function() {
|
|
69312
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
69313
|
+
};
|
|
69314
|
+
|
|
69315
|
+
|
|
69316
|
+
/**
|
|
69317
|
+
* @param {boolean} value
|
|
69318
|
+
* @return {!proto.payment.GameplayProviderIdentityResult} returns this
|
|
69319
|
+
*/
|
|
69320
|
+
proto.payment.GameplayProviderIdentityResult.prototype.setRoundClosed = function(value) {
|
|
69321
|
+
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
69322
|
+
};
|
|
69323
|
+
|
|
69324
|
+
|
|
69325
|
+
|
|
69326
|
+
/**
|
|
69327
|
+
* List of repeated fields within this message type.
|
|
69328
|
+
* @private {!Array<number>}
|
|
69329
|
+
* @const
|
|
69330
|
+
*/
|
|
69331
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.repeatedFields_ = [4];
|
|
69332
|
+
|
|
69333
|
+
|
|
69334
|
+
|
|
69335
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
69336
|
+
/**
|
|
69337
|
+
* Creates an object representation of this proto.
|
|
69338
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
69339
|
+
* Optional fields that are not set will be set to undefined.
|
|
69340
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
69341
|
+
* For the list of reserved names please see:
|
|
69342
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
69343
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
69344
|
+
* JSPB instance for transitional soy proto support:
|
|
69345
|
+
* http://goto/soy-param-migration
|
|
69346
|
+
* @return {!Object}
|
|
69347
|
+
*/
|
|
69348
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
69349
|
+
return proto.payment.FenceGameplayProviderTransactionsRequest.toObject(opt_includeInstance, this);
|
|
69350
|
+
};
|
|
69351
|
+
|
|
69352
|
+
|
|
69353
|
+
/**
|
|
69354
|
+
* Static version of the {@see toObject} method.
|
|
69355
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
69356
|
+
* the JSPB instance for transitional soy proto support:
|
|
69357
|
+
* http://goto/soy-param-migration
|
|
69358
|
+
* @param {!proto.payment.FenceGameplayProviderTransactionsRequest} msg The msg instance to transform.
|
|
69359
|
+
* @return {!Object}
|
|
69360
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69361
|
+
*/
|
|
69362
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.toObject = function(includeInstance, msg) {
|
|
69363
|
+
var f, obj = {
|
|
69364
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
69365
|
+
scope: (f = msg.getScope()) && proto.payment.GameplayProviderScope.toObject(includeInstance, f),
|
|
69366
|
+
roundId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
69367
|
+
transactionRefsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
69368
|
+
closeRound: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
69369
|
+
};
|
|
69370
|
+
|
|
69371
|
+
if (includeInstance) {
|
|
69372
|
+
obj.$jspbMessageInstance = msg;
|
|
69373
|
+
}
|
|
69374
|
+
return obj;
|
|
69375
|
+
};
|
|
69376
|
+
}
|
|
69377
|
+
|
|
69378
|
+
|
|
69379
|
+
/**
|
|
69380
|
+
* Deserializes binary data (in protobuf wire format).
|
|
69381
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
69382
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsRequest}
|
|
69383
|
+
*/
|
|
69384
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.deserializeBinary = function(bytes) {
|
|
69385
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
69386
|
+
var msg = new proto.payment.FenceGameplayProviderTransactionsRequest;
|
|
69387
|
+
return proto.payment.FenceGameplayProviderTransactionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
69388
|
+
};
|
|
69389
|
+
|
|
69390
|
+
|
|
69391
|
+
/**
|
|
69392
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
69393
|
+
* given reader into the given message object.
|
|
69394
|
+
* @param {!proto.payment.FenceGameplayProviderTransactionsRequest} msg The message object to deserialize into.
|
|
69395
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
69396
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsRequest}
|
|
69397
|
+
*/
|
|
69398
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
69399
|
+
while (reader.nextField()) {
|
|
69400
|
+
if (reader.isEndGroup()) {
|
|
69401
|
+
break;
|
|
69402
|
+
}
|
|
69403
|
+
var field = reader.getFieldNumber();
|
|
69404
|
+
switch (field) {
|
|
69405
|
+
case 1:
|
|
69406
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
69407
|
+
msg.setProtocolVersion(value);
|
|
69408
|
+
break;
|
|
69409
|
+
case 2:
|
|
69410
|
+
var value = new proto.payment.GameplayProviderScope;
|
|
69411
|
+
reader.readMessage(value,proto.payment.GameplayProviderScope.deserializeBinaryFromReader);
|
|
69412
|
+
msg.setScope(value);
|
|
69413
|
+
break;
|
|
69414
|
+
case 3:
|
|
69415
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69416
|
+
msg.setRoundId(value);
|
|
69417
|
+
break;
|
|
69418
|
+
case 4:
|
|
69419
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69420
|
+
msg.addTransactionRefs(value);
|
|
69421
|
+
break;
|
|
69422
|
+
case 5:
|
|
69423
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
69424
|
+
msg.setCloseRound(value);
|
|
69425
|
+
break;
|
|
69426
|
+
default:
|
|
69427
|
+
reader.skipField();
|
|
69428
|
+
break;
|
|
69429
|
+
}
|
|
69430
|
+
}
|
|
69431
|
+
return msg;
|
|
69432
|
+
};
|
|
69433
|
+
|
|
69434
|
+
|
|
69435
|
+
/**
|
|
69436
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
69437
|
+
* @return {!Uint8Array}
|
|
69438
|
+
*/
|
|
69439
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.serializeBinary = function() {
|
|
69440
|
+
var writer = new jspb.BinaryWriter();
|
|
69441
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.serializeBinaryToWriter(this, writer);
|
|
69442
|
+
return writer.getResultBuffer();
|
|
69443
|
+
};
|
|
69444
|
+
|
|
69445
|
+
|
|
69446
|
+
/**
|
|
69447
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
69448
|
+
* format), writing to the given BinaryWriter.
|
|
69449
|
+
* @param {!proto.payment.FenceGameplayProviderTransactionsRequest} message
|
|
69450
|
+
* @param {!jspb.BinaryWriter} writer
|
|
69451
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69452
|
+
*/
|
|
69453
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
69454
|
+
var f = undefined;
|
|
69455
|
+
f = message.getProtocolVersion();
|
|
69456
|
+
if (f !== 0) {
|
|
69457
|
+
writer.writeUint32(
|
|
69458
|
+
1,
|
|
69459
|
+
f
|
|
69460
|
+
);
|
|
69461
|
+
}
|
|
69462
|
+
f = message.getScope();
|
|
69463
|
+
if (f != null) {
|
|
69464
|
+
writer.writeMessage(
|
|
69465
|
+
2,
|
|
69466
|
+
f,
|
|
69467
|
+
proto.payment.GameplayProviderScope.serializeBinaryToWriter
|
|
69468
|
+
);
|
|
69469
|
+
}
|
|
69470
|
+
f = message.getRoundId();
|
|
69471
|
+
if (f.length > 0) {
|
|
69472
|
+
writer.writeString(
|
|
69473
|
+
3,
|
|
69474
|
+
f
|
|
69475
|
+
);
|
|
69476
|
+
}
|
|
69477
|
+
f = message.getTransactionRefsList();
|
|
69478
|
+
if (f.length > 0) {
|
|
69479
|
+
writer.writeRepeatedString(
|
|
69480
|
+
4,
|
|
69481
|
+
f
|
|
69482
|
+
);
|
|
69483
|
+
}
|
|
69484
|
+
f = message.getCloseRound();
|
|
69485
|
+
if (f) {
|
|
69486
|
+
writer.writeBool(
|
|
69487
|
+
5,
|
|
69488
|
+
f
|
|
69489
|
+
);
|
|
69490
|
+
}
|
|
69491
|
+
};
|
|
69492
|
+
|
|
69493
|
+
|
|
69494
|
+
/**
|
|
69495
|
+
* optional uint32 protocol_version = 1;
|
|
69496
|
+
* @return {number}
|
|
69497
|
+
*/
|
|
69498
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.getProtocolVersion = function() {
|
|
69499
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
69500
|
+
};
|
|
69501
|
+
|
|
69502
|
+
|
|
69503
|
+
/**
|
|
69504
|
+
* @param {number} value
|
|
69505
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsRequest} returns this
|
|
69506
|
+
*/
|
|
69507
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.setProtocolVersion = function(value) {
|
|
69508
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
69509
|
+
};
|
|
69510
|
+
|
|
69511
|
+
|
|
69512
|
+
/**
|
|
69513
|
+
* optional GameplayProviderScope scope = 2;
|
|
69514
|
+
* @return {?proto.payment.GameplayProviderScope}
|
|
69515
|
+
*/
|
|
69516
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.getScope = function() {
|
|
69517
|
+
return /** @type{?proto.payment.GameplayProviderScope} */ (
|
|
69518
|
+
jspb.Message.getWrapperField(this, proto.payment.GameplayProviderScope, 2));
|
|
69519
|
+
};
|
|
69520
|
+
|
|
69521
|
+
|
|
69522
|
+
/**
|
|
69523
|
+
* @param {?proto.payment.GameplayProviderScope|undefined} value
|
|
69524
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsRequest} returns this
|
|
69525
|
+
*/
|
|
69526
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.setScope = function(value) {
|
|
69527
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
69528
|
+
};
|
|
69529
|
+
|
|
69530
|
+
|
|
69531
|
+
/**
|
|
69532
|
+
* Clears the message field making it undefined.
|
|
69533
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsRequest} returns this
|
|
69534
|
+
*/
|
|
69535
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.clearScope = function() {
|
|
69536
|
+
return this.setScope(undefined);
|
|
69537
|
+
};
|
|
69538
|
+
|
|
69539
|
+
|
|
69540
|
+
/**
|
|
69541
|
+
* Returns whether this field is set.
|
|
69542
|
+
* @return {boolean}
|
|
69543
|
+
*/
|
|
69544
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.hasScope = function() {
|
|
69545
|
+
return jspb.Message.getField(this, 2) != null;
|
|
69546
|
+
};
|
|
69547
|
+
|
|
69548
|
+
|
|
69549
|
+
/**
|
|
69550
|
+
* optional string round_id = 3;
|
|
69551
|
+
* @return {string}
|
|
69552
|
+
*/
|
|
69553
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.getRoundId = function() {
|
|
69554
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
69555
|
+
};
|
|
69556
|
+
|
|
69557
|
+
|
|
69558
|
+
/**
|
|
69559
|
+
* @param {string} value
|
|
69560
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsRequest} returns this
|
|
69561
|
+
*/
|
|
69562
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.setRoundId = function(value) {
|
|
69563
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
69564
|
+
};
|
|
69565
|
+
|
|
69566
|
+
|
|
69567
|
+
/**
|
|
69568
|
+
* repeated string transaction_refs = 4;
|
|
69569
|
+
* @return {!Array<string>}
|
|
69570
|
+
*/
|
|
69571
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.getTransactionRefsList = function() {
|
|
69572
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
69573
|
+
};
|
|
69574
|
+
|
|
69575
|
+
|
|
69576
|
+
/**
|
|
69577
|
+
* @param {!Array<string>} value
|
|
69578
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsRequest} returns this
|
|
69579
|
+
*/
|
|
69580
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.setTransactionRefsList = function(value) {
|
|
69581
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
69582
|
+
};
|
|
69583
|
+
|
|
69584
|
+
|
|
69585
|
+
/**
|
|
69586
|
+
* @param {string} value
|
|
69587
|
+
* @param {number=} opt_index
|
|
69588
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsRequest} returns this
|
|
69589
|
+
*/
|
|
69590
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.addTransactionRefs = function(value, opt_index) {
|
|
69591
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
69592
|
+
};
|
|
69593
|
+
|
|
69594
|
+
|
|
69595
|
+
/**
|
|
69596
|
+
* Clears the list making it empty but non-null.
|
|
69597
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsRequest} returns this
|
|
69598
|
+
*/
|
|
69599
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.clearTransactionRefsList = function() {
|
|
69600
|
+
return this.setTransactionRefsList([]);
|
|
69601
|
+
};
|
|
69602
|
+
|
|
69603
|
+
|
|
69604
|
+
/**
|
|
69605
|
+
* optional bool close_round = 5;
|
|
69606
|
+
* @return {boolean}
|
|
69607
|
+
*/
|
|
69608
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.getCloseRound = function() {
|
|
69609
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
69610
|
+
};
|
|
69611
|
+
|
|
69612
|
+
|
|
69613
|
+
/**
|
|
69614
|
+
* @param {boolean} value
|
|
69615
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsRequest} returns this
|
|
69616
|
+
*/
|
|
69617
|
+
proto.payment.FenceGameplayProviderTransactionsRequest.prototype.setCloseRound = function(value) {
|
|
69618
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
69619
|
+
};
|
|
69620
|
+
|
|
69621
|
+
|
|
69622
|
+
|
|
69623
|
+
/**
|
|
69624
|
+
* List of repeated fields within this message type.
|
|
69625
|
+
* @private {!Array<number>}
|
|
69626
|
+
* @const
|
|
69627
|
+
*/
|
|
69628
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.repeatedFields_ = [2];
|
|
69629
|
+
|
|
69630
|
+
|
|
69631
|
+
|
|
69632
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
69633
|
+
/**
|
|
69634
|
+
* Creates an object representation of this proto.
|
|
69635
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
69636
|
+
* Optional fields that are not set will be set to undefined.
|
|
69637
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
69638
|
+
* For the list of reserved names please see:
|
|
69639
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
69640
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
69641
|
+
* JSPB instance for transitional soy proto support:
|
|
69642
|
+
* http://goto/soy-param-migration
|
|
69643
|
+
* @return {!Object}
|
|
69644
|
+
*/
|
|
69645
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
69646
|
+
return proto.payment.FenceGameplayProviderTransactionsResponse.toObject(opt_includeInstance, this);
|
|
69647
|
+
};
|
|
69648
|
+
|
|
69649
|
+
|
|
69650
|
+
/**
|
|
69651
|
+
* Static version of the {@see toObject} method.
|
|
69652
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
69653
|
+
* the JSPB instance for transitional soy proto support:
|
|
69654
|
+
* http://goto/soy-param-migration
|
|
69655
|
+
* @param {!proto.payment.FenceGameplayProviderTransactionsResponse} msg The msg instance to transform.
|
|
69656
|
+
* @return {!Object}
|
|
69657
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69658
|
+
*/
|
|
69659
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.toObject = function(includeInstance, msg) {
|
|
69660
|
+
var f, obj = {
|
|
69661
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
69662
|
+
identitiesList: jspb.Message.toObjectList(msg.getIdentitiesList(),
|
|
69663
|
+
proto.payment.GameplayProviderIdentityResult.toObject, includeInstance),
|
|
69664
|
+
roundClosed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
69665
|
+
};
|
|
69666
|
+
|
|
69667
|
+
if (includeInstance) {
|
|
69668
|
+
obj.$jspbMessageInstance = msg;
|
|
69669
|
+
}
|
|
69670
|
+
return obj;
|
|
69671
|
+
};
|
|
69672
|
+
}
|
|
69673
|
+
|
|
69674
|
+
|
|
69675
|
+
/**
|
|
69676
|
+
* Deserializes binary data (in protobuf wire format).
|
|
69677
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
69678
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsResponse}
|
|
69679
|
+
*/
|
|
69680
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.deserializeBinary = function(bytes) {
|
|
69681
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
69682
|
+
var msg = new proto.payment.FenceGameplayProviderTransactionsResponse;
|
|
69683
|
+
return proto.payment.FenceGameplayProviderTransactionsResponse.deserializeBinaryFromReader(msg, reader);
|
|
69684
|
+
};
|
|
69685
|
+
|
|
69686
|
+
|
|
69687
|
+
/**
|
|
69688
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
69689
|
+
* given reader into the given message object.
|
|
69690
|
+
* @param {!proto.payment.FenceGameplayProviderTransactionsResponse} msg The message object to deserialize into.
|
|
69691
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
69692
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsResponse}
|
|
69693
|
+
*/
|
|
69694
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
69695
|
+
while (reader.nextField()) {
|
|
69696
|
+
if (reader.isEndGroup()) {
|
|
69697
|
+
break;
|
|
69698
|
+
}
|
|
69699
|
+
var field = reader.getFieldNumber();
|
|
69700
|
+
switch (field) {
|
|
69701
|
+
case 1:
|
|
69702
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
69703
|
+
msg.setProtocolVersion(value);
|
|
69704
|
+
break;
|
|
69705
|
+
case 2:
|
|
69706
|
+
var value = new proto.payment.GameplayProviderIdentityResult;
|
|
69707
|
+
reader.readMessage(value,proto.payment.GameplayProviderIdentityResult.deserializeBinaryFromReader);
|
|
69708
|
+
msg.addIdentities(value);
|
|
69709
|
+
break;
|
|
69710
|
+
case 3:
|
|
69711
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
69712
|
+
msg.setRoundClosed(value);
|
|
69713
|
+
break;
|
|
69714
|
+
default:
|
|
69715
|
+
reader.skipField();
|
|
69716
|
+
break;
|
|
69717
|
+
}
|
|
69718
|
+
}
|
|
69719
|
+
return msg;
|
|
69720
|
+
};
|
|
69721
|
+
|
|
69722
|
+
|
|
69723
|
+
/**
|
|
69724
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
69725
|
+
* @return {!Uint8Array}
|
|
69726
|
+
*/
|
|
69727
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.prototype.serializeBinary = function() {
|
|
69728
|
+
var writer = new jspb.BinaryWriter();
|
|
69729
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.serializeBinaryToWriter(this, writer);
|
|
69730
|
+
return writer.getResultBuffer();
|
|
69731
|
+
};
|
|
69732
|
+
|
|
69733
|
+
|
|
69734
|
+
/**
|
|
69735
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
69736
|
+
* format), writing to the given BinaryWriter.
|
|
69737
|
+
* @param {!proto.payment.FenceGameplayProviderTransactionsResponse} message
|
|
69738
|
+
* @param {!jspb.BinaryWriter} writer
|
|
69739
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69740
|
+
*/
|
|
69741
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
69742
|
+
var f = undefined;
|
|
69743
|
+
f = message.getProtocolVersion();
|
|
69744
|
+
if (f !== 0) {
|
|
69745
|
+
writer.writeUint32(
|
|
69746
|
+
1,
|
|
69747
|
+
f
|
|
69748
|
+
);
|
|
69749
|
+
}
|
|
69750
|
+
f = message.getIdentitiesList();
|
|
69751
|
+
if (f.length > 0) {
|
|
69752
|
+
writer.writeRepeatedMessage(
|
|
69753
|
+
2,
|
|
69754
|
+
f,
|
|
69755
|
+
proto.payment.GameplayProviderIdentityResult.serializeBinaryToWriter
|
|
69756
|
+
);
|
|
69757
|
+
}
|
|
69758
|
+
f = message.getRoundClosed();
|
|
69759
|
+
if (f) {
|
|
69760
|
+
writer.writeBool(
|
|
69761
|
+
3,
|
|
69762
|
+
f
|
|
69763
|
+
);
|
|
69764
|
+
}
|
|
69765
|
+
};
|
|
69766
|
+
|
|
69767
|
+
|
|
69768
|
+
/**
|
|
69769
|
+
* optional uint32 protocol_version = 1;
|
|
69770
|
+
* @return {number}
|
|
69771
|
+
*/
|
|
69772
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.prototype.getProtocolVersion = function() {
|
|
69773
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
69774
|
+
};
|
|
69775
|
+
|
|
69776
|
+
|
|
69777
|
+
/**
|
|
69778
|
+
* @param {number} value
|
|
69779
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsResponse} returns this
|
|
69780
|
+
*/
|
|
69781
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.prototype.setProtocolVersion = function(value) {
|
|
69782
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
69783
|
+
};
|
|
69784
|
+
|
|
69785
|
+
|
|
69786
|
+
/**
|
|
69787
|
+
* repeated GameplayProviderIdentityResult identities = 2;
|
|
69788
|
+
* @return {!Array<!proto.payment.GameplayProviderIdentityResult>}
|
|
69789
|
+
*/
|
|
69790
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.prototype.getIdentitiesList = function() {
|
|
69791
|
+
return /** @type{!Array<!proto.payment.GameplayProviderIdentityResult>} */ (
|
|
69792
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.GameplayProviderIdentityResult, 2));
|
|
69793
|
+
};
|
|
69794
|
+
|
|
69795
|
+
|
|
69796
|
+
/**
|
|
69797
|
+
* @param {!Array<!proto.payment.GameplayProviderIdentityResult>} value
|
|
69798
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsResponse} returns this
|
|
69799
|
+
*/
|
|
69800
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.prototype.setIdentitiesList = function(value) {
|
|
69801
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
69802
|
+
};
|
|
69803
|
+
|
|
69804
|
+
|
|
69805
|
+
/**
|
|
69806
|
+
* @param {!proto.payment.GameplayProviderIdentityResult=} opt_value
|
|
69807
|
+
* @param {number=} opt_index
|
|
69808
|
+
* @return {!proto.payment.GameplayProviderIdentityResult}
|
|
69809
|
+
*/
|
|
69810
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.prototype.addIdentities = function(opt_value, opt_index) {
|
|
69811
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payment.GameplayProviderIdentityResult, opt_index);
|
|
69812
|
+
};
|
|
69813
|
+
|
|
69814
|
+
|
|
69815
|
+
/**
|
|
69816
|
+
* Clears the list making it empty but non-null.
|
|
69817
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsResponse} returns this
|
|
69818
|
+
*/
|
|
69819
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.prototype.clearIdentitiesList = function() {
|
|
69820
|
+
return this.setIdentitiesList([]);
|
|
69821
|
+
};
|
|
69822
|
+
|
|
69823
|
+
|
|
69824
|
+
/**
|
|
69825
|
+
* optional bool round_closed = 3;
|
|
69826
|
+
* @return {boolean}
|
|
69827
|
+
*/
|
|
69828
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.prototype.getRoundClosed = function() {
|
|
69829
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
69830
|
+
};
|
|
69831
|
+
|
|
69832
|
+
|
|
69833
|
+
/**
|
|
69834
|
+
* @param {boolean} value
|
|
69835
|
+
* @return {!proto.payment.FenceGameplayProviderTransactionsResponse} returns this
|
|
69836
|
+
*/
|
|
69837
|
+
proto.payment.FenceGameplayProviderTransactionsResponse.prototype.setRoundClosed = function(value) {
|
|
69838
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
69839
|
+
};
|
|
69840
|
+
|
|
69841
|
+
|
|
69842
|
+
|
|
69843
|
+
|
|
69844
|
+
|
|
69845
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
69846
|
+
/**
|
|
69847
|
+
* Creates an object representation of this proto.
|
|
69848
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
69849
|
+
* Optional fields that are not set will be set to undefined.
|
|
69850
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
69851
|
+
* For the list of reserved names please see:
|
|
69852
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
69853
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
69854
|
+
* JSPB instance for transitional soy proto support:
|
|
69855
|
+
* http://goto/soy-param-migration
|
|
69856
|
+
* @return {!Object}
|
|
69857
|
+
*/
|
|
69858
|
+
proto.payment.GameplayProviderLegClaim.prototype.toObject = function(opt_includeInstance) {
|
|
69859
|
+
return proto.payment.GameplayProviderLegClaim.toObject(opt_includeInstance, this);
|
|
69860
|
+
};
|
|
69861
|
+
|
|
69862
|
+
|
|
69863
|
+
/**
|
|
69864
|
+
* Static version of the {@see toObject} method.
|
|
69865
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
69866
|
+
* the JSPB instance for transitional soy proto support:
|
|
69867
|
+
* http://goto/soy-param-migration
|
|
69868
|
+
* @param {!proto.payment.GameplayProviderLegClaim} msg The msg instance to transform.
|
|
69869
|
+
* @return {!Object}
|
|
69870
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69871
|
+
*/
|
|
69872
|
+
proto.payment.GameplayProviderLegClaim.toObject = function(includeInstance, msg) {
|
|
69873
|
+
var f, obj = {
|
|
69874
|
+
externalId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
69875
|
+
action: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
69876
|
+
};
|
|
69877
|
+
|
|
69878
|
+
if (includeInstance) {
|
|
69879
|
+
obj.$jspbMessageInstance = msg;
|
|
69880
|
+
}
|
|
69881
|
+
return obj;
|
|
69882
|
+
};
|
|
69883
|
+
}
|
|
69884
|
+
|
|
69885
|
+
|
|
69886
|
+
/**
|
|
69887
|
+
* Deserializes binary data (in protobuf wire format).
|
|
69888
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
69889
|
+
* @return {!proto.payment.GameplayProviderLegClaim}
|
|
69890
|
+
*/
|
|
69891
|
+
proto.payment.GameplayProviderLegClaim.deserializeBinary = function(bytes) {
|
|
69892
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
69893
|
+
var msg = new proto.payment.GameplayProviderLegClaim;
|
|
69894
|
+
return proto.payment.GameplayProviderLegClaim.deserializeBinaryFromReader(msg, reader);
|
|
69895
|
+
};
|
|
69896
|
+
|
|
69897
|
+
|
|
69898
|
+
/**
|
|
69899
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
69900
|
+
* given reader into the given message object.
|
|
69901
|
+
* @param {!proto.payment.GameplayProviderLegClaim} msg The message object to deserialize into.
|
|
69902
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
69903
|
+
* @return {!proto.payment.GameplayProviderLegClaim}
|
|
69904
|
+
*/
|
|
69905
|
+
proto.payment.GameplayProviderLegClaim.deserializeBinaryFromReader = function(msg, reader) {
|
|
69906
|
+
while (reader.nextField()) {
|
|
69907
|
+
if (reader.isEndGroup()) {
|
|
69908
|
+
break;
|
|
69909
|
+
}
|
|
69910
|
+
var field = reader.getFieldNumber();
|
|
69911
|
+
switch (field) {
|
|
69912
|
+
case 1:
|
|
69913
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69914
|
+
msg.setExternalId(value);
|
|
69915
|
+
break;
|
|
69916
|
+
case 2:
|
|
69917
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69918
|
+
msg.setAction(value);
|
|
69919
|
+
break;
|
|
69920
|
+
default:
|
|
69921
|
+
reader.skipField();
|
|
69922
|
+
break;
|
|
69923
|
+
}
|
|
69924
|
+
}
|
|
69925
|
+
return msg;
|
|
69926
|
+
};
|
|
69927
|
+
|
|
69928
|
+
|
|
69929
|
+
/**
|
|
69930
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
69931
|
+
* @return {!Uint8Array}
|
|
69932
|
+
*/
|
|
69933
|
+
proto.payment.GameplayProviderLegClaim.prototype.serializeBinary = function() {
|
|
69934
|
+
var writer = new jspb.BinaryWriter();
|
|
69935
|
+
proto.payment.GameplayProviderLegClaim.serializeBinaryToWriter(this, writer);
|
|
69936
|
+
return writer.getResultBuffer();
|
|
69937
|
+
};
|
|
69938
|
+
|
|
69939
|
+
|
|
69940
|
+
/**
|
|
69941
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
69942
|
+
* format), writing to the given BinaryWriter.
|
|
69943
|
+
* @param {!proto.payment.GameplayProviderLegClaim} message
|
|
69944
|
+
* @param {!jspb.BinaryWriter} writer
|
|
69945
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69946
|
+
*/
|
|
69947
|
+
proto.payment.GameplayProviderLegClaim.serializeBinaryToWriter = function(message, writer) {
|
|
69948
|
+
var f = undefined;
|
|
69949
|
+
f = message.getExternalId();
|
|
69950
|
+
if (f.length > 0) {
|
|
69951
|
+
writer.writeString(
|
|
69952
|
+
1,
|
|
69953
|
+
f
|
|
69954
|
+
);
|
|
69955
|
+
}
|
|
69956
|
+
f = message.getAction();
|
|
69957
|
+
if (f.length > 0) {
|
|
69958
|
+
writer.writeString(
|
|
69959
|
+
2,
|
|
69960
|
+
f
|
|
69961
|
+
);
|
|
69962
|
+
}
|
|
69963
|
+
};
|
|
69964
|
+
|
|
69965
|
+
|
|
69966
|
+
/**
|
|
69967
|
+
* optional string external_id = 1;
|
|
69968
|
+
* @return {string}
|
|
69969
|
+
*/
|
|
69970
|
+
proto.payment.GameplayProviderLegClaim.prototype.getExternalId = function() {
|
|
69971
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
69972
|
+
};
|
|
69973
|
+
|
|
69974
|
+
|
|
69975
|
+
/**
|
|
69976
|
+
* @param {string} value
|
|
69977
|
+
* @return {!proto.payment.GameplayProviderLegClaim} returns this
|
|
69978
|
+
*/
|
|
69979
|
+
proto.payment.GameplayProviderLegClaim.prototype.setExternalId = function(value) {
|
|
69980
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
69981
|
+
};
|
|
69982
|
+
|
|
69983
|
+
|
|
69984
|
+
/**
|
|
69985
|
+
* optional string action = 2;
|
|
69986
|
+
* @return {string}
|
|
69987
|
+
*/
|
|
69988
|
+
proto.payment.GameplayProviderLegClaim.prototype.getAction = function() {
|
|
69989
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
69990
|
+
};
|
|
69991
|
+
|
|
69992
|
+
|
|
69993
|
+
/**
|
|
69994
|
+
* @param {string} value
|
|
69995
|
+
* @return {!proto.payment.GameplayProviderLegClaim} returns this
|
|
69996
|
+
*/
|
|
69997
|
+
proto.payment.GameplayProviderLegClaim.prototype.setAction = function(value) {
|
|
69998
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
69999
|
+
};
|
|
70000
|
+
|
|
70001
|
+
|
|
70002
|
+
|
|
70003
|
+
/**
|
|
70004
|
+
* List of repeated fields within this message type.
|
|
70005
|
+
* @private {!Array<number>}
|
|
70006
|
+
* @const
|
|
70007
|
+
*/
|
|
70008
|
+
proto.payment.SettleGuardedGameplayRequest.repeatedFields_ = [5,6];
|
|
70009
|
+
|
|
70010
|
+
|
|
70011
|
+
|
|
70012
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
70013
|
+
/**
|
|
70014
|
+
* Creates an object representation of this proto.
|
|
70015
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
70016
|
+
* Optional fields that are not set will be set to undefined.
|
|
70017
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
70018
|
+
* For the list of reserved names please see:
|
|
70019
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
70020
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
70021
|
+
* JSPB instance for transitional soy proto support:
|
|
70022
|
+
* http://goto/soy-param-migration
|
|
70023
|
+
* @return {!Object}
|
|
70024
|
+
*/
|
|
70025
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.toObject = function(opt_includeInstance) {
|
|
70026
|
+
return proto.payment.SettleGuardedGameplayRequest.toObject(opt_includeInstance, this);
|
|
70027
|
+
};
|
|
70028
|
+
|
|
70029
|
+
|
|
70030
|
+
/**
|
|
70031
|
+
* Static version of the {@see toObject} method.
|
|
70032
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70033
|
+
* the JSPB instance for transitional soy proto support:
|
|
70034
|
+
* http://goto/soy-param-migration
|
|
70035
|
+
* @param {!proto.payment.SettleGuardedGameplayRequest} msg The msg instance to transform.
|
|
70036
|
+
* @return {!Object}
|
|
70037
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70038
|
+
*/
|
|
70039
|
+
proto.payment.SettleGuardedGameplayRequest.toObject = function(includeInstance, msg) {
|
|
70040
|
+
var f, obj = {
|
|
70041
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
70042
|
+
settlement: (f = msg.getSettlement()) && proto.payment.SettleGameplayRequest.toObject(includeInstance, f),
|
|
70043
|
+
scope: (f = msg.getScope()) && proto.payment.GameplayProviderScope.toObject(includeInstance, f),
|
|
70044
|
+
roundId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
70045
|
+
claimsList: jspb.Message.toObjectList(msg.getClaimsList(),
|
|
70046
|
+
proto.payment.GameplayProviderLegClaim.toObject, includeInstance),
|
|
70047
|
+
reversalRefsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
70048
|
+
closeRound: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
70049
|
+
};
|
|
70050
|
+
|
|
70051
|
+
if (includeInstance) {
|
|
70052
|
+
obj.$jspbMessageInstance = msg;
|
|
70053
|
+
}
|
|
70054
|
+
return obj;
|
|
70055
|
+
};
|
|
70056
|
+
}
|
|
70057
|
+
|
|
70058
|
+
|
|
70059
|
+
/**
|
|
70060
|
+
* Deserializes binary data (in protobuf wire format).
|
|
70061
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
70062
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest}
|
|
70063
|
+
*/
|
|
70064
|
+
proto.payment.SettleGuardedGameplayRequest.deserializeBinary = function(bytes) {
|
|
70065
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
70066
|
+
var msg = new proto.payment.SettleGuardedGameplayRequest;
|
|
70067
|
+
return proto.payment.SettleGuardedGameplayRequest.deserializeBinaryFromReader(msg, reader);
|
|
70068
|
+
};
|
|
70069
|
+
|
|
70070
|
+
|
|
70071
|
+
/**
|
|
70072
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
70073
|
+
* given reader into the given message object.
|
|
70074
|
+
* @param {!proto.payment.SettleGuardedGameplayRequest} msg The message object to deserialize into.
|
|
70075
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
70076
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest}
|
|
70077
|
+
*/
|
|
70078
|
+
proto.payment.SettleGuardedGameplayRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
70079
|
+
while (reader.nextField()) {
|
|
70080
|
+
if (reader.isEndGroup()) {
|
|
70081
|
+
break;
|
|
70082
|
+
}
|
|
70083
|
+
var field = reader.getFieldNumber();
|
|
70084
|
+
switch (field) {
|
|
70085
|
+
case 1:
|
|
70086
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
70087
|
+
msg.setProtocolVersion(value);
|
|
70088
|
+
break;
|
|
70089
|
+
case 2:
|
|
70090
|
+
var value = new proto.payment.SettleGameplayRequest;
|
|
70091
|
+
reader.readMessage(value,proto.payment.SettleGameplayRequest.deserializeBinaryFromReader);
|
|
70092
|
+
msg.setSettlement(value);
|
|
70093
|
+
break;
|
|
70094
|
+
case 3:
|
|
70095
|
+
var value = new proto.payment.GameplayProviderScope;
|
|
70096
|
+
reader.readMessage(value,proto.payment.GameplayProviderScope.deserializeBinaryFromReader);
|
|
70097
|
+
msg.setScope(value);
|
|
70098
|
+
break;
|
|
70099
|
+
case 4:
|
|
70100
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70101
|
+
msg.setRoundId(value);
|
|
70102
|
+
break;
|
|
70103
|
+
case 5:
|
|
70104
|
+
var value = new proto.payment.GameplayProviderLegClaim;
|
|
70105
|
+
reader.readMessage(value,proto.payment.GameplayProviderLegClaim.deserializeBinaryFromReader);
|
|
70106
|
+
msg.addClaims(value);
|
|
70107
|
+
break;
|
|
70108
|
+
case 6:
|
|
70109
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70110
|
+
msg.addReversalRefs(value);
|
|
70111
|
+
break;
|
|
70112
|
+
case 7:
|
|
70113
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
70114
|
+
msg.setCloseRound(value);
|
|
70115
|
+
break;
|
|
70116
|
+
default:
|
|
70117
|
+
reader.skipField();
|
|
70118
|
+
break;
|
|
70119
|
+
}
|
|
70120
|
+
}
|
|
70121
|
+
return msg;
|
|
70122
|
+
};
|
|
70123
|
+
|
|
70124
|
+
|
|
70125
|
+
/**
|
|
70126
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
70127
|
+
* @return {!Uint8Array}
|
|
70128
|
+
*/
|
|
70129
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.serializeBinary = function() {
|
|
70130
|
+
var writer = new jspb.BinaryWriter();
|
|
70131
|
+
proto.payment.SettleGuardedGameplayRequest.serializeBinaryToWriter(this, writer);
|
|
70132
|
+
return writer.getResultBuffer();
|
|
70133
|
+
};
|
|
70134
|
+
|
|
70135
|
+
|
|
70136
|
+
/**
|
|
70137
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
70138
|
+
* format), writing to the given BinaryWriter.
|
|
70139
|
+
* @param {!proto.payment.SettleGuardedGameplayRequest} message
|
|
70140
|
+
* @param {!jspb.BinaryWriter} writer
|
|
70141
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70142
|
+
*/
|
|
70143
|
+
proto.payment.SettleGuardedGameplayRequest.serializeBinaryToWriter = function(message, writer) {
|
|
70144
|
+
var f = undefined;
|
|
70145
|
+
f = message.getProtocolVersion();
|
|
70146
|
+
if (f !== 0) {
|
|
70147
|
+
writer.writeUint32(
|
|
70148
|
+
1,
|
|
70149
|
+
f
|
|
70150
|
+
);
|
|
70151
|
+
}
|
|
70152
|
+
f = message.getSettlement();
|
|
70153
|
+
if (f != null) {
|
|
70154
|
+
writer.writeMessage(
|
|
70155
|
+
2,
|
|
70156
|
+
f,
|
|
70157
|
+
proto.payment.SettleGameplayRequest.serializeBinaryToWriter
|
|
70158
|
+
);
|
|
70159
|
+
}
|
|
70160
|
+
f = message.getScope();
|
|
70161
|
+
if (f != null) {
|
|
70162
|
+
writer.writeMessage(
|
|
70163
|
+
3,
|
|
70164
|
+
f,
|
|
70165
|
+
proto.payment.GameplayProviderScope.serializeBinaryToWriter
|
|
70166
|
+
);
|
|
70167
|
+
}
|
|
70168
|
+
f = message.getRoundId();
|
|
70169
|
+
if (f.length > 0) {
|
|
70170
|
+
writer.writeString(
|
|
70171
|
+
4,
|
|
70172
|
+
f
|
|
70173
|
+
);
|
|
70174
|
+
}
|
|
70175
|
+
f = message.getClaimsList();
|
|
70176
|
+
if (f.length > 0) {
|
|
70177
|
+
writer.writeRepeatedMessage(
|
|
70178
|
+
5,
|
|
70179
|
+
f,
|
|
70180
|
+
proto.payment.GameplayProviderLegClaim.serializeBinaryToWriter
|
|
70181
|
+
);
|
|
70182
|
+
}
|
|
70183
|
+
f = message.getReversalRefsList();
|
|
70184
|
+
if (f.length > 0) {
|
|
70185
|
+
writer.writeRepeatedString(
|
|
70186
|
+
6,
|
|
70187
|
+
f
|
|
70188
|
+
);
|
|
70189
|
+
}
|
|
70190
|
+
f = message.getCloseRound();
|
|
70191
|
+
if (f) {
|
|
70192
|
+
writer.writeBool(
|
|
70193
|
+
7,
|
|
70194
|
+
f
|
|
70195
|
+
);
|
|
70196
|
+
}
|
|
70197
|
+
};
|
|
70198
|
+
|
|
70199
|
+
|
|
70200
|
+
/**
|
|
70201
|
+
* optional uint32 protocol_version = 1;
|
|
70202
|
+
* @return {number}
|
|
70203
|
+
*/
|
|
70204
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.getProtocolVersion = function() {
|
|
70205
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
70206
|
+
};
|
|
70207
|
+
|
|
70208
|
+
|
|
70209
|
+
/**
|
|
70210
|
+
* @param {number} value
|
|
70211
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70212
|
+
*/
|
|
70213
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.setProtocolVersion = function(value) {
|
|
70214
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
70215
|
+
};
|
|
70216
|
+
|
|
70217
|
+
|
|
70218
|
+
/**
|
|
70219
|
+
* optional SettleGameplayRequest settlement = 2;
|
|
70220
|
+
* @return {?proto.payment.SettleGameplayRequest}
|
|
70221
|
+
*/
|
|
70222
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.getSettlement = function() {
|
|
70223
|
+
return /** @type{?proto.payment.SettleGameplayRequest} */ (
|
|
70224
|
+
jspb.Message.getWrapperField(this, proto.payment.SettleGameplayRequest, 2));
|
|
70225
|
+
};
|
|
70226
|
+
|
|
70227
|
+
|
|
70228
|
+
/**
|
|
70229
|
+
* @param {?proto.payment.SettleGameplayRequest|undefined} value
|
|
70230
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70231
|
+
*/
|
|
70232
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.setSettlement = function(value) {
|
|
70233
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
70234
|
+
};
|
|
70235
|
+
|
|
70236
|
+
|
|
70237
|
+
/**
|
|
70238
|
+
* Clears the message field making it undefined.
|
|
70239
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70240
|
+
*/
|
|
70241
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.clearSettlement = function() {
|
|
70242
|
+
return this.setSettlement(undefined);
|
|
70243
|
+
};
|
|
70244
|
+
|
|
70245
|
+
|
|
70246
|
+
/**
|
|
70247
|
+
* Returns whether this field is set.
|
|
70248
|
+
* @return {boolean}
|
|
70249
|
+
*/
|
|
70250
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.hasSettlement = function() {
|
|
70251
|
+
return jspb.Message.getField(this, 2) != null;
|
|
70252
|
+
};
|
|
70253
|
+
|
|
70254
|
+
|
|
70255
|
+
/**
|
|
70256
|
+
* optional GameplayProviderScope scope = 3;
|
|
70257
|
+
* @return {?proto.payment.GameplayProviderScope}
|
|
70258
|
+
*/
|
|
70259
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.getScope = function() {
|
|
70260
|
+
return /** @type{?proto.payment.GameplayProviderScope} */ (
|
|
70261
|
+
jspb.Message.getWrapperField(this, proto.payment.GameplayProviderScope, 3));
|
|
70262
|
+
};
|
|
70263
|
+
|
|
70264
|
+
|
|
70265
|
+
/**
|
|
70266
|
+
* @param {?proto.payment.GameplayProviderScope|undefined} value
|
|
70267
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70268
|
+
*/
|
|
70269
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.setScope = function(value) {
|
|
70270
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
70271
|
+
};
|
|
70272
|
+
|
|
70273
|
+
|
|
70274
|
+
/**
|
|
70275
|
+
* Clears the message field making it undefined.
|
|
70276
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70277
|
+
*/
|
|
70278
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.clearScope = function() {
|
|
70279
|
+
return this.setScope(undefined);
|
|
70280
|
+
};
|
|
70281
|
+
|
|
70282
|
+
|
|
70283
|
+
/**
|
|
70284
|
+
* Returns whether this field is set.
|
|
70285
|
+
* @return {boolean}
|
|
70286
|
+
*/
|
|
70287
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.hasScope = function() {
|
|
70288
|
+
return jspb.Message.getField(this, 3) != null;
|
|
70289
|
+
};
|
|
70290
|
+
|
|
70291
|
+
|
|
70292
|
+
/**
|
|
70293
|
+
* optional string round_id = 4;
|
|
70294
|
+
* @return {string}
|
|
70295
|
+
*/
|
|
70296
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.getRoundId = function() {
|
|
70297
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
70298
|
+
};
|
|
70299
|
+
|
|
70300
|
+
|
|
70301
|
+
/**
|
|
70302
|
+
* @param {string} value
|
|
70303
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70304
|
+
*/
|
|
70305
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.setRoundId = function(value) {
|
|
70306
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
70307
|
+
};
|
|
70308
|
+
|
|
70309
|
+
|
|
70310
|
+
/**
|
|
70311
|
+
* repeated GameplayProviderLegClaim claims = 5;
|
|
70312
|
+
* @return {!Array<!proto.payment.GameplayProviderLegClaim>}
|
|
70313
|
+
*/
|
|
70314
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.getClaimsList = function() {
|
|
70315
|
+
return /** @type{!Array<!proto.payment.GameplayProviderLegClaim>} */ (
|
|
70316
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.GameplayProviderLegClaim, 5));
|
|
70317
|
+
};
|
|
70318
|
+
|
|
70319
|
+
|
|
70320
|
+
/**
|
|
70321
|
+
* @param {!Array<!proto.payment.GameplayProviderLegClaim>} value
|
|
70322
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70323
|
+
*/
|
|
70324
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.setClaimsList = function(value) {
|
|
70325
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
70326
|
+
};
|
|
70327
|
+
|
|
70328
|
+
|
|
70329
|
+
/**
|
|
70330
|
+
* @param {!proto.payment.GameplayProviderLegClaim=} opt_value
|
|
70331
|
+
* @param {number=} opt_index
|
|
70332
|
+
* @return {!proto.payment.GameplayProviderLegClaim}
|
|
70333
|
+
*/
|
|
70334
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.addClaims = function(opt_value, opt_index) {
|
|
70335
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.payment.GameplayProviderLegClaim, opt_index);
|
|
70336
|
+
};
|
|
70337
|
+
|
|
70338
|
+
|
|
70339
|
+
/**
|
|
70340
|
+
* Clears the list making it empty but non-null.
|
|
70341
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70342
|
+
*/
|
|
70343
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.clearClaimsList = function() {
|
|
70344
|
+
return this.setClaimsList([]);
|
|
70345
|
+
};
|
|
70346
|
+
|
|
70347
|
+
|
|
70348
|
+
/**
|
|
70349
|
+
* repeated string reversal_refs = 6;
|
|
70350
|
+
* @return {!Array<string>}
|
|
70351
|
+
*/
|
|
70352
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.getReversalRefsList = function() {
|
|
70353
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
70354
|
+
};
|
|
70355
|
+
|
|
70356
|
+
|
|
70357
|
+
/**
|
|
70358
|
+
* @param {!Array<string>} value
|
|
70359
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70360
|
+
*/
|
|
70361
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.setReversalRefsList = function(value) {
|
|
70362
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
70363
|
+
};
|
|
70364
|
+
|
|
70365
|
+
|
|
70366
|
+
/**
|
|
70367
|
+
* @param {string} value
|
|
70368
|
+
* @param {number=} opt_index
|
|
70369
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70370
|
+
*/
|
|
70371
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.addReversalRefs = function(value, opt_index) {
|
|
70372
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
70373
|
+
};
|
|
70374
|
+
|
|
70375
|
+
|
|
70376
|
+
/**
|
|
70377
|
+
* Clears the list making it empty but non-null.
|
|
70378
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70379
|
+
*/
|
|
70380
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.clearReversalRefsList = function() {
|
|
70381
|
+
return this.setReversalRefsList([]);
|
|
70382
|
+
};
|
|
70383
|
+
|
|
70384
|
+
|
|
70385
|
+
/**
|
|
70386
|
+
* optional bool close_round = 7;
|
|
70387
|
+
* @return {boolean}
|
|
70388
|
+
*/
|
|
70389
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.getCloseRound = function() {
|
|
70390
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
70391
|
+
};
|
|
70392
|
+
|
|
70393
|
+
|
|
70394
|
+
/**
|
|
70395
|
+
* @param {boolean} value
|
|
70396
|
+
* @return {!proto.payment.SettleGuardedGameplayRequest} returns this
|
|
70397
|
+
*/
|
|
70398
|
+
proto.payment.SettleGuardedGameplayRequest.prototype.setCloseRound = function(value) {
|
|
70399
|
+
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
70400
|
+
};
|
|
70401
|
+
|
|
70402
|
+
|
|
70403
|
+
/**
|
|
70404
|
+
* @enum {number}
|
|
70405
|
+
*/
|
|
70406
|
+
proto.payment.GameplayPrecisionPrepareMode = {
|
|
70407
|
+
GAMEPLAY_PRECISION_PREPARE_UNSPECIFIED: 0,
|
|
70408
|
+
GAMEPLAY_PRECISION_PREPARE_INITIAL: 1,
|
|
70409
|
+
GAMEPLAY_PRECISION_REPREPARE: 2
|
|
70410
|
+
};
|
|
70411
|
+
|
|
70412
|
+
/**
|
|
70413
|
+
* @enum {number}
|
|
70414
|
+
*/
|
|
70415
|
+
proto.payment.GameplayProviderIdentityKind = {
|
|
70416
|
+
GAMEPLAY_PROVIDER_IDENTITY_UNSPECIFIED: 0,
|
|
70417
|
+
GAMEPLAY_PROVIDER_TRANSACTION: 1,
|
|
70418
|
+
GAMEPLAY_PROVIDER_ROUND: 2
|
|
70419
|
+
};
|
|
70420
|
+
|
|
70421
|
+
/**
|
|
70422
|
+
* @enum {number}
|
|
70423
|
+
*/
|
|
70424
|
+
proto.payment.GameplayProviderIdentityState = {
|
|
70425
|
+
GAMEPLAY_PROVIDER_STATE_UNSPECIFIED: 0,
|
|
70426
|
+
GAMEPLAY_PROVIDER_ABSENT: 1,
|
|
70427
|
+
GAMEPLAY_PROVIDER_FENCED: 2,
|
|
70428
|
+
GAMEPLAY_PROVIDER_BOUND: 3
|
|
68052
70429
|
};
|
|
68053
70430
|
|
|
68054
70431
|
goog.object.extend(exports, proto.payment);
|