protobuf-platform 1.2.737 → 1.2.739

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/bet/bet_pb.js CHANGED
@@ -33,6 +33,9 @@ goog.exportSymbol('proto.bet.AxiomProcessBetRequest', null, global);
33
33
  goog.exportSymbol('proto.bet.BetHistoryFilterRequest', null, global);
34
34
  goog.exportSymbol('proto.bet.BetsHistoryResponse', null, global);
35
35
  goog.exportSymbol('proto.bet.CasinoBetHistoryFilterRequest', null, global);
36
+ goog.exportSymbol('proto.bet.CasinoBookingEvidence', null, global);
37
+ goog.exportSymbol('proto.bet.CasinoBookingReversal', null, global);
38
+ goog.exportSymbol('proto.bet.CommittedCasinoBooking', null, global);
36
39
  goog.exportSymbol('proto.bet.CreateTestBetRequest', null, global);
37
40
  goog.exportSymbol('proto.bet.CreateTestBetResponse', null, global);
38
41
  goog.exportSymbol('proto.bet.DashboardGameInfo', null, global);
@@ -1143,6 +1146,69 @@ if (goog.DEBUG && !COMPILED) {
1143
1146
  */
1144
1147
  proto.bet.SportCatalogEventBatchResponse.displayName = 'proto.bet.SportCatalogEventBatchResponse';
1145
1148
  }
1149
+ /**
1150
+ * Generated by JsPbCodeGenerator.
1151
+ * @param {Array=} opt_data Optional initial data array, typically from a
1152
+ * server response, or constructed directly in Javascript. The array is used
1153
+ * in place and becomes part of the constructed object. It is not cloned.
1154
+ * If no data is provided, the constructed object will be empty, but still
1155
+ * valid.
1156
+ * @extends {jspb.Message}
1157
+ * @constructor
1158
+ */
1159
+ proto.bet.CommittedCasinoBooking = function(opt_data) {
1160
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.CommittedCasinoBooking.repeatedFields_, null);
1161
+ };
1162
+ goog.inherits(proto.bet.CommittedCasinoBooking, jspb.Message);
1163
+ if (goog.DEBUG && !COMPILED) {
1164
+ /**
1165
+ * @public
1166
+ * @override
1167
+ */
1168
+ proto.bet.CommittedCasinoBooking.displayName = 'proto.bet.CommittedCasinoBooking';
1169
+ }
1170
+ /**
1171
+ * Generated by JsPbCodeGenerator.
1172
+ * @param {Array=} opt_data Optional initial data array, typically from a
1173
+ * server response, or constructed directly in Javascript. The array is used
1174
+ * in place and becomes part of the constructed object. It is not cloned.
1175
+ * If no data is provided, the constructed object will be empty, but still
1176
+ * valid.
1177
+ * @extends {jspb.Message}
1178
+ * @constructor
1179
+ */
1180
+ proto.bet.CasinoBookingEvidence = function(opt_data) {
1181
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1182
+ };
1183
+ goog.inherits(proto.bet.CasinoBookingEvidence, jspb.Message);
1184
+ if (goog.DEBUG && !COMPILED) {
1185
+ /**
1186
+ * @public
1187
+ * @override
1188
+ */
1189
+ proto.bet.CasinoBookingEvidence.displayName = 'proto.bet.CasinoBookingEvidence';
1190
+ }
1191
+ /**
1192
+ * Generated by JsPbCodeGenerator.
1193
+ * @param {Array=} opt_data Optional initial data array, typically from a
1194
+ * server response, or constructed directly in Javascript. The array is used
1195
+ * in place and becomes part of the constructed object. It is not cloned.
1196
+ * If no data is provided, the constructed object will be empty, but still
1197
+ * valid.
1198
+ * @extends {jspb.Message}
1199
+ * @constructor
1200
+ */
1201
+ proto.bet.CasinoBookingReversal = function(opt_data) {
1202
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1203
+ };
1204
+ goog.inherits(proto.bet.CasinoBookingReversal, jspb.Message);
1205
+ if (goog.DEBUG && !COMPILED) {
1206
+ /**
1207
+ * @public
1208
+ * @override
1209
+ */
1210
+ proto.bet.CasinoBookingReversal.displayName = 'proto.bet.CasinoBookingReversal';
1211
+ }
1146
1212
 
1147
1213
 
1148
1214
 
@@ -21994,4 +22060,1571 @@ proto.bet.SportCatalogEventBatchResponse.prototype.setHasMore = function(value)
21994
22060
  };
21995
22061
 
21996
22062
 
