protobuf-platform 1.2.112 → 1.2.114

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/cms/cms_pb.js CHANGED
@@ -47,6 +47,15 @@ goog.exportSymbol('proto.cms.FooterApplicationsRequest', null, global);
47
47
  goog.exportSymbol('proto.cms.FooterApplicationsRequest.PayloadCase', null, global);
48
48
  goog.exportSymbol('proto.cms.FooterApplicationsResponse', null, global);
49
49
  goog.exportSymbol('proto.cms.FooterApplicationsStatusResponse', null, global);
50
+ goog.exportSymbol('proto.cms.FooterBrandCoreBrief', null, global);
51
+ goog.exportSymbol('proto.cms.FooterBrandCoreFile', null, global);
52
+ goog.exportSymbol('proto.cms.FooterBrandCoreItem', null, global);
53
+ goog.exportSymbol('proto.cms.FooterBrandCoreItemRequest', null, global);
54
+ goog.exportSymbol('proto.cms.FooterBrandCoreItemsResponse', null, global);
55
+ goog.exportSymbol('proto.cms.FooterBrandCoreRequest', null, global);
56
+ goog.exportSymbol('proto.cms.FooterBrandCoreRequest.PayloadCase', null, global);
57
+ goog.exportSymbol('proto.cms.FooterBrandCoreResponse', null, global);
58
+ goog.exportSymbol('proto.cms.FooterBrandCoreStatusResponse', null, global);
50
59
  goog.exportSymbol('proto.cms.FooterMainTextItem', null, global);
51
60
  goog.exportSymbol('proto.cms.FooterMainTextItemRequest', null, global);
52
61
  goog.exportSymbol('proto.cms.FooterMainTextItemsResponse', null, global);
@@ -82,6 +91,7 @@ goog.exportSymbol('proto.cms.GetBannerRequest', null, global);
82
91
  goog.exportSymbol('proto.cms.GetBurgerMenuWidgetRequest', null, global);
83
92
  goog.exportSymbol('proto.cms.GetFileRequest', null, global);
84
93
  goog.exportSymbol('proto.cms.GetFooterApplicationsRequest', null, global);
94
+ goog.exportSymbol('proto.cms.GetFooterBrandCoreRequest', null, global);
85
95
  goog.exportSymbol('proto.cms.GetFooterMainTextRequest', null, global);
86
96
  goog.exportSymbol('proto.cms.GetFooterMainTextTranslationRequest', null, global);
87
97
  goog.exportSymbol('proto.cms.GetFooterPartnersRequest', null, global);
@@ -2138,6 +2148,195 @@ if (goog.DEBUG && !COMPILED) {
2138
2148
  */
2139
2149
  proto.cms.GetFooterApplicationsRequest.displayName = 'proto.cms.GetFooterApplicationsRequest';
2140
2150
  }
2151
+ /**
2152
+ * Generated by JsPbCodeGenerator.
2153
+ * @param {Array=} opt_data Optional initial data array, typically from a
2154
+ * server response, or constructed directly in Javascript. The array is used
2155
+ * in place and becomes part of the constructed object. It is not cloned.
2156
+ * If no data is provided, the constructed object will be empty, but still
2157
+ * valid.
2158
+ * @extends {jspb.Message}
2159
+ * @constructor
2160
+ */
2161
+ proto.cms.FooterBrandCoreItem = function(opt_data) {
2162
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterBrandCoreItem.repeatedFields_, null);
2163
+ };
2164
+ goog.inherits(proto.cms.FooterBrandCoreItem, jspb.Message);
2165
+ if (goog.DEBUG && !COMPILED) {
2166
+ /**
2167
+ * @public
2168
+ * @override
2169
+ */
2170
+ proto.cms.FooterBrandCoreItem.displayName = 'proto.cms.FooterBrandCoreItem';
2171
+ }
2172
+ /**
2173
+ * Generated by JsPbCodeGenerator.
2174
+ * @param {Array=} opt_data Optional initial data array, typically from a
2175
+ * server response, or constructed directly in Javascript. The array is used
2176
+ * in place and becomes part of the constructed object. It is not cloned.
2177
+ * If no data is provided, the constructed object will be empty, but still
2178
+ * valid.
2179
+ * @extends {jspb.Message}
2180
+ * @constructor
2181
+ */
2182
+ proto.cms.FooterBrandCoreItemRequest = function(opt_data) {
2183
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterBrandCoreItemRequest.repeatedFields_, null);
2184
+ };
2185
+ goog.inherits(proto.cms.FooterBrandCoreItemRequest, jspb.Message);
2186
+ if (goog.DEBUG && !COMPILED) {
2187
+ /**
2188
+ * @public
2189
+ * @override
2190
+ */
2191
+ proto.cms.FooterBrandCoreItemRequest.displayName = 'proto.cms.FooterBrandCoreItemRequest';
2192
+ }
2193
+ /**
2194
+ * Generated by JsPbCodeGenerator.
2195
+ * @param {Array=} opt_data Optional initial data array, typically from a
2196
+ * server response, or constructed directly in Javascript. The array is used
2197
+ * in place and becomes part of the constructed object. It is not cloned.
2198
+ * If no data is provided, the constructed object will be empty, but still
2199
+ * valid.
2200
+ * @extends {jspb.Message}
2201
+ * @constructor
2202
+ */
2203
+ proto.cms.FooterBrandCoreFile = function(opt_data) {
2204
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2205
+ };
2206
+ goog.inherits(proto.cms.FooterBrandCoreFile, jspb.Message);
2207
+ if (goog.DEBUG && !COMPILED) {
2208
+ /**
2209
+ * @public
2210
+ * @override
2211
+ */
2212
+ proto.cms.FooterBrandCoreFile.displayName = 'proto.cms.FooterBrandCoreFile';
2213
+ }
2214
+ /**
2215
+ * Generated by JsPbCodeGenerator.
2216
+ * @param {Array=} opt_data Optional initial data array, typically from a
2217
+ * server response, or constructed directly in Javascript. The array is used
2218
+ * in place and becomes part of the constructed object. It is not cloned.
2219
+ * If no data is provided, the constructed object will be empty, but still
2220
+ * valid.
2221
+ * @extends {jspb.Message}
2222
+ * @constructor
2223
+ */
2224
+ proto.cms.FooterBrandCoreRequest = function(opt_data) {
2225
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.cms.FooterBrandCoreRequest.oneofGroups_);
2226
+ };
2227
+ goog.inherits(proto.cms.FooterBrandCoreRequest, jspb.Message);
2228
+ if (goog.DEBUG && !COMPILED) {
2229
+ /**
2230
+ * @public
2231
+ * @override
2232
+ */
2233
+ proto.cms.FooterBrandCoreRequest.displayName = 'proto.cms.FooterBrandCoreRequest';
2234
+ }
2235
+ /**
2236
+ * Generated by JsPbCodeGenerator.
2237
+ * @param {Array=} opt_data Optional initial data array, typically from a
2238
+ * server response, or constructed directly in Javascript. The array is used
2239
+ * in place and becomes part of the constructed object. It is not cloned.
2240
+ * If no data is provided, the constructed object will be empty, but still
2241
+ * valid.
2242
+ * @extends {jspb.Message}
2243
+ * @constructor
2244
+ */
2245
+ proto.cms.FooterBrandCoreResponse = function(opt_data) {
2246
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2247
+ };
2248
+ goog.inherits(proto.cms.FooterBrandCoreResponse, jspb.Message);
2249
+ if (goog.DEBUG && !COMPILED) {
2250
+ /**
2251
+ * @public
2252
+ * @override
2253
+ */
2254
+ proto.cms.FooterBrandCoreResponse.displayName = 'proto.cms.FooterBrandCoreResponse';
2255
+ }
2256
+ /**
2257
+ * Generated by JsPbCodeGenerator.
2258
+ * @param {Array=} opt_data Optional initial data array, typically from a
2259
+ * server response, or constructed directly in Javascript. The array is used
2260
+ * in place and becomes part of the constructed object. It is not cloned.
2261
+ * If no data is provided, the constructed object will be empty, but still
2262
+ * valid.
2263
+ * @extends {jspb.Message}
2264
+ * @constructor
2265
+ */
2266
+ proto.cms.FooterBrandCoreItemsResponse = function(opt_data) {
2267
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterBrandCoreItemsResponse.repeatedFields_, null);
2268
+ };
2269
+ goog.inherits(proto.cms.FooterBrandCoreItemsResponse, jspb.Message);
2270
+ if (goog.DEBUG && !COMPILED) {
2271
+ /**
2272
+ * @public
2273
+ * @override
2274
+ */
2275
+ proto.cms.FooterBrandCoreItemsResponse.displayName = 'proto.cms.FooterBrandCoreItemsResponse';
2276
+ }
2277
+ /**
2278
+ * Generated by JsPbCodeGenerator.
2279
+ * @param {Array=} opt_data Optional initial data array, typically from a
2280
+ * server response, or constructed directly in Javascript. The array is used
2281
+ * in place and becomes part of the constructed object. It is not cloned.
2282
+ * If no data is provided, the constructed object will be empty, but still
2283
+ * valid.
2284
+ * @extends {jspb.Message}
2285
+ * @constructor
2286
+ */
2287
+ proto.cms.FooterBrandCoreStatusResponse = function(opt_data) {
2288
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2289
+ };
2290
+ goog.inherits(proto.cms.FooterBrandCoreStatusResponse, jspb.Message);
2291
+ if (goog.DEBUG && !COMPILED) {
2292
+ /**
2293
+ * @public
2294
+ * @override
2295
+ */
2296
+ proto.cms.FooterBrandCoreStatusResponse.displayName = 'proto.cms.FooterBrandCoreStatusResponse';
2297
+ }
2298
+ /**
2299
+ * Generated by JsPbCodeGenerator.
2300
+ * @param {Array=} opt_data Optional initial data array, typically from a
2301
+ * server response, or constructed directly in Javascript. The array is used
2302
+ * in place and becomes part of the constructed object. It is not cloned.
2303
+ * If no data is provided, the constructed object will be empty, but still
2304
+ * valid.
2305
+ * @extends {jspb.Message}
2306
+ * @constructor
2307
+ */
2308
+ proto.cms.GetFooterBrandCoreRequest = function(opt_data) {
2309
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2310
+ };
2311
+ goog.inherits(proto.cms.GetFooterBrandCoreRequest, jspb.Message);
2312
+ if (goog.DEBUG && !COMPILED) {
2313
+ /**
2314
+ * @public
2315
+ * @override
2316
+ */
2317
+ proto.cms.GetFooterBrandCoreRequest.displayName = 'proto.cms.GetFooterBrandCoreRequest';
2318
+ }
2319
+ /**
2320
+ * Generated by JsPbCodeGenerator.
2321
+ * @param {Array=} opt_data Optional initial data array, typically from a
2322
+ * server response, or constructed directly in Javascript. The array is used
2323
+ * in place and becomes part of the constructed object. It is not cloned.
2324
+ * If no data is provided, the constructed object will be empty, but still
2325
+ * valid.
2326
+ * @extends {jspb.Message}
2327
+ * @constructor
2328
+ */
2329
+ proto.cms.FooterBrandCoreBrief = function(opt_data) {
2330
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2331
+ };
2332
+ goog.inherits(proto.cms.FooterBrandCoreBrief, jspb.Message);
2333
+ if (goog.DEBUG && !COMPILED) {
2334
+ /**
2335
+ * @public
2336
+ * @override
2337
+ */
2338
+ proto.cms.FooterBrandCoreBrief.displayName = 'proto.cms.FooterBrandCoreBrief';
2339
+ }
2141
2340
 
2142
2341
 
2143
2342
 
@@ -25815,4 +26014,2281 @@ proto.cms.GetFooterApplicationsRequest.prototype.hasId = function() {
25815
26014
  };
25816
26015
 
25817
26016
 
