protobuf-platform 1.2.628 → 1.2.630

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
@@ -118,6 +118,7 @@ goog.exportSymbol('proto.game.GetFileRequest', null, global);
118
118
  goog.exportSymbol('proto.game.GetGameConfigCheckRequest', null, global);
119
119
  goog.exportSymbol('proto.game.GetGameRequest', null, global);
120
120
  goog.exportSymbol('proto.game.GetGameSnapshotsByIdsRequest', null, global);
121
+ goog.exportSymbol('proto.game.GetMultiScopeRequest', null, global);
121
122
  goog.exportSymbol('proto.game.GetProviderRequest', null, global);
122
123
  goog.exportSymbol('proto.game.GetTagRequest', null, global);
123
124
  goog.exportSymbol('proto.game.GetTagSnapshotsByIdsRequest', null, global);
@@ -134,6 +135,16 @@ goog.exportSymbol('proto.game.ItemsBunchRequest', null, global);
134
135
  goog.exportSymbol('proto.game.MerchantFreeSpinLimitItem', null, global);
135
136
  goog.exportSymbol('proto.game.MerchantFreeSpinLimitsRequest', null, global);
136
137
  goog.exportSymbol('proto.game.MerchantFreeSpinLimitsResponse', null, global);
138
+ goog.exportSymbol('proto.game.MultiScopeItem', null, global);
139
+ goog.exportSymbol('proto.game.MultiScopeItemRequest', null, global);
140
+ goog.exportSymbol('proto.game.MultiScopeItemsResponse', null, global);
141
+ goog.exportSymbol('proto.game.MultiScopeListRequest', null, global);
142
+ goog.exportSymbol('proto.game.MultiScopeMember', null, global);
143
+ goog.exportSymbol('proto.game.MultiScopeMembersRequest', null, global);
144
+ goog.exportSymbol('proto.game.MultiScopeRequest', null, global);
145
+ goog.exportSymbol('proto.game.MultiScopeRequest.RequestCase', null, global);
146
+ goog.exportSymbol('proto.game.MultiScopeResponse', null, global);
147
+ goog.exportSymbol('proto.game.MultiScopeStatusResponse', null, global);
137
148
  goog.exportSymbol('proto.game.NormalizeDuplicateProvidersRequest', null, global);
138
149
  goog.exportSymbol('proto.game.NormalizeDuplicateProvidersResponse', null, global);
139
150
  goog.exportSymbol('proto.game.PaginationRequest', null, global);
@@ -2735,6 +2746,216 @@ if (goog.DEBUG && !COMPILED) {
2735
2746
  */
2736
2747
  proto.game.GamePoorItemsResponse.displayName = 'proto.game.GamePoorItemsResponse';
2737
2748
  }
