protobuf-platform 1.2.741 → 1.2.742

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
@@ -35,6 +35,9 @@ goog.exportSymbol('proto.bet.BetsHistoryResponse', null, global);
35
35
  goog.exportSymbol('proto.bet.CasinoBetHistoryFilterRequest', null, global);
36
36
  goog.exportSymbol('proto.bet.CasinoBookingEvidence', null, global);
37
37
  goog.exportSymbol('proto.bet.CasinoBookingReversal', null, global);
38
+ goog.exportSymbol('proto.bet.CasinoRecoveryAction', null, global);
39
+ goog.exportSymbol('proto.bet.CasinoRecoveryBatch', null, global);
40
+ goog.exportSymbol('proto.bet.CasinoRecoverySnapshotRequest', null, global);
38
41
  goog.exportSymbol('proto.bet.CommittedCasinoBooking', null, global);
39
42
  goog.exportSymbol('proto.bet.CreateTestBetRequest', null, global);
40
43
  goog.exportSymbol('proto.bet.CreateTestBetResponse', null, global);
@@ -1209,6 +1212,69 @@ if (goog.DEBUG && !COMPILED) {
1209
1212
  */
1210
1213
  proto.bet.CasinoBookingReversal.displayName = 'proto.bet.CasinoBookingReversal';
1211
1214
  }
1215
+ /**
1216
+ * Generated by JsPbCodeGenerator.
1217
+ * @param {Array=} opt_data Optional initial data array, typically from a
1218
+ * server response, or constructed directly in Javascript. The array is used
1219
+ * in place and becomes part of the constructed object. It is not cloned.
1220
+ * If no data is provided, the constructed object will be empty, but still
1221
+ * valid.
1222
+ * @extends {jspb.Message}
1223
+ * @constructor
1224
+ */
1225
+ proto.bet.CasinoRecoverySnapshotRequest = function(opt_data) {
1226
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1227
+ };
1228
+ goog.inherits(proto.bet.CasinoRecoverySnapshotRequest, jspb.Message);
1229
+ if (goog.DEBUG && !COMPILED) {
1230
+ /**
1231
+ * @public
1232
+ * @override
1233
+ */
1234
+ proto.bet.CasinoRecoverySnapshotRequest.displayName = 'proto.bet.CasinoRecoverySnapshotRequest';
1235
+ }
1236
+ /**
1237
+ * Generated by JsPbCodeGenerator.
1238
+ * @param {Array=} opt_data Optional initial data array, typically from a
1239
+ * server response, or constructed directly in Javascript. The array is used
1240
+ * in place and becomes part of the constructed object. It is not cloned.
1241
+ * If no data is provided, the constructed object will be empty, but still
1242
+ * valid.
1243
+ * @extends {jspb.Message}
1244
+ * @constructor
1245
+ */
1246
+ proto.bet.CasinoRecoveryAction = function(opt_data) {
1247
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1248
+ };
1249
+ goog.inherits(proto.bet.CasinoRecoveryAction, jspb.Message);
1250
+ if (goog.DEBUG && !COMPILED) {
1251
+ /**
1252
+ * @public
1253
+ * @override
1254
+ */
1255
+ proto.bet.CasinoRecoveryAction.displayName = 'proto.bet.CasinoRecoveryAction';
1256
+ }
1257
+ /**
1258
+ * Generated by JsPbCodeGenerator.
1259
+ * @param {Array=} opt_data Optional initial data array, typically from a
1260
+ * server response, or constructed directly in Javascript. The array is used
1261
+ * in place and becomes part of the constructed object. It is not cloned.
1262
+ * If no data is provided, the constructed object will be empty, but still
1263
+ * valid.
1264
+ * @extends {jspb.Message}
1265
+ * @constructor
1266
+ */
1267
+ proto.bet.CasinoRecoveryBatch = function(opt_data) {
1268
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.CasinoRecoveryBatch.repeatedFields_, null);
1269
+ };
1270
+ goog.inherits(proto.bet.CasinoRecoveryBatch, jspb.Message);
1271
+ if (goog.DEBUG && !COMPILED) {
1272
+ /**
1273
+ * @public
1274
+ * @override
1275
+ */
1276
+ proto.bet.CasinoRecoveryBatch.displayName = 'proto.bet.CasinoRecoveryBatch';
1277
+ }
1212
1278
 
1213
1279
 
1214
1280
 
@@ -23771,4 +23837,1567 @@ proto.bet.CasinoBookingReversal.prototype.hasReversedAmounts = function() {
23771
23837
  };
23772
23838
 
23773
23839
 