26017
+
26018
+ /**
26019
+ * List of repeated fields within this message type.
26020
+ * @private {!Array<number>}
26021
+ * @const
26022
+ */
26023
+ proto.cms.FooterBrandCoreItem.repeatedFields_ = [7,8,9,10];
26024
+
26025
+
26026
+
26027
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26028
+ /**
26029
+ * Creates an object representation of this proto.
26030
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26031
+ * Optional fields that are not set will be set to undefined.
26032
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26033
+ * For the list of reserved names please see:
26034
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
26035
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
26036
+ * JSPB instance for transitional soy proto support:
26037
+ * http://goto/soy-param-migration
26038
+ * @return {!Object}
26039
+ */
26040
+ proto.cms.FooterBrandCoreItem.prototype.toObject = function(opt_includeInstance) {
26041
+ return proto.cms.FooterBrandCoreItem.toObject(opt_includeInstance, this);
26042
+ };
26043
+
26044
+
26045
+ /**
26046
+ * Static version of the {@see toObject} method.
26047
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
26048
+ * the JSPB instance for transitional soy proto support:
26049
+ * http://goto/soy-param-migration
26050
+ * @param {!proto.cms.FooterBrandCoreItem} msg The msg instance to transform.
26051
+ * @return {!Object}
26052
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26053
+ */
26054
+ proto.cms.FooterBrandCoreItem.toObject = function(includeInstance, msg) {
26055
+ var f, obj = {
26056
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
26057
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
26058
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
26059
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
26060
+ logo: jspb.Message.getFieldWithDefault(msg, 5, ""),
26061
+ logoCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
26062
+ columnsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
26063
+ promosList: jspb.Message.toObjectList(msg.getPromosList(),
26064
+ proto.cms.FooterBrandCoreBrief.toObject, includeInstance),
26065
+ gamesList: jspb.Message.toObjectList(msg.getGamesList(),
26066
+ proto.cms.FooterBrandCoreBrief.toObject, includeInstance),
26067
+ pagesList: jspb.Message.toObjectList(msg.getPagesList(),
26068
+ proto.cms.FooterBrandCoreBrief.toObject, includeInstance)
26069
+ };
26070
+
26071
+ if (includeInstance) {
26072
+ obj.$jspbMessageInstance = msg;
26073
+ }
26074
+ return obj;
26075
+ };
26076
+ }
26077
+
26078
+
26079
+ /**
26080
+ * Deserializes binary data (in protobuf wire format).
26081
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
26082
+ * @return {!proto.cms.FooterBrandCoreItem}
26083
+ */
26084
+ proto.cms.FooterBrandCoreItem.deserializeBinary = function(bytes) {
26085
+ var reader = new jspb.BinaryReader(bytes);
26086
+ var msg = new proto.cms.FooterBrandCoreItem;
26087
+ return proto.cms.FooterBrandCoreItem.deserializeBinaryFromReader(msg, reader);
26088
+ };
26089
+
26090
+
26091
+ /**
26092
+ * Deserializes binary data (in protobuf wire format) from the
26093
+ * given reader into the given message object.
26094
+ * @param {!proto.cms.FooterBrandCoreItem} msg The message object to deserialize into.
26095
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
26096
+ * @return {!proto.cms.FooterBrandCoreItem}
26097
+ */
26098
+ proto.cms.FooterBrandCoreItem.deserializeBinaryFromReader = function(msg, reader) {
26099
+ while (reader.nextField()) {
26100
+ if (reader.isEndGroup()) {
26101
+ break;
26102
+ }
26103
+ var field = reader.getFieldNumber();
26104
+ switch (field) {
26105
+ case 1:
26106
+ var value = /** @type {number} */ (reader.readInt32());
26107
+ msg.setId(value);
26108
+ break;
26109
+ case 2:
26110
+ var value = /** @type {string} */ (reader.readString());
26111
+ msg.setGeo(value);
26112
+ break;
26113
+ case 3:
26114
+ var value = /** @type {string} */ (reader.readString());
26115
+ msg.setTitle(value);
26116
+ break;
26117
+ case 4:
26118
+ var value = /** @type {number} */ (reader.readInt32());
26119
+ msg.setIsActive(value);
26120
+ break;
26121
+ case 5:
26122
+ var value = /** @type {string} */ (reader.readString());
26123
+ msg.setLogo(value);
26124
+ break;
26125
+ case 6:
26126
+ var value = /** @type {string} */ (reader.readString());
26127
+ msg.setLogoCdn(value);
26128
+ break;
26129
+ case 7:
26130
+ var value = /** @type {string} */ (reader.readString());
26131
+ msg.addColumns(value);
26132
+ break;
26133
+ case 8:
26134
+ var value = new proto.cms.FooterBrandCoreBrief;
26135
+ reader.readMessage(value,proto.cms.FooterBrandCoreBrief.deserializeBinaryFromReader);
26136
+ msg.addPromos(value);
26137
+ break;
26138
+ case 9:
26139
+ var value = new proto.cms.FooterBrandCoreBrief;
26140
+ reader.readMessage(value,proto.cms.FooterBrandCoreBrief.deserializeBinaryFromReader);
26141
+ msg.addGames(value);
26142
+ break;
26143
+ case 10:
26144
+ var value = new proto.cms.FooterBrandCoreBrief;
26145
+ reader.readMessage(value,proto.cms.FooterBrandCoreBrief.deserializeBinaryFromReader);
26146
+ msg.addPages(value);
26147
+ break;
26148
+ default:
26149
+ reader.skipField();
26150
+ break;
26151
+ }
26152
+ }
26153
+ return msg;
26154
+ };
26155
+
26156
+
26157
+ /**
26158
+ * Serializes the message to binary data (in protobuf wire format).
26159
+ * @return {!Uint8Array}
26160
+ */
26161
+ proto.cms.FooterBrandCoreItem.prototype.serializeBinary = function() {
26162
+ var writer = new jspb.BinaryWriter();
26163
+ proto.cms.FooterBrandCoreItem.serializeBinaryToWriter(this, writer);
26164
+ return writer.getResultBuffer();
26165
+ };
26166
+
26167
+
26168
+ /**
26169
+ * Serializes the given message to binary data (in protobuf wire
26170
+ * format), writing to the given BinaryWriter.
26171
+ * @param {!proto.cms.FooterBrandCoreItem} message
26172
+ * @param {!jspb.BinaryWriter} writer
26173
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26174
+ */
26175
+ proto.cms.FooterBrandCoreItem.serializeBinaryToWriter = function(message, writer) {
26176
+ var f = undefined;
26177
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
26178
+ if (f != null) {
26179
+ writer.writeInt32(
26180
+ 1,
26181
+ f
26182
+ );
26183
+ }
26184
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
26185
+ if (f != null) {
26186
+ writer.writeString(
26187
+ 2,
26188
+ f
26189
+ );
26190
+ }
26191
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
26192
+ if (f != null) {
26193
+ writer.writeString(
26194
+ 3,
26195
+ f
26196
+ );
26197
+ }
26198
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
26199
+ if (f != null) {
26200
+ writer.writeInt32(
26201
+ 4,
26202
+ f
26203
+ );
26204
+ }
26205
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
26206
+ if (f != null) {
26207
+ writer.writeString(
26208
+ 5,
26209
+ f
26210
+ );
26211
+ }
26212
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
26213
+ if (f != null) {
26214
+ writer.writeString(
26215
+ 6,
26216
+ f
26217
+ );
26218
+ }
26219
+ f = message.getColumnsList();
26220
+ if (f.length > 0) {
26221
+ writer.writeRepeatedString(
26222
+ 7,
26223
+ f
26224
+ );
26225
+ }
26226
+ f = message.getPromosList();
26227
+ if (f.length > 0) {
26228
+ writer.writeRepeatedMessage(
26229
+ 8,
26230
+ f,
26231
+ proto.cms.FooterBrandCoreBrief.serializeBinaryToWriter
26232
+ );
26233
+ }
26234
+ f = message.getGamesList();
26235
+ if (f.length > 0) {
26236
+ writer.writeRepeatedMessage(
26237
+ 9,
26238
+ f,
26239
+ proto.cms.FooterBrandCoreBrief.serializeBinaryToWriter
26240
+ );
26241
+ }
26242
+ f = message.getPagesList();
26243
+ if (f.length > 0) {
26244
+ writer.writeRepeatedMessage(
26245
+ 10,
26246
+ f,
26247
+ proto.cms.FooterBrandCoreBrief.serializeBinaryToWriter
26248
+ );
26249
+ }
26250
+ };
26251
+
26252
+
26253
+ /**
26254
+ * optional int32 id = 1;
26255
+ * @return {number}
26256
+ */
26257
+ proto.cms.FooterBrandCoreItem.prototype.getId = function() {
26258
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
26259
+ };
26260
+
26261
+
26262
+ /**
26263
+ * @param {number} value
26264
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26265
+ */
26266
+ proto.cms.FooterBrandCoreItem.prototype.setId = function(value) {
26267
+ return jspb.Message.setField(this, 1, value);
26268
+ };
26269
+
26270
+
26271
+ /**
26272
+ * Clears the field making it undefined.
26273
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26274
+ */
26275
+ proto.cms.FooterBrandCoreItem.prototype.clearId = function() {
26276
+ return jspb.Message.setField(this, 1, undefined);
26277
+ };
26278
+
26279
+
26280
+ /**
26281
+ * Returns whether this field is set.
26282
+ * @return {boolean}
26283
+ */
26284
+ proto.cms.FooterBrandCoreItem.prototype.hasId = function() {
26285
+ return jspb.Message.getField(this, 1) != null;
26286
+ };
26287
+
26288
+
26289
+ /**
26290
+ * optional string geo = 2;
26291
+ * @return {string}
26292
+ */
26293
+ proto.cms.FooterBrandCoreItem.prototype.getGeo = function() {
26294
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
26295
+ };
26296
+
26297
+
26298
+ /**
26299
+ * @param {string} value
26300
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26301
+ */
26302
+ proto.cms.FooterBrandCoreItem.prototype.setGeo = function(value) {
26303
+ return jspb.Message.setField(this, 2, value);
26304
+ };
26305
+
26306
+
26307
+ /**
26308
+ * Clears the field making it undefined.
26309
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26310
+ */
26311
+ proto.cms.FooterBrandCoreItem.prototype.clearGeo = function() {
26312
+ return jspb.Message.setField(this, 2, undefined);
26313
+ };
26314
+
26315
+
26316
+ /**
26317
+ * Returns whether this field is set.
26318
+ * @return {boolean}
26319
+ */
26320
+ proto.cms.FooterBrandCoreItem.prototype.hasGeo = function() {
26321
+ return jspb.Message.getField(this, 2) != null;
26322
+ };
26323
+
26324
+
26325
+ /**
26326
+ * optional string title = 3;
26327
+ * @return {string}
26328
+ */
26329
+ proto.cms.FooterBrandCoreItem.prototype.getTitle = function() {
26330
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
26331
+ };
26332
+
26333
+
26334
+ /**
26335
+ * @param {string} value
26336
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26337
+ */
26338
+ proto.cms.FooterBrandCoreItem.prototype.setTitle = function(value) {
26339
+ return jspb.Message.setField(this, 3, value);
26340
+ };
26341
+
26342
+
26343
+ /**
26344
+ * Clears the field making it undefined.
26345
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26346
+ */
26347
+ proto.cms.FooterBrandCoreItem.prototype.clearTitle = function() {
26348
+ return jspb.Message.setField(this, 3, undefined);
26349
+ };
26350
+
26351
+
26352
+ /**
26353
+ * Returns whether this field is set.
26354
+ * @return {boolean}
26355
+ */
26356
+ proto.cms.FooterBrandCoreItem.prototype.hasTitle = function() {
26357
+ return jspb.Message.getField(this, 3) != null;
26358
+ };
26359
+
26360
+
26361
+ /**
26362
+ * optional int32 is_active = 4;
26363
+ * @return {number}
26364
+ */
26365
+ proto.cms.FooterBrandCoreItem.prototype.getIsActive = function() {
26366
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
26367
+ };
26368
+
26369
+
26370
+ /**
26371
+ * @param {number} value
26372
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26373
+ */
26374
+ proto.cms.FooterBrandCoreItem.prototype.setIsActive = function(value) {
26375
+ return jspb.Message.setField(this, 4, value);
26376
+ };
26377
+
26378
+
26379
+ /**
26380
+ * Clears the field making it undefined.
26381
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26382
+ */
26383
+ proto.cms.FooterBrandCoreItem.prototype.clearIsActive = function() {
26384
+ return jspb.Message.setField(this, 4, undefined);
26385
+ };
26386
+
26387
+
26388
+ /**
26389
+ * Returns whether this field is set.
26390
+ * @return {boolean}
26391
+ */
26392
+ proto.cms.FooterBrandCoreItem.prototype.hasIsActive = function() {
26393
+ return jspb.Message.getField(this, 4) != null;
26394
+ };
26395
+
26396
+
26397
+ /**
26398
+ * optional string logo = 5;
26399
+ * @return {string}
26400
+ */
26401
+ proto.cms.FooterBrandCoreItem.prototype.getLogo = function() {
26402
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
26403
+ };
26404
+
26405
+
26406
+ /**
26407
+ * @param {string} value
26408
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26409
+ */
26410
+ proto.cms.FooterBrandCoreItem.prototype.setLogo = function(value) {
26411
+ return jspb.Message.setField(this, 5, value);
26412
+ };
26413
+
26414
+
26415
+ /**
26416
+ * Clears the field making it undefined.
26417
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26418
+ */
26419
+ proto.cms.FooterBrandCoreItem.prototype.clearLogo = function() {
26420
+ return jspb.Message.setField(this, 5, undefined);
26421
+ };
26422
+
26423
+
26424
+ /**
26425
+ * Returns whether this field is set.
26426
+ * @return {boolean}
26427
+ */
26428
+ proto.cms.FooterBrandCoreItem.prototype.hasLogo = function() {
26429
+ return jspb.Message.getField(this, 5) != null;
26430
+ };
26431
+
26432
+
26433
+ /**
26434
+ * optional string logo_cdn = 6;
26435
+ * @return {string}
26436
+ */
26437
+ proto.cms.FooterBrandCoreItem.prototype.getLogoCdn = function() {
26438
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
26439
+ };
26440
+
26441
+
26442
+ /**
26443
+ * @param {string} value
26444
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26445
+ */
26446
+ proto.cms.FooterBrandCoreItem.prototype.setLogoCdn = function(value) {
26447
+ return jspb.Message.setField(this, 6, value);
26448
+ };
26449
+
26450
+
26451
+ /**
26452
+ * Clears the field making it undefined.
26453
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26454
+ */
26455
+ proto.cms.FooterBrandCoreItem.prototype.clearLogoCdn = function() {
26456
+ return jspb.Message.setField(this, 6, undefined);
26457
+ };
26458
+
26459
+
26460
+ /**
26461
+ * Returns whether this field is set.
26462
+ * @return {boolean}
26463
+ */
26464
+ proto.cms.FooterBrandCoreItem.prototype.hasLogoCdn = function() {
26465
+ return jspb.Message.getField(this, 6) != null;
26466
+ };
26467
+
26468
+
26469
+ /**
26470
+ * repeated string columns = 7;
26471
+ * @return {!Array<string>}
26472
+ */
26473
+ proto.cms.FooterBrandCoreItem.prototype.getColumnsList = function() {
26474
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
26475
+ };
26476
+
26477
+
26478
+ /**
26479
+ * @param {!Array<string>} value
26480
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26481
+ */
26482
+ proto.cms.FooterBrandCoreItem.prototype.setColumnsList = function(value) {
26483
+ return jspb.Message.setField(this, 7, value || []);
26484
+ };
26485
+
26486
+
26487
+ /**
26488
+ * @param {string} value
26489
+ * @param {number=} opt_index
26490
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26491
+ */
26492
+ proto.cms.FooterBrandCoreItem.prototype.addColumns = function(value, opt_index) {
26493
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
26494
+ };
26495
+
26496
+
26497
+ /**
26498
+ * Clears the list making it empty but non-null.
26499
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26500
+ */
26501
+ proto.cms.FooterBrandCoreItem.prototype.clearColumnsList = function() {
26502
+ return this.setColumnsList([]);
26503
+ };
26504
+
26505
+
26506
+ /**
26507
+ * repeated FooterBrandCoreBrief promos = 8;
26508
+ * @return {!Array<!proto.cms.FooterBrandCoreBrief>}
26509
+ */
26510
+ proto.cms.FooterBrandCoreItem.prototype.getPromosList = function() {
26511
+ return /** @type{!Array<!proto.cms.FooterBrandCoreBrief>} */ (
26512
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterBrandCoreBrief, 8));
26513
+ };
26514
+
26515
+
26516
+ /**
26517
+ * @param {!Array<!proto.cms.FooterBrandCoreBrief>} value
26518
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26519
+ */
26520
+ proto.cms.FooterBrandCoreItem.prototype.setPromosList = function(value) {
26521
+ return jspb.Message.setRepeatedWrapperField(this, 8, value);
26522
+ };
26523
+
26524
+
26525
+ /**
26526
+ * @param {!proto.cms.FooterBrandCoreBrief=} opt_value
26527
+ * @param {number=} opt_index
26528
+ * @return {!proto.cms.FooterBrandCoreBrief}
26529
+ */
26530
+ proto.cms.FooterBrandCoreItem.prototype.addPromos = function(opt_value, opt_index) {
26531
+ return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.cms.FooterBrandCoreBrief, opt_index);
26532
+ };
26533
+
26534
+
26535
+ /**
26536
+ * Clears the list making it empty but non-null.
26537
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26538
+ */
26539
+ proto.cms.FooterBrandCoreItem.prototype.clearPromosList = function() {
26540
+ return this.setPromosList([]);
26541
+ };
26542
+
26543
+
26544
+ /**
26545
+ * repeated FooterBrandCoreBrief games = 9;
26546
+ * @return {!Array<!proto.cms.FooterBrandCoreBrief>}
26547
+ */
26548
+ proto.cms.FooterBrandCoreItem.prototype.getGamesList = function() {
26549
+ return /** @type{!Array<!proto.cms.FooterBrandCoreBrief>} */ (
26550
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterBrandCoreBrief, 9));
26551
+ };
26552
+
26553
+
26554
+ /**
26555
+ * @param {!Array<!proto.cms.FooterBrandCoreBrief>} value
26556
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26557
+ */
26558
+ proto.cms.FooterBrandCoreItem.prototype.setGamesList = function(value) {
26559
+ return jspb.Message.setRepeatedWrapperField(this, 9, value);
26560
+ };
26561
+
26562
+
26563
+ /**
26564
+ * @param {!proto.cms.FooterBrandCoreBrief=} opt_value
26565
+ * @param {number=} opt_index
26566
+ * @return {!proto.cms.FooterBrandCoreBrief}
26567
+ */
26568
+ proto.cms.FooterBrandCoreItem.prototype.addGames = function(opt_value, opt_index) {
26569
+ return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.cms.FooterBrandCoreBrief, opt_index);
26570
+ };
26571
+
26572
+
26573
+ /**
26574
+ * Clears the list making it empty but non-null.
26575
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26576
+ */
26577
+ proto.cms.FooterBrandCoreItem.prototype.clearGamesList = function() {
26578
+ return this.setGamesList([]);
26579
+ };
26580
+
26581
+
26582
+ /**
26583
+ * repeated FooterBrandCoreBrief pages = 10;
26584
+ * @return {!Array<!proto.cms.FooterBrandCoreBrief>}
26585
+ */
26586
+ proto.cms.FooterBrandCoreItem.prototype.getPagesList = function() {
26587
+ return /** @type{!Array<!proto.cms.FooterBrandCoreBrief>} */ (
26588
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterBrandCoreBrief, 10));
26589
+ };
26590
+
26591
+
26592
+ /**
26593
+ * @param {!Array<!proto.cms.FooterBrandCoreBrief>} value
26594
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26595
+ */
26596
+ proto.cms.FooterBrandCoreItem.prototype.setPagesList = function(value) {
26597
+ return jspb.Message.setRepeatedWrapperField(this, 10, value);
26598
+ };
26599
+
26600
+
26601
+ /**
26602
+ * @param {!proto.cms.FooterBrandCoreBrief=} opt_value
26603
+ * @param {number=} opt_index
26604
+ * @return {!proto.cms.FooterBrandCoreBrief}
26605
+ */
26606
+ proto.cms.FooterBrandCoreItem.prototype.addPages = function(opt_value, opt_index) {
26607
+ return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.cms.FooterBrandCoreBrief, opt_index);
26608
+ };
26609
+
26610
+
26611
+ /**
26612
+ * Clears the list making it empty but non-null.
26613
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26614
+ */
26615
+ proto.cms.FooterBrandCoreItem.prototype.clearPagesList = function() {
26616
+ return this.setPagesList([]);
26617
+ };
26618
+
26619
+
26620
+
26621
+ /**
26622
+ * List of repeated fields within this message type.
26623
+ * @private {!Array<number>}
26624
+ * @const
26625
+ */
26626
+ proto.cms.FooterBrandCoreItemRequest.repeatedFields_ = [5];
26627
+
26628
+
26629
+
26630
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26631
+ /**
26632
+ * Creates an object representation of this proto.
26633
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26634
+ * Optional fields that are not set will be set to undefined.
26635
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26636
+ * For the list of reserved names please see:
26637
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
26638
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
26639
+ * JSPB instance for transitional soy proto support:
26640
+ * http://goto/soy-param-migration
26641
+ * @return {!Object}
26642
+ */
26643
+ proto.cms.FooterBrandCoreItemRequest.prototype.toObject = function(opt_includeInstance) {
26644
+ return proto.cms.FooterBrandCoreItemRequest.toObject(opt_includeInstance, this);
26645
+ };
26646
+
26647
+
26648
+ /**
26649
+ * Static version of the {@see toObject} method.
26650
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
26651
+ * the JSPB instance for transitional soy proto support:
26652
+ * http://goto/soy-param-migration
26653
+ * @param {!proto.cms.FooterBrandCoreItemRequest} msg The msg instance to transform.
26654
+ * @return {!Object}
26655
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26656
+ */
26657
+ proto.cms.FooterBrandCoreItemRequest.toObject = function(includeInstance, msg) {
26658
+ var f, obj = {
26659
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
26660
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
26661
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
26662
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
26663
+ columnsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
26664
+ };
26665
+
26666
+ if (includeInstance) {
26667
+ obj.$jspbMessageInstance = msg;
26668
+ }
26669
+ return obj;
26670
+ };
26671
+ }
26672
+
26673
+
26674
+ /**
26675
+ * Deserializes binary data (in protobuf wire format).
26676
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
26677
+ * @return {!proto.cms.FooterBrandCoreItemRequest}
26678
+ */
26679
+ proto.cms.FooterBrandCoreItemRequest.deserializeBinary = function(bytes) {
26680
+ var reader = new jspb.BinaryReader(bytes);
26681
+ var msg = new proto.cms.FooterBrandCoreItemRequest;
26682
+ return proto.cms.FooterBrandCoreItemRequest.deserializeBinaryFromReader(msg, reader);
26683
+ };
26684
+
26685
+
26686
+ /**
26687
+ * Deserializes binary data (in protobuf wire format) from the
26688
+ * given reader into the given message object.
26689
+ * @param {!proto.cms.FooterBrandCoreItemRequest} msg The message object to deserialize into.
26690
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
26691
+ * @return {!proto.cms.FooterBrandCoreItemRequest}
26692
+ */
26693
+ proto.cms.FooterBrandCoreItemRequest.deserializeBinaryFromReader = function(msg, reader) {
26694
+ while (reader.nextField()) {
26695
+ if (reader.isEndGroup()) {
26696
+ break;
26697
+ }
26698
+ var field = reader.getFieldNumber();
26699
+ switch (field) {
26700
+ case 1:
26701
+ var value = /** @type {number} */ (reader.readInt32());
26702
+ msg.setId(value);
26703
+ break;
26704
+ case 2:
26705
+ var value = /** @type {string} */ (reader.readString());
26706
+ msg.setGeo(value);
26707
+ break;
26708
+ case 3:
26709
+ var value = /** @type {string} */ (reader.readString());
26710
+ msg.setTitle(value);
26711
+ break;
26712
+ case 4:
26713
+ var value = /** @type {number} */ (reader.readInt32());
26714
+ msg.setIsActive(value);
26715
+ break;
26716
+ case 5:
26717
+ var value = /** @type {string} */ (reader.readString());
26718
+ msg.addColumns(value);
26719
+ break;
26720
+ default:
26721
+ reader.skipField();
26722
+ break;
26723
+ }
26724
+ }
26725
+ return msg;
26726
+ };
26727
+
26728
+
26729
+ /**
26730
+ * Serializes the message to binary data (in protobuf wire format).
26731
+ * @return {!Uint8Array}
26732
+ */
26733
+ proto.cms.FooterBrandCoreItemRequest.prototype.serializeBinary = function() {
26734
+ var writer = new jspb.BinaryWriter();
26735
+ proto.cms.FooterBrandCoreItemRequest.serializeBinaryToWriter(this, writer);
26736
+ return writer.getResultBuffer();
26737
+ };
26738
+
26739
+
26740
+ /**
26741
+ * Serializes the given message to binary data (in protobuf wire
26742
+ * format), writing to the given BinaryWriter.
26743
+ * @param {!proto.cms.FooterBrandCoreItemRequest} message
26744
+ * @param {!jspb.BinaryWriter} writer
26745
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26746
+ */
26747
+ proto.cms.FooterBrandCoreItemRequest.serializeBinaryToWriter = function(message, writer) {
26748
+ var f = undefined;
26749
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
26750
+ if (f != null) {
26751
+ writer.writeInt32(
26752
+ 1,
26753
+ f
26754
+ );
26755
+ }
26756
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
26757
+ if (f != null) {
26758
+ writer.writeString(
26759
+ 2,
26760
+ f
26761
+ );
26762
+ }
26763
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
26764
+ if (f != null) {
26765
+ writer.writeString(
26766
+ 3,
26767
+ f
26768
+ );
26769
+ }
26770
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
26771
+ if (f != null) {
26772
+ writer.writeInt32(
26773
+ 4,
26774
+ f
26775
+ );
26776
+ }
26777
+ f = message.getColumnsList();
26778
+ if (f.length > 0) {
26779
+ writer.writeRepeatedString(
26780
+ 5,
26781
+ f
26782
+ );
26783
+ }
26784
+ };
26785
+
26786
+
26787
+ /**
26788
+ * optional int32 id = 1;
26789
+ * @return {number}
26790
+ */
26791
+ proto.cms.FooterBrandCoreItemRequest.prototype.getId = function() {
26792
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
26793
+ };
26794
+
26795
+
26796
+ /**
26797
+ * @param {number} value
26798
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26799
+ */
26800
+ proto.cms.FooterBrandCoreItemRequest.prototype.setId = function(value) {
26801
+ return jspb.Message.setField(this, 1, value);
26802
+ };
26803
+
26804
+
26805
+ /**
26806
+ * Clears the field making it undefined.
26807
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26808
+ */
26809
+ proto.cms.FooterBrandCoreItemRequest.prototype.clearId = function() {
26810
+ return jspb.Message.setField(this, 1, undefined);
26811
+ };
26812
+
26813
+
26814
+ /**
26815
+ * Returns whether this field is set.
26816
+ * @return {boolean}
26817
+ */
26818
+ proto.cms.FooterBrandCoreItemRequest.prototype.hasId = function() {
26819
+ return jspb.Message.getField(this, 1) != null;
26820
+ };
26821
+
26822
+
26823
+ /**
26824
+ * optional string geo = 2;
26825
+ * @return {string}
26826
+ */
26827
+ proto.cms.FooterBrandCoreItemRequest.prototype.getGeo = function() {
26828
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
26829
+ };
26830
+
26831
+
26832
+ /**
26833
+ * @param {string} value
26834
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26835
+ */
26836
+ proto.cms.FooterBrandCoreItemRequest.prototype.setGeo = function(value) {
26837
+ return jspb.Message.setField(this, 2, value);
26838
+ };
26839
+
26840
+
26841
+ /**
26842
+ * Clears the field making it undefined.
26843
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26844
+ */
26845
+ proto.cms.FooterBrandCoreItemRequest.prototype.clearGeo = function() {
26846
+ return jspb.Message.setField(this, 2, undefined);
26847
+ };
26848
+
26849
+
26850
+ /**
26851
+ * Returns whether this field is set.
26852
+ * @return {boolean}
26853
+ */
26854
+ proto.cms.FooterBrandCoreItemRequest.prototype.hasGeo = function() {
26855
+ return jspb.Message.getField(this, 2) != null;
26856
+ };
26857
+
26858
+
26859
+ /**
26860
+ * optional string title = 3;
26861
+ * @return {string}
26862
+ */
26863
+ proto.cms.FooterBrandCoreItemRequest.prototype.getTitle = function() {
26864
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
26865
+ };
26866
+
26867
+
26868
+ /**
26869
+ * @param {string} value
26870
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26871
+ */
26872
+ proto.cms.FooterBrandCoreItemRequest.prototype.setTitle = function(value) {
26873
+ return jspb.Message.setField(this, 3, value);
26874
+ };
26875
+
26876
+
26877
+ /**
26878
+ * Clears the field making it undefined.
26879
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26880
+ */
26881
+ proto.cms.FooterBrandCoreItemRequest.prototype.clearTitle = function() {
26882
+ return jspb.Message.setField(this, 3, undefined);
26883
+ };
26884
+
26885
+
26886
+ /**
26887
+ * Returns whether this field is set.
26888
+ * @return {boolean}
26889
+ */
26890
+ proto.cms.FooterBrandCoreItemRequest.prototype.hasTitle = function() {
26891
+ return jspb.Message.getField(this, 3) != null;
26892
+ };
26893
+
26894
+
26895
+ /**
26896
+ * optional int32 is_active = 4;
26897
+ * @return {number}
26898
+ */
26899
+ proto.cms.FooterBrandCoreItemRequest.prototype.getIsActive = function() {
26900
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
26901
+ };
26902
+
26903
+
26904
+ /**
26905
+ * @param {number} value
26906
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26907
+ */
26908
+ proto.cms.FooterBrandCoreItemRequest.prototype.setIsActive = function(value) {
26909
+ return jspb.Message.setField(this, 4, value);
26910
+ };
26911
+
26912
+
26913
+ /**
26914
+ * Clears the field making it undefined.
26915
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26916
+ */
26917
+ proto.cms.FooterBrandCoreItemRequest.prototype.clearIsActive = function() {
26918
+ return jspb.Message.setField(this, 4, undefined);
26919
+ };
26920
+
26921
+
26922
+ /**
26923
+ * Returns whether this field is set.
26924
+ * @return {boolean}
26925
+ */
26926
+ proto.cms.FooterBrandCoreItemRequest.prototype.hasIsActive = function() {
26927
+ return jspb.Message.getField(this, 4) != null;
26928
+ };
26929
+
26930
+
26931
+ /**
26932
+ * repeated string columns = 5;
26933
+ * @return {!Array<string>}
26934
+ */
26935
+ proto.cms.FooterBrandCoreItemRequest.prototype.getColumnsList = function() {
26936
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
26937
+ };
26938
+
26939
+
26940
+ /**
26941
+ * @param {!Array<string>} value
26942
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26943
+ */
26944
+ proto.cms.FooterBrandCoreItemRequest.prototype.setColumnsList = function(value) {
26945
+ return jspb.Message.setField(this, 5, value || []);
26946
+ };
26947
+
26948
+
26949
+ /**
26950
+ * @param {string} value
26951
+ * @param {number=} opt_index
26952
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26953
+ */
26954
+ proto.cms.FooterBrandCoreItemRequest.prototype.addColumns = function(value, opt_index) {
26955
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
26956
+ };
26957
+
26958
+
26959
+ /**
26960
+ * Clears the list making it empty but non-null.
26961
+ * @return {!proto.cms.FooterBrandCoreItemRequest} returns this
26962
+ */
26963
+ proto.cms.FooterBrandCoreItemRequest.prototype.clearColumnsList = function() {
26964
+ return this.setColumnsList([]);
26965
+ };
26966
+
26967
+
26968
+
26969
+
26970
+
26971
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26972
+ /**
26973
+ * Creates an object representation of this proto.
26974
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26975
+ * Optional fields that are not set will be set to undefined.
26976
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26977
+ * For the list of reserved names please see:
26978
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
26979
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
26980
+ * JSPB instance for transitional soy proto support:
26981
+ * http://goto/soy-param-migration
26982
+ * @return {!Object}
26983
+ */
26984
+ proto.cms.FooterBrandCoreFile.prototype.toObject = function(opt_includeInstance) {
26985
+ return proto.cms.FooterBrandCoreFile.toObject(opt_includeInstance, this);
26986
+ };
26987
+
26988
+
26989
+ /**
26990
+ * Static version of the {@see toObject} method.
26991
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
26992
+ * the JSPB instance for transitional soy proto support:
26993
+ * http://goto/soy-param-migration
26994
+ * @param {!proto.cms.FooterBrandCoreFile} msg The msg instance to transform.
26995
+ * @return {!Object}
26996
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26997
+ */
26998
+ proto.cms.FooterBrandCoreFile.toObject = function(includeInstance, msg) {
26999
+ var f, obj = {
27000
+ file: (f = msg.getFile()) && proto.cms.File.toObject(includeInstance, f)
27001
+ };
27002
+
27003
+ if (includeInstance) {
27004
+ obj.$jspbMessageInstance = msg;
27005
+ }
27006
+ return obj;
27007
+ };
27008
+ }
27009
+
27010
+
27011
+ /**
27012
+ * Deserializes binary data (in protobuf wire format).
27013
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
27014
+ * @return {!proto.cms.FooterBrandCoreFile}
27015
+ */
27016
+ proto.cms.FooterBrandCoreFile.deserializeBinary = function(bytes) {
27017
+ var reader = new jspb.BinaryReader(bytes);
27018
+ var msg = new proto.cms.FooterBrandCoreFile;
27019
+ return proto.cms.FooterBrandCoreFile.deserializeBinaryFromReader(msg, reader);
27020
+ };
27021
+
27022
+
27023
+ /**
27024
+ * Deserializes binary data (in protobuf wire format) from the
27025
+ * given reader into the given message object.
27026
+ * @param {!proto.cms.FooterBrandCoreFile} msg The message object to deserialize into.
27027
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27028
+ * @return {!proto.cms.FooterBrandCoreFile}
27029
+ */
27030
+ proto.cms.FooterBrandCoreFile.deserializeBinaryFromReader = function(msg, reader) {
27031
+ while (reader.nextField()) {
27032
+ if (reader.isEndGroup()) {
27033
+ break;
27034
+ }
27035
+ var field = reader.getFieldNumber();
27036
+ switch (field) {
27037
+ case 1:
27038
+ var value = new proto.cms.File;
27039
+ reader.readMessage(value,proto.cms.File.deserializeBinaryFromReader);
27040
+ msg.setFile(value);
27041
+ break;
27042
+ default:
27043
+ reader.skipField();
27044
+ break;
27045
+ }
27046
+ }
27047
+ return msg;
27048
+ };
27049
+
27050
+
27051
+ /**
27052
+ * Serializes the message to binary data (in protobuf wire format).
27053
+ * @return {!Uint8Array}
27054
+ */
27055
+ proto.cms.FooterBrandCoreFile.prototype.serializeBinary = function() {
27056
+ var writer = new jspb.BinaryWriter();
27057
+ proto.cms.FooterBrandCoreFile.serializeBinaryToWriter(this, writer);
27058
+ return writer.getResultBuffer();
27059
+ };
27060
+
27061
+
27062
+ /**
27063
+ * Serializes the given message to binary data (in protobuf wire
27064
+ * format), writing to the given BinaryWriter.
27065
+ * @param {!proto.cms.FooterBrandCoreFile} message
27066
+ * @param {!jspb.BinaryWriter} writer
27067
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27068
+ */
27069
+ proto.cms.FooterBrandCoreFile.serializeBinaryToWriter = function(message, writer) {
27070
+ var f = undefined;
27071
+ f = message.getFile();
27072
+ if (f != null) {
27073
+ writer.writeMessage(
27074
+ 1,
27075
+ f,
27076
+ proto.cms.File.serializeBinaryToWriter
27077
+ );
27078
+ }
27079
+ };
27080
+
27081
+
27082
+ /**
27083
+ * optional File file = 1;
27084
+ * @return {?proto.cms.File}
27085
+ */
27086
+ proto.cms.FooterBrandCoreFile.prototype.getFile = function() {
27087
+ return /** @type{?proto.cms.File} */ (
27088
+ jspb.Message.getWrapperField(this, proto.cms.File, 1));
27089
+ };
27090
+
27091
+
27092
+ /**
27093
+ * @param {?proto.cms.File|undefined} value
27094
+ * @return {!proto.cms.FooterBrandCoreFile} returns this
27095
+ */
27096
+ proto.cms.FooterBrandCoreFile.prototype.setFile = function(value) {
27097
+ return jspb.Message.setWrapperField(this, 1, value);
27098
+ };
27099
+
27100
+
27101
+ /**
27102
+ * Clears the message field making it undefined.
27103
+ * @return {!proto.cms.FooterBrandCoreFile} returns this
27104
+ */
27105
+ proto.cms.FooterBrandCoreFile.prototype.clearFile = function() {
27106
+ return this.setFile(undefined);
27107
+ };
27108
+
27109
+
27110
+ /**
27111
+ * Returns whether this field is set.
27112
+ * @return {boolean}
27113
+ */
27114
+ proto.cms.FooterBrandCoreFile.prototype.hasFile = function() {
27115
+ return jspb.Message.getField(this, 1) != null;
27116
+ };
27117
+
27118
+
27119
+
27120
+ /**
27121
+ * Oneof group definitions for this message. Each group defines the field
27122
+ * numbers belonging to that group. When of these fields' value is set, all
27123
+ * other fields in the group are cleared. During deserialization, if multiple
27124
+ * fields are encountered for a group, only the last value seen will be kept.
27125
+ * @private {!Array<!Array<number>>}
27126
+ * @const
27127
+ */
27128
+ proto.cms.FooterBrandCoreRequest.oneofGroups_ = [[1,2]];
27129
+
27130
+ /**
27131
+ * @enum {number}
27132
+ */
27133
+ proto.cms.FooterBrandCoreRequest.PayloadCase = {
27134
+ PAYLOAD_NOT_SET: 0,
27135
+ BRANDCORE_DATA: 1,
27136
+ BRANDCORE_FILE: 2
27137
+ };
27138
+
27139
+ /**
27140
+ * @return {proto.cms.FooterBrandCoreRequest.PayloadCase}
27141
+ */
27142
+ proto.cms.FooterBrandCoreRequest.prototype.getPayloadCase = function() {
27143
+ return /** @type {proto.cms.FooterBrandCoreRequest.PayloadCase} */(jspb.Message.computeOneofCase(this, proto.cms.FooterBrandCoreRequest.oneofGroups_[0]));
27144
+ };
27145
+
27146
+
27147
+
27148
+ if (jspb.Message.GENERATE_TO_OBJECT) {
27149
+ /**
27150
+ * Creates an object representation of this proto.
27151
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
27152
+ * Optional fields that are not set will be set to undefined.
27153
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
27154
+ * For the list of reserved names please see:
27155
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
27156
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
27157
+ * JSPB instance for transitional soy proto support:
27158
+ * http://goto/soy-param-migration
27159
+ * @return {!Object}
27160
+ */
27161
+ proto.cms.FooterBrandCoreRequest.prototype.toObject = function(opt_includeInstance) {
27162
+ return proto.cms.FooterBrandCoreRequest.toObject(opt_includeInstance, this);
27163
+ };
27164
+
27165
+
27166
+ /**
27167
+ * Static version of the {@see toObject} method.
27168
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
27169
+ * the JSPB instance for transitional soy proto support:
27170
+ * http://goto/soy-param-migration
27171
+ * @param {!proto.cms.FooterBrandCoreRequest} msg The msg instance to transform.
27172
+ * @return {!Object}
27173
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27174
+ */
27175
+ proto.cms.FooterBrandCoreRequest.toObject = function(includeInstance, msg) {
27176
+ var f, obj = {
27177
+ brandcoreData: (f = msg.getBrandcoreData()) && proto.cms.FooterBrandCoreItemRequest.toObject(includeInstance, f),
27178
+ brandcoreFile: (f = msg.getBrandcoreFile()) && proto.cms.FooterBrandCoreFile.toObject(includeInstance, f)
27179
+ };
27180
+
27181
+ if (includeInstance) {
27182
+ obj.$jspbMessageInstance = msg;
27183
+ }
27184
+ return obj;
27185
+ };
27186
+ }
27187
+
27188
+
27189
+ /**
27190
+ * Deserializes binary data (in protobuf wire format).
27191
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
27192
+ * @return {!proto.cms.FooterBrandCoreRequest}
27193
+ */
27194
+ proto.cms.FooterBrandCoreRequest.deserializeBinary = function(bytes) {
27195
+ var reader = new jspb.BinaryReader(bytes);
27196
+ var msg = new proto.cms.FooterBrandCoreRequest;
27197
+ return proto.cms.FooterBrandCoreRequest.deserializeBinaryFromReader(msg, reader);
27198
+ };
27199
+
27200
+
27201
+ /**
27202
+ * Deserializes binary data (in protobuf wire format) from the
27203
+ * given reader into the given message object.
27204
+ * @param {!proto.cms.FooterBrandCoreRequest} msg The message object to deserialize into.
27205
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27206
+ * @return {!proto.cms.FooterBrandCoreRequest}
27207
+ */
27208
+ proto.cms.FooterBrandCoreRequest.deserializeBinaryFromReader = function(msg, reader) {
27209
+ while (reader.nextField()) {
27210
+ if (reader.isEndGroup()) {
27211
+ break;
27212
+ }
27213
+ var field = reader.getFieldNumber();
27214
+ switch (field) {
27215
+ case 1:
27216
+ var value = new proto.cms.FooterBrandCoreItemRequest;
27217
+ reader.readMessage(value,proto.cms.FooterBrandCoreItemRequest.deserializeBinaryFromReader);
27218
+ msg.setBrandcoreData(value);
27219
+ break;
27220
+ case 2:
27221
+ var value = new proto.cms.FooterBrandCoreFile;
27222
+ reader.readMessage(value,proto.cms.FooterBrandCoreFile.deserializeBinaryFromReader);
27223
+ msg.setBrandcoreFile(value);
27224
+ break;
27225
+ default:
27226
+ reader.skipField();
27227
+ break;
27228
+ }
27229
+ }
27230
+ return msg;
27231
+ };
27232
+
27233
+
27234
+ /**
27235
+ * Serializes the message to binary data (in protobuf wire format).
27236
+ * @return {!Uint8Array}
27237
+ */
27238
+ proto.cms.FooterBrandCoreRequest.prototype.serializeBinary = function() {
27239
+ var writer = new jspb.BinaryWriter();
27240
+ proto.cms.FooterBrandCoreRequest.serializeBinaryToWriter(this, writer);
27241
+ return writer.getResultBuffer();
27242
+ };
27243
+
27244
+
27245
+ /**
27246
+ * Serializes the given message to binary data (in protobuf wire
27247
+ * format), writing to the given BinaryWriter.
27248
+ * @param {!proto.cms.FooterBrandCoreRequest} message
27249
+ * @param {!jspb.BinaryWriter} writer
27250
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27251
+ */
27252
+ proto.cms.FooterBrandCoreRequest.serializeBinaryToWriter = function(message, writer) {
27253
+ var f = undefined;
27254
+ f = message.getBrandcoreData();
27255
+ if (f != null) {
27256
+ writer.writeMessage(
27257
+ 1,
27258
+ f,
27259
+ proto.cms.FooterBrandCoreItemRequest.serializeBinaryToWriter
27260
+ );
27261
+ }
27262
+ f = message.getBrandcoreFile();
27263
+ if (f != null) {
27264
+ writer.writeMessage(
27265
+ 2,
27266
+ f,
27267
+ proto.cms.FooterBrandCoreFile.serializeBinaryToWriter
27268
+ );
27269
+ }
27270
+ };
27271
+
27272
+
27273
+ /**
27274
+ * optional FooterBrandCoreItemRequest brandcore_data = 1;
27275
+ * @return {?proto.cms.FooterBrandCoreItemRequest}
27276
+ */
27277
+ proto.cms.FooterBrandCoreRequest.prototype.getBrandcoreData = function() {
27278
+ return /** @type{?proto.cms.FooterBrandCoreItemRequest} */ (
27279
+ jspb.Message.getWrapperField(this, proto.cms.FooterBrandCoreItemRequest, 1));
27280
+ };
27281
+
27282
+
27283
+ /**
27284
+ * @param {?proto.cms.FooterBrandCoreItemRequest|undefined} value
27285
+ * @return {!proto.cms.FooterBrandCoreRequest} returns this
27286
+ */
27287
+ proto.cms.FooterBrandCoreRequest.prototype.setBrandcoreData = function(value) {
27288
+ return jspb.Message.setOneofWrapperField(this, 1, proto.cms.FooterBrandCoreRequest.oneofGroups_[0], value);
27289
+ };
27290
+
27291
+
27292
+ /**
27293
+ * Clears the message field making it undefined.
27294
+ * @return {!proto.cms.FooterBrandCoreRequest} returns this
27295
+ */
27296
+ proto.cms.FooterBrandCoreRequest.prototype.clearBrandcoreData = function() {
27297
+ return this.setBrandcoreData(undefined);
27298
+ };
27299
+
27300
+
27301
+ /**
27302
+ * Returns whether this field is set.
27303
+ * @return {boolean}
27304
+ */
27305
+ proto.cms.FooterBrandCoreRequest.prototype.hasBrandcoreData = function() {
27306
+ return jspb.Message.getField(this, 1) != null;
27307
+ };
27308
+
27309
+
27310
+ /**
27311
+ * optional FooterBrandCoreFile brandcore_file = 2;
27312
+ * @return {?proto.cms.FooterBrandCoreFile}
27313
+ */
27314
+ proto.cms.FooterBrandCoreRequest.prototype.getBrandcoreFile = function() {
27315
+ return /** @type{?proto.cms.FooterBrandCoreFile} */ (
27316
+ jspb.Message.getWrapperField(this, proto.cms.FooterBrandCoreFile, 2));
27317
+ };
27318
+
27319
+
27320
+ /**
27321
+ * @param {?proto.cms.FooterBrandCoreFile|undefined} value
27322
+ * @return {!proto.cms.FooterBrandCoreRequest} returns this
27323
+ */
27324
+ proto.cms.FooterBrandCoreRequest.prototype.setBrandcoreFile = function(value) {
27325
+ return jspb.Message.setOneofWrapperField(this, 2, proto.cms.FooterBrandCoreRequest.oneofGroups_[0], value);
27326
+ };
27327
+
27328
+
27329
+ /**
27330
+ * Clears the message field making it undefined.
27331
+ * @return {!proto.cms.FooterBrandCoreRequest} returns this
27332
+ */
27333
+ proto.cms.FooterBrandCoreRequest.prototype.clearBrandcoreFile = function() {
27334
+ return this.setBrandcoreFile(undefined);
27335
+ };
27336
+
27337
+
27338
+ /**
27339
+ * Returns whether this field is set.
27340
+ * @return {boolean}
27341
+ */
27342
+ proto.cms.FooterBrandCoreRequest.prototype.hasBrandcoreFile = function() {
27343
+ return jspb.Message.getField(this, 2) != null;
27344
+ };
27345
+
27346
+
27347
+
27348
+
27349
+
27350
+ if (jspb.Message.GENERATE_TO_OBJECT) {
27351
+ /**
27352
+ * Creates an object representation of this proto.
27353
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
27354
+ * Optional fields that are not set will be set to undefined.
27355
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
27356
+ * For the list of reserved names please see:
27357
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
27358
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
27359
+ * JSPB instance for transitional soy proto support:
27360
+ * http://goto/soy-param-migration
27361
+ * @return {!Object}
27362
+ */
27363
+ proto.cms.FooterBrandCoreResponse.prototype.toObject = function(opt_includeInstance) {
27364
+ return proto.cms.FooterBrandCoreResponse.toObject(opt_includeInstance, this);
27365
+ };
27366
+
27367
+
27368
+ /**
27369
+ * Static version of the {@see toObject} method.
27370
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
27371
+ * the JSPB instance for transitional soy proto support:
27372
+ * http://goto/soy-param-migration
27373
+ * @param {!proto.cms.FooterBrandCoreResponse} msg The msg instance to transform.
27374
+ * @return {!Object}
27375
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27376
+ */
27377
+ proto.cms.FooterBrandCoreResponse.toObject = function(includeInstance, msg) {
27378
+ var f, obj = {
27379
+ data: (f = msg.getData()) && proto.cms.FooterBrandCoreItem.toObject(includeInstance, f)
27380
+ };
27381
+
27382
+ if (includeInstance) {
27383
+ obj.$jspbMessageInstance = msg;
27384
+ }
27385
+ return obj;
27386
+ };
27387
+ }
27388
+
27389
+
27390
+ /**
27391
+ * Deserializes binary data (in protobuf wire format).
27392
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
27393
+ * @return {!proto.cms.FooterBrandCoreResponse}
27394
+ */
27395
+ proto.cms.FooterBrandCoreResponse.deserializeBinary = function(bytes) {
27396
+ var reader = new jspb.BinaryReader(bytes);
27397
+ var msg = new proto.cms.FooterBrandCoreResponse;
27398
+ return proto.cms.FooterBrandCoreResponse.deserializeBinaryFromReader(msg, reader);
27399
+ };
27400
+
27401
+
27402
+ /**
27403
+ * Deserializes binary data (in protobuf wire format) from the
27404
+ * given reader into the given message object.
27405
+ * @param {!proto.cms.FooterBrandCoreResponse} msg The message object to deserialize into.
27406
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27407
+ * @return {!proto.cms.FooterBrandCoreResponse}
27408
+ */
27409
+ proto.cms.FooterBrandCoreResponse.deserializeBinaryFromReader = function(msg, reader) {
27410
+ while (reader.nextField()) {
27411
+ if (reader.isEndGroup()) {
27412
+ break;
27413
+ }
27414
+ var field = reader.getFieldNumber();
27415
+ switch (field) {
27416
+ case 1:
27417
+ var value = new proto.cms.FooterBrandCoreItem;
27418
+ reader.readMessage(value,proto.cms.FooterBrandCoreItem.deserializeBinaryFromReader);
27419
+ msg.setData(value);
27420
+ break;
27421
+ default:
27422
+ reader.skipField();
27423
+ break;
27424
+ }
27425
+ }
27426
+ return msg;
27427
+ };
27428
+
27429
+
27430
+ /**
27431
+ * Serializes the message to binary data (in protobuf wire format).
27432
+ * @return {!Uint8Array}
27433
+ */
27434
+ proto.cms.FooterBrandCoreResponse.prototype.serializeBinary = function() {
27435
+ var writer = new jspb.BinaryWriter();
27436
+ proto.cms.FooterBrandCoreResponse.serializeBinaryToWriter(this, writer);
27437
+ return writer.getResultBuffer();
27438
+ };
27439
+
27440
+
27441
+ /**
27442
+ * Serializes the given message to binary data (in protobuf wire
27443
+ * format), writing to the given BinaryWriter.
27444
+ * @param {!proto.cms.FooterBrandCoreResponse} message
27445
+ * @param {!jspb.BinaryWriter} writer
27446
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27447
+ */
27448
+ proto.cms.FooterBrandCoreResponse.serializeBinaryToWriter = function(message, writer) {
27449
+ var f = undefined;
27450
+ f = message.getData();
27451
+ if (f != null) {
27452
+ writer.writeMessage(
27453
+ 1,
27454
+ f,
27455
+ proto.cms.FooterBrandCoreItem.serializeBinaryToWriter
27456
+ );
27457
+ }
27458
+ };
27459
+
27460
+
27461
+ /**
27462
+ * optional FooterBrandCoreItem data = 1;
27463
+ * @return {?proto.cms.FooterBrandCoreItem}
27464
+ */
27465
+ proto.cms.FooterBrandCoreResponse.prototype.getData = function() {
27466
+ return /** @type{?proto.cms.FooterBrandCoreItem} */ (
27467
+ jspb.Message.getWrapperField(this, proto.cms.FooterBrandCoreItem, 1));
27468
+ };
27469
+
27470
+
27471
+ /**
27472
+ * @param {?proto.cms.FooterBrandCoreItem|undefined} value
27473
+ * @return {!proto.cms.FooterBrandCoreResponse} returns this
27474
+ */
27475
+ proto.cms.FooterBrandCoreResponse.prototype.setData = function(value) {
27476
+ return jspb.Message.setWrapperField(this, 1, value);
27477
+ };
27478
+
27479
+
27480
+ /**
27481
+ * Clears the message field making it undefined.
27482
+ * @return {!proto.cms.FooterBrandCoreResponse} returns this
27483
+ */
27484
+ proto.cms.FooterBrandCoreResponse.prototype.clearData = function() {
27485
+ return this.setData(undefined);
27486
+ };
27487
+
27488
+
27489
+ /**
27490
+ * Returns whether this field is set.
27491
+ * @return {boolean}
27492
+ */
27493
+ proto.cms.FooterBrandCoreResponse.prototype.hasData = function() {
27494
+ return jspb.Message.getField(this, 1) != null;
27495
+ };
27496
+
27497
+
27498
+
27499
+ /**
27500
+ * List of repeated fields within this message type.
27501
+ * @private {!Array<number>}
27502
+ * @const
27503
+ */
27504
+ proto.cms.FooterBrandCoreItemsResponse.repeatedFields_ = [1];
27505
+
27506
+
27507
+
27508
+ if (jspb.Message.GENERATE_TO_OBJECT) {
27509
+ /**
27510
+ * Creates an object representation of this proto.
27511
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
27512
+ * Optional fields that are not set will be set to undefined.
27513
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
27514
+ * For the list of reserved names please see:
27515
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
27516
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
27517
+ * JSPB instance for transitional soy proto support:
27518
+ * http://goto/soy-param-migration
27519
+ * @return {!Object}
27520
+ */
27521
+ proto.cms.FooterBrandCoreItemsResponse.prototype.toObject = function(opt_includeInstance) {
27522
+ return proto.cms.FooterBrandCoreItemsResponse.toObject(opt_includeInstance, this);
27523
+ };
27524
+
27525
+
27526
+ /**
27527
+ * Static version of the {@see toObject} method.
27528
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
27529
+ * the JSPB instance for transitional soy proto support:
27530
+ * http://goto/soy-param-migration
27531
+ * @param {!proto.cms.FooterBrandCoreItemsResponse} msg The msg instance to transform.
27532
+ * @return {!Object}
27533
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27534
+ */
27535
+ proto.cms.FooterBrandCoreItemsResponse.toObject = function(includeInstance, msg) {
27536
+ var f, obj = {
27537
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
27538
+ proto.cms.FooterBrandCoreItem.toObject, includeInstance),
27539
+ totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
27540
+ totalPages: jspb.Message.getFieldWithDefault(msg, 3, 0)
27541
+ };
27542
+
27543
+ if (includeInstance) {
27544
+ obj.$jspbMessageInstance = msg;
27545
+ }
27546
+ return obj;
27547
+ };
27548
+ }
27549
+
27550
+
27551
+ /**
27552
+ * Deserializes binary data (in protobuf wire format).
27553
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
27554
+ * @return {!proto.cms.FooterBrandCoreItemsResponse}
27555
+ */
27556
+ proto.cms.FooterBrandCoreItemsResponse.deserializeBinary = function(bytes) {
27557
+ var reader = new jspb.BinaryReader(bytes);
27558
+ var msg = new proto.cms.FooterBrandCoreItemsResponse;
27559
+ return proto.cms.FooterBrandCoreItemsResponse.deserializeBinaryFromReader(msg, reader);
27560
+ };
27561
+
27562
+
27563
+ /**
27564
+ * Deserializes binary data (in protobuf wire format) from the
27565
+ * given reader into the given message object.
27566
+ * @param {!proto.cms.FooterBrandCoreItemsResponse} msg The message object to deserialize into.
27567
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27568
+ * @return {!proto.cms.FooterBrandCoreItemsResponse}
27569
+ */
27570
+ proto.cms.FooterBrandCoreItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
27571
+ while (reader.nextField()) {
27572
+ if (reader.isEndGroup()) {
27573
+ break;
27574
+ }
27575
+ var field = reader.getFieldNumber();
27576
+ switch (field) {
27577
+ case 1:
27578
+ var value = new proto.cms.FooterBrandCoreItem;
27579
+ reader.readMessage(value,proto.cms.FooterBrandCoreItem.deserializeBinaryFromReader);
27580
+ msg.addItems(value);
27581
+ break;
27582
+ case 2:
27583
+ var value = /** @type {number} */ (reader.readInt32());
27584
+ msg.setTotalItems(value);
27585
+ break;
27586
+ case 3:
27587
+ var value = /** @type {number} */ (reader.readInt32());
27588
+ msg.setTotalPages(value);
27589
+ break;
27590
+ default:
27591
+ reader.skipField();
27592
+ break;
27593
+ }
27594
+ }
27595
+ return msg;
27596
+ };
27597
+
27598
+
27599
+ /**
27600
+ * Serializes the message to binary data (in protobuf wire format).
27601
+ * @return {!Uint8Array}
27602
+ */
27603
+ proto.cms.FooterBrandCoreItemsResponse.prototype.serializeBinary = function() {
27604
+ var writer = new jspb.BinaryWriter();
27605
+ proto.cms.FooterBrandCoreItemsResponse.serializeBinaryToWriter(this, writer);
27606
+ return writer.getResultBuffer();
27607
+ };
27608
+
27609
+
27610
+ /**
27611
+ * Serializes the given message to binary data (in protobuf wire
27612
+ * format), writing to the given BinaryWriter.
27613
+ * @param {!proto.cms.FooterBrandCoreItemsResponse} message
27614
+ * @param {!jspb.BinaryWriter} writer
27615
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27616
+ */
27617
+ proto.cms.FooterBrandCoreItemsResponse.serializeBinaryToWriter = function(message, writer) {
27618
+ var f = undefined;
27619
+ f = message.getItemsList();
27620
+ if (f.length > 0) {
27621
+ writer.writeRepeatedMessage(
27622
+ 1,
27623
+ f,
27624
+ proto.cms.FooterBrandCoreItem.serializeBinaryToWriter
27625
+ );
27626
+ }
27627
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
27628
+ if (f != null) {
27629
+ writer.writeInt32(
27630
+ 2,
27631
+ f
27632
+ );
27633
+ }
27634
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
27635
+ if (f != null) {
27636
+ writer.writeInt32(
27637
+ 3,
27638
+ f
27639
+ );
27640
+ }
27641
+ };
27642
+
27643
+
27644
+ /**
27645
+ * repeated FooterBrandCoreItem items = 1;
27646
+ * @return {!Array<!proto.cms.FooterBrandCoreItem>}
27647
+ */
27648
+ proto.cms.FooterBrandCoreItemsResponse.prototype.getItemsList = function() {
27649
+ return /** @type{!Array<!proto.cms.FooterBrandCoreItem>} */ (
27650
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterBrandCoreItem, 1));
27651
+ };
27652
+
27653
+
27654
+ /**
27655
+ * @param {!Array<!proto.cms.FooterBrandCoreItem>} value
27656
+ * @return {!proto.cms.FooterBrandCoreItemsResponse} returns this
27657
+ */
27658
+ proto.cms.FooterBrandCoreItemsResponse.prototype.setItemsList = function(value) {
27659
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
27660
+ };
27661
+
27662
+
27663
+ /**
27664
+ * @param {!proto.cms.FooterBrandCoreItem=} opt_value
27665
+ * @param {number=} opt_index
27666
+ * @return {!proto.cms.FooterBrandCoreItem}
27667
+ */
27668
+ proto.cms.FooterBrandCoreItemsResponse.prototype.addItems = function(opt_value, opt_index) {
27669
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cms.FooterBrandCoreItem, opt_index);
27670
+ };
27671
+
27672
+
27673
+ /**
27674
+ * Clears the list making it empty but non-null.
27675
+ * @return {!proto.cms.FooterBrandCoreItemsResponse} returns this
27676
+ */
27677
+ proto.cms.FooterBrandCoreItemsResponse.prototype.clearItemsList = function() {
27678
+ return this.setItemsList([]);
27679
+ };
27680
+
27681
+
27682
+ /**
27683
+ * optional int32 total_items = 2;
27684
+ * @return {number}
27685
+ */
27686
+ proto.cms.FooterBrandCoreItemsResponse.prototype.getTotalItems = function() {
27687
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
27688
+ };
27689
+
27690
+
27691
+ /**
27692
+ * @param {number} value
27693
+ * @return {!proto.cms.FooterBrandCoreItemsResponse} returns this
27694
+ */
27695
+ proto.cms.FooterBrandCoreItemsResponse.prototype.setTotalItems = function(value) {
27696
+ return jspb.Message.setField(this, 2, value);
27697
+ };
27698
+
27699
+
27700
+ /**
27701
+ * Clears the field making it undefined.
27702
+ * @return {!proto.cms.FooterBrandCoreItemsResponse} returns this
27703
+ */
27704
+ proto.cms.FooterBrandCoreItemsResponse.prototype.clearTotalItems = function() {
27705
+ return jspb.Message.setField(this, 2, undefined);
27706
+ };
27707
+
27708
+
27709
+ /**
27710
+ * Returns whether this field is set.
27711
+ * @return {boolean}
27712
+ */
27713
+ proto.cms.FooterBrandCoreItemsResponse.prototype.hasTotalItems = function() {
27714
+ return jspb.Message.getField(this, 2) != null;
27715
+ };
27716
+
27717
+
27718
+ /**
27719
+ * optional int32 total_pages = 3;
27720
+ * @return {number}
27721
+ */
27722
+ proto.cms.FooterBrandCoreItemsResponse.prototype.getTotalPages = function() {
27723
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
27724
+ };
27725
+
27726
+
27727
+ /**
27728
+ * @param {number} value
27729
+ * @return {!proto.cms.FooterBrandCoreItemsResponse} returns this
27730
+ */
27731
+ proto.cms.FooterBrandCoreItemsResponse.prototype.setTotalPages = function(value) {
27732
+ return jspb.Message.setField(this, 3, value);
27733
+ };
27734
+
27735
+
27736
+ /**
27737
+ * Clears the field making it undefined.
27738
+ * @return {!proto.cms.FooterBrandCoreItemsResponse} returns this
27739
+ */
27740
+ proto.cms.FooterBrandCoreItemsResponse.prototype.clearTotalPages = function() {
27741
+ return jspb.Message.setField(this, 3, undefined);
27742
+ };
27743
+
27744
+
27745
+ /**
27746
+ * Returns whether this field is set.
27747
+ * @return {boolean}
27748
+ */
27749
+ proto.cms.FooterBrandCoreItemsResponse.prototype.hasTotalPages = function() {
27750
+ return jspb.Message.getField(this, 3) != null;
27751
+ };
27752
+
27753
+
27754
+
27755
+
27756
+
27757
+ if (jspb.Message.GENERATE_TO_OBJECT) {
27758
+ /**
27759
+ * Creates an object representation of this proto.
27760
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
27761
+ * Optional fields that are not set will be set to undefined.
27762
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
27763
+ * For the list of reserved names please see:
27764
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
27765
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
27766
+ * JSPB instance for transitional soy proto support:
27767
+ * http://goto/soy-param-migration
27768
+ * @return {!Object}
27769
+ */
27770
+ proto.cms.FooterBrandCoreStatusResponse.prototype.toObject = function(opt_includeInstance) {
27771
+ return proto.cms.FooterBrandCoreStatusResponse.toObject(opt_includeInstance, this);
27772
+ };
27773
+
27774
+
27775
+ /**
27776
+ * Static version of the {@see toObject} method.
27777
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
27778
+ * the JSPB instance for transitional soy proto support:
27779
+ * http://goto/soy-param-migration
27780
+ * @param {!proto.cms.FooterBrandCoreStatusResponse} msg The msg instance to transform.
27781
+ * @return {!Object}
27782
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27783
+ */
27784
+ proto.cms.FooterBrandCoreStatusResponse.toObject = function(includeInstance, msg) {
27785
+ var f, obj = {
27786
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
27787
+ };
27788
+
27789
+ if (includeInstance) {
27790
+ obj.$jspbMessageInstance = msg;
27791
+ }
27792
+ return obj;
27793
+ };
27794
+ }
27795
+
27796
+
27797
+ /**
27798
+ * Deserializes binary data (in protobuf wire format).
27799
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
27800
+ * @return {!proto.cms.FooterBrandCoreStatusResponse}
27801
+ */
27802
+ proto.cms.FooterBrandCoreStatusResponse.deserializeBinary = function(bytes) {
27803
+ var reader = new jspb.BinaryReader(bytes);
27804
+ var msg = new proto.cms.FooterBrandCoreStatusResponse;
27805
+ return proto.cms.FooterBrandCoreStatusResponse.deserializeBinaryFromReader(msg, reader);
27806
+ };
27807
+
27808
+
27809
+ /**
27810
+ * Deserializes binary data (in protobuf wire format) from the
27811
+ * given reader into the given message object.
27812
+ * @param {!proto.cms.FooterBrandCoreStatusResponse} msg The message object to deserialize into.
27813
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27814
+ * @return {!proto.cms.FooterBrandCoreStatusResponse}
27815
+ */
27816
+ proto.cms.FooterBrandCoreStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
27817
+ while (reader.nextField()) {
27818
+ if (reader.isEndGroup()) {
27819
+ break;
27820
+ }
27821
+ var field = reader.getFieldNumber();
27822
+ switch (field) {
27823
+ case 1:
27824
+ var value = /** @type {string} */ (reader.readString());
27825
+ msg.setStatus(value);
27826
+ break;
27827
+ default:
27828
+ reader.skipField();
27829
+ break;
27830
+ }
27831
+ }
27832
+ return msg;
27833
+ };
27834
+
27835
+
27836
+ /**
27837
+ * Serializes the message to binary data (in protobuf wire format).
27838
+ * @return {!Uint8Array}
27839
+ */
27840
+ proto.cms.FooterBrandCoreStatusResponse.prototype.serializeBinary = function() {
27841
+ var writer = new jspb.BinaryWriter();
27842
+ proto.cms.FooterBrandCoreStatusResponse.serializeBinaryToWriter(this, writer);
27843
+ return writer.getResultBuffer();
27844
+ };
27845
+
27846
+
27847
+ /**
27848
+ * Serializes the given message to binary data (in protobuf wire
27849
+ * format), writing to the given BinaryWriter.
27850
+ * @param {!proto.cms.FooterBrandCoreStatusResponse} message
27851
+ * @param {!jspb.BinaryWriter} writer
27852
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27853
+ */
27854
+ proto.cms.FooterBrandCoreStatusResponse.serializeBinaryToWriter = function(message, writer) {
27855
+ var f = undefined;
27856
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
27857
+ if (f != null) {
27858
+ writer.writeString(
27859
+ 1,
27860
+ f
27861
+ );
27862
+ }
27863
+ };
27864
+
27865
+
27866
+ /**
27867
+ * optional string status = 1;
27868
+ * @return {string}
27869
+ */
27870
+ proto.cms.FooterBrandCoreStatusResponse.prototype.getStatus = function() {
27871
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
27872
+ };
27873
+
27874
+
27875
+ /**
27876
+ * @param {string} value
27877
+ * @return {!proto.cms.FooterBrandCoreStatusResponse} returns this
27878
+ */
27879
+ proto.cms.FooterBrandCoreStatusResponse.prototype.setStatus = function(value) {
27880
+ return jspb.Message.setField(this, 1, value);
27881
+ };
27882
+
27883
+
27884
+ /**
27885
+ * Clears the field making it undefined.
27886
+ * @return {!proto.cms.FooterBrandCoreStatusResponse} returns this
27887
+ */
27888
+ proto.cms.FooterBrandCoreStatusResponse.prototype.clearStatus = function() {
27889
+ return jspb.Message.setField(this, 1, undefined);
27890
+ };
27891
+
27892
+
27893
+ /**
27894
+ * Returns whether this field is set.
27895
+ * @return {boolean}
27896
+ */
27897
+ proto.cms.FooterBrandCoreStatusResponse.prototype.hasStatus = function() {
27898
+ return jspb.Message.getField(this, 1) != null;
27899
+ };
27900
+
27901
+
27902
+
27903
+
27904
+
27905
+ if (jspb.Message.GENERATE_TO_OBJECT) {
27906
+ /**
27907
+ * Creates an object representation of this proto.
27908
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
27909
+ * Optional fields that are not set will be set to undefined.
27910
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
27911
+ * For the list of reserved names please see:
27912
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
27913
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
27914
+ * JSPB instance for transitional soy proto support:
27915
+ * http://goto/soy-param-migration
27916
+ * @return {!Object}
27917
+ */
27918
+ proto.cms.GetFooterBrandCoreRequest.prototype.toObject = function(opt_includeInstance) {
27919
+ return proto.cms.GetFooterBrandCoreRequest.toObject(opt_includeInstance, this);
27920
+ };
27921
+
27922
+
27923
+ /**
27924
+ * Static version of the {@see toObject} method.
27925
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
27926
+ * the JSPB instance for transitional soy proto support:
27927
+ * http://goto/soy-param-migration
27928
+ * @param {!proto.cms.GetFooterBrandCoreRequest} msg The msg instance to transform.
27929
+ * @return {!Object}
27930
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27931
+ */
27932
+ proto.cms.GetFooterBrandCoreRequest.toObject = function(includeInstance, msg) {
27933
+ var f, obj = {
27934
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
27935
+ };
27936
+
27937
+ if (includeInstance) {
27938
+ obj.$jspbMessageInstance = msg;
27939
+ }
27940
+ return obj;
27941
+ };
27942
+ }
27943
+
27944
+
27945
+ /**
27946
+ * Deserializes binary data (in protobuf wire format).
27947
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
27948
+ * @return {!proto.cms.GetFooterBrandCoreRequest}
27949
+ */
27950
+ proto.cms.GetFooterBrandCoreRequest.deserializeBinary = function(bytes) {
27951
+ var reader = new jspb.BinaryReader(bytes);
27952
+ var msg = new proto.cms.GetFooterBrandCoreRequest;
27953
+ return proto.cms.GetFooterBrandCoreRequest.deserializeBinaryFromReader(msg, reader);
27954
+ };
27955
+
27956
+
27957
+ /**
27958
+ * Deserializes binary data (in protobuf wire format) from the
27959
+ * given reader into the given message object.
27960
+ * @param {!proto.cms.GetFooterBrandCoreRequest} msg The message object to deserialize into.
27961
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27962
+ * @return {!proto.cms.GetFooterBrandCoreRequest}
27963
+ */
27964
+ proto.cms.GetFooterBrandCoreRequest.deserializeBinaryFromReader = function(msg, reader) {
27965
+ while (reader.nextField()) {
27966
+ if (reader.isEndGroup()) {
27967
+ break;
27968
+ }
27969
+ var field = reader.getFieldNumber();
27970
+ switch (field) {
27971
+ case 1:
27972
+ var value = /** @type {number} */ (reader.readInt32());
27973
+ msg.setId(value);
27974
+ break;
27975
+ default:
27976
+ reader.skipField();
27977
+ break;
27978
+ }
27979
+ }
27980
+ return msg;
27981
+ };
27982
+
27983
+
27984
+ /**
27985
+ * Serializes the message to binary data (in protobuf wire format).
27986
+ * @return {!Uint8Array}
27987
+ */
27988
+ proto.cms.GetFooterBrandCoreRequest.prototype.serializeBinary = function() {
27989
+ var writer = new jspb.BinaryWriter();
27990
+ proto.cms.GetFooterBrandCoreRequest.serializeBinaryToWriter(this, writer);
27991
+ return writer.getResultBuffer();
27992
+ };
27993
+
27994
+
27995
+ /**
27996
+ * Serializes the given message to binary data (in protobuf wire
27997
+ * format), writing to the given BinaryWriter.
27998
+ * @param {!proto.cms.GetFooterBrandCoreRequest} message
27999
+ * @param {!jspb.BinaryWriter} writer
28000
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28001
+ */
28002
+ proto.cms.GetFooterBrandCoreRequest.serializeBinaryToWriter = function(message, writer) {
28003
+ var f = undefined;
28004
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
28005
+ if (f != null) {
28006
+ writer.writeInt32(
28007
+ 1,
28008
+ f
28009
+ );
28010
+ }
28011
+ };
28012
+
28013
+
28014
+ /**
28015
+ * optional int32 id = 1;
28016
+ * @return {number}
28017
+ */
28018
+ proto.cms.GetFooterBrandCoreRequest.prototype.getId = function() {
28019
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
28020
+ };
28021
+
28022
+
28023
+ /**
28024
+ * @param {number} value
28025
+ * @return {!proto.cms.GetFooterBrandCoreRequest} returns this
28026
+ */
28027
+ proto.cms.GetFooterBrandCoreRequest.prototype.setId = function(value) {
28028
+ return jspb.Message.setField(this, 1, value);
28029
+ };
28030
+
28031
+
28032
+ /**
28033
+ * Clears the field making it undefined.
28034
+ * @return {!proto.cms.GetFooterBrandCoreRequest} returns this
28035
+ */
28036
+ proto.cms.GetFooterBrandCoreRequest.prototype.clearId = function() {
28037
+ return jspb.Message.setField(this, 1, undefined);
28038
+ };
28039
+
28040
+
28041
+ /**
28042
+ * Returns whether this field is set.
28043
+ * @return {boolean}
28044
+ */
28045
+ proto.cms.GetFooterBrandCoreRequest.prototype.hasId = function() {
28046
+ return jspb.Message.getField(this, 1) != null;
28047
+ };
28048
+
28049
+
28050
+
28051
+
28052
+
28053
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28054
+ /**
28055
+ * Creates an object representation of this proto.
28056
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28057
+ * Optional fields that are not set will be set to undefined.
28058
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28059
+ * For the list of reserved names please see:
28060
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28061
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28062
+ * JSPB instance for transitional soy proto support:
28063
+ * http://goto/soy-param-migration
28064
+ * @return {!Object}
28065
+ */
28066
+ proto.cms.FooterBrandCoreBrief.prototype.toObject = function(opt_includeInstance) {
28067
+ return proto.cms.FooterBrandCoreBrief.toObject(opt_includeInstance, this);
28068
+ };
28069
+
28070
+
28071
+ /**
28072
+ * Static version of the {@see toObject} method.
28073
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28074
+ * the JSPB instance for transitional soy proto support:
28075
+ * http://goto/soy-param-migration
28076
+ * @param {!proto.cms.FooterBrandCoreBrief} msg The msg instance to transform.
28077
+ * @return {!Object}
28078
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28079
+ */
28080
+ proto.cms.FooterBrandCoreBrief.toObject = function(includeInstance, msg) {
28081
+ var f, obj = {
28082
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
28083
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
28084
+ slug: jspb.Message.getFieldWithDefault(msg, 3, "")
28085
+ };
28086
+
28087
+ if (includeInstance) {
28088
+ obj.$jspbMessageInstance = msg;
28089
+ }
28090
+ return obj;
28091
+ };
28092
+ }
28093
+
28094
+
28095
+ /**
28096
+ * Deserializes binary data (in protobuf wire format).
28097
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
28098
+ * @return {!proto.cms.FooterBrandCoreBrief}
28099
+ */
28100
+ proto.cms.FooterBrandCoreBrief.deserializeBinary = function(bytes) {
28101
+ var reader = new jspb.BinaryReader(bytes);
28102
+ var msg = new proto.cms.FooterBrandCoreBrief;
28103
+ return proto.cms.FooterBrandCoreBrief.deserializeBinaryFromReader(msg, reader);
28104
+ };
28105
+
28106
+
28107
+ /**
28108
+ * Deserializes binary data (in protobuf wire format) from the
28109
+ * given reader into the given message object.
28110
+ * @param {!proto.cms.FooterBrandCoreBrief} msg The message object to deserialize into.
28111
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
28112
+ * @return {!proto.cms.FooterBrandCoreBrief}
28113
+ */
28114
+ proto.cms.FooterBrandCoreBrief.deserializeBinaryFromReader = function(msg, reader) {
28115
+ while (reader.nextField()) {
28116
+ if (reader.isEndGroup()) {
28117
+ break;
28118
+ }
28119
+ var field = reader.getFieldNumber();
28120
+ switch (field) {
28121
+ case 1:
28122
+ var value = /** @type {number} */ (reader.readInt32());
28123
+ msg.setId(value);
28124
+ break;
28125
+ case 2:
28126
+ var value = /** @type {string} */ (reader.readString());
28127
+ msg.setTitle(value);
28128
+ break;
28129
+ case 3:
28130
+ var value = /** @type {string} */ (reader.readString());
28131
+ msg.setSlug(value);
28132
+ break;
28133
+ default:
28134
+ reader.skipField();
28135
+ break;
28136
+ }
28137
+ }
28138
+ return msg;
28139
+ };
28140
+
28141
+
28142
+ /**
28143
+ * Serializes the message to binary data (in protobuf wire format).
28144
+ * @return {!Uint8Array}
28145
+ */
28146
+ proto.cms.FooterBrandCoreBrief.prototype.serializeBinary = function() {
28147
+ var writer = new jspb.BinaryWriter();
28148
+ proto.cms.FooterBrandCoreBrief.serializeBinaryToWriter(this, writer);
28149
+ return writer.getResultBuffer();
28150
+ };
28151
+
28152
+
28153
+ /**
28154
+ * Serializes the given message to binary data (in protobuf wire
28155
+ * format), writing to the given BinaryWriter.
28156
+ * @param {!proto.cms.FooterBrandCoreBrief} message
28157
+ * @param {!jspb.BinaryWriter} writer
28158
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28159
+ */
28160
+ proto.cms.FooterBrandCoreBrief.serializeBinaryToWriter = function(message, writer) {
28161
+ var f = undefined;
28162
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
28163
+ if (f != null) {
28164
+ writer.writeInt32(
28165
+ 1,
28166
+ f
28167
+ );
28168
+ }
28169
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
28170
+ if (f != null) {
28171
+ writer.writeString(
28172
+ 2,
28173
+ f
28174
+ );
28175
+ }
28176
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
28177
+ if (f != null) {
28178
+ writer.writeString(
28179
+ 3,
28180
+ f
28181
+ );
28182
+ }
28183
+ };
28184
+
28185
+
28186
+ /**
28187
+ * optional int32 id = 1;
28188
+ * @return {number}
28189
+ */
28190
+ proto.cms.FooterBrandCoreBrief.prototype.getId = function() {
28191
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
28192
+ };
28193
+
28194
+
28195
+ /**
28196
+ * @param {number} value
28197
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28198
+ */
28199
+ proto.cms.FooterBrandCoreBrief.prototype.setId = function(value) {
28200
+ return jspb.Message.setField(this, 1, value);
28201
+ };
28202
+
28203
+
28204
+ /**
28205
+ * Clears the field making it undefined.
28206
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28207
+ */
28208
+ proto.cms.FooterBrandCoreBrief.prototype.clearId = function() {
28209
+ return jspb.Message.setField(this, 1, undefined);
28210
+ };
28211
+
28212
+
28213
+ /**
28214
+ * Returns whether this field is set.
28215
+ * @return {boolean}
28216
+ */
28217
+ proto.cms.FooterBrandCoreBrief.prototype.hasId = function() {
28218
+ return jspb.Message.getField(this, 1) != null;
28219
+ };
28220
+
28221
+
28222
+ /**
28223
+ * optional string title = 2;
28224
+ * @return {string}
28225
+ */
28226
+ proto.cms.FooterBrandCoreBrief.prototype.getTitle = function() {
28227
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
28228
+ };
28229
+
28230
+
28231
+ /**
28232
+ * @param {string} value
28233
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28234
+ */
28235
+ proto.cms.FooterBrandCoreBrief.prototype.setTitle = function(value) {
28236
+ return jspb.Message.setField(this, 2, value);
28237
+ };
28238
+
28239
+
28240
+ /**
28241
+ * Clears the field making it undefined.
28242
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28243
+ */
28244
+ proto.cms.FooterBrandCoreBrief.prototype.clearTitle = function() {
28245
+ return jspb.Message.setField(this, 2, undefined);
28246
+ };
28247
+
28248
+
28249
+ /**
28250
+ * Returns whether this field is set.
28251
+ * @return {boolean}
28252
+ */
28253
+ proto.cms.FooterBrandCoreBrief.prototype.hasTitle = function() {
28254
+ return jspb.Message.getField(this, 2) != null;
28255
+ };
28256
+
28257
+
28258
+ /**
28259
+ * optional string slug = 3;
28260
+ * @return {string}
28261
+ */
28262
+ proto.cms.FooterBrandCoreBrief.prototype.getSlug = function() {
28263
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
28264
+ };
28265
+
28266
+
28267
+ /**
28268
+ * @param {string} value
28269
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28270
+ */
28271
+ proto.cms.FooterBrandCoreBrief.prototype.setSlug = function(value) {
28272
+ return jspb.Message.setField(this, 3, value);
28273
+ };
28274
+
28275
+
28276
+ /**
28277
+ * Clears the field making it undefined.
28278
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28279
+ */
28280
+ proto.cms.FooterBrandCoreBrief.prototype.clearSlug = function() {
28281
+ return jspb.Message.setField(this, 3, undefined);
28282
+ };
28283
+
28284
+
28285
+ /**
28286
+ * Returns whether this field is set.
28287
+ * @return {boolean}
28288
+ */
28289
+ proto.cms.FooterBrandCoreBrief.prototype.hasSlug = function() {
28290
+ return jspb.Message.getField(this, 3) != null;
28291
+ };
28292
+
28293
+
25818
28294
  goog.object.extend(exports, proto.cms);