2749
+ /**
2750
+ * Generated by JsPbCodeGenerator.
2751
+ * @param {Array=} opt_data Optional initial data array, typically from a
2752
+ * server response, or constructed directly in Javascript. The array is used
2753
+ * in place and becomes part of the constructed object. It is not cloned.
2754
+ * If no data is provided, the constructed object will be empty, but still
2755
+ * valid.
2756
+ * @extends {jspb.Message}
2757
+ * @constructor
2758
+ */
2759
+ proto.game.MultiScopeMember = function(opt_data) {
2760
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2761
+ };
2762
+ goog.inherits(proto.game.MultiScopeMember, jspb.Message);
2763
+ if (goog.DEBUG && !COMPILED) {
2764
+ /**
2765
+ * @public
2766
+ * @override
2767
+ */
2768
+ proto.game.MultiScopeMember.displayName = 'proto.game.MultiScopeMember';
2769
+ }
2770
+ /**
2771
+ * Generated by JsPbCodeGenerator.
2772
+ * @param {Array=} opt_data Optional initial data array, typically from a
2773
+ * server response, or constructed directly in Javascript. The array is used
2774
+ * in place and becomes part of the constructed object. It is not cloned.
2775
+ * If no data is provided, the constructed object will be empty, but still
2776
+ * valid.
2777
+ * @extends {jspb.Message}
2778
+ * @constructor
2779
+ */
2780
+ proto.game.MultiScopeItem = function(opt_data) {
2781
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MultiScopeItem.repeatedFields_, null);
2782
+ };
2783
+ goog.inherits(proto.game.MultiScopeItem, jspb.Message);
2784
+ if (goog.DEBUG && !COMPILED) {
2785
+ /**
2786
+ * @public
2787
+ * @override
2788
+ */
2789
+ proto.game.MultiScopeItem.displayName = 'proto.game.MultiScopeItem';
2790
+ }
2791
+ /**
2792
+ * Generated by JsPbCodeGenerator.
2793
+ * @param {Array=} opt_data Optional initial data array, typically from a
2794
+ * server response, or constructed directly in Javascript. The array is used
2795
+ * in place and becomes part of the constructed object. It is not cloned.
2796
+ * If no data is provided, the constructed object will be empty, but still
2797
+ * valid.
2798
+ * @extends {jspb.Message}
2799
+ * @constructor
2800
+ */
2801
+ proto.game.MultiScopeItemRequest = function(opt_data) {
2802
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2803
+ };
2804
+ goog.inherits(proto.game.MultiScopeItemRequest, jspb.Message);
2805
+ if (goog.DEBUG && !COMPILED) {
2806
+ /**
2807
+ * @public
2808
+ * @override
2809
+ */
2810
+ proto.game.MultiScopeItemRequest.displayName = 'proto.game.MultiScopeItemRequest';
2811
+ }
2812
+ /**
2813
+ * Generated by JsPbCodeGenerator.
2814
+ * @param {Array=} opt_data Optional initial data array, typically from a
2815
+ * server response, or constructed directly in Javascript. The array is used
2816
+ * in place and becomes part of the constructed object. It is not cloned.
2817
+ * If no data is provided, the constructed object will be empty, but still
2818
+ * valid.
2819
+ * @extends {jspb.Message}
2820
+ * @constructor
2821
+ */
2822
+ proto.game.MultiScopeRequest = function(opt_data) {
2823
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.game.MultiScopeRequest.oneofGroups_);
2824
+ };
2825
+ goog.inherits(proto.game.MultiScopeRequest, jspb.Message);
2826
+ if (goog.DEBUG && !COMPILED) {
2827
+ /**
2828
+ * @public
2829
+ * @override
2830
+ */
2831
+ proto.game.MultiScopeRequest.displayName = 'proto.game.MultiScopeRequest';
2832
+ }
2833
+ /**
2834
+ * Generated by JsPbCodeGenerator.
2835
+ * @param {Array=} opt_data Optional initial data array, typically from a
2836
+ * server response, or constructed directly in Javascript. The array is used
2837
+ * in place and becomes part of the constructed object. It is not cloned.
2838
+ * If no data is provided, the constructed object will be empty, but still
2839
+ * valid.
2840
+ * @extends {jspb.Message}
2841
+ * @constructor
2842
+ */
2843
+ proto.game.GetMultiScopeRequest = function(opt_data) {
2844
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2845
+ };
2846
+ goog.inherits(proto.game.GetMultiScopeRequest, jspb.Message);
2847
+ if (goog.DEBUG && !COMPILED) {
2848
+ /**
2849
+ * @public
2850
+ * @override
2851
+ */
2852
+ proto.game.GetMultiScopeRequest.displayName = 'proto.game.GetMultiScopeRequest';
2853
+ }
2854
+ /**
2855
+ * Generated by JsPbCodeGenerator.
2856
+ * @param {Array=} opt_data Optional initial data array, typically from a
2857
+ * server response, or constructed directly in Javascript. The array is used
2858
+ * in place and becomes part of the constructed object. It is not cloned.
2859
+ * If no data is provided, the constructed object will be empty, but still
2860
+ * valid.
2861
+ * @extends {jspb.Message}
2862
+ * @constructor
2863
+ */
2864
+ proto.game.MultiScopeListRequest = function(opt_data) {
2865
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MultiScopeListRequest.repeatedFields_, null);
2866
+ };
2867
+ goog.inherits(proto.game.MultiScopeListRequest, jspb.Message);
2868
+ if (goog.DEBUG && !COMPILED) {
2869
+ /**
2870
+ * @public
2871
+ * @override
2872
+ */
2873
+ proto.game.MultiScopeListRequest.displayName = 'proto.game.MultiScopeListRequest';
2874
+ }
2875
+ /**
2876
+ * Generated by JsPbCodeGenerator.
2877
+ * @param {Array=} opt_data Optional initial data array, typically from a
2878
+ * server response, or constructed directly in Javascript. The array is used
2879
+ * in place and becomes part of the constructed object. It is not cloned.
2880
+ * If no data is provided, the constructed object will be empty, but still
2881
+ * valid.
2882
+ * @extends {jspb.Message}
2883
+ * @constructor
2884
+ */
2885
+ proto.game.MultiScopeMembersRequest = function(opt_data) {
2886
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MultiScopeMembersRequest.repeatedFields_, null);
2887
+ };
2888
+ goog.inherits(proto.game.MultiScopeMembersRequest, jspb.Message);
2889
+ if (goog.DEBUG && !COMPILED) {
2890
+ /**
2891
+ * @public
2892
+ * @override
2893
+ */
2894
+ proto.game.MultiScopeMembersRequest.displayName = 'proto.game.MultiScopeMembersRequest';
2895
+ }
2896
+ /**
2897
+ * Generated by JsPbCodeGenerator.
2898
+ * @param {Array=} opt_data Optional initial data array, typically from a
2899
+ * server response, or constructed directly in Javascript. The array is used
2900
+ * in place and becomes part of the constructed object. It is not cloned.
2901
+ * If no data is provided, the constructed object will be empty, but still
2902
+ * valid.
2903
+ * @extends {jspb.Message}
2904
+ * @constructor
2905
+ */
2906
+ proto.game.MultiScopeResponse = function(opt_data) {
2907
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2908
+ };
2909
+ goog.inherits(proto.game.MultiScopeResponse, jspb.Message);
2910
+ if (goog.DEBUG && !COMPILED) {
2911
+ /**
2912
+ * @public
2913
+ * @override
2914
+ */
2915
+ proto.game.MultiScopeResponse.displayName = 'proto.game.MultiScopeResponse';
2916
+ }
2917
+ /**
2918
+ * Generated by JsPbCodeGenerator.
2919
+ * @param {Array=} opt_data Optional initial data array, typically from a
2920
+ * server response, or constructed directly in Javascript. The array is used
2921
+ * in place and becomes part of the constructed object. It is not cloned.
2922
+ * If no data is provided, the constructed object will be empty, but still
2923
+ * valid.
2924
+ * @extends {jspb.Message}
2925
+ * @constructor
2926
+ */
2927
+ proto.game.MultiScopeItemsResponse = function(opt_data) {
2928
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MultiScopeItemsResponse.repeatedFields_, null);
2929
+ };
2930
+ goog.inherits(proto.game.MultiScopeItemsResponse, jspb.Message);
2931
+ if (goog.DEBUG && !COMPILED) {
2932
+ /**
2933
+ * @public
2934
+ * @override
2935
+ */
2936
+ proto.game.MultiScopeItemsResponse.displayName = 'proto.game.MultiScopeItemsResponse';
2937
+ }
2938
+ /**
2939
+ * Generated by JsPbCodeGenerator.
2940
+ * @param {Array=} opt_data Optional initial data array, typically from a
2941
+ * server response, or constructed directly in Javascript. The array is used
2942
+ * in place and becomes part of the constructed object. It is not cloned.
2943
+ * If no data is provided, the constructed object will be empty, but still
2944
+ * valid.
2945
+ * @extends {jspb.Message}
2946
+ * @constructor
2947
+ */
2948
+ proto.game.MultiScopeStatusResponse = function(opt_data) {
2949
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2950
+ };
2951
+ goog.inherits(proto.game.MultiScopeStatusResponse, jspb.Message);
2952
+ if (goog.DEBUG && !COMPILED) {
2953
+ /**
2954
+ * @public
2955
+ * @override
2956
+ */
2957
+ proto.game.MultiScopeStatusResponse.displayName = 'proto.game.MultiScopeStatusResponse';
2958
+ }
2738
2959
  /**
2739
2960
  * Generated by JsPbCodeGenerator.
2740
2961
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -40823,6 +41044,2855 @@ proto.game.GamePoorItemsResponse.prototype.clearItemsList = function() {
40823
41044
 
40824
41045
 
40825
41046
 
41047
+ if (jspb.Message.GENERATE_TO_OBJECT) {
41048
+ /**
41049
+ * Creates an object representation of this proto.
41050
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
41051
+ * Optional fields that are not set will be set to undefined.
41052
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
41053
+ * For the list of reserved names please see:
41054
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
41055
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
41056
+ * JSPB instance for transitional soy proto support:
41057
+ * http://goto/soy-param-migration
41058
+ * @return {!Object}
41059
+ */
41060
+ proto.game.MultiScopeMember.prototype.toObject = function(opt_includeInstance) {
41061
+ return proto.game.MultiScopeMember.toObject(opt_includeInstance, this);
41062
+ };
41063
+
41064
+
41065
+ /**
41066
+ * Static version of the {@see toObject} method.
41067
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
41068
+ * the JSPB instance for transitional soy proto support:
41069
+ * http://goto/soy-param-migration
41070
+ * @param {!proto.game.MultiScopeMember} msg The msg instance to transform.
41071
+ * @return {!Object}
41072
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41073
+ */
41074
+ proto.game.MultiScopeMember.toObject = function(includeInstance, msg) {
41075
+ var f, obj = {
41076
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
41077
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
41078
+ slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
41079
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
41080
+ image: jspb.Message.getFieldWithDefault(msg, 5, ""),
41081
+ imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
41082
+ icon: jspb.Message.getFieldWithDefault(msg, 7, ""),
41083
+ iconCdn: jspb.Message.getFieldWithDefault(msg, 8, "")
41084
+ };
41085
+
41086
+ if (includeInstance) {
41087
+ obj.$jspbMessageInstance = msg;
41088
+ }
41089
+ return obj;
41090
+ };
41091
+ }
41092
+
41093
+
41094
+ /**
41095
+ * Deserializes binary data (in protobuf wire format).
41096
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
41097
+ * @return {!proto.game.MultiScopeMember}
41098
+ */
41099
+ proto.game.MultiScopeMember.deserializeBinary = function(bytes) {
41100
+ var reader = new jspb.BinaryReader(bytes);
41101
+ var msg = new proto.game.MultiScopeMember;
41102
+ return proto.game.MultiScopeMember.deserializeBinaryFromReader(msg, reader);
41103
+ };
41104
+
41105
+
41106
+ /**
41107
+ * Deserializes binary data (in protobuf wire format) from the
41108
+ * given reader into the given message object.
41109
+ * @param {!proto.game.MultiScopeMember} msg The message object to deserialize into.
41110
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
41111
+ * @return {!proto.game.MultiScopeMember}
41112
+ */
41113
+ proto.game.MultiScopeMember.deserializeBinaryFromReader = function(msg, reader) {
41114
+ while (reader.nextField()) {
41115
+ if (reader.isEndGroup()) {
41116
+ break;
41117
+ }
41118
+ var field = reader.getFieldNumber();
41119
+ switch (field) {
41120
+ case 1:
41121
+ var value = /** @type {number} */ (reader.readInt32());
41122
+ msg.setId(value);
41123
+ break;
41124
+ case 2:
41125
+ var value = /** @type {string} */ (reader.readString());
41126
+ msg.setTitle(value);
41127
+ break;
41128
+ case 3:
41129
+ var value = /** @type {string} */ (reader.readString());
41130
+ msg.setSlug(value);
41131
+ break;
41132
+ case 4:
41133
+ var value = /** @type {boolean} */ (reader.readBool());
41134
+ msg.setIsActive(value);
41135
+ break;
41136
+ case 5:
41137
+ var value = /** @type {string} */ (reader.readString());
41138
+ msg.setImage(value);
41139
+ break;
41140
+ case 6:
41141
+ var value = /** @type {string} */ (reader.readString());
41142
+ msg.setImageCdn(value);
41143
+ break;
41144
+ case 7:
41145
+ var value = /** @type {string} */ (reader.readString());
41146
+ msg.setIcon(value);
41147
+ break;
41148
+ case 8:
41149
+ var value = /** @type {string} */ (reader.readString());
41150
+ msg.setIconCdn(value);
41151
+ break;
41152
+ default:
41153
+ reader.skipField();
41154
+ break;
41155
+ }
41156
+ }
41157
+ return msg;
41158
+ };
41159
+
41160
+
41161
+ /**
41162
+ * Serializes the message to binary data (in protobuf wire format).
41163
+ * @return {!Uint8Array}
41164
+ */
41165
+ proto.game.MultiScopeMember.prototype.serializeBinary = function() {
41166
+ var writer = new jspb.BinaryWriter();
41167
+ proto.game.MultiScopeMember.serializeBinaryToWriter(this, writer);
41168
+ return writer.getResultBuffer();
41169
+ };
41170
+
41171
+
41172
+ /**
41173
+ * Serializes the given message to binary data (in protobuf wire
41174
+ * format), writing to the given BinaryWriter.
41175
+ * @param {!proto.game.MultiScopeMember} message
41176
+ * @param {!jspb.BinaryWriter} writer
41177
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41178
+ */
41179
+ proto.game.MultiScopeMember.serializeBinaryToWriter = function(message, writer) {
41180
+ var f = undefined;
41181
+ f = message.getId();
41182
+ if (f !== 0) {
41183
+ writer.writeInt32(
41184
+ 1,
41185
+ f
41186
+ );
41187
+ }
41188
+ f = message.getTitle();
41189
+ if (f.length > 0) {
41190
+ writer.writeString(
41191
+ 2,
41192
+ f
41193
+ );
41194
+ }
41195
+ f = message.getSlug();
41196
+ if (f.length > 0) {
41197
+ writer.writeString(
41198
+ 3,
41199
+ f
41200
+ );
41201
+ }
41202
+ f = message.getIsActive();
41203
+ if (f) {
41204
+ writer.writeBool(
41205
+ 4,
41206
+ f
41207
+ );
41208
+ }
41209
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
41210
+ if (f != null) {
41211
+ writer.writeString(
41212
+ 5,
41213
+ f
41214
+ );
41215
+ }
41216
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
41217
+ if (f != null) {
41218
+ writer.writeString(
41219
+ 6,
41220
+ f
41221
+ );
41222
+ }
41223
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
41224
+ if (f != null) {
41225
+ writer.writeString(
41226
+ 7,
41227
+ f
41228
+ );
41229
+ }
41230
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
41231
+ if (f != null) {
41232
+ writer.writeString(
41233
+ 8,
41234
+ f
41235
+ );
41236
+ }
41237
+ };
41238
+
41239
+
41240
+ /**
41241
+ * optional int32 id = 1;
41242
+ * @return {number}
41243
+ */
41244
+ proto.game.MultiScopeMember.prototype.getId = function() {
41245
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
41246
+ };
41247
+
41248
+
41249
+ /**
41250
+ * @param {number} value
41251
+ * @return {!proto.game.MultiScopeMember} returns this
41252
+ */
41253
+ proto.game.MultiScopeMember.prototype.setId = function(value) {
41254
+ return jspb.Message.setProto3IntField(this, 1, value);
41255
+ };
41256
+
41257
+
41258
+ /**
41259
+ * optional string title = 2;
41260
+ * @return {string}
41261
+ */
41262
+ proto.game.MultiScopeMember.prototype.getTitle = function() {
41263
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
41264
+ };
41265
+
41266
+
41267
+ /**
41268
+ * @param {string} value
41269
+ * @return {!proto.game.MultiScopeMember} returns this
41270
+ */
41271
+ proto.game.MultiScopeMember.prototype.setTitle = function(value) {
41272
+ return jspb.Message.setProto3StringField(this, 2, value);
41273
+ };
41274
+
41275
+
41276
+ /**
41277
+ * optional string slug = 3;
41278
+ * @return {string}
41279
+ */
41280
+ proto.game.MultiScopeMember.prototype.getSlug = function() {
41281
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
41282
+ };
41283
+
41284
+
41285
+ /**
41286
+ * @param {string} value
41287
+ * @return {!proto.game.MultiScopeMember} returns this
41288
+ */
41289
+ proto.game.MultiScopeMember.prototype.setSlug = function(value) {
41290
+ return jspb.Message.setProto3StringField(this, 3, value);
41291
+ };
41292
+
41293
+
41294
+ /**
41295
+ * optional bool is_active = 4;
41296
+ * @return {boolean}
41297
+ */
41298
+ proto.game.MultiScopeMember.prototype.getIsActive = function() {
41299
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
41300
+ };
41301
+
41302
+
41303
+ /**
41304
+ * @param {boolean} value
41305
+ * @return {!proto.game.MultiScopeMember} returns this
41306
+ */
41307
+ proto.game.MultiScopeMember.prototype.setIsActive = function(value) {
41308
+ return jspb.Message.setProto3BooleanField(this, 4, value);
41309
+ };
41310
+
41311
+
41312
+ /**
41313
+ * optional string image = 5;
41314
+ * @return {string}
41315
+ */
41316
+ proto.game.MultiScopeMember.prototype.getImage = function() {
41317
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
41318
+ };
41319
+
41320
+
41321
+ /**
41322
+ * @param {string} value
41323
+ * @return {!proto.game.MultiScopeMember} returns this
41324
+ */
41325
+ proto.game.MultiScopeMember.prototype.setImage = function(value) {
41326
+ return jspb.Message.setField(this, 5, value);
41327
+ };
41328
+
41329
+
41330
+ /**
41331
+ * Clears the field making it undefined.
41332
+ * @return {!proto.game.MultiScopeMember} returns this
41333
+ */
41334
+ proto.game.MultiScopeMember.prototype.clearImage = function() {
41335
+ return jspb.Message.setField(this, 5, undefined);
41336
+ };
41337
+
41338
+
41339
+ /**
41340
+ * Returns whether this field is set.
41341
+ * @return {boolean}
41342
+ */
41343
+ proto.game.MultiScopeMember.prototype.hasImage = function() {
41344
+ return jspb.Message.getField(this, 5) != null;
41345
+ };
41346
+
41347
+
41348
+ /**
41349
+ * optional string image_cdn = 6;
41350
+ * @return {string}
41351
+ */
41352
+ proto.game.MultiScopeMember.prototype.getImageCdn = function() {
41353
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
41354
+ };
41355
+
41356
+
41357
+ /**
41358
+ * @param {string} value
41359
+ * @return {!proto.game.MultiScopeMember} returns this
41360
+ */
41361
+ proto.game.MultiScopeMember.prototype.setImageCdn = function(value) {
41362
+ return jspb.Message.setField(this, 6, value);
41363
+ };
41364
+
41365
+
41366
+ /**
41367
+ * Clears the field making it undefined.
41368
+ * @return {!proto.game.MultiScopeMember} returns this
41369
+ */
41370
+ proto.game.MultiScopeMember.prototype.clearImageCdn = function() {
41371
+ return jspb.Message.setField(this, 6, undefined);
41372
+ };
41373
+
41374
+
41375
+ /**
41376
+ * Returns whether this field is set.
41377
+ * @return {boolean}
41378
+ */
41379
+ proto.game.MultiScopeMember.prototype.hasImageCdn = function() {
41380
+ return jspb.Message.getField(this, 6) != null;
41381
+ };
41382
+
41383
+
41384
+ /**
41385
+ * optional string icon = 7;
41386
+ * @return {string}
41387
+ */
41388
+ proto.game.MultiScopeMember.prototype.getIcon = function() {
41389
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
41390
+ };
41391
+
41392
+
41393
+ /**
41394
+ * @param {string} value
41395
+ * @return {!proto.game.MultiScopeMember} returns this
41396
+ */
41397
+ proto.game.MultiScopeMember.prototype.setIcon = function(value) {
41398
+ return jspb.Message.setField(this, 7, value);
41399
+ };
41400
+
41401
+
41402
+ /**
41403
+ * Clears the field making it undefined.
41404
+ * @return {!proto.game.MultiScopeMember} returns this
41405
+ */
41406
+ proto.game.MultiScopeMember.prototype.clearIcon = function() {
41407
+ return jspb.Message.setField(this, 7, undefined);
41408
+ };
41409
+
41410
+
41411
+ /**
41412
+ * Returns whether this field is set.
41413
+ * @return {boolean}
41414
+ */
41415
+ proto.game.MultiScopeMember.prototype.hasIcon = function() {
41416
+ return jspb.Message.getField(this, 7) != null;
41417
+ };
41418
+
41419
+
41420
+ /**
41421
+ * optional string icon_cdn = 8;
41422
+ * @return {string}
41423
+ */
41424
+ proto.game.MultiScopeMember.prototype.getIconCdn = function() {
41425
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
41426
+ };
41427
+
41428
+
41429
+ /**
41430
+ * @param {string} value
41431
+ * @return {!proto.game.MultiScopeMember} returns this
41432
+ */
41433
+ proto.game.MultiScopeMember.prototype.setIconCdn = function(value) {
41434
+ return jspb.Message.setField(this, 8, value);
41435
+ };
41436
+
41437
+
41438
+ /**
41439
+ * Clears the field making it undefined.
41440
+ * @return {!proto.game.MultiScopeMember} returns this
41441
+ */
41442
+ proto.game.MultiScopeMember.prototype.clearIconCdn = function() {
41443
+ return jspb.Message.setField(this, 8, undefined);
41444
+ };
41445
+
41446
+
41447
+ /**
41448
+ * Returns whether this field is set.
41449
+ * @return {boolean}
41450
+ */
41451
+ proto.game.MultiScopeMember.prototype.hasIconCdn = function() {
41452
+ return jspb.Message.getField(this, 8) != null;
41453
+ };
41454
+
41455
+
41456
+
41457
+ /**
41458
+ * List of repeated fields within this message type.
41459
+ * @private {!Array<number>}
41460
+ * @const
41461
+ */
41462
+ proto.game.MultiScopeItem.repeatedFields_ = [11,12];
41463
+
41464
+
41465
+
41466
+ if (jspb.Message.GENERATE_TO_OBJECT) {
41467
+ /**
41468
+ * Creates an object representation of this proto.
41469
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
41470
+ * Optional fields that are not set will be set to undefined.
41471
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
41472
+ * For the list of reserved names please see:
41473
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
41474
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
41475
+ * JSPB instance for transitional soy proto support:
41476
+ * http://goto/soy-param-migration
41477
+ * @return {!Object}
41478
+ */
41479
+ proto.game.MultiScopeItem.prototype.toObject = function(opt_includeInstance) {
41480
+ return proto.game.MultiScopeItem.toObject(opt_includeInstance, this);
41481
+ };
41482
+
41483
+
41484
+ /**
41485
+ * Static version of the {@see toObject} method.
41486
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
41487
+ * the JSPB instance for transitional soy proto support:
41488
+ * http://goto/soy-param-migration
41489
+ * @param {!proto.game.MultiScopeItem} msg The msg instance to transform.
41490
+ * @return {!Object}
41491
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41492
+ */
41493
+ proto.game.MultiScopeItem.toObject = function(includeInstance, msg) {
41494
+ var f, obj = {
41495
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
41496
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
41497
+ slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
41498
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
41499
+ image: jspb.Message.getFieldWithDefault(msg, 5, ""),
41500
+ imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
41501
+ icon: jspb.Message.getFieldWithDefault(msg, 7, ""),
41502
+ iconCdn: jspb.Message.getFieldWithDefault(msg, 8, ""),
41503
+ createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
41504
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
41505
+ collectionsList: jspb.Message.toObjectList(msg.getCollectionsList(),
41506
+ proto.game.MultiScopeMember.toObject, includeInstance),
41507
+ tagsList: jspb.Message.toObjectList(msg.getTagsList(),
41508
+ proto.game.MultiScopeMember.toObject, includeInstance)
41509
+ };
41510
+
41511
+ if (includeInstance) {
41512
+ obj.$jspbMessageInstance = msg;
41513
+ }
41514
+ return obj;
41515
+ };
41516
+ }
41517
+
41518
+
41519
+ /**
41520
+ * Deserializes binary data (in protobuf wire format).
41521
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
41522
+ * @return {!proto.game.MultiScopeItem}
41523
+ */
41524
+ proto.game.MultiScopeItem.deserializeBinary = function(bytes) {
41525
+ var reader = new jspb.BinaryReader(bytes);
41526
+ var msg = new proto.game.MultiScopeItem;
41527
+ return proto.game.MultiScopeItem.deserializeBinaryFromReader(msg, reader);
41528
+ };
41529
+
41530
+
41531
+ /**
41532
+ * Deserializes binary data (in protobuf wire format) from the
41533
+ * given reader into the given message object.
41534
+ * @param {!proto.game.MultiScopeItem} msg The message object to deserialize into.
41535
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
41536
+ * @return {!proto.game.MultiScopeItem}
41537
+ */
41538
+ proto.game.MultiScopeItem.deserializeBinaryFromReader = function(msg, reader) {
41539
+ while (reader.nextField()) {
41540
+ if (reader.isEndGroup()) {
41541
+ break;
41542
+ }
41543
+ var field = reader.getFieldNumber();
41544
+ switch (field) {
41545
+ case 1:
41546
+ var value = /** @type {number} */ (reader.readInt32());
41547
+ msg.setId(value);
41548
+ break;
41549
+ case 2:
41550
+ var value = /** @type {string} */ (reader.readString());
41551
+ msg.setTitle(value);
41552
+ break;
41553
+ case 3:
41554
+ var value = /** @type {string} */ (reader.readString());
41555
+ msg.setSlug(value);
41556
+ break;
41557
+ case 4:
41558
+ var value = /** @type {boolean} */ (reader.readBool());
41559
+ msg.setIsActive(value);
41560
+ break;
41561
+ case 5:
41562
+ var value = /** @type {string} */ (reader.readString());
41563
+ msg.setImage(value);
41564
+ break;
41565
+ case 6:
41566
+ var value = /** @type {string} */ (reader.readString());
41567
+ msg.setImageCdn(value);
41568
+ break;
41569
+ case 7:
41570
+ var value = /** @type {string} */ (reader.readString());
41571
+ msg.setIcon(value);
41572
+ break;
41573
+ case 8:
41574
+ var value = /** @type {string} */ (reader.readString());
41575
+ msg.setIconCdn(value);
41576
+ break;
41577
+ case 9:
41578
+ var value = /** @type {string} */ (reader.readString());
41579
+ msg.setCreatedAt(value);
41580
+ break;
41581
+ case 10:
41582
+ var value = /** @type {string} */ (reader.readString());
41583
+ msg.setUpdatedAt(value);
41584
+ break;
41585
+ case 11:
41586
+ var value = new proto.game.MultiScopeMember;
41587
+ reader.readMessage(value,proto.game.MultiScopeMember.deserializeBinaryFromReader);
41588
+ msg.addCollections(value);
41589
+ break;
41590
+ case 12:
41591
+ var value = new proto.game.MultiScopeMember;
41592
+ reader.readMessage(value,proto.game.MultiScopeMember.deserializeBinaryFromReader);
41593
+ msg.addTags(value);
41594
+ break;
41595
+ default:
41596
+ reader.skipField();
41597
+ break;
41598
+ }
41599
+ }
41600
+ return msg;
41601
+ };
41602
+
41603
+
41604
+ /**
41605
+ * Serializes the message to binary data (in protobuf wire format).
41606
+ * @return {!Uint8Array}
41607
+ */
41608
+ proto.game.MultiScopeItem.prototype.serializeBinary = function() {
41609
+ var writer = new jspb.BinaryWriter();
41610
+ proto.game.MultiScopeItem.serializeBinaryToWriter(this, writer);
41611
+ return writer.getResultBuffer();
41612
+ };
41613
+
41614
+
41615
+ /**
41616
+ * Serializes the given message to binary data (in protobuf wire
41617
+ * format), writing to the given BinaryWriter.
41618
+ * @param {!proto.game.MultiScopeItem} message
41619
+ * @param {!jspb.BinaryWriter} writer
41620
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41621
+ */
41622
+ proto.game.MultiScopeItem.serializeBinaryToWriter = function(message, writer) {
41623
+ var f = undefined;
41624
+ f = message.getId();
41625
+ if (f !== 0) {
41626
+ writer.writeInt32(
41627
+ 1,
41628
+ f
41629
+ );
41630
+ }
41631
+ f = message.getTitle();
41632
+ if (f.length > 0) {
41633
+ writer.writeString(
41634
+ 2,
41635
+ f
41636
+ );
41637
+ }
41638
+ f = message.getSlug();
41639
+ if (f.length > 0) {
41640
+ writer.writeString(
41641
+ 3,
41642
+ f
41643
+ );
41644
+ }
41645
+ f = message.getIsActive();
41646
+ if (f) {
41647
+ writer.writeBool(
41648
+ 4,
41649
+ f
41650
+ );
41651
+ }
41652
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
41653
+ if (f != null) {
41654
+ writer.writeString(
41655
+ 5,
41656
+ f
41657
+ );
41658
+ }
41659
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
41660
+ if (f != null) {
41661
+ writer.writeString(
41662
+ 6,
41663
+ f
41664
+ );
41665
+ }
41666
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
41667
+ if (f != null) {
41668
+ writer.writeString(
41669
+ 7,
41670
+ f
41671
+ );
41672
+ }
41673
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
41674
+ if (f != null) {
41675
+ writer.writeString(
41676
+ 8,
41677
+ f
41678
+ );
41679
+ }
41680
+ f = message.getCreatedAt();
41681
+ if (f.length > 0) {
41682
+ writer.writeString(
41683
+ 9,
41684
+ f
41685
+ );
41686
+ }
41687
+ f = message.getUpdatedAt();
41688
+ if (f.length > 0) {
41689
+ writer.writeString(
41690
+ 10,
41691
+ f
41692
+ );
41693
+ }
41694
+ f = message.getCollectionsList();
41695
+ if (f.length > 0) {
41696
+ writer.writeRepeatedMessage(
41697
+ 11,
41698
+ f,
41699
+ proto.game.MultiScopeMember.serializeBinaryToWriter
41700
+ );
41701
+ }
41702
+ f = message.getTagsList();
41703
+ if (f.length > 0) {
41704
+ writer.writeRepeatedMessage(
41705
+ 12,
41706
+ f,
41707
+ proto.game.MultiScopeMember.serializeBinaryToWriter
41708
+ );
41709
+ }
41710
+ };
41711
+
41712
+
41713
+ /**
41714
+ * optional int32 id = 1;
41715
+ * @return {number}
41716
+ */
41717
+ proto.game.MultiScopeItem.prototype.getId = function() {
41718
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
41719
+ };
41720
+
41721
+
41722
+ /**
41723
+ * @param {number} value
41724
+ * @return {!proto.game.MultiScopeItem} returns this
41725
+ */
41726
+ proto.game.MultiScopeItem.prototype.setId = function(value) {
41727
+ return jspb.Message.setProto3IntField(this, 1, value);
41728
+ };
41729
+
41730
+
41731
+ /**
41732
+ * optional string title = 2;
41733
+ * @return {string}
41734
+ */
41735
+ proto.game.MultiScopeItem.prototype.getTitle = function() {
41736
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
41737
+ };
41738
+
41739
+
41740
+ /**
41741
+ * @param {string} value
41742
+ * @return {!proto.game.MultiScopeItem} returns this
41743
+ */
41744
+ proto.game.MultiScopeItem.prototype.setTitle = function(value) {
41745
+ return jspb.Message.setProto3StringField(this, 2, value);
41746
+ };
41747
+
41748
+
41749
+ /**
41750
+ * optional string slug = 3;
41751
+ * @return {string}
41752
+ */
41753
+ proto.game.MultiScopeItem.prototype.getSlug = function() {
41754
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
41755
+ };
41756
+
41757
+
41758
+ /**
41759
+ * @param {string} value
41760
+ * @return {!proto.game.MultiScopeItem} returns this
41761
+ */
41762
+ proto.game.MultiScopeItem.prototype.setSlug = function(value) {
41763
+ return jspb.Message.setProto3StringField(this, 3, value);
41764
+ };
41765
+
41766
+
41767
+ /**
41768
+ * optional bool is_active = 4;
41769
+ * @return {boolean}
41770
+ */
41771
+ proto.game.MultiScopeItem.prototype.getIsActive = function() {
41772
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
41773
+ };
41774
+
41775
+
41776
+ /**
41777
+ * @param {boolean} value
41778
+ * @return {!proto.game.MultiScopeItem} returns this
41779
+ */
41780
+ proto.game.MultiScopeItem.prototype.setIsActive = function(value) {
41781
+ return jspb.Message.setProto3BooleanField(this, 4, value);
41782
+ };
41783
+
41784
+
41785
+ /**
41786
+ * optional string image = 5;
41787
+ * @return {string}
41788
+ */
41789
+ proto.game.MultiScopeItem.prototype.getImage = function() {
41790
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
41791
+ };
41792
+
41793
+
41794
+ /**
41795
+ * @param {string} value
41796
+ * @return {!proto.game.MultiScopeItem} returns this
41797
+ */
41798
+ proto.game.MultiScopeItem.prototype.setImage = function(value) {
41799
+ return jspb.Message.setField(this, 5, value);
41800
+ };
41801
+
41802
+
41803
+ /**
41804
+ * Clears the field making it undefined.
41805
+ * @return {!proto.game.MultiScopeItem} returns this
41806
+ */
41807
+ proto.game.MultiScopeItem.prototype.clearImage = function() {
41808
+ return jspb.Message.setField(this, 5, undefined);
41809
+ };
41810
+
41811
+
41812
+ /**
41813
+ * Returns whether this field is set.
41814
+ * @return {boolean}
41815
+ */
41816
+ proto.game.MultiScopeItem.prototype.hasImage = function() {
41817
+ return jspb.Message.getField(this, 5) != null;
41818
+ };
41819
+
41820
+
41821
+ /**
41822
+ * optional string image_cdn = 6;
41823
+ * @return {string}
41824
+ */
41825
+ proto.game.MultiScopeItem.prototype.getImageCdn = function() {
41826
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
41827
+ };
41828
+
41829
+
41830
+ /**
41831
+ * @param {string} value
41832
+ * @return {!proto.game.MultiScopeItem} returns this
41833
+ */
41834
+ proto.game.MultiScopeItem.prototype.setImageCdn = function(value) {
41835
+ return jspb.Message.setField(this, 6, value);
41836
+ };
41837
+
41838
+
41839
+ /**
41840
+ * Clears the field making it undefined.
41841
+ * @return {!proto.game.MultiScopeItem} returns this
41842
+ */
41843
+ proto.game.MultiScopeItem.prototype.clearImageCdn = function() {
41844
+ return jspb.Message.setField(this, 6, undefined);
41845
+ };
41846
+
41847
+
41848
+ /**
41849
+ * Returns whether this field is set.
41850
+ * @return {boolean}
41851
+ */
41852
+ proto.game.MultiScopeItem.prototype.hasImageCdn = function() {
41853
+ return jspb.Message.getField(this, 6) != null;
41854
+ };
41855
+
41856
+
41857
+ /**
41858
+ * optional string icon = 7;
41859
+ * @return {string}
41860
+ */
41861
+ proto.game.MultiScopeItem.prototype.getIcon = function() {
41862
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
41863
+ };
41864
+
41865
+
41866
+ /**
41867
+ * @param {string} value
41868
+ * @return {!proto.game.MultiScopeItem} returns this
41869
+ */
41870
+ proto.game.MultiScopeItem.prototype.setIcon = function(value) {
41871
+ return jspb.Message.setField(this, 7, value);
41872
+ };
41873
+
41874
+
41875
+ /**
41876
+ * Clears the field making it undefined.
41877
+ * @return {!proto.game.MultiScopeItem} returns this
41878
+ */
41879
+ proto.game.MultiScopeItem.prototype.clearIcon = function() {
41880
+ return jspb.Message.setField(this, 7, undefined);
41881
+ };
41882
+
41883
+
41884
+ /**
41885
+ * Returns whether this field is set.
41886
+ * @return {boolean}
41887
+ */
41888
+ proto.game.MultiScopeItem.prototype.hasIcon = function() {
41889
+ return jspb.Message.getField(this, 7) != null;
41890
+ };
41891
+
41892
+
41893
+ /**
41894
+ * optional string icon_cdn = 8;
41895
+ * @return {string}
41896
+ */
41897
+ proto.game.MultiScopeItem.prototype.getIconCdn = function() {
41898
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
41899
+ };
41900
+
41901
+
41902
+ /**
41903
+ * @param {string} value
41904
+ * @return {!proto.game.MultiScopeItem} returns this
41905
+ */
41906
+ proto.game.MultiScopeItem.prototype.setIconCdn = function(value) {
41907
+ return jspb.Message.setField(this, 8, value);
41908
+ };
41909
+
41910
+
41911
+ /**
41912
+ * Clears the field making it undefined.
41913
+ * @return {!proto.game.MultiScopeItem} returns this
41914
+ */
41915
+ proto.game.MultiScopeItem.prototype.clearIconCdn = function() {
41916
+ return jspb.Message.setField(this, 8, undefined);
41917
+ };
41918
+
41919
+
41920
+ /**
41921
+ * Returns whether this field is set.
41922
+ * @return {boolean}
41923
+ */
41924
+ proto.game.MultiScopeItem.prototype.hasIconCdn = function() {
41925
+ return jspb.Message.getField(this, 8) != null;
41926
+ };
41927
+
41928
+
41929
+ /**
41930
+ * optional string created_at = 9;
41931
+ * @return {string}
41932
+ */
41933
+ proto.game.MultiScopeItem.prototype.getCreatedAt = function() {
41934
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
41935
+ };
41936
+
41937
+
41938
+ /**
41939
+ * @param {string} value
41940
+ * @return {!proto.game.MultiScopeItem} returns this
41941
+ */
41942
+ proto.game.MultiScopeItem.prototype.setCreatedAt = function(value) {
41943
+ return jspb.Message.setProto3StringField(this, 9, value);
41944
+ };
41945
+
41946
+
41947
+ /**
41948
+ * optional string updated_at = 10;
41949
+ * @return {string}
41950
+ */
41951
+ proto.game.MultiScopeItem.prototype.getUpdatedAt = function() {
41952
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
41953
+ };
41954
+
41955
+
41956
+ /**
41957
+ * @param {string} value
41958
+ * @return {!proto.game.MultiScopeItem} returns this
41959
+ */
41960
+ proto.game.MultiScopeItem.prototype.setUpdatedAt = function(value) {
41961
+ return jspb.Message.setProto3StringField(this, 10, value);
41962
+ };
41963
+
41964
+
41965
+ /**
41966
+ * repeated MultiScopeMember collections = 11;
41967
+ * @return {!Array<!proto.game.MultiScopeMember>}
41968
+ */
41969
+ proto.game.MultiScopeItem.prototype.getCollectionsList = function() {
41970
+ return /** @type{!Array<!proto.game.MultiScopeMember>} */ (
41971
+ jspb.Message.getRepeatedWrapperField(this, proto.game.MultiScopeMember, 11));
41972
+ };
41973
+
41974
+
41975
+ /**
41976
+ * @param {!Array<!proto.game.MultiScopeMember>} value
41977
+ * @return {!proto.game.MultiScopeItem} returns this
41978
+ */
41979
+ proto.game.MultiScopeItem.prototype.setCollectionsList = function(value) {
41980
+ return jspb.Message.setRepeatedWrapperField(this, 11, value);
41981
+ };
41982
+
41983
+
41984
+ /**
41985
+ * @param {!proto.game.MultiScopeMember=} opt_value
41986
+ * @param {number=} opt_index
41987
+ * @return {!proto.game.MultiScopeMember}
41988
+ */
41989
+ proto.game.MultiScopeItem.prototype.addCollections = function(opt_value, opt_index) {
41990
+ return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.game.MultiScopeMember, opt_index);
41991
+ };
41992
+
41993
+
41994
+ /**
41995
+ * Clears the list making it empty but non-null.
41996
+ * @return {!proto.game.MultiScopeItem} returns this
41997
+ */
41998
+ proto.game.MultiScopeItem.prototype.clearCollectionsList = function() {
41999
+ return this.setCollectionsList([]);
42000
+ };
42001
+
42002
+
42003
+ /**
42004
+ * repeated MultiScopeMember tags = 12;
42005
+ * @return {!Array<!proto.game.MultiScopeMember>}
42006
+ */
42007
+ proto.game.MultiScopeItem.prototype.getTagsList = function() {
42008
+ return /** @type{!Array<!proto.game.MultiScopeMember>} */ (
42009
+ jspb.Message.getRepeatedWrapperField(this, proto.game.MultiScopeMember, 12));
42010
+ };
42011
+
42012
+
42013
+ /**
42014
+ * @param {!Array<!proto.game.MultiScopeMember>} value
42015
+ * @return {!proto.game.MultiScopeItem} returns this
42016
+ */
42017
+ proto.game.MultiScopeItem.prototype.setTagsList = function(value) {
42018
+ return jspb.Message.setRepeatedWrapperField(this, 12, value);
42019
+ };
42020
+
42021
+
42022
+ /**
42023
+ * @param {!proto.game.MultiScopeMember=} opt_value
42024
+ * @param {number=} opt_index
42025
+ * @return {!proto.game.MultiScopeMember}
42026
+ */
42027
+ proto.game.MultiScopeItem.prototype.addTags = function(opt_value, opt_index) {
42028
+ return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.game.MultiScopeMember, opt_index);
42029
+ };
42030
+
42031
+
42032
+ /**
42033
+ * Clears the list making it empty but non-null.
42034
+ * @return {!proto.game.MultiScopeItem} returns this
42035
+ */
42036
+ proto.game.MultiScopeItem.prototype.clearTagsList = function() {
42037
+ return this.setTagsList([]);
42038
+ };
42039
+
42040
+
42041
+
42042
+
42043
+
42044
+ if (jspb.Message.GENERATE_TO_OBJECT) {
42045
+ /**
42046
+ * Creates an object representation of this proto.
42047
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
42048
+ * Optional fields that are not set will be set to undefined.
42049
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
42050
+ * For the list of reserved names please see:
42051
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
42052
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
42053
+ * JSPB instance for transitional soy proto support:
42054
+ * http://goto/soy-param-migration
42055
+ * @return {!Object}
42056
+ */
42057
+ proto.game.MultiScopeItemRequest.prototype.toObject = function(opt_includeInstance) {
42058
+ return proto.game.MultiScopeItemRequest.toObject(opt_includeInstance, this);
42059
+ };
42060
+
42061
+
42062
+ /**
42063
+ * Static version of the {@see toObject} method.
42064
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
42065
+ * the JSPB instance for transitional soy proto support:
42066
+ * http://goto/soy-param-migration
42067
+ * @param {!proto.game.MultiScopeItemRequest} msg The msg instance to transform.
42068
+ * @return {!Object}
42069
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42070
+ */
42071
+ proto.game.MultiScopeItemRequest.toObject = function(includeInstance, msg) {
42072
+ var f, obj = {
42073
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
42074
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
42075
+ slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
42076
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
42077
+ removeImage: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
42078
+ removeIcon: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
42079
+ };
42080
+
42081
+ if (includeInstance) {
42082
+ obj.$jspbMessageInstance = msg;
42083
+ }
42084
+ return obj;
42085
+ };
42086
+ }
42087
+
42088
+
42089
+ /**
42090
+ * Deserializes binary data (in protobuf wire format).
42091
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
42092
+ * @return {!proto.game.MultiScopeItemRequest}
42093
+ */
42094
+ proto.game.MultiScopeItemRequest.deserializeBinary = function(bytes) {
42095
+ var reader = new jspb.BinaryReader(bytes);
42096
+ var msg = new proto.game.MultiScopeItemRequest;
42097
+ return proto.game.MultiScopeItemRequest.deserializeBinaryFromReader(msg, reader);
42098
+ };
42099
+
42100
+
42101
+ /**
42102
+ * Deserializes binary data (in protobuf wire format) from the
42103
+ * given reader into the given message object.
42104
+ * @param {!proto.game.MultiScopeItemRequest} msg The message object to deserialize into.
42105
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
42106
+ * @return {!proto.game.MultiScopeItemRequest}
42107
+ */
42108
+ proto.game.MultiScopeItemRequest.deserializeBinaryFromReader = function(msg, reader) {
42109
+ while (reader.nextField()) {
42110
+ if (reader.isEndGroup()) {
42111
+ break;
42112
+ }
42113
+ var field = reader.getFieldNumber();
42114
+ switch (field) {
42115
+ case 1:
42116
+ var value = /** @type {number} */ (reader.readInt32());
42117
+ msg.setId(value);
42118
+ break;
42119
+ case 2:
42120
+ var value = /** @type {string} */ (reader.readString());
42121
+ msg.setTitle(value);
42122
+ break;
42123
+ case 3:
42124
+ var value = /** @type {string} */ (reader.readString());
42125
+ msg.setSlug(value);
42126
+ break;
42127
+ case 4:
42128
+ var value = /** @type {boolean} */ (reader.readBool());
42129
+ msg.setIsActive(value);
42130
+ break;
42131
+ case 5:
42132
+ var value = /** @type {boolean} */ (reader.readBool());
42133
+ msg.setRemoveImage(value);
42134
+ break;
42135
+ case 6:
42136
+ var value = /** @type {boolean} */ (reader.readBool());
42137
+ msg.setRemoveIcon(value);
42138
+ break;
42139
+ default:
42140
+ reader.skipField();
42141
+ break;
42142
+ }
42143
+ }
42144
+ return msg;
42145
+ };
42146
+
42147
+
42148
+ /**
42149
+ * Serializes the message to binary data (in protobuf wire format).
42150
+ * @return {!Uint8Array}
42151
+ */
42152
+ proto.game.MultiScopeItemRequest.prototype.serializeBinary = function() {
42153
+ var writer = new jspb.BinaryWriter();
42154
+ proto.game.MultiScopeItemRequest.serializeBinaryToWriter(this, writer);
42155
+ return writer.getResultBuffer();
42156
+ };
42157
+
42158
+
42159
+ /**
42160
+ * Serializes the given message to binary data (in protobuf wire
42161
+ * format), writing to the given BinaryWriter.
42162
+ * @param {!proto.game.MultiScopeItemRequest} message
42163
+ * @param {!jspb.BinaryWriter} writer
42164
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42165
+ */
42166
+ proto.game.MultiScopeItemRequest.serializeBinaryToWriter = function(message, writer) {
42167
+ var f = undefined;
42168
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
42169
+ if (f != null) {
42170
+ writer.writeInt32(
42171
+ 1,
42172
+ f
42173
+ );
42174
+ }
42175
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
42176
+ if (f != null) {
42177
+ writer.writeString(
42178
+ 2,
42179
+ f
42180
+ );
42181
+ }
42182
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
42183
+ if (f != null) {
42184
+ writer.writeString(
42185
+ 3,
42186
+ f
42187
+ );
42188
+ }
42189
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
42190
+ if (f != null) {
42191
+ writer.writeBool(
42192
+ 4,
42193
+ f
42194
+ );
42195
+ }
42196
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
42197
+ if (f != null) {
42198
+ writer.writeBool(
42199
+ 5,
42200
+ f
42201
+ );
42202
+ }
42203
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
42204
+ if (f != null) {
42205
+ writer.writeBool(
42206
+ 6,
42207
+ f
42208
+ );
42209
+ }
42210
+ };
42211
+
42212
+
42213
+ /**
42214
+ * optional int32 id = 1;
42215
+ * @return {number}
42216
+ */
42217
+ proto.game.MultiScopeItemRequest.prototype.getId = function() {
42218
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
42219
+ };
42220
+
42221
+
42222
+ /**
42223
+ * @param {number} value
42224
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42225
+ */
42226
+ proto.game.MultiScopeItemRequest.prototype.setId = function(value) {
42227
+ return jspb.Message.setField(this, 1, value);
42228
+ };
42229
+
42230
+
42231
+ /**
42232
+ * Clears the field making it undefined.
42233
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42234
+ */
42235
+ proto.game.MultiScopeItemRequest.prototype.clearId = function() {
42236
+ return jspb.Message.setField(this, 1, undefined);
42237
+ };
42238
+
42239
+
42240
+ /**
42241
+ * Returns whether this field is set.
42242
+ * @return {boolean}
42243
+ */
42244
+ proto.game.MultiScopeItemRequest.prototype.hasId = function() {
42245
+ return jspb.Message.getField(this, 1) != null;
42246
+ };
42247
+
42248
+
42249
+ /**
42250
+ * optional string title = 2;
42251
+ * @return {string}
42252
+ */
42253
+ proto.game.MultiScopeItemRequest.prototype.getTitle = function() {
42254
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
42255
+ };
42256
+
42257
+
42258
+ /**
42259
+ * @param {string} value
42260
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42261
+ */
42262
+ proto.game.MultiScopeItemRequest.prototype.setTitle = function(value) {
42263
+ return jspb.Message.setField(this, 2, value);
42264
+ };
42265
+
42266
+
42267
+ /**
42268
+ * Clears the field making it undefined.
42269
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42270
+ */
42271
+ proto.game.MultiScopeItemRequest.prototype.clearTitle = function() {
42272
+ return jspb.Message.setField(this, 2, undefined);
42273
+ };
42274
+
42275
+
42276
+ /**
42277
+ * Returns whether this field is set.
42278
+ * @return {boolean}
42279
+ */
42280
+ proto.game.MultiScopeItemRequest.prototype.hasTitle = function() {
42281
+ return jspb.Message.getField(this, 2) != null;
42282
+ };
42283
+
42284
+
42285
+ /**
42286
+ * optional string slug = 3;
42287
+ * @return {string}
42288
+ */
42289
+ proto.game.MultiScopeItemRequest.prototype.getSlug = function() {
42290
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
42291
+ };
42292
+
42293
+
42294
+ /**
42295
+ * @param {string} value
42296
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42297
+ */
42298
+ proto.game.MultiScopeItemRequest.prototype.setSlug = function(value) {
42299
+ return jspb.Message.setField(this, 3, value);
42300
+ };
42301
+
42302
+
42303
+ /**
42304
+ * Clears the field making it undefined.
42305
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42306
+ */
42307
+ proto.game.MultiScopeItemRequest.prototype.clearSlug = function() {
42308
+ return jspb.Message.setField(this, 3, undefined);
42309
+ };
42310
+
42311
+
42312
+ /**
42313
+ * Returns whether this field is set.
42314
+ * @return {boolean}
42315
+ */
42316
+ proto.game.MultiScopeItemRequest.prototype.hasSlug = function() {
42317
+ return jspb.Message.getField(this, 3) != null;
42318
+ };
42319
+
42320
+
42321
+ /**
42322
+ * optional bool is_active = 4;
42323
+ * @return {boolean}
42324
+ */
42325
+ proto.game.MultiScopeItemRequest.prototype.getIsActive = function() {
42326
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
42327
+ };
42328
+
42329
+
42330
+ /**
42331
+ * @param {boolean} value
42332
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42333
+ */
42334
+ proto.game.MultiScopeItemRequest.prototype.setIsActive = function(value) {
42335
+ return jspb.Message.setField(this, 4, value);
42336
+ };
42337
+
42338
+
42339
+ /**
42340
+ * Clears the field making it undefined.
42341
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42342
+ */
42343
+ proto.game.MultiScopeItemRequest.prototype.clearIsActive = function() {
42344
+ return jspb.Message.setField(this, 4, undefined);
42345
+ };
42346
+
42347
+
42348
+ /**
42349
+ * Returns whether this field is set.
42350
+ * @return {boolean}
42351
+ */
42352
+ proto.game.MultiScopeItemRequest.prototype.hasIsActive = function() {
42353
+ return jspb.Message.getField(this, 4) != null;
42354
+ };
42355
+
42356
+
42357
+ /**
42358
+ * optional bool remove_image = 5;
42359
+ * @return {boolean}
42360
+ */
42361
+ proto.game.MultiScopeItemRequest.prototype.getRemoveImage = function() {
42362
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
42363
+ };
42364
+
42365
+
42366
+ /**
42367
+ * @param {boolean} value
42368
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42369
+ */
42370
+ proto.game.MultiScopeItemRequest.prototype.setRemoveImage = function(value) {
42371
+ return jspb.Message.setField(this, 5, value);
42372
+ };
42373
+
42374
+
42375
+ /**
42376
+ * Clears the field making it undefined.
42377
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42378
+ */
42379
+ proto.game.MultiScopeItemRequest.prototype.clearRemoveImage = function() {
42380
+ return jspb.Message.setField(this, 5, undefined);
42381
+ };
42382
+
42383
+
42384
+ /**
42385
+ * Returns whether this field is set.
42386
+ * @return {boolean}
42387
+ */
42388
+ proto.game.MultiScopeItemRequest.prototype.hasRemoveImage = function() {
42389
+ return jspb.Message.getField(this, 5) != null;
42390
+ };
42391
+
42392
+
42393
+ /**
42394
+ * optional bool remove_icon = 6;
42395
+ * @return {boolean}
42396
+ */
42397
+ proto.game.MultiScopeItemRequest.prototype.getRemoveIcon = function() {
42398
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
42399
+ };
42400
+
42401
+
42402
+ /**
42403
+ * @param {boolean} value
42404
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42405
+ */
42406
+ proto.game.MultiScopeItemRequest.prototype.setRemoveIcon = function(value) {
42407
+ return jspb.Message.setField(this, 6, value);
42408
+ };
42409
+
42410
+
42411
+ /**
42412
+ * Clears the field making it undefined.
42413
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42414
+ */
42415
+ proto.game.MultiScopeItemRequest.prototype.clearRemoveIcon = function() {
42416
+ return jspb.Message.setField(this, 6, undefined);
42417
+ };
42418
+
42419
+
42420
+ /**
42421
+ * Returns whether this field is set.
42422
+ * @return {boolean}
42423
+ */
42424
+ proto.game.MultiScopeItemRequest.prototype.hasRemoveIcon = function() {
42425
+ return jspb.Message.getField(this, 6) != null;
42426
+ };
42427
+
42428
+
42429
+
42430
+ /**
42431
+ * Oneof group definitions for this message. Each group defines the field
42432
+ * numbers belonging to that group. When of these fields' value is set, all
42433
+ * other fields in the group are cleared. During deserialization, if multiple
42434
+ * fields are encountered for a group, only the last value seen will be kept.
42435
+ * @private {!Array<!Array<number>>}
42436
+ * @const
42437
+ */
42438
+ proto.game.MultiScopeRequest.oneofGroups_ = [[1,2,3]];
42439
+
42440
+ /**
42441
+ * @enum {number}
42442
+ */
42443
+ proto.game.MultiScopeRequest.RequestCase = {
42444
+ REQUEST_NOT_SET: 0,
42445
+ MULTI_SCOPE_DATA: 1,
42446
+ FILE: 2,
42447
+ FILE_METADATA: 3
42448
+ };
42449
+
42450
+ /**
42451
+ * @return {proto.game.MultiScopeRequest.RequestCase}
42452
+ */
42453
+ proto.game.MultiScopeRequest.prototype.getRequestCase = function() {
42454
+ return /** @type {proto.game.MultiScopeRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.game.MultiScopeRequest.oneofGroups_[0]));
42455
+ };
42456
+
42457
+
42458
+
42459
+ if (jspb.Message.GENERATE_TO_OBJECT) {
42460
+ /**
42461
+ * Creates an object representation of this proto.
42462
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
42463
+ * Optional fields that are not set will be set to undefined.
42464
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
42465
+ * For the list of reserved names please see:
42466
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
42467
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
42468
+ * JSPB instance for transitional soy proto support:
42469
+ * http://goto/soy-param-migration
42470
+ * @return {!Object}
42471
+ */
42472
+ proto.game.MultiScopeRequest.prototype.toObject = function(opt_includeInstance) {
42473
+ return proto.game.MultiScopeRequest.toObject(opt_includeInstance, this);
42474
+ };
42475
+
42476
+
42477
+ /**
42478
+ * Static version of the {@see toObject} method.
42479
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
42480
+ * the JSPB instance for transitional soy proto support:
42481
+ * http://goto/soy-param-migration
42482
+ * @param {!proto.game.MultiScopeRequest} msg The msg instance to transform.
42483
+ * @return {!Object}
42484
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42485
+ */
42486
+ proto.game.MultiScopeRequest.toObject = function(includeInstance, msg) {
42487
+ var f, obj = {
42488
+ multiScopeData: (f = msg.getMultiScopeData()) && proto.game.MultiScopeItemRequest.toObject(includeInstance, f),
42489
+ file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f),
42490
+ fileMetadata: (f = msg.getFileMetadata()) && proto.game.EntityFileMetadata.toObject(includeInstance, f)
42491
+ };
42492
+
42493
+ if (includeInstance) {
42494
+ obj.$jspbMessageInstance = msg;
42495
+ }
42496
+ return obj;
42497
+ };
42498
+ }
42499
+
42500
+
42501
+ /**
42502
+ * Deserializes binary data (in protobuf wire format).
42503
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
42504
+ * @return {!proto.game.MultiScopeRequest}
42505
+ */
42506
+ proto.game.MultiScopeRequest.deserializeBinary = function(bytes) {
42507
+ var reader = new jspb.BinaryReader(bytes);
42508
+ var msg = new proto.game.MultiScopeRequest;
42509
+ return proto.game.MultiScopeRequest.deserializeBinaryFromReader(msg, reader);
42510
+ };
42511
+
42512
+
42513
+ /**
42514
+ * Deserializes binary data (in protobuf wire format) from the
42515
+ * given reader into the given message object.
42516
+ * @param {!proto.game.MultiScopeRequest} msg The message object to deserialize into.
42517
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
42518
+ * @return {!proto.game.MultiScopeRequest}
42519
+ */
42520
+ proto.game.MultiScopeRequest.deserializeBinaryFromReader = function(msg, reader) {
42521
+ while (reader.nextField()) {
42522
+ if (reader.isEndGroup()) {
42523
+ break;
42524
+ }
42525
+ var field = reader.getFieldNumber();
42526
+ switch (field) {
42527
+ case 1:
42528
+ var value = new proto.game.MultiScopeItemRequest;
42529
+ reader.readMessage(value,proto.game.MultiScopeItemRequest.deserializeBinaryFromReader);
42530
+ msg.setMultiScopeData(value);
42531
+ break;
42532
+ case 2:
42533
+ var value = new proto.game.File;
42534
+ reader.readMessage(value,proto.game.File.deserializeBinaryFromReader);
42535
+ msg.setFile(value);
42536
+ break;
42537
+ case 3:
42538
+ var value = new proto.game.EntityFileMetadata;
42539
+ reader.readMessage(value,proto.game.EntityFileMetadata.deserializeBinaryFromReader);
42540
+ msg.setFileMetadata(value);
42541
+ break;
42542
+ default:
42543
+ reader.skipField();
42544
+ break;
42545
+ }
42546
+ }
42547
+ return msg;
42548
+ };
42549
+
42550
+
42551
+ /**
42552
+ * Serializes the message to binary data (in protobuf wire format).
42553
+ * @return {!Uint8Array}
42554
+ */
42555
+ proto.game.MultiScopeRequest.prototype.serializeBinary = function() {
42556
+ var writer = new jspb.BinaryWriter();
42557
+ proto.game.MultiScopeRequest.serializeBinaryToWriter(this, writer);
42558
+ return writer.getResultBuffer();
42559
+ };
42560
+
42561
+
42562
+ /**
42563
+ * Serializes the given message to binary data (in protobuf wire
42564
+ * format), writing to the given BinaryWriter.
42565
+ * @param {!proto.game.MultiScopeRequest} message
42566
+ * @param {!jspb.BinaryWriter} writer
42567
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42568
+ */
42569
+ proto.game.MultiScopeRequest.serializeBinaryToWriter = function(message, writer) {
42570
+ var f = undefined;
42571
+ f = message.getMultiScopeData();
42572
+ if (f != null) {
42573
+ writer.writeMessage(
42574
+ 1,
42575
+ f,
42576
+ proto.game.MultiScopeItemRequest.serializeBinaryToWriter
42577
+ );
42578
+ }
42579
+ f = message.getFile();
42580
+ if (f != null) {
42581
+ writer.writeMessage(
42582
+ 2,
42583
+ f,
42584
+ proto.game.File.serializeBinaryToWriter
42585
+ );
42586
+ }
42587
+ f = message.getFileMetadata();
42588
+ if (f != null) {
42589
+ writer.writeMessage(
42590
+ 3,
42591
+ f,
42592
+ proto.game.EntityFileMetadata.serializeBinaryToWriter
42593
+ );
42594
+ }
42595
+ };
42596
+
42597
+
42598
+ /**
42599
+ * optional MultiScopeItemRequest multi_scope_data = 1;
42600
+ * @return {?proto.game.MultiScopeItemRequest}
42601
+ */
42602
+ proto.game.MultiScopeRequest.prototype.getMultiScopeData = function() {
42603
+ return /** @type{?proto.game.MultiScopeItemRequest} */ (
42604
+ jspb.Message.getWrapperField(this, proto.game.MultiScopeItemRequest, 1));
42605
+ };
42606
+
42607
+
42608
+ /**
42609
+ * @param {?proto.game.MultiScopeItemRequest|undefined} value
42610
+ * @return {!proto.game.MultiScopeRequest} returns this
42611
+ */
42612
+ proto.game.MultiScopeRequest.prototype.setMultiScopeData = function(value) {
42613
+ return jspb.Message.setOneofWrapperField(this, 1, proto.game.MultiScopeRequest.oneofGroups_[0], value);
42614
+ };
42615
+
42616
+
42617
+ /**
42618
+ * Clears the message field making it undefined.
42619
+ * @return {!proto.game.MultiScopeRequest} returns this
42620
+ */
42621
+ proto.game.MultiScopeRequest.prototype.clearMultiScopeData = function() {
42622
+ return this.setMultiScopeData(undefined);
42623
+ };
42624
+
42625
+
42626
+ /**
42627
+ * Returns whether this field is set.
42628
+ * @return {boolean}
42629
+ */
42630
+ proto.game.MultiScopeRequest.prototype.hasMultiScopeData = function() {
42631
+ return jspb.Message.getField(this, 1) != null;
42632
+ };
42633
+
42634
+
42635
+ /**
42636
+ * optional File file = 2;
42637
+ * @return {?proto.game.File}
42638
+ */
42639
+ proto.game.MultiScopeRequest.prototype.getFile = function() {
42640
+ return /** @type{?proto.game.File} */ (
42641
+ jspb.Message.getWrapperField(this, proto.game.File, 2));
42642
+ };
42643
+
42644
+
42645
+ /**
42646
+ * @param {?proto.game.File|undefined} value
42647
+ * @return {!proto.game.MultiScopeRequest} returns this
42648
+ */
42649
+ proto.game.MultiScopeRequest.prototype.setFile = function(value) {
42650
+ return jspb.Message.setOneofWrapperField(this, 2, proto.game.MultiScopeRequest.oneofGroups_[0], value);
42651
+ };
42652
+
42653
+
42654
+ /**
42655
+ * Clears the message field making it undefined.
42656
+ * @return {!proto.game.MultiScopeRequest} returns this
42657
+ */
42658
+ proto.game.MultiScopeRequest.prototype.clearFile = function() {
42659
+ return this.setFile(undefined);
42660
+ };
42661
+
42662
+
42663
+ /**
42664
+ * Returns whether this field is set.
42665
+ * @return {boolean}
42666
+ */
42667
+ proto.game.MultiScopeRequest.prototype.hasFile = function() {
42668
+ return jspb.Message.getField(this, 2) != null;
42669
+ };
42670
+
42671
+
42672
+ /**
42673
+ * optional EntityFileMetadata file_metadata = 3;
42674
+ * @return {?proto.game.EntityFileMetadata}
42675
+ */
42676
+ proto.game.MultiScopeRequest.prototype.getFileMetadata = function() {
42677
+ return /** @type{?proto.game.EntityFileMetadata} */ (
42678
+ jspb.Message.getWrapperField(this, proto.game.EntityFileMetadata, 3));
42679
+ };
42680
+
42681
+
42682
+ /**
42683
+ * @param {?proto.game.EntityFileMetadata|undefined} value
42684
+ * @return {!proto.game.MultiScopeRequest} returns this
42685
+ */
42686
+ proto.game.MultiScopeRequest.prototype.setFileMetadata = function(value) {
42687
+ return jspb.Message.setOneofWrapperField(this, 3, proto.game.MultiScopeRequest.oneofGroups_[0], value);
42688
+ };
42689
+
42690
+
42691
+ /**
42692
+ * Clears the message field making it undefined.
42693
+ * @return {!proto.game.MultiScopeRequest} returns this
42694
+ */
42695
+ proto.game.MultiScopeRequest.prototype.clearFileMetadata = function() {
42696
+ return this.setFileMetadata(undefined);
42697
+ };
42698
+
42699
+
42700
+ /**
42701
+ * Returns whether this field is set.
42702
+ * @return {boolean}
42703
+ */
42704
+ proto.game.MultiScopeRequest.prototype.hasFileMetadata = function() {
42705
+ return jspb.Message.getField(this, 3) != null;
42706
+ };
42707
+
42708
+
42709
+
42710
+
42711
+
42712
+ if (jspb.Message.GENERATE_TO_OBJECT) {
42713
+ /**
42714
+ * Creates an object representation of this proto.
42715
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
42716
+ * Optional fields that are not set will be set to undefined.
42717
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
42718
+ * For the list of reserved names please see:
42719
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
42720
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
42721
+ * JSPB instance for transitional soy proto support:
42722
+ * http://goto/soy-param-migration
42723
+ * @return {!Object}
42724
+ */
42725
+ proto.game.GetMultiScopeRequest.prototype.toObject = function(opt_includeInstance) {
42726
+ return proto.game.GetMultiScopeRequest.toObject(opt_includeInstance, this);
42727
+ };
42728
+
42729
+
42730
+ /**
42731
+ * Static version of the {@see toObject} method.
42732
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
42733
+ * the JSPB instance for transitional soy proto support:
42734
+ * http://goto/soy-param-migration
42735
+ * @param {!proto.game.GetMultiScopeRequest} msg The msg instance to transform.
42736
+ * @return {!Object}
42737
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42738
+ */
42739
+ proto.game.GetMultiScopeRequest.toObject = function(includeInstance, msg) {
42740
+ var f, obj = {
42741
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
42742
+ };
42743
+
42744
+ if (includeInstance) {
42745
+ obj.$jspbMessageInstance = msg;
42746
+ }
42747
+ return obj;
42748
+ };
42749
+ }
42750
+
42751
+
42752
+ /**
42753
+ * Deserializes binary data (in protobuf wire format).
42754
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
42755
+ * @return {!proto.game.GetMultiScopeRequest}
42756
+ */
42757
+ proto.game.GetMultiScopeRequest.deserializeBinary = function(bytes) {
42758
+ var reader = new jspb.BinaryReader(bytes);
42759
+ var msg = new proto.game.GetMultiScopeRequest;
42760
+ return proto.game.GetMultiScopeRequest.deserializeBinaryFromReader(msg, reader);
42761
+ };
42762
+
42763
+
42764
+ /**
42765
+ * Deserializes binary data (in protobuf wire format) from the
42766
+ * given reader into the given message object.
42767
+ * @param {!proto.game.GetMultiScopeRequest} msg The message object to deserialize into.
42768
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
42769
+ * @return {!proto.game.GetMultiScopeRequest}
42770
+ */
42771
+ proto.game.GetMultiScopeRequest.deserializeBinaryFromReader = function(msg, reader) {
42772
+ while (reader.nextField()) {
42773
+ if (reader.isEndGroup()) {
42774
+ break;
42775
+ }
42776
+ var field = reader.getFieldNumber();
42777
+ switch (field) {
42778
+ case 1:
42779
+ var value = /** @type {number} */ (reader.readInt32());
42780
+ msg.setId(value);
42781
+ break;
42782
+ default:
42783
+ reader.skipField();
42784
+ break;
42785
+ }
42786
+ }
42787
+ return msg;
42788
+ };
42789
+
42790
+
42791
+ /**
42792
+ * Serializes the message to binary data (in protobuf wire format).
42793
+ * @return {!Uint8Array}
42794
+ */
42795
+ proto.game.GetMultiScopeRequest.prototype.serializeBinary = function() {
42796
+ var writer = new jspb.BinaryWriter();
42797
+ proto.game.GetMultiScopeRequest.serializeBinaryToWriter(this, writer);
42798
+ return writer.getResultBuffer();
42799
+ };
42800
+
42801
+
42802
+ /**
42803
+ * Serializes the given message to binary data (in protobuf wire
42804
+ * format), writing to the given BinaryWriter.
42805
+ * @param {!proto.game.GetMultiScopeRequest} message
42806
+ * @param {!jspb.BinaryWriter} writer
42807
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42808
+ */
42809
+ proto.game.GetMultiScopeRequest.serializeBinaryToWriter = function(message, writer) {
42810
+ var f = undefined;
42811
+ f = message.getId();
42812
+ if (f !== 0) {
42813
+ writer.writeInt32(
42814
+ 1,
42815
+ f
42816
+ );
42817
+ }
42818
+ };
42819
+
42820
+
42821
+ /**
42822
+ * optional int32 id = 1;
42823
+ * @return {number}
42824
+ */
42825
+ proto.game.GetMultiScopeRequest.prototype.getId = function() {
42826
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
42827
+ };
42828
+
42829
+
42830
+ /**
42831
+ * @param {number} value
42832
+ * @return {!proto.game.GetMultiScopeRequest} returns this
42833
+ */
42834
+ proto.game.GetMultiScopeRequest.prototype.setId = function(value) {
42835
+ return jspb.Message.setProto3IntField(this, 1, value);
42836
+ };
42837
+
42838
+
42839
+
42840
+ /**
42841
+ * List of repeated fields within this message type.
42842
+ * @private {!Array<number>}
42843
+ * @const
42844
+ */
42845
+ proto.game.MultiScopeListRequest.repeatedFields_ = [5];
42846
+
42847
+
42848
+
42849
+ if (jspb.Message.GENERATE_TO_OBJECT) {
42850
+ /**
42851
+ * Creates an object representation of this proto.
42852
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
42853
+ * Optional fields that are not set will be set to undefined.
42854
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
42855
+ * For the list of reserved names please see:
42856
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
42857
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
42858
+ * JSPB instance for transitional soy proto support:
42859
+ * http://goto/soy-param-migration
42860
+ * @return {!Object}
42861
+ */
42862
+ proto.game.MultiScopeListRequest.prototype.toObject = function(opt_includeInstance) {
42863
+ return proto.game.MultiScopeListRequest.toObject(opt_includeInstance, this);
42864
+ };
42865
+
42866
+
42867
+ /**
42868
+ * Static version of the {@see toObject} method.
42869
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
42870
+ * the JSPB instance for transitional soy proto support:
42871
+ * http://goto/soy-param-migration
42872
+ * @param {!proto.game.MultiScopeListRequest} msg The msg instance to transform.
42873
+ * @return {!Object}
42874
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42875
+ */
42876
+ proto.game.MultiScopeListRequest.toObject = function(includeInstance, msg) {
42877
+ var f, obj = {
42878
+ limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
42879
+ offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
42880
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
42881
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
42882
+ idsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
42883
+ };
42884
+
42885
+ if (includeInstance) {
42886
+ obj.$jspbMessageInstance = msg;
42887
+ }
42888
+ return obj;
42889
+ };
42890
+ }
42891
+
42892
+
42893
+ /**
42894
+ * Deserializes binary data (in protobuf wire format).
42895
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
42896
+ * @return {!proto.game.MultiScopeListRequest}
42897
+ */
42898
+ proto.game.MultiScopeListRequest.deserializeBinary = function(bytes) {
42899
+ var reader = new jspb.BinaryReader(bytes);
42900
+ var msg = new proto.game.MultiScopeListRequest;
42901
+ return proto.game.MultiScopeListRequest.deserializeBinaryFromReader(msg, reader);
42902
+ };
42903
+
42904
+
42905
+ /**
42906
+ * Deserializes binary data (in protobuf wire format) from the
42907
+ * given reader into the given message object.
42908
+ * @param {!proto.game.MultiScopeListRequest} msg The message object to deserialize into.
42909
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
42910
+ * @return {!proto.game.MultiScopeListRequest}
42911
+ */
42912
+ proto.game.MultiScopeListRequest.deserializeBinaryFromReader = function(msg, reader) {
42913
+ while (reader.nextField()) {
42914
+ if (reader.isEndGroup()) {
42915
+ break;
42916
+ }
42917
+ var field = reader.getFieldNumber();
42918
+ switch (field) {
42919
+ case 1:
42920
+ var value = /** @type {number} */ (reader.readInt32());
42921
+ msg.setLimit(value);
42922
+ break;
42923
+ case 2:
42924
+ var value = /** @type {number} */ (reader.readInt32());
42925
+ msg.setOffset(value);
42926
+ break;
42927
+ case 3:
42928
+ var value = /** @type {string} */ (reader.readString());
42929
+ msg.setTitle(value);
42930
+ break;
42931
+ case 4:
42932
+ var value = /** @type {boolean} */ (reader.readBool());
42933
+ msg.setIsActive(value);
42934
+ break;
42935
+ case 5:
42936
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
42937
+ for (var i = 0; i < values.length; i++) {
42938
+ msg.addIds(values[i]);
42939
+ }
42940
+ break;
42941
+ default:
42942
+ reader.skipField();
42943
+ break;
42944
+ }
42945
+ }
42946
+ return msg;
42947
+ };
42948
+
42949
+
42950
+ /**
42951
+ * Serializes the message to binary data (in protobuf wire format).
42952
+ * @return {!Uint8Array}
42953
+ */
42954
+ proto.game.MultiScopeListRequest.prototype.serializeBinary = function() {
42955
+ var writer = new jspb.BinaryWriter();
42956
+ proto.game.MultiScopeListRequest.serializeBinaryToWriter(this, writer);
42957
+ return writer.getResultBuffer();
42958
+ };
42959
+
42960
+
42961
+ /**
42962
+ * Serializes the given message to binary data (in protobuf wire
42963
+ * format), writing to the given BinaryWriter.
42964
+ * @param {!proto.game.MultiScopeListRequest} message
42965
+ * @param {!jspb.BinaryWriter} writer
42966
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42967
+ */
42968
+ proto.game.MultiScopeListRequest.serializeBinaryToWriter = function(message, writer) {
42969
+ var f = undefined;
42970
+ f = message.getLimit();
42971
+ if (f !== 0) {
42972
+ writer.writeInt32(
42973
+ 1,
42974
+ f
42975
+ );
42976
+ }
42977
+ f = message.getOffset();
42978
+ if (f !== 0) {
42979
+ writer.writeInt32(
42980
+ 2,
42981
+ f
42982
+ );
42983
+ }
42984
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
42985
+ if (f != null) {
42986
+ writer.writeString(
42987
+ 3,
42988
+ f
42989
+ );
42990
+ }
42991
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
42992
+ if (f != null) {
42993
+ writer.writeBool(
42994
+ 4,
42995
+ f
42996
+ );
42997
+ }
42998
+ f = message.getIdsList();
42999
+ if (f.length > 0) {
43000
+ writer.writePackedInt32(
43001
+ 5,
43002
+ f
43003
+ );
43004
+ }
43005
+ };
43006
+
43007
+
43008
+ /**
43009
+ * optional int32 limit = 1;
43010
+ * @return {number}
43011
+ */
43012
+ proto.game.MultiScopeListRequest.prototype.getLimit = function() {
43013
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
43014
+ };
43015
+
43016
+
43017
+ /**
43018
+ * @param {number} value
43019
+ * @return {!proto.game.MultiScopeListRequest} returns this
43020
+ */
43021
+ proto.game.MultiScopeListRequest.prototype.setLimit = function(value) {
43022
+ return jspb.Message.setProto3IntField(this, 1, value);
43023
+ };
43024
+
43025
+
43026
+ /**
43027
+ * optional int32 offset = 2;
43028
+ * @return {number}
43029
+ */
43030
+ proto.game.MultiScopeListRequest.prototype.getOffset = function() {
43031
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
43032
+ };
43033
+
43034
+
43035
+ /**
43036
+ * @param {number} value
43037
+ * @return {!proto.game.MultiScopeListRequest} returns this
43038
+ */
43039
+ proto.game.MultiScopeListRequest.prototype.setOffset = function(value) {
43040
+ return jspb.Message.setProto3IntField(this, 2, value);
43041
+ };
43042
+
43043
+
43044
+ /**
43045
+ * optional string title = 3;
43046
+ * @return {string}
43047
+ */
43048
+ proto.game.MultiScopeListRequest.prototype.getTitle = function() {
43049
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
43050
+ };
43051
+
43052
+
43053
+ /**
43054
+ * @param {string} value
43055
+ * @return {!proto.game.MultiScopeListRequest} returns this
43056
+ */
43057
+ proto.game.MultiScopeListRequest.prototype.setTitle = function(value) {
43058
+ return jspb.Message.setField(this, 3, value);
43059
+ };
43060
+
43061
+
43062
+ /**
43063
+ * Clears the field making it undefined.
43064
+ * @return {!proto.game.MultiScopeListRequest} returns this
43065
+ */
43066
+ proto.game.MultiScopeListRequest.prototype.clearTitle = function() {
43067
+ return jspb.Message.setField(this, 3, undefined);
43068
+ };
43069
+
43070
+
43071
+ /**
43072
+ * Returns whether this field is set.
43073
+ * @return {boolean}
43074
+ */
43075
+ proto.game.MultiScopeListRequest.prototype.hasTitle = function() {
43076
+ return jspb.Message.getField(this, 3) != null;
43077
+ };
43078
+
43079
+
43080
+ /**
43081
+ * optional bool is_active = 4;
43082
+ * @return {boolean}
43083
+ */
43084
+ proto.game.MultiScopeListRequest.prototype.getIsActive = function() {
43085
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
43086
+ };
43087
+
43088
+
43089
+ /**
43090
+ * @param {boolean} value
43091
+ * @return {!proto.game.MultiScopeListRequest} returns this
43092
+ */
43093
+ proto.game.MultiScopeListRequest.prototype.setIsActive = function(value) {
43094
+ return jspb.Message.setField(this, 4, value);
43095
+ };
43096
+
43097
+
43098
+ /**
43099
+ * Clears the field making it undefined.
43100
+ * @return {!proto.game.MultiScopeListRequest} returns this
43101
+ */
43102
+ proto.game.MultiScopeListRequest.prototype.clearIsActive = function() {
43103
+ return jspb.Message.setField(this, 4, undefined);
43104
+ };
43105
+
43106
+
43107
+ /**
43108
+ * Returns whether this field is set.
43109
+ * @return {boolean}
43110
+ */
43111
+ proto.game.MultiScopeListRequest.prototype.hasIsActive = function() {
43112
+ return jspb.Message.getField(this, 4) != null;
43113
+ };
43114
+
43115
+
43116
+ /**
43117
+ * repeated int32 ids = 5;
43118
+ * @return {!Array<number>}
43119
+ */
43120
+ proto.game.MultiScopeListRequest.prototype.getIdsList = function() {
43121
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
43122
+ };
43123
+
43124
+
43125
+ /**
43126
+ * @param {!Array<number>} value
43127
+ * @return {!proto.game.MultiScopeListRequest} returns this
43128
+ */
43129
+ proto.game.MultiScopeListRequest.prototype.setIdsList = function(value) {
43130
+ return jspb.Message.setField(this, 5, value || []);
43131
+ };
43132
+
43133
+
43134
+ /**
43135
+ * @param {number} value
43136
+ * @param {number=} opt_index
43137
+ * @return {!proto.game.MultiScopeListRequest} returns this
43138
+ */
43139
+ proto.game.MultiScopeListRequest.prototype.addIds = function(value, opt_index) {
43140
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
43141
+ };
43142
+
43143
+
43144
+ /**
43145
+ * Clears the list making it empty but non-null.
43146
+ * @return {!proto.game.MultiScopeListRequest} returns this
43147
+ */
43148
+ proto.game.MultiScopeListRequest.prototype.clearIdsList = function() {
43149
+ return this.setIdsList([]);
43150
+ };
43151
+
43152
+
43153
+
43154
+ /**
43155
+ * List of repeated fields within this message type.
43156
+ * @private {!Array<number>}
43157
+ * @const
43158
+ */
43159
+ proto.game.MultiScopeMembersRequest.repeatedFields_ = [2,3];
43160
+
43161
+
43162
+
43163
+ if (jspb.Message.GENERATE_TO_OBJECT) {
43164
+ /**
43165
+ * Creates an object representation of this proto.
43166
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
43167
+ * Optional fields that are not set will be set to undefined.
43168
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
43169
+ * For the list of reserved names please see:
43170
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
43171
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
43172
+ * JSPB instance for transitional soy proto support:
43173
+ * http://goto/soy-param-migration
43174
+ * @return {!Object}
43175
+ */
43176
+ proto.game.MultiScopeMembersRequest.prototype.toObject = function(opt_includeInstance) {
43177
+ return proto.game.MultiScopeMembersRequest.toObject(opt_includeInstance, this);
43178
+ };
43179
+
43180
+
43181
+ /**
43182
+ * Static version of the {@see toObject} method.
43183
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43184
+ * the JSPB instance for transitional soy proto support:
43185
+ * http://goto/soy-param-migration
43186
+ * @param {!proto.game.MultiScopeMembersRequest} msg The msg instance to transform.
43187
+ * @return {!Object}
43188
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43189
+ */
43190
+ proto.game.MultiScopeMembersRequest.toObject = function(includeInstance, msg) {
43191
+ var f, obj = {
43192
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
43193
+ collectionIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
43194
+ tagIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
43195
+ };
43196
+
43197
+ if (includeInstance) {
43198
+ obj.$jspbMessageInstance = msg;
43199
+ }
43200
+ return obj;
43201
+ };
43202
+ }
43203
+
43204
+
43205
+ /**
43206
+ * Deserializes binary data (in protobuf wire format).
43207
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43208
+ * @return {!proto.game.MultiScopeMembersRequest}
43209
+ */
43210
+ proto.game.MultiScopeMembersRequest.deserializeBinary = function(bytes) {
43211
+ var reader = new jspb.BinaryReader(bytes);
43212
+ var msg = new proto.game.MultiScopeMembersRequest;
43213
+ return proto.game.MultiScopeMembersRequest.deserializeBinaryFromReader(msg, reader);
43214
+ };
43215
+
43216
+
43217
+ /**
43218
+ * Deserializes binary data (in protobuf wire format) from the
43219
+ * given reader into the given message object.
43220
+ * @param {!proto.game.MultiScopeMembersRequest} msg The message object to deserialize into.
43221
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43222
+ * @return {!proto.game.MultiScopeMembersRequest}
43223
+ */
43224
+ proto.game.MultiScopeMembersRequest.deserializeBinaryFromReader = function(msg, reader) {
43225
+ while (reader.nextField()) {
43226
+ if (reader.isEndGroup()) {
43227
+ break;
43228
+ }
43229
+ var field = reader.getFieldNumber();
43230
+ switch (field) {
43231
+ case 1:
43232
+ var value = /** @type {number} */ (reader.readInt32());
43233
+ msg.setId(value);
43234
+ break;
43235
+ case 2:
43236
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
43237
+ for (var i = 0; i < values.length; i++) {
43238
+ msg.addCollectionIds(values[i]);
43239
+ }
43240
+ break;
43241
+ case 3:
43242
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
43243
+ for (var i = 0; i < values.length; i++) {
43244
+ msg.addTagIds(values[i]);
43245
+ }
43246
+ break;
43247
+ default:
43248
+ reader.skipField();
43249
+ break;
43250
+ }
43251
+ }
43252
+ return msg;
43253
+ };
43254
+
43255
+
43256
+ /**
43257
+ * Serializes the message to binary data (in protobuf wire format).
43258
+ * @return {!Uint8Array}
43259
+ */
43260
+ proto.game.MultiScopeMembersRequest.prototype.serializeBinary = function() {
43261
+ var writer = new jspb.BinaryWriter();
43262
+ proto.game.MultiScopeMembersRequest.serializeBinaryToWriter(this, writer);
43263
+ return writer.getResultBuffer();
43264
+ };
43265
+
43266
+
43267
+ /**
43268
+ * Serializes the given message to binary data (in protobuf wire
43269
+ * format), writing to the given BinaryWriter.
43270
+ * @param {!proto.game.MultiScopeMembersRequest} message
43271
+ * @param {!jspb.BinaryWriter} writer
43272
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43273
+ */
43274
+ proto.game.MultiScopeMembersRequest.serializeBinaryToWriter = function(message, writer) {
43275
+ var f = undefined;
43276
+ f = message.getId();
43277
+ if (f !== 0) {
43278
+ writer.writeInt32(
43279
+ 1,
43280
+ f
43281
+ );
43282
+ }
43283
+ f = message.getCollectionIdsList();
43284
+ if (f.length > 0) {
43285
+ writer.writePackedInt32(
43286
+ 2,
43287
+ f
43288
+ );
43289
+ }
43290
+ f = message.getTagIdsList();
43291
+ if (f.length > 0) {
43292
+ writer.writePackedInt32(
43293
+ 3,
43294
+ f
43295
+ );
43296
+ }
43297
+ };
43298
+
43299
+
43300
+ /**
43301
+ * optional int32 id = 1;
43302
+ * @return {number}
43303
+ */
43304
+ proto.game.MultiScopeMembersRequest.prototype.getId = function() {
43305
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
43306
+ };
43307
+
43308
+
43309
+ /**
43310
+ * @param {number} value
43311
+ * @return {!proto.game.MultiScopeMembersRequest} returns this
43312
+ */
43313
+ proto.game.MultiScopeMembersRequest.prototype.setId = function(value) {
43314
+ return jspb.Message.setProto3IntField(this, 1, value);
43315
+ };
43316
+
43317
+
43318
+ /**
43319
+ * repeated int32 collection_ids = 2;
43320
+ * @return {!Array<number>}
43321
+ */
43322
+ proto.game.MultiScopeMembersRequest.prototype.getCollectionIdsList = function() {
43323
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
43324
+ };
43325
+
43326
+
43327
+ /**
43328
+ * @param {!Array<number>} value
43329
+ * @return {!proto.game.MultiScopeMembersRequest} returns this
43330
+ */
43331
+ proto.game.MultiScopeMembersRequest.prototype.setCollectionIdsList = function(value) {
43332
+ return jspb.Message.setField(this, 2, value || []);
43333
+ };
43334
+
43335
+
43336
+ /**
43337
+ * @param {number} value
43338
+ * @param {number=} opt_index
43339
+ * @return {!proto.game.MultiScopeMembersRequest} returns this
43340
+ */
43341
+ proto.game.MultiScopeMembersRequest.prototype.addCollectionIds = function(value, opt_index) {
43342
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
43343
+ };
43344
+
43345
+
43346
+ /**
43347
+ * Clears the list making it empty but non-null.
43348
+ * @return {!proto.game.MultiScopeMembersRequest} returns this
43349
+ */
43350
+ proto.game.MultiScopeMembersRequest.prototype.clearCollectionIdsList = function() {
43351
+ return this.setCollectionIdsList([]);
43352
+ };
43353
+
43354
+
43355
+ /**
43356
+ * repeated int32 tag_ids = 3;
43357
+ * @return {!Array<number>}
43358
+ */
43359
+ proto.game.MultiScopeMembersRequest.prototype.getTagIdsList = function() {
43360
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
43361
+ };
43362
+
43363
+
43364
+ /**
43365
+ * @param {!Array<number>} value
43366
+ * @return {!proto.game.MultiScopeMembersRequest} returns this
43367
+ */
43368
+ proto.game.MultiScopeMembersRequest.prototype.setTagIdsList = function(value) {
43369
+ return jspb.Message.setField(this, 3, value || []);
43370
+ };
43371
+
43372
+
43373
+ /**
43374
+ * @param {number} value
43375
+ * @param {number=} opt_index
43376
+ * @return {!proto.game.MultiScopeMembersRequest} returns this
43377
+ */
43378
+ proto.game.MultiScopeMembersRequest.prototype.addTagIds = function(value, opt_index) {
43379
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
43380
+ };
43381
+
43382
+
43383
+ /**
43384
+ * Clears the list making it empty but non-null.
43385
+ * @return {!proto.game.MultiScopeMembersRequest} returns this
43386
+ */
43387
+ proto.game.MultiScopeMembersRequest.prototype.clearTagIdsList = function() {
43388
+ return this.setTagIdsList([]);
43389
+ };
43390
+
43391
+
43392
+
43393
+
43394
+
43395
+ if (jspb.Message.GENERATE_TO_OBJECT) {
43396
+ /**
43397
+ * Creates an object representation of this proto.
43398
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
43399
+ * Optional fields that are not set will be set to undefined.
43400
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
43401
+ * For the list of reserved names please see:
43402
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
43403
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
43404
+ * JSPB instance for transitional soy proto support:
43405
+ * http://goto/soy-param-migration
43406
+ * @return {!Object}
43407
+ */
43408
+ proto.game.MultiScopeResponse.prototype.toObject = function(opt_includeInstance) {
43409
+ return proto.game.MultiScopeResponse.toObject(opt_includeInstance, this);
43410
+ };
43411
+
43412
+
43413
+ /**
43414
+ * Static version of the {@see toObject} method.
43415
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43416
+ * the JSPB instance for transitional soy proto support:
43417
+ * http://goto/soy-param-migration
43418
+ * @param {!proto.game.MultiScopeResponse} msg The msg instance to transform.
43419
+ * @return {!Object}
43420
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43421
+ */
43422
+ proto.game.MultiScopeResponse.toObject = function(includeInstance, msg) {
43423
+ var f, obj = {
43424
+ data: (f = msg.getData()) && proto.game.MultiScopeItem.toObject(includeInstance, f)
43425
+ };
43426
+
43427
+ if (includeInstance) {
43428
+ obj.$jspbMessageInstance = msg;
43429
+ }
43430
+ return obj;
43431
+ };
43432
+ }
43433
+
43434
+
43435
+ /**
43436
+ * Deserializes binary data (in protobuf wire format).
43437
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43438
+ * @return {!proto.game.MultiScopeResponse}
43439
+ */
43440
+ proto.game.MultiScopeResponse.deserializeBinary = function(bytes) {
43441
+ var reader = new jspb.BinaryReader(bytes);
43442
+ var msg = new proto.game.MultiScopeResponse;
43443
+ return proto.game.MultiScopeResponse.deserializeBinaryFromReader(msg, reader);
43444
+ };
43445
+
43446
+
43447
+ /**
43448
+ * Deserializes binary data (in protobuf wire format) from the
43449
+ * given reader into the given message object.
43450
+ * @param {!proto.game.MultiScopeResponse} msg The message object to deserialize into.
43451
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43452
+ * @return {!proto.game.MultiScopeResponse}
43453
+ */
43454
+ proto.game.MultiScopeResponse.deserializeBinaryFromReader = function(msg, reader) {
43455
+ while (reader.nextField()) {
43456
+ if (reader.isEndGroup()) {
43457
+ break;
43458
+ }
43459
+ var field = reader.getFieldNumber();
43460
+ switch (field) {
43461
+ case 1:
43462
+ var value = new proto.game.MultiScopeItem;
43463
+ reader.readMessage(value,proto.game.MultiScopeItem.deserializeBinaryFromReader);
43464
+ msg.setData(value);
43465
+ break;
43466
+ default:
43467
+ reader.skipField();
43468
+ break;
43469
+ }
43470
+ }
43471
+ return msg;
43472
+ };
43473
+
43474
+
43475
+ /**
43476
+ * Serializes the message to binary data (in protobuf wire format).
43477
+ * @return {!Uint8Array}
43478
+ */
43479
+ proto.game.MultiScopeResponse.prototype.serializeBinary = function() {
43480
+ var writer = new jspb.BinaryWriter();
43481
+ proto.game.MultiScopeResponse.serializeBinaryToWriter(this, writer);
43482
+ return writer.getResultBuffer();
43483
+ };
43484
+
43485
+
43486
+ /**
43487
+ * Serializes the given message to binary data (in protobuf wire
43488
+ * format), writing to the given BinaryWriter.
43489
+ * @param {!proto.game.MultiScopeResponse} message
43490
+ * @param {!jspb.BinaryWriter} writer
43491
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43492
+ */
43493
+ proto.game.MultiScopeResponse.serializeBinaryToWriter = function(message, writer) {
43494
+ var f = undefined;
43495
+ f = message.getData();
43496
+ if (f != null) {
43497
+ writer.writeMessage(
43498
+ 1,
43499
+ f,
43500
+ proto.game.MultiScopeItem.serializeBinaryToWriter
43501
+ );
43502
+ }
43503
+ };
43504
+
43505
+
43506
+ /**
43507
+ * optional MultiScopeItem data = 1;
43508
+ * @return {?proto.game.MultiScopeItem}
43509
+ */
43510
+ proto.game.MultiScopeResponse.prototype.getData = function() {
43511
+ return /** @type{?proto.game.MultiScopeItem} */ (
43512
+ jspb.Message.getWrapperField(this, proto.game.MultiScopeItem, 1));
43513
+ };
43514
+
43515
+
43516
+ /**
43517
+ * @param {?proto.game.MultiScopeItem|undefined} value
43518
+ * @return {!proto.game.MultiScopeResponse} returns this
43519
+ */
43520
+ proto.game.MultiScopeResponse.prototype.setData = function(value) {
43521
+ return jspb.Message.setWrapperField(this, 1, value);
43522
+ };
43523
+
43524
+
43525
+ /**
43526
+ * Clears the message field making it undefined.
43527
+ * @return {!proto.game.MultiScopeResponse} returns this
43528
+ */
43529
+ proto.game.MultiScopeResponse.prototype.clearData = function() {
43530
+ return this.setData(undefined);
43531
+ };
43532
+
43533
+
43534
+ /**
43535
+ * Returns whether this field is set.
43536
+ * @return {boolean}
43537
+ */
43538
+ proto.game.MultiScopeResponse.prototype.hasData = function() {
43539
+ return jspb.Message.getField(this, 1) != null;
43540
+ };
43541
+
43542
+
43543
+
43544
+ /**
43545
+ * List of repeated fields within this message type.
43546
+ * @private {!Array<number>}
43547
+ * @const
43548
+ */
43549
+ proto.game.MultiScopeItemsResponse.repeatedFields_ = [1];
43550
+
43551
+
43552
+
43553
+ if (jspb.Message.GENERATE_TO_OBJECT) {
43554
+ /**
43555
+ * Creates an object representation of this proto.
43556
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
43557
+ * Optional fields that are not set will be set to undefined.
43558
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
43559
+ * For the list of reserved names please see:
43560
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
43561
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
43562
+ * JSPB instance for transitional soy proto support:
43563
+ * http://goto/soy-param-migration
43564
+ * @return {!Object}
43565
+ */
43566
+ proto.game.MultiScopeItemsResponse.prototype.toObject = function(opt_includeInstance) {
43567
+ return proto.game.MultiScopeItemsResponse.toObject(opt_includeInstance, this);
43568
+ };
43569
+
43570
+
43571
+ /**
43572
+ * Static version of the {@see toObject} method.
43573
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43574
+ * the JSPB instance for transitional soy proto support:
43575
+ * http://goto/soy-param-migration
43576
+ * @param {!proto.game.MultiScopeItemsResponse} msg The msg instance to transform.
43577
+ * @return {!Object}
43578
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43579
+ */
43580
+ proto.game.MultiScopeItemsResponse.toObject = function(includeInstance, msg) {
43581
+ var f, obj = {
43582
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
43583
+ proto.game.MultiScopeItem.toObject, includeInstance),
43584
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
43585
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
43586
+ };
43587
+
43588
+ if (includeInstance) {
43589
+ obj.$jspbMessageInstance = msg;
43590
+ }
43591
+ return obj;
43592
+ };
43593
+ }
43594
+
43595
+
43596
+ /**
43597
+ * Deserializes binary data (in protobuf wire format).
43598
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43599
+ * @return {!proto.game.MultiScopeItemsResponse}
43600
+ */
43601
+ proto.game.MultiScopeItemsResponse.deserializeBinary = function(bytes) {
43602
+ var reader = new jspb.BinaryReader(bytes);
43603
+ var msg = new proto.game.MultiScopeItemsResponse;
43604
+ return proto.game.MultiScopeItemsResponse.deserializeBinaryFromReader(msg, reader);
43605
+ };
43606
+
43607
+
43608
+ /**
43609
+ * Deserializes binary data (in protobuf wire format) from the
43610
+ * given reader into the given message object.
43611
+ * @param {!proto.game.MultiScopeItemsResponse} msg The message object to deserialize into.
43612
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43613
+ * @return {!proto.game.MultiScopeItemsResponse}
43614
+ */
43615
+ proto.game.MultiScopeItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
43616
+ while (reader.nextField()) {
43617
+ if (reader.isEndGroup()) {
43618
+ break;
43619
+ }
43620
+ var field = reader.getFieldNumber();
43621
+ switch (field) {
43622
+ case 1:
43623
+ var value = new proto.game.MultiScopeItem;
43624
+ reader.readMessage(value,proto.game.MultiScopeItem.deserializeBinaryFromReader);
43625
+ msg.addItems(value);
43626
+ break;
43627
+ case 2:
43628
+ var value = /** @type {number} */ (reader.readInt32());
43629
+ msg.setTotalPages(value);
43630
+ break;
43631
+ case 3:
43632
+ var value = /** @type {number} */ (reader.readInt32());
43633
+ msg.setTotalItems(value);
43634
+ break;
43635
+ default:
43636
+ reader.skipField();
43637
+ break;
43638
+ }
43639
+ }
43640
+ return msg;
43641
+ };
43642
+
43643
+
43644
+ /**
43645
+ * Serializes the message to binary data (in protobuf wire format).
43646
+ * @return {!Uint8Array}
43647
+ */
43648
+ proto.game.MultiScopeItemsResponse.prototype.serializeBinary = function() {
43649
+ var writer = new jspb.BinaryWriter();
43650
+ proto.game.MultiScopeItemsResponse.serializeBinaryToWriter(this, writer);
43651
+ return writer.getResultBuffer();
43652
+ };
43653
+
43654
+
43655
+ /**
43656
+ * Serializes the given message to binary data (in protobuf wire
43657
+ * format), writing to the given BinaryWriter.
43658
+ * @param {!proto.game.MultiScopeItemsResponse} message
43659
+ * @param {!jspb.BinaryWriter} writer
43660
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43661
+ */
43662
+ proto.game.MultiScopeItemsResponse.serializeBinaryToWriter = function(message, writer) {
43663
+ var f = undefined;
43664
+ f = message.getItemsList();
43665
+ if (f.length > 0) {
43666
+ writer.writeRepeatedMessage(
43667
+ 1,
43668
+ f,
43669
+ proto.game.MultiScopeItem.serializeBinaryToWriter
43670
+ );
43671
+ }
43672
+ f = message.getTotalPages();
43673
+ if (f !== 0) {
43674
+ writer.writeInt32(
43675
+ 2,
43676
+ f
43677
+ );
43678
+ }
43679
+ f = message.getTotalItems();
43680
+ if (f !== 0) {
43681
+ writer.writeInt32(
43682
+ 3,
43683
+ f
43684
+ );
43685
+ }
43686
+ };
43687
+
43688
+
43689
+ /**
43690
+ * repeated MultiScopeItem items = 1;
43691
+ * @return {!Array<!proto.game.MultiScopeItem>}
43692
+ */
43693
+ proto.game.MultiScopeItemsResponse.prototype.getItemsList = function() {
43694
+ return /** @type{!Array<!proto.game.MultiScopeItem>} */ (
43695
+ jspb.Message.getRepeatedWrapperField(this, proto.game.MultiScopeItem, 1));
43696
+ };
43697
+
43698
+
43699
+ /**
43700
+ * @param {!Array<!proto.game.MultiScopeItem>} value
43701
+ * @return {!proto.game.MultiScopeItemsResponse} returns this
43702
+ */
43703
+ proto.game.MultiScopeItemsResponse.prototype.setItemsList = function(value) {
43704
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
43705
+ };
43706
+
43707
+
43708
+ /**
43709
+ * @param {!proto.game.MultiScopeItem=} opt_value
43710
+ * @param {number=} opt_index
43711
+ * @return {!proto.game.MultiScopeItem}
43712
+ */
43713
+ proto.game.MultiScopeItemsResponse.prototype.addItems = function(opt_value, opt_index) {
43714
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.MultiScopeItem, opt_index);
43715
+ };
43716
+
43717
+
43718
+ /**
43719
+ * Clears the list making it empty but non-null.
43720
+ * @return {!proto.game.MultiScopeItemsResponse} returns this
43721
+ */
43722
+ proto.game.MultiScopeItemsResponse.prototype.clearItemsList = function() {
43723
+ return this.setItemsList([]);
43724
+ };
43725
+
43726
+
43727
+ /**
43728
+ * optional int32 total_pages = 2;
43729
+ * @return {number}
43730
+ */
43731
+ proto.game.MultiScopeItemsResponse.prototype.getTotalPages = function() {
43732
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
43733
+ };
43734
+
43735
+
43736
+ /**
43737
+ * @param {number} value
43738
+ * @return {!proto.game.MultiScopeItemsResponse} returns this
43739
+ */
43740
+ proto.game.MultiScopeItemsResponse.prototype.setTotalPages = function(value) {
43741
+ return jspb.Message.setProto3IntField(this, 2, value);
43742
+ };
43743
+
43744
+
43745
+ /**
43746
+ * optional int32 total_items = 3;
43747
+ * @return {number}
43748
+ */
43749
+ proto.game.MultiScopeItemsResponse.prototype.getTotalItems = function() {
43750
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
43751
+ };
43752
+
43753
+
43754
+ /**
43755
+ * @param {number} value
43756
+ * @return {!proto.game.MultiScopeItemsResponse} returns this
43757
+ */
43758
+ proto.game.MultiScopeItemsResponse.prototype.setTotalItems = function(value) {
43759
+ return jspb.Message.setProto3IntField(this, 3, value);
43760
+ };
43761
+
43762
+
43763
+
43764
+
43765
+
43766
+ if (jspb.Message.GENERATE_TO_OBJECT) {
43767
+ /**
43768
+ * Creates an object representation of this proto.
43769
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
43770
+ * Optional fields that are not set will be set to undefined.
43771
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
43772
+ * For the list of reserved names please see:
43773
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
43774
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
43775
+ * JSPB instance for transitional soy proto support:
43776
+ * http://goto/soy-param-migration
43777
+ * @return {!Object}
43778
+ */
43779
+ proto.game.MultiScopeStatusResponse.prototype.toObject = function(opt_includeInstance) {
43780
+ return proto.game.MultiScopeStatusResponse.toObject(opt_includeInstance, this);
43781
+ };
43782
+
43783
+
43784
+ /**
43785
+ * Static version of the {@see toObject} method.
43786
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43787
+ * the JSPB instance for transitional soy proto support:
43788
+ * http://goto/soy-param-migration
43789
+ * @param {!proto.game.MultiScopeStatusResponse} msg The msg instance to transform.
43790
+ * @return {!Object}
43791
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43792
+ */
43793
+ proto.game.MultiScopeStatusResponse.toObject = function(includeInstance, msg) {
43794
+ var f, obj = {
43795
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
43796
+ };
43797
+
43798
+ if (includeInstance) {
43799
+ obj.$jspbMessageInstance = msg;
43800
+ }
43801
+ return obj;
43802
+ };
43803
+ }
43804
+
43805
+
43806
+ /**
43807
+ * Deserializes binary data (in protobuf wire format).
43808
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43809
+ * @return {!proto.game.MultiScopeStatusResponse}
43810
+ */
43811
+ proto.game.MultiScopeStatusResponse.deserializeBinary = function(bytes) {
43812
+ var reader = new jspb.BinaryReader(bytes);
43813
+ var msg = new proto.game.MultiScopeStatusResponse;
43814
+ return proto.game.MultiScopeStatusResponse.deserializeBinaryFromReader(msg, reader);
43815
+ };
43816
+
43817
+
43818
+ /**
43819
+ * Deserializes binary data (in protobuf wire format) from the
43820
+ * given reader into the given message object.
43821
+ * @param {!proto.game.MultiScopeStatusResponse} msg The message object to deserialize into.
43822
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43823
+ * @return {!proto.game.MultiScopeStatusResponse}
43824
+ */
43825
+ proto.game.MultiScopeStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
43826
+ while (reader.nextField()) {
43827
+ if (reader.isEndGroup()) {
43828
+ break;
43829
+ }
43830
+ var field = reader.getFieldNumber();
43831
+ switch (field) {
43832
+ case 1:
43833
+ var value = /** @type {string} */ (reader.readString());
43834
+ msg.setStatus(value);
43835
+ break;
43836
+ default:
43837
+ reader.skipField();
43838
+ break;
43839
+ }
43840
+ }
43841
+ return msg;
43842
+ };
43843
+
43844
+
43845
+ /**
43846
+ * Serializes the message to binary data (in protobuf wire format).
43847
+ * @return {!Uint8Array}
43848
+ */
43849
+ proto.game.MultiScopeStatusResponse.prototype.serializeBinary = function() {
43850
+ var writer = new jspb.BinaryWriter();
43851
+ proto.game.MultiScopeStatusResponse.serializeBinaryToWriter(this, writer);
43852
+ return writer.getResultBuffer();
43853
+ };
43854
+
43855
+
43856
+ /**
43857
+ * Serializes the given message to binary data (in protobuf wire
43858
+ * format), writing to the given BinaryWriter.
43859
+ * @param {!proto.game.MultiScopeStatusResponse} message
43860
+ * @param {!jspb.BinaryWriter} writer
43861
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43862
+ */
43863
+ proto.game.MultiScopeStatusResponse.serializeBinaryToWriter = function(message, writer) {
43864
+ var f = undefined;
43865
+ f = message.getStatus();
43866
+ if (f.length > 0) {
43867
+ writer.writeString(
43868
+ 1,
43869
+ f
43870
+ );
43871
+ }
43872
+ };
43873
+
43874
+
43875
+ /**
43876
+ * optional string status = 1;
43877
+ * @return {string}
43878
+ */
43879
+ proto.game.MultiScopeStatusResponse.prototype.getStatus = function() {
43880
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
43881
+ };
43882
+
43883
+
43884
+ /**
43885
+ * @param {string} value
43886
+ * @return {!proto.game.MultiScopeStatusResponse} returns this
43887
+ */
43888
+ proto.game.MultiScopeStatusResponse.prototype.setStatus = function(value) {
43889
+ return jspb.Message.setProto3StringField(this, 1, value);
43890
+ };
43891
+
43892
+
43893
+
43894
+
43895
+
40826
43896
  if (jspb.Message.GENERATE_TO_OBJECT) {
40827
43897
  /**
40828
43898
  * Creates an object representation of this proto.