protobuf-platform 1.0.118 → 1.0.120
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/game/game.proto +22 -0
- package/game/game_grpc_pb.js +66 -0
- package/game/game_pb.js +810 -0
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -51,6 +51,9 @@ service Game {
|
|
51
51
|
rpc vendorSelfValidation(IntegratorSelfValidationRequest) returns (IntegratorSelfValidationResponse);
|
52
52
|
//Free Spins
|
53
53
|
rpc getFreeSpinsSettings(FreeSpinSettingsRequest) returns (FreeSpinSettingsResponse);
|
54
|
+
rpc setFreeSpins(FreeSpinCampaignRequest) returns (FreeSpinCampaignResponse);
|
55
|
+
rpc checkFreeSpins(FreeSpinStatusRequest) returns (FreeSpinCampaignResponse);
|
56
|
+
rpc cancelFreeSpins(FreeSpinStatusRequest) returns (FreeSpinCampaignResponse);
|
54
57
|
//Cross Services
|
55
58
|
rpc getGamesByUuids(GamesUuids) returns (GamePoorItemsResponse);
|
56
59
|
rpc getGameScopesByIds(ScopeRequest) returns (ScopeResponse);
|
@@ -401,4 +404,23 @@ message FreeSpinSettingsRequest {
|
|
401
404
|
}
|
402
405
|
message FreeSpinSettingsResponse {
|
403
406
|
string data = 1;
|
407
|
+
}
|
408
|
+
message FreeSpinCampaignRequest {
|
409
|
+
string game_uuid = 1;
|
410
|
+
string currency = 2;
|
411
|
+
string player_id = 3;
|
412
|
+
string player_name = 4;
|
413
|
+
int32 valid_from = 5;
|
414
|
+
int32 valid_until = 6;
|
415
|
+
int32 quantity = 7;
|
416
|
+
string freespin_id = 8;
|
417
|
+
optional int32 bet_id = 9;
|
418
|
+
optional float denomination = 10;
|
419
|
+
optional int32 total_bet_id = 11;
|
420
|
+
}
|
421
|
+
message FreeSpinStatusRequest {
|
422
|
+
string free_spin_id = 1;
|
423
|
+
}
|
424
|
+
message FreeSpinCampaignResponse {
|
425
|
+
string data = 1;
|
404
426
|
}
|
package/game/game_grpc_pb.js
CHANGED
@@ -114,6 +114,28 @@ function deserialize_game_File(buffer_arg) {
|
|
114
114
|
return game_pb.File.deserializeBinary(new Uint8Array(buffer_arg));
|
115
115
|
}
|
116
116
|
|
117
|
+
function serialize_game_FreeSpinCampaignRequest(arg) {
|
118
|
+
if (!(arg instanceof game_pb.FreeSpinCampaignRequest)) {
|
119
|
+
throw new Error('Expected argument of type game.FreeSpinCampaignRequest');
|
120
|
+
}
|
121
|
+
return Buffer.from(arg.serializeBinary());
|
122
|
+
}
|
123
|
+
|
124
|
+
function deserialize_game_FreeSpinCampaignRequest(buffer_arg) {
|
125
|
+
return game_pb.FreeSpinCampaignRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
126
|
+
}
|
127
|
+
|
128
|
+
function serialize_game_FreeSpinCampaignResponse(arg) {
|
129
|
+
if (!(arg instanceof game_pb.FreeSpinCampaignResponse)) {
|
130
|
+
throw new Error('Expected argument of type game.FreeSpinCampaignResponse');
|
131
|
+
}
|
132
|
+
return Buffer.from(arg.serializeBinary());
|
133
|
+
}
|
134
|
+
|
135
|
+
function deserialize_game_FreeSpinCampaignResponse(buffer_arg) {
|
136
|
+
return game_pb.FreeSpinCampaignResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
137
|
+
}
|
138
|
+
|
117
139
|
function serialize_game_FreeSpinSettingsRequest(arg) {
|
118
140
|
if (!(arg instanceof game_pb.FreeSpinSettingsRequest)) {
|
119
141
|
throw new Error('Expected argument of type game.FreeSpinSettingsRequest');
|
@@ -136,6 +158,17 @@ function deserialize_game_FreeSpinSettingsResponse(buffer_arg) {
|
|
136
158
|
return game_pb.FreeSpinSettingsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
137
159
|
}
|
138
160
|
|
161
|
+
function serialize_game_FreeSpinStatusRequest(arg) {
|
162
|
+
if (!(arg instanceof game_pb.FreeSpinStatusRequest)) {
|
163
|
+
throw new Error('Expected argument of type game.FreeSpinStatusRequest');
|
164
|
+
}
|
165
|
+
return Buffer.from(arg.serializeBinary());
|
166
|
+
}
|
167
|
+
|
168
|
+
function deserialize_game_FreeSpinStatusRequest(buffer_arg) {
|
169
|
+
return game_pb.FreeSpinStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
170
|
+
}
|
171
|
+
|
139
172
|
function serialize_game_GameItemsResponse(arg) {
|
140
173
|
if (!(arg instanceof game_pb.GameItemsResponse)) {
|
141
174
|
throw new Error('Expected argument of type game.GameItemsResponse');
|
@@ -1036,6 +1069,39 @@ getFreeSpinsSettings: {
|
|
1036
1069
|
responseSerialize: serialize_game_FreeSpinSettingsResponse,
|
1037
1070
|
responseDeserialize: deserialize_game_FreeSpinSettingsResponse,
|
1038
1071
|
},
|
1072
|
+
setFreeSpins: {
|
1073
|
+
path: '/game.Game/setFreeSpins',
|
1074
|
+
requestStream: false,
|
1075
|
+
responseStream: false,
|
1076
|
+
requestType: game_pb.FreeSpinCampaignRequest,
|
1077
|
+
responseType: game_pb.FreeSpinCampaignResponse,
|
1078
|
+
requestSerialize: serialize_game_FreeSpinCampaignRequest,
|
1079
|
+
requestDeserialize: deserialize_game_FreeSpinCampaignRequest,
|
1080
|
+
responseSerialize: serialize_game_FreeSpinCampaignResponse,
|
1081
|
+
responseDeserialize: deserialize_game_FreeSpinCampaignResponse,
|
1082
|
+
},
|
1083
|
+
checkFreeSpins: {
|
1084
|
+
path: '/game.Game/checkFreeSpins',
|
1085
|
+
requestStream: false,
|
1086
|
+
responseStream: false,
|
1087
|
+
requestType: game_pb.FreeSpinStatusRequest,
|
1088
|
+
responseType: game_pb.FreeSpinCampaignResponse,
|
1089
|
+
requestSerialize: serialize_game_FreeSpinStatusRequest,
|
1090
|
+
requestDeserialize: deserialize_game_FreeSpinStatusRequest,
|
1091
|
+
responseSerialize: serialize_game_FreeSpinCampaignResponse,
|
1092
|
+
responseDeserialize: deserialize_game_FreeSpinCampaignResponse,
|
1093
|
+
},
|
1094
|
+
cancelFreeSpins: {
|
1095
|
+
path: '/game.Game/cancelFreeSpins',
|
1096
|
+
requestStream: false,
|
1097
|
+
responseStream: false,
|
1098
|
+
requestType: game_pb.FreeSpinStatusRequest,
|
1099
|
+
responseType: game_pb.FreeSpinCampaignResponse,
|
1100
|
+
requestSerialize: serialize_game_FreeSpinStatusRequest,
|
1101
|
+
requestDeserialize: deserialize_game_FreeSpinStatusRequest,
|
1102
|
+
responseSerialize: serialize_game_FreeSpinCampaignResponse,
|
1103
|
+
responseDeserialize: deserialize_game_FreeSpinCampaignResponse,
|
1104
|
+
},
|
1039
1105
|
// Cross Services
|
1040
1106
|
getGamesByUuids: {
|
1041
1107
|
path: '/game.Game/getGamesByUuids',
|
package/game/game_pb.js
CHANGED
@@ -37,8 +37,11 @@ goog.exportSymbol('proto.game.CollectionRequest.RequestCase', null, global);
|
|
37
37
|
goog.exportSymbol('proto.game.CollectionResponse', null, global);
|
38
38
|
goog.exportSymbol('proto.game.CollectionStatusResponse', null, global);
|
39
39
|
goog.exportSymbol('proto.game.File', null, global);
|
40
|
+
goog.exportSymbol('proto.game.FreeSpinCampaignRequest', null, global);
|
41
|
+
goog.exportSymbol('proto.game.FreeSpinCampaignResponse', null, global);
|
40
42
|
goog.exportSymbol('proto.game.FreeSpinSettingsRequest', null, global);
|
41
43
|
goog.exportSymbol('proto.game.FreeSpinSettingsResponse', null, global);
|
44
|
+
goog.exportSymbol('proto.game.FreeSpinStatusRequest', null, global);
|
42
45
|
goog.exportSymbol('proto.game.GameItem', null, global);
|
43
46
|
goog.exportSymbol('proto.game.GameItemRequest', null, global);
|
44
47
|
goog.exportSymbol('proto.game.GameItemsResponse', null, global);
|
@@ -1434,6 +1437,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
1434
1437
|
*/
|
1435
1438
|
proto.game.FreeSpinSettingsResponse.displayName = 'proto.game.FreeSpinSettingsResponse';
|
1436
1439
|
}
|
1440
|
+
/**
|
1441
|
+
* Generated by JsPbCodeGenerator.
|
1442
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
1443
|
+
* server response, or constructed directly in Javascript. The array is used
|
1444
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
1445
|
+
* If no data is provided, the constructed object will be empty, but still
|
1446
|
+
* valid.
|
1447
|
+
* @extends {jspb.Message}
|
1448
|
+
* @constructor
|
1449
|
+
*/
|
1450
|
+
proto.game.FreeSpinCampaignRequest = function(opt_data) {
|
1451
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
1452
|
+
};
|
1453
|
+
goog.inherits(proto.game.FreeSpinCampaignRequest, jspb.Message);
|
1454
|
+
if (goog.DEBUG && !COMPILED) {
|
1455
|
+
/**
|
1456
|
+
* @public
|
1457
|
+
* @override
|
1458
|
+
*/
|
1459
|
+
proto.game.FreeSpinCampaignRequest.displayName = 'proto.game.FreeSpinCampaignRequest';
|
1460
|
+
}
|
1461
|
+
/**
|
1462
|
+
* Generated by JsPbCodeGenerator.
|
1463
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
1464
|
+
* server response, or constructed directly in Javascript. The array is used
|
1465
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
1466
|
+
* If no data is provided, the constructed object will be empty, but still
|
1467
|
+
* valid.
|
1468
|
+
* @extends {jspb.Message}
|
1469
|
+
* @constructor
|
1470
|
+
*/
|
1471
|
+
proto.game.FreeSpinStatusRequest = function(opt_data) {
|
1472
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
1473
|
+
};
|
1474
|
+
goog.inherits(proto.game.FreeSpinStatusRequest, jspb.Message);
|
1475
|
+
if (goog.DEBUG && !COMPILED) {
|
1476
|
+
/**
|
1477
|
+
* @public
|
1478
|
+
* @override
|
1479
|
+
*/
|
1480
|
+
proto.game.FreeSpinStatusRequest.displayName = 'proto.game.FreeSpinStatusRequest';
|
1481
|
+
}
|
1482
|
+
/**
|
1483
|
+
* Generated by JsPbCodeGenerator.
|
1484
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
1485
|
+
* server response, or constructed directly in Javascript. The array is used
|
1486
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
1487
|
+
* If no data is provided, the constructed object will be empty, but still
|
1488
|
+
* valid.
|
1489
|
+
* @extends {jspb.Message}
|
1490
|
+
* @constructor
|
1491
|
+
*/
|
1492
|
+
proto.game.FreeSpinCampaignResponse = function(opt_data) {
|
1493
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
1494
|
+
};
|
1495
|
+
goog.inherits(proto.game.FreeSpinCampaignResponse, jspb.Message);
|
1496
|
+
if (goog.DEBUG && !COMPILED) {
|
1497
|
+
/**
|
1498
|
+
* @public
|
1499
|
+
* @override
|
1500
|
+
*/
|
1501
|
+
proto.game.FreeSpinCampaignResponse.displayName = 'proto.game.FreeSpinCampaignResponse';
|
1502
|
+
}
|
1437
1503
|
|
1438
1504
|
|
1439
1505
|
|
@@ -17095,4 +17161,748 @@ proto.game.FreeSpinSettingsResponse.prototype.setData = function(value) {
|
|
17095
17161
|
};
|
17096
17162
|
|
17097
17163
|
|
17164
|
+
|
17165
|
+
|
17166
|
+
|
17167
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
17168
|
+
/**
|
17169
|
+
* Creates an object representation of this proto.
|
17170
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
17171
|
+
* Optional fields that are not set will be set to undefined.
|
17172
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
17173
|
+
* For the list of reserved names please see:
|
17174
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
17175
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
17176
|
+
* JSPB instance for transitional soy proto support:
|
17177
|
+
* http://goto/soy-param-migration
|
17178
|
+
* @return {!Object}
|
17179
|
+
*/
|
17180
|
+
proto.game.FreeSpinCampaignRequest.prototype.toObject = function(opt_includeInstance) {
|
17181
|
+
return proto.game.FreeSpinCampaignRequest.toObject(opt_includeInstance, this);
|
17182
|
+
};
|
17183
|
+
|
17184
|
+
|
17185
|
+
/**
|
17186
|
+
* Static version of the {@see toObject} method.
|
17187
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
17188
|
+
* the JSPB instance for transitional soy proto support:
|
17189
|
+
* http://goto/soy-param-migration
|
17190
|
+
* @param {!proto.game.FreeSpinCampaignRequest} msg The msg instance to transform.
|
17191
|
+
* @return {!Object}
|
17192
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
17193
|
+
*/
|
17194
|
+
proto.game.FreeSpinCampaignRequest.toObject = function(includeInstance, msg) {
|
17195
|
+
var f, obj = {
|
17196
|
+
gameUuid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
17197
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
17198
|
+
playerId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
17199
|
+
playerName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
17200
|
+
validFrom: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
17201
|
+
validUntil: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
17202
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
17203
|
+
freespinId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
17204
|
+
betId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
17205
|
+
denomination: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
17206
|
+
totalBetId: jspb.Message.getFieldWithDefault(msg, 11, 0)
|
17207
|
+
};
|
17208
|
+
|
17209
|
+
if (includeInstance) {
|
17210
|
+
obj.$jspbMessageInstance = msg;
|
17211
|
+
}
|
17212
|
+
return obj;
|
17213
|
+
};
|
17214
|
+
}
|
17215
|
+
|
17216
|
+
|
17217
|
+
/**
|
17218
|
+
* Deserializes binary data (in protobuf wire format).
|
17219
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
17220
|
+
* @return {!proto.game.FreeSpinCampaignRequest}
|
17221
|
+
*/
|
17222
|
+
proto.game.FreeSpinCampaignRequest.deserializeBinary = function(bytes) {
|
17223
|
+
var reader = new jspb.BinaryReader(bytes);
|
17224
|
+
var msg = new proto.game.FreeSpinCampaignRequest;
|
17225
|
+
return proto.game.FreeSpinCampaignRequest.deserializeBinaryFromReader(msg, reader);
|
17226
|
+
};
|
17227
|
+
|
17228
|
+
|
17229
|
+
/**
|
17230
|
+
* Deserializes binary data (in protobuf wire format) from the
|
17231
|
+
* given reader into the given message object.
|
17232
|
+
* @param {!proto.game.FreeSpinCampaignRequest} msg The message object to deserialize into.
|
17233
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
17234
|
+
* @return {!proto.game.FreeSpinCampaignRequest}
|
17235
|
+
*/
|
17236
|
+
proto.game.FreeSpinCampaignRequest.deserializeBinaryFromReader = function(msg, reader) {
|
17237
|
+
while (reader.nextField()) {
|
17238
|
+
if (reader.isEndGroup()) {
|
17239
|
+
break;
|
17240
|
+
}
|
17241
|
+
var field = reader.getFieldNumber();
|
17242
|
+
switch (field) {
|
17243
|
+
case 1:
|
17244
|
+
var value = /** @type {string} */ (reader.readString());
|
17245
|
+
msg.setGameUuid(value);
|
17246
|
+
break;
|
17247
|
+
case 2:
|
17248
|
+
var value = /** @type {string} */ (reader.readString());
|
17249
|
+
msg.setCurrency(value);
|
17250
|
+
break;
|
17251
|
+
case 3:
|
17252
|
+
var value = /** @type {string} */ (reader.readString());
|
17253
|
+
msg.setPlayerId(value);
|
17254
|
+
break;
|
17255
|
+
case 4:
|
17256
|
+
var value = /** @type {string} */ (reader.readString());
|
17257
|
+
msg.setPlayerName(value);
|
17258
|
+
break;
|
17259
|
+
case 5:
|
17260
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17261
|
+
msg.setValidFrom(value);
|
17262
|
+
break;
|
17263
|
+
case 6:
|
17264
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17265
|
+
msg.setValidUntil(value);
|
17266
|
+
break;
|
17267
|
+
case 7:
|
17268
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17269
|
+
msg.setQuantity(value);
|
17270
|
+
break;
|
17271
|
+
case 8:
|
17272
|
+
var value = /** @type {string} */ (reader.readString());
|
17273
|
+
msg.setFreespinId(value);
|
17274
|
+
break;
|
17275
|
+
case 9:
|
17276
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17277
|
+
msg.setBetId(value);
|
17278
|
+
break;
|
17279
|
+
case 10:
|
17280
|
+
var value = /** @type {number} */ (reader.readFloat());
|
17281
|
+
msg.setDenomination(value);
|
17282
|
+
break;
|
17283
|
+
case 11:
|
17284
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17285
|
+
msg.setTotalBetId(value);
|
17286
|
+
break;
|
17287
|
+
default:
|
17288
|
+
reader.skipField();
|
17289
|
+
break;
|
17290
|
+
}
|
17291
|
+
}
|
17292
|
+
return msg;
|
17293
|
+
};
|
17294
|
+
|
17295
|
+
|
17296
|
+
/**
|
17297
|
+
* Serializes the message to binary data (in protobuf wire format).
|
17298
|
+
* @return {!Uint8Array}
|
17299
|
+
*/
|
17300
|
+
proto.game.FreeSpinCampaignRequest.prototype.serializeBinary = function() {
|
17301
|
+
var writer = new jspb.BinaryWriter();
|
17302
|
+
proto.game.FreeSpinCampaignRequest.serializeBinaryToWriter(this, writer);
|
17303
|
+
return writer.getResultBuffer();
|
17304
|
+
};
|
17305
|
+
|
17306
|
+
|
17307
|
+
/**
|
17308
|
+
* Serializes the given message to binary data (in protobuf wire
|
17309
|
+
* format), writing to the given BinaryWriter.
|
17310
|
+
* @param {!proto.game.FreeSpinCampaignRequest} message
|
17311
|
+
* @param {!jspb.BinaryWriter} writer
|
17312
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
17313
|
+
*/
|
17314
|
+
proto.game.FreeSpinCampaignRequest.serializeBinaryToWriter = function(message, writer) {
|
17315
|
+
var f = undefined;
|
17316
|
+
f = message.getGameUuid();
|
17317
|
+
if (f.length > 0) {
|
17318
|
+
writer.writeString(
|
17319
|
+
1,
|
17320
|
+
f
|
17321
|
+
);
|
17322
|
+
}
|
17323
|
+
f = message.getCurrency();
|
17324
|
+
if (f.length > 0) {
|
17325
|
+
writer.writeString(
|
17326
|
+
2,
|
17327
|
+
f
|
17328
|
+
);
|
17329
|
+
}
|
17330
|
+
f = message.getPlayerId();
|
17331
|
+
if (f.length > 0) {
|
17332
|
+
writer.writeString(
|
17333
|
+
3,
|
17334
|
+
f
|
17335
|
+
);
|
17336
|
+
}
|
17337
|
+
f = message.getPlayerName();
|
17338
|
+
if (f.length > 0) {
|
17339
|
+
writer.writeString(
|
17340
|
+
4,
|
17341
|
+
f
|
17342
|
+
);
|
17343
|
+
}
|
17344
|
+
f = message.getValidFrom();
|
17345
|
+
if (f !== 0) {
|
17346
|
+
writer.writeInt32(
|
17347
|
+
5,
|
17348
|
+
f
|
17349
|
+
);
|
17350
|
+
}
|
17351
|
+
f = message.getValidUntil();
|
17352
|
+
if (f !== 0) {
|
17353
|
+
writer.writeInt32(
|
17354
|
+
6,
|
17355
|
+
f
|
17356
|
+
);
|
17357
|
+
}
|
17358
|
+
f = message.getQuantity();
|
17359
|
+
if (f !== 0) {
|
17360
|
+
writer.writeInt32(
|
17361
|
+
7,
|
17362
|
+
f
|
17363
|
+
);
|
17364
|
+
}
|
17365
|
+
f = message.getFreespinId();
|
17366
|
+
if (f.length > 0) {
|
17367
|
+
writer.writeString(
|
17368
|
+
8,
|
17369
|
+
f
|
17370
|
+
);
|
17371
|
+
}
|
17372
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
17373
|
+
if (f != null) {
|
17374
|
+
writer.writeInt32(
|
17375
|
+
9,
|
17376
|
+
f
|
17377
|
+
);
|
17378
|
+
}
|
17379
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
17380
|
+
if (f != null) {
|
17381
|
+
writer.writeFloat(
|
17382
|
+
10,
|
17383
|
+
f
|
17384
|
+
);
|
17385
|
+
}
|
17386
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
17387
|
+
if (f != null) {
|
17388
|
+
writer.writeInt32(
|
17389
|
+
11,
|
17390
|
+
f
|
17391
|
+
);
|
17392
|
+
}
|
17393
|
+
};
|
17394
|
+
|
17395
|
+
|
17396
|
+
/**
|
17397
|
+
* optional string game_uuid = 1;
|
17398
|
+
* @return {string}
|
17399
|
+
*/
|
17400
|
+
proto.game.FreeSpinCampaignRequest.prototype.getGameUuid = function() {
|
17401
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
17402
|
+
};
|
17403
|
+
|
17404
|
+
|
17405
|
+
/**
|
17406
|
+
* @param {string} value
|
17407
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17408
|
+
*/
|
17409
|
+
proto.game.FreeSpinCampaignRequest.prototype.setGameUuid = function(value) {
|
17410
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
17411
|
+
};
|
17412
|
+
|
17413
|
+
|
17414
|
+
/**
|
17415
|
+
* optional string currency = 2;
|
17416
|
+
* @return {string}
|
17417
|
+
*/
|
17418
|
+
proto.game.FreeSpinCampaignRequest.prototype.getCurrency = function() {
|
17419
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
17420
|
+
};
|
17421
|
+
|
17422
|
+
|
17423
|
+
/**
|
17424
|
+
* @param {string} value
|
17425
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17426
|
+
*/
|
17427
|
+
proto.game.FreeSpinCampaignRequest.prototype.setCurrency = function(value) {
|
17428
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
17429
|
+
};
|
17430
|
+
|
17431
|
+
|
17432
|
+
/**
|
17433
|
+
* optional string player_id = 3;
|
17434
|
+
* @return {string}
|
17435
|
+
*/
|
17436
|
+
proto.game.FreeSpinCampaignRequest.prototype.getPlayerId = function() {
|
17437
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
17438
|
+
};
|
17439
|
+
|
17440
|
+
|
17441
|
+
/**
|
17442
|
+
* @param {string} value
|
17443
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17444
|
+
*/
|
17445
|
+
proto.game.FreeSpinCampaignRequest.prototype.setPlayerId = function(value) {
|
17446
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
17447
|
+
};
|
17448
|
+
|
17449
|
+
|
17450
|
+
/**
|
17451
|
+
* optional string player_name = 4;
|
17452
|
+
* @return {string}
|
17453
|
+
*/
|
17454
|
+
proto.game.FreeSpinCampaignRequest.prototype.getPlayerName = function() {
|
17455
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
17456
|
+
};
|
17457
|
+
|
17458
|
+
|
17459
|
+
/**
|
17460
|
+
* @param {string} value
|
17461
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17462
|
+
*/
|
17463
|
+
proto.game.FreeSpinCampaignRequest.prototype.setPlayerName = function(value) {
|
17464
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
17465
|
+
};
|
17466
|
+
|
17467
|
+
|
17468
|
+
/**
|
17469
|
+
* optional int32 valid_from = 5;
|
17470
|
+
* @return {number}
|
17471
|
+
*/
|
17472
|
+
proto.game.FreeSpinCampaignRequest.prototype.getValidFrom = function() {
|
17473
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
17474
|
+
};
|
17475
|
+
|
17476
|
+
|
17477
|
+
/**
|
17478
|
+
* @param {number} value
|
17479
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17480
|
+
*/
|
17481
|
+
proto.game.FreeSpinCampaignRequest.prototype.setValidFrom = function(value) {
|
17482
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
17483
|
+
};
|
17484
|
+
|
17485
|
+
|
17486
|
+
/**
|
17487
|
+
* optional int32 valid_until = 6;
|
17488
|
+
* @return {number}
|
17489
|
+
*/
|
17490
|
+
proto.game.FreeSpinCampaignRequest.prototype.getValidUntil = function() {
|
17491
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
17492
|
+
};
|
17493
|
+
|
17494
|
+
|
17495
|
+
/**
|
17496
|
+
* @param {number} value
|
17497
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17498
|
+
*/
|
17499
|
+
proto.game.FreeSpinCampaignRequest.prototype.setValidUntil = function(value) {
|
17500
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
17501
|
+
};
|
17502
|
+
|
17503
|
+
|
17504
|
+
/**
|
17505
|
+
* optional int32 quantity = 7;
|
17506
|
+
* @return {number}
|
17507
|
+
*/
|
17508
|
+
proto.game.FreeSpinCampaignRequest.prototype.getQuantity = function() {
|
17509
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
17510
|
+
};
|
17511
|
+
|
17512
|
+
|
17513
|
+
/**
|
17514
|
+
* @param {number} value
|
17515
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17516
|
+
*/
|
17517
|
+
proto.game.FreeSpinCampaignRequest.prototype.setQuantity = function(value) {
|
17518
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
17519
|
+
};
|
17520
|
+
|
17521
|
+
|
17522
|
+
/**
|
17523
|
+
* optional string freespin_id = 8;
|
17524
|
+
* @return {string}
|
17525
|
+
*/
|
17526
|
+
proto.game.FreeSpinCampaignRequest.prototype.getFreespinId = function() {
|
17527
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
17528
|
+
};
|
17529
|
+
|
17530
|
+
|
17531
|
+
/**
|
17532
|
+
* @param {string} value
|
17533
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17534
|
+
*/
|
17535
|
+
proto.game.FreeSpinCampaignRequest.prototype.setFreespinId = function(value) {
|
17536
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
17537
|
+
};
|
17538
|
+
|
17539
|
+
|
17540
|
+
/**
|
17541
|
+
* optional int32 bet_id = 9;
|
17542
|
+
* @return {number}
|
17543
|
+
*/
|
17544
|
+
proto.game.FreeSpinCampaignRequest.prototype.getBetId = function() {
|
17545
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
17546
|
+
};
|
17547
|
+
|
17548
|
+
|
17549
|
+
/**
|
17550
|
+
* @param {number} value
|
17551
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17552
|
+
*/
|
17553
|
+
proto.game.FreeSpinCampaignRequest.prototype.setBetId = function(value) {
|
17554
|
+
return jspb.Message.setField(this, 9, value);
|
17555
|
+
};
|
17556
|
+
|
17557
|
+
|
17558
|
+
/**
|
17559
|
+
* Clears the field making it undefined.
|
17560
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17561
|
+
*/
|
17562
|
+
proto.game.FreeSpinCampaignRequest.prototype.clearBetId = function() {
|
17563
|
+
return jspb.Message.setField(this, 9, undefined);
|
17564
|
+
};
|
17565
|
+
|
17566
|
+
|
17567
|
+
/**
|
17568
|
+
* Returns whether this field is set.
|
17569
|
+
* @return {boolean}
|
17570
|
+
*/
|
17571
|
+
proto.game.FreeSpinCampaignRequest.prototype.hasBetId = function() {
|
17572
|
+
return jspb.Message.getField(this, 9) != null;
|
17573
|
+
};
|
17574
|
+
|
17575
|
+
|
17576
|
+
/**
|
17577
|
+
* optional float denomination = 10;
|
17578
|
+
* @return {number}
|
17579
|
+
*/
|
17580
|
+
proto.game.FreeSpinCampaignRequest.prototype.getDenomination = function() {
|
17581
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
17582
|
+
};
|
17583
|
+
|
17584
|
+
|
17585
|
+
/**
|
17586
|
+
* @param {number} value
|
17587
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17588
|
+
*/
|
17589
|
+
proto.game.FreeSpinCampaignRequest.prototype.setDenomination = function(value) {
|
17590
|
+
return jspb.Message.setField(this, 10, value);
|
17591
|
+
};
|
17592
|
+
|
17593
|
+
|
17594
|
+
/**
|
17595
|
+
* Clears the field making it undefined.
|
17596
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17597
|
+
*/
|
17598
|
+
proto.game.FreeSpinCampaignRequest.prototype.clearDenomination = function() {
|
17599
|
+
return jspb.Message.setField(this, 10, undefined);
|
17600
|
+
};
|
17601
|
+
|
17602
|
+
|
17603
|
+
/**
|
17604
|
+
* Returns whether this field is set.
|
17605
|
+
* @return {boolean}
|
17606
|
+
*/
|
17607
|
+
proto.game.FreeSpinCampaignRequest.prototype.hasDenomination = function() {
|
17608
|
+
return jspb.Message.getField(this, 10) != null;
|
17609
|
+
};
|
17610
|
+
|
17611
|
+
|
17612
|
+
/**
|
17613
|
+
* optional int32 total_bet_id = 11;
|
17614
|
+
* @return {number}
|
17615
|
+
*/
|
17616
|
+
proto.game.FreeSpinCampaignRequest.prototype.getTotalBetId = function() {
|
17617
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
17618
|
+
};
|
17619
|
+
|
17620
|
+
|
17621
|
+
/**
|
17622
|
+
* @param {number} value
|
17623
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17624
|
+
*/
|
17625
|
+
proto.game.FreeSpinCampaignRequest.prototype.setTotalBetId = function(value) {
|
17626
|
+
return jspb.Message.setField(this, 11, value);
|
17627
|
+
};
|
17628
|
+
|
17629
|
+
|
17630
|
+
/**
|
17631
|
+
* Clears the field making it undefined.
|
17632
|
+
* @return {!proto.game.FreeSpinCampaignRequest} returns this
|
17633
|
+
*/
|
17634
|
+
proto.game.FreeSpinCampaignRequest.prototype.clearTotalBetId = function() {
|
17635
|
+
return jspb.Message.setField(this, 11, undefined);
|
17636
|
+
};
|
17637
|
+
|
17638
|
+
|
17639
|
+
/**
|
17640
|
+
* Returns whether this field is set.
|
17641
|
+
* @return {boolean}
|
17642
|
+
*/
|
17643
|
+
proto.game.FreeSpinCampaignRequest.prototype.hasTotalBetId = function() {
|
17644
|
+
return jspb.Message.getField(this, 11) != null;
|
17645
|
+
};
|
17646
|
+
|
17647
|
+
|
17648
|
+
|
17649
|
+
|
17650
|
+
|
17651
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
17652
|
+
/**
|
17653
|
+
* Creates an object representation of this proto.
|
17654
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
17655
|
+
* Optional fields that are not set will be set to undefined.
|
17656
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
17657
|
+
* For the list of reserved names please see:
|
17658
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
17659
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
17660
|
+
* JSPB instance for transitional soy proto support:
|
17661
|
+
* http://goto/soy-param-migration
|
17662
|
+
* @return {!Object}
|
17663
|
+
*/
|
17664
|
+
proto.game.FreeSpinStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
17665
|
+
return proto.game.FreeSpinStatusRequest.toObject(opt_includeInstance, this);
|
17666
|
+
};
|
17667
|
+
|
17668
|
+
|
17669
|
+
/**
|
17670
|
+
* Static version of the {@see toObject} method.
|
17671
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
17672
|
+
* the JSPB instance for transitional soy proto support:
|
17673
|
+
* http://goto/soy-param-migration
|
17674
|
+
* @param {!proto.game.FreeSpinStatusRequest} msg The msg instance to transform.
|
17675
|
+
* @return {!Object}
|
17676
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
17677
|
+
*/
|
17678
|
+
proto.game.FreeSpinStatusRequest.toObject = function(includeInstance, msg) {
|
17679
|
+
var f, obj = {
|
17680
|
+
freeSpinId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
17681
|
+
};
|
17682
|
+
|
17683
|
+
if (includeInstance) {
|
17684
|
+
obj.$jspbMessageInstance = msg;
|
17685
|
+
}
|
17686
|
+
return obj;
|
17687
|
+
};
|
17688
|
+
}
|
17689
|
+
|
17690
|
+
|
17691
|
+
/**
|
17692
|
+
* Deserializes binary data (in protobuf wire format).
|
17693
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
17694
|
+
* @return {!proto.game.FreeSpinStatusRequest}
|
17695
|
+
*/
|
17696
|
+
proto.game.FreeSpinStatusRequest.deserializeBinary = function(bytes) {
|
17697
|
+
var reader = new jspb.BinaryReader(bytes);
|
17698
|
+
var msg = new proto.game.FreeSpinStatusRequest;
|
17699
|
+
return proto.game.FreeSpinStatusRequest.deserializeBinaryFromReader(msg, reader);
|
17700
|
+
};
|
17701
|
+
|
17702
|
+
|
17703
|
+
/**
|
17704
|
+
* Deserializes binary data (in protobuf wire format) from the
|
17705
|
+
* given reader into the given message object.
|
17706
|
+
* @param {!proto.game.FreeSpinStatusRequest} msg The message object to deserialize into.
|
17707
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
17708
|
+
* @return {!proto.game.FreeSpinStatusRequest}
|
17709
|
+
*/
|
17710
|
+
proto.game.FreeSpinStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
17711
|
+
while (reader.nextField()) {
|
17712
|
+
if (reader.isEndGroup()) {
|
17713
|
+
break;
|
17714
|
+
}
|
17715
|
+
var field = reader.getFieldNumber();
|
17716
|
+
switch (field) {
|
17717
|
+
case 1:
|
17718
|
+
var value = /** @type {string} */ (reader.readString());
|
17719
|
+
msg.setFreeSpinId(value);
|
17720
|
+
break;
|
17721
|
+
default:
|
17722
|
+
reader.skipField();
|
17723
|
+
break;
|
17724
|
+
}
|
17725
|
+
}
|
17726
|
+
return msg;
|
17727
|
+
};
|
17728
|
+
|
17729
|
+
|
17730
|
+
/**
|
17731
|
+
* Serializes the message to binary data (in protobuf wire format).
|
17732
|
+
* @return {!Uint8Array}
|
17733
|
+
*/
|
17734
|
+
proto.game.FreeSpinStatusRequest.prototype.serializeBinary = function() {
|
17735
|
+
var writer = new jspb.BinaryWriter();
|
17736
|
+
proto.game.FreeSpinStatusRequest.serializeBinaryToWriter(this, writer);
|
17737
|
+
return writer.getResultBuffer();
|
17738
|
+
};
|
17739
|
+
|
17740
|
+
|
17741
|
+
/**
|
17742
|
+
* Serializes the given message to binary data (in protobuf wire
|
17743
|
+
* format), writing to the given BinaryWriter.
|
17744
|
+
* @param {!proto.game.FreeSpinStatusRequest} message
|
17745
|
+
* @param {!jspb.BinaryWriter} writer
|
17746
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
17747
|
+
*/
|
17748
|
+
proto.game.FreeSpinStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
17749
|
+
var f = undefined;
|
17750
|
+
f = message.getFreeSpinId();
|
17751
|
+
if (f.length > 0) {
|
17752
|
+
writer.writeString(
|
17753
|
+
1,
|
17754
|
+
f
|
17755
|
+
);
|
17756
|
+
}
|
17757
|
+
};
|
17758
|
+
|
17759
|
+
|
17760
|
+
/**
|
17761
|
+
* optional string free_spin_id = 1;
|
17762
|
+
* @return {string}
|
17763
|
+
*/
|
17764
|
+
proto.game.FreeSpinStatusRequest.prototype.getFreeSpinId = function() {
|
17765
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
17766
|
+
};
|
17767
|
+
|
17768
|
+
|
17769
|
+
/**
|
17770
|
+
* @param {string} value
|
17771
|
+
* @return {!proto.game.FreeSpinStatusRequest} returns this
|
17772
|
+
*/
|
17773
|
+
proto.game.FreeSpinStatusRequest.prototype.setFreeSpinId = function(value) {
|
17774
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
17775
|
+
};
|
17776
|
+
|
17777
|
+
|
17778
|
+
|
17779
|
+
|
17780
|
+
|
17781
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
17782
|
+
/**
|
17783
|
+
* Creates an object representation of this proto.
|
17784
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
17785
|
+
* Optional fields that are not set will be set to undefined.
|
17786
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
17787
|
+
* For the list of reserved names please see:
|
17788
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
17789
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
17790
|
+
* JSPB instance for transitional soy proto support:
|
17791
|
+
* http://goto/soy-param-migration
|
17792
|
+
* @return {!Object}
|
17793
|
+
*/
|
17794
|
+
proto.game.FreeSpinCampaignResponse.prototype.toObject = function(opt_includeInstance) {
|
17795
|
+
return proto.game.FreeSpinCampaignResponse.toObject(opt_includeInstance, this);
|
17796
|
+
};
|
17797
|
+
|
17798
|
+
|
17799
|
+
/**
|
17800
|
+
* Static version of the {@see toObject} method.
|
17801
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
17802
|
+
* the JSPB instance for transitional soy proto support:
|
17803
|
+
* http://goto/soy-param-migration
|
17804
|
+
* @param {!proto.game.FreeSpinCampaignResponse} msg The msg instance to transform.
|
17805
|
+
* @return {!Object}
|
17806
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
17807
|
+
*/
|
17808
|
+
proto.game.FreeSpinCampaignResponse.toObject = function(includeInstance, msg) {
|
17809
|
+
var f, obj = {
|
17810
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
17811
|
+
};
|
17812
|
+
|
17813
|
+
if (includeInstance) {
|
17814
|
+
obj.$jspbMessageInstance = msg;
|
17815
|
+
}
|
17816
|
+
return obj;
|
17817
|
+
};
|
17818
|
+
}
|
17819
|
+
|
17820
|
+
|
17821
|
+
/**
|
17822
|
+
* Deserializes binary data (in protobuf wire format).
|
17823
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
17824
|
+
* @return {!proto.game.FreeSpinCampaignResponse}
|
17825
|
+
*/
|
17826
|
+
proto.game.FreeSpinCampaignResponse.deserializeBinary = function(bytes) {
|
17827
|
+
var reader = new jspb.BinaryReader(bytes);
|
17828
|
+
var msg = new proto.game.FreeSpinCampaignResponse;
|
17829
|
+
return proto.game.FreeSpinCampaignResponse.deserializeBinaryFromReader(msg, reader);
|
17830
|
+
};
|
17831
|
+
|
17832
|
+
|
17833
|
+
/**
|
17834
|
+
* Deserializes binary data (in protobuf wire format) from the
|
17835
|
+
* given reader into the given message object.
|
17836
|
+
* @param {!proto.game.FreeSpinCampaignResponse} msg The message object to deserialize into.
|
17837
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
17838
|
+
* @return {!proto.game.FreeSpinCampaignResponse}
|
17839
|
+
*/
|
17840
|
+
proto.game.FreeSpinCampaignResponse.deserializeBinaryFromReader = function(msg, reader) {
|
17841
|
+
while (reader.nextField()) {
|
17842
|
+
if (reader.isEndGroup()) {
|
17843
|
+
break;
|
17844
|
+
}
|
17845
|
+
var field = reader.getFieldNumber();
|
17846
|
+
switch (field) {
|
17847
|
+
case 1:
|
17848
|
+
var value = /** @type {string} */ (reader.readString());
|
17849
|
+
msg.setData(value);
|
17850
|
+
break;
|
17851
|
+
default:
|
17852
|
+
reader.skipField();
|
17853
|
+
break;
|
17854
|
+
}
|
17855
|
+
}
|
17856
|
+
return msg;
|
17857
|
+
};
|
17858
|
+
|
17859
|
+
|
17860
|
+
/**
|
17861
|
+
* Serializes the message to binary data (in protobuf wire format).
|
17862
|
+
* @return {!Uint8Array}
|
17863
|
+
*/
|
17864
|
+
proto.game.FreeSpinCampaignResponse.prototype.serializeBinary = function() {
|
17865
|
+
var writer = new jspb.BinaryWriter();
|
17866
|
+
proto.game.FreeSpinCampaignResponse.serializeBinaryToWriter(this, writer);
|
17867
|
+
return writer.getResultBuffer();
|
17868
|
+
};
|
17869
|
+
|
17870
|
+
|
17871
|
+
/**
|
17872
|
+
* Serializes the given message to binary data (in protobuf wire
|
17873
|
+
* format), writing to the given BinaryWriter.
|
17874
|
+
* @param {!proto.game.FreeSpinCampaignResponse} message
|
17875
|
+
* @param {!jspb.BinaryWriter} writer
|
17876
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
17877
|
+
*/
|
17878
|
+
proto.game.FreeSpinCampaignResponse.serializeBinaryToWriter = function(message, writer) {
|
17879
|
+
var f = undefined;
|
17880
|
+
f = message.getData();
|
17881
|
+
if (f.length > 0) {
|
17882
|
+
writer.writeString(
|
17883
|
+
1,
|
17884
|
+
f
|
17885
|
+
);
|
17886
|
+
}
|
17887
|
+
};
|
17888
|
+
|
17889
|
+
|
17890
|
+
/**
|
17891
|
+
* optional string data = 1;
|
17892
|
+
* @return {string}
|
17893
|
+
*/
|
17894
|
+
proto.game.FreeSpinCampaignResponse.prototype.getData = function() {
|
17895
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
17896
|
+
};
|
17897
|
+
|
17898
|
+
|
17899
|
+
/**
|
17900
|
+
* @param {string} value
|
17901
|
+
* @return {!proto.game.FreeSpinCampaignResponse} returns this
|
17902
|
+
*/
|
17903
|
+
proto.game.FreeSpinCampaignResponse.prototype.setData = function(value) {
|
17904
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
17905
|
+
};
|
17906
|
+
|
17907
|
+
|
17098
17908
|
goog.object.extend(exports, proto.game);
|