23840
+
23841
+
23842
+
23843
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23844
+ /**
23845
+ * Creates an object representation of this proto.
23846
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23847
+ * Optional fields that are not set will be set to undefined.
23848
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23849
+ * For the list of reserved names please see:
23850
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23851
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23852
+ * JSPB instance for transitional soy proto support:
23853
+ * http://goto/soy-param-migration
23854
+ * @return {!Object}
23855
+ */
23856
+ proto.bet.CasinoRecoverySnapshotRequest.prototype.toObject = function(opt_includeInstance) {
23857
+ return proto.bet.CasinoRecoverySnapshotRequest.toObject(opt_includeInstance, this);
23858
+ };
23859
+
23860
+
23861
+ /**
23862
+ * Static version of the {@see toObject} method.
23863
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23864
+ * the JSPB instance for transitional soy proto support:
23865
+ * http://goto/soy-param-migration
23866
+ * @param {!proto.bet.CasinoRecoverySnapshotRequest} msg The msg instance to transform.
23867
+ * @return {!Object}
23868
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23869
+ */
23870
+ proto.bet.CasinoRecoverySnapshotRequest.toObject = function(includeInstance, msg) {
23871
+ var f, obj = {
23872
+ customer: jspb.Message.getFieldWithDefault(msg, 1, ""),
23873
+ batchSize: jspb.Message.getFieldWithDefault(msg, 2, 0)
23874
+ };
23875
+
23876
+ if (includeInstance) {
23877
+ obj.$jspbMessageInstance = msg;
23878
+ }
23879
+ return obj;
23880
+ };
23881
+ }
23882
+
23883
+
23884
+ /**
23885
+ * Deserializes binary data (in protobuf wire format).
23886
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23887
+ * @return {!proto.bet.CasinoRecoverySnapshotRequest}
23888
+ */
23889
+ proto.bet.CasinoRecoverySnapshotRequest.deserializeBinary = function(bytes) {
23890
+ var reader = new jspb.BinaryReader(bytes);
23891
+ var msg = new proto.bet.CasinoRecoverySnapshotRequest;
23892
+ return proto.bet.CasinoRecoverySnapshotRequest.deserializeBinaryFromReader(msg, reader);
23893
+ };
23894
+
23895
+
23896
+ /**
23897
+ * Deserializes binary data (in protobuf wire format) from the
23898
+ * given reader into the given message object.
23899
+ * @param {!proto.bet.CasinoRecoverySnapshotRequest} msg The message object to deserialize into.
23900
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23901
+ * @return {!proto.bet.CasinoRecoverySnapshotRequest}
23902
+ */
23903
+ proto.bet.CasinoRecoverySnapshotRequest.deserializeBinaryFromReader = function(msg, reader) {
23904
+ while (reader.nextField()) {
23905
+ if (reader.isEndGroup()) {
23906
+ break;
23907
+ }
23908
+ var field = reader.getFieldNumber();
23909
+ switch (field) {
23910
+ case 1:
23911
+ var value = /** @type {string} */ (reader.readString());
23912
+ msg.setCustomer(value);
23913
+ break;
23914
+ case 2:
23915
+ var value = /** @type {number} */ (reader.readUint32());
23916
+ msg.setBatchSize(value);
23917
+ break;
23918
+ default:
23919
+ reader.skipField();
23920
+ break;
23921
+ }
23922
+ }
23923
+ return msg;
23924
+ };
23925
+
23926
+
23927
+ /**
23928
+ * Serializes the message to binary data (in protobuf wire format).
23929
+ * @return {!Uint8Array}
23930
+ */
23931
+ proto.bet.CasinoRecoverySnapshotRequest.prototype.serializeBinary = function() {
23932
+ var writer = new jspb.BinaryWriter();
23933
+ proto.bet.CasinoRecoverySnapshotRequest.serializeBinaryToWriter(this, writer);
23934
+ return writer.getResultBuffer();
23935
+ };
23936
+
23937
+
23938
+ /**
23939
+ * Serializes the given message to binary data (in protobuf wire
23940
+ * format), writing to the given BinaryWriter.
23941
+ * @param {!proto.bet.CasinoRecoverySnapshotRequest} message
23942
+ * @param {!jspb.BinaryWriter} writer
23943
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23944
+ */
23945
+ proto.bet.CasinoRecoverySnapshotRequest.serializeBinaryToWriter = function(message, writer) {
23946
+ var f = undefined;
23947
+ f = message.getCustomer();
23948
+ if (f.length > 0) {
23949
+ writer.writeString(
23950
+ 1,
23951
+ f
23952
+ );
23953
+ }
23954
+ f = message.getBatchSize();
23955
+ if (f !== 0) {
23956
+ writer.writeUint32(
23957
+ 2,
23958
+ f
23959
+ );
23960
+ }
23961
+ };
23962
+
23963
+
23964
+ /**
23965
+ * optional string customer = 1;
23966
+ * @return {string}
23967
+ */
23968
+ proto.bet.CasinoRecoverySnapshotRequest.prototype.getCustomer = function() {
23969
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
23970
+ };
23971
+
23972
+
23973
+ /**
23974
+ * @param {string} value
23975
+ * @return {!proto.bet.CasinoRecoverySnapshotRequest} returns this
23976
+ */
23977
+ proto.bet.CasinoRecoverySnapshotRequest.prototype.setCustomer = function(value) {
23978
+ return jspb.Message.setProto3StringField(this, 1, value);
23979
+ };
23980
+
23981
+
23982
+ /**
23983
+ * optional uint32 batch_size = 2;
23984
+ * @return {number}
23985
+ */
23986
+ proto.bet.CasinoRecoverySnapshotRequest.prototype.getBatchSize = function() {
23987
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
23988
+ };
23989
+
23990
+
23991
+ /**
23992
+ * @param {number} value
23993
+ * @return {!proto.bet.CasinoRecoverySnapshotRequest} returns this
23994
+ */
23995
+ proto.bet.CasinoRecoverySnapshotRequest.prototype.setBatchSize = function(value) {
23996
+ return jspb.Message.setProto3IntField(this, 2, value);
23997
+ };
23998
+
23999
+
24000
+
24001
+
24002
+
24003
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24004
+ /**
24005
+ * Creates an object representation of this proto.
24006
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24007
+ * Optional fields that are not set will be set to undefined.
24008
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24009
+ * For the list of reserved names please see:
24010
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24011
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24012
+ * JSPB instance for transitional soy proto support:
24013
+ * http://goto/soy-param-migration
24014
+ * @return {!Object}
24015
+ */
24016
+ proto.bet.CasinoRecoveryAction.prototype.toObject = function(opt_includeInstance) {
24017
+ return proto.bet.CasinoRecoveryAction.toObject(opt_includeInstance, this);
24018
+ };
24019
+
24020
+
24021
+ /**
24022
+ * Static version of the {@see toObject} method.
24023
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24024
+ * the JSPB instance for transitional soy proto support:
24025
+ * http://goto/soy-param-migration
24026
+ * @param {!proto.bet.CasinoRecoveryAction} msg The msg instance to transform.
24027
+ * @return {!Object}
24028
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24029
+ */
24030
+ proto.bet.CasinoRecoveryAction.toObject = function(includeInstance, msg) {
24031
+ var f, obj = {
24032
+ sourceActionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
24033
+ createdAtUtc: jspb.Message.getFieldWithDefault(msg, 2, ""),
24034
+ userId: jspb.Message.getFieldWithDefault(msg, 3, ""),
24035
+ gameUuid: jspb.Message.getFieldWithDefault(msg, 4, ""),
24036
+ action: jspb.Message.getFieldWithDefault(msg, 5, ""),
24037
+ storedType: jspb.Message.getFieldWithDefault(msg, 6, ""),
24038
+ transactionId: jspb.Message.getFieldWithDefault(msg, 7, ""),
24039
+ sessionId: jspb.Message.getFieldWithDefault(msg, 8, ""),
24040
+ roundId: jspb.Message.getFieldWithDefault(msg, 9, ""),
24041
+ freeSpinId: jspb.Message.getFieldWithDefault(msg, 10, ""),
24042
+ balanceType: jspb.Message.getFieldWithDefault(msg, 11, ""),
24043
+ currency: jspb.Message.getFieldWithDefault(msg, 12, ""),
24044
+ legacyFloatAmount: jspb.Message.getFieldWithDefault(msg, 13, ""),
24045
+ realAmountMinor: jspb.Message.getFieldWithDefault(msg, 14, ""),
24046
+ bonusAmountMinor: jspb.Message.getFieldWithDefault(msg, 15, ""),
24047
+ providerCurrency: jspb.Message.getFieldWithDefault(msg, 16, ""),
24048
+ providerCurrencyScale: jspb.Message.getFieldWithDefault(msg, 17, 0),
24049
+ providerAmount: jspb.Message.getFieldWithDefault(msg, 18, ""),
24050
+ providerAmountMinor: jspb.Message.getFieldWithDefault(msg, 19, ""),
24051
+ fxRate: jspb.Message.getFieldWithDefault(msg, 20, ""),
24052
+ committedBooking: (f = msg.getCommittedBooking()) && proto.bet.CommittedCasinoBooking.toObject(includeInstance, f)
24053
+ };
24054
+
24055
+ if (includeInstance) {
24056
+ obj.$jspbMessageInstance = msg;
24057
+ }
24058
+ return obj;
24059
+ };
24060
+ }
24061
+
24062
+
24063
+ /**
24064
+ * Deserializes binary data (in protobuf wire format).
24065
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24066
+ * @return {!proto.bet.CasinoRecoveryAction}
24067
+ */
24068
+ proto.bet.CasinoRecoveryAction.deserializeBinary = function(bytes) {
24069
+ var reader = new jspb.BinaryReader(bytes);
24070
+ var msg = new proto.bet.CasinoRecoveryAction;
24071
+ return proto.bet.CasinoRecoveryAction.deserializeBinaryFromReader(msg, reader);
24072
+ };
24073
+
24074
+
24075
+ /**
24076
+ * Deserializes binary data (in protobuf wire format) from the
24077
+ * given reader into the given message object.
24078
+ * @param {!proto.bet.CasinoRecoveryAction} msg The message object to deserialize into.
24079
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24080
+ * @return {!proto.bet.CasinoRecoveryAction}
24081
+ */
24082
+ proto.bet.CasinoRecoveryAction.deserializeBinaryFromReader = function(msg, reader) {
24083
+ while (reader.nextField()) {
24084
+ if (reader.isEndGroup()) {
24085
+ break;
24086
+ }
24087
+ var field = reader.getFieldNumber();
24088
+ switch (field) {
24089
+ case 1:
24090
+ var value = /** @type {string} */ (reader.readString());
24091
+ msg.setSourceActionId(value);
24092
+ break;
24093
+ case 2:
24094
+ var value = /** @type {string} */ (reader.readString());
24095
+ msg.setCreatedAtUtc(value);
24096
+ break;
24097
+ case 3:
24098
+ var value = /** @type {string} */ (reader.readString());
24099
+ msg.setUserId(value);
24100
+ break;
24101
+ case 4:
24102
+ var value = /** @type {string} */ (reader.readString());
24103
+ msg.setGameUuid(value);
24104
+ break;
24105
+ case 5:
24106
+ var value = /** @type {string} */ (reader.readString());
24107
+ msg.setAction(value);
24108
+ break;
24109
+ case 6:
24110
+ var value = /** @type {string} */ (reader.readString());
24111
+ msg.setStoredType(value);
24112
+ break;
24113
+ case 7:
24114
+ var value = /** @type {string} */ (reader.readString());
24115
+ msg.setTransactionId(value);
24116
+ break;
24117
+ case 8:
24118
+ var value = /** @type {string} */ (reader.readString());
24119
+ msg.setSessionId(value);
24120
+ break;
24121
+ case 9:
24122
+ var value = /** @type {string} */ (reader.readString());
24123
+ msg.setRoundId(value);
24124
+ break;
24125
+ case 10:
24126
+ var value = /** @type {string} */ (reader.readString());
24127
+ msg.setFreeSpinId(value);
24128
+ break;
24129
+ case 11:
24130
+ var value = /** @type {string} */ (reader.readString());
24131
+ msg.setBalanceType(value);
24132
+ break;
24133
+ case 12:
24134
+ var value = /** @type {string} */ (reader.readString());
24135
+ msg.setCurrency(value);
24136
+ break;
24137
+ case 13:
24138
+ var value = /** @type {string} */ (reader.readString());
24139
+ msg.setLegacyFloatAmount(value);
24140
+ break;
24141
+ case 14:
24142
+ var value = /** @type {string} */ (reader.readString());
24143
+ msg.setRealAmountMinor(value);
24144
+ break;
24145
+ case 15:
24146
+ var value = /** @type {string} */ (reader.readString());
24147
+ msg.setBonusAmountMinor(value);
24148
+ break;
24149
+ case 16:
24150
+ var value = /** @type {string} */ (reader.readString());
24151
+ msg.setProviderCurrency(value);
24152
+ break;
24153
+ case 17:
24154
+ var value = /** @type {number} */ (reader.readUint32());
24155
+ msg.setProviderCurrencyScale(value);
24156
+ break;
24157
+ case 18:
24158
+ var value = /** @type {string} */ (reader.readString());
24159
+ msg.setProviderAmount(value);
24160
+ break;
24161
+ case 19:
24162
+ var value = /** @type {string} */ (reader.readString());
24163
+ msg.setProviderAmountMinor(value);
24164
+ break;
24165
+ case 20:
24166
+ var value = /** @type {string} */ (reader.readString());
24167
+ msg.setFxRate(value);
24168
+ break;
24169
+ case 21:
24170
+ var value = new proto.bet.CommittedCasinoBooking;
24171
+ reader.readMessage(value,proto.bet.CommittedCasinoBooking.deserializeBinaryFromReader);
24172
+ msg.setCommittedBooking(value);
24173
+ break;
24174
+ default:
24175
+ reader.skipField();
24176
+ break;
24177
+ }
24178
+ }
24179
+ return msg;
24180
+ };
24181
+
24182
+
24183
+ /**
24184
+ * Serializes the message to binary data (in protobuf wire format).
24185
+ * @return {!Uint8Array}
24186
+ */
24187
+ proto.bet.CasinoRecoveryAction.prototype.serializeBinary = function() {
24188
+ var writer = new jspb.BinaryWriter();
24189
+ proto.bet.CasinoRecoveryAction.serializeBinaryToWriter(this, writer);
24190
+ return writer.getResultBuffer();
24191
+ };
24192
+
24193
+
24194
+ /**
24195
+ * Serializes the given message to binary data (in protobuf wire
24196
+ * format), writing to the given BinaryWriter.
24197
+ * @param {!proto.bet.CasinoRecoveryAction} message
24198
+ * @param {!jspb.BinaryWriter} writer
24199
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24200
+ */
24201
+ proto.bet.CasinoRecoveryAction.serializeBinaryToWriter = function(message, writer) {
24202
+ var f = undefined;
24203
+ f = message.getSourceActionId();
24204
+ if (f.length > 0) {
24205
+ writer.writeString(
24206
+ 1,
24207
+ f
24208
+ );
24209
+ }
24210
+ f = message.getCreatedAtUtc();
24211
+ if (f.length > 0) {
24212
+ writer.writeString(
24213
+ 2,
24214
+ f
24215
+ );
24216
+ }
24217
+ f = message.getUserId();
24218
+ if (f.length > 0) {
24219
+ writer.writeString(
24220
+ 3,
24221
+ f
24222
+ );
24223
+ }
24224
+ f = message.getGameUuid();
24225
+ if (f.length > 0) {
24226
+ writer.writeString(
24227
+ 4,
24228
+ f
24229
+ );
24230
+ }
24231
+ f = message.getAction();
24232
+ if (f.length > 0) {
24233
+ writer.writeString(
24234
+ 5,
24235
+ f
24236
+ );
24237
+ }
24238
+ f = message.getStoredType();
24239
+ if (f.length > 0) {
24240
+ writer.writeString(
24241
+ 6,
24242
+ f
24243
+ );
24244
+ }
24245
+ f = message.getTransactionId();
24246
+ if (f.length > 0) {
24247
+ writer.writeString(
24248
+ 7,
24249
+ f
24250
+ );
24251
+ }
24252
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
24253
+ if (f != null) {
24254
+ writer.writeString(
24255
+ 8,
24256
+ f
24257
+ );
24258
+ }
24259
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
24260
+ if (f != null) {
24261
+ writer.writeString(
24262
+ 9,
24263
+ f
24264
+ );
24265
+ }
24266
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
24267
+ if (f != null) {
24268
+ writer.writeString(
24269
+ 10,
24270
+ f
24271
+ );
24272
+ }
24273
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
24274
+ if (f != null) {
24275
+ writer.writeString(
24276
+ 11,
24277
+ f
24278
+ );
24279
+ }
24280
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
24281
+ if (f != null) {
24282
+ writer.writeString(
24283
+ 12,
24284
+ f
24285
+ );
24286
+ }
24287
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
24288
+ if (f != null) {
24289
+ writer.writeString(
24290
+ 13,
24291
+ f
24292
+ );
24293
+ }
24294
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
24295
+ if (f != null) {
24296
+ writer.writeString(
24297
+ 14,
24298
+ f
24299
+ );
24300
+ }
24301
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
24302
+ if (f != null) {
24303
+ writer.writeString(
24304
+ 15,
24305
+ f
24306
+ );
24307
+ }
24308
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
24309
+ if (f != null) {
24310
+ writer.writeString(
24311
+ 16,
24312
+ f
24313
+ );
24314
+ }
24315
+ f = /** @type {number} */ (jspb.Message.getField(message, 17));
24316
+ if (f != null) {
24317
+ writer.writeUint32(
24318
+ 17,
24319
+ f
24320
+ );
24321
+ }
24322
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
24323
+ if (f != null) {
24324
+ writer.writeString(
24325
+ 18,
24326
+ f
24327
+ );
24328
+ }
24329
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
24330
+ if (f != null) {
24331
+ writer.writeString(
24332
+ 19,
24333
+ f
24334
+ );
24335
+ }
24336
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
24337
+ if (f != null) {
24338
+ writer.writeString(
24339
+ 20,
24340
+ f
24341
+ );
24342
+ }
24343
+ f = message.getCommittedBooking();
24344
+ if (f != null) {
24345
+ writer.writeMessage(
24346
+ 21,
24347
+ f,
24348
+ proto.bet.CommittedCasinoBooking.serializeBinaryToWriter
24349
+ );
24350
+ }
24351
+ };
24352
+
24353
+
24354
+ /**
24355
+ * optional string source_action_id = 1;
24356
+ * @return {string}
24357
+ */
24358
+ proto.bet.CasinoRecoveryAction.prototype.getSourceActionId = function() {
24359
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24360
+ };
24361
+
24362
+
24363
+ /**
24364
+ * @param {string} value
24365
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24366
+ */
24367
+ proto.bet.CasinoRecoveryAction.prototype.setSourceActionId = function(value) {
24368
+ return jspb.Message.setProto3StringField(this, 1, value);
24369
+ };
24370
+
24371
+
24372
+ /**
24373
+ * optional string created_at_utc = 2;
24374
+ * @return {string}
24375
+ */
24376
+ proto.bet.CasinoRecoveryAction.prototype.getCreatedAtUtc = function() {
24377
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
24378
+ };
24379
+
24380
+
24381
+ /**
24382
+ * @param {string} value
24383
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24384
+ */
24385
+ proto.bet.CasinoRecoveryAction.prototype.setCreatedAtUtc = function(value) {
24386
+ return jspb.Message.setProto3StringField(this, 2, value);
24387
+ };
24388
+
24389
+
24390
+ /**
24391
+ * optional string user_id = 3;
24392
+ * @return {string}
24393
+ */
24394
+ proto.bet.CasinoRecoveryAction.prototype.getUserId = function() {
24395
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
24396
+ };
24397
+
24398
+
24399
+ /**
24400
+ * @param {string} value
24401
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24402
+ */
24403
+ proto.bet.CasinoRecoveryAction.prototype.setUserId = function(value) {
24404
+ return jspb.Message.setProto3StringField(this, 3, value);
24405
+ };
24406
+
24407
+
24408
+ /**
24409
+ * optional string game_uuid = 4;
24410
+ * @return {string}
24411
+ */
24412
+ proto.bet.CasinoRecoveryAction.prototype.getGameUuid = function() {
24413
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
24414
+ };
24415
+
24416
+
24417
+ /**
24418
+ * @param {string} value
24419
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24420
+ */
24421
+ proto.bet.CasinoRecoveryAction.prototype.setGameUuid = function(value) {
24422
+ return jspb.Message.setProto3StringField(this, 4, value);
24423
+ };
24424
+
24425
+
24426
+ /**
24427
+ * optional string action = 5;
24428
+ * @return {string}
24429
+ */
24430
+ proto.bet.CasinoRecoveryAction.prototype.getAction = function() {
24431
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
24432
+ };
24433
+
24434
+
24435
+ /**
24436
+ * @param {string} value
24437
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24438
+ */
24439
+ proto.bet.CasinoRecoveryAction.prototype.setAction = function(value) {
24440
+ return jspb.Message.setProto3StringField(this, 5, value);
24441
+ };
24442
+
24443
+
24444
+ /**
24445
+ * optional string stored_type = 6;
24446
+ * @return {string}
24447
+ */
24448
+ proto.bet.CasinoRecoveryAction.prototype.getStoredType = function() {
24449
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
24450
+ };
24451
+
24452
+
24453
+ /**
24454
+ * @param {string} value
24455
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24456
+ */
24457
+ proto.bet.CasinoRecoveryAction.prototype.setStoredType = function(value) {
24458
+ return jspb.Message.setProto3StringField(this, 6, value);
24459
+ };
24460
+
24461
+
24462
+ /**
24463
+ * optional string transaction_id = 7;
24464
+ * @return {string}
24465
+ */
24466
+ proto.bet.CasinoRecoveryAction.prototype.getTransactionId = function() {
24467
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
24468
+ };
24469
+
24470
+
24471
+ /**
24472
+ * @param {string} value
24473
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24474
+ */
24475
+ proto.bet.CasinoRecoveryAction.prototype.setTransactionId = function(value) {
24476
+ return jspb.Message.setProto3StringField(this, 7, value);
24477
+ };
24478
+
24479
+
24480
+ /**
24481
+ * optional string session_id = 8;
24482
+ * @return {string}
24483
+ */
24484
+ proto.bet.CasinoRecoveryAction.prototype.getSessionId = function() {
24485
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
24486
+ };
24487
+
24488
+
24489
+ /**
24490
+ * @param {string} value
24491
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24492
+ */
24493
+ proto.bet.CasinoRecoveryAction.prototype.setSessionId = function(value) {
24494
+ return jspb.Message.setField(this, 8, value);
24495
+ };
24496
+
24497
+
24498
+ /**
24499
+ * Clears the field making it undefined.
24500
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24501
+ */
24502
+ proto.bet.CasinoRecoveryAction.prototype.clearSessionId = function() {
24503
+ return jspb.Message.setField(this, 8, undefined);
24504
+ };
24505
+
24506
+
24507
+ /**
24508
+ * Returns whether this field is set.
24509
+ * @return {boolean}
24510
+ */
24511
+ proto.bet.CasinoRecoveryAction.prototype.hasSessionId = function() {
24512
+ return jspb.Message.getField(this, 8) != null;
24513
+ };
24514
+
24515
+
24516
+ /**
24517
+ * optional string round_id = 9;
24518
+ * @return {string}
24519
+ */
24520
+ proto.bet.CasinoRecoveryAction.prototype.getRoundId = function() {
24521
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
24522
+ };
24523
+
24524
+
24525
+ /**
24526
+ * @param {string} value
24527
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24528
+ */
24529
+ proto.bet.CasinoRecoveryAction.prototype.setRoundId = function(value) {
24530
+ return jspb.Message.setField(this, 9, value);
24531
+ };
24532
+
24533
+
24534
+ /**
24535
+ * Clears the field making it undefined.
24536
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24537
+ */
24538
+ proto.bet.CasinoRecoveryAction.prototype.clearRoundId = function() {
24539
+ return jspb.Message.setField(this, 9, undefined);
24540
+ };
24541
+
24542
+
24543
+ /**
24544
+ * Returns whether this field is set.
24545
+ * @return {boolean}
24546
+ */
24547
+ proto.bet.CasinoRecoveryAction.prototype.hasRoundId = function() {
24548
+ return jspb.Message.getField(this, 9) != null;
24549
+ };
24550
+
24551
+
24552
+ /**
24553
+ * optional string free_spin_id = 10;
24554
+ * @return {string}
24555
+ */
24556
+ proto.bet.CasinoRecoveryAction.prototype.getFreeSpinId = function() {
24557
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
24558
+ };
24559
+
24560
+
24561
+ /**
24562
+ * @param {string} value
24563
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24564
+ */
24565
+ proto.bet.CasinoRecoveryAction.prototype.setFreeSpinId = function(value) {
24566
+ return jspb.Message.setField(this, 10, value);
24567
+ };
24568
+
24569
+
24570
+ /**
24571
+ * Clears the field making it undefined.
24572
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24573
+ */
24574
+ proto.bet.CasinoRecoveryAction.prototype.clearFreeSpinId = function() {
24575
+ return jspb.Message.setField(this, 10, undefined);
24576
+ };
24577
+
24578
+
24579
+ /**
24580
+ * Returns whether this field is set.
24581
+ * @return {boolean}
24582
+ */
24583
+ proto.bet.CasinoRecoveryAction.prototype.hasFreeSpinId = function() {
24584
+ return jspb.Message.getField(this, 10) != null;
24585
+ };
24586
+
24587
+
24588
+ /**
24589
+ * optional string balance_type = 11;
24590
+ * @return {string}
24591
+ */
24592
+ proto.bet.CasinoRecoveryAction.prototype.getBalanceType = function() {
24593
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
24594
+ };
24595
+
24596
+
24597
+ /**
24598
+ * @param {string} value
24599
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24600
+ */
24601
+ proto.bet.CasinoRecoveryAction.prototype.setBalanceType = function(value) {
24602
+ return jspb.Message.setField(this, 11, value);
24603
+ };
24604
+
24605
+
24606
+ /**
24607
+ * Clears the field making it undefined.
24608
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24609
+ */
24610
+ proto.bet.CasinoRecoveryAction.prototype.clearBalanceType = function() {
24611
+ return jspb.Message.setField(this, 11, undefined);
24612
+ };
24613
+
24614
+
24615
+ /**
24616
+ * Returns whether this field is set.
24617
+ * @return {boolean}
24618
+ */
24619
+ proto.bet.CasinoRecoveryAction.prototype.hasBalanceType = function() {
24620
+ return jspb.Message.getField(this, 11) != null;
24621
+ };
24622
+
24623
+
24624
+ /**
24625
+ * optional string currency = 12;
24626
+ * @return {string}
24627
+ */
24628
+ proto.bet.CasinoRecoveryAction.prototype.getCurrency = function() {
24629
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
24630
+ };
24631
+
24632
+
24633
+ /**
24634
+ * @param {string} value
24635
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24636
+ */
24637
+ proto.bet.CasinoRecoveryAction.prototype.setCurrency = function(value) {
24638
+ return jspb.Message.setField(this, 12, value);
24639
+ };
24640
+
24641
+
24642
+ /**
24643
+ * Clears the field making it undefined.
24644
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24645
+ */
24646
+ proto.bet.CasinoRecoveryAction.prototype.clearCurrency = function() {
24647
+ return jspb.Message.setField(this, 12, undefined);
24648
+ };
24649
+
24650
+
24651
+ /**
24652
+ * Returns whether this field is set.
24653
+ * @return {boolean}
24654
+ */
24655
+ proto.bet.CasinoRecoveryAction.prototype.hasCurrency = function() {
24656
+ return jspb.Message.getField(this, 12) != null;
24657
+ };
24658
+
24659
+
24660
+ /**
24661
+ * optional string legacy_float_amount = 13;
24662
+ * @return {string}
24663
+ */
24664
+ proto.bet.CasinoRecoveryAction.prototype.getLegacyFloatAmount = function() {
24665
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
24666
+ };
24667
+
24668
+
24669
+ /**
24670
+ * @param {string} value
24671
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24672
+ */
24673
+ proto.bet.CasinoRecoveryAction.prototype.setLegacyFloatAmount = function(value) {
24674
+ return jspb.Message.setField(this, 13, value);
24675
+ };
24676
+
24677
+
24678
+ /**
24679
+ * Clears the field making it undefined.
24680
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24681
+ */
24682
+ proto.bet.CasinoRecoveryAction.prototype.clearLegacyFloatAmount = function() {
24683
+ return jspb.Message.setField(this, 13, undefined);
24684
+ };
24685
+
24686
+
24687
+ /**
24688
+ * Returns whether this field is set.
24689
+ * @return {boolean}
24690
+ */
24691
+ proto.bet.CasinoRecoveryAction.prototype.hasLegacyFloatAmount = function() {
24692
+ return jspb.Message.getField(this, 13) != null;
24693
+ };
24694
+
24695
+
24696
+ /**
24697
+ * optional string real_amount_minor = 14;
24698
+ * @return {string}
24699
+ */
24700
+ proto.bet.CasinoRecoveryAction.prototype.getRealAmountMinor = function() {
24701
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
24702
+ };
24703
+
24704
+
24705
+ /**
24706
+ * @param {string} value
24707
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24708
+ */
24709
+ proto.bet.CasinoRecoveryAction.prototype.setRealAmountMinor = function(value) {
24710
+ return jspb.Message.setField(this, 14, value);
24711
+ };
24712
+
24713
+
24714
+ /**
24715
+ * Clears the field making it undefined.
24716
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24717
+ */
24718
+ proto.bet.CasinoRecoveryAction.prototype.clearRealAmountMinor = function() {
24719
+ return jspb.Message.setField(this, 14, undefined);
24720
+ };
24721
+
24722
+
24723
+ /**
24724
+ * Returns whether this field is set.
24725
+ * @return {boolean}
24726
+ */
24727
+ proto.bet.CasinoRecoveryAction.prototype.hasRealAmountMinor = function() {
24728
+ return jspb.Message.getField(this, 14) != null;
24729
+ };
24730
+
24731
+
24732
+ /**
24733
+ * optional string bonus_amount_minor = 15;
24734
+ * @return {string}
24735
+ */
24736
+ proto.bet.CasinoRecoveryAction.prototype.getBonusAmountMinor = function() {
24737
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
24738
+ };
24739
+
24740
+
24741
+ /**
24742
+ * @param {string} value
24743
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24744
+ */
24745
+ proto.bet.CasinoRecoveryAction.prototype.setBonusAmountMinor = function(value) {
24746
+ return jspb.Message.setField(this, 15, value);
24747
+ };
24748
+
24749
+
24750
+ /**
24751
+ * Clears the field making it undefined.
24752
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24753
+ */
24754
+ proto.bet.CasinoRecoveryAction.prototype.clearBonusAmountMinor = function() {
24755
+ return jspb.Message.setField(this, 15, undefined);
24756
+ };
24757
+
24758
+
24759
+ /**
24760
+ * Returns whether this field is set.
24761
+ * @return {boolean}
24762
+ */
24763
+ proto.bet.CasinoRecoveryAction.prototype.hasBonusAmountMinor = function() {
24764
+ return jspb.Message.getField(this, 15) != null;
24765
+ };
24766
+
24767
+
24768
+ /**
24769
+ * optional string provider_currency = 16;
24770
+ * @return {string}
24771
+ */
24772
+ proto.bet.CasinoRecoveryAction.prototype.getProviderCurrency = function() {
24773
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
24774
+ };
24775
+
24776
+
24777
+ /**
24778
+ * @param {string} value
24779
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24780
+ */
24781
+ proto.bet.CasinoRecoveryAction.prototype.setProviderCurrency = function(value) {
24782
+ return jspb.Message.setField(this, 16, value);
24783
+ };
24784
+
24785
+
24786
+ /**
24787
+ * Clears the field making it undefined.
24788
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24789
+ */
24790
+ proto.bet.CasinoRecoveryAction.prototype.clearProviderCurrency = function() {
24791
+ return jspb.Message.setField(this, 16, undefined);
24792
+ };
24793
+
24794
+
24795
+ /**
24796
+ * Returns whether this field is set.
24797
+ * @return {boolean}
24798
+ */
24799
+ proto.bet.CasinoRecoveryAction.prototype.hasProviderCurrency = function() {
24800
+ return jspb.Message.getField(this, 16) != null;
24801
+ };
24802
+
24803
+
24804
+ /**
24805
+ * optional uint32 provider_currency_scale = 17;
24806
+ * @return {number}
24807
+ */
24808
+ proto.bet.CasinoRecoveryAction.prototype.getProviderCurrencyScale = function() {
24809
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
24810
+ };
24811
+
24812
+
24813
+ /**
24814
+ * @param {number} value
24815
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24816
+ */
24817
+ proto.bet.CasinoRecoveryAction.prototype.setProviderCurrencyScale = function(value) {
24818
+ return jspb.Message.setField(this, 17, value);
24819
+ };
24820
+
24821
+
24822
+ /**
24823
+ * Clears the field making it undefined.
24824
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24825
+ */
24826
+ proto.bet.CasinoRecoveryAction.prototype.clearProviderCurrencyScale = function() {
24827
+ return jspb.Message.setField(this, 17, undefined);
24828
+ };
24829
+
24830
+
24831
+ /**
24832
+ * Returns whether this field is set.
24833
+ * @return {boolean}
24834
+ */
24835
+ proto.bet.CasinoRecoveryAction.prototype.hasProviderCurrencyScale = function() {
24836
+ return jspb.Message.getField(this, 17) != null;
24837
+ };
24838
+
24839
+
24840
+ /**
24841
+ * optional string provider_amount = 18;
24842
+ * @return {string}
24843
+ */
24844
+ proto.bet.CasinoRecoveryAction.prototype.getProviderAmount = function() {
24845
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
24846
+ };
24847
+
24848
+
24849
+ /**
24850
+ * @param {string} value
24851
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24852
+ */
24853
+ proto.bet.CasinoRecoveryAction.prototype.setProviderAmount = function(value) {
24854
+ return jspb.Message.setField(this, 18, value);
24855
+ };
24856
+
24857
+
24858
+ /**
24859
+ * Clears the field making it undefined.
24860
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24861
+ */
24862
+ proto.bet.CasinoRecoveryAction.prototype.clearProviderAmount = function() {
24863
+ return jspb.Message.setField(this, 18, undefined);
24864
+ };
24865
+
24866
+
24867
+ /**
24868
+ * Returns whether this field is set.
24869
+ * @return {boolean}
24870
+ */
24871
+ proto.bet.CasinoRecoveryAction.prototype.hasProviderAmount = function() {
24872
+ return jspb.Message.getField(this, 18) != null;
24873
+ };
24874
+
24875
+
24876
+ /**
24877
+ * optional string provider_amount_minor = 19;
24878
+ * @return {string}
24879
+ */
24880
+ proto.bet.CasinoRecoveryAction.prototype.getProviderAmountMinor = function() {
24881
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
24882
+ };
24883
+
24884
+
24885
+ /**
24886
+ * @param {string} value
24887
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24888
+ */
24889
+ proto.bet.CasinoRecoveryAction.prototype.setProviderAmountMinor = function(value) {
24890
+ return jspb.Message.setField(this, 19, value);
24891
+ };
24892
+
24893
+
24894
+ /**
24895
+ * Clears the field making it undefined.
24896
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24897
+ */
24898
+ proto.bet.CasinoRecoveryAction.prototype.clearProviderAmountMinor = function() {
24899
+ return jspb.Message.setField(this, 19, undefined);
24900
+ };
24901
+
24902
+
24903
+ /**
24904
+ * Returns whether this field is set.
24905
+ * @return {boolean}
24906
+ */
24907
+ proto.bet.CasinoRecoveryAction.prototype.hasProviderAmountMinor = function() {
24908
+ return jspb.Message.getField(this, 19) != null;
24909
+ };
24910
+
24911
+
24912
+ /**
24913
+ * optional string fx_rate = 20;
24914
+ * @return {string}
24915
+ */
24916
+ proto.bet.CasinoRecoveryAction.prototype.getFxRate = function() {
24917
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
24918
+ };
24919
+
24920
+
24921
+ /**
24922
+ * @param {string} value
24923
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24924
+ */
24925
+ proto.bet.CasinoRecoveryAction.prototype.setFxRate = function(value) {
24926
+ return jspb.Message.setField(this, 20, value);
24927
+ };
24928
+
24929
+
24930
+ /**
24931
+ * Clears the field making it undefined.
24932
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24933
+ */
24934
+ proto.bet.CasinoRecoveryAction.prototype.clearFxRate = function() {
24935
+ return jspb.Message.setField(this, 20, undefined);
24936
+ };
24937
+
24938
+
24939
+ /**
24940
+ * Returns whether this field is set.
24941
+ * @return {boolean}
24942
+ */
24943
+ proto.bet.CasinoRecoveryAction.prototype.hasFxRate = function() {
24944
+ return jspb.Message.getField(this, 20) != null;
24945
+ };
24946
+
24947
+
24948
+ /**
24949
+ * optional CommittedCasinoBooking committed_booking = 21;
24950
+ * @return {?proto.bet.CommittedCasinoBooking}
24951
+ */
24952
+ proto.bet.CasinoRecoveryAction.prototype.getCommittedBooking = function() {
24953
+ return /** @type{?proto.bet.CommittedCasinoBooking} */ (
24954
+ jspb.Message.getWrapperField(this, proto.bet.CommittedCasinoBooking, 21));
24955
+ };
24956
+
24957
+
24958
+ /**
24959
+ * @param {?proto.bet.CommittedCasinoBooking|undefined} value
24960
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24961
+ */
24962
+ proto.bet.CasinoRecoveryAction.prototype.setCommittedBooking = function(value) {
24963
+ return jspb.Message.setWrapperField(this, 21, value);
24964
+ };
24965
+
24966
+
24967
+ /**
24968
+ * Clears the message field making it undefined.
24969
+ * @return {!proto.bet.CasinoRecoveryAction} returns this
24970
+ */
24971
+ proto.bet.CasinoRecoveryAction.prototype.clearCommittedBooking = function() {
24972
+ return this.setCommittedBooking(undefined);
24973
+ };
24974
+
24975
+
24976
+ /**
24977
+ * Returns whether this field is set.
24978
+ * @return {boolean}
24979
+ */
24980
+ proto.bet.CasinoRecoveryAction.prototype.hasCommittedBooking = function() {
24981
+ return jspb.Message.getField(this, 21) != null;
24982
+ };
24983
+
24984
+
24985
+
24986
+ /**
24987
+ * List of repeated fields within this message type.
24988
+ * @private {!Array<number>}
24989
+ * @const
24990
+ */
24991
+ proto.bet.CasinoRecoveryBatch.repeatedFields_ = [7];
24992
+
24993
+
24994
+
24995
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24996
+ /**
24997
+ * Creates an object representation of this proto.
24998
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24999
+ * Optional fields that are not set will be set to undefined.
25000
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25001
+ * For the list of reserved names please see:
25002
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25003
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25004
+ * JSPB instance for transitional soy proto support:
25005
+ * http://goto/soy-param-migration
25006
+ * @return {!Object}
25007
+ */
25008
+ proto.bet.CasinoRecoveryBatch.prototype.toObject = function(opt_includeInstance) {
25009
+ return proto.bet.CasinoRecoveryBatch.toObject(opt_includeInstance, this);
25010
+ };
25011
+
25012
+
25013
+ /**
25014
+ * Static version of the {@see toObject} method.
25015
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25016
+ * the JSPB instance for transitional soy proto support:
25017
+ * http://goto/soy-param-migration
25018
+ * @param {!proto.bet.CasinoRecoveryBatch} msg The msg instance to transform.
25019
+ * @return {!Object}
25020
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25021
+ */
25022
+ proto.bet.CasinoRecoveryBatch.toObject = function(includeInstance, msg) {
25023
+ var f, obj = {
25024
+ customer: jspb.Message.getFieldWithDefault(msg, 1, ""),
25025
+ snapshotId: jspb.Message.getFieldWithDefault(msg, 2, ""),
25026
+ cutoffUtc: jspb.Message.getFieldWithDefault(msg, 3, ""),
25027
+ highWaterId: jspb.Message.getFieldWithDefault(msg, 4, ""),
25028
+ populationCount: jspb.Message.getFieldWithDefault(msg, 5, ""),
25029
+ sequence: jspb.Message.getFieldWithDefault(msg, 6, 0),
25030
+ actionsList: jspb.Message.toObjectList(msg.getActionsList(),
25031
+ proto.bet.CasinoRecoveryAction.toObject, includeInstance),
25032
+ complete: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
25033
+ contentSha256: jspb.Message.getFieldWithDefault(msg, 9, "")
25034
+ };
25035
+
25036
+ if (includeInstance) {
25037
+ obj.$jspbMessageInstance = msg;
25038
+ }
25039
+ return obj;
25040
+ };
25041
+ }
25042
+
25043
+
25044
+ /**
25045
+ * Deserializes binary data (in protobuf wire format).
25046
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25047
+ * @return {!proto.bet.CasinoRecoveryBatch}
25048
+ */
25049
+ proto.bet.CasinoRecoveryBatch.deserializeBinary = function(bytes) {
25050
+ var reader = new jspb.BinaryReader(bytes);
25051
+ var msg = new proto.bet.CasinoRecoveryBatch;
25052
+ return proto.bet.CasinoRecoveryBatch.deserializeBinaryFromReader(msg, reader);
25053
+ };
25054
+
25055
+
25056
+ /**
25057
+ * Deserializes binary data (in protobuf wire format) from the
25058
+ * given reader into the given message object.
25059
+ * @param {!proto.bet.CasinoRecoveryBatch} msg The message object to deserialize into.
25060
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25061
+ * @return {!proto.bet.CasinoRecoveryBatch}
25062
+ */
25063
+ proto.bet.CasinoRecoveryBatch.deserializeBinaryFromReader = function(msg, reader) {
25064
+ while (reader.nextField()) {
25065
+ if (reader.isEndGroup()) {
25066
+ break;
25067
+ }
25068
+ var field = reader.getFieldNumber();
25069
+ switch (field) {
25070
+ case 1:
25071
+ var value = /** @type {string} */ (reader.readString());
25072
+ msg.setCustomer(value);
25073
+ break;
25074
+ case 2:
25075
+ var value = /** @type {string} */ (reader.readString());
25076
+ msg.setSnapshotId(value);
25077
+ break;
25078
+ case 3:
25079
+ var value = /** @type {string} */ (reader.readString());
25080
+ msg.setCutoffUtc(value);
25081
+ break;
25082
+ case 4:
25083
+ var value = /** @type {string} */ (reader.readString());
25084
+ msg.setHighWaterId(value);
25085
+ break;
25086
+ case 5:
25087
+ var value = /** @type {string} */ (reader.readString());
25088
+ msg.setPopulationCount(value);
25089
+ break;
25090
+ case 6:
25091
+ var value = /** @type {number} */ (reader.readUint32());
25092
+ msg.setSequence(value);
25093
+ break;
25094
+ case 7:
25095
+ var value = new proto.bet.CasinoRecoveryAction;
25096
+ reader.readMessage(value,proto.bet.CasinoRecoveryAction.deserializeBinaryFromReader);
25097
+ msg.addActions(value);
25098
+ break;
25099
+ case 8:
25100
+ var value = /** @type {boolean} */ (reader.readBool());
25101
+ msg.setComplete(value);
25102
+ break;
25103
+ case 9:
25104
+ var value = /** @type {string} */ (reader.readString());
25105
+ msg.setContentSha256(value);
25106
+ break;
25107
+ default:
25108
+ reader.skipField();
25109
+ break;
25110
+ }
25111
+ }
25112
+ return msg;
25113
+ };
25114
+
25115
+
25116
+ /**
25117
+ * Serializes the message to binary data (in protobuf wire format).
25118
+ * @return {!Uint8Array}
25119
+ */
25120
+ proto.bet.CasinoRecoveryBatch.prototype.serializeBinary = function() {
25121
+ var writer = new jspb.BinaryWriter();
25122
+ proto.bet.CasinoRecoveryBatch.serializeBinaryToWriter(this, writer);
25123
+ return writer.getResultBuffer();
25124
+ };
25125
+
25126
+
25127
+ /**
25128
+ * Serializes the given message to binary data (in protobuf wire
25129
+ * format), writing to the given BinaryWriter.
25130
+ * @param {!proto.bet.CasinoRecoveryBatch} message
25131
+ * @param {!jspb.BinaryWriter} writer
25132
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25133
+ */
25134
+ proto.bet.CasinoRecoveryBatch.serializeBinaryToWriter = function(message, writer) {
25135
+ var f = undefined;
25136
+ f = message.getCustomer();
25137
+ if (f.length > 0) {
25138
+ writer.writeString(
25139
+ 1,
25140
+ f
25141
+ );
25142
+ }
25143
+ f = message.getSnapshotId();
25144
+ if (f.length > 0) {
25145
+ writer.writeString(
25146
+ 2,
25147
+ f
25148
+ );
25149
+ }
25150
+ f = message.getCutoffUtc();
25151
+ if (f.length > 0) {
25152
+ writer.writeString(
25153
+ 3,
25154
+ f
25155
+ );
25156
+ }
25157
+ f = message.getHighWaterId();
25158
+ if (f.length > 0) {
25159
+ writer.writeString(
25160
+ 4,
25161
+ f
25162
+ );
25163
+ }
25164
+ f = message.getPopulationCount();
25165
+ if (f.length > 0) {
25166
+ writer.writeString(
25167
+ 5,
25168
+ f
25169
+ );
25170
+ }
25171
+ f = message.getSequence();
25172
+ if (f !== 0) {
25173
+ writer.writeUint32(
25174
+ 6,
25175
+ f
25176
+ );
25177
+ }
25178
+ f = message.getActionsList();
25179
+ if (f.length > 0) {
25180
+ writer.writeRepeatedMessage(
25181
+ 7,
25182
+ f,
25183
+ proto.bet.CasinoRecoveryAction.serializeBinaryToWriter
25184
+ );
25185
+ }
25186
+ f = message.getComplete();
25187
+ if (f) {
25188
+ writer.writeBool(
25189
+ 8,
25190
+ f
25191
+ );
25192
+ }
25193
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
25194
+ if (f != null) {
25195
+ writer.writeString(
25196
+ 9,
25197
+ f
25198
+ );
25199
+ }
25200
+ };
25201
+
25202
+
25203
+ /**
25204
+ * optional string customer = 1;
25205
+ * @return {string}
25206
+ */
25207
+ proto.bet.CasinoRecoveryBatch.prototype.getCustomer = function() {
25208
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
25209
+ };
25210
+
25211
+
25212
+ /**
25213
+ * @param {string} value
25214
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25215
+ */
25216
+ proto.bet.CasinoRecoveryBatch.prototype.setCustomer = function(value) {
25217
+ return jspb.Message.setProto3StringField(this, 1, value);
25218
+ };
25219
+
25220
+
25221
+ /**
25222
+ * optional string snapshot_id = 2;
25223
+ * @return {string}
25224
+ */
25225
+ proto.bet.CasinoRecoveryBatch.prototype.getSnapshotId = function() {
25226
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
25227
+ };
25228
+
25229
+
25230
+ /**
25231
+ * @param {string} value
25232
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25233
+ */
25234
+ proto.bet.CasinoRecoveryBatch.prototype.setSnapshotId = function(value) {
25235
+ return jspb.Message.setProto3StringField(this, 2, value);
25236
+ };
25237
+
25238
+
25239
+ /**
25240
+ * optional string cutoff_utc = 3;
25241
+ * @return {string}
25242
+ */
25243
+ proto.bet.CasinoRecoveryBatch.prototype.getCutoffUtc = function() {
25244
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
25245
+ };
25246
+
25247
+
25248
+ /**
25249
+ * @param {string} value
25250
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25251
+ */
25252
+ proto.bet.CasinoRecoveryBatch.prototype.setCutoffUtc = function(value) {
25253
+ return jspb.Message.setProto3StringField(this, 3, value);
25254
+ };
25255
+
25256
+
25257
+ /**
25258
+ * optional string high_water_id = 4;
25259
+ * @return {string}
25260
+ */
25261
+ proto.bet.CasinoRecoveryBatch.prototype.getHighWaterId = function() {
25262
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
25263
+ };
25264
+
25265
+
25266
+ /**
25267
+ * @param {string} value
25268
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25269
+ */
25270
+ proto.bet.CasinoRecoveryBatch.prototype.setHighWaterId = function(value) {
25271
+ return jspb.Message.setProto3StringField(this, 4, value);
25272
+ };
25273
+
25274
+
25275
+ /**
25276
+ * optional string population_count = 5;
25277
+ * @return {string}
25278
+ */
25279
+ proto.bet.CasinoRecoveryBatch.prototype.getPopulationCount = function() {
25280
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
25281
+ };
25282
+
25283
+
25284
+ /**
25285
+ * @param {string} value
25286
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25287
+ */
25288
+ proto.bet.CasinoRecoveryBatch.prototype.setPopulationCount = function(value) {
25289
+ return jspb.Message.setProto3StringField(this, 5, value);
25290
+ };
25291
+
25292
+
25293
+ /**
25294
+ * optional uint32 sequence = 6;
25295
+ * @return {number}
25296
+ */
25297
+ proto.bet.CasinoRecoveryBatch.prototype.getSequence = function() {
25298
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
25299
+ };
25300
+
25301
+
25302
+ /**
25303
+ * @param {number} value
25304
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25305
+ */
25306
+ proto.bet.CasinoRecoveryBatch.prototype.setSequence = function(value) {
25307
+ return jspb.Message.setProto3IntField(this, 6, value);
25308
+ };
25309
+
25310
+
25311
+ /**
25312
+ * repeated CasinoRecoveryAction actions = 7;
25313
+ * @return {!Array<!proto.bet.CasinoRecoveryAction>}
25314
+ */
25315
+ proto.bet.CasinoRecoveryBatch.prototype.getActionsList = function() {
25316
+ return /** @type{!Array<!proto.bet.CasinoRecoveryAction>} */ (
25317
+ jspb.Message.getRepeatedWrapperField(this, proto.bet.CasinoRecoveryAction, 7));
25318
+ };
25319
+
25320
+
25321
+ /**
25322
+ * @param {!Array<!proto.bet.CasinoRecoveryAction>} value
25323
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25324
+ */
25325
+ proto.bet.CasinoRecoveryBatch.prototype.setActionsList = function(value) {
25326
+ return jspb.Message.setRepeatedWrapperField(this, 7, value);
25327
+ };
25328
+
25329
+
25330
+ /**
25331
+ * @param {!proto.bet.CasinoRecoveryAction=} opt_value
25332
+ * @param {number=} opt_index
25333
+ * @return {!proto.bet.CasinoRecoveryAction}
25334
+ */
25335
+ proto.bet.CasinoRecoveryBatch.prototype.addActions = function(opt_value, opt_index) {
25336
+ return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.bet.CasinoRecoveryAction, opt_index);
25337
+ };
25338
+
25339
+
25340
+ /**
25341
+ * Clears the list making it empty but non-null.
25342
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25343
+ */
25344
+ proto.bet.CasinoRecoveryBatch.prototype.clearActionsList = function() {
25345
+ return this.setActionsList([]);
25346
+ };
25347
+
25348
+
25349
+ /**
25350
+ * optional bool complete = 8;
25351
+ * @return {boolean}
25352
+ */
25353
+ proto.bet.CasinoRecoveryBatch.prototype.getComplete = function() {
25354
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
25355
+ };
25356
+
25357
+
25358
+ /**
25359
+ * @param {boolean} value
25360
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25361
+ */
25362
+ proto.bet.CasinoRecoveryBatch.prototype.setComplete = function(value) {
25363
+ return jspb.Message.setProto3BooleanField(this, 8, value);
25364
+ };
25365
+
25366
+
25367
+ /**
25368
+ * optional string content_sha256 = 9;
25369
+ * @return {string}
25370
+ */
25371
+ proto.bet.CasinoRecoveryBatch.prototype.getContentSha256 = function() {
25372
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
25373
+ };
25374
+
25375
+
25376
+ /**
25377
+ * @param {string} value
25378
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25379
+ */
25380
+ proto.bet.CasinoRecoveryBatch.prototype.setContentSha256 = function(value) {
25381
+ return jspb.Message.setField(this, 9, value);
25382
+ };
25383
+
25384
+
25385
+ /**
25386
+ * Clears the field making it undefined.
25387
+ * @return {!proto.bet.CasinoRecoveryBatch} returns this
25388
+ */
25389
+ proto.bet.CasinoRecoveryBatch.prototype.clearContentSha256 = function() {
25390
+ return jspb.Message.setField(this, 9, undefined);
25391
+ };
25392
+
25393
+
25394
+ /**
25395
+ * Returns whether this field is set.
25396
+ * @return {boolean}
25397
+ */
25398
+ proto.bet.CasinoRecoveryBatch.prototype.hasContentSha256 = function() {
25399
+ return jspb.Message.getField(this, 9) != null;
25400
+ };
25401
+
25402
+
23774
25403
  goog.object.extend(exports, proto.bet);