protobuf-platform 1.2.585 → 1.2.587

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_pb.js CHANGED
@@ -36,6 +36,7 @@ goog.exportSymbol('proto.game.CashBackTypeGamesItem', null, global);
36
36
  goog.exportSymbol('proto.game.CashBackTypesGamesRequest', null, global);
37
37
  goog.exportSymbol('proto.game.CashBackTypesGamesResponse', null, global);
38
38
  goog.exportSymbol('proto.game.CashbackGamePreview', null, global);
39
+ goog.exportSymbol('proto.game.CatalogCursorRequest', null, global);
39
40
  goog.exportSymbol('proto.game.CategoryHierarchyCollectionItem', null, global);
40
41
  goog.exportSymbol('proto.game.CategoryHierarchyItem', null, global);
41
42
  goog.exportSymbol('proto.game.CategoryHierarchyRequest', null, global);
@@ -73,6 +74,8 @@ goog.exportSymbol('proto.game.FreeSpinSettingsItem', null, global);
73
74
  goog.exportSymbol('proto.game.FreeSpinSettingsRequest', null, global);
74
75
  goog.exportSymbol('proto.game.FreeSpinSettingsResponse', null, global);
75
76
  goog.exportSymbol('proto.game.FreeSpinStatusRequest', null, global);
77
+ goog.exportSymbol('proto.game.GameCatalogBatchItem', null, global);
78
+ goog.exportSymbol('proto.game.GameCatalogBatchResponse', null, global);
76
79
  goog.exportSymbol('proto.game.GameConfigCheckResponse', null, global);
77
80
  goog.exportSymbol('proto.game.GameEntityTranslationItem', null, global);
78
81
  goog.exportSymbol('proto.game.GameEntityTranslationRequest', null, global);
@@ -136,6 +139,8 @@ goog.exportSymbol('proto.game.ParseGamesRequest', null, global);
136
139
  goog.exportSymbol('proto.game.ParseGamesResponse', null, global);
137
140
  goog.exportSymbol('proto.game.PingRequest', null, global);
138
141
  goog.exportSymbol('proto.game.PongResponse', null, global);
142
+ goog.exportSymbol('proto.game.ProviderCatalogBatchItem', null, global);
143
+ goog.exportSymbol('proto.game.ProviderCatalogBatchResponse', null, global);
139
144
  goog.exportSymbol('proto.game.ProviderItem', null, global);
140
145
  goog.exportSymbol('proto.game.ProviderItemRequest', null, global);
141
146
  goog.exportSymbol('proto.game.ProviderItemsResponse', null, global);
@@ -2635,6 +2640,111 @@ if (goog.DEBUG && !COMPILED) {
2635
2640
  */
2636
2641
  proto.game.ProviderPoorItemsResponse.displayName = 'proto.game.ProviderPoorItemsResponse';
2637
2642
  }