22063
+
22064
+ /**
22065
+ * List of repeated fields within this message type.
22066
+ * @private {!Array<number>}
22067
+ * @const
22068
+ */
22069
+ proto.bet.CommittedCasinoBooking.repeatedFields_ = [15,16];
22070
+
22071
+
22072
+
22073
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22074
+ /**
22075
+ * Creates an object representation of this proto.
22076
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22077
+ * Optional fields that are not set will be set to undefined.
22078
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22079
+ * For the list of reserved names please see:
22080
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22081
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22082
+ * JSPB instance for transitional soy proto support:
22083
+ * http://goto/soy-param-migration
22084
+ * @return {!Object}
22085
+ */
22086
+ proto.bet.CommittedCasinoBooking.prototype.toObject = function(opt_includeInstance) {
22087
+ return proto.bet.CommittedCasinoBooking.toObject(opt_includeInstance, this);
22088
+ };
22089
+
22090
+
22091
+ /**
22092
+ * Static version of the {@see toObject} method.
22093
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22094
+ * the JSPB instance for transitional soy proto support:
22095
+ * http://goto/soy-param-migration
22096
+ * @param {!proto.bet.CommittedCasinoBooking} msg The msg instance to transform.
22097
+ * @return {!Object}
22098
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22099
+ */
22100
+ proto.bet.CommittedCasinoBooking.toObject = function(includeInstance, msg) {
22101
+ var f, obj = {
22102
+ brand: jspb.Message.getFieldWithDefault(msg, 1, ""),
22103
+ sourceActionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
22104
+ action: jspb.Message.getFieldWithDefault(msg, 3, ""),
22105
+ createdAtUtc: jspb.Message.getFieldWithDefault(msg, 4, ""),
22106
+ userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
22107
+ gameUuid: jspb.Message.getFieldWithDefault(msg, 6, ""),
22108
+ gameId: jspb.Message.getFieldWithDefault(msg, 7, ""),
22109
+ providerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
22110
+ transactionId: jspb.Message.getFieldWithDefault(msg, 9, ""),
22111
+ sessionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
22112
+ roundId: jspb.Message.getFieldWithDefault(msg, 11, ""),
22113
+ freeSpinId: jspb.Message.getFieldWithDefault(msg, 12, ""),
22114
+ storedType: jspb.Message.getFieldWithDefault(msg, 13, ""),
22115
+ originalAmounts: (f = msg.getOriginalAmounts()) && proto.bet.CasinoBookingEvidence.toObject(includeInstance, f),
22116
+ reversalsList: jspb.Message.toObjectList(msg.getReversalsList(),
22117
+ proto.bet.CasinoBookingReversal.toObject, includeInstance),
22118
+ missingEvidenceList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f
22119
+ };
22120
+
22121
+ if (includeInstance) {
22122
+ obj.$jspbMessageInstance = msg;
22123
+ }
22124
+ return obj;
22125
+ };
22126
+ }
22127
+
22128
+
22129
+ /**
22130
+ * Deserializes binary data (in protobuf wire format).
22131
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22132
+ * @return {!proto.bet.CommittedCasinoBooking}
22133
+ */
22134
+ proto.bet.CommittedCasinoBooking.deserializeBinary = function(bytes) {
22135
+ var reader = new jspb.BinaryReader(bytes);
22136
+ var msg = new proto.bet.CommittedCasinoBooking;
22137
+ return proto.bet.CommittedCasinoBooking.deserializeBinaryFromReader(msg, reader);
22138
+ };
22139
+
22140
+
22141
+ /**
22142
+ * Deserializes binary data (in protobuf wire format) from the
22143
+ * given reader into the given message object.
22144
+ * @param {!proto.bet.CommittedCasinoBooking} msg The message object to deserialize into.
22145
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22146
+ * @return {!proto.bet.CommittedCasinoBooking}
22147
+ */
22148
+ proto.bet.CommittedCasinoBooking.deserializeBinaryFromReader = function(msg, reader) {
22149
+ while (reader.nextField()) {
22150
+ if (reader.isEndGroup()) {
22151
+ break;
22152
+ }
22153
+ var field = reader.getFieldNumber();
22154
+ switch (field) {
22155
+ case 1:
22156
+ var value = /** @type {string} */ (reader.readString());
22157
+ msg.setBrand(value);
22158
+ break;
22159
+ case 2:
22160
+ var value = /** @type {string} */ (reader.readString());
22161
+ msg.setSourceActionId(value);
22162
+ break;
22163
+ case 3:
22164
+ var value = /** @type {string} */ (reader.readString());
22165
+ msg.setAction(value);
22166
+ break;
22167
+ case 4:
22168
+ var value = /** @type {string} */ (reader.readString());
22169
+ msg.setCreatedAtUtc(value);
22170
+ break;
22171
+ case 5:
22172
+ var value = /** @type {string} */ (reader.readString());
22173
+ msg.setUserId(value);
22174
+ break;
22175
+ case 6:
22176
+ var value = /** @type {string} */ (reader.readString());
22177
+ msg.setGameUuid(value);
22178
+ break;
22179
+ case 7:
22180
+ var value = /** @type {string} */ (reader.readString());
22181
+ msg.setGameId(value);
22182
+ break;
22183
+ case 8:
22184
+ var value = /** @type {string} */ (reader.readString());
22185
+ msg.setProviderId(value);
22186
+ break;
22187
+ case 9:
22188
+ var value = /** @type {string} */ (reader.readString());
22189
+ msg.setTransactionId(value);
22190
+ break;
22191
+ case 10:
22192
+ var value = /** @type {string} */ (reader.readString());
22193
+ msg.setSessionId(value);
22194
+ break;
22195
+ case 11:
22196
+ var value = /** @type {string} */ (reader.readString());
22197
+ msg.setRoundId(value);
22198
+ break;
22199
+ case 12:
22200
+ var value = /** @type {string} */ (reader.readString());
22201
+ msg.setFreeSpinId(value);
22202
+ break;
22203
+ case 13:
22204
+ var value = /** @type {string} */ (reader.readString());
22205
+ msg.setStoredType(value);
22206
+ break;
22207
+ case 14:
22208
+ var value = new proto.bet.CasinoBookingEvidence;
22209
+ reader.readMessage(value,proto.bet.CasinoBookingEvidence.deserializeBinaryFromReader);
22210
+ msg.setOriginalAmounts(value);
22211
+ break;
22212
+ case 15:
22213
+ var value = new proto.bet.CasinoBookingReversal;
22214
+ reader.readMessage(value,proto.bet.CasinoBookingReversal.deserializeBinaryFromReader);
22215
+ msg.addReversals(value);
22216
+ break;
22217
+ case 16:
22218
+ var value = /** @type {string} */ (reader.readString());
22219
+ msg.addMissingEvidence(value);
22220
+ break;
22221
+ default:
22222
+ reader.skipField();
22223
+ break;
22224
+ }
22225
+ }
22226
+ return msg;
22227
+ };
22228
+
22229
+
22230
+ /**
22231
+ * Serializes the message to binary data (in protobuf wire format).
22232
+ * @return {!Uint8Array}
22233
+ */
22234
+ proto.bet.CommittedCasinoBooking.prototype.serializeBinary = function() {
22235
+ var writer = new jspb.BinaryWriter();
22236
+ proto.bet.CommittedCasinoBooking.serializeBinaryToWriter(this, writer);
22237
+ return writer.getResultBuffer();
22238
+ };
22239
+
22240
+
22241
+ /**
22242
+ * Serializes the given message to binary data (in protobuf wire
22243
+ * format), writing to the given BinaryWriter.
22244
+ * @param {!proto.bet.CommittedCasinoBooking} message
22245
+ * @param {!jspb.BinaryWriter} writer
22246
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22247
+ */
22248
+ proto.bet.CommittedCasinoBooking.serializeBinaryToWriter = function(message, writer) {
22249
+ var f = undefined;
22250
+ f = message.getBrand();
22251
+ if (f.length > 0) {
22252
+ writer.writeString(
22253
+ 1,
22254
+ f
22255
+ );
22256
+ }
22257
+ f = message.getSourceActionId();
22258
+ if (f.length > 0) {
22259
+ writer.writeString(
22260
+ 2,
22261
+ f
22262
+ );
22263
+ }
22264
+ f = message.getAction();
22265
+ if (f.length > 0) {
22266
+ writer.writeString(
22267
+ 3,
22268
+ f
22269
+ );
22270
+ }
22271
+ f = message.getCreatedAtUtc();
22272
+ if (f.length > 0) {
22273
+ writer.writeString(
22274
+ 4,
22275
+ f
22276
+ );
22277
+ }
22278
+ f = message.getUserId();
22279
+ if (f.length > 0) {
22280
+ writer.writeString(
22281
+ 5,
22282
+ f
22283
+ );
22284
+ }
22285
+ f = message.getGameUuid();
22286
+ if (f.length > 0) {
22287
+ writer.writeString(
22288
+ 6,
22289
+ f
22290
+ );
22291
+ }
22292
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
22293
+ if (f != null) {
22294
+ writer.writeString(
22295
+ 7,
22296
+ f
22297
+ );
22298
+ }
22299
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
22300
+ if (f != null) {
22301
+ writer.writeString(
22302
+ 8,
22303
+ f
22304
+ );
22305
+ }
22306
+ f = message.getTransactionId();
22307
+ if (f.length > 0) {
22308
+ writer.writeString(
22309
+ 9,
22310
+ f
22311
+ );
22312
+ }
22313
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
22314
+ if (f != null) {
22315
+ writer.writeString(
22316
+ 10,
22317
+ f
22318
+ );
22319
+ }
22320
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
22321
+ if (f != null) {
22322
+ writer.writeString(
22323
+ 11,
22324
+ f
22325
+ );
22326
+ }
22327
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
22328
+ if (f != null) {
22329
+ writer.writeString(
22330
+ 12,
22331
+ f
22332
+ );
22333
+ }
22334
+ f = message.getStoredType();
22335
+ if (f.length > 0) {
22336
+ writer.writeString(
22337
+ 13,
22338
+ f
22339
+ );
22340
+ }
22341
+ f = message.getOriginalAmounts();
22342
+ if (f != null) {
22343
+ writer.writeMessage(
22344
+ 14,
22345
+ f,
22346
+ proto.bet.CasinoBookingEvidence.serializeBinaryToWriter
22347
+ );
22348
+ }
22349
+ f = message.getReversalsList();
22350
+ if (f.length > 0) {
22351
+ writer.writeRepeatedMessage(
22352
+ 15,
22353
+ f,
22354
+ proto.bet.CasinoBookingReversal.serializeBinaryToWriter
22355
+ );
22356
+ }
22357
+ f = message.getMissingEvidenceList();
22358
+ if (f.length > 0) {
22359
+ writer.writeRepeatedString(
22360
+ 16,
22361
+ f
22362
+ );
22363
+ }
22364
+ };
22365
+
22366
+
22367
+ /**
22368
+ * optional string brand = 1;
22369
+ * @return {string}
22370
+ */
22371
+ proto.bet.CommittedCasinoBooking.prototype.getBrand = function() {
22372
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
22373
+ };
22374
+
22375
+
22376
+ /**
22377
+ * @param {string} value
22378
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22379
+ */
22380
+ proto.bet.CommittedCasinoBooking.prototype.setBrand = function(value) {
22381
+ return jspb.Message.setProto3StringField(this, 1, value);
22382
+ };
22383
+
22384
+
22385
+ /**
22386
+ * optional string source_action_id = 2;
22387
+ * @return {string}
22388
+ */
22389
+ proto.bet.CommittedCasinoBooking.prototype.getSourceActionId = function() {
22390
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
22391
+ };
22392
+
22393
+
22394
+ /**
22395
+ * @param {string} value
22396
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22397
+ */
22398
+ proto.bet.CommittedCasinoBooking.prototype.setSourceActionId = function(value) {
22399
+ return jspb.Message.setProto3StringField(this, 2, value);
22400
+ };
22401
+
22402
+
22403
+ /**
22404
+ * optional string action = 3;
22405
+ * @return {string}
22406
+ */
22407
+ proto.bet.CommittedCasinoBooking.prototype.getAction = function() {
22408
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
22409
+ };
22410
+
22411
+
22412
+ /**
22413
+ * @param {string} value
22414
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22415
+ */
22416
+ proto.bet.CommittedCasinoBooking.prototype.setAction = function(value) {
22417
+ return jspb.Message.setProto3StringField(this, 3, value);
22418
+ };
22419
+
22420
+
22421
+ /**
22422
+ * optional string created_at_utc = 4;
22423
+ * @return {string}
22424
+ */
22425
+ proto.bet.CommittedCasinoBooking.prototype.getCreatedAtUtc = function() {
22426
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
22427
+ };
22428
+
22429
+
22430
+ /**
22431
+ * @param {string} value
22432
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22433
+ */
22434
+ proto.bet.CommittedCasinoBooking.prototype.setCreatedAtUtc = function(value) {
22435
+ return jspb.Message.setProto3StringField(this, 4, value);
22436
+ };
22437
+
22438
+
22439
+ /**
22440
+ * optional string user_id = 5;
22441
+ * @return {string}
22442
+ */
22443
+ proto.bet.CommittedCasinoBooking.prototype.getUserId = function() {
22444
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
22445
+ };
22446
+
22447
+
22448
+ /**
22449
+ * @param {string} value
22450
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22451
+ */
22452
+ proto.bet.CommittedCasinoBooking.prototype.setUserId = function(value) {
22453
+ return jspb.Message.setProto3StringField(this, 5, value);
22454
+ };
22455
+
22456
+
22457
+ /**
22458
+ * optional string game_uuid = 6;
22459
+ * @return {string}
22460
+ */
22461
+ proto.bet.CommittedCasinoBooking.prototype.getGameUuid = function() {
22462
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
22463
+ };
22464
+
22465
+
22466
+ /**
22467
+ * @param {string} value
22468
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22469
+ */
22470
+ proto.bet.CommittedCasinoBooking.prototype.setGameUuid = function(value) {
22471
+ return jspb.Message.setProto3StringField(this, 6, value);
22472
+ };
22473
+
22474
+
22475
+ /**
22476
+ * optional string game_id = 7;
22477
+ * @return {string}
22478
+ */
22479
+ proto.bet.CommittedCasinoBooking.prototype.getGameId = function() {
22480
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
22481
+ };
22482
+
22483
+
22484
+ /**
22485
+ * @param {string} value
22486
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22487
+ */
22488
+ proto.bet.CommittedCasinoBooking.prototype.setGameId = function(value) {
22489
+ return jspb.Message.setField(this, 7, value);
22490
+ };
22491
+
22492
+
22493
+ /**
22494
+ * Clears the field making it undefined.
22495
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22496
+ */
22497
+ proto.bet.CommittedCasinoBooking.prototype.clearGameId = function() {
22498
+ return jspb.Message.setField(this, 7, undefined);
22499
+ };
22500
+
22501
+
22502
+ /**
22503
+ * Returns whether this field is set.
22504
+ * @return {boolean}
22505
+ */
22506
+ proto.bet.CommittedCasinoBooking.prototype.hasGameId = function() {
22507
+ return jspb.Message.getField(this, 7) != null;
22508
+ };
22509
+
22510
+
22511
+ /**
22512
+ * optional string provider_id = 8;
22513
+ * @return {string}
22514
+ */
22515
+ proto.bet.CommittedCasinoBooking.prototype.getProviderId = function() {
22516
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
22517
+ };
22518
+
22519
+
22520
+ /**
22521
+ * @param {string} value
22522
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22523
+ */
22524
+ proto.bet.CommittedCasinoBooking.prototype.setProviderId = function(value) {
22525
+ return jspb.Message.setField(this, 8, value);
22526
+ };
22527
+
22528
+
22529
+ /**
22530
+ * Clears the field making it undefined.
22531
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22532
+ */
22533
+ proto.bet.CommittedCasinoBooking.prototype.clearProviderId = function() {
22534
+ return jspb.Message.setField(this, 8, undefined);
22535
+ };
22536
+
22537
+
22538
+ /**
22539
+ * Returns whether this field is set.
22540
+ * @return {boolean}
22541
+ */
22542
+ proto.bet.CommittedCasinoBooking.prototype.hasProviderId = function() {
22543
+ return jspb.Message.getField(this, 8) != null;
22544
+ };
22545
+
22546
+
22547
+ /**
22548
+ * optional string transaction_id = 9;
22549
+ * @return {string}
22550
+ */
22551
+ proto.bet.CommittedCasinoBooking.prototype.getTransactionId = function() {
22552
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
22553
+ };
22554
+
22555
+
22556
+ /**
22557
+ * @param {string} value
22558
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22559
+ */
22560
+ proto.bet.CommittedCasinoBooking.prototype.setTransactionId = function(value) {
22561
+ return jspb.Message.setProto3StringField(this, 9, value);
22562
+ };
22563
+
22564
+
22565
+ /**
22566
+ * optional string session_id = 10;
22567
+ * @return {string}
22568
+ */
22569
+ proto.bet.CommittedCasinoBooking.prototype.getSessionId = function() {
22570
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
22571
+ };
22572
+
22573
+
22574
+ /**
22575
+ * @param {string} value
22576
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22577
+ */
22578
+ proto.bet.CommittedCasinoBooking.prototype.setSessionId = function(value) {
22579
+ return jspb.Message.setField(this, 10, value);
22580
+ };
22581
+
22582
+
22583
+ /**
22584
+ * Clears the field making it undefined.
22585
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22586
+ */
22587
+ proto.bet.CommittedCasinoBooking.prototype.clearSessionId = function() {
22588
+ return jspb.Message.setField(this, 10, undefined);
22589
+ };
22590
+
22591
+
22592
+ /**
22593
+ * Returns whether this field is set.
22594
+ * @return {boolean}
22595
+ */
22596
+ proto.bet.CommittedCasinoBooking.prototype.hasSessionId = function() {
22597
+ return jspb.Message.getField(this, 10) != null;
22598
+ };
22599
+
22600
+
22601
+ /**
22602
+ * optional string round_id = 11;
22603
+ * @return {string}
22604
+ */
22605
+ proto.bet.CommittedCasinoBooking.prototype.getRoundId = function() {
22606
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
22607
+ };
22608
+
22609
+
22610
+ /**
22611
+ * @param {string} value
22612
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22613
+ */
22614
+ proto.bet.CommittedCasinoBooking.prototype.setRoundId = function(value) {
22615
+ return jspb.Message.setField(this, 11, value);
22616
+ };
22617
+
22618
+
22619
+ /**
22620
+ * Clears the field making it undefined.
22621
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22622
+ */
22623
+ proto.bet.CommittedCasinoBooking.prototype.clearRoundId = function() {
22624
+ return jspb.Message.setField(this, 11, undefined);
22625
+ };
22626
+
22627
+
22628
+ /**
22629
+ * Returns whether this field is set.
22630
+ * @return {boolean}
22631
+ */
22632
+ proto.bet.CommittedCasinoBooking.prototype.hasRoundId = function() {
22633
+ return jspb.Message.getField(this, 11) != null;
22634
+ };
22635
+
22636
+
22637
+ /**
22638
+ * optional string free_spin_id = 12;
22639
+ * @return {string}
22640
+ */
22641
+ proto.bet.CommittedCasinoBooking.prototype.getFreeSpinId = function() {
22642
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
22643
+ };
22644
+
22645
+
22646
+ /**
22647
+ * @param {string} value
22648
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22649
+ */
22650
+ proto.bet.CommittedCasinoBooking.prototype.setFreeSpinId = function(value) {
22651
+ return jspb.Message.setField(this, 12, value);
22652
+ };
22653
+
22654
+
22655
+ /**
22656
+ * Clears the field making it undefined.
22657
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22658
+ */
22659
+ proto.bet.CommittedCasinoBooking.prototype.clearFreeSpinId = function() {
22660
+ return jspb.Message.setField(this, 12, undefined);
22661
+ };
22662
+
22663
+
22664
+ /**
22665
+ * Returns whether this field is set.
22666
+ * @return {boolean}
22667
+ */
22668
+ proto.bet.CommittedCasinoBooking.prototype.hasFreeSpinId = function() {
22669
+ return jspb.Message.getField(this, 12) != null;
22670
+ };
22671
+
22672
+
22673
+ /**
22674
+ * optional string stored_type = 13;
22675
+ * @return {string}
22676
+ */
22677
+ proto.bet.CommittedCasinoBooking.prototype.getStoredType = function() {
22678
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
22679
+ };
22680
+
22681
+
22682
+ /**
22683
+ * @param {string} value
22684
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22685
+ */
22686
+ proto.bet.CommittedCasinoBooking.prototype.setStoredType = function(value) {
22687
+ return jspb.Message.setProto3StringField(this, 13, value);
22688
+ };
22689
+
22690
+
22691
+ /**
22692
+ * optional CasinoBookingEvidence original_amounts = 14;
22693
+ * @return {?proto.bet.CasinoBookingEvidence}
22694
+ */
22695
+ proto.bet.CommittedCasinoBooking.prototype.getOriginalAmounts = function() {
22696
+ return /** @type{?proto.bet.CasinoBookingEvidence} */ (
22697
+ jspb.Message.getWrapperField(this, proto.bet.CasinoBookingEvidence, 14));
22698
+ };
22699
+
22700
+
22701
+ /**
22702
+ * @param {?proto.bet.CasinoBookingEvidence|undefined} value
22703
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22704
+ */
22705
+ proto.bet.CommittedCasinoBooking.prototype.setOriginalAmounts = function(value) {
22706
+ return jspb.Message.setWrapperField(this, 14, value);
22707
+ };
22708
+
22709
+
22710
+ /**
22711
+ * Clears the message field making it undefined.
22712
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22713
+ */
22714
+ proto.bet.CommittedCasinoBooking.prototype.clearOriginalAmounts = function() {
22715
+ return this.setOriginalAmounts(undefined);
22716
+ };
22717
+
22718
+
22719
+ /**
22720
+ * Returns whether this field is set.
22721
+ * @return {boolean}
22722
+ */
22723
+ proto.bet.CommittedCasinoBooking.prototype.hasOriginalAmounts = function() {
22724
+ return jspb.Message.getField(this, 14) != null;
22725
+ };
22726
+
22727
+
22728
+ /**
22729
+ * repeated CasinoBookingReversal reversals = 15;
22730
+ * @return {!Array<!proto.bet.CasinoBookingReversal>}
22731
+ */
22732
+ proto.bet.CommittedCasinoBooking.prototype.getReversalsList = function() {
22733
+ return /** @type{!Array<!proto.bet.CasinoBookingReversal>} */ (
22734
+ jspb.Message.getRepeatedWrapperField(this, proto.bet.CasinoBookingReversal, 15));
22735
+ };
22736
+
22737
+
22738
+ /**
22739
+ * @param {!Array<!proto.bet.CasinoBookingReversal>} value
22740
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22741
+ */
22742
+ proto.bet.CommittedCasinoBooking.prototype.setReversalsList = function(value) {
22743
+ return jspb.Message.setRepeatedWrapperField(this, 15, value);
22744
+ };
22745
+
22746
+
22747
+ /**
22748
+ * @param {!proto.bet.CasinoBookingReversal=} opt_value
22749
+ * @param {number=} opt_index
22750
+ * @return {!proto.bet.CasinoBookingReversal}
22751
+ */
22752
+ proto.bet.CommittedCasinoBooking.prototype.addReversals = function(opt_value, opt_index) {
22753
+ return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.bet.CasinoBookingReversal, opt_index);
22754
+ };
22755
+
22756
+
22757
+ /**
22758
+ * Clears the list making it empty but non-null.
22759
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22760
+ */
22761
+ proto.bet.CommittedCasinoBooking.prototype.clearReversalsList = function() {
22762
+ return this.setReversalsList([]);
22763
+ };
22764
+
22765
+
22766
+ /**
22767
+ * repeated string missing_evidence = 16;
22768
+ * @return {!Array<string>}
22769
+ */
22770
+ proto.bet.CommittedCasinoBooking.prototype.getMissingEvidenceList = function() {
22771
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 16));
22772
+ };
22773
+
22774
+
22775
+ /**
22776
+ * @param {!Array<string>} value
22777
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22778
+ */
22779
+ proto.bet.CommittedCasinoBooking.prototype.setMissingEvidenceList = function(value) {
22780
+ return jspb.Message.setField(this, 16, value || []);
22781
+ };
22782
+
22783
+
22784
+ /**
22785
+ * @param {string} value
22786
+ * @param {number=} opt_index
22787
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22788
+ */
22789
+ proto.bet.CommittedCasinoBooking.prototype.addMissingEvidence = function(value, opt_index) {
22790
+ return jspb.Message.addToRepeatedField(this, 16, value, opt_index);
22791
+ };
22792
+
22793
+
22794
+ /**
22795
+ * Clears the list making it empty but non-null.
22796
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22797
+ */
22798
+ proto.bet.CommittedCasinoBooking.prototype.clearMissingEvidenceList = function() {
22799
+ return this.setMissingEvidenceList([]);
22800
+ };
22801
+
22802
+
22803
+
22804
+
22805
+
22806
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22807
+ /**
22808
+ * Creates an object representation of this proto.
22809
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22810
+ * Optional fields that are not set will be set to undefined.
22811
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22812
+ * For the list of reserved names please see:
22813
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22814
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22815
+ * JSPB instance for transitional soy proto support:
22816
+ * http://goto/soy-param-migration
22817
+ * @return {!Object}
22818
+ */
22819
+ proto.bet.CasinoBookingEvidence.prototype.toObject = function(opt_includeInstance) {
22820
+ return proto.bet.CasinoBookingEvidence.toObject(opt_includeInstance, this);
22821
+ };
22822
+
22823
+
22824
+ /**
22825
+ * Static version of the {@see toObject} method.
22826
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22827
+ * the JSPB instance for transitional soy proto support:
22828
+ * http://goto/soy-param-migration
22829
+ * @param {!proto.bet.CasinoBookingEvidence} msg The msg instance to transform.
22830
+ * @return {!Object}
22831
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22832
+ */
22833
+ proto.bet.CasinoBookingEvidence.toObject = function(includeInstance, msg) {
22834
+ var f, obj = {
22835
+ sessionCurrency: jspb.Message.getFieldWithDefault(msg, 1, ""),
22836
+ sessionAmount: jspb.Message.getFieldWithDefault(msg, 2, ""),
22837
+ sessionCurrencyScale: jspb.Message.getFieldWithDefault(msg, 3, 0),
22838
+ usdAmount: jspb.Message.getFieldWithDefault(msg, 4, ""),
22839
+ usdReal: jspb.Message.getFieldWithDefault(msg, 5, ""),
22840
+ usdBonus: jspb.Message.getFieldWithDefault(msg, 6, ""),
22841
+ valuationSource: jspb.Message.getFieldWithDefault(msg, 7, ""),
22842
+ fundingSource: jspb.Message.getFieldWithDefault(msg, 8, "")
22843
+ };
22844
+
22845
+ if (includeInstance) {
22846
+ obj.$jspbMessageInstance = msg;
22847
+ }
22848
+ return obj;
22849
+ };
22850
+ }
22851
+
22852
+
22853
+ /**
22854
+ * Deserializes binary data (in protobuf wire format).
22855
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22856
+ * @return {!proto.bet.CasinoBookingEvidence}
22857
+ */
22858
+ proto.bet.CasinoBookingEvidence.deserializeBinary = function(bytes) {
22859
+ var reader = new jspb.BinaryReader(bytes);
22860
+ var msg = new proto.bet.CasinoBookingEvidence;
22861
+ return proto.bet.CasinoBookingEvidence.deserializeBinaryFromReader(msg, reader);
22862
+ };
22863
+
22864
+
22865
+ /**
22866
+ * Deserializes binary data (in protobuf wire format) from the
22867
+ * given reader into the given message object.
22868
+ * @param {!proto.bet.CasinoBookingEvidence} msg The message object to deserialize into.
22869
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22870
+ * @return {!proto.bet.CasinoBookingEvidence}
22871
+ */
22872
+ proto.bet.CasinoBookingEvidence.deserializeBinaryFromReader = function(msg, reader) {
22873
+ while (reader.nextField()) {
22874
+ if (reader.isEndGroup()) {
22875
+ break;
22876
+ }
22877
+ var field = reader.getFieldNumber();
22878
+ switch (field) {
22879
+ case 1:
22880
+ var value = /** @type {string} */ (reader.readString());
22881
+ msg.setSessionCurrency(value);
22882
+ break;
22883
+ case 2:
22884
+ var value = /** @type {string} */ (reader.readString());
22885
+ msg.setSessionAmount(value);
22886
+ break;
22887
+ case 3:
22888
+ var value = /** @type {number} */ (reader.readUint32());
22889
+ msg.setSessionCurrencyScale(value);
22890
+ break;
22891
+ case 4:
22892
+ var value = /** @type {string} */ (reader.readString());
22893
+ msg.setUsdAmount(value);
22894
+ break;
22895
+ case 5:
22896
+ var value = /** @type {string} */ (reader.readString());
22897
+ msg.setUsdReal(value);
22898
+ break;
22899
+ case 6:
22900
+ var value = /** @type {string} */ (reader.readString());
22901
+ msg.setUsdBonus(value);
22902
+ break;
22903
+ case 7:
22904
+ var value = /** @type {string} */ (reader.readString());
22905
+ msg.setValuationSource(value);
22906
+ break;
22907
+ case 8:
22908
+ var value = /** @type {string} */ (reader.readString());
22909
+ msg.setFundingSource(value);
22910
+ break;
22911
+ default:
22912
+ reader.skipField();
22913
+ break;
22914
+ }
22915
+ }
22916
+ return msg;
22917
+ };
22918
+
22919
+
22920
+ /**
22921
+ * Serializes the message to binary data (in protobuf wire format).
22922
+ * @return {!Uint8Array}
22923
+ */
22924
+ proto.bet.CasinoBookingEvidence.prototype.serializeBinary = function() {
22925
+ var writer = new jspb.BinaryWriter();
22926
+ proto.bet.CasinoBookingEvidence.serializeBinaryToWriter(this, writer);
22927
+ return writer.getResultBuffer();
22928
+ };
22929
+
22930
+
22931
+ /**
22932
+ * Serializes the given message to binary data (in protobuf wire
22933
+ * format), writing to the given BinaryWriter.
22934
+ * @param {!proto.bet.CasinoBookingEvidence} message
22935
+ * @param {!jspb.BinaryWriter} writer
22936
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22937
+ */
22938
+ proto.bet.CasinoBookingEvidence.serializeBinaryToWriter = function(message, writer) {
22939
+ var f = undefined;
22940
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
22941
+ if (f != null) {
22942
+ writer.writeString(
22943
+ 1,
22944
+ f
22945
+ );
22946
+ }
22947
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
22948
+ if (f != null) {
22949
+ writer.writeString(
22950
+ 2,
22951
+ f
22952
+ );
22953
+ }
22954
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
22955
+ if (f != null) {
22956
+ writer.writeUint32(
22957
+ 3,
22958
+ f
22959
+ );
22960
+ }
22961
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
22962
+ if (f != null) {
22963
+ writer.writeString(
22964
+ 4,
22965
+ f
22966
+ );
22967
+ }
22968
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
22969
+ if (f != null) {
22970
+ writer.writeString(
22971
+ 5,
22972
+ f
22973
+ );
22974
+ }
22975
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
22976
+ if (f != null) {
22977
+ writer.writeString(
22978
+ 6,
22979
+ f
22980
+ );
22981
+ }
22982
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
22983
+ if (f != null) {
22984
+ writer.writeString(
22985
+ 7,
22986
+ f
22987
+ );
22988
+ }
22989
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
22990
+ if (f != null) {
22991
+ writer.writeString(
22992
+ 8,
22993
+ f
22994
+ );
22995
+ }
22996
+ };
22997
+
22998
+
22999
+ /**
23000
+ * optional string session_currency = 1;
23001
+ * @return {string}
23002
+ */
23003
+ proto.bet.CasinoBookingEvidence.prototype.getSessionCurrency = function() {
23004
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
23005
+ };
23006
+
23007
+
23008
+ /**
23009
+ * @param {string} value
23010
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23011
+ */
23012
+ proto.bet.CasinoBookingEvidence.prototype.setSessionCurrency = function(value) {
23013
+ return jspb.Message.setField(this, 1, value);
23014
+ };
23015
+
23016
+
23017
+ /**
23018
+ * Clears the field making it undefined.
23019
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23020
+ */
23021
+ proto.bet.CasinoBookingEvidence.prototype.clearSessionCurrency = function() {
23022
+ return jspb.Message.setField(this, 1, undefined);
23023
+ };
23024
+
23025
+
23026
+ /**
23027
+ * Returns whether this field is set.
23028
+ * @return {boolean}
23029
+ */
23030
+ proto.bet.CasinoBookingEvidence.prototype.hasSessionCurrency = function() {
23031
+ return jspb.Message.getField(this, 1) != null;
23032
+ };
23033
+
23034
+
23035
+ /**
23036
+ * optional string session_amount = 2;
23037
+ * @return {string}
23038
+ */
23039
+ proto.bet.CasinoBookingEvidence.prototype.getSessionAmount = function() {
23040
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23041
+ };
23042
+
23043
+
23044
+ /**
23045
+ * @param {string} value
23046
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23047
+ */
23048
+ proto.bet.CasinoBookingEvidence.prototype.setSessionAmount = function(value) {
23049
+ return jspb.Message.setField(this, 2, value);
23050
+ };
23051
+
23052
+
23053
+ /**
23054
+ * Clears the field making it undefined.
23055
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23056
+ */
23057
+ proto.bet.CasinoBookingEvidence.prototype.clearSessionAmount = function() {
23058
+ return jspb.Message.setField(this, 2, undefined);
23059
+ };
23060
+
23061
+
23062
+ /**
23063
+ * Returns whether this field is set.
23064
+ * @return {boolean}
23065
+ */
23066
+ proto.bet.CasinoBookingEvidence.prototype.hasSessionAmount = function() {
23067
+ return jspb.Message.getField(this, 2) != null;
23068
+ };
23069
+
23070
+
23071
+ /**
23072
+ * optional uint32 session_currency_scale = 3;
23073
+ * @return {number}
23074
+ */
23075
+ proto.bet.CasinoBookingEvidence.prototype.getSessionCurrencyScale = function() {
23076
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
23077
+ };
23078
+
23079
+
23080
+ /**
23081
+ * @param {number} value
23082
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23083
+ */
23084
+ proto.bet.CasinoBookingEvidence.prototype.setSessionCurrencyScale = function(value) {
23085
+ return jspb.Message.setField(this, 3, value);
23086
+ };
23087
+
23088
+
23089
+ /**
23090
+ * Clears the field making it undefined.
23091
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23092
+ */
23093
+ proto.bet.CasinoBookingEvidence.prototype.clearSessionCurrencyScale = function() {
23094
+ return jspb.Message.setField(this, 3, undefined);
23095
+ };
23096
+
23097
+
23098
+ /**
23099
+ * Returns whether this field is set.
23100
+ * @return {boolean}
23101
+ */
23102
+ proto.bet.CasinoBookingEvidence.prototype.hasSessionCurrencyScale = function() {
23103
+ return jspb.Message.getField(this, 3) != null;
23104
+ };
23105
+
23106
+
23107
+ /**
23108
+ * optional string usd_amount = 4;
23109
+ * @return {string}
23110
+ */
23111
+ proto.bet.CasinoBookingEvidence.prototype.getUsdAmount = function() {
23112
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
23113
+ };
23114
+
23115
+
23116
+ /**
23117
+ * @param {string} value
23118
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23119
+ */
23120
+ proto.bet.CasinoBookingEvidence.prototype.setUsdAmount = function(value) {
23121
+ return jspb.Message.setField(this, 4, value);
23122
+ };
23123
+
23124
+
23125
+ /**
23126
+ * Clears the field making it undefined.
23127
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23128
+ */
23129
+ proto.bet.CasinoBookingEvidence.prototype.clearUsdAmount = function() {
23130
+ return jspb.Message.setField(this, 4, undefined);
23131
+ };
23132
+
23133
+
23134
+ /**
23135
+ * Returns whether this field is set.
23136
+ * @return {boolean}
23137
+ */
23138
+ proto.bet.CasinoBookingEvidence.prototype.hasUsdAmount = function() {
23139
+ return jspb.Message.getField(this, 4) != null;
23140
+ };
23141
+
23142
+
23143
+ /**
23144
+ * optional string usd_real = 5;
23145
+ * @return {string}
23146
+ */
23147
+ proto.bet.CasinoBookingEvidence.prototype.getUsdReal = function() {
23148
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
23149
+ };
23150
+
23151
+
23152
+ /**
23153
+ * @param {string} value
23154
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23155
+ */
23156
+ proto.bet.CasinoBookingEvidence.prototype.setUsdReal = function(value) {
23157
+ return jspb.Message.setField(this, 5, value);
23158
+ };
23159
+
23160
+
23161
+ /**
23162
+ * Clears the field making it undefined.
23163
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23164
+ */
23165
+ proto.bet.CasinoBookingEvidence.prototype.clearUsdReal = function() {
23166
+ return jspb.Message.setField(this, 5, undefined);
23167
+ };
23168
+
23169
+
23170
+ /**
23171
+ * Returns whether this field is set.
23172
+ * @return {boolean}
23173
+ */
23174
+ proto.bet.CasinoBookingEvidence.prototype.hasUsdReal = function() {
23175
+ return jspb.Message.getField(this, 5) != null;
23176
+ };
23177
+
23178
+
23179
+ /**
23180
+ * optional string usd_bonus = 6;
23181
+ * @return {string}
23182
+ */
23183
+ proto.bet.CasinoBookingEvidence.prototype.getUsdBonus = function() {
23184
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
23185
+ };
23186
+
23187
+
23188
+ /**
23189
+ * @param {string} value
23190
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23191
+ */
23192
+ proto.bet.CasinoBookingEvidence.prototype.setUsdBonus = function(value) {
23193
+ return jspb.Message.setField(this, 6, value);
23194
+ };
23195
+
23196
+
23197
+ /**
23198
+ * Clears the field making it undefined.
23199
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23200
+ */
23201
+ proto.bet.CasinoBookingEvidence.prototype.clearUsdBonus = function() {
23202
+ return jspb.Message.setField(this, 6, undefined);
23203
+ };
23204
+
23205
+
23206
+ /**
23207
+ * Returns whether this field is set.
23208
+ * @return {boolean}
23209
+ */
23210
+ proto.bet.CasinoBookingEvidence.prototype.hasUsdBonus = function() {
23211
+ return jspb.Message.getField(this, 6) != null;
23212
+ };
23213
+
23214
+
23215
+ /**
23216
+ * optional string valuation_source = 7;
23217
+ * @return {string}
23218
+ */
23219
+ proto.bet.CasinoBookingEvidence.prototype.getValuationSource = function() {
23220
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
23221
+ };
23222
+
23223
+
23224
+ /**
23225
+ * @param {string} value
23226
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23227
+ */
23228
+ proto.bet.CasinoBookingEvidence.prototype.setValuationSource = function(value) {
23229
+ return jspb.Message.setField(this, 7, value);
23230
+ };
23231
+
23232
+
23233
+ /**
23234
+ * Clears the field making it undefined.
23235
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23236
+ */
23237
+ proto.bet.CasinoBookingEvidence.prototype.clearValuationSource = function() {
23238
+ return jspb.Message.setField(this, 7, undefined);
23239
+ };
23240
+
23241
+
23242
+ /**
23243
+ * Returns whether this field is set.
23244
+ * @return {boolean}
23245
+ */
23246
+ proto.bet.CasinoBookingEvidence.prototype.hasValuationSource = function() {
23247
+ return jspb.Message.getField(this, 7) != null;
23248
+ };
23249
+
23250
+
23251
+ /**
23252
+ * optional string funding_source = 8;
23253
+ * @return {string}
23254
+ */
23255
+ proto.bet.CasinoBookingEvidence.prototype.getFundingSource = function() {
23256
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
23257
+ };
23258
+
23259
+
23260
+ /**
23261
+ * @param {string} value
23262
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23263
+ */
23264
+ proto.bet.CasinoBookingEvidence.prototype.setFundingSource = function(value) {
23265
+ return jspb.Message.setField(this, 8, value);
23266
+ };
23267
+
23268
+
23269
+ /**
23270
+ * Clears the field making it undefined.
23271
+ * @return {!proto.bet.CasinoBookingEvidence} returns this
23272
+ */
23273
+ proto.bet.CasinoBookingEvidence.prototype.clearFundingSource = function() {
23274
+ return jspb.Message.setField(this, 8, undefined);
23275
+ };
23276
+
23277
+
23278
+ /**
23279
+ * Returns whether this field is set.
23280
+ * @return {boolean}
23281
+ */
23282
+ proto.bet.CasinoBookingEvidence.prototype.hasFundingSource = function() {
23283
+ return jspb.Message.getField(this, 8) != null;
23284
+ };
23285
+
23286
+
23287
+
23288
+
23289
+
23290
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23291
+ /**
23292
+ * Creates an object representation of this proto.
23293
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23294
+ * Optional fields that are not set will be set to undefined.
23295
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23296
+ * For the list of reserved names please see:
23297
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23298
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23299
+ * JSPB instance for transitional soy proto support:
23300
+ * http://goto/soy-param-migration
23301
+ * @return {!Object}
23302
+ */
23303
+ proto.bet.CasinoBookingReversal.prototype.toObject = function(opt_includeInstance) {
23304
+ return proto.bet.CasinoBookingReversal.toObject(opt_includeInstance, this);
23305
+ };
23306
+
23307
+
23308
+ /**
23309
+ * Static version of the {@see toObject} method.
23310
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23311
+ * the JSPB instance for transitional soy proto support:
23312
+ * http://goto/soy-param-migration
23313
+ * @param {!proto.bet.CasinoBookingReversal} msg The msg instance to transform.
23314
+ * @return {!Object}
23315
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23316
+ */
23317
+ proto.bet.CasinoBookingReversal.toObject = function(includeInstance, msg) {
23318
+ var f, obj = {
23319
+ originalActionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
23320
+ originalTransactionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
23321
+ originalRoundId: jspb.Message.getFieldWithDefault(msg, 3, ""),
23322
+ originalAction: jspb.Message.getFieldWithDefault(msg, 4, ""),
23323
+ reversedAmounts: (f = msg.getReversedAmounts()) && proto.bet.CasinoBookingEvidence.toObject(includeInstance, f)
23324
+ };
23325
+
23326
+ if (includeInstance) {
23327
+ obj.$jspbMessageInstance = msg;
23328
+ }
23329
+ return obj;
23330
+ };
23331
+ }
23332
+
23333
+
23334
+ /**
23335
+ * Deserializes binary data (in protobuf wire format).
23336
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23337
+ * @return {!proto.bet.CasinoBookingReversal}
23338
+ */
23339
+ proto.bet.CasinoBookingReversal.deserializeBinary = function(bytes) {
23340
+ var reader = new jspb.BinaryReader(bytes);
23341
+ var msg = new proto.bet.CasinoBookingReversal;
23342
+ return proto.bet.CasinoBookingReversal.deserializeBinaryFromReader(msg, reader);
23343
+ };
23344
+
23345
+
23346
+ /**
23347
+ * Deserializes binary data (in protobuf wire format) from the
23348
+ * given reader into the given message object.
23349
+ * @param {!proto.bet.CasinoBookingReversal} msg The message object to deserialize into.
23350
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23351
+ * @return {!proto.bet.CasinoBookingReversal}
23352
+ */
23353
+ proto.bet.CasinoBookingReversal.deserializeBinaryFromReader = function(msg, reader) {
23354
+ while (reader.nextField()) {
23355
+ if (reader.isEndGroup()) {
23356
+ break;
23357
+ }
23358
+ var field = reader.getFieldNumber();
23359
+ switch (field) {
23360
+ case 1:
23361
+ var value = /** @type {string} */ (reader.readString());
23362
+ msg.setOriginalActionId(value);
23363
+ break;
23364
+ case 2:
23365
+ var value = /** @type {string} */ (reader.readString());
23366
+ msg.setOriginalTransactionId(value);
23367
+ break;
23368
+ case 3:
23369
+ var value = /** @type {string} */ (reader.readString());
23370
+ msg.setOriginalRoundId(value);
23371
+ break;
23372
+ case 4:
23373
+ var value = /** @type {string} */ (reader.readString());
23374
+ msg.setOriginalAction(value);
23375
+ break;
23376
+ case 5:
23377
+ var value = new proto.bet.CasinoBookingEvidence;
23378
+ reader.readMessage(value,proto.bet.CasinoBookingEvidence.deserializeBinaryFromReader);
23379
+ msg.setReversedAmounts(value);
23380
+ break;
23381
+ default:
23382
+ reader.skipField();
23383
+ break;
23384
+ }
23385
+ }
23386
+ return msg;
23387
+ };
23388
+
23389
+
23390
+ /**
23391
+ * Serializes the message to binary data (in protobuf wire format).
23392
+ * @return {!Uint8Array}
23393
+ */
23394
+ proto.bet.CasinoBookingReversal.prototype.serializeBinary = function() {
23395
+ var writer = new jspb.BinaryWriter();
23396
+ proto.bet.CasinoBookingReversal.serializeBinaryToWriter(this, writer);
23397
+ return writer.getResultBuffer();
23398
+ };
23399
+
23400
+
23401
+ /**
23402
+ * Serializes the given message to binary data (in protobuf wire
23403
+ * format), writing to the given BinaryWriter.
23404
+ * @param {!proto.bet.CasinoBookingReversal} message
23405
+ * @param {!jspb.BinaryWriter} writer
23406
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23407
+ */
23408
+ proto.bet.CasinoBookingReversal.serializeBinaryToWriter = function(message, writer) {
23409
+ var f = undefined;
23410
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
23411
+ if (f != null) {
23412
+ writer.writeString(
23413
+ 1,
23414
+ f
23415
+ );
23416
+ }
23417
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
23418
+ if (f != null) {
23419
+ writer.writeString(
23420
+ 2,
23421
+ f
23422
+ );
23423
+ }
23424
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
23425
+ if (f != null) {
23426
+ writer.writeString(
23427
+ 3,
23428
+ f
23429
+ );
23430
+ }
23431
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
23432
+ if (f != null) {
23433
+ writer.writeString(
23434
+ 4,
23435
+ f
23436
+ );
23437
+ }
23438
+ f = message.getReversedAmounts();
23439
+ if (f != null) {
23440
+ writer.writeMessage(
23441
+ 5,
23442
+ f,
23443
+ proto.bet.CasinoBookingEvidence.serializeBinaryToWriter
23444
+ );
23445
+ }
23446
+ };
23447
+
23448
+
23449
+ /**
23450
+ * optional string original_action_id = 1;
23451
+ * @return {string}
23452
+ */
23453
+ proto.bet.CasinoBookingReversal.prototype.getOriginalActionId = function() {
23454
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
23455
+ };
23456
+
23457
+
23458
+ /**
23459
+ * @param {string} value
23460
+ * @return {!proto.bet.CasinoBookingReversal} returns this
23461
+ */
23462
+ proto.bet.CasinoBookingReversal.prototype.setOriginalActionId = function(value) {
23463
+ return jspb.Message.setField(this, 1, value);
23464
+ };
23465
+
23466
+
23467
+ /**
23468
+ * Clears the field making it undefined.
23469
+ * @return {!proto.bet.CasinoBookingReversal} returns this
23470
+ */
23471
+ proto.bet.CasinoBookingReversal.prototype.clearOriginalActionId = function() {
23472
+ return jspb.Message.setField(this, 1, undefined);
23473
+ };
23474
+
23475
+
23476
+ /**
23477
+ * Returns whether this field is set.
23478
+ * @return {boolean}
23479
+ */
23480
+ proto.bet.CasinoBookingReversal.prototype.hasOriginalActionId = function() {
23481
+ return jspb.Message.getField(this, 1) != null;
23482
+ };
23483
+
23484
+
23485
+ /**
23486
+ * optional string original_transaction_id = 2;
23487
+ * @return {string}
23488
+ */
23489
+ proto.bet.CasinoBookingReversal.prototype.getOriginalTransactionId = function() {
23490
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23491
+ };
23492
+
23493
+
23494
+ /**
23495
+ * @param {string} value
23496
+ * @return {!proto.bet.CasinoBookingReversal} returns this
23497
+ */
23498
+ proto.bet.CasinoBookingReversal.prototype.setOriginalTransactionId = function(value) {
23499
+ return jspb.Message.setField(this, 2, value);
23500
+ };
23501
+
23502
+
23503
+ /**
23504
+ * Clears the field making it undefined.
23505
+ * @return {!proto.bet.CasinoBookingReversal} returns this
23506
+ */
23507
+ proto.bet.CasinoBookingReversal.prototype.clearOriginalTransactionId = function() {
23508
+ return jspb.Message.setField(this, 2, undefined);
23509
+ };
23510
+
23511
+
23512
+ /**
23513
+ * Returns whether this field is set.
23514
+ * @return {boolean}
23515
+ */
23516
+ proto.bet.CasinoBookingReversal.prototype.hasOriginalTransactionId = function() {
23517
+ return jspb.Message.getField(this, 2) != null;
23518
+ };
23519
+
23520
+
23521
+ /**
23522
+ * optional string original_round_id = 3;
23523
+ * @return {string}
23524
+ */
23525
+ proto.bet.CasinoBookingReversal.prototype.getOriginalRoundId = function() {
23526
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
23527
+ };
23528
+
23529
+
23530
+ /**
23531
+ * @param {string} value
23532
+ * @return {!proto.bet.CasinoBookingReversal} returns this
23533
+ */
23534
+ proto.bet.CasinoBookingReversal.prototype.setOriginalRoundId = function(value) {
23535
+ return jspb.Message.setField(this, 3, value);
23536
+ };
23537
+
23538
+
23539
+ /**
23540
+ * Clears the field making it undefined.
23541
+ * @return {!proto.bet.CasinoBookingReversal} returns this
23542
+ */
23543
+ proto.bet.CasinoBookingReversal.prototype.clearOriginalRoundId = function() {
23544
+ return jspb.Message.setField(this, 3, undefined);
23545
+ };
23546
+
23547
+
23548
+ /**
23549
+ * Returns whether this field is set.
23550
+ * @return {boolean}
23551
+ */
23552
+ proto.bet.CasinoBookingReversal.prototype.hasOriginalRoundId = function() {
23553
+ return jspb.Message.getField(this, 3) != null;
23554
+ };
23555
+
23556
+
23557
+ /**
23558
+ * optional string original_action = 4;
23559
+ * @return {string}
23560
+ */
23561
+ proto.bet.CasinoBookingReversal.prototype.getOriginalAction = function() {
23562
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
23563
+ };
23564
+
23565
+
23566
+ /**
23567
+ * @param {string} value
23568
+ * @return {!proto.bet.CasinoBookingReversal} returns this
23569
+ */
23570
+ proto.bet.CasinoBookingReversal.prototype.setOriginalAction = function(value) {
23571
+ return jspb.Message.setField(this, 4, value);
23572
+ };
23573
+
23574
+
23575
+ /**
23576
+ * Clears the field making it undefined.
23577
+ * @return {!proto.bet.CasinoBookingReversal} returns this
23578
+ */
23579
+ proto.bet.CasinoBookingReversal.prototype.clearOriginalAction = function() {
23580
+ return jspb.Message.setField(this, 4, undefined);
23581
+ };
23582
+
23583
+
23584
+ /**
23585
+ * Returns whether this field is set.
23586
+ * @return {boolean}
23587
+ */
23588
+ proto.bet.CasinoBookingReversal.prototype.hasOriginalAction = function() {
23589
+ return jspb.Message.getField(this, 4) != null;
23590
+ };
23591
+
23592
+
23593
+ /**
23594
+ * optional CasinoBookingEvidence reversed_amounts = 5;
23595
+ * @return {?proto.bet.CasinoBookingEvidence}
23596
+ */
23597
+ proto.bet.CasinoBookingReversal.prototype.getReversedAmounts = function() {
23598
+ return /** @type{?proto.bet.CasinoBookingEvidence} */ (
23599
+ jspb.Message.getWrapperField(this, proto.bet.CasinoBookingEvidence, 5));
23600
+ };
23601
+
23602
+
23603
+ /**
23604
+ * @param {?proto.bet.CasinoBookingEvidence|undefined} value
23605
+ * @return {!proto.bet.CasinoBookingReversal} returns this
23606
+ */
23607
+ proto.bet.CasinoBookingReversal.prototype.setReversedAmounts = function(value) {
23608
+ return jspb.Message.setWrapperField(this, 5, value);
23609
+ };
23610
+
23611
+
23612
+ /**
23613
+ * Clears the message field making it undefined.
23614
+ * @return {!proto.bet.CasinoBookingReversal} returns this
23615
+ */
23616
+ proto.bet.CasinoBookingReversal.prototype.clearReversedAmounts = function() {
23617
+ return this.setReversedAmounts(undefined);
23618
+ };
23619
+
23620
+
23621
+ /**
23622
+ * Returns whether this field is set.
23623
+ * @return {boolean}
23624
+ */
23625
+ proto.bet.CasinoBookingReversal.prototype.hasReversedAmounts = function() {
23626
+ return jspb.Message.getField(this, 5) != null;
23627
+ };
23628
+
23629
+
21997
23630
  goog.object.extend(exports, proto.bet);