protobuf-platform 1.2.658 → 1.2.659
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/payment/payment.proto +68 -1
- package/payment/payment_grpc_pb.js +33 -0
- package/payment/payment_pb.js +2221 -3
- package/scripts/verify-precision-rg-contract.js +180 -0
- package/user/user.proto +57 -1
- package/user/user_grpc_pb.js +33 -0
- package/user/user_pb.js +1188 -0
package/user/user_pb.js
CHANGED
|
@@ -117,6 +117,12 @@ goog.exportSymbol('proto.user.NoteStatusResponse', null, global);
|
|
|
117
117
|
goog.exportSymbol('proto.user.PaginationRequest', null, global);
|
|
118
118
|
goog.exportSymbol('proto.user.PingRequest', null, global);
|
|
119
119
|
goog.exportSymbol('proto.user.PongResponse', null, global);
|
|
120
|
+
goog.exportSymbol('proto.user.PrecisionRgAction', null, global);
|
|
121
|
+
goog.exportSymbol('proto.user.PrecisionRgAdmissionRequest', null, global);
|
|
122
|
+
goog.exportSymbol('proto.user.PrecisionRgAdmissionResponse', null, global);
|
|
123
|
+
goog.exportSymbol('proto.user.PrecisionRgBinding', null, global);
|
|
124
|
+
goog.exportSymbol('proto.user.PrecisionRgOutcome', null, global);
|
|
125
|
+
goog.exportSymbol('proto.user.PrecisionRgState', null, global);
|
|
120
126
|
goog.exportSymbol('proto.user.PrepareUserKycVerificationRequest', null, global);
|
|
121
127
|
goog.exportSymbol('proto.user.PrepareUserKycVerificationResponse', null, global);
|
|
122
128
|
goog.exportSymbol('proto.user.PresetItem', null, global);
|
|
@@ -6372,6 +6378,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
6372
6378
|
*/
|
|
6373
6379
|
proto.user.UpdateResponsibleGamingTimeUsageResponse.displayName = 'proto.user.UpdateResponsibleGamingTimeUsageResponse';
|
|
6374
6380
|
}
|
|
6381
|
+
/**
|
|
6382
|
+
* Generated by JsPbCodeGenerator.
|
|
6383
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6384
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6385
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6386
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6387
|
+
* valid.
|
|
6388
|
+
* @extends {jspb.Message}
|
|
6389
|
+
* @constructor
|
|
6390
|
+
*/
|
|
6391
|
+
proto.user.PrecisionRgBinding = function(opt_data) {
|
|
6392
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6393
|
+
};
|
|
6394
|
+
goog.inherits(proto.user.PrecisionRgBinding, jspb.Message);
|
|
6395
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6396
|
+
/**
|
|
6397
|
+
* @public
|
|
6398
|
+
* @override
|
|
6399
|
+
*/
|
|
6400
|
+
proto.user.PrecisionRgBinding.displayName = 'proto.user.PrecisionRgBinding';
|
|
6401
|
+
}
|
|
6402
|
+
/**
|
|
6403
|
+
* Generated by JsPbCodeGenerator.
|
|
6404
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6405
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6406
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6407
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6408
|
+
* valid.
|
|
6409
|
+
* @extends {jspb.Message}
|
|
6410
|
+
* @constructor
|
|
6411
|
+
*/
|
|
6412
|
+
proto.user.PrecisionRgAdmissionRequest = function(opt_data) {
|
|
6413
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6414
|
+
};
|
|
6415
|
+
goog.inherits(proto.user.PrecisionRgAdmissionRequest, jspb.Message);
|
|
6416
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6417
|
+
/**
|
|
6418
|
+
* @public
|
|
6419
|
+
* @override
|
|
6420
|
+
*/
|
|
6421
|
+
proto.user.PrecisionRgAdmissionRequest.displayName = 'proto.user.PrecisionRgAdmissionRequest';
|
|
6422
|
+
}
|
|
6423
|
+
/**
|
|
6424
|
+
* Generated by JsPbCodeGenerator.
|
|
6425
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6426
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6427
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6428
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6429
|
+
* valid.
|
|
6430
|
+
* @extends {jspb.Message}
|
|
6431
|
+
* @constructor
|
|
6432
|
+
*/
|
|
6433
|
+
proto.user.PrecisionRgAdmissionResponse = function(opt_data) {
|
|
6434
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6435
|
+
};
|
|
6436
|
+
goog.inherits(proto.user.PrecisionRgAdmissionResponse, jspb.Message);
|
|
6437
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6438
|
+
/**
|
|
6439
|
+
* @public
|
|
6440
|
+
* @override
|
|
6441
|
+
*/
|
|
6442
|
+
proto.user.PrecisionRgAdmissionResponse.displayName = 'proto.user.PrecisionRgAdmissionResponse';
|
|
6443
|
+
}
|
|
6375
6444
|
|
|
6376
6445
|
|
|
6377
6446
|
|
|
@@ -105096,6 +105165,1089 @@ proto.user.UpdateResponsibleGamingTimeUsageResponse.prototype.hasDecisionDetails
|
|
|
105096
105165
|
};
|
|
105097
105166
|
|
|
105098
105167
|
|
|
105168
|
+
|
|
105169
|
+
|
|
105170
|
+
|
|
105171
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
105172
|
+
/**
|
|
105173
|
+
* Creates an object representation of this proto.
|
|
105174
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
105175
|
+
* Optional fields that are not set will be set to undefined.
|
|
105176
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
105177
|
+
* For the list of reserved names please see:
|
|
105178
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
105179
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
105180
|
+
* JSPB instance for transitional soy proto support:
|
|
105181
|
+
* http://goto/soy-param-migration
|
|
105182
|
+
* @return {!Object}
|
|
105183
|
+
*/
|
|
105184
|
+
proto.user.PrecisionRgBinding.prototype.toObject = function(opt_includeInstance) {
|
|
105185
|
+
return proto.user.PrecisionRgBinding.toObject(opt_includeInstance, this);
|
|
105186
|
+
};
|
|
105187
|
+
|
|
105188
|
+
|
|
105189
|
+
/**
|
|
105190
|
+
* Static version of the {@see toObject} method.
|
|
105191
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
105192
|
+
* the JSPB instance for transitional soy proto support:
|
|
105193
|
+
* http://goto/soy-param-migration
|
|
105194
|
+
* @param {!proto.user.PrecisionRgBinding} msg The msg instance to transform.
|
|
105195
|
+
* @return {!Object}
|
|
105196
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
105197
|
+
*/
|
|
105198
|
+
proto.user.PrecisionRgBinding.toObject = function(includeInstance, msg) {
|
|
105199
|
+
var f, obj = {
|
|
105200
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
105201
|
+
commandKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
105202
|
+
requestFingerprint: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
105203
|
+
precisionSessionId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
105204
|
+
preparationGeneration: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
105205
|
+
preparationFingerprint: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
105206
|
+
accountingCurrency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
105207
|
+
accountingScale: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
105208
|
+
requestedDebitMinor: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
105209
|
+
gameSessionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
105210
|
+
providerTransactionId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
105211
|
+
roundId: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
105212
|
+
};
|
|
105213
|
+
|
|
105214
|
+
if (includeInstance) {
|
|
105215
|
+
obj.$jspbMessageInstance = msg;
|
|
105216
|
+
}
|
|
105217
|
+
return obj;
|
|
105218
|
+
};
|
|
105219
|
+
}
|
|
105220
|
+
|
|
105221
|
+
|
|
105222
|
+
/**
|
|
105223
|
+
* Deserializes binary data (in protobuf wire format).
|
|
105224
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
105225
|
+
* @return {!proto.user.PrecisionRgBinding}
|
|
105226
|
+
*/
|
|
105227
|
+
proto.user.PrecisionRgBinding.deserializeBinary = function(bytes) {
|
|
105228
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
105229
|
+
var msg = new proto.user.PrecisionRgBinding;
|
|
105230
|
+
return proto.user.PrecisionRgBinding.deserializeBinaryFromReader(msg, reader);
|
|
105231
|
+
};
|
|
105232
|
+
|
|
105233
|
+
|
|
105234
|
+
/**
|
|
105235
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
105236
|
+
* given reader into the given message object.
|
|
105237
|
+
* @param {!proto.user.PrecisionRgBinding} msg The message object to deserialize into.
|
|
105238
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
105239
|
+
* @return {!proto.user.PrecisionRgBinding}
|
|
105240
|
+
*/
|
|
105241
|
+
proto.user.PrecisionRgBinding.deserializeBinaryFromReader = function(msg, reader) {
|
|
105242
|
+
while (reader.nextField()) {
|
|
105243
|
+
if (reader.isEndGroup()) {
|
|
105244
|
+
break;
|
|
105245
|
+
}
|
|
105246
|
+
var field = reader.getFieldNumber();
|
|
105247
|
+
switch (field) {
|
|
105248
|
+
case 1:
|
|
105249
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105250
|
+
msg.setUserId(value);
|
|
105251
|
+
break;
|
|
105252
|
+
case 2:
|
|
105253
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105254
|
+
msg.setCommandKey(value);
|
|
105255
|
+
break;
|
|
105256
|
+
case 3:
|
|
105257
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105258
|
+
msg.setRequestFingerprint(value);
|
|
105259
|
+
break;
|
|
105260
|
+
case 4:
|
|
105261
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105262
|
+
msg.setPrecisionSessionId(value);
|
|
105263
|
+
break;
|
|
105264
|
+
case 5:
|
|
105265
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105266
|
+
msg.setPreparationGeneration(value);
|
|
105267
|
+
break;
|
|
105268
|
+
case 6:
|
|
105269
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105270
|
+
msg.setPreparationFingerprint(value);
|
|
105271
|
+
break;
|
|
105272
|
+
case 7:
|
|
105273
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105274
|
+
msg.setAccountingCurrency(value);
|
|
105275
|
+
break;
|
|
105276
|
+
case 8:
|
|
105277
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
105278
|
+
msg.setAccountingScale(value);
|
|
105279
|
+
break;
|
|
105280
|
+
case 9:
|
|
105281
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105282
|
+
msg.setRequestedDebitMinor(value);
|
|
105283
|
+
break;
|
|
105284
|
+
case 10:
|
|
105285
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105286
|
+
msg.setGameSessionId(value);
|
|
105287
|
+
break;
|
|
105288
|
+
case 11:
|
|
105289
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105290
|
+
msg.setProviderTransactionId(value);
|
|
105291
|
+
break;
|
|
105292
|
+
case 12:
|
|
105293
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105294
|
+
msg.setRoundId(value);
|
|
105295
|
+
break;
|
|
105296
|
+
default:
|
|
105297
|
+
reader.skipField();
|
|
105298
|
+
break;
|
|
105299
|
+
}
|
|
105300
|
+
}
|
|
105301
|
+
return msg;
|
|
105302
|
+
};
|
|
105303
|
+
|
|
105304
|
+
|
|
105305
|
+
/**
|
|
105306
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
105307
|
+
* @return {!Uint8Array}
|
|
105308
|
+
*/
|
|
105309
|
+
proto.user.PrecisionRgBinding.prototype.serializeBinary = function() {
|
|
105310
|
+
var writer = new jspb.BinaryWriter();
|
|
105311
|
+
proto.user.PrecisionRgBinding.serializeBinaryToWriter(this, writer);
|
|
105312
|
+
return writer.getResultBuffer();
|
|
105313
|
+
};
|
|
105314
|
+
|
|
105315
|
+
|
|
105316
|
+
/**
|
|
105317
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
105318
|
+
* format), writing to the given BinaryWriter.
|
|
105319
|
+
* @param {!proto.user.PrecisionRgBinding} message
|
|
105320
|
+
* @param {!jspb.BinaryWriter} writer
|
|
105321
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
105322
|
+
*/
|
|
105323
|
+
proto.user.PrecisionRgBinding.serializeBinaryToWriter = function(message, writer) {
|
|
105324
|
+
var f = undefined;
|
|
105325
|
+
f = message.getUserId();
|
|
105326
|
+
if (f.length > 0) {
|
|
105327
|
+
writer.writeString(
|
|
105328
|
+
1,
|
|
105329
|
+
f
|
|
105330
|
+
);
|
|
105331
|
+
}
|
|
105332
|
+
f = message.getCommandKey();
|
|
105333
|
+
if (f.length > 0) {
|
|
105334
|
+
writer.writeString(
|
|
105335
|
+
2,
|
|
105336
|
+
f
|
|
105337
|
+
);
|
|
105338
|
+
}
|
|
105339
|
+
f = message.getRequestFingerprint();
|
|
105340
|
+
if (f.length > 0) {
|
|
105341
|
+
writer.writeString(
|
|
105342
|
+
3,
|
|
105343
|
+
f
|
|
105344
|
+
);
|
|
105345
|
+
}
|
|
105346
|
+
f = message.getPrecisionSessionId();
|
|
105347
|
+
if (f.length > 0) {
|
|
105348
|
+
writer.writeString(
|
|
105349
|
+
4,
|
|
105350
|
+
f
|
|
105351
|
+
);
|
|
105352
|
+
}
|
|
105353
|
+
f = message.getPreparationGeneration();
|
|
105354
|
+
if (f.length > 0) {
|
|
105355
|
+
writer.writeString(
|
|
105356
|
+
5,
|
|
105357
|
+
f
|
|
105358
|
+
);
|
|
105359
|
+
}
|
|
105360
|
+
f = message.getPreparationFingerprint();
|
|
105361
|
+
if (f.length > 0) {
|
|
105362
|
+
writer.writeString(
|
|
105363
|
+
6,
|
|
105364
|
+
f
|
|
105365
|
+
);
|
|
105366
|
+
}
|
|
105367
|
+
f = message.getAccountingCurrency();
|
|
105368
|
+
if (f.length > 0) {
|
|
105369
|
+
writer.writeString(
|
|
105370
|
+
7,
|
|
105371
|
+
f
|
|
105372
|
+
);
|
|
105373
|
+
}
|
|
105374
|
+
f = message.getAccountingScale();
|
|
105375
|
+
if (f !== 0) {
|
|
105376
|
+
writer.writeUint32(
|
|
105377
|
+
8,
|
|
105378
|
+
f
|
|
105379
|
+
);
|
|
105380
|
+
}
|
|
105381
|
+
f = message.getRequestedDebitMinor();
|
|
105382
|
+
if (f.length > 0) {
|
|
105383
|
+
writer.writeString(
|
|
105384
|
+
9,
|
|
105385
|
+
f
|
|
105386
|
+
);
|
|
105387
|
+
}
|
|
105388
|
+
f = message.getGameSessionId();
|
|
105389
|
+
if (f.length > 0) {
|
|
105390
|
+
writer.writeString(
|
|
105391
|
+
10,
|
|
105392
|
+
f
|
|
105393
|
+
);
|
|
105394
|
+
}
|
|
105395
|
+
f = message.getProviderTransactionId();
|
|
105396
|
+
if (f.length > 0) {
|
|
105397
|
+
writer.writeString(
|
|
105398
|
+
11,
|
|
105399
|
+
f
|
|
105400
|
+
);
|
|
105401
|
+
}
|
|
105402
|
+
f = message.getRoundId();
|
|
105403
|
+
if (f.length > 0) {
|
|
105404
|
+
writer.writeString(
|
|
105405
|
+
12,
|
|
105406
|
+
f
|
|
105407
|
+
);
|
|
105408
|
+
}
|
|
105409
|
+
};
|
|
105410
|
+
|
|
105411
|
+
|
|
105412
|
+
/**
|
|
105413
|
+
* optional string user_id = 1;
|
|
105414
|
+
* @return {string}
|
|
105415
|
+
*/
|
|
105416
|
+
proto.user.PrecisionRgBinding.prototype.getUserId = function() {
|
|
105417
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
105418
|
+
};
|
|
105419
|
+
|
|
105420
|
+
|
|
105421
|
+
/**
|
|
105422
|
+
* @param {string} value
|
|
105423
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105424
|
+
*/
|
|
105425
|
+
proto.user.PrecisionRgBinding.prototype.setUserId = function(value) {
|
|
105426
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
105427
|
+
};
|
|
105428
|
+
|
|
105429
|
+
|
|
105430
|
+
/**
|
|
105431
|
+
* optional string command_key = 2;
|
|
105432
|
+
* @return {string}
|
|
105433
|
+
*/
|
|
105434
|
+
proto.user.PrecisionRgBinding.prototype.getCommandKey = function() {
|
|
105435
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
105436
|
+
};
|
|
105437
|
+
|
|
105438
|
+
|
|
105439
|
+
/**
|
|
105440
|
+
* @param {string} value
|
|
105441
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105442
|
+
*/
|
|
105443
|
+
proto.user.PrecisionRgBinding.prototype.setCommandKey = function(value) {
|
|
105444
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
105445
|
+
};
|
|
105446
|
+
|
|
105447
|
+
|
|
105448
|
+
/**
|
|
105449
|
+
* optional string request_fingerprint = 3;
|
|
105450
|
+
* @return {string}
|
|
105451
|
+
*/
|
|
105452
|
+
proto.user.PrecisionRgBinding.prototype.getRequestFingerprint = function() {
|
|
105453
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
105454
|
+
};
|
|
105455
|
+
|
|
105456
|
+
|
|
105457
|
+
/**
|
|
105458
|
+
* @param {string} value
|
|
105459
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105460
|
+
*/
|
|
105461
|
+
proto.user.PrecisionRgBinding.prototype.setRequestFingerprint = function(value) {
|
|
105462
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
105463
|
+
};
|
|
105464
|
+
|
|
105465
|
+
|
|
105466
|
+
/**
|
|
105467
|
+
* optional string precision_session_id = 4;
|
|
105468
|
+
* @return {string}
|
|
105469
|
+
*/
|
|
105470
|
+
proto.user.PrecisionRgBinding.prototype.getPrecisionSessionId = function() {
|
|
105471
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
105472
|
+
};
|
|
105473
|
+
|
|
105474
|
+
|
|
105475
|
+
/**
|
|
105476
|
+
* @param {string} value
|
|
105477
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105478
|
+
*/
|
|
105479
|
+
proto.user.PrecisionRgBinding.prototype.setPrecisionSessionId = function(value) {
|
|
105480
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
105481
|
+
};
|
|
105482
|
+
|
|
105483
|
+
|
|
105484
|
+
/**
|
|
105485
|
+
* optional string preparation_generation = 5;
|
|
105486
|
+
* @return {string}
|
|
105487
|
+
*/
|
|
105488
|
+
proto.user.PrecisionRgBinding.prototype.getPreparationGeneration = function() {
|
|
105489
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
105490
|
+
};
|
|
105491
|
+
|
|
105492
|
+
|
|
105493
|
+
/**
|
|
105494
|
+
* @param {string} value
|
|
105495
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105496
|
+
*/
|
|
105497
|
+
proto.user.PrecisionRgBinding.prototype.setPreparationGeneration = function(value) {
|
|
105498
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
105499
|
+
};
|
|
105500
|
+
|
|
105501
|
+
|
|
105502
|
+
/**
|
|
105503
|
+
* optional string preparation_fingerprint = 6;
|
|
105504
|
+
* @return {string}
|
|
105505
|
+
*/
|
|
105506
|
+
proto.user.PrecisionRgBinding.prototype.getPreparationFingerprint = function() {
|
|
105507
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
105508
|
+
};
|
|
105509
|
+
|
|
105510
|
+
|
|
105511
|
+
/**
|
|
105512
|
+
* @param {string} value
|
|
105513
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105514
|
+
*/
|
|
105515
|
+
proto.user.PrecisionRgBinding.prototype.setPreparationFingerprint = function(value) {
|
|
105516
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
105517
|
+
};
|
|
105518
|
+
|
|
105519
|
+
|
|
105520
|
+
/**
|
|
105521
|
+
* optional string accounting_currency = 7;
|
|
105522
|
+
* @return {string}
|
|
105523
|
+
*/
|
|
105524
|
+
proto.user.PrecisionRgBinding.prototype.getAccountingCurrency = function() {
|
|
105525
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
105526
|
+
};
|
|
105527
|
+
|
|
105528
|
+
|
|
105529
|
+
/**
|
|
105530
|
+
* @param {string} value
|
|
105531
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105532
|
+
*/
|
|
105533
|
+
proto.user.PrecisionRgBinding.prototype.setAccountingCurrency = function(value) {
|
|
105534
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
105535
|
+
};
|
|
105536
|
+
|
|
105537
|
+
|
|
105538
|
+
/**
|
|
105539
|
+
* optional uint32 accounting_scale = 8;
|
|
105540
|
+
* @return {number}
|
|
105541
|
+
*/
|
|
105542
|
+
proto.user.PrecisionRgBinding.prototype.getAccountingScale = function() {
|
|
105543
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
105544
|
+
};
|
|
105545
|
+
|
|
105546
|
+
|
|
105547
|
+
/**
|
|
105548
|
+
* @param {number} value
|
|
105549
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105550
|
+
*/
|
|
105551
|
+
proto.user.PrecisionRgBinding.prototype.setAccountingScale = function(value) {
|
|
105552
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
105553
|
+
};
|
|
105554
|
+
|
|
105555
|
+
|
|
105556
|
+
/**
|
|
105557
|
+
* optional string requested_debit_minor = 9;
|
|
105558
|
+
* @return {string}
|
|
105559
|
+
*/
|
|
105560
|
+
proto.user.PrecisionRgBinding.prototype.getRequestedDebitMinor = function() {
|
|
105561
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
105562
|
+
};
|
|
105563
|
+
|
|
105564
|
+
|
|
105565
|
+
/**
|
|
105566
|
+
* @param {string} value
|
|
105567
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105568
|
+
*/
|
|
105569
|
+
proto.user.PrecisionRgBinding.prototype.setRequestedDebitMinor = function(value) {
|
|
105570
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
105571
|
+
};
|
|
105572
|
+
|
|
105573
|
+
|
|
105574
|
+
/**
|
|
105575
|
+
* optional string game_session_id = 10;
|
|
105576
|
+
* @return {string}
|
|
105577
|
+
*/
|
|
105578
|
+
proto.user.PrecisionRgBinding.prototype.getGameSessionId = function() {
|
|
105579
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
105580
|
+
};
|
|
105581
|
+
|
|
105582
|
+
|
|
105583
|
+
/**
|
|
105584
|
+
* @param {string} value
|
|
105585
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105586
|
+
*/
|
|
105587
|
+
proto.user.PrecisionRgBinding.prototype.setGameSessionId = function(value) {
|
|
105588
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
105589
|
+
};
|
|
105590
|
+
|
|
105591
|
+
|
|
105592
|
+
/**
|
|
105593
|
+
* optional string provider_transaction_id = 11;
|
|
105594
|
+
* @return {string}
|
|
105595
|
+
*/
|
|
105596
|
+
proto.user.PrecisionRgBinding.prototype.getProviderTransactionId = function() {
|
|
105597
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
105598
|
+
};
|
|
105599
|
+
|
|
105600
|
+
|
|
105601
|
+
/**
|
|
105602
|
+
* @param {string} value
|
|
105603
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105604
|
+
*/
|
|
105605
|
+
proto.user.PrecisionRgBinding.prototype.setProviderTransactionId = function(value) {
|
|
105606
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
105607
|
+
};
|
|
105608
|
+
|
|
105609
|
+
|
|
105610
|
+
/**
|
|
105611
|
+
* optional string round_id = 12;
|
|
105612
|
+
* @return {string}
|
|
105613
|
+
*/
|
|
105614
|
+
proto.user.PrecisionRgBinding.prototype.getRoundId = function() {
|
|
105615
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
105616
|
+
};
|
|
105617
|
+
|
|
105618
|
+
|
|
105619
|
+
/**
|
|
105620
|
+
* @param {string} value
|
|
105621
|
+
* @return {!proto.user.PrecisionRgBinding} returns this
|
|
105622
|
+
*/
|
|
105623
|
+
proto.user.PrecisionRgBinding.prototype.setRoundId = function(value) {
|
|
105624
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
105625
|
+
};
|
|
105626
|
+
|
|
105627
|
+
|
|
105628
|
+
|
|
105629
|
+
|
|
105630
|
+
|
|
105631
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
105632
|
+
/**
|
|
105633
|
+
* Creates an object representation of this proto.
|
|
105634
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
105635
|
+
* Optional fields that are not set will be set to undefined.
|
|
105636
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
105637
|
+
* For the list of reserved names please see:
|
|
105638
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
105639
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
105640
|
+
* JSPB instance for transitional soy proto support:
|
|
105641
|
+
* http://goto/soy-param-migration
|
|
105642
|
+
* @return {!Object}
|
|
105643
|
+
*/
|
|
105644
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
105645
|
+
return proto.user.PrecisionRgAdmissionRequest.toObject(opt_includeInstance, this);
|
|
105646
|
+
};
|
|
105647
|
+
|
|
105648
|
+
|
|
105649
|
+
/**
|
|
105650
|
+
* Static version of the {@see toObject} method.
|
|
105651
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
105652
|
+
* the JSPB instance for transitional soy proto support:
|
|
105653
|
+
* http://goto/soy-param-migration
|
|
105654
|
+
* @param {!proto.user.PrecisionRgAdmissionRequest} msg The msg instance to transform.
|
|
105655
|
+
* @return {!Object}
|
|
105656
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
105657
|
+
*/
|
|
105658
|
+
proto.user.PrecisionRgAdmissionRequest.toObject = function(includeInstance, msg) {
|
|
105659
|
+
var f, obj = {
|
|
105660
|
+
action: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
105661
|
+
binding: (f = msg.getBinding()) && proto.user.PrecisionRgBinding.toObject(includeInstance, f),
|
|
105662
|
+
previousReleaseReceiptId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
105663
|
+
admissionReceiptId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
105664
|
+
};
|
|
105665
|
+
|
|
105666
|
+
if (includeInstance) {
|
|
105667
|
+
obj.$jspbMessageInstance = msg;
|
|
105668
|
+
}
|
|
105669
|
+
return obj;
|
|
105670
|
+
};
|
|
105671
|
+
}
|
|
105672
|
+
|
|
105673
|
+
|
|
105674
|
+
/**
|
|
105675
|
+
* Deserializes binary data (in protobuf wire format).
|
|
105676
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
105677
|
+
* @return {!proto.user.PrecisionRgAdmissionRequest}
|
|
105678
|
+
*/
|
|
105679
|
+
proto.user.PrecisionRgAdmissionRequest.deserializeBinary = function(bytes) {
|
|
105680
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
105681
|
+
var msg = new proto.user.PrecisionRgAdmissionRequest;
|
|
105682
|
+
return proto.user.PrecisionRgAdmissionRequest.deserializeBinaryFromReader(msg, reader);
|
|
105683
|
+
};
|
|
105684
|
+
|
|
105685
|
+
|
|
105686
|
+
/**
|
|
105687
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
105688
|
+
* given reader into the given message object.
|
|
105689
|
+
* @param {!proto.user.PrecisionRgAdmissionRequest} msg The message object to deserialize into.
|
|
105690
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
105691
|
+
* @return {!proto.user.PrecisionRgAdmissionRequest}
|
|
105692
|
+
*/
|
|
105693
|
+
proto.user.PrecisionRgAdmissionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
105694
|
+
while (reader.nextField()) {
|
|
105695
|
+
if (reader.isEndGroup()) {
|
|
105696
|
+
break;
|
|
105697
|
+
}
|
|
105698
|
+
var field = reader.getFieldNumber();
|
|
105699
|
+
switch (field) {
|
|
105700
|
+
case 1:
|
|
105701
|
+
var value = /** @type {!proto.user.PrecisionRgAction} */ (reader.readEnum());
|
|
105702
|
+
msg.setAction(value);
|
|
105703
|
+
break;
|
|
105704
|
+
case 2:
|
|
105705
|
+
var value = new proto.user.PrecisionRgBinding;
|
|
105706
|
+
reader.readMessage(value,proto.user.PrecisionRgBinding.deserializeBinaryFromReader);
|
|
105707
|
+
msg.setBinding(value);
|
|
105708
|
+
break;
|
|
105709
|
+
case 3:
|
|
105710
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105711
|
+
msg.setPreviousReleaseReceiptId(value);
|
|
105712
|
+
break;
|
|
105713
|
+
case 4:
|
|
105714
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105715
|
+
msg.setAdmissionReceiptId(value);
|
|
105716
|
+
break;
|
|
105717
|
+
default:
|
|
105718
|
+
reader.skipField();
|
|
105719
|
+
break;
|
|
105720
|
+
}
|
|
105721
|
+
}
|
|
105722
|
+
return msg;
|
|
105723
|
+
};
|
|
105724
|
+
|
|
105725
|
+
|
|
105726
|
+
/**
|
|
105727
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
105728
|
+
* @return {!Uint8Array}
|
|
105729
|
+
*/
|
|
105730
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.serializeBinary = function() {
|
|
105731
|
+
var writer = new jspb.BinaryWriter();
|
|
105732
|
+
proto.user.PrecisionRgAdmissionRequest.serializeBinaryToWriter(this, writer);
|
|
105733
|
+
return writer.getResultBuffer();
|
|
105734
|
+
};
|
|
105735
|
+
|
|
105736
|
+
|
|
105737
|
+
/**
|
|
105738
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
105739
|
+
* format), writing to the given BinaryWriter.
|
|
105740
|
+
* @param {!proto.user.PrecisionRgAdmissionRequest} message
|
|
105741
|
+
* @param {!jspb.BinaryWriter} writer
|
|
105742
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
105743
|
+
*/
|
|
105744
|
+
proto.user.PrecisionRgAdmissionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
105745
|
+
var f = undefined;
|
|
105746
|
+
f = message.getAction();
|
|
105747
|
+
if (f !== 0.0) {
|
|
105748
|
+
writer.writeEnum(
|
|
105749
|
+
1,
|
|
105750
|
+
f
|
|
105751
|
+
);
|
|
105752
|
+
}
|
|
105753
|
+
f = message.getBinding();
|
|
105754
|
+
if (f != null) {
|
|
105755
|
+
writer.writeMessage(
|
|
105756
|
+
2,
|
|
105757
|
+
f,
|
|
105758
|
+
proto.user.PrecisionRgBinding.serializeBinaryToWriter
|
|
105759
|
+
);
|
|
105760
|
+
}
|
|
105761
|
+
f = message.getPreviousReleaseReceiptId();
|
|
105762
|
+
if (f.length > 0) {
|
|
105763
|
+
writer.writeString(
|
|
105764
|
+
3,
|
|
105765
|
+
f
|
|
105766
|
+
);
|
|
105767
|
+
}
|
|
105768
|
+
f = message.getAdmissionReceiptId();
|
|
105769
|
+
if (f.length > 0) {
|
|
105770
|
+
writer.writeString(
|
|
105771
|
+
4,
|
|
105772
|
+
f
|
|
105773
|
+
);
|
|
105774
|
+
}
|
|
105775
|
+
};
|
|
105776
|
+
|
|
105777
|
+
|
|
105778
|
+
/**
|
|
105779
|
+
* optional PrecisionRgAction action = 1;
|
|
105780
|
+
* @return {!proto.user.PrecisionRgAction}
|
|
105781
|
+
*/
|
|
105782
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.getAction = function() {
|
|
105783
|
+
return /** @type {!proto.user.PrecisionRgAction} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
105784
|
+
};
|
|
105785
|
+
|
|
105786
|
+
|
|
105787
|
+
/**
|
|
105788
|
+
* @param {!proto.user.PrecisionRgAction} value
|
|
105789
|
+
* @return {!proto.user.PrecisionRgAdmissionRequest} returns this
|
|
105790
|
+
*/
|
|
105791
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.setAction = function(value) {
|
|
105792
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
105793
|
+
};
|
|
105794
|
+
|
|
105795
|
+
|
|
105796
|
+
/**
|
|
105797
|
+
* optional PrecisionRgBinding binding = 2;
|
|
105798
|
+
* @return {?proto.user.PrecisionRgBinding}
|
|
105799
|
+
*/
|
|
105800
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.getBinding = function() {
|
|
105801
|
+
return /** @type{?proto.user.PrecisionRgBinding} */ (
|
|
105802
|
+
jspb.Message.getWrapperField(this, proto.user.PrecisionRgBinding, 2));
|
|
105803
|
+
};
|
|
105804
|
+
|
|
105805
|
+
|
|
105806
|
+
/**
|
|
105807
|
+
* @param {?proto.user.PrecisionRgBinding|undefined} value
|
|
105808
|
+
* @return {!proto.user.PrecisionRgAdmissionRequest} returns this
|
|
105809
|
+
*/
|
|
105810
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.setBinding = function(value) {
|
|
105811
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
105812
|
+
};
|
|
105813
|
+
|
|
105814
|
+
|
|
105815
|
+
/**
|
|
105816
|
+
* Clears the message field making it undefined.
|
|
105817
|
+
* @return {!proto.user.PrecisionRgAdmissionRequest} returns this
|
|
105818
|
+
*/
|
|
105819
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.clearBinding = function() {
|
|
105820
|
+
return this.setBinding(undefined);
|
|
105821
|
+
};
|
|
105822
|
+
|
|
105823
|
+
|
|
105824
|
+
/**
|
|
105825
|
+
* Returns whether this field is set.
|
|
105826
|
+
* @return {boolean}
|
|
105827
|
+
*/
|
|
105828
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.hasBinding = function() {
|
|
105829
|
+
return jspb.Message.getField(this, 2) != null;
|
|
105830
|
+
};
|
|
105831
|
+
|
|
105832
|
+
|
|
105833
|
+
/**
|
|
105834
|
+
* optional string previous_release_receipt_id = 3;
|
|
105835
|
+
* @return {string}
|
|
105836
|
+
*/
|
|
105837
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.getPreviousReleaseReceiptId = function() {
|
|
105838
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
105839
|
+
};
|
|
105840
|
+
|
|
105841
|
+
|
|
105842
|
+
/**
|
|
105843
|
+
* @param {string} value
|
|
105844
|
+
* @return {!proto.user.PrecisionRgAdmissionRequest} returns this
|
|
105845
|
+
*/
|
|
105846
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.setPreviousReleaseReceiptId = function(value) {
|
|
105847
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
105848
|
+
};
|
|
105849
|
+
|
|
105850
|
+
|
|
105851
|
+
/**
|
|
105852
|
+
* optional string admission_receipt_id = 4;
|
|
105853
|
+
* @return {string}
|
|
105854
|
+
*/
|
|
105855
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.getAdmissionReceiptId = function() {
|
|
105856
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
105857
|
+
};
|
|
105858
|
+
|
|
105859
|
+
|
|
105860
|
+
/**
|
|
105861
|
+
* @param {string} value
|
|
105862
|
+
* @return {!proto.user.PrecisionRgAdmissionRequest} returns this
|
|
105863
|
+
*/
|
|
105864
|
+
proto.user.PrecisionRgAdmissionRequest.prototype.setAdmissionReceiptId = function(value) {
|
|
105865
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
105866
|
+
};
|
|
105867
|
+
|
|
105868
|
+
|
|
105869
|
+
|
|
105870
|
+
|
|
105871
|
+
|
|
105872
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
105873
|
+
/**
|
|
105874
|
+
* Creates an object representation of this proto.
|
|
105875
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
105876
|
+
* Optional fields that are not set will be set to undefined.
|
|
105877
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
105878
|
+
* For the list of reserved names please see:
|
|
105879
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
105880
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
105881
|
+
* JSPB instance for transitional soy proto support:
|
|
105882
|
+
* http://goto/soy-param-migration
|
|
105883
|
+
* @return {!Object}
|
|
105884
|
+
*/
|
|
105885
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
105886
|
+
return proto.user.PrecisionRgAdmissionResponse.toObject(opt_includeInstance, this);
|
|
105887
|
+
};
|
|
105888
|
+
|
|
105889
|
+
|
|
105890
|
+
/**
|
|
105891
|
+
* Static version of the {@see toObject} method.
|
|
105892
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
105893
|
+
* the JSPB instance for transitional soy proto support:
|
|
105894
|
+
* http://goto/soy-param-migration
|
|
105895
|
+
* @param {!proto.user.PrecisionRgAdmissionResponse} msg The msg instance to transform.
|
|
105896
|
+
* @return {!Object}
|
|
105897
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
105898
|
+
*/
|
|
105899
|
+
proto.user.PrecisionRgAdmissionResponse.toObject = function(includeInstance, msg) {
|
|
105900
|
+
var f, obj = {
|
|
105901
|
+
outcome: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
105902
|
+
state: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
105903
|
+
binding: (f = msg.getBinding()) && proto.user.PrecisionRgBinding.toObject(includeInstance, f),
|
|
105904
|
+
currentGeneration: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
105905
|
+
admissionReceiptId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
105906
|
+
releaseReceiptId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
105907
|
+
commitReceiptId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
105908
|
+
decision: (f = msg.getDecision()) && proto.user.EvaluateResponsibleGamingDecisionResponse.toObject(includeInstance, f)
|
|
105909
|
+
};
|
|
105910
|
+
|
|
105911
|
+
if (includeInstance) {
|
|
105912
|
+
obj.$jspbMessageInstance = msg;
|
|
105913
|
+
}
|
|
105914
|
+
return obj;
|
|
105915
|
+
};
|
|
105916
|
+
}
|
|
105917
|
+
|
|
105918
|
+
|
|
105919
|
+
/**
|
|
105920
|
+
* Deserializes binary data (in protobuf wire format).
|
|
105921
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
105922
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse}
|
|
105923
|
+
*/
|
|
105924
|
+
proto.user.PrecisionRgAdmissionResponse.deserializeBinary = function(bytes) {
|
|
105925
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
105926
|
+
var msg = new proto.user.PrecisionRgAdmissionResponse;
|
|
105927
|
+
return proto.user.PrecisionRgAdmissionResponse.deserializeBinaryFromReader(msg, reader);
|
|
105928
|
+
};
|
|
105929
|
+
|
|
105930
|
+
|
|
105931
|
+
/**
|
|
105932
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
105933
|
+
* given reader into the given message object.
|
|
105934
|
+
* @param {!proto.user.PrecisionRgAdmissionResponse} msg The message object to deserialize into.
|
|
105935
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
105936
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse}
|
|
105937
|
+
*/
|
|
105938
|
+
proto.user.PrecisionRgAdmissionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
105939
|
+
while (reader.nextField()) {
|
|
105940
|
+
if (reader.isEndGroup()) {
|
|
105941
|
+
break;
|
|
105942
|
+
}
|
|
105943
|
+
var field = reader.getFieldNumber();
|
|
105944
|
+
switch (field) {
|
|
105945
|
+
case 1:
|
|
105946
|
+
var value = /** @type {!proto.user.PrecisionRgOutcome} */ (reader.readEnum());
|
|
105947
|
+
msg.setOutcome(value);
|
|
105948
|
+
break;
|
|
105949
|
+
case 2:
|
|
105950
|
+
var value = /** @type {!proto.user.PrecisionRgState} */ (reader.readEnum());
|
|
105951
|
+
msg.setState(value);
|
|
105952
|
+
break;
|
|
105953
|
+
case 3:
|
|
105954
|
+
var value = new proto.user.PrecisionRgBinding;
|
|
105955
|
+
reader.readMessage(value,proto.user.PrecisionRgBinding.deserializeBinaryFromReader);
|
|
105956
|
+
msg.setBinding(value);
|
|
105957
|
+
break;
|
|
105958
|
+
case 4:
|
|
105959
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105960
|
+
msg.setCurrentGeneration(value);
|
|
105961
|
+
break;
|
|
105962
|
+
case 5:
|
|
105963
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105964
|
+
msg.setAdmissionReceiptId(value);
|
|
105965
|
+
break;
|
|
105966
|
+
case 6:
|
|
105967
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105968
|
+
msg.setReleaseReceiptId(value);
|
|
105969
|
+
break;
|
|
105970
|
+
case 7:
|
|
105971
|
+
var value = /** @type {string} */ (reader.readString());
|
|
105972
|
+
msg.setCommitReceiptId(value);
|
|
105973
|
+
break;
|
|
105974
|
+
case 8:
|
|
105975
|
+
var value = new proto.user.EvaluateResponsibleGamingDecisionResponse;
|
|
105976
|
+
reader.readMessage(value,proto.user.EvaluateResponsibleGamingDecisionResponse.deserializeBinaryFromReader);
|
|
105977
|
+
msg.setDecision(value);
|
|
105978
|
+
break;
|
|
105979
|
+
default:
|
|
105980
|
+
reader.skipField();
|
|
105981
|
+
break;
|
|
105982
|
+
}
|
|
105983
|
+
}
|
|
105984
|
+
return msg;
|
|
105985
|
+
};
|
|
105986
|
+
|
|
105987
|
+
|
|
105988
|
+
/**
|
|
105989
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
105990
|
+
* @return {!Uint8Array}
|
|
105991
|
+
*/
|
|
105992
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.serializeBinary = function() {
|
|
105993
|
+
var writer = new jspb.BinaryWriter();
|
|
105994
|
+
proto.user.PrecisionRgAdmissionResponse.serializeBinaryToWriter(this, writer);
|
|
105995
|
+
return writer.getResultBuffer();
|
|
105996
|
+
};
|
|
105997
|
+
|
|
105998
|
+
|
|
105999
|
+
/**
|
|
106000
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
106001
|
+
* format), writing to the given BinaryWriter.
|
|
106002
|
+
* @param {!proto.user.PrecisionRgAdmissionResponse} message
|
|
106003
|
+
* @param {!jspb.BinaryWriter} writer
|
|
106004
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
106005
|
+
*/
|
|
106006
|
+
proto.user.PrecisionRgAdmissionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
106007
|
+
var f = undefined;
|
|
106008
|
+
f = message.getOutcome();
|
|
106009
|
+
if (f !== 0.0) {
|
|
106010
|
+
writer.writeEnum(
|
|
106011
|
+
1,
|
|
106012
|
+
f
|
|
106013
|
+
);
|
|
106014
|
+
}
|
|
106015
|
+
f = message.getState();
|
|
106016
|
+
if (f !== 0.0) {
|
|
106017
|
+
writer.writeEnum(
|
|
106018
|
+
2,
|
|
106019
|
+
f
|
|
106020
|
+
);
|
|
106021
|
+
}
|
|
106022
|
+
f = message.getBinding();
|
|
106023
|
+
if (f != null) {
|
|
106024
|
+
writer.writeMessage(
|
|
106025
|
+
3,
|
|
106026
|
+
f,
|
|
106027
|
+
proto.user.PrecisionRgBinding.serializeBinaryToWriter
|
|
106028
|
+
);
|
|
106029
|
+
}
|
|
106030
|
+
f = message.getCurrentGeneration();
|
|
106031
|
+
if (f.length > 0) {
|
|
106032
|
+
writer.writeString(
|
|
106033
|
+
4,
|
|
106034
|
+
f
|
|
106035
|
+
);
|
|
106036
|
+
}
|
|
106037
|
+
f = message.getAdmissionReceiptId();
|
|
106038
|
+
if (f.length > 0) {
|
|
106039
|
+
writer.writeString(
|
|
106040
|
+
5,
|
|
106041
|
+
f
|
|
106042
|
+
);
|
|
106043
|
+
}
|
|
106044
|
+
f = message.getReleaseReceiptId();
|
|
106045
|
+
if (f.length > 0) {
|
|
106046
|
+
writer.writeString(
|
|
106047
|
+
6,
|
|
106048
|
+
f
|
|
106049
|
+
);
|
|
106050
|
+
}
|
|
106051
|
+
f = message.getCommitReceiptId();
|
|
106052
|
+
if (f.length > 0) {
|
|
106053
|
+
writer.writeString(
|
|
106054
|
+
7,
|
|
106055
|
+
f
|
|
106056
|
+
);
|
|
106057
|
+
}
|
|
106058
|
+
f = message.getDecision();
|
|
106059
|
+
if (f != null) {
|
|
106060
|
+
writer.writeMessage(
|
|
106061
|
+
8,
|
|
106062
|
+
f,
|
|
106063
|
+
proto.user.EvaluateResponsibleGamingDecisionResponse.serializeBinaryToWriter
|
|
106064
|
+
);
|
|
106065
|
+
}
|
|
106066
|
+
};
|
|
106067
|
+
|
|
106068
|
+
|
|
106069
|
+
/**
|
|
106070
|
+
* optional PrecisionRgOutcome outcome = 1;
|
|
106071
|
+
* @return {!proto.user.PrecisionRgOutcome}
|
|
106072
|
+
*/
|
|
106073
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.getOutcome = function() {
|
|
106074
|
+
return /** @type {!proto.user.PrecisionRgOutcome} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
106075
|
+
};
|
|
106076
|
+
|
|
106077
|
+
|
|
106078
|
+
/**
|
|
106079
|
+
* @param {!proto.user.PrecisionRgOutcome} value
|
|
106080
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse} returns this
|
|
106081
|
+
*/
|
|
106082
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.setOutcome = function(value) {
|
|
106083
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
106084
|
+
};
|
|
106085
|
+
|
|
106086
|
+
|
|
106087
|
+
/**
|
|
106088
|
+
* optional PrecisionRgState state = 2;
|
|
106089
|
+
* @return {!proto.user.PrecisionRgState}
|
|
106090
|
+
*/
|
|
106091
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.getState = function() {
|
|
106092
|
+
return /** @type {!proto.user.PrecisionRgState} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
106093
|
+
};
|
|
106094
|
+
|
|
106095
|
+
|
|
106096
|
+
/**
|
|
106097
|
+
* @param {!proto.user.PrecisionRgState} value
|
|
106098
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse} returns this
|
|
106099
|
+
*/
|
|
106100
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.setState = function(value) {
|
|
106101
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
106102
|
+
};
|
|
106103
|
+
|
|
106104
|
+
|
|
106105
|
+
/**
|
|
106106
|
+
* optional PrecisionRgBinding binding = 3;
|
|
106107
|
+
* @return {?proto.user.PrecisionRgBinding}
|
|
106108
|
+
*/
|
|
106109
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.getBinding = function() {
|
|
106110
|
+
return /** @type{?proto.user.PrecisionRgBinding} */ (
|
|
106111
|
+
jspb.Message.getWrapperField(this, proto.user.PrecisionRgBinding, 3));
|
|
106112
|
+
};
|
|
106113
|
+
|
|
106114
|
+
|
|
106115
|
+
/**
|
|
106116
|
+
* @param {?proto.user.PrecisionRgBinding|undefined} value
|
|
106117
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse} returns this
|
|
106118
|
+
*/
|
|
106119
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.setBinding = function(value) {
|
|
106120
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
106121
|
+
};
|
|
106122
|
+
|
|
106123
|
+
|
|
106124
|
+
/**
|
|
106125
|
+
* Clears the message field making it undefined.
|
|
106126
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse} returns this
|
|
106127
|
+
*/
|
|
106128
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.clearBinding = function() {
|
|
106129
|
+
return this.setBinding(undefined);
|
|
106130
|
+
};
|
|
106131
|
+
|
|
106132
|
+
|
|
106133
|
+
/**
|
|
106134
|
+
* Returns whether this field is set.
|
|
106135
|
+
* @return {boolean}
|
|
106136
|
+
*/
|
|
106137
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.hasBinding = function() {
|
|
106138
|
+
return jspb.Message.getField(this, 3) != null;
|
|
106139
|
+
};
|
|
106140
|
+
|
|
106141
|
+
|
|
106142
|
+
/**
|
|
106143
|
+
* optional string current_generation = 4;
|
|
106144
|
+
* @return {string}
|
|
106145
|
+
*/
|
|
106146
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.getCurrentGeneration = function() {
|
|
106147
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
106148
|
+
};
|
|
106149
|
+
|
|
106150
|
+
|
|
106151
|
+
/**
|
|
106152
|
+
* @param {string} value
|
|
106153
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse} returns this
|
|
106154
|
+
*/
|
|
106155
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.setCurrentGeneration = function(value) {
|
|
106156
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
106157
|
+
};
|
|
106158
|
+
|
|
106159
|
+
|
|
106160
|
+
/**
|
|
106161
|
+
* optional string admission_receipt_id = 5;
|
|
106162
|
+
* @return {string}
|
|
106163
|
+
*/
|
|
106164
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.getAdmissionReceiptId = function() {
|
|
106165
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
106166
|
+
};
|
|
106167
|
+
|
|
106168
|
+
|
|
106169
|
+
/**
|
|
106170
|
+
* @param {string} value
|
|
106171
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse} returns this
|
|
106172
|
+
*/
|
|
106173
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.setAdmissionReceiptId = function(value) {
|
|
106174
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
106175
|
+
};
|
|
106176
|
+
|
|
106177
|
+
|
|
106178
|
+
/**
|
|
106179
|
+
* optional string release_receipt_id = 6;
|
|
106180
|
+
* @return {string}
|
|
106181
|
+
*/
|
|
106182
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.getReleaseReceiptId = function() {
|
|
106183
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
106184
|
+
};
|
|
106185
|
+
|
|
106186
|
+
|
|
106187
|
+
/**
|
|
106188
|
+
* @param {string} value
|
|
106189
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse} returns this
|
|
106190
|
+
*/
|
|
106191
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.setReleaseReceiptId = function(value) {
|
|
106192
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
106193
|
+
};
|
|
106194
|
+
|
|
106195
|
+
|
|
106196
|
+
/**
|
|
106197
|
+
* optional string commit_receipt_id = 7;
|
|
106198
|
+
* @return {string}
|
|
106199
|
+
*/
|
|
106200
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.getCommitReceiptId = function() {
|
|
106201
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
106202
|
+
};
|
|
106203
|
+
|
|
106204
|
+
|
|
106205
|
+
/**
|
|
106206
|
+
* @param {string} value
|
|
106207
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse} returns this
|
|
106208
|
+
*/
|
|
106209
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.setCommitReceiptId = function(value) {
|
|
106210
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
106211
|
+
};
|
|
106212
|
+
|
|
106213
|
+
|
|
106214
|
+
/**
|
|
106215
|
+
* optional EvaluateResponsibleGamingDecisionResponse decision = 8;
|
|
106216
|
+
* @return {?proto.user.EvaluateResponsibleGamingDecisionResponse}
|
|
106217
|
+
*/
|
|
106218
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.getDecision = function() {
|
|
106219
|
+
return /** @type{?proto.user.EvaluateResponsibleGamingDecisionResponse} */ (
|
|
106220
|
+
jspb.Message.getWrapperField(this, proto.user.EvaluateResponsibleGamingDecisionResponse, 8));
|
|
106221
|
+
};
|
|
106222
|
+
|
|
106223
|
+
|
|
106224
|
+
/**
|
|
106225
|
+
* @param {?proto.user.EvaluateResponsibleGamingDecisionResponse|undefined} value
|
|
106226
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse} returns this
|
|
106227
|
+
*/
|
|
106228
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.setDecision = function(value) {
|
|
106229
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
106230
|
+
};
|
|
106231
|
+
|
|
106232
|
+
|
|
106233
|
+
/**
|
|
106234
|
+
* Clears the message field making it undefined.
|
|
106235
|
+
* @return {!proto.user.PrecisionRgAdmissionResponse} returns this
|
|
106236
|
+
*/
|
|
106237
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.clearDecision = function() {
|
|
106238
|
+
return this.setDecision(undefined);
|
|
106239
|
+
};
|
|
106240
|
+
|
|
106241
|
+
|
|
106242
|
+
/**
|
|
106243
|
+
* Returns whether this field is set.
|
|
106244
|
+
* @return {boolean}
|
|
106245
|
+
*/
|
|
106246
|
+
proto.user.PrecisionRgAdmissionResponse.prototype.hasDecision = function() {
|
|
106247
|
+
return jspb.Message.getField(this, 8) != null;
|
|
106248
|
+
};
|
|
106249
|
+
|
|
106250
|
+
|
|
105099
106251
|
/**
|
|
105100
106252
|
* @enum {number}
|
|
105101
106253
|
*/
|
|
@@ -105264,4 +106416,40 @@ proto.user.ResponsibleGamingLossExposureOutcome = {
|
|
|
105264
106416
|
RESPONSIBLE_GAMING_LOSS_EXPOSURE_OUTCOME_COMMIT: 2
|
|
105265
106417
|
};
|
|
105266
106418
|
|
|
106419
|
+
/**
|
|
106420
|
+
* @enum {number}
|
|
106421
|
+
*/
|
|
106422
|
+
proto.user.PrecisionRgAction = {
|
|
106423
|
+
PRECISION_RG_ACTION_UNSPECIFIED: 0,
|
|
106424
|
+
PRECISION_RG_RESERVE: 1,
|
|
106425
|
+
PRECISION_RG_RELEASE: 2,
|
|
106426
|
+
PRECISION_RG_COMMIT: 3,
|
|
106427
|
+
PRECISION_RG_READ: 4
|
|
106428
|
+
};
|
|
106429
|
+
|
|
106430
|
+
/**
|
|
106431
|
+
* @enum {number}
|
|
106432
|
+
*/
|
|
106433
|
+
proto.user.PrecisionRgState = {
|
|
106434
|
+
PRECISION_RG_STATE_UNKNOWN: 0,
|
|
106435
|
+
PRECISION_RG_RESERVED: 1,
|
|
106436
|
+
PRECISION_RG_DENIED: 2,
|
|
106437
|
+
PRECISION_RG_RELEASED: 3,
|
|
106438
|
+
PRECISION_RG_COMMITTED: 4
|
|
106439
|
+
};
|
|
106440
|
+
|
|
106441
|
+
/**
|
|
106442
|
+
* @enum {number}
|
|
106443
|
+
*/
|
|
106444
|
+
proto.user.PrecisionRgOutcome = {
|
|
106445
|
+
PRECISION_RG_OUTCOME_UNSPECIFIED: 0,
|
|
106446
|
+
PRECISION_RG_OK: 1,
|
|
106447
|
+
PRECISION_RG_POLICY_DENIED: 2,
|
|
106448
|
+
PRECISION_RG_CONFLICT: 3,
|
|
106449
|
+
PRECISION_RG_STALE_GENERATION: 4,
|
|
106450
|
+
PRECISION_RG_RELEASE_REQUIRED: 5,
|
|
106451
|
+
PRECISION_RG_INVALID_STATE: 6,
|
|
106452
|
+
PRECISION_RG_STATE_UNAVAILABLE: 7
|
|
106453
|
+
};
|
|
106454
|
+
|
|
105267
106455
|
goog.object.extend(exports, proto.user);
|