2643
+ /**
2644
+ * Generated by JsPbCodeGenerator.
2645
+ * @param {Array=} opt_data Optional initial data array, typically from a
2646
+ * server response, or constructed directly in Javascript. The array is used
2647
+ * in place and becomes part of the constructed object. It is not cloned.
2648
+ * If no data is provided, the constructed object will be empty, but still
2649
+ * valid.
2650
+ * @extends {jspb.Message}
2651
+ * @constructor
2652
+ */
2653
+ proto.game.CatalogCursorRequest = function(opt_data) {
2654
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2655
+ };
2656
+ goog.inherits(proto.game.CatalogCursorRequest, jspb.Message);
2657
+ if (goog.DEBUG && !COMPILED) {
2658
+ /**
2659
+ * @public
2660
+ * @override
2661
+ */
2662
+ proto.game.CatalogCursorRequest.displayName = 'proto.game.CatalogCursorRequest';
2663
+ }
2664
+ /**
2665
+ * Generated by JsPbCodeGenerator.
2666
+ * @param {Array=} opt_data Optional initial data array, typically from a
2667
+ * server response, or constructed directly in Javascript. The array is used
2668
+ * in place and becomes part of the constructed object. It is not cloned.
2669
+ * If no data is provided, the constructed object will be empty, but still
2670
+ * valid.
2671
+ * @extends {jspb.Message}
2672
+ * @constructor
2673
+ */
2674
+ proto.game.ProviderCatalogBatchItem = function(opt_data) {
2675
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2676
+ };
2677
+ goog.inherits(proto.game.ProviderCatalogBatchItem, jspb.Message);
2678
+ if (goog.DEBUG && !COMPILED) {
2679
+ /**
2680
+ * @public
2681
+ * @override
2682
+ */
2683
+ proto.game.ProviderCatalogBatchItem.displayName = 'proto.game.ProviderCatalogBatchItem';
2684
+ }
2685
+ /**
2686
+ * Generated by JsPbCodeGenerator.
2687
+ * @param {Array=} opt_data Optional initial data array, typically from a
2688
+ * server response, or constructed directly in Javascript. The array is used
2689
+ * in place and becomes part of the constructed object. It is not cloned.
2690
+ * If no data is provided, the constructed object will be empty, but still
2691
+ * valid.
2692
+ * @extends {jspb.Message}
2693
+ * @constructor
2694
+ */
2695
+ proto.game.ProviderCatalogBatchResponse = function(opt_data) {
2696
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.ProviderCatalogBatchResponse.repeatedFields_, null);
2697
+ };
2698
+ goog.inherits(proto.game.ProviderCatalogBatchResponse, jspb.Message);
2699
+ if (goog.DEBUG && !COMPILED) {
2700
+ /**
2701
+ * @public
2702
+ * @override
2703
+ */
2704
+ proto.game.ProviderCatalogBatchResponse.displayName = 'proto.game.ProviderCatalogBatchResponse';
2705
+ }
2706
+ /**
2707
+ * Generated by JsPbCodeGenerator.
2708
+ * @param {Array=} opt_data Optional initial data array, typically from a
2709
+ * server response, or constructed directly in Javascript. The array is used
2710
+ * in place and becomes part of the constructed object. It is not cloned.
2711
+ * If no data is provided, the constructed object will be empty, but still
2712
+ * valid.
2713
+ * @extends {jspb.Message}
2714
+ * @constructor
2715
+ */
2716
+ proto.game.GameCatalogBatchItem = function(opt_data) {
2717
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2718
+ };
2719
+ goog.inherits(proto.game.GameCatalogBatchItem, jspb.Message);
2720
+ if (goog.DEBUG && !COMPILED) {
2721
+ /**
2722
+ * @public
2723
+ * @override
2724
+ */
2725
+ proto.game.GameCatalogBatchItem.displayName = 'proto.game.GameCatalogBatchItem';
2726
+ }
2727
+ /**
2728
+ * Generated by JsPbCodeGenerator.
2729
+ * @param {Array=} opt_data Optional initial data array, typically from a
2730
+ * server response, or constructed directly in Javascript. The array is used
2731
+ * in place and becomes part of the constructed object. It is not cloned.
2732
+ * If no data is provided, the constructed object will be empty, but still
2733
+ * valid.
2734
+ * @extends {jspb.Message}
2735
+ * @constructor
2736
+ */
2737
+ proto.game.GameCatalogBatchResponse = function(opt_data) {
2738
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.GameCatalogBatchResponse.repeatedFields_, null);
2739
+ };
2740
+ goog.inherits(proto.game.GameCatalogBatchResponse, jspb.Message);
2741
+ if (goog.DEBUG && !COMPILED) {
2742
+ /**
2743
+ * @public
2744
+ * @override
2745
+ */
2746
+ proto.game.GameCatalogBatchResponse.displayName = 'proto.game.GameCatalogBatchResponse';
2747
+ }
2638
2748
  /**
2639
2749
  * Generated by JsPbCodeGenerator.
2640
2750
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -38833,6 +38943,1460 @@ proto.game.ProviderPoorItemsResponse.prototype.clearItemsList = function() {
38833
38943
 
38834
38944
 
38835
38945
 
38946
+ if (jspb.Message.GENERATE_TO_OBJECT) {
38947
+ /**
38948
+ * Creates an object representation of this proto.
38949
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
38950
+ * Optional fields that are not set will be set to undefined.
38951
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
38952
+ * For the list of reserved names please see:
38953
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
38954
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
38955
+ * JSPB instance for transitional soy proto support:
38956
+ * http://goto/soy-param-migration
38957
+ * @return {!Object}
38958
+ */
38959
+ proto.game.CatalogCursorRequest.prototype.toObject = function(opt_includeInstance) {
38960
+ return proto.game.CatalogCursorRequest.toObject(opt_includeInstance, this);
38961
+ };
38962
+
38963
+
38964
+ /**
38965
+ * Static version of the {@see toObject} method.
38966
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
38967
+ * the JSPB instance for transitional soy proto support:
38968
+ * http://goto/soy-param-migration
38969
+ * @param {!proto.game.CatalogCursorRequest} msg The msg instance to transform.
38970
+ * @return {!Object}
38971
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38972
+ */
38973
+ proto.game.CatalogCursorRequest.toObject = function(includeInstance, msg) {
38974
+ var f, obj = {
38975
+ afterId: jspb.Message.getFieldWithDefault(msg, 1, 0),
38976
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
38977
+ };
38978
+
38979
+ if (includeInstance) {
38980
+ obj.$jspbMessageInstance = msg;
38981
+ }
38982
+ return obj;
38983
+ };
38984
+ }
38985
+
38986
+
38987
+ /**
38988
+ * Deserializes binary data (in protobuf wire format).
38989
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
38990
+ * @return {!proto.game.CatalogCursorRequest}
38991
+ */
38992
+ proto.game.CatalogCursorRequest.deserializeBinary = function(bytes) {
38993
+ var reader = new jspb.BinaryReader(bytes);
38994
+ var msg = new proto.game.CatalogCursorRequest;
38995
+ return proto.game.CatalogCursorRequest.deserializeBinaryFromReader(msg, reader);
38996
+ };
38997
+
38998
+
38999
+ /**
39000
+ * Deserializes binary data (in protobuf wire format) from the
39001
+ * given reader into the given message object.
39002
+ * @param {!proto.game.CatalogCursorRequest} msg The message object to deserialize into.
39003
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39004
+ * @return {!proto.game.CatalogCursorRequest}
39005
+ */
39006
+ proto.game.CatalogCursorRequest.deserializeBinaryFromReader = function(msg, reader) {
39007
+ while (reader.nextField()) {
39008
+ if (reader.isEndGroup()) {
39009
+ break;
39010
+ }
39011
+ var field = reader.getFieldNumber();
39012
+ switch (field) {
39013
+ case 1:
39014
+ var value = /** @type {number} */ (reader.readInt32());
39015
+ msg.setAfterId(value);
39016
+ break;
39017
+ case 2:
39018
+ var value = /** @type {number} */ (reader.readInt32());
39019
+ msg.setLimit(value);
39020
+ break;
39021
+ default:
39022
+ reader.skipField();
39023
+ break;
39024
+ }
39025
+ }
39026
+ return msg;
39027
+ };
39028
+
39029
+
39030
+ /**
39031
+ * Serializes the message to binary data (in protobuf wire format).
39032
+ * @return {!Uint8Array}
39033
+ */
39034
+ proto.game.CatalogCursorRequest.prototype.serializeBinary = function() {
39035
+ var writer = new jspb.BinaryWriter();
39036
+ proto.game.CatalogCursorRequest.serializeBinaryToWriter(this, writer);
39037
+ return writer.getResultBuffer();
39038
+ };
39039
+
39040
+
39041
+ /**
39042
+ * Serializes the given message to binary data (in protobuf wire
39043
+ * format), writing to the given BinaryWriter.
39044
+ * @param {!proto.game.CatalogCursorRequest} message
39045
+ * @param {!jspb.BinaryWriter} writer
39046
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39047
+ */
39048
+ proto.game.CatalogCursorRequest.serializeBinaryToWriter = function(message, writer) {
39049
+ var f = undefined;
39050
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
39051
+ if (f != null) {
39052
+ writer.writeInt32(
39053
+ 1,
39054
+ f
39055
+ );
39056
+ }
39057
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
39058
+ if (f != null) {
39059
+ writer.writeInt32(
39060
+ 2,
39061
+ f
39062
+ );
39063
+ }
39064
+ };
39065
+
39066
+
39067
+ /**
39068
+ * optional int32 after_id = 1;
39069
+ * @return {number}
39070
+ */
39071
+ proto.game.CatalogCursorRequest.prototype.getAfterId = function() {
39072
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
39073
+ };
39074
+
39075
+
39076
+ /**
39077
+ * @param {number} value
39078
+ * @return {!proto.game.CatalogCursorRequest} returns this
39079
+ */
39080
+ proto.game.CatalogCursorRequest.prototype.setAfterId = function(value) {
39081
+ return jspb.Message.setField(this, 1, value);
39082
+ };
39083
+
39084
+
39085
+ /**
39086
+ * Clears the field making it undefined.
39087
+ * @return {!proto.game.CatalogCursorRequest} returns this
39088
+ */
39089
+ proto.game.CatalogCursorRequest.prototype.clearAfterId = function() {
39090
+ return jspb.Message.setField(this, 1, undefined);
39091
+ };
39092
+
39093
+
39094
+ /**
39095
+ * Returns whether this field is set.
39096
+ * @return {boolean}
39097
+ */
39098
+ proto.game.CatalogCursorRequest.prototype.hasAfterId = function() {
39099
+ return jspb.Message.getField(this, 1) != null;
39100
+ };
39101
+
39102
+
39103
+ /**
39104
+ * optional int32 limit = 2;
39105
+ * @return {number}
39106
+ */
39107
+ proto.game.CatalogCursorRequest.prototype.getLimit = function() {
39108
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
39109
+ };
39110
+
39111
+
39112
+ /**
39113
+ * @param {number} value
39114
+ * @return {!proto.game.CatalogCursorRequest} returns this
39115
+ */
39116
+ proto.game.CatalogCursorRequest.prototype.setLimit = function(value) {
39117
+ return jspb.Message.setField(this, 2, value);
39118
+ };
39119
+
39120
+
39121
+ /**
39122
+ * Clears the field making it undefined.
39123
+ * @return {!proto.game.CatalogCursorRequest} returns this
39124
+ */
39125
+ proto.game.CatalogCursorRequest.prototype.clearLimit = function() {
39126
+ return jspb.Message.setField(this, 2, undefined);
39127
+ };
39128
+
39129
+
39130
+ /**
39131
+ * Returns whether this field is set.
39132
+ * @return {boolean}
39133
+ */
39134
+ proto.game.CatalogCursorRequest.prototype.hasLimit = function() {
39135
+ return jspb.Message.getField(this, 2) != null;
39136
+ };
39137
+
39138
+
39139
+
39140
+
39141
+
39142
+ if (jspb.Message.GENERATE_TO_OBJECT) {
39143
+ /**
39144
+ * Creates an object representation of this proto.
39145
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
39146
+ * Optional fields that are not set will be set to undefined.
39147
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
39148
+ * For the list of reserved names please see:
39149
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
39150
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
39151
+ * JSPB instance for transitional soy proto support:
39152
+ * http://goto/soy-param-migration
39153
+ * @return {!Object}
39154
+ */
39155
+ proto.game.ProviderCatalogBatchItem.prototype.toObject = function(opt_includeInstance) {
39156
+ return proto.game.ProviderCatalogBatchItem.toObject(opt_includeInstance, this);
39157
+ };
39158
+
39159
+
39160
+ /**
39161
+ * Static version of the {@see toObject} method.
39162
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39163
+ * the JSPB instance for transitional soy proto support:
39164
+ * http://goto/soy-param-migration
39165
+ * @param {!proto.game.ProviderCatalogBatchItem} msg The msg instance to transform.
39166
+ * @return {!Object}
39167
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39168
+ */
39169
+ proto.game.ProviderCatalogBatchItem.toObject = function(includeInstance, msg) {
39170
+ var f, obj = {
39171
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
39172
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
39173
+ slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
39174
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
39175
+ isDeactivated: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
39176
+ };
39177
+
39178
+ if (includeInstance) {
39179
+ obj.$jspbMessageInstance = msg;
39180
+ }
39181
+ return obj;
39182
+ };
39183
+ }
39184
+
39185
+
39186
+ /**
39187
+ * Deserializes binary data (in protobuf wire format).
39188
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
39189
+ * @return {!proto.game.ProviderCatalogBatchItem}
39190
+ */
39191
+ proto.game.ProviderCatalogBatchItem.deserializeBinary = function(bytes) {
39192
+ var reader = new jspb.BinaryReader(bytes);
39193
+ var msg = new proto.game.ProviderCatalogBatchItem;
39194
+ return proto.game.ProviderCatalogBatchItem.deserializeBinaryFromReader(msg, reader);
39195
+ };
39196
+
39197
+
39198
+ /**
39199
+ * Deserializes binary data (in protobuf wire format) from the
39200
+ * given reader into the given message object.
39201
+ * @param {!proto.game.ProviderCatalogBatchItem} msg The message object to deserialize into.
39202
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39203
+ * @return {!proto.game.ProviderCatalogBatchItem}
39204
+ */
39205
+ proto.game.ProviderCatalogBatchItem.deserializeBinaryFromReader = function(msg, reader) {
39206
+ while (reader.nextField()) {
39207
+ if (reader.isEndGroup()) {
39208
+ break;
39209
+ }
39210
+ var field = reader.getFieldNumber();
39211
+ switch (field) {
39212
+ case 1:
39213
+ var value = /** @type {number} */ (reader.readInt32());
39214
+ msg.setId(value);
39215
+ break;
39216
+ case 2:
39217
+ var value = /** @type {string} */ (reader.readString());
39218
+ msg.setTitle(value);
39219
+ break;
39220
+ case 3:
39221
+ var value = /** @type {string} */ (reader.readString());
39222
+ msg.setSlug(value);
39223
+ break;
39224
+ case 4:
39225
+ var value = /** @type {boolean} */ (reader.readBool());
39226
+ msg.setIsActive(value);
39227
+ break;
39228
+ case 5:
39229
+ var value = /** @type {boolean} */ (reader.readBool());
39230
+ msg.setIsDeactivated(value);
39231
+ break;
39232
+ default:
39233
+ reader.skipField();
39234
+ break;
39235
+ }
39236
+ }
39237
+ return msg;
39238
+ };
39239
+
39240
+
39241
+ /**
39242
+ * Serializes the message to binary data (in protobuf wire format).
39243
+ * @return {!Uint8Array}
39244
+ */
39245
+ proto.game.ProviderCatalogBatchItem.prototype.serializeBinary = function() {
39246
+ var writer = new jspb.BinaryWriter();
39247
+ proto.game.ProviderCatalogBatchItem.serializeBinaryToWriter(this, writer);
39248
+ return writer.getResultBuffer();
39249
+ };
39250
+
39251
+
39252
+ /**
39253
+ * Serializes the given message to binary data (in protobuf wire
39254
+ * format), writing to the given BinaryWriter.
39255
+ * @param {!proto.game.ProviderCatalogBatchItem} message
39256
+ * @param {!jspb.BinaryWriter} writer
39257
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39258
+ */
39259
+ proto.game.ProviderCatalogBatchItem.serializeBinaryToWriter = function(message, writer) {
39260
+ var f = undefined;
39261
+ f = message.getId();
39262
+ if (f !== 0) {
39263
+ writer.writeInt32(
39264
+ 1,
39265
+ f
39266
+ );
39267
+ }
39268
+ f = message.getTitle();
39269
+ if (f.length > 0) {
39270
+ writer.writeString(
39271
+ 2,
39272
+ f
39273
+ );
39274
+ }
39275
+ f = message.getSlug();
39276
+ if (f.length > 0) {
39277
+ writer.writeString(
39278
+ 3,
39279
+ f
39280
+ );
39281
+ }
39282
+ f = message.getIsActive();
39283
+ if (f) {
39284
+ writer.writeBool(
39285
+ 4,
39286
+ f
39287
+ );
39288
+ }
39289
+ f = message.getIsDeactivated();
39290
+ if (f) {
39291
+ writer.writeBool(
39292
+ 5,
39293
+ f
39294
+ );
39295
+ }
39296
+ };
39297
+
39298
+
39299
+ /**
39300
+ * optional int32 id = 1;
39301
+ * @return {number}
39302
+ */
39303
+ proto.game.ProviderCatalogBatchItem.prototype.getId = function() {
39304
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
39305
+ };
39306
+
39307
+
39308
+ /**
39309
+ * @param {number} value
39310
+ * @return {!proto.game.ProviderCatalogBatchItem} returns this
39311
+ */
39312
+ proto.game.ProviderCatalogBatchItem.prototype.setId = function(value) {
39313
+ return jspb.Message.setProto3IntField(this, 1, value);
39314
+ };
39315
+
39316
+
39317
+ /**
39318
+ * optional string title = 2;
39319
+ * @return {string}
39320
+ */
39321
+ proto.game.ProviderCatalogBatchItem.prototype.getTitle = function() {
39322
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
39323
+ };
39324
+
39325
+
39326
+ /**
39327
+ * @param {string} value
39328
+ * @return {!proto.game.ProviderCatalogBatchItem} returns this
39329
+ */
39330
+ proto.game.ProviderCatalogBatchItem.prototype.setTitle = function(value) {
39331
+ return jspb.Message.setProto3StringField(this, 2, value);
39332
+ };
39333
+
39334
+
39335
+ /**
39336
+ * optional string slug = 3;
39337
+ * @return {string}
39338
+ */
39339
+ proto.game.ProviderCatalogBatchItem.prototype.getSlug = function() {
39340
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
39341
+ };
39342
+
39343
+
39344
+ /**
39345
+ * @param {string} value
39346
+ * @return {!proto.game.ProviderCatalogBatchItem} returns this
39347
+ */
39348
+ proto.game.ProviderCatalogBatchItem.prototype.setSlug = function(value) {
39349
+ return jspb.Message.setProto3StringField(this, 3, value);
39350
+ };
39351
+
39352
+
39353
+ /**
39354
+ * optional bool is_active = 4;
39355
+ * @return {boolean}
39356
+ */
39357
+ proto.game.ProviderCatalogBatchItem.prototype.getIsActive = function() {
39358
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
39359
+ };
39360
+
39361
+
39362
+ /**
39363
+ * @param {boolean} value
39364
+ * @return {!proto.game.ProviderCatalogBatchItem} returns this
39365
+ */
39366
+ proto.game.ProviderCatalogBatchItem.prototype.setIsActive = function(value) {
39367
+ return jspb.Message.setProto3BooleanField(this, 4, value);
39368
+ };
39369
+
39370
+
39371
+ /**
39372
+ * optional bool is_deactivated = 5;
39373
+ * @return {boolean}
39374
+ */
39375
+ proto.game.ProviderCatalogBatchItem.prototype.getIsDeactivated = function() {
39376
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
39377
+ };
39378
+
39379
+
39380
+ /**
39381
+ * @param {boolean} value
39382
+ * @return {!proto.game.ProviderCatalogBatchItem} returns this
39383
+ */
39384
+ proto.game.ProviderCatalogBatchItem.prototype.setIsDeactivated = function(value) {
39385
+ return jspb.Message.setProto3BooleanField(this, 5, value);
39386
+ };
39387
+
39388
+
39389
+
39390
+ /**
39391
+ * List of repeated fields within this message type.
39392
+ * @private {!Array<number>}
39393
+ * @const
39394
+ */
39395
+ proto.game.ProviderCatalogBatchResponse.repeatedFields_ = [1];
39396
+
39397
+
39398
+
39399
+ if (jspb.Message.GENERATE_TO_OBJECT) {
39400
+ /**
39401
+ * Creates an object representation of this proto.
39402
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
39403
+ * Optional fields that are not set will be set to undefined.
39404
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
39405
+ * For the list of reserved names please see:
39406
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
39407
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
39408
+ * JSPB instance for transitional soy proto support:
39409
+ * http://goto/soy-param-migration
39410
+ * @return {!Object}
39411
+ */
39412
+ proto.game.ProviderCatalogBatchResponse.prototype.toObject = function(opt_includeInstance) {
39413
+ return proto.game.ProviderCatalogBatchResponse.toObject(opt_includeInstance, this);
39414
+ };
39415
+
39416
+
39417
+ /**
39418
+ * Static version of the {@see toObject} method.
39419
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39420
+ * the JSPB instance for transitional soy proto support:
39421
+ * http://goto/soy-param-migration
39422
+ * @param {!proto.game.ProviderCatalogBatchResponse} msg The msg instance to transform.
39423
+ * @return {!Object}
39424
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39425
+ */
39426
+ proto.game.ProviderCatalogBatchResponse.toObject = function(includeInstance, msg) {
39427
+ var f, obj = {
39428
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
39429
+ proto.game.ProviderCatalogBatchItem.toObject, includeInstance),
39430
+ nextAfterId: jspb.Message.getFieldWithDefault(msg, 2, 0),
39431
+ hasMore: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
39432
+ };
39433
+
39434
+ if (includeInstance) {
39435
+ obj.$jspbMessageInstance = msg;
39436
+ }
39437
+ return obj;
39438
+ };
39439
+ }
39440
+
39441
+
39442
+ /**
39443
+ * Deserializes binary data (in protobuf wire format).
39444
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
39445
+ * @return {!proto.game.ProviderCatalogBatchResponse}
39446
+ */
39447
+ proto.game.ProviderCatalogBatchResponse.deserializeBinary = function(bytes) {
39448
+ var reader = new jspb.BinaryReader(bytes);
39449
+ var msg = new proto.game.ProviderCatalogBatchResponse;
39450
+ return proto.game.ProviderCatalogBatchResponse.deserializeBinaryFromReader(msg, reader);
39451
+ };
39452
+
39453
+
39454
+ /**
39455
+ * Deserializes binary data (in protobuf wire format) from the
39456
+ * given reader into the given message object.
39457
+ * @param {!proto.game.ProviderCatalogBatchResponse} msg The message object to deserialize into.
39458
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39459
+ * @return {!proto.game.ProviderCatalogBatchResponse}
39460
+ */
39461
+ proto.game.ProviderCatalogBatchResponse.deserializeBinaryFromReader = function(msg, reader) {
39462
+ while (reader.nextField()) {
39463
+ if (reader.isEndGroup()) {
39464
+ break;
39465
+ }
39466
+ var field = reader.getFieldNumber();
39467
+ switch (field) {
39468
+ case 1:
39469
+ var value = new proto.game.ProviderCatalogBatchItem;
39470
+ reader.readMessage(value,proto.game.ProviderCatalogBatchItem.deserializeBinaryFromReader);
39471
+ msg.addItems(value);
39472
+ break;
39473
+ case 2:
39474
+ var value = /** @type {number} */ (reader.readInt32());
39475
+ msg.setNextAfterId(value);
39476
+ break;
39477
+ case 3:
39478
+ var value = /** @type {boolean} */ (reader.readBool());
39479
+ msg.setHasMore(value);
39480
+ break;
39481
+ default:
39482
+ reader.skipField();
39483
+ break;
39484
+ }
39485
+ }
39486
+ return msg;
39487
+ };
39488
+
39489
+
39490
+ /**
39491
+ * Serializes the message to binary data (in protobuf wire format).
39492
+ * @return {!Uint8Array}
39493
+ */
39494
+ proto.game.ProviderCatalogBatchResponse.prototype.serializeBinary = function() {
39495
+ var writer = new jspb.BinaryWriter();
39496
+ proto.game.ProviderCatalogBatchResponse.serializeBinaryToWriter(this, writer);
39497
+ return writer.getResultBuffer();
39498
+ };
39499
+
39500
+
39501
+ /**
39502
+ * Serializes the given message to binary data (in protobuf wire
39503
+ * format), writing to the given BinaryWriter.
39504
+ * @param {!proto.game.ProviderCatalogBatchResponse} message
39505
+ * @param {!jspb.BinaryWriter} writer
39506
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39507
+ */
39508
+ proto.game.ProviderCatalogBatchResponse.serializeBinaryToWriter = function(message, writer) {
39509
+ var f = undefined;
39510
+ f = message.getItemsList();
39511
+ if (f.length > 0) {
39512
+ writer.writeRepeatedMessage(
39513
+ 1,
39514
+ f,
39515
+ proto.game.ProviderCatalogBatchItem.serializeBinaryToWriter
39516
+ );
39517
+ }
39518
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
39519
+ if (f != null) {
39520
+ writer.writeInt32(
39521
+ 2,
39522
+ f
39523
+ );
39524
+ }
39525
+ f = message.getHasMore();
39526
+ if (f) {
39527
+ writer.writeBool(
39528
+ 3,
39529
+ f
39530
+ );
39531
+ }
39532
+ };
39533
+
39534
+
39535
+ /**
39536
+ * repeated ProviderCatalogBatchItem items = 1;
39537
+ * @return {!Array<!proto.game.ProviderCatalogBatchItem>}
39538
+ */
39539
+ proto.game.ProviderCatalogBatchResponse.prototype.getItemsList = function() {
39540
+ return /** @type{!Array<!proto.game.ProviderCatalogBatchItem>} */ (
39541
+ jspb.Message.getRepeatedWrapperField(this, proto.game.ProviderCatalogBatchItem, 1));
39542
+ };
39543
+
39544
+
39545
+ /**
39546
+ * @param {!Array<!proto.game.ProviderCatalogBatchItem>} value
39547
+ * @return {!proto.game.ProviderCatalogBatchResponse} returns this
39548
+ */
39549
+ proto.game.ProviderCatalogBatchResponse.prototype.setItemsList = function(value) {
39550
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
39551
+ };
39552
+
39553
+
39554
+ /**
39555
+ * @param {!proto.game.ProviderCatalogBatchItem=} opt_value
39556
+ * @param {number=} opt_index
39557
+ * @return {!proto.game.ProviderCatalogBatchItem}
39558
+ */
39559
+ proto.game.ProviderCatalogBatchResponse.prototype.addItems = function(opt_value, opt_index) {
39560
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.ProviderCatalogBatchItem, opt_index);
39561
+ };
39562
+
39563
+
39564
+ /**
39565
+ * Clears the list making it empty but non-null.
39566
+ * @return {!proto.game.ProviderCatalogBatchResponse} returns this
39567
+ */
39568
+ proto.game.ProviderCatalogBatchResponse.prototype.clearItemsList = function() {
39569
+ return this.setItemsList([]);
39570
+ };
39571
+
39572
+
39573
+ /**
39574
+ * optional int32 next_after_id = 2;
39575
+ * @return {number}
39576
+ */
39577
+ proto.game.ProviderCatalogBatchResponse.prototype.getNextAfterId = function() {
39578
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
39579
+ };
39580
+
39581
+
39582
+ /**
39583
+ * @param {number} value
39584
+ * @return {!proto.game.ProviderCatalogBatchResponse} returns this
39585
+ */
39586
+ proto.game.ProviderCatalogBatchResponse.prototype.setNextAfterId = function(value) {
39587
+ return jspb.Message.setField(this, 2, value);
39588
+ };
39589
+
39590
+
39591
+ /**
39592
+ * Clears the field making it undefined.
39593
+ * @return {!proto.game.ProviderCatalogBatchResponse} returns this
39594
+ */
39595
+ proto.game.ProviderCatalogBatchResponse.prototype.clearNextAfterId = function() {
39596
+ return jspb.Message.setField(this, 2, undefined);
39597
+ };
39598
+
39599
+
39600
+ /**
39601
+ * Returns whether this field is set.
39602
+ * @return {boolean}
39603
+ */
39604
+ proto.game.ProviderCatalogBatchResponse.prototype.hasNextAfterId = function() {
39605
+ return jspb.Message.getField(this, 2) != null;
39606
+ };
39607
+
39608
+
39609
+ /**
39610
+ * optional bool has_more = 3;
39611
+ * @return {boolean}
39612
+ */
39613
+ proto.game.ProviderCatalogBatchResponse.prototype.getHasMore = function() {
39614
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
39615
+ };
39616
+
39617
+
39618
+ /**
39619
+ * @param {boolean} value
39620
+ * @return {!proto.game.ProviderCatalogBatchResponse} returns this
39621
+ */
39622
+ proto.game.ProviderCatalogBatchResponse.prototype.setHasMore = function(value) {
39623
+ return jspb.Message.setProto3BooleanField(this, 3, value);
39624
+ };
39625
+
39626
+
39627
+
39628
+
39629
+
39630
+ if (jspb.Message.GENERATE_TO_OBJECT) {
39631
+ /**
39632
+ * Creates an object representation of this proto.
39633
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
39634
+ * Optional fields that are not set will be set to undefined.
39635
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
39636
+ * For the list of reserved names please see:
39637
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
39638
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
39639
+ * JSPB instance for transitional soy proto support:
39640
+ * http://goto/soy-param-migration
39641
+ * @return {!Object}
39642
+ */
39643
+ proto.game.GameCatalogBatchItem.prototype.toObject = function(opt_includeInstance) {
39644
+ return proto.game.GameCatalogBatchItem.toObject(opt_includeInstance, this);
39645
+ };
39646
+
39647
+
39648
+ /**
39649
+ * Static version of the {@see toObject} method.
39650
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39651
+ * the JSPB instance for transitional soy proto support:
39652
+ * http://goto/soy-param-migration
39653
+ * @param {!proto.game.GameCatalogBatchItem} msg The msg instance to transform.
39654
+ * @return {!Object}
39655
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39656
+ */
39657
+ proto.game.GameCatalogBatchItem.toObject = function(includeInstance, msg) {
39658
+ var f, obj = {
39659
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
39660
+ uuid: jspb.Message.getFieldWithDefault(msg, 2, ""),
39661
+ providerId: jspb.Message.getFieldWithDefault(msg, 3, 0),
39662
+ title: jspb.Message.getFieldWithDefault(msg, 4, ""),
39663
+ slug: jspb.Message.getFieldWithDefault(msg, 5, ""),
39664
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
39665
+ isDeactivated: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
39666
+ isHidden: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
39667
+ type: jspb.Message.getFieldWithDefault(msg, 9, ""),
39668
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
39669
+ hasDemo: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
39670
+ hasFreespins: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
39671
+ };
39672
+
39673
+ if (includeInstance) {
39674
+ obj.$jspbMessageInstance = msg;
39675
+ }
39676
+ return obj;
39677
+ };
39678
+ }
39679
+
39680
+
39681
+ /**
39682
+ * Deserializes binary data (in protobuf wire format).
39683
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
39684
+ * @return {!proto.game.GameCatalogBatchItem}
39685
+ */
39686
+ proto.game.GameCatalogBatchItem.deserializeBinary = function(bytes) {
39687
+ var reader = new jspb.BinaryReader(bytes);
39688
+ var msg = new proto.game.GameCatalogBatchItem;
39689
+ return proto.game.GameCatalogBatchItem.deserializeBinaryFromReader(msg, reader);
39690
+ };
39691
+
39692
+
39693
+ /**
39694
+ * Deserializes binary data (in protobuf wire format) from the
39695
+ * given reader into the given message object.
39696
+ * @param {!proto.game.GameCatalogBatchItem} msg The message object to deserialize into.
39697
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39698
+ * @return {!proto.game.GameCatalogBatchItem}
39699
+ */
39700
+ proto.game.GameCatalogBatchItem.deserializeBinaryFromReader = function(msg, reader) {
39701
+ while (reader.nextField()) {
39702
+ if (reader.isEndGroup()) {
39703
+ break;
39704
+ }
39705
+ var field = reader.getFieldNumber();
39706
+ switch (field) {
39707
+ case 1:
39708
+ var value = /** @type {number} */ (reader.readInt32());
39709
+ msg.setId(value);
39710
+ break;
39711
+ case 2:
39712
+ var value = /** @type {string} */ (reader.readString());
39713
+ msg.setUuid(value);
39714
+ break;
39715
+ case 3:
39716
+ var value = /** @type {number} */ (reader.readInt32());
39717
+ msg.setProviderId(value);
39718
+ break;
39719
+ case 4:
39720
+ var value = /** @type {string} */ (reader.readString());
39721
+ msg.setTitle(value);
39722
+ break;
39723
+ case 5:
39724
+ var value = /** @type {string} */ (reader.readString());
39725
+ msg.setSlug(value);
39726
+ break;
39727
+ case 6:
39728
+ var value = /** @type {boolean} */ (reader.readBool());
39729
+ msg.setIsActive(value);
39730
+ break;
39731
+ case 7:
39732
+ var value = /** @type {boolean} */ (reader.readBool());
39733
+ msg.setIsDeactivated(value);
39734
+ break;
39735
+ case 8:
39736
+ var value = /** @type {boolean} */ (reader.readBool());
39737
+ msg.setIsHidden(value);
39738
+ break;
39739
+ case 9:
39740
+ var value = /** @type {string} */ (reader.readString());
39741
+ msg.setType(value);
39742
+ break;
39743
+ case 10:
39744
+ var value = /** @type {boolean} */ (reader.readBool());
39745
+ msg.setIsMobile(value);
39746
+ break;
39747
+ case 11:
39748
+ var value = /** @type {boolean} */ (reader.readBool());
39749
+ msg.setHasDemo(value);
39750
+ break;
39751
+ case 12:
39752
+ var value = /** @type {boolean} */ (reader.readBool());
39753
+ msg.setHasFreespins(value);
39754
+ break;
39755
+ default:
39756
+ reader.skipField();
39757
+ break;
39758
+ }
39759
+ }
39760
+ return msg;
39761
+ };
39762
+
39763
+
39764
+ /**
39765
+ * Serializes the message to binary data (in protobuf wire format).
39766
+ * @return {!Uint8Array}
39767
+ */
39768
+ proto.game.GameCatalogBatchItem.prototype.serializeBinary = function() {
39769
+ var writer = new jspb.BinaryWriter();
39770
+ proto.game.GameCatalogBatchItem.serializeBinaryToWriter(this, writer);
39771
+ return writer.getResultBuffer();
39772
+ };
39773
+
39774
+
39775
+ /**
39776
+ * Serializes the given message to binary data (in protobuf wire
39777
+ * format), writing to the given BinaryWriter.
39778
+ * @param {!proto.game.GameCatalogBatchItem} message
39779
+ * @param {!jspb.BinaryWriter} writer
39780
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39781
+ */
39782
+ proto.game.GameCatalogBatchItem.serializeBinaryToWriter = function(message, writer) {
39783
+ var f = undefined;
39784
+ f = message.getId();
39785
+ if (f !== 0) {
39786
+ writer.writeInt32(
39787
+ 1,
39788
+ f
39789
+ );
39790
+ }
39791
+ f = message.getUuid();
39792
+ if (f.length > 0) {
39793
+ writer.writeString(
39794
+ 2,
39795
+ f
39796
+ );
39797
+ }
39798
+ f = message.getProviderId();
39799
+ if (f !== 0) {
39800
+ writer.writeInt32(
39801
+ 3,
39802
+ f
39803
+ );
39804
+ }
39805
+ f = message.getTitle();
39806
+ if (f.length > 0) {
39807
+ writer.writeString(
39808
+ 4,
39809
+ f
39810
+ );
39811
+ }
39812
+ f = message.getSlug();
39813
+ if (f.length > 0) {
39814
+ writer.writeString(
39815
+ 5,
39816
+ f
39817
+ );
39818
+ }
39819
+ f = message.getIsActive();
39820
+ if (f) {
39821
+ writer.writeBool(
39822
+ 6,
39823
+ f
39824
+ );
39825
+ }
39826
+ f = message.getIsDeactivated();
39827
+ if (f) {
39828
+ writer.writeBool(
39829
+ 7,
39830
+ f
39831
+ );
39832
+ }
39833
+ f = message.getIsHidden();
39834
+ if (f) {
39835
+ writer.writeBool(
39836
+ 8,
39837
+ f
39838
+ );
39839
+ }
39840
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
39841
+ if (f != null) {
39842
+ writer.writeString(
39843
+ 9,
39844
+ f
39845
+ );
39846
+ }
39847
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
39848
+ if (f != null) {
39849
+ writer.writeBool(
39850
+ 10,
39851
+ f
39852
+ );
39853
+ }
39854
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
39855
+ if (f != null) {
39856
+ writer.writeBool(
39857
+ 11,
39858
+ f
39859
+ );
39860
+ }
39861
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 12));
39862
+ if (f != null) {
39863
+ writer.writeBool(
39864
+ 12,
39865
+ f
39866
+ );
39867
+ }
39868
+ };
39869
+
39870
+
39871
+ /**
39872
+ * optional int32 id = 1;
39873
+ * @return {number}
39874
+ */
39875
+ proto.game.GameCatalogBatchItem.prototype.getId = function() {
39876
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
39877
+ };
39878
+
39879
+
39880
+ /**
39881
+ * @param {number} value
39882
+ * @return {!proto.game.GameCatalogBatchItem} returns this
39883
+ */
39884
+ proto.game.GameCatalogBatchItem.prototype.setId = function(value) {
39885
+ return jspb.Message.setProto3IntField(this, 1, value);
39886
+ };
39887
+
39888
+
39889
+ /**
39890
+ * optional string uuid = 2;
39891
+ * @return {string}
39892
+ */
39893
+ proto.game.GameCatalogBatchItem.prototype.getUuid = function() {
39894
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
39895
+ };
39896
+
39897
+
39898
+ /**
39899
+ * @param {string} value
39900
+ * @return {!proto.game.GameCatalogBatchItem} returns this
39901
+ */
39902
+ proto.game.GameCatalogBatchItem.prototype.setUuid = function(value) {
39903
+ return jspb.Message.setProto3StringField(this, 2, value);
39904
+ };
39905
+
39906
+
39907
+ /**
39908
+ * optional int32 provider_id = 3;
39909
+ * @return {number}
39910
+ */
39911
+ proto.game.GameCatalogBatchItem.prototype.getProviderId = function() {
39912
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
39913
+ };
39914
+
39915
+
39916
+ /**
39917
+ * @param {number} value
39918
+ * @return {!proto.game.GameCatalogBatchItem} returns this
39919
+ */
39920
+ proto.game.GameCatalogBatchItem.prototype.setProviderId = function(value) {
39921
+ return jspb.Message.setProto3IntField(this, 3, value);
39922
+ };
39923
+
39924
+
39925
+ /**
39926
+ * optional string title = 4;
39927
+ * @return {string}
39928
+ */
39929
+ proto.game.GameCatalogBatchItem.prototype.getTitle = function() {
39930
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
39931
+ };
39932
+
39933
+
39934
+ /**
39935
+ * @param {string} value
39936
+ * @return {!proto.game.GameCatalogBatchItem} returns this
39937
+ */
39938
+ proto.game.GameCatalogBatchItem.prototype.setTitle = function(value) {
39939
+ return jspb.Message.setProto3StringField(this, 4, value);
39940
+ };
39941
+
39942
+
39943
+ /**
39944
+ * optional string slug = 5;
39945
+ * @return {string}
39946
+ */
39947
+ proto.game.GameCatalogBatchItem.prototype.getSlug = function() {
39948
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
39949
+ };
39950
+
39951
+
39952
+ /**
39953
+ * @param {string} value
39954
+ * @return {!proto.game.GameCatalogBatchItem} returns this
39955
+ */
39956
+ proto.game.GameCatalogBatchItem.prototype.setSlug = function(value) {
39957
+ return jspb.Message.setProto3StringField(this, 5, value);
39958
+ };
39959
+
39960
+
39961
+ /**
39962
+ * optional bool is_active = 6;
39963
+ * @return {boolean}
39964
+ */
39965
+ proto.game.GameCatalogBatchItem.prototype.getIsActive = function() {
39966
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
39967
+ };
39968
+
39969
+
39970
+ /**
39971
+ * @param {boolean} value
39972
+ * @return {!proto.game.GameCatalogBatchItem} returns this
39973
+ */
39974
+ proto.game.GameCatalogBatchItem.prototype.setIsActive = function(value) {
39975
+ return jspb.Message.setProto3BooleanField(this, 6, value);
39976
+ };
39977
+
39978
+
39979
+ /**
39980
+ * optional bool is_deactivated = 7;
39981
+ * @return {boolean}
39982
+ */
39983
+ proto.game.GameCatalogBatchItem.prototype.getIsDeactivated = function() {
39984
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
39985
+ };
39986
+
39987
+
39988
+ /**
39989
+ * @param {boolean} value
39990
+ * @return {!proto.game.GameCatalogBatchItem} returns this
39991
+ */
39992
+ proto.game.GameCatalogBatchItem.prototype.setIsDeactivated = function(value) {
39993
+ return jspb.Message.setProto3BooleanField(this, 7, value);
39994
+ };
39995
+
39996
+
39997
+ /**
39998
+ * optional bool is_hidden = 8;
39999
+ * @return {boolean}
40000
+ */
40001
+ proto.game.GameCatalogBatchItem.prototype.getIsHidden = function() {
40002
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
40003
+ };
40004
+
40005
+
40006
+ /**
40007
+ * @param {boolean} value
40008
+ * @return {!proto.game.GameCatalogBatchItem} returns this
40009
+ */
40010
+ proto.game.GameCatalogBatchItem.prototype.setIsHidden = function(value) {
40011
+ return jspb.Message.setProto3BooleanField(this, 8, value);
40012
+ };
40013
+
40014
+
40015
+ /**
40016
+ * optional string type = 9;
40017
+ * @return {string}
40018
+ */
40019
+ proto.game.GameCatalogBatchItem.prototype.getType = function() {
40020
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
40021
+ };
40022
+
40023
+
40024
+ /**
40025
+ * @param {string} value
40026
+ * @return {!proto.game.GameCatalogBatchItem} returns this
40027
+ */
40028
+ proto.game.GameCatalogBatchItem.prototype.setType = function(value) {
40029
+ return jspb.Message.setField(this, 9, value);
40030
+ };
40031
+
40032
+
40033
+ /**
40034
+ * Clears the field making it undefined.
40035
+ * @return {!proto.game.GameCatalogBatchItem} returns this
40036
+ */
40037
+ proto.game.GameCatalogBatchItem.prototype.clearType = function() {
40038
+ return jspb.Message.setField(this, 9, undefined);
40039
+ };
40040
+
40041
+
40042
+ /**
40043
+ * Returns whether this field is set.
40044
+ * @return {boolean}
40045
+ */
40046
+ proto.game.GameCatalogBatchItem.prototype.hasType = function() {
40047
+ return jspb.Message.getField(this, 9) != null;
40048
+ };
40049
+
40050
+
40051
+ /**
40052
+ * optional bool is_mobile = 10;
40053
+ * @return {boolean}
40054
+ */
40055
+ proto.game.GameCatalogBatchItem.prototype.getIsMobile = function() {
40056
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
40057
+ };
40058
+
40059
+
40060
+ /**
40061
+ * @param {boolean} value
40062
+ * @return {!proto.game.GameCatalogBatchItem} returns this
40063
+ */
40064
+ proto.game.GameCatalogBatchItem.prototype.setIsMobile = function(value) {
40065
+ return jspb.Message.setField(this, 10, value);
40066
+ };
40067
+
40068
+
40069
+ /**
40070
+ * Clears the field making it undefined.
40071
+ * @return {!proto.game.GameCatalogBatchItem} returns this
40072
+ */
40073
+ proto.game.GameCatalogBatchItem.prototype.clearIsMobile = function() {
40074
+ return jspb.Message.setField(this, 10, undefined);
40075
+ };
40076
+
40077
+
40078
+ /**
40079
+ * Returns whether this field is set.
40080
+ * @return {boolean}
40081
+ */
40082
+ proto.game.GameCatalogBatchItem.prototype.hasIsMobile = function() {
40083
+ return jspb.Message.getField(this, 10) != null;
40084
+ };
40085
+
40086
+
40087
+ /**
40088
+ * optional bool has_demo = 11;
40089
+ * @return {boolean}
40090
+ */
40091
+ proto.game.GameCatalogBatchItem.prototype.getHasDemo = function() {
40092
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
40093
+ };
40094
+
40095
+
40096
+ /**
40097
+ * @param {boolean} value
40098
+ * @return {!proto.game.GameCatalogBatchItem} returns this
40099
+ */
40100
+ proto.game.GameCatalogBatchItem.prototype.setHasDemo = function(value) {
40101
+ return jspb.Message.setField(this, 11, value);
40102
+ };
40103
+
40104
+
40105
+ /**
40106
+ * Clears the field making it undefined.
40107
+ * @return {!proto.game.GameCatalogBatchItem} returns this
40108
+ */
40109
+ proto.game.GameCatalogBatchItem.prototype.clearHasDemo = function() {
40110
+ return jspb.Message.setField(this, 11, undefined);
40111
+ };
40112
+
40113
+
40114
+ /**
40115
+ * Returns whether this field is set.
40116
+ * @return {boolean}
40117
+ */
40118
+ proto.game.GameCatalogBatchItem.prototype.hasHasDemo = function() {
40119
+ return jspb.Message.getField(this, 11) != null;
40120
+ };
40121
+
40122
+
40123
+ /**
40124
+ * optional bool has_freespins = 12;
40125
+ * @return {boolean}
40126
+ */
40127
+ proto.game.GameCatalogBatchItem.prototype.getHasFreespins = function() {
40128
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
40129
+ };
40130
+
40131
+
40132
+ /**
40133
+ * @param {boolean} value
40134
+ * @return {!proto.game.GameCatalogBatchItem} returns this
40135
+ */
40136
+ proto.game.GameCatalogBatchItem.prototype.setHasFreespins = function(value) {
40137
+ return jspb.Message.setField(this, 12, value);
40138
+ };
40139
+
40140
+
40141
+ /**
40142
+ * Clears the field making it undefined.
40143
+ * @return {!proto.game.GameCatalogBatchItem} returns this
40144
+ */
40145
+ proto.game.GameCatalogBatchItem.prototype.clearHasFreespins = function() {
40146
+ return jspb.Message.setField(this, 12, undefined);
40147
+ };
40148
+
40149
+
40150
+ /**
40151
+ * Returns whether this field is set.
40152
+ * @return {boolean}
40153
+ */
40154
+ proto.game.GameCatalogBatchItem.prototype.hasHasFreespins = function() {
40155
+ return jspb.Message.getField(this, 12) != null;
40156
+ };
40157
+
40158
+
40159
+
40160
+ /**
40161
+ * List of repeated fields within this message type.
40162
+ * @private {!Array<number>}
40163
+ * @const
40164
+ */
40165
+ proto.game.GameCatalogBatchResponse.repeatedFields_ = [1];
40166
+
40167
+
40168
+
40169
+ if (jspb.Message.GENERATE_TO_OBJECT) {
40170
+ /**
40171
+ * Creates an object representation of this proto.
40172
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
40173
+ * Optional fields that are not set will be set to undefined.
40174
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
40175
+ * For the list of reserved names please see:
40176
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
40177
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
40178
+ * JSPB instance for transitional soy proto support:
40179
+ * http://goto/soy-param-migration
40180
+ * @return {!Object}
40181
+ */
40182
+ proto.game.GameCatalogBatchResponse.prototype.toObject = function(opt_includeInstance) {
40183
+ return proto.game.GameCatalogBatchResponse.toObject(opt_includeInstance, this);
40184
+ };
40185
+
40186
+
40187
+ /**
40188
+ * Static version of the {@see toObject} method.
40189
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
40190
+ * the JSPB instance for transitional soy proto support:
40191
+ * http://goto/soy-param-migration
40192
+ * @param {!proto.game.GameCatalogBatchResponse} msg The msg instance to transform.
40193
+ * @return {!Object}
40194
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40195
+ */
40196
+ proto.game.GameCatalogBatchResponse.toObject = function(includeInstance, msg) {
40197
+ var f, obj = {
40198
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
40199
+ proto.game.GameCatalogBatchItem.toObject, includeInstance),
40200
+ nextAfterId: jspb.Message.getFieldWithDefault(msg, 2, 0),
40201
+ hasMore: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
40202
+ };
40203
+
40204
+ if (includeInstance) {
40205
+ obj.$jspbMessageInstance = msg;
40206
+ }
40207
+ return obj;
40208
+ };
40209
+ }
40210
+
40211
+
40212
+ /**
40213
+ * Deserializes binary data (in protobuf wire format).
40214
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
40215
+ * @return {!proto.game.GameCatalogBatchResponse}
40216
+ */
40217
+ proto.game.GameCatalogBatchResponse.deserializeBinary = function(bytes) {
40218
+ var reader = new jspb.BinaryReader(bytes);
40219
+ var msg = new proto.game.GameCatalogBatchResponse;
40220
+ return proto.game.GameCatalogBatchResponse.deserializeBinaryFromReader(msg, reader);
40221
+ };
40222
+
40223
+
40224
+ /**
40225
+ * Deserializes binary data (in protobuf wire format) from the
40226
+ * given reader into the given message object.
40227
+ * @param {!proto.game.GameCatalogBatchResponse} msg The message object to deserialize into.
40228
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
40229
+ * @return {!proto.game.GameCatalogBatchResponse}
40230
+ */
40231
+ proto.game.GameCatalogBatchResponse.deserializeBinaryFromReader = function(msg, reader) {
40232
+ while (reader.nextField()) {
40233
+ if (reader.isEndGroup()) {
40234
+ break;
40235
+ }
40236
+ var field = reader.getFieldNumber();
40237
+ switch (field) {
40238
+ case 1:
40239
+ var value = new proto.game.GameCatalogBatchItem;
40240
+ reader.readMessage(value,proto.game.GameCatalogBatchItem.deserializeBinaryFromReader);
40241
+ msg.addItems(value);
40242
+ break;
40243
+ case 2:
40244
+ var value = /** @type {number} */ (reader.readInt32());
40245
+ msg.setNextAfterId(value);
40246
+ break;
40247
+ case 3:
40248
+ var value = /** @type {boolean} */ (reader.readBool());
40249
+ msg.setHasMore(value);
40250
+ break;
40251
+ default:
40252
+ reader.skipField();
40253
+ break;
40254
+ }
40255
+ }
40256
+ return msg;
40257
+ };
40258
+
40259
+
40260
+ /**
40261
+ * Serializes the message to binary data (in protobuf wire format).
40262
+ * @return {!Uint8Array}
40263
+ */
40264
+ proto.game.GameCatalogBatchResponse.prototype.serializeBinary = function() {
40265
+ var writer = new jspb.BinaryWriter();
40266
+ proto.game.GameCatalogBatchResponse.serializeBinaryToWriter(this, writer);
40267
+ return writer.getResultBuffer();
40268
+ };
40269
+
40270
+
40271
+ /**
40272
+ * Serializes the given message to binary data (in protobuf wire
40273
+ * format), writing to the given BinaryWriter.
40274
+ * @param {!proto.game.GameCatalogBatchResponse} message
40275
+ * @param {!jspb.BinaryWriter} writer
40276
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40277
+ */
40278
+ proto.game.GameCatalogBatchResponse.serializeBinaryToWriter = function(message, writer) {
40279
+ var f = undefined;
40280
+ f = message.getItemsList();
40281
+ if (f.length > 0) {
40282
+ writer.writeRepeatedMessage(
40283
+ 1,
40284
+ f,
40285
+ proto.game.GameCatalogBatchItem.serializeBinaryToWriter
40286
+ );
40287
+ }
40288
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
40289
+ if (f != null) {
40290
+ writer.writeInt32(
40291
+ 2,
40292
+ f
40293
+ );
40294
+ }
40295
+ f = message.getHasMore();
40296
+ if (f) {
40297
+ writer.writeBool(
40298
+ 3,
40299
+ f
40300
+ );
40301
+ }
40302
+ };
40303
+
40304
+
40305
+ /**
40306
+ * repeated GameCatalogBatchItem items = 1;
40307
+ * @return {!Array<!proto.game.GameCatalogBatchItem>}
40308
+ */
40309
+ proto.game.GameCatalogBatchResponse.prototype.getItemsList = function() {
40310
+ return /** @type{!Array<!proto.game.GameCatalogBatchItem>} */ (
40311
+ jspb.Message.getRepeatedWrapperField(this, proto.game.GameCatalogBatchItem, 1));
40312
+ };
40313
+
40314
+
40315
+ /**
40316
+ * @param {!Array<!proto.game.GameCatalogBatchItem>} value
40317
+ * @return {!proto.game.GameCatalogBatchResponse} returns this
40318
+ */
40319
+ proto.game.GameCatalogBatchResponse.prototype.setItemsList = function(value) {
40320
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
40321
+ };
40322
+
40323
+
40324
+ /**
40325
+ * @param {!proto.game.GameCatalogBatchItem=} opt_value
40326
+ * @param {number=} opt_index
40327
+ * @return {!proto.game.GameCatalogBatchItem}
40328
+ */
40329
+ proto.game.GameCatalogBatchResponse.prototype.addItems = function(opt_value, opt_index) {
40330
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.GameCatalogBatchItem, opt_index);
40331
+ };
40332
+
40333
+
40334
+ /**
40335
+ * Clears the list making it empty but non-null.
40336
+ * @return {!proto.game.GameCatalogBatchResponse} returns this
40337
+ */
40338
+ proto.game.GameCatalogBatchResponse.prototype.clearItemsList = function() {
40339
+ return this.setItemsList([]);
40340
+ };
40341
+
40342
+
40343
+ /**
40344
+ * optional int32 next_after_id = 2;
40345
+ * @return {number}
40346
+ */
40347
+ proto.game.GameCatalogBatchResponse.prototype.getNextAfterId = function() {
40348
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
40349
+ };
40350
+
40351
+
40352
+ /**
40353
+ * @param {number} value
40354
+ * @return {!proto.game.GameCatalogBatchResponse} returns this
40355
+ */
40356
+ proto.game.GameCatalogBatchResponse.prototype.setNextAfterId = function(value) {
40357
+ return jspb.Message.setField(this, 2, value);
40358
+ };
40359
+
40360
+
40361
+ /**
40362
+ * Clears the field making it undefined.
40363
+ * @return {!proto.game.GameCatalogBatchResponse} returns this
40364
+ */
40365
+ proto.game.GameCatalogBatchResponse.prototype.clearNextAfterId = function() {
40366
+ return jspb.Message.setField(this, 2, undefined);
40367
+ };
40368
+
40369
+
40370
+ /**
40371
+ * Returns whether this field is set.
40372
+ * @return {boolean}
40373
+ */
40374
+ proto.game.GameCatalogBatchResponse.prototype.hasNextAfterId = function() {
40375
+ return jspb.Message.getField(this, 2) != null;
40376
+ };
40377
+
40378
+
40379
+ /**
40380
+ * optional bool has_more = 3;
40381
+ * @return {boolean}
40382
+ */
40383
+ proto.game.GameCatalogBatchResponse.prototype.getHasMore = function() {
40384
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
40385
+ };
40386
+
40387
+
40388
+ /**
40389
+ * @param {boolean} value
40390
+ * @return {!proto.game.GameCatalogBatchResponse} returns this
40391
+ */
40392
+ proto.game.GameCatalogBatchResponse.prototype.setHasMore = function(value) {
40393
+ return jspb.Message.setProto3BooleanField(this, 3, value);
40394
+ };
40395
+
40396
+
40397
+
40398
+
40399
+
38836
40400
  if (jspb.Message.GENERATE_TO_OBJECT) {
38837
40401
  /**
38838
40402
  * Creates an object representation of this proto.