protobuf-platform 1.2.145 → 1.2.147
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/bonus/bonus.proto +2 -0
- package/bonus/bonus_pb.js +113 -4
- package/game/game.proto +4 -0
- package/game/game_pb.js +226 -8
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
|
@@ -125,6 +125,7 @@ message BonusItemRequest {
|
|
|
125
125
|
optional int32 activation_period_in_hours = 18;
|
|
126
126
|
optional int32 wagering_period_in_hours = 19;
|
|
127
127
|
optional string type_data = 20;
|
|
128
|
+
repeated int32 segment_ids = 21;
|
|
128
129
|
}
|
|
129
130
|
message GetBonusRequest {
|
|
130
131
|
int32 id = 1;
|
|
@@ -157,6 +158,7 @@ message BonusItem {
|
|
|
157
158
|
optional string type_data = 22;
|
|
158
159
|
optional int32 status_id = 23;
|
|
159
160
|
repeated BonusTranslationItem translations = 24;
|
|
161
|
+
repeated int32 segment_ids = 25;
|
|
160
162
|
}
|
|
161
163
|
message BonusItemsResponse {
|
|
162
164
|
repeated BonusItem items = 1;
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -361,7 +361,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
361
361
|
* @constructor
|
|
362
362
|
*/
|
|
363
363
|
proto.bonus.BonusItemRequest = function(opt_data) {
|
|
364
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
364
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bonus.BonusItemRequest.repeatedFields_, null);
|
|
365
365
|
};
|
|
366
366
|
goog.inherits(proto.bonus.BonusItemRequest, jspb.Message);
|
|
367
367
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -4195,6 +4195,13 @@ proto.bonus.BetsRange.prototype.setMax = function(value) {
|
|
|
4195
4195
|
|
|
4196
4196
|
|
|
4197
4197
|
|
|
4198
|
+
/**
|
|
4199
|
+
* List of repeated fields within this message type.
|
|
4200
|
+
* @private {!Array<number>}
|
|
4201
|
+
* @const
|
|
4202
|
+
*/
|
|
4203
|
+
proto.bonus.BonusItemRequest.repeatedFields_ = [21];
|
|
4204
|
+
|
|
4198
4205
|
|
|
4199
4206
|
|
|
4200
4207
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -4245,7 +4252,8 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
|
|
|
4245
4252
|
claimPeriodInHours: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
4246
4253
|
activationPeriodInHours: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
4247
4254
|
wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
4248
|
-
typeData: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
4255
|
+
typeData: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
4256
|
+
segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f
|
|
4249
4257
|
};
|
|
4250
4258
|
|
|
4251
4259
|
if (includeInstance) {
|
|
@@ -4362,6 +4370,12 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
4362
4370
|
var value = /** @type {string} */ (reader.readString());
|
|
4363
4371
|
msg.setTypeData(value);
|
|
4364
4372
|
break;
|
|
4373
|
+
case 21:
|
|
4374
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
4375
|
+
for (var i = 0; i < values.length; i++) {
|
|
4376
|
+
msg.addSegmentIds(values[i]);
|
|
4377
|
+
}
|
|
4378
|
+
break;
|
|
4365
4379
|
default:
|
|
4366
4380
|
reader.skipField();
|
|
4367
4381
|
break;
|
|
@@ -4531,6 +4545,13 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
4531
4545
|
f
|
|
4532
4546
|
);
|
|
4533
4547
|
}
|
|
4548
|
+
f = message.getSegmentIdsList();
|
|
4549
|
+
if (f.length > 0) {
|
|
4550
|
+
writer.writePackedInt32(
|
|
4551
|
+
21,
|
|
4552
|
+
f
|
|
4553
|
+
);
|
|
4554
|
+
}
|
|
4534
4555
|
};
|
|
4535
4556
|
|
|
4536
4557
|
|
|
@@ -5254,6 +5275,43 @@ proto.bonus.BonusItemRequest.prototype.hasTypeData = function() {
|
|
|
5254
5275
|
};
|
|
5255
5276
|
|
|
5256
5277
|
|
|
5278
|
+
/**
|
|
5279
|
+
* repeated int32 segment_ids = 21;
|
|
5280
|
+
* @return {!Array<number>}
|
|
5281
|
+
*/
|
|
5282
|
+
proto.bonus.BonusItemRequest.prototype.getSegmentIdsList = function() {
|
|
5283
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 21));
|
|
5284
|
+
};
|
|
5285
|
+
|
|
5286
|
+
|
|
5287
|
+
/**
|
|
5288
|
+
* @param {!Array<number>} value
|
|
5289
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
5290
|
+
*/
|
|
5291
|
+
proto.bonus.BonusItemRequest.prototype.setSegmentIdsList = function(value) {
|
|
5292
|
+
return jspb.Message.setField(this, 21, value || []);
|
|
5293
|
+
};
|
|
5294
|
+
|
|
5295
|
+
|
|
5296
|
+
/**
|
|
5297
|
+
* @param {number} value
|
|
5298
|
+
* @param {number=} opt_index
|
|
5299
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
5300
|
+
*/
|
|
5301
|
+
proto.bonus.BonusItemRequest.prototype.addSegmentIds = function(value, opt_index) {
|
|
5302
|
+
return jspb.Message.addToRepeatedField(this, 21, value, opt_index);
|
|
5303
|
+
};
|
|
5304
|
+
|
|
5305
|
+
|
|
5306
|
+
/**
|
|
5307
|
+
* Clears the list making it empty but non-null.
|
|
5308
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
5309
|
+
*/
|
|
5310
|
+
proto.bonus.BonusItemRequest.prototype.clearSegmentIdsList = function() {
|
|
5311
|
+
return this.setSegmentIdsList([]);
|
|
5312
|
+
};
|
|
5313
|
+
|
|
5314
|
+
|
|
5257
5315
|
|
|
5258
5316
|
|
|
5259
5317
|
|
|
@@ -5541,7 +5599,7 @@ proto.bonus.BonusResponse.prototype.hasData = function() {
|
|
|
5541
5599
|
* @private {!Array<number>}
|
|
5542
5600
|
* @const
|
|
5543
5601
|
*/
|
|
5544
|
-
proto.bonus.BonusItem.repeatedFields_ = [19,20,21,24];
|
|
5602
|
+
proto.bonus.BonusItem.repeatedFields_ = [19,20,21,24,25];
|
|
5545
5603
|
|
|
5546
5604
|
|
|
5547
5605
|
|
|
@@ -5601,7 +5659,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
|
|
|
5601
5659
|
typeData: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
5602
5660
|
statusId: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
5603
5661
|
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
5604
|
-
proto.bonus.BonusTranslationItem.toObject, includeInstance)
|
|
5662
|
+
proto.bonus.BonusTranslationItem.toObject, includeInstance),
|
|
5663
|
+
segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 25)) == null ? undefined : f
|
|
5605
5664
|
};
|
|
5606
5665
|
|
|
5607
5666
|
if (includeInstance) {
|
|
@@ -5738,6 +5797,12 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
5738
5797
|
reader.readMessage(value,proto.bonus.BonusTranslationItem.deserializeBinaryFromReader);
|
|
5739
5798
|
msg.addTranslations(value);
|
|
5740
5799
|
break;
|
|
5800
|
+
case 25:
|
|
5801
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
5802
|
+
for (var i = 0; i < values.length; i++) {
|
|
5803
|
+
msg.addSegmentIds(values[i]);
|
|
5804
|
+
}
|
|
5805
|
+
break;
|
|
5741
5806
|
default:
|
|
5742
5807
|
reader.skipField();
|
|
5743
5808
|
break;
|
|
@@ -5939,6 +6004,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
5939
6004
|
proto.bonus.BonusTranslationItem.serializeBinaryToWriter
|
|
5940
6005
|
);
|
|
5941
6006
|
}
|
|
6007
|
+
f = message.getSegmentIdsList();
|
|
6008
|
+
if (f.length > 0) {
|
|
6009
|
+
writer.writePackedInt32(
|
|
6010
|
+
25,
|
|
6011
|
+
f
|
|
6012
|
+
);
|
|
6013
|
+
}
|
|
5942
6014
|
};
|
|
5943
6015
|
|
|
5944
6016
|
|
|
@@ -6814,6 +6886,43 @@ proto.bonus.BonusItem.prototype.clearTranslationsList = function() {
|
|
|
6814
6886
|
};
|
|
6815
6887
|
|
|
6816
6888
|
|
|
6889
|
+
/**
|
|
6890
|
+
* repeated int32 segment_ids = 25;
|
|
6891
|
+
* @return {!Array<number>}
|
|
6892
|
+
*/
|
|
6893
|
+
proto.bonus.BonusItem.prototype.getSegmentIdsList = function() {
|
|
6894
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 25));
|
|
6895
|
+
};
|
|
6896
|
+
|
|
6897
|
+
|
|
6898
|
+
/**
|
|
6899
|
+
* @param {!Array<number>} value
|
|
6900
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
6901
|
+
*/
|
|
6902
|
+
proto.bonus.BonusItem.prototype.setSegmentIdsList = function(value) {
|
|
6903
|
+
return jspb.Message.setField(this, 25, value || []);
|
|
6904
|
+
};
|
|
6905
|
+
|
|
6906
|
+
|
|
6907
|
+
/**
|
|
6908
|
+
* @param {number} value
|
|
6909
|
+
* @param {number=} opt_index
|
|
6910
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
6911
|
+
*/
|
|
6912
|
+
proto.bonus.BonusItem.prototype.addSegmentIds = function(value, opt_index) {
|
|
6913
|
+
return jspb.Message.addToRepeatedField(this, 25, value, opt_index);
|
|
6914
|
+
};
|
|
6915
|
+
|
|
6916
|
+
|
|
6917
|
+
/**
|
|
6918
|
+
* Clears the list making it empty but non-null.
|
|
6919
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
6920
|
+
*/
|
|
6921
|
+
proto.bonus.BonusItem.prototype.clearSegmentIdsList = function() {
|
|
6922
|
+
return this.setSegmentIdsList([]);
|
|
6923
|
+
};
|
|
6924
|
+
|
|
6925
|
+
|
|
6817
6926
|
|
|
6818
6927
|
/**
|
|
6819
6928
|
* List of repeated fields within this message type.
|
package/game/game.proto
CHANGED
|
@@ -142,6 +142,7 @@ message GameSearchRequest {
|
|
|
142
142
|
optional bool admin_side = 12;
|
|
143
143
|
optional int32 has_free_spins = 13;
|
|
144
144
|
optional int32 is_hidden = 14;
|
|
145
|
+
repeated int32 game_ids = 15;
|
|
145
146
|
}
|
|
146
147
|
message WagerSearchRequest {
|
|
147
148
|
optional int32 wager_id = 1;
|
|
@@ -168,15 +169,18 @@ message ProviderSearchRequest {
|
|
|
168
169
|
message CategorySearchRequest {
|
|
169
170
|
optional string category_title = 1;
|
|
170
171
|
optional int32 is_active = 2;
|
|
172
|
+
repeated int32 category_ids = 3;
|
|
171
173
|
}
|
|
172
174
|
message CollectionSearchRequest {
|
|
173
175
|
optional string collection_title = 1;
|
|
174
176
|
optional int32 is_active = 2;
|
|
175
177
|
repeated int32 category_ids = 3;
|
|
178
|
+
repeated int32 collection_ids = 4;
|
|
176
179
|
}
|
|
177
180
|
message TagSearchRequest {
|
|
178
181
|
optional string tag_title = 1;
|
|
179
182
|
optional int32 is_active = 2;
|
|
183
|
+
repeated int32 tag_ids = 3;
|
|
180
184
|
}
|
|
181
185
|
message ItemsBunchRequest {
|
|
182
186
|
repeated int32 ids = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -315,7 +315,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
315
315
|
* @constructor
|
|
316
316
|
*/
|
|
317
317
|
proto.game.CategorySearchRequest = function(opt_data) {
|
|
318
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
318
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.CategorySearchRequest.repeatedFields_, null);
|
|
319
319
|
};
|
|
320
320
|
goog.inherits(proto.game.CategorySearchRequest, jspb.Message);
|
|
321
321
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -357,7 +357,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
357
357
|
* @constructor
|
|
358
358
|
*/
|
|
359
359
|
proto.game.TagSearchRequest = function(opt_data) {
|
|
360
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
360
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.TagSearchRequest.repeatedFields_, null);
|
|
361
361
|
};
|
|
362
362
|
goog.inherits(proto.game.TagSearchRequest, jspb.Message);
|
|
363
363
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -3376,7 +3376,7 @@ proto.game.PaginationRequest.prototype.hasTagSearchParams = function() {
|
|
|
3376
3376
|
* @private {!Array<number>}
|
|
3377
3377
|
* @const
|
|
3378
3378
|
*/
|
|
3379
|
-
proto.game.GameSearchRequest.repeatedFields_ = [5,6,7,8,9];
|
|
3379
|
+
proto.game.GameSearchRequest.repeatedFields_ = [5,6,7,8,9,15];
|
|
3380
3380
|
|
|
3381
3381
|
|
|
3382
3382
|
|
|
@@ -3422,7 +3422,8 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
|
|
|
3422
3422
|
userGeo: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
3423
3423
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
3424
3424
|
hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
3425
|
-
isHidden: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
3425
|
+
isHidden: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
3426
|
+
gameIdsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f
|
|
3426
3427
|
};
|
|
3427
3428
|
|
|
3428
3429
|
if (includeInstance) {
|
|
@@ -3523,6 +3524,12 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
3523
3524
|
var value = /** @type {number} */ (reader.readInt32());
|
|
3524
3525
|
msg.setIsHidden(value);
|
|
3525
3526
|
break;
|
|
3527
|
+
case 15:
|
|
3528
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
3529
|
+
for (var i = 0; i < values.length; i++) {
|
|
3530
|
+
msg.addGameIds(values[i]);
|
|
3531
|
+
}
|
|
3532
|
+
break;
|
|
3526
3533
|
default:
|
|
3527
3534
|
reader.skipField();
|
|
3528
3535
|
break;
|
|
@@ -3650,6 +3657,13 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
3650
3657
|
f
|
|
3651
3658
|
);
|
|
3652
3659
|
}
|
|
3660
|
+
f = message.getGameIdsList();
|
|
3661
|
+
if (f.length > 0) {
|
|
3662
|
+
writer.writePackedInt32(
|
|
3663
|
+
15,
|
|
3664
|
+
f
|
|
3665
|
+
);
|
|
3666
|
+
}
|
|
3653
3667
|
};
|
|
3654
3668
|
|
|
3655
3669
|
|
|
@@ -4162,6 +4176,43 @@ proto.game.GameSearchRequest.prototype.hasIsHidden = function() {
|
|
|
4162
4176
|
};
|
|
4163
4177
|
|
|
4164
4178
|
|
|
4179
|
+
/**
|
|
4180
|
+
* repeated int32 game_ids = 15;
|
|
4181
|
+
* @return {!Array<number>}
|
|
4182
|
+
*/
|
|
4183
|
+
proto.game.GameSearchRequest.prototype.getGameIdsList = function() {
|
|
4184
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 15));
|
|
4185
|
+
};
|
|
4186
|
+
|
|
4187
|
+
|
|
4188
|
+
/**
|
|
4189
|
+
* @param {!Array<number>} value
|
|
4190
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
|
4191
|
+
*/
|
|
4192
|
+
proto.game.GameSearchRequest.prototype.setGameIdsList = function(value) {
|
|
4193
|
+
return jspb.Message.setField(this, 15, value || []);
|
|
4194
|
+
};
|
|
4195
|
+
|
|
4196
|
+
|
|
4197
|
+
/**
|
|
4198
|
+
* @param {number} value
|
|
4199
|
+
* @param {number=} opt_index
|
|
4200
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
|
4201
|
+
*/
|
|
4202
|
+
proto.game.GameSearchRequest.prototype.addGameIds = function(value, opt_index) {
|
|
4203
|
+
return jspb.Message.addToRepeatedField(this, 15, value, opt_index);
|
|
4204
|
+
};
|
|
4205
|
+
|
|
4206
|
+
|
|
4207
|
+
/**
|
|
4208
|
+
* Clears the list making it empty but non-null.
|
|
4209
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
|
4210
|
+
*/
|
|
4211
|
+
proto.game.GameSearchRequest.prototype.clearGameIdsList = function() {
|
|
4212
|
+
return this.setGameIdsList([]);
|
|
4213
|
+
};
|
|
4214
|
+
|
|
4215
|
+
|
|
4165
4216
|
|
|
4166
4217
|
/**
|
|
4167
4218
|
* List of repeated fields within this message type.
|
|
@@ -5255,6 +5306,13 @@ proto.game.ProviderSearchRequest.prototype.hasGeo = function() {
|
|
|
5255
5306
|
|
|
5256
5307
|
|
|
5257
5308
|
|
|
5309
|
+
/**
|
|
5310
|
+
* List of repeated fields within this message type.
|
|
5311
|
+
* @private {!Array<number>}
|
|
5312
|
+
* @const
|
|
5313
|
+
*/
|
|
5314
|
+
proto.game.CategorySearchRequest.repeatedFields_ = [3];
|
|
5315
|
+
|
|
5258
5316
|
|
|
5259
5317
|
|
|
5260
5318
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5287,7 +5345,8 @@ proto.game.CategorySearchRequest.prototype.toObject = function(opt_includeInstan
|
|
|
5287
5345
|
proto.game.CategorySearchRequest.toObject = function(includeInstance, msg) {
|
|
5288
5346
|
var f, obj = {
|
|
5289
5347
|
categoryTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5290
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
5348
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5349
|
+
categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
5291
5350
|
};
|
|
5292
5351
|
|
|
5293
5352
|
if (includeInstance) {
|
|
@@ -5332,6 +5391,12 @@ proto.game.CategorySearchRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
5332
5391
|
var value = /** @type {number} */ (reader.readInt32());
|
|
5333
5392
|
msg.setIsActive(value);
|
|
5334
5393
|
break;
|
|
5394
|
+
case 3:
|
|
5395
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
5396
|
+
for (var i = 0; i < values.length; i++) {
|
|
5397
|
+
msg.addCategoryIds(values[i]);
|
|
5398
|
+
}
|
|
5399
|
+
break;
|
|
5335
5400
|
default:
|
|
5336
5401
|
reader.skipField();
|
|
5337
5402
|
break;
|
|
@@ -5375,6 +5440,13 @@ proto.game.CategorySearchRequest.serializeBinaryToWriter = function(message, wri
|
|
|
5375
5440
|
f
|
|
5376
5441
|
);
|
|
5377
5442
|
}
|
|
5443
|
+
f = message.getCategoryIdsList();
|
|
5444
|
+
if (f.length > 0) {
|
|
5445
|
+
writer.writePackedInt32(
|
|
5446
|
+
3,
|
|
5447
|
+
f
|
|
5448
|
+
);
|
|
5449
|
+
}
|
|
5378
5450
|
};
|
|
5379
5451
|
|
|
5380
5452
|
|
|
@@ -5450,13 +5522,50 @@ proto.game.CategorySearchRequest.prototype.hasIsActive = function() {
|
|
|
5450
5522
|
};
|
|
5451
5523
|
|
|
5452
5524
|
|
|
5525
|
+
/**
|
|
5526
|
+
* repeated int32 category_ids = 3;
|
|
5527
|
+
* @return {!Array<number>}
|
|
5528
|
+
*/
|
|
5529
|
+
proto.game.CategorySearchRequest.prototype.getCategoryIdsList = function() {
|
|
5530
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
5531
|
+
};
|
|
5532
|
+
|
|
5533
|
+
|
|
5534
|
+
/**
|
|
5535
|
+
* @param {!Array<number>} value
|
|
5536
|
+
* @return {!proto.game.CategorySearchRequest} returns this
|
|
5537
|
+
*/
|
|
5538
|
+
proto.game.CategorySearchRequest.prototype.setCategoryIdsList = function(value) {
|
|
5539
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
5540
|
+
};
|
|
5541
|
+
|
|
5542
|
+
|
|
5543
|
+
/**
|
|
5544
|
+
* @param {number} value
|
|
5545
|
+
* @param {number=} opt_index
|
|
5546
|
+
* @return {!proto.game.CategorySearchRequest} returns this
|
|
5547
|
+
*/
|
|
5548
|
+
proto.game.CategorySearchRequest.prototype.addCategoryIds = function(value, opt_index) {
|
|
5549
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
5550
|
+
};
|
|
5551
|
+
|
|
5552
|
+
|
|
5553
|
+
/**
|
|
5554
|
+
* Clears the list making it empty but non-null.
|
|
5555
|
+
* @return {!proto.game.CategorySearchRequest} returns this
|
|
5556
|
+
*/
|
|
5557
|
+
proto.game.CategorySearchRequest.prototype.clearCategoryIdsList = function() {
|
|
5558
|
+
return this.setCategoryIdsList([]);
|
|
5559
|
+
};
|
|
5560
|
+
|
|
5561
|
+
|
|
5453
5562
|
|
|
5454
5563
|
/**
|
|
5455
5564
|
* List of repeated fields within this message type.
|
|
5456
5565
|
* @private {!Array<number>}
|
|
5457
5566
|
* @const
|
|
5458
5567
|
*/
|
|
5459
|
-
proto.game.CollectionSearchRequest.repeatedFields_ = [3];
|
|
5568
|
+
proto.game.CollectionSearchRequest.repeatedFields_ = [3,4];
|
|
5460
5569
|
|
|
5461
5570
|
|
|
5462
5571
|
|
|
@@ -5491,7 +5600,8 @@ proto.game.CollectionSearchRequest.toObject = function(includeInstance, msg) {
|
|
|
5491
5600
|
var f, obj = {
|
|
5492
5601
|
collectionTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5493
5602
|
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5494
|
-
categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
5603
|
+
categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
5604
|
+
collectionIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
5495
5605
|
};
|
|
5496
5606
|
|
|
5497
5607
|
if (includeInstance) {
|
|
@@ -5542,6 +5652,12 @@ proto.game.CollectionSearchRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
5542
5652
|
msg.addCategoryIds(values[i]);
|
|
5543
5653
|
}
|
|
5544
5654
|
break;
|
|
5655
|
+
case 4:
|
|
5656
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
5657
|
+
for (var i = 0; i < values.length; i++) {
|
|
5658
|
+
msg.addCollectionIds(values[i]);
|
|
5659
|
+
}
|
|
5660
|
+
break;
|
|
5545
5661
|
default:
|
|
5546
5662
|
reader.skipField();
|
|
5547
5663
|
break;
|
|
@@ -5592,6 +5708,13 @@ proto.game.CollectionSearchRequest.serializeBinaryToWriter = function(message, w
|
|
|
5592
5708
|
f
|
|
5593
5709
|
);
|
|
5594
5710
|
}
|
|
5711
|
+
f = message.getCollectionIdsList();
|
|
5712
|
+
if (f.length > 0) {
|
|
5713
|
+
writer.writePackedInt32(
|
|
5714
|
+
4,
|
|
5715
|
+
f
|
|
5716
|
+
);
|
|
5717
|
+
}
|
|
5595
5718
|
};
|
|
5596
5719
|
|
|
5597
5720
|
|
|
@@ -5704,6 +5827,50 @@ proto.game.CollectionSearchRequest.prototype.clearCategoryIdsList = function() {
|
|
|
5704
5827
|
};
|
|
5705
5828
|
|
|
5706
5829
|
|
|
5830
|
+
/**
|
|
5831
|
+
* repeated int32 collection_ids = 4;
|
|
5832
|
+
* @return {!Array<number>}
|
|
5833
|
+
*/
|
|
5834
|
+
proto.game.CollectionSearchRequest.prototype.getCollectionIdsList = function() {
|
|
5835
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
5836
|
+
};
|
|
5837
|
+
|
|
5838
|
+
|
|
5839
|
+
/**
|
|
5840
|
+
* @param {!Array<number>} value
|
|
5841
|
+
* @return {!proto.game.CollectionSearchRequest} returns this
|
|
5842
|
+
*/
|
|
5843
|
+
proto.game.CollectionSearchRequest.prototype.setCollectionIdsList = function(value) {
|
|
5844
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
5845
|
+
};
|
|
5846
|
+
|
|
5847
|
+
|
|
5848
|
+
/**
|
|
5849
|
+
* @param {number} value
|
|
5850
|
+
* @param {number=} opt_index
|
|
5851
|
+
* @return {!proto.game.CollectionSearchRequest} returns this
|
|
5852
|
+
*/
|
|
5853
|
+
proto.game.CollectionSearchRequest.prototype.addCollectionIds = function(value, opt_index) {
|
|
5854
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
5855
|
+
};
|
|
5856
|
+
|
|
5857
|
+
|
|
5858
|
+
/**
|
|
5859
|
+
* Clears the list making it empty but non-null.
|
|
5860
|
+
* @return {!proto.game.CollectionSearchRequest} returns this
|
|
5861
|
+
*/
|
|
5862
|
+
proto.game.CollectionSearchRequest.prototype.clearCollectionIdsList = function() {
|
|
5863
|
+
return this.setCollectionIdsList([]);
|
|
5864
|
+
};
|
|
5865
|
+
|
|
5866
|
+
|
|
5867
|
+
|
|
5868
|
+
/**
|
|
5869
|
+
* List of repeated fields within this message type.
|
|
5870
|
+
* @private {!Array<number>}
|
|
5871
|
+
* @const
|
|
5872
|
+
*/
|
|
5873
|
+
proto.game.TagSearchRequest.repeatedFields_ = [3];
|
|
5707
5874
|
|
|
5708
5875
|
|
|
5709
5876
|
|
|
@@ -5737,7 +5904,8 @@ proto.game.TagSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
5737
5904
|
proto.game.TagSearchRequest.toObject = function(includeInstance, msg) {
|
|
5738
5905
|
var f, obj = {
|
|
5739
5906
|
tagTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5740
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
5907
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5908
|
+
tagIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
5741
5909
|
};
|
|
5742
5910
|
|
|
5743
5911
|
if (includeInstance) {
|
|
@@ -5782,6 +5950,12 @@ proto.game.TagSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
5782
5950
|
var value = /** @type {number} */ (reader.readInt32());
|
|
5783
5951
|
msg.setIsActive(value);
|
|
5784
5952
|
break;
|
|
5953
|
+
case 3:
|
|
5954
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
5955
|
+
for (var i = 0; i < values.length; i++) {
|
|
5956
|
+
msg.addTagIds(values[i]);
|
|
5957
|
+
}
|
|
5958
|
+
break;
|
|
5785
5959
|
default:
|
|
5786
5960
|
reader.skipField();
|
|
5787
5961
|
break;
|
|
@@ -5825,6 +5999,13 @@ proto.game.TagSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
5825
5999
|
f
|
|
5826
6000
|
);
|
|
5827
6001
|
}
|
|
6002
|
+
f = message.getTagIdsList();
|
|
6003
|
+
if (f.length > 0) {
|
|
6004
|
+
writer.writePackedInt32(
|
|
6005
|
+
3,
|
|
6006
|
+
f
|
|
6007
|
+
);
|
|
6008
|
+
}
|
|
5828
6009
|
};
|
|
5829
6010
|
|
|
5830
6011
|
|
|
@@ -5900,6 +6081,43 @@ proto.game.TagSearchRequest.prototype.hasIsActive = function() {
|
|
|
5900
6081
|
};
|
|
5901
6082
|
|
|
5902
6083
|
|
|
6084
|
+
/**
|
|
6085
|
+
* repeated int32 tag_ids = 3;
|
|
6086
|
+
* @return {!Array<number>}
|
|
6087
|
+
*/
|
|
6088
|
+
proto.game.TagSearchRequest.prototype.getTagIdsList = function() {
|
|
6089
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
6090
|
+
};
|
|
6091
|
+
|
|
6092
|
+
|
|
6093
|
+
/**
|
|
6094
|
+
* @param {!Array<number>} value
|
|
6095
|
+
* @return {!proto.game.TagSearchRequest} returns this
|
|
6096
|
+
*/
|
|
6097
|
+
proto.game.TagSearchRequest.prototype.setTagIdsList = function(value) {
|
|
6098
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
6099
|
+
};
|
|
6100
|
+
|
|
6101
|
+
|
|
6102
|
+
/**
|
|
6103
|
+
* @param {number} value
|
|
6104
|
+
* @param {number=} opt_index
|
|
6105
|
+
* @return {!proto.game.TagSearchRequest} returns this
|
|
6106
|
+
*/
|
|
6107
|
+
proto.game.TagSearchRequest.prototype.addTagIds = function(value, opt_index) {
|
|
6108
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
6109
|
+
};
|
|
6110
|
+
|
|
6111
|
+
|
|
6112
|
+
/**
|
|
6113
|
+
* Clears the list making it empty but non-null.
|
|
6114
|
+
* @return {!proto.game.TagSearchRequest} returns this
|
|
6115
|
+
*/
|
|
6116
|
+
proto.game.TagSearchRequest.prototype.clearTagIdsList = function() {
|
|
6117
|
+
return this.setTagIdsList([]);
|
|
6118
|
+
};
|
|
6119
|
+
|
|
6120
|
+
|
|
5903
6121
|
|
|
5904
6122
|
/**
|
|
5905
6123
|
* List of repeated fields within this message type.
|