protobuf-platform 1.2.281 → 1.2.283

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
@@ -37,6 +37,7 @@ goog.exportSymbol('proto.cms.BannerTexts', null, global);
37
37
  goog.exportSymbol('proto.cms.BurgerMenuWidgetItem', null, global);
38
38
  goog.exportSymbol('proto.cms.CommonWidgetRequest', null, global);
39
39
  goog.exportSymbol('proto.cms.DeleteFooterPartnersMediaRequest', null, global);
40
+ goog.exportSymbol('proto.cms.DeleteFooterSocialNetworksMediaRequest', null, global);
40
41
  goog.exportSymbol('proto.cms.File', null, global);
41
42
  goog.exportSymbol('proto.cms.FooterApplicationMediaItem', null, global);
42
43
  goog.exportSymbol('proto.cms.FooterApplicationsFile', null, global);
@@ -82,6 +83,16 @@ goog.exportSymbol('proto.cms.FooterPaymentsItemRequest', null, global);
82
83
  goog.exportSymbol('proto.cms.FooterPaymentsItemsResponse', null, global);
83
84
  goog.exportSymbol('proto.cms.FooterPaymentsResponse', null, global);
84
85
  goog.exportSymbol('proto.cms.FooterPaymentsStatusResponse', null, global);
86
+ goog.exportSymbol('proto.cms.FooterSocialNetworksFile', null, global);
87
+ goog.exportSymbol('proto.cms.FooterSocialNetworksItem', null, global);
88
+ goog.exportSymbol('proto.cms.FooterSocialNetworksItemMeta', null, global);
89
+ goog.exportSymbol('proto.cms.FooterSocialNetworksItemRequest', null, global);
90
+ goog.exportSymbol('proto.cms.FooterSocialNetworksItemsResponse', null, global);
91
+ goog.exportSymbol('proto.cms.FooterSocialNetworksMediaItem', null, global);
92
+ goog.exportSymbol('proto.cms.FooterSocialNetworksRequest', null, global);
93
+ goog.exportSymbol('proto.cms.FooterSocialNetworksRequest.RequestCase', null, global);
94
+ goog.exportSymbol('proto.cms.FooterSocialNetworksResponse', null, global);
95
+ goog.exportSymbol('proto.cms.FooterSocialNetworksStatusResponse', null, global);
85
96
  goog.exportSymbol('proto.cms.FooterWidgetItem', null, global);
86
97
  goog.exportSymbol('proto.cms.GameBarWidgetItem', null, global);
87
98
  goog.exportSymbol('proto.cms.GameWidgetItem', null, global);
@@ -101,6 +112,7 @@ goog.exportSymbol('proto.cms.GetFooterMainTextRequest', null, global);
101
112
  goog.exportSymbol('proto.cms.GetFooterMainTextTranslationRequest', null, global);
102
113
  goog.exportSymbol('proto.cms.GetFooterPartnersRequest', null, global);
103
114
  goog.exportSymbol('proto.cms.GetFooterPaymentsRequest', null, global);
115
+ goog.exportSymbol('proto.cms.GetFooterSocialNetworksRequest', null, global);
104
116
  goog.exportSymbol('proto.cms.GetFooterWidgetRequest', null, global);
105
117
  goog.exportSymbol('proto.cms.GetGameBarWidgetRequest', null, global);
106
118
  goog.exportSymbol('proto.cms.GetGameWidgetRequest', null, global);
@@ -2109,6 +2121,237 @@ if (goog.DEBUG && !COMPILED) {
2109
2121
  */
2110
2122
  proto.cms.FooterPartnersItemsResponse.displayName = 'proto.cms.FooterPartnersItemsResponse';
2111
2123
  }
2124
+ /**
2125
+ * Generated by JsPbCodeGenerator.
2126
+ * @param {Array=} opt_data Optional initial data array, typically from a
2127
+ * server response, or constructed directly in Javascript. The array is used
2128
+ * in place and becomes part of the constructed object. It is not cloned.
2129
+ * If no data is provided, the constructed object will be empty, but still
2130
+ * valid.
2131
+ * @extends {jspb.Message}
2132
+ * @constructor
2133
+ */
2134
+ proto.cms.FooterSocialNetworksRequest = function(opt_data) {
2135
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.cms.FooterSocialNetworksRequest.oneofGroups_);
2136
+ };
2137
+ goog.inherits(proto.cms.FooterSocialNetworksRequest, jspb.Message);
2138
+ if (goog.DEBUG && !COMPILED) {
2139
+ /**
2140
+ * @public
2141
+ * @override
2142
+ */
2143
+ proto.cms.FooterSocialNetworksRequest.displayName = 'proto.cms.FooterSocialNetworksRequest';
2144
+ }
2145
+ /**
2146
+ * Generated by JsPbCodeGenerator.
2147
+ * @param {Array=} opt_data Optional initial data array, typically from a
2148
+ * server response, or constructed directly in Javascript. The array is used
2149
+ * in place and becomes part of the constructed object. It is not cloned.
2150
+ * If no data is provided, the constructed object will be empty, but still
2151
+ * valid.
2152
+ * @extends {jspb.Message}
2153
+ * @constructor
2154
+ */
2155
+ proto.cms.FooterSocialNetworksItemRequest = function(opt_data) {
2156
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterSocialNetworksItemRequest.repeatedFields_, null);
2157
+ };
2158
+ goog.inherits(proto.cms.FooterSocialNetworksItemRequest, jspb.Message);
2159
+ if (goog.DEBUG && !COMPILED) {
2160
+ /**
2161
+ * @public
2162
+ * @override
2163
+ */
2164
+ proto.cms.FooterSocialNetworksItemRequest.displayName = 'proto.cms.FooterSocialNetworksItemRequest';
2165
+ }
2166
+ /**
2167
+ * Generated by JsPbCodeGenerator.
2168
+ * @param {Array=} opt_data Optional initial data array, typically from a
2169
+ * server response, or constructed directly in Javascript. The array is used
2170
+ * in place and becomes part of the constructed object. It is not cloned.
2171
+ * If no data is provided, the constructed object will be empty, but still
2172
+ * valid.
2173
+ * @extends {jspb.Message}
2174
+ * @constructor
2175
+ */
2176
+ proto.cms.FooterSocialNetworksItemMeta = function(opt_data) {
2177
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2178
+ };
2179
+ goog.inherits(proto.cms.FooterSocialNetworksItemMeta, jspb.Message);
2180
+ if (goog.DEBUG && !COMPILED) {
2181
+ /**
2182
+ * @public
2183
+ * @override
2184
+ */
2185
+ proto.cms.FooterSocialNetworksItemMeta.displayName = 'proto.cms.FooterSocialNetworksItemMeta';
2186
+ }
2187
+ /**
2188
+ * Generated by JsPbCodeGenerator.
2189
+ * @param {Array=} opt_data Optional initial data array, typically from a
2190
+ * server response, or constructed directly in Javascript. The array is used
2191
+ * in place and becomes part of the constructed object. It is not cloned.
2192
+ * If no data is provided, the constructed object will be empty, but still
2193
+ * valid.
2194
+ * @extends {jspb.Message}
2195
+ * @constructor
2196
+ */
2197
+ proto.cms.FooterSocialNetworksFile = function(opt_data) {
2198
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2199
+ };
2200
+ goog.inherits(proto.cms.FooterSocialNetworksFile, jspb.Message);
2201
+ if (goog.DEBUG && !COMPILED) {
2202
+ /**
2203
+ * @public
2204
+ * @override
2205
+ */
2206
+ proto.cms.FooterSocialNetworksFile.displayName = 'proto.cms.FooterSocialNetworksFile';
2207
+ }
2208
+ /**
2209
+ * Generated by JsPbCodeGenerator.
2210
+ * @param {Array=} opt_data Optional initial data array, typically from a
2211
+ * server response, or constructed directly in Javascript. The array is used
2212
+ * in place and becomes part of the constructed object. It is not cloned.
2213
+ * If no data is provided, the constructed object will be empty, but still
2214
+ * valid.
2215
+ * @extends {jspb.Message}
2216
+ * @constructor
2217
+ */
2218
+ proto.cms.FooterSocialNetworksMediaItem = function(opt_data) {
2219
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2220
+ };
2221
+ goog.inherits(proto.cms.FooterSocialNetworksMediaItem, jspb.Message);
2222
+ if (goog.DEBUG && !COMPILED) {
2223
+ /**
2224
+ * @public
2225
+ * @override
2226
+ */
2227
+ proto.cms.FooterSocialNetworksMediaItem.displayName = 'proto.cms.FooterSocialNetworksMediaItem';
2228
+ }
2229
+ /**
2230
+ * Generated by JsPbCodeGenerator.
2231
+ * @param {Array=} opt_data Optional initial data array, typically from a
2232
+ * server response, or constructed directly in Javascript. The array is used
2233
+ * in place and becomes part of the constructed object. It is not cloned.
2234
+ * If no data is provided, the constructed object will be empty, but still
2235
+ * valid.
2236
+ * @extends {jspb.Message}
2237
+ * @constructor
2238
+ */
2239
+ proto.cms.FooterSocialNetworksItem = function(opt_data) {
2240
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterSocialNetworksItem.repeatedFields_, null);
2241
+ };
2242
+ goog.inherits(proto.cms.FooterSocialNetworksItem, jspb.Message);
2243
+ if (goog.DEBUG && !COMPILED) {
2244
+ /**
2245
+ * @public
2246
+ * @override
2247
+ */
2248
+ proto.cms.FooterSocialNetworksItem.displayName = 'proto.cms.FooterSocialNetworksItem';
2249
+ }
2250
+ /**
2251
+ * Generated by JsPbCodeGenerator.
2252
+ * @param {Array=} opt_data Optional initial data array, typically from a
2253
+ * server response, or constructed directly in Javascript. The array is used
2254
+ * in place and becomes part of the constructed object. It is not cloned.
2255
+ * If no data is provided, the constructed object will be empty, but still
2256
+ * valid.
2257
+ * @extends {jspb.Message}
2258
+ * @constructor
2259
+ */
2260
+ proto.cms.FooterSocialNetworksResponse = function(opt_data) {
2261
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2262
+ };
2263
+ goog.inherits(proto.cms.FooterSocialNetworksResponse, jspb.Message);
2264
+ if (goog.DEBUG && !COMPILED) {
2265
+ /**
2266
+ * @public
2267
+ * @override
2268
+ */
2269
+ proto.cms.FooterSocialNetworksResponse.displayName = 'proto.cms.FooterSocialNetworksResponse';
2270
+ }
2271
+ /**
2272
+ * Generated by JsPbCodeGenerator.
2273
+ * @param {Array=} opt_data Optional initial data array, typically from a
2274
+ * server response, or constructed directly in Javascript. The array is used
2275
+ * in place and becomes part of the constructed object. It is not cloned.
2276
+ * If no data is provided, the constructed object will be empty, but still
2277
+ * valid.
2278
+ * @extends {jspb.Message}
2279
+ * @constructor
2280
+ */
2281
+ proto.cms.GetFooterSocialNetworksRequest = function(opt_data) {
2282
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2283
+ };
2284
+ goog.inherits(proto.cms.GetFooterSocialNetworksRequest, jspb.Message);
2285
+ if (goog.DEBUG && !COMPILED) {
2286
+ /**
2287
+ * @public
2288
+ * @override
2289
+ */
2290
+ proto.cms.GetFooterSocialNetworksRequest.displayName = 'proto.cms.GetFooterSocialNetworksRequest';
2291
+ }
2292
+ /**
2293
+ * Generated by JsPbCodeGenerator.
2294
+ * @param {Array=} opt_data Optional initial data array, typically from a
2295
+ * server response, or constructed directly in Javascript. The array is used
2296
+ * in place and becomes part of the constructed object. It is not cloned.
2297
+ * If no data is provided, the constructed object will be empty, but still
2298
+ * valid.
2299
+ * @extends {jspb.Message}
2300
+ * @constructor
2301
+ */
2302
+ proto.cms.DeleteFooterSocialNetworksMediaRequest = function(opt_data) {
2303
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2304
+ };
2305
+ goog.inherits(proto.cms.DeleteFooterSocialNetworksMediaRequest, jspb.Message);
2306
+ if (goog.DEBUG && !COMPILED) {
2307
+ /**
2308
+ * @public
2309
+ * @override
2310
+ */
2311
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.displayName = 'proto.cms.DeleteFooterSocialNetworksMediaRequest';
2312
+ }
2313
+ /**
2314
+ * Generated by JsPbCodeGenerator.
2315
+ * @param {Array=} opt_data Optional initial data array, typically from a
2316
+ * server response, or constructed directly in Javascript. The array is used
2317
+ * in place and becomes part of the constructed object. It is not cloned.
2318
+ * If no data is provided, the constructed object will be empty, but still
2319
+ * valid.
2320
+ * @extends {jspb.Message}
2321
+ * @constructor
2322
+ */
2323
+ proto.cms.FooterSocialNetworksStatusResponse = function(opt_data) {
2324
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2325
+ };
2326
+ goog.inherits(proto.cms.FooterSocialNetworksStatusResponse, jspb.Message);
2327
+ if (goog.DEBUG && !COMPILED) {
2328
+ /**
2329
+ * @public
2330
+ * @override
2331
+ */
2332
+ proto.cms.FooterSocialNetworksStatusResponse.displayName = 'proto.cms.FooterSocialNetworksStatusResponse';
2333
+ }
2334
+ /**
2335
+ * Generated by JsPbCodeGenerator.
2336
+ * @param {Array=} opt_data Optional initial data array, typically from a
2337
+ * server response, or constructed directly in Javascript. The array is used
2338
+ * in place and becomes part of the constructed object. It is not cloned.
2339
+ * If no data is provided, the constructed object will be empty, but still
2340
+ * valid.
2341
+ * @extends {jspb.Message}
2342
+ * @constructor
2343
+ */
2344
+ proto.cms.FooterSocialNetworksItemsResponse = function(opt_data) {
2345
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterSocialNetworksItemsResponse.repeatedFields_, null);
2346
+ };
2347
+ goog.inherits(proto.cms.FooterSocialNetworksItemsResponse, jspb.Message);
2348
+ if (goog.DEBUG && !COMPILED) {
2349
+ /**
2350
+ * @public
2351
+ * @override
2352
+ */
2353
+ proto.cms.FooterSocialNetworksItemsResponse.displayName = 'proto.cms.FooterSocialNetworksItemsResponse';
2354
+ }
2112
2355
  /**
2113
2356
  * Generated by JsPbCodeGenerator.
2114
2357
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -27270,6 +27513,2674 @@ proto.cms.FooterPartnersItemsResponse.prototype.hasTotalItems = function() {
27270
27513
 
27271
27514
 
27272
27515
 
27516
+ /**
27517
+ * Oneof group definitions for this message. Each group defines the field
27518
+ * numbers belonging to that group. When of these fields' value is set, all
27519
+ * other fields in the group are cleared. During deserialization, if multiple
27520
+ * fields are encountered for a group, only the last value seen will be kept.
27521
+ * @private {!Array<!Array<number>>}
27522
+ * @const
27523
+ */
27524
+ proto.cms.FooterSocialNetworksRequest.oneofGroups_ = [[1,2]];
27525
+
27526
+ /**
27527
+ * @enum {number}
27528
+ */
27529
+ proto.cms.FooterSocialNetworksRequest.RequestCase = {
27530
+ REQUEST_NOT_SET: 0,
27531
+ SOCIAL_NETWORKS_DATA: 1,
27532
+ SOCIAL_NETWORKS_FILE: 2
27533
+ };
27534
+
27535
+ /**
27536
+ * @return {proto.cms.FooterSocialNetworksRequest.RequestCase}
27537
+ */
27538
+ proto.cms.FooterSocialNetworksRequest.prototype.getRequestCase = function() {
27539
+ return /** @type {proto.cms.FooterSocialNetworksRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.cms.FooterSocialNetworksRequest.oneofGroups_[0]));
27540
+ };
27541
+
27542
+
27543
+
27544
+ if (jspb.Message.GENERATE_TO_OBJECT) {
27545
+ /**
27546
+ * Creates an object representation of this proto.
27547
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
27548
+ * Optional fields that are not set will be set to undefined.
27549
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
27550
+ * For the list of reserved names please see:
27551
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
27552
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
27553
+ * JSPB instance for transitional soy proto support:
27554
+ * http://goto/soy-param-migration
27555
+ * @return {!Object}
27556
+ */
27557
+ proto.cms.FooterSocialNetworksRequest.prototype.toObject = function(opt_includeInstance) {
27558
+ return proto.cms.FooterSocialNetworksRequest.toObject(opt_includeInstance, this);
27559
+ };
27560
+
27561
+
27562
+ /**
27563
+ * Static version of the {@see toObject} method.
27564
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
27565
+ * the JSPB instance for transitional soy proto support:
27566
+ * http://goto/soy-param-migration
27567
+ * @param {!proto.cms.FooterSocialNetworksRequest} msg The msg instance to transform.
27568
+ * @return {!Object}
27569
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27570
+ */
27571
+ proto.cms.FooterSocialNetworksRequest.toObject = function(includeInstance, msg) {
27572
+ var f, obj = {
27573
+ socialNetworksData: (f = msg.getSocialNetworksData()) && proto.cms.FooterSocialNetworksItemRequest.toObject(includeInstance, f),
27574
+ socialNetworksFile: (f = msg.getSocialNetworksFile()) && proto.cms.FooterSocialNetworksFile.toObject(includeInstance, f)
27575
+ };
27576
+
27577
+ if (includeInstance) {
27578
+ obj.$jspbMessageInstance = msg;
27579
+ }
27580
+ return obj;
27581
+ };
27582
+ }
27583
+
27584
+
27585
+ /**
27586
+ * Deserializes binary data (in protobuf wire format).
27587
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
27588
+ * @return {!proto.cms.FooterSocialNetworksRequest}
27589
+ */
27590
+ proto.cms.FooterSocialNetworksRequest.deserializeBinary = function(bytes) {
27591
+ var reader = new jspb.BinaryReader(bytes);
27592
+ var msg = new proto.cms.FooterSocialNetworksRequest;
27593
+ return proto.cms.FooterSocialNetworksRequest.deserializeBinaryFromReader(msg, reader);
27594
+ };
27595
+
27596
+
27597
+ /**
27598
+ * Deserializes binary data (in protobuf wire format) from the
27599
+ * given reader into the given message object.
27600
+ * @param {!proto.cms.FooterSocialNetworksRequest} msg The message object to deserialize into.
27601
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27602
+ * @return {!proto.cms.FooterSocialNetworksRequest}
27603
+ */
27604
+ proto.cms.FooterSocialNetworksRequest.deserializeBinaryFromReader = function(msg, reader) {
27605
+ while (reader.nextField()) {
27606
+ if (reader.isEndGroup()) {
27607
+ break;
27608
+ }
27609
+ var field = reader.getFieldNumber();
27610
+ switch (field) {
27611
+ case 1:
27612
+ var value = new proto.cms.FooterSocialNetworksItemRequest;
27613
+ reader.readMessage(value,proto.cms.FooterSocialNetworksItemRequest.deserializeBinaryFromReader);
27614
+ msg.setSocialNetworksData(value);
27615
+ break;
27616
+ case 2:
27617
+ var value = new proto.cms.FooterSocialNetworksFile;
27618
+ reader.readMessage(value,proto.cms.FooterSocialNetworksFile.deserializeBinaryFromReader);
27619
+ msg.setSocialNetworksFile(value);
27620
+ break;
27621
+ default:
27622
+ reader.skipField();
27623
+ break;
27624
+ }
27625
+ }
27626
+ return msg;
27627
+ };
27628
+
27629
+
27630
+ /**
27631
+ * Serializes the message to binary data (in protobuf wire format).
27632
+ * @return {!Uint8Array}
27633
+ */
27634
+ proto.cms.FooterSocialNetworksRequest.prototype.serializeBinary = function() {
27635
+ var writer = new jspb.BinaryWriter();
27636
+ proto.cms.FooterSocialNetworksRequest.serializeBinaryToWriter(this, writer);
27637
+ return writer.getResultBuffer();
27638
+ };
27639
+
27640
+
27641
+ /**
27642
+ * Serializes the given message to binary data (in protobuf wire
27643
+ * format), writing to the given BinaryWriter.
27644
+ * @param {!proto.cms.FooterSocialNetworksRequest} message
27645
+ * @param {!jspb.BinaryWriter} writer
27646
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27647
+ */
27648
+ proto.cms.FooterSocialNetworksRequest.serializeBinaryToWriter = function(message, writer) {
27649
+ var f = undefined;
27650
+ f = message.getSocialNetworksData();
27651
+ if (f != null) {
27652
+ writer.writeMessage(
27653
+ 1,
27654
+ f,
27655
+ proto.cms.FooterSocialNetworksItemRequest.serializeBinaryToWriter
27656
+ );
27657
+ }
27658
+ f = message.getSocialNetworksFile();
27659
+ if (f != null) {
27660
+ writer.writeMessage(
27661
+ 2,
27662
+ f,
27663
+ proto.cms.FooterSocialNetworksFile.serializeBinaryToWriter
27664
+ );
27665
+ }
27666
+ };
27667
+
27668
+
27669
+ /**
27670
+ * optional FooterSocialNetworksItemRequest social_networks_data = 1;
27671
+ * @return {?proto.cms.FooterSocialNetworksItemRequest}
27672
+ */
27673
+ proto.cms.FooterSocialNetworksRequest.prototype.getSocialNetworksData = function() {
27674
+ return /** @type{?proto.cms.FooterSocialNetworksItemRequest} */ (
27675
+ jspb.Message.getWrapperField(this, proto.cms.FooterSocialNetworksItemRequest, 1));
27676
+ };
27677
+
27678
+
27679
+ /**
27680
+ * @param {?proto.cms.FooterSocialNetworksItemRequest|undefined} value
27681
+ * @return {!proto.cms.FooterSocialNetworksRequest} returns this
27682
+ */
27683
+ proto.cms.FooterSocialNetworksRequest.prototype.setSocialNetworksData = function(value) {
27684
+ return jspb.Message.setOneofWrapperField(this, 1, proto.cms.FooterSocialNetworksRequest.oneofGroups_[0], value);
27685
+ };
27686
+
27687
+
27688
+ /**
27689
+ * Clears the message field making it undefined.
27690
+ * @return {!proto.cms.FooterSocialNetworksRequest} returns this
27691
+ */
27692
+ proto.cms.FooterSocialNetworksRequest.prototype.clearSocialNetworksData = function() {
27693
+ return this.setSocialNetworksData(undefined);
27694
+ };
27695
+
27696
+
27697
+ /**
27698
+ * Returns whether this field is set.
27699
+ * @return {boolean}
27700
+ */
27701
+ proto.cms.FooterSocialNetworksRequest.prototype.hasSocialNetworksData = function() {
27702
+ return jspb.Message.getField(this, 1) != null;
27703
+ };
27704
+
27705
+
27706
+ /**
27707
+ * optional FooterSocialNetworksFile social_networks_file = 2;
27708
+ * @return {?proto.cms.FooterSocialNetworksFile}
27709
+ */
27710
+ proto.cms.FooterSocialNetworksRequest.prototype.getSocialNetworksFile = function() {
27711
+ return /** @type{?proto.cms.FooterSocialNetworksFile} */ (
27712
+ jspb.Message.getWrapperField(this, proto.cms.FooterSocialNetworksFile, 2));
27713
+ };
27714
+
27715
+
27716
+ /**
27717
+ * @param {?proto.cms.FooterSocialNetworksFile|undefined} value
27718
+ * @return {!proto.cms.FooterSocialNetworksRequest} returns this
27719
+ */
27720
+ proto.cms.FooterSocialNetworksRequest.prototype.setSocialNetworksFile = function(value) {
27721
+ return jspb.Message.setOneofWrapperField(this, 2, proto.cms.FooterSocialNetworksRequest.oneofGroups_[0], value);
27722
+ };
27723
+
27724
+
27725
+ /**
27726
+ * Clears the message field making it undefined.
27727
+ * @return {!proto.cms.FooterSocialNetworksRequest} returns this
27728
+ */
27729
+ proto.cms.FooterSocialNetworksRequest.prototype.clearSocialNetworksFile = function() {
27730
+ return this.setSocialNetworksFile(undefined);
27731
+ };
27732
+
27733
+
27734
+ /**
27735
+ * Returns whether this field is set.
27736
+ * @return {boolean}
27737
+ */
27738
+ proto.cms.FooterSocialNetworksRequest.prototype.hasSocialNetworksFile = function() {
27739
+ return jspb.Message.getField(this, 2) != null;
27740
+ };
27741
+
27742
+
27743
+
27744
+ /**
27745
+ * List of repeated fields within this message type.
27746
+ * @private {!Array<number>}
27747
+ * @const
27748
+ */
27749
+ proto.cms.FooterSocialNetworksItemRequest.repeatedFields_ = [5];
27750
+
27751
+
27752
+
27753
+ if (jspb.Message.GENERATE_TO_OBJECT) {
27754
+ /**
27755
+ * Creates an object representation of this proto.
27756
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
27757
+ * Optional fields that are not set will be set to undefined.
27758
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
27759
+ * For the list of reserved names please see:
27760
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
27761
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
27762
+ * JSPB instance for transitional soy proto support:
27763
+ * http://goto/soy-param-migration
27764
+ * @return {!Object}
27765
+ */
27766
+ proto.cms.FooterSocialNetworksItemRequest.prototype.toObject = function(opt_includeInstance) {
27767
+ return proto.cms.FooterSocialNetworksItemRequest.toObject(opt_includeInstance, this);
27768
+ };
27769
+
27770
+
27771
+ /**
27772
+ * Static version of the {@see toObject} method.
27773
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
27774
+ * the JSPB instance for transitional soy proto support:
27775
+ * http://goto/soy-param-migration
27776
+ * @param {!proto.cms.FooterSocialNetworksItemRequest} msg The msg instance to transform.
27777
+ * @return {!Object}
27778
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27779
+ */
27780
+ proto.cms.FooterSocialNetworksItemRequest.toObject = function(includeInstance, msg) {
27781
+ var f, obj = {
27782
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
27783
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
27784
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
27785
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
27786
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
27787
+ proto.cms.FooterSocialNetworksItemMeta.toObject, includeInstance)
27788
+ };
27789
+
27790
+ if (includeInstance) {
27791
+ obj.$jspbMessageInstance = msg;
27792
+ }
27793
+ return obj;
27794
+ };
27795
+ }
27796
+
27797
+
27798
+ /**
27799
+ * Deserializes binary data (in protobuf wire format).
27800
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
27801
+ * @return {!proto.cms.FooterSocialNetworksItemRequest}
27802
+ */
27803
+ proto.cms.FooterSocialNetworksItemRequest.deserializeBinary = function(bytes) {
27804
+ var reader = new jspb.BinaryReader(bytes);
27805
+ var msg = new proto.cms.FooterSocialNetworksItemRequest;
27806
+ return proto.cms.FooterSocialNetworksItemRequest.deserializeBinaryFromReader(msg, reader);
27807
+ };
27808
+
27809
+
27810
+ /**
27811
+ * Deserializes binary data (in protobuf wire format) from the
27812
+ * given reader into the given message object.
27813
+ * @param {!proto.cms.FooterSocialNetworksItemRequest} msg The message object to deserialize into.
27814
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27815
+ * @return {!proto.cms.FooterSocialNetworksItemRequest}
27816
+ */
27817
+ proto.cms.FooterSocialNetworksItemRequest.deserializeBinaryFromReader = function(msg, reader) {
27818
+ while (reader.nextField()) {
27819
+ if (reader.isEndGroup()) {
27820
+ break;
27821
+ }
27822
+ var field = reader.getFieldNumber();
27823
+ switch (field) {
27824
+ case 1:
27825
+ var value = /** @type {number} */ (reader.readInt32());
27826
+ msg.setId(value);
27827
+ break;
27828
+ case 2:
27829
+ var value = /** @type {string} */ (reader.readString());
27830
+ msg.setGeo(value);
27831
+ break;
27832
+ case 3:
27833
+ var value = /** @type {string} */ (reader.readString());
27834
+ msg.setTitle(value);
27835
+ break;
27836
+ case 4:
27837
+ var value = /** @type {number} */ (reader.readInt32());
27838
+ msg.setIsActive(value);
27839
+ break;
27840
+ case 5:
27841
+ var value = new proto.cms.FooterSocialNetworksItemMeta;
27842
+ reader.readMessage(value,proto.cms.FooterSocialNetworksItemMeta.deserializeBinaryFromReader);
27843
+ msg.addItems(value);
27844
+ break;
27845
+ default:
27846
+ reader.skipField();
27847
+ break;
27848
+ }
27849
+ }
27850
+ return msg;
27851
+ };
27852
+
27853
+
27854
+ /**
27855
+ * Serializes the message to binary data (in protobuf wire format).
27856
+ * @return {!Uint8Array}
27857
+ */
27858
+ proto.cms.FooterSocialNetworksItemRequest.prototype.serializeBinary = function() {
27859
+ var writer = new jspb.BinaryWriter();
27860
+ proto.cms.FooterSocialNetworksItemRequest.serializeBinaryToWriter(this, writer);
27861
+ return writer.getResultBuffer();
27862
+ };
27863
+
27864
+
27865
+ /**
27866
+ * Serializes the given message to binary data (in protobuf wire
27867
+ * format), writing to the given BinaryWriter.
27868
+ * @param {!proto.cms.FooterSocialNetworksItemRequest} message
27869
+ * @param {!jspb.BinaryWriter} writer
27870
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27871
+ */
27872
+ proto.cms.FooterSocialNetworksItemRequest.serializeBinaryToWriter = function(message, writer) {
27873
+ var f = undefined;
27874
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
27875
+ if (f != null) {
27876
+ writer.writeInt32(
27877
+ 1,
27878
+ f
27879
+ );
27880
+ }
27881
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
27882
+ if (f != null) {
27883
+ writer.writeString(
27884
+ 2,
27885
+ f
27886
+ );
27887
+ }
27888
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
27889
+ if (f != null) {
27890
+ writer.writeString(
27891
+ 3,
27892
+ f
27893
+ );
27894
+ }
27895
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
27896
+ if (f != null) {
27897
+ writer.writeInt32(
27898
+ 4,
27899
+ f
27900
+ );
27901
+ }
27902
+ f = message.getItemsList();
27903
+ if (f.length > 0) {
27904
+ writer.writeRepeatedMessage(
27905
+ 5,
27906
+ f,
27907
+ proto.cms.FooterSocialNetworksItemMeta.serializeBinaryToWriter
27908
+ );
27909
+ }
27910
+ };
27911
+
27912
+
27913
+ /**
27914
+ * optional int32 id = 1;
27915
+ * @return {number}
27916
+ */
27917
+ proto.cms.FooterSocialNetworksItemRequest.prototype.getId = function() {
27918
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
27919
+ };
27920
+
27921
+
27922
+ /**
27923
+ * @param {number} value
27924
+ * @return {!proto.cms.FooterSocialNetworksItemRequest} returns this
27925
+ */
27926
+ proto.cms.FooterSocialNetworksItemRequest.prototype.setId = function(value) {
27927
+ return jspb.Message.setField(this, 1, value);
27928
+ };
27929
+
27930
+
27931
+ /**
27932
+ * Clears the field making it undefined.
27933
+ * @return {!proto.cms.FooterSocialNetworksItemRequest} returns this
27934
+ */
27935
+ proto.cms.FooterSocialNetworksItemRequest.prototype.clearId = function() {
27936
+ return jspb.Message.setField(this, 1, undefined);
27937
+ };
27938
+
27939
+
27940
+ /**
27941
+ * Returns whether this field is set.
27942
+ * @return {boolean}
27943
+ */
27944
+ proto.cms.FooterSocialNetworksItemRequest.prototype.hasId = function() {
27945
+ return jspb.Message.getField(this, 1) != null;
27946
+ };
27947
+
27948
+
27949
+ /**
27950
+ * optional string geo = 2;
27951
+ * @return {string}
27952
+ */
27953
+ proto.cms.FooterSocialNetworksItemRequest.prototype.getGeo = function() {
27954
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
27955
+ };
27956
+
27957
+
27958
+ /**
27959
+ * @param {string} value
27960
+ * @return {!proto.cms.FooterSocialNetworksItemRequest} returns this
27961
+ */
27962
+ proto.cms.FooterSocialNetworksItemRequest.prototype.setGeo = function(value) {
27963
+ return jspb.Message.setField(this, 2, value);
27964
+ };
27965
+
27966
+
27967
+ /**
27968
+ * Clears the field making it undefined.
27969
+ * @return {!proto.cms.FooterSocialNetworksItemRequest} returns this
27970
+ */
27971
+ proto.cms.FooterSocialNetworksItemRequest.prototype.clearGeo = function() {
27972
+ return jspb.Message.setField(this, 2, undefined);
27973
+ };
27974
+
27975
+
27976
+ /**
27977
+ * Returns whether this field is set.
27978
+ * @return {boolean}
27979
+ */
27980
+ proto.cms.FooterSocialNetworksItemRequest.prototype.hasGeo = function() {
27981
+ return jspb.Message.getField(this, 2) != null;
27982
+ };
27983
+
27984
+
27985
+ /**
27986
+ * optional string title = 3;
27987
+ * @return {string}
27988
+ */
27989
+ proto.cms.FooterSocialNetworksItemRequest.prototype.getTitle = function() {
27990
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
27991
+ };
27992
+
27993
+
27994
+ /**
27995
+ * @param {string} value
27996
+ * @return {!proto.cms.FooterSocialNetworksItemRequest} returns this
27997
+ */
27998
+ proto.cms.FooterSocialNetworksItemRequest.prototype.setTitle = function(value) {
27999
+ return jspb.Message.setField(this, 3, value);
28000
+ };
28001
+
28002
+
28003
+ /**
28004
+ * Clears the field making it undefined.
28005
+ * @return {!proto.cms.FooterSocialNetworksItemRequest} returns this
28006
+ */
28007
+ proto.cms.FooterSocialNetworksItemRequest.prototype.clearTitle = function() {
28008
+ return jspb.Message.setField(this, 3, undefined);
28009
+ };
28010
+
28011
+
28012
+ /**
28013
+ * Returns whether this field is set.
28014
+ * @return {boolean}
28015
+ */
28016
+ proto.cms.FooterSocialNetworksItemRequest.prototype.hasTitle = function() {
28017
+ return jspb.Message.getField(this, 3) != null;
28018
+ };
28019
+
28020
+
28021
+ /**
28022
+ * optional int32 is_active = 4;
28023
+ * @return {number}
28024
+ */
28025
+ proto.cms.FooterSocialNetworksItemRequest.prototype.getIsActive = function() {
28026
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
28027
+ };
28028
+
28029
+
28030
+ /**
28031
+ * @param {number} value
28032
+ * @return {!proto.cms.FooterSocialNetworksItemRequest} returns this
28033
+ */
28034
+ proto.cms.FooterSocialNetworksItemRequest.prototype.setIsActive = function(value) {
28035
+ return jspb.Message.setField(this, 4, value);
28036
+ };
28037
+
28038
+
28039
+ /**
28040
+ * Clears the field making it undefined.
28041
+ * @return {!proto.cms.FooterSocialNetworksItemRequest} returns this
28042
+ */
28043
+ proto.cms.FooterSocialNetworksItemRequest.prototype.clearIsActive = function() {
28044
+ return jspb.Message.setField(this, 4, undefined);
28045
+ };
28046
+
28047
+
28048
+ /**
28049
+ * Returns whether this field is set.
28050
+ * @return {boolean}
28051
+ */
28052
+ proto.cms.FooterSocialNetworksItemRequest.prototype.hasIsActive = function() {
28053
+ return jspb.Message.getField(this, 4) != null;
28054
+ };
28055
+
28056
+
28057
+ /**
28058
+ * repeated FooterSocialNetworksItemMeta items = 5;
28059
+ * @return {!Array<!proto.cms.FooterSocialNetworksItemMeta>}
28060
+ */
28061
+ proto.cms.FooterSocialNetworksItemRequest.prototype.getItemsList = function() {
28062
+ return /** @type{!Array<!proto.cms.FooterSocialNetworksItemMeta>} */ (
28063
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterSocialNetworksItemMeta, 5));
28064
+ };
28065
+
28066
+
28067
+ /**
28068
+ * @param {!Array<!proto.cms.FooterSocialNetworksItemMeta>} value
28069
+ * @return {!proto.cms.FooterSocialNetworksItemRequest} returns this
28070
+ */
28071
+ proto.cms.FooterSocialNetworksItemRequest.prototype.setItemsList = function(value) {
28072
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
28073
+ };
28074
+
28075
+
28076
+ /**
28077
+ * @param {!proto.cms.FooterSocialNetworksItemMeta=} opt_value
28078
+ * @param {number=} opt_index
28079
+ * @return {!proto.cms.FooterSocialNetworksItemMeta}
28080
+ */
28081
+ proto.cms.FooterSocialNetworksItemRequest.prototype.addItems = function(opt_value, opt_index) {
28082
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.cms.FooterSocialNetworksItemMeta, opt_index);
28083
+ };
28084
+
28085
+
28086
+ /**
28087
+ * Clears the list making it empty but non-null.
28088
+ * @return {!proto.cms.FooterSocialNetworksItemRequest} returns this
28089
+ */
28090
+ proto.cms.FooterSocialNetworksItemRequest.prototype.clearItemsList = function() {
28091
+ return this.setItemsList([]);
28092
+ };
28093
+
28094
+
28095
+
28096
+
28097
+
28098
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28099
+ /**
28100
+ * Creates an object representation of this proto.
28101
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28102
+ * Optional fields that are not set will be set to undefined.
28103
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28104
+ * For the list of reserved names please see:
28105
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28106
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28107
+ * JSPB instance for transitional soy proto support:
28108
+ * http://goto/soy-param-migration
28109
+ * @return {!Object}
28110
+ */
28111
+ proto.cms.FooterSocialNetworksItemMeta.prototype.toObject = function(opt_includeInstance) {
28112
+ return proto.cms.FooterSocialNetworksItemMeta.toObject(opt_includeInstance, this);
28113
+ };
28114
+
28115
+
28116
+ /**
28117
+ * Static version of the {@see toObject} method.
28118
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28119
+ * the JSPB instance for transitional soy proto support:
28120
+ * http://goto/soy-param-migration
28121
+ * @param {!proto.cms.FooterSocialNetworksItemMeta} msg The msg instance to transform.
28122
+ * @return {!Object}
28123
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28124
+ */
28125
+ proto.cms.FooterSocialNetworksItemMeta.toObject = function(includeInstance, msg) {
28126
+ var f, obj = {
28127
+ href: jspb.Message.getFieldWithDefault(msg, 1, ""),
28128
+ priority: jspb.Message.getFieldWithDefault(msg, 2, 0),
28129
+ alt: jspb.Message.getFieldWithDefault(msg, 3, "")
28130
+ };
28131
+
28132
+ if (includeInstance) {
28133
+ obj.$jspbMessageInstance = msg;
28134
+ }
28135
+ return obj;
28136
+ };
28137
+ }
28138
+
28139
+
28140
+ /**
28141
+ * Deserializes binary data (in protobuf wire format).
28142
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
28143
+ * @return {!proto.cms.FooterSocialNetworksItemMeta}
28144
+ */
28145
+ proto.cms.FooterSocialNetworksItemMeta.deserializeBinary = function(bytes) {
28146
+ var reader = new jspb.BinaryReader(bytes);
28147
+ var msg = new proto.cms.FooterSocialNetworksItemMeta;
28148
+ return proto.cms.FooterSocialNetworksItemMeta.deserializeBinaryFromReader(msg, reader);
28149
+ };
28150
+
28151
+
28152
+ /**
28153
+ * Deserializes binary data (in protobuf wire format) from the
28154
+ * given reader into the given message object.
28155
+ * @param {!proto.cms.FooterSocialNetworksItemMeta} msg The message object to deserialize into.
28156
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
28157
+ * @return {!proto.cms.FooterSocialNetworksItemMeta}
28158
+ */
28159
+ proto.cms.FooterSocialNetworksItemMeta.deserializeBinaryFromReader = function(msg, reader) {
28160
+ while (reader.nextField()) {
28161
+ if (reader.isEndGroup()) {
28162
+ break;
28163
+ }
28164
+ var field = reader.getFieldNumber();
28165
+ switch (field) {
28166
+ case 1:
28167
+ var value = /** @type {string} */ (reader.readString());
28168
+ msg.setHref(value);
28169
+ break;
28170
+ case 2:
28171
+ var value = /** @type {number} */ (reader.readInt32());
28172
+ msg.setPriority(value);
28173
+ break;
28174
+ case 3:
28175
+ var value = /** @type {string} */ (reader.readString());
28176
+ msg.setAlt(value);
28177
+ break;
28178
+ default:
28179
+ reader.skipField();
28180
+ break;
28181
+ }
28182
+ }
28183
+ return msg;
28184
+ };
28185
+
28186
+
28187
+ /**
28188
+ * Serializes the message to binary data (in protobuf wire format).
28189
+ * @return {!Uint8Array}
28190
+ */
28191
+ proto.cms.FooterSocialNetworksItemMeta.prototype.serializeBinary = function() {
28192
+ var writer = new jspb.BinaryWriter();
28193
+ proto.cms.FooterSocialNetworksItemMeta.serializeBinaryToWriter(this, writer);
28194
+ return writer.getResultBuffer();
28195
+ };
28196
+
28197
+
28198
+ /**
28199
+ * Serializes the given message to binary data (in protobuf wire
28200
+ * format), writing to the given BinaryWriter.
28201
+ * @param {!proto.cms.FooterSocialNetworksItemMeta} message
28202
+ * @param {!jspb.BinaryWriter} writer
28203
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28204
+ */
28205
+ proto.cms.FooterSocialNetworksItemMeta.serializeBinaryToWriter = function(message, writer) {
28206
+ var f = undefined;
28207
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
28208
+ if (f != null) {
28209
+ writer.writeString(
28210
+ 1,
28211
+ f
28212
+ );
28213
+ }
28214
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
28215
+ if (f != null) {
28216
+ writer.writeInt32(
28217
+ 2,
28218
+ f
28219
+ );
28220
+ }
28221
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
28222
+ if (f != null) {
28223
+ writer.writeString(
28224
+ 3,
28225
+ f
28226
+ );
28227
+ }
28228
+ };
28229
+
28230
+
28231
+ /**
28232
+ * optional string href = 1;
28233
+ * @return {string}
28234
+ */
28235
+ proto.cms.FooterSocialNetworksItemMeta.prototype.getHref = function() {
28236
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
28237
+ };
28238
+
28239
+
28240
+ /**
28241
+ * @param {string} value
28242
+ * @return {!proto.cms.FooterSocialNetworksItemMeta} returns this
28243
+ */
28244
+ proto.cms.FooterSocialNetworksItemMeta.prototype.setHref = function(value) {
28245
+ return jspb.Message.setField(this, 1, value);
28246
+ };
28247
+
28248
+
28249
+ /**
28250
+ * Clears the field making it undefined.
28251
+ * @return {!proto.cms.FooterSocialNetworksItemMeta} returns this
28252
+ */
28253
+ proto.cms.FooterSocialNetworksItemMeta.prototype.clearHref = function() {
28254
+ return jspb.Message.setField(this, 1, undefined);
28255
+ };
28256
+
28257
+
28258
+ /**
28259
+ * Returns whether this field is set.
28260
+ * @return {boolean}
28261
+ */
28262
+ proto.cms.FooterSocialNetworksItemMeta.prototype.hasHref = function() {
28263
+ return jspb.Message.getField(this, 1) != null;
28264
+ };
28265
+
28266
+
28267
+ /**
28268
+ * optional int32 priority = 2;
28269
+ * @return {number}
28270
+ */
28271
+ proto.cms.FooterSocialNetworksItemMeta.prototype.getPriority = function() {
28272
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
28273
+ };
28274
+
28275
+
28276
+ /**
28277
+ * @param {number} value
28278
+ * @return {!proto.cms.FooterSocialNetworksItemMeta} returns this
28279
+ */
28280
+ proto.cms.FooterSocialNetworksItemMeta.prototype.setPriority = function(value) {
28281
+ return jspb.Message.setField(this, 2, value);
28282
+ };
28283
+
28284
+
28285
+ /**
28286
+ * Clears the field making it undefined.
28287
+ * @return {!proto.cms.FooterSocialNetworksItemMeta} returns this
28288
+ */
28289
+ proto.cms.FooterSocialNetworksItemMeta.prototype.clearPriority = function() {
28290
+ return jspb.Message.setField(this, 2, undefined);
28291
+ };
28292
+
28293
+
28294
+ /**
28295
+ * Returns whether this field is set.
28296
+ * @return {boolean}
28297
+ */
28298
+ proto.cms.FooterSocialNetworksItemMeta.prototype.hasPriority = function() {
28299
+ return jspb.Message.getField(this, 2) != null;
28300
+ };
28301
+
28302
+
28303
+ /**
28304
+ * optional string alt = 3;
28305
+ * @return {string}
28306
+ */
28307
+ proto.cms.FooterSocialNetworksItemMeta.prototype.getAlt = function() {
28308
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
28309
+ };
28310
+
28311
+
28312
+ /**
28313
+ * @param {string} value
28314
+ * @return {!proto.cms.FooterSocialNetworksItemMeta} returns this
28315
+ */
28316
+ proto.cms.FooterSocialNetworksItemMeta.prototype.setAlt = function(value) {
28317
+ return jspb.Message.setField(this, 3, value);
28318
+ };
28319
+
28320
+
28321
+ /**
28322
+ * Clears the field making it undefined.
28323
+ * @return {!proto.cms.FooterSocialNetworksItemMeta} returns this
28324
+ */
28325
+ proto.cms.FooterSocialNetworksItemMeta.prototype.clearAlt = function() {
28326
+ return jspb.Message.setField(this, 3, undefined);
28327
+ };
28328
+
28329
+
28330
+ /**
28331
+ * Returns whether this field is set.
28332
+ * @return {boolean}
28333
+ */
28334
+ proto.cms.FooterSocialNetworksItemMeta.prototype.hasAlt = function() {
28335
+ return jspb.Message.getField(this, 3) != null;
28336
+ };
28337
+
28338
+
28339
+
28340
+
28341
+
28342
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28343
+ /**
28344
+ * Creates an object representation of this proto.
28345
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28346
+ * Optional fields that are not set will be set to undefined.
28347
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28348
+ * For the list of reserved names please see:
28349
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28350
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28351
+ * JSPB instance for transitional soy proto support:
28352
+ * http://goto/soy-param-migration
28353
+ * @return {!Object}
28354
+ */
28355
+ proto.cms.FooterSocialNetworksFile.prototype.toObject = function(opt_includeInstance) {
28356
+ return proto.cms.FooterSocialNetworksFile.toObject(opt_includeInstance, this);
28357
+ };
28358
+
28359
+
28360
+ /**
28361
+ * Static version of the {@see toObject} method.
28362
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28363
+ * the JSPB instance for transitional soy proto support:
28364
+ * http://goto/soy-param-migration
28365
+ * @param {!proto.cms.FooterSocialNetworksFile} msg The msg instance to transform.
28366
+ * @return {!Object}
28367
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28368
+ */
28369
+ proto.cms.FooterSocialNetworksFile.toObject = function(includeInstance, msg) {
28370
+ var f, obj = {
28371
+ itemIndex: jspb.Message.getFieldWithDefault(msg, 1, 0),
28372
+ file: (f = msg.getFile()) && proto.cms.File.toObject(includeInstance, f)
28373
+ };
28374
+
28375
+ if (includeInstance) {
28376
+ obj.$jspbMessageInstance = msg;
28377
+ }
28378
+ return obj;
28379
+ };
28380
+ }
28381
+
28382
+
28383
+ /**
28384
+ * Deserializes binary data (in protobuf wire format).
28385
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
28386
+ * @return {!proto.cms.FooterSocialNetworksFile}
28387
+ */
28388
+ proto.cms.FooterSocialNetworksFile.deserializeBinary = function(bytes) {
28389
+ var reader = new jspb.BinaryReader(bytes);
28390
+ var msg = new proto.cms.FooterSocialNetworksFile;
28391
+ return proto.cms.FooterSocialNetworksFile.deserializeBinaryFromReader(msg, reader);
28392
+ };
28393
+
28394
+
28395
+ /**
28396
+ * Deserializes binary data (in protobuf wire format) from the
28397
+ * given reader into the given message object.
28398
+ * @param {!proto.cms.FooterSocialNetworksFile} msg The message object to deserialize into.
28399
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
28400
+ * @return {!proto.cms.FooterSocialNetworksFile}
28401
+ */
28402
+ proto.cms.FooterSocialNetworksFile.deserializeBinaryFromReader = function(msg, reader) {
28403
+ while (reader.nextField()) {
28404
+ if (reader.isEndGroup()) {
28405
+ break;
28406
+ }
28407
+ var field = reader.getFieldNumber();
28408
+ switch (field) {
28409
+ case 1:
28410
+ var value = /** @type {number} */ (reader.readInt32());
28411
+ msg.setItemIndex(value);
28412
+ break;
28413
+ case 2:
28414
+ var value = new proto.cms.File;
28415
+ reader.readMessage(value,proto.cms.File.deserializeBinaryFromReader);
28416
+ msg.setFile(value);
28417
+ break;
28418
+ default:
28419
+ reader.skipField();
28420
+ break;
28421
+ }
28422
+ }
28423
+ return msg;
28424
+ };
28425
+
28426
+
28427
+ /**
28428
+ * Serializes the message to binary data (in protobuf wire format).
28429
+ * @return {!Uint8Array}
28430
+ */
28431
+ proto.cms.FooterSocialNetworksFile.prototype.serializeBinary = function() {
28432
+ var writer = new jspb.BinaryWriter();
28433
+ proto.cms.FooterSocialNetworksFile.serializeBinaryToWriter(this, writer);
28434
+ return writer.getResultBuffer();
28435
+ };
28436
+
28437
+
28438
+ /**
28439
+ * Serializes the given message to binary data (in protobuf wire
28440
+ * format), writing to the given BinaryWriter.
28441
+ * @param {!proto.cms.FooterSocialNetworksFile} message
28442
+ * @param {!jspb.BinaryWriter} writer
28443
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28444
+ */
28445
+ proto.cms.FooterSocialNetworksFile.serializeBinaryToWriter = function(message, writer) {
28446
+ var f = undefined;
28447
+ f = message.getItemIndex();
28448
+ if (f !== 0) {
28449
+ writer.writeInt32(
28450
+ 1,
28451
+ f
28452
+ );
28453
+ }
28454
+ f = message.getFile();
28455
+ if (f != null) {
28456
+ writer.writeMessage(
28457
+ 2,
28458
+ f,
28459
+ proto.cms.File.serializeBinaryToWriter
28460
+ );
28461
+ }
28462
+ };
28463
+
28464
+
28465
+ /**
28466
+ * optional int32 item_index = 1;
28467
+ * @return {number}
28468
+ */
28469
+ proto.cms.FooterSocialNetworksFile.prototype.getItemIndex = function() {
28470
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
28471
+ };
28472
+
28473
+
28474
+ /**
28475
+ * @param {number} value
28476
+ * @return {!proto.cms.FooterSocialNetworksFile} returns this
28477
+ */
28478
+ proto.cms.FooterSocialNetworksFile.prototype.setItemIndex = function(value) {
28479
+ return jspb.Message.setProto3IntField(this, 1, value);
28480
+ };
28481
+
28482
+
28483
+ /**
28484
+ * optional File file = 2;
28485
+ * @return {?proto.cms.File}
28486
+ */
28487
+ proto.cms.FooterSocialNetworksFile.prototype.getFile = function() {
28488
+ return /** @type{?proto.cms.File} */ (
28489
+ jspb.Message.getWrapperField(this, proto.cms.File, 2));
28490
+ };
28491
+
28492
+
28493
+ /**
28494
+ * @param {?proto.cms.File|undefined} value
28495
+ * @return {!proto.cms.FooterSocialNetworksFile} returns this
28496
+ */
28497
+ proto.cms.FooterSocialNetworksFile.prototype.setFile = function(value) {
28498
+ return jspb.Message.setWrapperField(this, 2, value);
28499
+ };
28500
+
28501
+
28502
+ /**
28503
+ * Clears the message field making it undefined.
28504
+ * @return {!proto.cms.FooterSocialNetworksFile} returns this
28505
+ */
28506
+ proto.cms.FooterSocialNetworksFile.prototype.clearFile = function() {
28507
+ return this.setFile(undefined);
28508
+ };
28509
+
28510
+
28511
+ /**
28512
+ * Returns whether this field is set.
28513
+ * @return {boolean}
28514
+ */
28515
+ proto.cms.FooterSocialNetworksFile.prototype.hasFile = function() {
28516
+ return jspb.Message.getField(this, 2) != null;
28517
+ };
28518
+
28519
+
28520
+
28521
+
28522
+
28523
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28524
+ /**
28525
+ * Creates an object representation of this proto.
28526
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28527
+ * Optional fields that are not set will be set to undefined.
28528
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28529
+ * For the list of reserved names please see:
28530
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28531
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28532
+ * JSPB instance for transitional soy proto support:
28533
+ * http://goto/soy-param-migration
28534
+ * @return {!Object}
28535
+ */
28536
+ proto.cms.FooterSocialNetworksMediaItem.prototype.toObject = function(opt_includeInstance) {
28537
+ return proto.cms.FooterSocialNetworksMediaItem.toObject(opt_includeInstance, this);
28538
+ };
28539
+
28540
+
28541
+ /**
28542
+ * Static version of the {@see toObject} method.
28543
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28544
+ * the JSPB instance for transitional soy proto support:
28545
+ * http://goto/soy-param-migration
28546
+ * @param {!proto.cms.FooterSocialNetworksMediaItem} msg The msg instance to transform.
28547
+ * @return {!Object}
28548
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28549
+ */
28550
+ proto.cms.FooterSocialNetworksMediaItem.toObject = function(includeInstance, msg) {
28551
+ var f, obj = {
28552
+ href: jspb.Message.getFieldWithDefault(msg, 1, ""),
28553
+ priority: jspb.Message.getFieldWithDefault(msg, 2, 0),
28554
+ alt: jspb.Message.getFieldWithDefault(msg, 3, ""),
28555
+ imageCdn: jspb.Message.getFieldWithDefault(msg, 4, ""),
28556
+ image: jspb.Message.getFieldWithDefault(msg, 5, ""),
28557
+ id: jspb.Message.getFieldWithDefault(msg, 6, 0)
28558
+ };
28559
+
28560
+ if (includeInstance) {
28561
+ obj.$jspbMessageInstance = msg;
28562
+ }
28563
+ return obj;
28564
+ };
28565
+ }
28566
+
28567
+
28568
+ /**
28569
+ * Deserializes binary data (in protobuf wire format).
28570
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
28571
+ * @return {!proto.cms.FooterSocialNetworksMediaItem}
28572
+ */
28573
+ proto.cms.FooterSocialNetworksMediaItem.deserializeBinary = function(bytes) {
28574
+ var reader = new jspb.BinaryReader(bytes);
28575
+ var msg = new proto.cms.FooterSocialNetworksMediaItem;
28576
+ return proto.cms.FooterSocialNetworksMediaItem.deserializeBinaryFromReader(msg, reader);
28577
+ };
28578
+
28579
+
28580
+ /**
28581
+ * Deserializes binary data (in protobuf wire format) from the
28582
+ * given reader into the given message object.
28583
+ * @param {!proto.cms.FooterSocialNetworksMediaItem} msg The message object to deserialize into.
28584
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
28585
+ * @return {!proto.cms.FooterSocialNetworksMediaItem}
28586
+ */
28587
+ proto.cms.FooterSocialNetworksMediaItem.deserializeBinaryFromReader = function(msg, reader) {
28588
+ while (reader.nextField()) {
28589
+ if (reader.isEndGroup()) {
28590
+ break;
28591
+ }
28592
+ var field = reader.getFieldNumber();
28593
+ switch (field) {
28594
+ case 1:
28595
+ var value = /** @type {string} */ (reader.readString());
28596
+ msg.setHref(value);
28597
+ break;
28598
+ case 2:
28599
+ var value = /** @type {number} */ (reader.readInt32());
28600
+ msg.setPriority(value);
28601
+ break;
28602
+ case 3:
28603
+ var value = /** @type {string} */ (reader.readString());
28604
+ msg.setAlt(value);
28605
+ break;
28606
+ case 4:
28607
+ var value = /** @type {string} */ (reader.readString());
28608
+ msg.setImageCdn(value);
28609
+ break;
28610
+ case 5:
28611
+ var value = /** @type {string} */ (reader.readString());
28612
+ msg.setImage(value);
28613
+ break;
28614
+ case 6:
28615
+ var value = /** @type {number} */ (reader.readInt32());
28616
+ msg.setId(value);
28617
+ break;
28618
+ default:
28619
+ reader.skipField();
28620
+ break;
28621
+ }
28622
+ }
28623
+ return msg;
28624
+ };
28625
+
28626
+
28627
+ /**
28628
+ * Serializes the message to binary data (in protobuf wire format).
28629
+ * @return {!Uint8Array}
28630
+ */
28631
+ proto.cms.FooterSocialNetworksMediaItem.prototype.serializeBinary = function() {
28632
+ var writer = new jspb.BinaryWriter();
28633
+ proto.cms.FooterSocialNetworksMediaItem.serializeBinaryToWriter(this, writer);
28634
+ return writer.getResultBuffer();
28635
+ };
28636
+
28637
+
28638
+ /**
28639
+ * Serializes the given message to binary data (in protobuf wire
28640
+ * format), writing to the given BinaryWriter.
28641
+ * @param {!proto.cms.FooterSocialNetworksMediaItem} message
28642
+ * @param {!jspb.BinaryWriter} writer
28643
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28644
+ */
28645
+ proto.cms.FooterSocialNetworksMediaItem.serializeBinaryToWriter = function(message, writer) {
28646
+ var f = undefined;
28647
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
28648
+ if (f != null) {
28649
+ writer.writeString(
28650
+ 1,
28651
+ f
28652
+ );
28653
+ }
28654
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
28655
+ if (f != null) {
28656
+ writer.writeInt32(
28657
+ 2,
28658
+ f
28659
+ );
28660
+ }
28661
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
28662
+ if (f != null) {
28663
+ writer.writeString(
28664
+ 3,
28665
+ f
28666
+ );
28667
+ }
28668
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
28669
+ if (f != null) {
28670
+ writer.writeString(
28671
+ 4,
28672
+ f
28673
+ );
28674
+ }
28675
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
28676
+ if (f != null) {
28677
+ writer.writeString(
28678
+ 5,
28679
+ f
28680
+ );
28681
+ }
28682
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
28683
+ if (f != null) {
28684
+ writer.writeInt32(
28685
+ 6,
28686
+ f
28687
+ );
28688
+ }
28689
+ };
28690
+
28691
+
28692
+ /**
28693
+ * optional string href = 1;
28694
+ * @return {string}
28695
+ */
28696
+ proto.cms.FooterSocialNetworksMediaItem.prototype.getHref = function() {
28697
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
28698
+ };
28699
+
28700
+
28701
+ /**
28702
+ * @param {string} value
28703
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28704
+ */
28705
+ proto.cms.FooterSocialNetworksMediaItem.prototype.setHref = function(value) {
28706
+ return jspb.Message.setField(this, 1, value);
28707
+ };
28708
+
28709
+
28710
+ /**
28711
+ * Clears the field making it undefined.
28712
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28713
+ */
28714
+ proto.cms.FooterSocialNetworksMediaItem.prototype.clearHref = function() {
28715
+ return jspb.Message.setField(this, 1, undefined);
28716
+ };
28717
+
28718
+
28719
+ /**
28720
+ * Returns whether this field is set.
28721
+ * @return {boolean}
28722
+ */
28723
+ proto.cms.FooterSocialNetworksMediaItem.prototype.hasHref = function() {
28724
+ return jspb.Message.getField(this, 1) != null;
28725
+ };
28726
+
28727
+
28728
+ /**
28729
+ * optional int32 priority = 2;
28730
+ * @return {number}
28731
+ */
28732
+ proto.cms.FooterSocialNetworksMediaItem.prototype.getPriority = function() {
28733
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
28734
+ };
28735
+
28736
+
28737
+ /**
28738
+ * @param {number} value
28739
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28740
+ */
28741
+ proto.cms.FooterSocialNetworksMediaItem.prototype.setPriority = function(value) {
28742
+ return jspb.Message.setField(this, 2, value);
28743
+ };
28744
+
28745
+
28746
+ /**
28747
+ * Clears the field making it undefined.
28748
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28749
+ */
28750
+ proto.cms.FooterSocialNetworksMediaItem.prototype.clearPriority = function() {
28751
+ return jspb.Message.setField(this, 2, undefined);
28752
+ };
28753
+
28754
+
28755
+ /**
28756
+ * Returns whether this field is set.
28757
+ * @return {boolean}
28758
+ */
28759
+ proto.cms.FooterSocialNetworksMediaItem.prototype.hasPriority = function() {
28760
+ return jspb.Message.getField(this, 2) != null;
28761
+ };
28762
+
28763
+
28764
+ /**
28765
+ * optional string alt = 3;
28766
+ * @return {string}
28767
+ */
28768
+ proto.cms.FooterSocialNetworksMediaItem.prototype.getAlt = function() {
28769
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
28770
+ };
28771
+
28772
+
28773
+ /**
28774
+ * @param {string} value
28775
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28776
+ */
28777
+ proto.cms.FooterSocialNetworksMediaItem.prototype.setAlt = function(value) {
28778
+ return jspb.Message.setField(this, 3, value);
28779
+ };
28780
+
28781
+
28782
+ /**
28783
+ * Clears the field making it undefined.
28784
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28785
+ */
28786
+ proto.cms.FooterSocialNetworksMediaItem.prototype.clearAlt = function() {
28787
+ return jspb.Message.setField(this, 3, undefined);
28788
+ };
28789
+
28790
+
28791
+ /**
28792
+ * Returns whether this field is set.
28793
+ * @return {boolean}
28794
+ */
28795
+ proto.cms.FooterSocialNetworksMediaItem.prototype.hasAlt = function() {
28796
+ return jspb.Message.getField(this, 3) != null;
28797
+ };
28798
+
28799
+
28800
+ /**
28801
+ * optional string image_cdn = 4;
28802
+ * @return {string}
28803
+ */
28804
+ proto.cms.FooterSocialNetworksMediaItem.prototype.getImageCdn = function() {
28805
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
28806
+ };
28807
+
28808
+
28809
+ /**
28810
+ * @param {string} value
28811
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28812
+ */
28813
+ proto.cms.FooterSocialNetworksMediaItem.prototype.setImageCdn = function(value) {
28814
+ return jspb.Message.setField(this, 4, value);
28815
+ };
28816
+
28817
+
28818
+ /**
28819
+ * Clears the field making it undefined.
28820
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28821
+ */
28822
+ proto.cms.FooterSocialNetworksMediaItem.prototype.clearImageCdn = function() {
28823
+ return jspb.Message.setField(this, 4, undefined);
28824
+ };
28825
+
28826
+
28827
+ /**
28828
+ * Returns whether this field is set.
28829
+ * @return {boolean}
28830
+ */
28831
+ proto.cms.FooterSocialNetworksMediaItem.prototype.hasImageCdn = function() {
28832
+ return jspb.Message.getField(this, 4) != null;
28833
+ };
28834
+
28835
+
28836
+ /**
28837
+ * optional string image = 5;
28838
+ * @return {string}
28839
+ */
28840
+ proto.cms.FooterSocialNetworksMediaItem.prototype.getImage = function() {
28841
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
28842
+ };
28843
+
28844
+
28845
+ /**
28846
+ * @param {string} value
28847
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28848
+ */
28849
+ proto.cms.FooterSocialNetworksMediaItem.prototype.setImage = function(value) {
28850
+ return jspb.Message.setField(this, 5, value);
28851
+ };
28852
+
28853
+
28854
+ /**
28855
+ * Clears the field making it undefined.
28856
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28857
+ */
28858
+ proto.cms.FooterSocialNetworksMediaItem.prototype.clearImage = function() {
28859
+ return jspb.Message.setField(this, 5, undefined);
28860
+ };
28861
+
28862
+
28863
+ /**
28864
+ * Returns whether this field is set.
28865
+ * @return {boolean}
28866
+ */
28867
+ proto.cms.FooterSocialNetworksMediaItem.prototype.hasImage = function() {
28868
+ return jspb.Message.getField(this, 5) != null;
28869
+ };
28870
+
28871
+
28872
+ /**
28873
+ * optional int32 id = 6;
28874
+ * @return {number}
28875
+ */
28876
+ proto.cms.FooterSocialNetworksMediaItem.prototype.getId = function() {
28877
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
28878
+ };
28879
+
28880
+
28881
+ /**
28882
+ * @param {number} value
28883
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28884
+ */
28885
+ proto.cms.FooterSocialNetworksMediaItem.prototype.setId = function(value) {
28886
+ return jspb.Message.setField(this, 6, value);
28887
+ };
28888
+
28889
+
28890
+ /**
28891
+ * Clears the field making it undefined.
28892
+ * @return {!proto.cms.FooterSocialNetworksMediaItem} returns this
28893
+ */
28894
+ proto.cms.FooterSocialNetworksMediaItem.prototype.clearId = function() {
28895
+ return jspb.Message.setField(this, 6, undefined);
28896
+ };
28897
+
28898
+
28899
+ /**
28900
+ * Returns whether this field is set.
28901
+ * @return {boolean}
28902
+ */
28903
+ proto.cms.FooterSocialNetworksMediaItem.prototype.hasId = function() {
28904
+ return jspb.Message.getField(this, 6) != null;
28905
+ };
28906
+
28907
+
28908
+
28909
+ /**
28910
+ * List of repeated fields within this message type.
28911
+ * @private {!Array<number>}
28912
+ * @const
28913
+ */
28914
+ proto.cms.FooterSocialNetworksItem.repeatedFields_ = [5];
28915
+
28916
+
28917
+
28918
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28919
+ /**
28920
+ * Creates an object representation of this proto.
28921
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28922
+ * Optional fields that are not set will be set to undefined.
28923
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28924
+ * For the list of reserved names please see:
28925
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28926
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28927
+ * JSPB instance for transitional soy proto support:
28928
+ * http://goto/soy-param-migration
28929
+ * @return {!Object}
28930
+ */
28931
+ proto.cms.FooterSocialNetworksItem.prototype.toObject = function(opt_includeInstance) {
28932
+ return proto.cms.FooterSocialNetworksItem.toObject(opt_includeInstance, this);
28933
+ };
28934
+
28935
+
28936
+ /**
28937
+ * Static version of the {@see toObject} method.
28938
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28939
+ * the JSPB instance for transitional soy proto support:
28940
+ * http://goto/soy-param-migration
28941
+ * @param {!proto.cms.FooterSocialNetworksItem} msg The msg instance to transform.
28942
+ * @return {!Object}
28943
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28944
+ */
28945
+ proto.cms.FooterSocialNetworksItem.toObject = function(includeInstance, msg) {
28946
+ var f, obj = {
28947
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
28948
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
28949
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
28950
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
28951
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
28952
+ proto.cms.FooterSocialNetworksMediaItem.toObject, includeInstance)
28953
+ };
28954
+
28955
+ if (includeInstance) {
28956
+ obj.$jspbMessageInstance = msg;
28957
+ }
28958
+ return obj;
28959
+ };
28960
+ }
28961
+
28962
+
28963
+ /**
28964
+ * Deserializes binary data (in protobuf wire format).
28965
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
28966
+ * @return {!proto.cms.FooterSocialNetworksItem}
28967
+ */
28968
+ proto.cms.FooterSocialNetworksItem.deserializeBinary = function(bytes) {
28969
+ var reader = new jspb.BinaryReader(bytes);
28970
+ var msg = new proto.cms.FooterSocialNetworksItem;
28971
+ return proto.cms.FooterSocialNetworksItem.deserializeBinaryFromReader(msg, reader);
28972
+ };
28973
+
28974
+
28975
+ /**
28976
+ * Deserializes binary data (in protobuf wire format) from the
28977
+ * given reader into the given message object.
28978
+ * @param {!proto.cms.FooterSocialNetworksItem} msg The message object to deserialize into.
28979
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
28980
+ * @return {!proto.cms.FooterSocialNetworksItem}
28981
+ */
28982
+ proto.cms.FooterSocialNetworksItem.deserializeBinaryFromReader = function(msg, reader) {
28983
+ while (reader.nextField()) {
28984
+ if (reader.isEndGroup()) {
28985
+ break;
28986
+ }
28987
+ var field = reader.getFieldNumber();
28988
+ switch (field) {
28989
+ case 1:
28990
+ var value = /** @type {number} */ (reader.readInt32());
28991
+ msg.setId(value);
28992
+ break;
28993
+ case 2:
28994
+ var value = /** @type {string} */ (reader.readString());
28995
+ msg.setGeo(value);
28996
+ break;
28997
+ case 3:
28998
+ var value = /** @type {string} */ (reader.readString());
28999
+ msg.setTitle(value);
29000
+ break;
29001
+ case 4:
29002
+ var value = /** @type {number} */ (reader.readInt32());
29003
+ msg.setIsActive(value);
29004
+ break;
29005
+ case 5:
29006
+ var value = new proto.cms.FooterSocialNetworksMediaItem;
29007
+ reader.readMessage(value,proto.cms.FooterSocialNetworksMediaItem.deserializeBinaryFromReader);
29008
+ msg.addItems(value);
29009
+ break;
29010
+ default:
29011
+ reader.skipField();
29012
+ break;
29013
+ }
29014
+ }
29015
+ return msg;
29016
+ };
29017
+
29018
+
29019
+ /**
29020
+ * Serializes the message to binary data (in protobuf wire format).
29021
+ * @return {!Uint8Array}
29022
+ */
29023
+ proto.cms.FooterSocialNetworksItem.prototype.serializeBinary = function() {
29024
+ var writer = new jspb.BinaryWriter();
29025
+ proto.cms.FooterSocialNetworksItem.serializeBinaryToWriter(this, writer);
29026
+ return writer.getResultBuffer();
29027
+ };
29028
+
29029
+
29030
+ /**
29031
+ * Serializes the given message to binary data (in protobuf wire
29032
+ * format), writing to the given BinaryWriter.
29033
+ * @param {!proto.cms.FooterSocialNetworksItem} message
29034
+ * @param {!jspb.BinaryWriter} writer
29035
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29036
+ */
29037
+ proto.cms.FooterSocialNetworksItem.serializeBinaryToWriter = function(message, writer) {
29038
+ var f = undefined;
29039
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
29040
+ if (f != null) {
29041
+ writer.writeInt32(
29042
+ 1,
29043
+ f
29044
+ );
29045
+ }
29046
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
29047
+ if (f != null) {
29048
+ writer.writeString(
29049
+ 2,
29050
+ f
29051
+ );
29052
+ }
29053
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
29054
+ if (f != null) {
29055
+ writer.writeString(
29056
+ 3,
29057
+ f
29058
+ );
29059
+ }
29060
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
29061
+ if (f != null) {
29062
+ writer.writeInt32(
29063
+ 4,
29064
+ f
29065
+ );
29066
+ }
29067
+ f = message.getItemsList();
29068
+ if (f.length > 0) {
29069
+ writer.writeRepeatedMessage(
29070
+ 5,
29071
+ f,
29072
+ proto.cms.FooterSocialNetworksMediaItem.serializeBinaryToWriter
29073
+ );
29074
+ }
29075
+ };
29076
+
29077
+
29078
+ /**
29079
+ * optional int32 id = 1;
29080
+ * @return {number}
29081
+ */
29082
+ proto.cms.FooterSocialNetworksItem.prototype.getId = function() {
29083
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
29084
+ };
29085
+
29086
+
29087
+ /**
29088
+ * @param {number} value
29089
+ * @return {!proto.cms.FooterSocialNetworksItem} returns this
29090
+ */
29091
+ proto.cms.FooterSocialNetworksItem.prototype.setId = function(value) {
29092
+ return jspb.Message.setField(this, 1, value);
29093
+ };
29094
+
29095
+
29096
+ /**
29097
+ * Clears the field making it undefined.
29098
+ * @return {!proto.cms.FooterSocialNetworksItem} returns this
29099
+ */
29100
+ proto.cms.FooterSocialNetworksItem.prototype.clearId = function() {
29101
+ return jspb.Message.setField(this, 1, undefined);
29102
+ };
29103
+
29104
+
29105
+ /**
29106
+ * Returns whether this field is set.
29107
+ * @return {boolean}
29108
+ */
29109
+ proto.cms.FooterSocialNetworksItem.prototype.hasId = function() {
29110
+ return jspb.Message.getField(this, 1) != null;
29111
+ };
29112
+
29113
+
29114
+ /**
29115
+ * optional string geo = 2;
29116
+ * @return {string}
29117
+ */
29118
+ proto.cms.FooterSocialNetworksItem.prototype.getGeo = function() {
29119
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
29120
+ };
29121
+
29122
+
29123
+ /**
29124
+ * @param {string} value
29125
+ * @return {!proto.cms.FooterSocialNetworksItem} returns this
29126
+ */
29127
+ proto.cms.FooterSocialNetworksItem.prototype.setGeo = function(value) {
29128
+ return jspb.Message.setField(this, 2, value);
29129
+ };
29130
+
29131
+
29132
+ /**
29133
+ * Clears the field making it undefined.
29134
+ * @return {!proto.cms.FooterSocialNetworksItem} returns this
29135
+ */
29136
+ proto.cms.FooterSocialNetworksItem.prototype.clearGeo = function() {
29137
+ return jspb.Message.setField(this, 2, undefined);
29138
+ };
29139
+
29140
+
29141
+ /**
29142
+ * Returns whether this field is set.
29143
+ * @return {boolean}
29144
+ */
29145
+ proto.cms.FooterSocialNetworksItem.prototype.hasGeo = function() {
29146
+ return jspb.Message.getField(this, 2) != null;
29147
+ };
29148
+
29149
+
29150
+ /**
29151
+ * optional string title = 3;
29152
+ * @return {string}
29153
+ */
29154
+ proto.cms.FooterSocialNetworksItem.prototype.getTitle = function() {
29155
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
29156
+ };
29157
+
29158
+
29159
+ /**
29160
+ * @param {string} value
29161
+ * @return {!proto.cms.FooterSocialNetworksItem} returns this
29162
+ */
29163
+ proto.cms.FooterSocialNetworksItem.prototype.setTitle = function(value) {
29164
+ return jspb.Message.setField(this, 3, value);
29165
+ };
29166
+
29167
+
29168
+ /**
29169
+ * Clears the field making it undefined.
29170
+ * @return {!proto.cms.FooterSocialNetworksItem} returns this
29171
+ */
29172
+ proto.cms.FooterSocialNetworksItem.prototype.clearTitle = function() {
29173
+ return jspb.Message.setField(this, 3, undefined);
29174
+ };
29175
+
29176
+
29177
+ /**
29178
+ * Returns whether this field is set.
29179
+ * @return {boolean}
29180
+ */
29181
+ proto.cms.FooterSocialNetworksItem.prototype.hasTitle = function() {
29182
+ return jspb.Message.getField(this, 3) != null;
29183
+ };
29184
+
29185
+
29186
+ /**
29187
+ * optional int32 is_active = 4;
29188
+ * @return {number}
29189
+ */
29190
+ proto.cms.FooterSocialNetworksItem.prototype.getIsActive = function() {
29191
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
29192
+ };
29193
+
29194
+
29195
+ /**
29196
+ * @param {number} value
29197
+ * @return {!proto.cms.FooterSocialNetworksItem} returns this
29198
+ */
29199
+ proto.cms.FooterSocialNetworksItem.prototype.setIsActive = function(value) {
29200
+ return jspb.Message.setField(this, 4, value);
29201
+ };
29202
+
29203
+
29204
+ /**
29205
+ * Clears the field making it undefined.
29206
+ * @return {!proto.cms.FooterSocialNetworksItem} returns this
29207
+ */
29208
+ proto.cms.FooterSocialNetworksItem.prototype.clearIsActive = function() {
29209
+ return jspb.Message.setField(this, 4, undefined);
29210
+ };
29211
+
29212
+
29213
+ /**
29214
+ * Returns whether this field is set.
29215
+ * @return {boolean}
29216
+ */
29217
+ proto.cms.FooterSocialNetworksItem.prototype.hasIsActive = function() {
29218
+ return jspb.Message.getField(this, 4) != null;
29219
+ };
29220
+
29221
+
29222
+ /**
29223
+ * repeated FooterSocialNetworksMediaItem items = 5;
29224
+ * @return {!Array<!proto.cms.FooterSocialNetworksMediaItem>}
29225
+ */
29226
+ proto.cms.FooterSocialNetworksItem.prototype.getItemsList = function() {
29227
+ return /** @type{!Array<!proto.cms.FooterSocialNetworksMediaItem>} */ (
29228
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterSocialNetworksMediaItem, 5));
29229
+ };
29230
+
29231
+
29232
+ /**
29233
+ * @param {!Array<!proto.cms.FooterSocialNetworksMediaItem>} value
29234
+ * @return {!proto.cms.FooterSocialNetworksItem} returns this
29235
+ */
29236
+ proto.cms.FooterSocialNetworksItem.prototype.setItemsList = function(value) {
29237
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
29238
+ };
29239
+
29240
+
29241
+ /**
29242
+ * @param {!proto.cms.FooterSocialNetworksMediaItem=} opt_value
29243
+ * @param {number=} opt_index
29244
+ * @return {!proto.cms.FooterSocialNetworksMediaItem}
29245
+ */
29246
+ proto.cms.FooterSocialNetworksItem.prototype.addItems = function(opt_value, opt_index) {
29247
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.cms.FooterSocialNetworksMediaItem, opt_index);
29248
+ };
29249
+
29250
+
29251
+ /**
29252
+ * Clears the list making it empty but non-null.
29253
+ * @return {!proto.cms.FooterSocialNetworksItem} returns this
29254
+ */
29255
+ proto.cms.FooterSocialNetworksItem.prototype.clearItemsList = function() {
29256
+ return this.setItemsList([]);
29257
+ };
29258
+
29259
+
29260
+
29261
+
29262
+
29263
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29264
+ /**
29265
+ * Creates an object representation of this proto.
29266
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29267
+ * Optional fields that are not set will be set to undefined.
29268
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29269
+ * For the list of reserved names please see:
29270
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29271
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29272
+ * JSPB instance for transitional soy proto support:
29273
+ * http://goto/soy-param-migration
29274
+ * @return {!Object}
29275
+ */
29276
+ proto.cms.FooterSocialNetworksResponse.prototype.toObject = function(opt_includeInstance) {
29277
+ return proto.cms.FooterSocialNetworksResponse.toObject(opt_includeInstance, this);
29278
+ };
29279
+
29280
+
29281
+ /**
29282
+ * Static version of the {@see toObject} method.
29283
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29284
+ * the JSPB instance for transitional soy proto support:
29285
+ * http://goto/soy-param-migration
29286
+ * @param {!proto.cms.FooterSocialNetworksResponse} msg The msg instance to transform.
29287
+ * @return {!Object}
29288
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29289
+ */
29290
+ proto.cms.FooterSocialNetworksResponse.toObject = function(includeInstance, msg) {
29291
+ var f, obj = {
29292
+ data: (f = msg.getData()) && proto.cms.FooterSocialNetworksItem.toObject(includeInstance, f)
29293
+ };
29294
+
29295
+ if (includeInstance) {
29296
+ obj.$jspbMessageInstance = msg;
29297
+ }
29298
+ return obj;
29299
+ };
29300
+ }
29301
+
29302
+
29303
+ /**
29304
+ * Deserializes binary data (in protobuf wire format).
29305
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29306
+ * @return {!proto.cms.FooterSocialNetworksResponse}
29307
+ */
29308
+ proto.cms.FooterSocialNetworksResponse.deserializeBinary = function(bytes) {
29309
+ var reader = new jspb.BinaryReader(bytes);
29310
+ var msg = new proto.cms.FooterSocialNetworksResponse;
29311
+ return proto.cms.FooterSocialNetworksResponse.deserializeBinaryFromReader(msg, reader);
29312
+ };
29313
+
29314
+
29315
+ /**
29316
+ * Deserializes binary data (in protobuf wire format) from the
29317
+ * given reader into the given message object.
29318
+ * @param {!proto.cms.FooterSocialNetworksResponse} msg The message object to deserialize into.
29319
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29320
+ * @return {!proto.cms.FooterSocialNetworksResponse}
29321
+ */
29322
+ proto.cms.FooterSocialNetworksResponse.deserializeBinaryFromReader = function(msg, reader) {
29323
+ while (reader.nextField()) {
29324
+ if (reader.isEndGroup()) {
29325
+ break;
29326
+ }
29327
+ var field = reader.getFieldNumber();
29328
+ switch (field) {
29329
+ case 1:
29330
+ var value = new proto.cms.FooterSocialNetworksItem;
29331
+ reader.readMessage(value,proto.cms.FooterSocialNetworksItem.deserializeBinaryFromReader);
29332
+ msg.setData(value);
29333
+ break;
29334
+ default:
29335
+ reader.skipField();
29336
+ break;
29337
+ }
29338
+ }
29339
+ return msg;
29340
+ };
29341
+
29342
+
29343
+ /**
29344
+ * Serializes the message to binary data (in protobuf wire format).
29345
+ * @return {!Uint8Array}
29346
+ */
29347
+ proto.cms.FooterSocialNetworksResponse.prototype.serializeBinary = function() {
29348
+ var writer = new jspb.BinaryWriter();
29349
+ proto.cms.FooterSocialNetworksResponse.serializeBinaryToWriter(this, writer);
29350
+ return writer.getResultBuffer();
29351
+ };
29352
+
29353
+
29354
+ /**
29355
+ * Serializes the given message to binary data (in protobuf wire
29356
+ * format), writing to the given BinaryWriter.
29357
+ * @param {!proto.cms.FooterSocialNetworksResponse} message
29358
+ * @param {!jspb.BinaryWriter} writer
29359
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29360
+ */
29361
+ proto.cms.FooterSocialNetworksResponse.serializeBinaryToWriter = function(message, writer) {
29362
+ var f = undefined;
29363
+ f = message.getData();
29364
+ if (f != null) {
29365
+ writer.writeMessage(
29366
+ 1,
29367
+ f,
29368
+ proto.cms.FooterSocialNetworksItem.serializeBinaryToWriter
29369
+ );
29370
+ }
29371
+ };
29372
+
29373
+
29374
+ /**
29375
+ * optional FooterSocialNetworksItem data = 1;
29376
+ * @return {?proto.cms.FooterSocialNetworksItem}
29377
+ */
29378
+ proto.cms.FooterSocialNetworksResponse.prototype.getData = function() {
29379
+ return /** @type{?proto.cms.FooterSocialNetworksItem} */ (
29380
+ jspb.Message.getWrapperField(this, proto.cms.FooterSocialNetworksItem, 1));
29381
+ };
29382
+
29383
+
29384
+ /**
29385
+ * @param {?proto.cms.FooterSocialNetworksItem|undefined} value
29386
+ * @return {!proto.cms.FooterSocialNetworksResponse} returns this
29387
+ */
29388
+ proto.cms.FooterSocialNetworksResponse.prototype.setData = function(value) {
29389
+ return jspb.Message.setWrapperField(this, 1, value);
29390
+ };
29391
+
29392
+
29393
+ /**
29394
+ * Clears the message field making it undefined.
29395
+ * @return {!proto.cms.FooterSocialNetworksResponse} returns this
29396
+ */
29397
+ proto.cms.FooterSocialNetworksResponse.prototype.clearData = function() {
29398
+ return this.setData(undefined);
29399
+ };
29400
+
29401
+
29402
+ /**
29403
+ * Returns whether this field is set.
29404
+ * @return {boolean}
29405
+ */
29406
+ proto.cms.FooterSocialNetworksResponse.prototype.hasData = function() {
29407
+ return jspb.Message.getField(this, 1) != null;
29408
+ };
29409
+
29410
+
29411
+
29412
+
29413
+
29414
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29415
+ /**
29416
+ * Creates an object representation of this proto.
29417
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29418
+ * Optional fields that are not set will be set to undefined.
29419
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29420
+ * For the list of reserved names please see:
29421
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29422
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29423
+ * JSPB instance for transitional soy proto support:
29424
+ * http://goto/soy-param-migration
29425
+ * @return {!Object}
29426
+ */
29427
+ proto.cms.GetFooterSocialNetworksRequest.prototype.toObject = function(opt_includeInstance) {
29428
+ return proto.cms.GetFooterSocialNetworksRequest.toObject(opt_includeInstance, this);
29429
+ };
29430
+
29431
+
29432
+ /**
29433
+ * Static version of the {@see toObject} method.
29434
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29435
+ * the JSPB instance for transitional soy proto support:
29436
+ * http://goto/soy-param-migration
29437
+ * @param {!proto.cms.GetFooterSocialNetworksRequest} msg The msg instance to transform.
29438
+ * @return {!Object}
29439
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29440
+ */
29441
+ proto.cms.GetFooterSocialNetworksRequest.toObject = function(includeInstance, msg) {
29442
+ var f, obj = {
29443
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
29444
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
29445
+ mediaId: jspb.Message.getFieldWithDefault(msg, 3, 0)
29446
+ };
29447
+
29448
+ if (includeInstance) {
29449
+ obj.$jspbMessageInstance = msg;
29450
+ }
29451
+ return obj;
29452
+ };
29453
+ }
29454
+
29455
+
29456
+ /**
29457
+ * Deserializes binary data (in protobuf wire format).
29458
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29459
+ * @return {!proto.cms.GetFooterSocialNetworksRequest}
29460
+ */
29461
+ proto.cms.GetFooterSocialNetworksRequest.deserializeBinary = function(bytes) {
29462
+ var reader = new jspb.BinaryReader(bytes);
29463
+ var msg = new proto.cms.GetFooterSocialNetworksRequest;
29464
+ return proto.cms.GetFooterSocialNetworksRequest.deserializeBinaryFromReader(msg, reader);
29465
+ };
29466
+
29467
+
29468
+ /**
29469
+ * Deserializes binary data (in protobuf wire format) from the
29470
+ * given reader into the given message object.
29471
+ * @param {!proto.cms.GetFooterSocialNetworksRequest} msg The message object to deserialize into.
29472
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29473
+ * @return {!proto.cms.GetFooterSocialNetworksRequest}
29474
+ */
29475
+ proto.cms.GetFooterSocialNetworksRequest.deserializeBinaryFromReader = function(msg, reader) {
29476
+ while (reader.nextField()) {
29477
+ if (reader.isEndGroup()) {
29478
+ break;
29479
+ }
29480
+ var field = reader.getFieldNumber();
29481
+ switch (field) {
29482
+ case 1:
29483
+ var value = /** @type {number} */ (reader.readInt32());
29484
+ msg.setId(value);
29485
+ break;
29486
+ case 2:
29487
+ var value = /** @type {boolean} */ (reader.readBool());
29488
+ msg.setAdminSide(value);
29489
+ break;
29490
+ case 3:
29491
+ var value = /** @type {number} */ (reader.readInt32());
29492
+ msg.setMediaId(value);
29493
+ break;
29494
+ default:
29495
+ reader.skipField();
29496
+ break;
29497
+ }
29498
+ }
29499
+ return msg;
29500
+ };
29501
+
29502
+
29503
+ /**
29504
+ * Serializes the message to binary data (in protobuf wire format).
29505
+ * @return {!Uint8Array}
29506
+ */
29507
+ proto.cms.GetFooterSocialNetworksRequest.prototype.serializeBinary = function() {
29508
+ var writer = new jspb.BinaryWriter();
29509
+ proto.cms.GetFooterSocialNetworksRequest.serializeBinaryToWriter(this, writer);
29510
+ return writer.getResultBuffer();
29511
+ };
29512
+
29513
+
29514
+ /**
29515
+ * Serializes the given message to binary data (in protobuf wire
29516
+ * format), writing to the given BinaryWriter.
29517
+ * @param {!proto.cms.GetFooterSocialNetworksRequest} message
29518
+ * @param {!jspb.BinaryWriter} writer
29519
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29520
+ */
29521
+ proto.cms.GetFooterSocialNetworksRequest.serializeBinaryToWriter = function(message, writer) {
29522
+ var f = undefined;
29523
+ f = message.getId();
29524
+ if (f !== 0) {
29525
+ writer.writeInt32(
29526
+ 1,
29527
+ f
29528
+ );
29529
+ }
29530
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
29531
+ if (f != null) {
29532
+ writer.writeBool(
29533
+ 2,
29534
+ f
29535
+ );
29536
+ }
29537
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
29538
+ if (f != null) {
29539
+ writer.writeInt32(
29540
+ 3,
29541
+ f
29542
+ );
29543
+ }
29544
+ };
29545
+
29546
+
29547
+ /**
29548
+ * optional int32 id = 1;
29549
+ * @return {number}
29550
+ */
29551
+ proto.cms.GetFooterSocialNetworksRequest.prototype.getId = function() {
29552
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
29553
+ };
29554
+
29555
+
29556
+ /**
29557
+ * @param {number} value
29558
+ * @return {!proto.cms.GetFooterSocialNetworksRequest} returns this
29559
+ */
29560
+ proto.cms.GetFooterSocialNetworksRequest.prototype.setId = function(value) {
29561
+ return jspb.Message.setProto3IntField(this, 1, value);
29562
+ };
29563
+
29564
+
29565
+ /**
29566
+ * optional bool admin_side = 2;
29567
+ * @return {boolean}
29568
+ */
29569
+ proto.cms.GetFooterSocialNetworksRequest.prototype.getAdminSide = function() {
29570
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
29571
+ };
29572
+
29573
+
29574
+ /**
29575
+ * @param {boolean} value
29576
+ * @return {!proto.cms.GetFooterSocialNetworksRequest} returns this
29577
+ */
29578
+ proto.cms.GetFooterSocialNetworksRequest.prototype.setAdminSide = function(value) {
29579
+ return jspb.Message.setField(this, 2, value);
29580
+ };
29581
+
29582
+
29583
+ /**
29584
+ * Clears the field making it undefined.
29585
+ * @return {!proto.cms.GetFooterSocialNetworksRequest} returns this
29586
+ */
29587
+ proto.cms.GetFooterSocialNetworksRequest.prototype.clearAdminSide = function() {
29588
+ return jspb.Message.setField(this, 2, undefined);
29589
+ };
29590
+
29591
+
29592
+ /**
29593
+ * Returns whether this field is set.
29594
+ * @return {boolean}
29595
+ */
29596
+ proto.cms.GetFooterSocialNetworksRequest.prototype.hasAdminSide = function() {
29597
+ return jspb.Message.getField(this, 2) != null;
29598
+ };
29599
+
29600
+
29601
+ /**
29602
+ * optional int32 media_id = 3;
29603
+ * @return {number}
29604
+ */
29605
+ proto.cms.GetFooterSocialNetworksRequest.prototype.getMediaId = function() {
29606
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
29607
+ };
29608
+
29609
+
29610
+ /**
29611
+ * @param {number} value
29612
+ * @return {!proto.cms.GetFooterSocialNetworksRequest} returns this
29613
+ */
29614
+ proto.cms.GetFooterSocialNetworksRequest.prototype.setMediaId = function(value) {
29615
+ return jspb.Message.setField(this, 3, value);
29616
+ };
29617
+
29618
+
29619
+ /**
29620
+ * Clears the field making it undefined.
29621
+ * @return {!proto.cms.GetFooterSocialNetworksRequest} returns this
29622
+ */
29623
+ proto.cms.GetFooterSocialNetworksRequest.prototype.clearMediaId = function() {
29624
+ return jspb.Message.setField(this, 3, undefined);
29625
+ };
29626
+
29627
+
29628
+ /**
29629
+ * Returns whether this field is set.
29630
+ * @return {boolean}
29631
+ */
29632
+ proto.cms.GetFooterSocialNetworksRequest.prototype.hasMediaId = function() {
29633
+ return jspb.Message.getField(this, 3) != null;
29634
+ };
29635
+
29636
+
29637
+
29638
+
29639
+
29640
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29641
+ /**
29642
+ * Creates an object representation of this proto.
29643
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29644
+ * Optional fields that are not set will be set to undefined.
29645
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29646
+ * For the list of reserved names please see:
29647
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29648
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29649
+ * JSPB instance for transitional soy proto support:
29650
+ * http://goto/soy-param-migration
29651
+ * @return {!Object}
29652
+ */
29653
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.prototype.toObject = function(opt_includeInstance) {
29654
+ return proto.cms.DeleteFooterSocialNetworksMediaRequest.toObject(opt_includeInstance, this);
29655
+ };
29656
+
29657
+
29658
+ /**
29659
+ * Static version of the {@see toObject} method.
29660
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29661
+ * the JSPB instance for transitional soy proto support:
29662
+ * http://goto/soy-param-migration
29663
+ * @param {!proto.cms.DeleteFooterSocialNetworksMediaRequest} msg The msg instance to transform.
29664
+ * @return {!Object}
29665
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29666
+ */
29667
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.toObject = function(includeInstance, msg) {
29668
+ var f, obj = {
29669
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
29670
+ mediaId: jspb.Message.getFieldWithDefault(msg, 2, 0)
29671
+ };
29672
+
29673
+ if (includeInstance) {
29674
+ obj.$jspbMessageInstance = msg;
29675
+ }
29676
+ return obj;
29677
+ };
29678
+ }
29679
+
29680
+
29681
+ /**
29682
+ * Deserializes binary data (in protobuf wire format).
29683
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29684
+ * @return {!proto.cms.DeleteFooterSocialNetworksMediaRequest}
29685
+ */
29686
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.deserializeBinary = function(bytes) {
29687
+ var reader = new jspb.BinaryReader(bytes);
29688
+ var msg = new proto.cms.DeleteFooterSocialNetworksMediaRequest;
29689
+ return proto.cms.DeleteFooterSocialNetworksMediaRequest.deserializeBinaryFromReader(msg, reader);
29690
+ };
29691
+
29692
+
29693
+ /**
29694
+ * Deserializes binary data (in protobuf wire format) from the
29695
+ * given reader into the given message object.
29696
+ * @param {!proto.cms.DeleteFooterSocialNetworksMediaRequest} msg The message object to deserialize into.
29697
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29698
+ * @return {!proto.cms.DeleteFooterSocialNetworksMediaRequest}
29699
+ */
29700
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.deserializeBinaryFromReader = function(msg, reader) {
29701
+ while (reader.nextField()) {
29702
+ if (reader.isEndGroup()) {
29703
+ break;
29704
+ }
29705
+ var field = reader.getFieldNumber();
29706
+ switch (field) {
29707
+ case 1:
29708
+ var value = /** @type {number} */ (reader.readInt32());
29709
+ msg.setId(value);
29710
+ break;
29711
+ case 2:
29712
+ var value = /** @type {number} */ (reader.readInt32());
29713
+ msg.setMediaId(value);
29714
+ break;
29715
+ default:
29716
+ reader.skipField();
29717
+ break;
29718
+ }
29719
+ }
29720
+ return msg;
29721
+ };
29722
+
29723
+
29724
+ /**
29725
+ * Serializes the message to binary data (in protobuf wire format).
29726
+ * @return {!Uint8Array}
29727
+ */
29728
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.prototype.serializeBinary = function() {
29729
+ var writer = new jspb.BinaryWriter();
29730
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.serializeBinaryToWriter(this, writer);
29731
+ return writer.getResultBuffer();
29732
+ };
29733
+
29734
+
29735
+ /**
29736
+ * Serializes the given message to binary data (in protobuf wire
29737
+ * format), writing to the given BinaryWriter.
29738
+ * @param {!proto.cms.DeleteFooterSocialNetworksMediaRequest} message
29739
+ * @param {!jspb.BinaryWriter} writer
29740
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29741
+ */
29742
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.serializeBinaryToWriter = function(message, writer) {
29743
+ var f = undefined;
29744
+ f = message.getId();
29745
+ if (f !== 0) {
29746
+ writer.writeInt32(
29747
+ 1,
29748
+ f
29749
+ );
29750
+ }
29751
+ f = message.getMediaId();
29752
+ if (f !== 0) {
29753
+ writer.writeInt32(
29754
+ 2,
29755
+ f
29756
+ );
29757
+ }
29758
+ };
29759
+
29760
+
29761
+ /**
29762
+ * optional int32 id = 1;
29763
+ * @return {number}
29764
+ */
29765
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.prototype.getId = function() {
29766
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
29767
+ };
29768
+
29769
+
29770
+ /**
29771
+ * @param {number} value
29772
+ * @return {!proto.cms.DeleteFooterSocialNetworksMediaRequest} returns this
29773
+ */
29774
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.prototype.setId = function(value) {
29775
+ return jspb.Message.setProto3IntField(this, 1, value);
29776
+ };
29777
+
29778
+
29779
+ /**
29780
+ * optional int32 media_id = 2;
29781
+ * @return {number}
29782
+ */
29783
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.prototype.getMediaId = function() {
29784
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
29785
+ };
29786
+
29787
+
29788
+ /**
29789
+ * @param {number} value
29790
+ * @return {!proto.cms.DeleteFooterSocialNetworksMediaRequest} returns this
29791
+ */
29792
+ proto.cms.DeleteFooterSocialNetworksMediaRequest.prototype.setMediaId = function(value) {
29793
+ return jspb.Message.setProto3IntField(this, 2, value);
29794
+ };
29795
+
29796
+
29797
+
29798
+
29799
+
29800
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29801
+ /**
29802
+ * Creates an object representation of this proto.
29803
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29804
+ * Optional fields that are not set will be set to undefined.
29805
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29806
+ * For the list of reserved names please see:
29807
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29808
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29809
+ * JSPB instance for transitional soy proto support:
29810
+ * http://goto/soy-param-migration
29811
+ * @return {!Object}
29812
+ */
29813
+ proto.cms.FooterSocialNetworksStatusResponse.prototype.toObject = function(opt_includeInstance) {
29814
+ return proto.cms.FooterSocialNetworksStatusResponse.toObject(opt_includeInstance, this);
29815
+ };
29816
+
29817
+
29818
+ /**
29819
+ * Static version of the {@see toObject} method.
29820
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29821
+ * the JSPB instance for transitional soy proto support:
29822
+ * http://goto/soy-param-migration
29823
+ * @param {!proto.cms.FooterSocialNetworksStatusResponse} msg The msg instance to transform.
29824
+ * @return {!Object}
29825
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29826
+ */
29827
+ proto.cms.FooterSocialNetworksStatusResponse.toObject = function(includeInstance, msg) {
29828
+ var f, obj = {
29829
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
29830
+ };
29831
+
29832
+ if (includeInstance) {
29833
+ obj.$jspbMessageInstance = msg;
29834
+ }
29835
+ return obj;
29836
+ };
29837
+ }
29838
+
29839
+
29840
+ /**
29841
+ * Deserializes binary data (in protobuf wire format).
29842
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29843
+ * @return {!proto.cms.FooterSocialNetworksStatusResponse}
29844
+ */
29845
+ proto.cms.FooterSocialNetworksStatusResponse.deserializeBinary = function(bytes) {
29846
+ var reader = new jspb.BinaryReader(bytes);
29847
+ var msg = new proto.cms.FooterSocialNetworksStatusResponse;
29848
+ return proto.cms.FooterSocialNetworksStatusResponse.deserializeBinaryFromReader(msg, reader);
29849
+ };
29850
+
29851
+
29852
+ /**
29853
+ * Deserializes binary data (in protobuf wire format) from the
29854
+ * given reader into the given message object.
29855
+ * @param {!proto.cms.FooterSocialNetworksStatusResponse} msg The message object to deserialize into.
29856
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29857
+ * @return {!proto.cms.FooterSocialNetworksStatusResponse}
29858
+ */
29859
+ proto.cms.FooterSocialNetworksStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
29860
+ while (reader.nextField()) {
29861
+ if (reader.isEndGroup()) {
29862
+ break;
29863
+ }
29864
+ var field = reader.getFieldNumber();
29865
+ switch (field) {
29866
+ case 1:
29867
+ var value = /** @type {string} */ (reader.readString());
29868
+ msg.setStatus(value);
29869
+ break;
29870
+ default:
29871
+ reader.skipField();
29872
+ break;
29873
+ }
29874
+ }
29875
+ return msg;
29876
+ };
29877
+
29878
+
29879
+ /**
29880
+ * Serializes the message to binary data (in protobuf wire format).
29881
+ * @return {!Uint8Array}
29882
+ */
29883
+ proto.cms.FooterSocialNetworksStatusResponse.prototype.serializeBinary = function() {
29884
+ var writer = new jspb.BinaryWriter();
29885
+ proto.cms.FooterSocialNetworksStatusResponse.serializeBinaryToWriter(this, writer);
29886
+ return writer.getResultBuffer();
29887
+ };
29888
+
29889
+
29890
+ /**
29891
+ * Serializes the given message to binary data (in protobuf wire
29892
+ * format), writing to the given BinaryWriter.
29893
+ * @param {!proto.cms.FooterSocialNetworksStatusResponse} message
29894
+ * @param {!jspb.BinaryWriter} writer
29895
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29896
+ */
29897
+ proto.cms.FooterSocialNetworksStatusResponse.serializeBinaryToWriter = function(message, writer) {
29898
+ var f = undefined;
29899
+ f = message.getStatus();
29900
+ if (f.length > 0) {
29901
+ writer.writeString(
29902
+ 1,
29903
+ f
29904
+ );
29905
+ }
29906
+ };
29907
+
29908
+
29909
+ /**
29910
+ * optional string status = 1;
29911
+ * @return {string}
29912
+ */
29913
+ proto.cms.FooterSocialNetworksStatusResponse.prototype.getStatus = function() {
29914
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
29915
+ };
29916
+
29917
+
29918
+ /**
29919
+ * @param {string} value
29920
+ * @return {!proto.cms.FooterSocialNetworksStatusResponse} returns this
29921
+ */
29922
+ proto.cms.FooterSocialNetworksStatusResponse.prototype.setStatus = function(value) {
29923
+ return jspb.Message.setProto3StringField(this, 1, value);
29924
+ };
29925
+
29926
+
29927
+
29928
+ /**
29929
+ * List of repeated fields within this message type.
29930
+ * @private {!Array<number>}
29931
+ * @const
29932
+ */
29933
+ proto.cms.FooterSocialNetworksItemsResponse.repeatedFields_ = [1];
29934
+
29935
+
29936
+
29937
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29938
+ /**
29939
+ * Creates an object representation of this proto.
29940
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29941
+ * Optional fields that are not set will be set to undefined.
29942
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29943
+ * For the list of reserved names please see:
29944
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29945
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29946
+ * JSPB instance for transitional soy proto support:
29947
+ * http://goto/soy-param-migration
29948
+ * @return {!Object}
29949
+ */
29950
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.toObject = function(opt_includeInstance) {
29951
+ return proto.cms.FooterSocialNetworksItemsResponse.toObject(opt_includeInstance, this);
29952
+ };
29953
+
29954
+
29955
+ /**
29956
+ * Static version of the {@see toObject} method.
29957
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29958
+ * the JSPB instance for transitional soy proto support:
29959
+ * http://goto/soy-param-migration
29960
+ * @param {!proto.cms.FooterSocialNetworksItemsResponse} msg The msg instance to transform.
29961
+ * @return {!Object}
29962
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29963
+ */
29964
+ proto.cms.FooterSocialNetworksItemsResponse.toObject = function(includeInstance, msg) {
29965
+ var f, obj = {
29966
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
29967
+ proto.cms.FooterSocialNetworksItem.toObject, includeInstance),
29968
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
29969
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
29970
+ };
29971
+
29972
+ if (includeInstance) {
29973
+ obj.$jspbMessageInstance = msg;
29974
+ }
29975
+ return obj;
29976
+ };
29977
+ }
29978
+
29979
+
29980
+ /**
29981
+ * Deserializes binary data (in protobuf wire format).
29982
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29983
+ * @return {!proto.cms.FooterSocialNetworksItemsResponse}
29984
+ */
29985
+ proto.cms.FooterSocialNetworksItemsResponse.deserializeBinary = function(bytes) {
29986
+ var reader = new jspb.BinaryReader(bytes);
29987
+ var msg = new proto.cms.FooterSocialNetworksItemsResponse;
29988
+ return proto.cms.FooterSocialNetworksItemsResponse.deserializeBinaryFromReader(msg, reader);
29989
+ };
29990
+
29991
+
29992
+ /**
29993
+ * Deserializes binary data (in protobuf wire format) from the
29994
+ * given reader into the given message object.
29995
+ * @param {!proto.cms.FooterSocialNetworksItemsResponse} msg The message object to deserialize into.
29996
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29997
+ * @return {!proto.cms.FooterSocialNetworksItemsResponse}
29998
+ */
29999
+ proto.cms.FooterSocialNetworksItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
30000
+ while (reader.nextField()) {
30001
+ if (reader.isEndGroup()) {
30002
+ break;
30003
+ }
30004
+ var field = reader.getFieldNumber();
30005
+ switch (field) {
30006
+ case 1:
30007
+ var value = new proto.cms.FooterSocialNetworksItem;
30008
+ reader.readMessage(value,proto.cms.FooterSocialNetworksItem.deserializeBinaryFromReader);
30009
+ msg.addItems(value);
30010
+ break;
30011
+ case 2:
30012
+ var value = /** @type {number} */ (reader.readInt32());
30013
+ msg.setTotalPages(value);
30014
+ break;
30015
+ case 3:
30016
+ var value = /** @type {number} */ (reader.readInt32());
30017
+ msg.setTotalItems(value);
30018
+ break;
30019
+ default:
30020
+ reader.skipField();
30021
+ break;
30022
+ }
30023
+ }
30024
+ return msg;
30025
+ };
30026
+
30027
+
30028
+ /**
30029
+ * Serializes the message to binary data (in protobuf wire format).
30030
+ * @return {!Uint8Array}
30031
+ */
30032
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.serializeBinary = function() {
30033
+ var writer = new jspb.BinaryWriter();
30034
+ proto.cms.FooterSocialNetworksItemsResponse.serializeBinaryToWriter(this, writer);
30035
+ return writer.getResultBuffer();
30036
+ };
30037
+
30038
+
30039
+ /**
30040
+ * Serializes the given message to binary data (in protobuf wire
30041
+ * format), writing to the given BinaryWriter.
30042
+ * @param {!proto.cms.FooterSocialNetworksItemsResponse} message
30043
+ * @param {!jspb.BinaryWriter} writer
30044
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30045
+ */
30046
+ proto.cms.FooterSocialNetworksItemsResponse.serializeBinaryToWriter = function(message, writer) {
30047
+ var f = undefined;
30048
+ f = message.getItemsList();
30049
+ if (f.length > 0) {
30050
+ writer.writeRepeatedMessage(
30051
+ 1,
30052
+ f,
30053
+ proto.cms.FooterSocialNetworksItem.serializeBinaryToWriter
30054
+ );
30055
+ }
30056
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
30057
+ if (f != null) {
30058
+ writer.writeInt32(
30059
+ 2,
30060
+ f
30061
+ );
30062
+ }
30063
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
30064
+ if (f != null) {
30065
+ writer.writeInt32(
30066
+ 3,
30067
+ f
30068
+ );
30069
+ }
30070
+ };
30071
+
30072
+
30073
+ /**
30074
+ * repeated FooterSocialNetworksItem items = 1;
30075
+ * @return {!Array<!proto.cms.FooterSocialNetworksItem>}
30076
+ */
30077
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.getItemsList = function() {
30078
+ return /** @type{!Array<!proto.cms.FooterSocialNetworksItem>} */ (
30079
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterSocialNetworksItem, 1));
30080
+ };
30081
+
30082
+
30083
+ /**
30084
+ * @param {!Array<!proto.cms.FooterSocialNetworksItem>} value
30085
+ * @return {!proto.cms.FooterSocialNetworksItemsResponse} returns this
30086
+ */
30087
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.setItemsList = function(value) {
30088
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
30089
+ };
30090
+
30091
+
30092
+ /**
30093
+ * @param {!proto.cms.FooterSocialNetworksItem=} opt_value
30094
+ * @param {number=} opt_index
30095
+ * @return {!proto.cms.FooterSocialNetworksItem}
30096
+ */
30097
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.addItems = function(opt_value, opt_index) {
30098
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cms.FooterSocialNetworksItem, opt_index);
30099
+ };
30100
+
30101
+
30102
+ /**
30103
+ * Clears the list making it empty but non-null.
30104
+ * @return {!proto.cms.FooterSocialNetworksItemsResponse} returns this
30105
+ */
30106
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.clearItemsList = function() {
30107
+ return this.setItemsList([]);
30108
+ };
30109
+
30110
+
30111
+ /**
30112
+ * optional int32 total_pages = 2;
30113
+ * @return {number}
30114
+ */
30115
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.getTotalPages = function() {
30116
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
30117
+ };
30118
+
30119
+
30120
+ /**
30121
+ * @param {number} value
30122
+ * @return {!proto.cms.FooterSocialNetworksItemsResponse} returns this
30123
+ */
30124
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.setTotalPages = function(value) {
30125
+ return jspb.Message.setField(this, 2, value);
30126
+ };
30127
+
30128
+
30129
+ /**
30130
+ * Clears the field making it undefined.
30131
+ * @return {!proto.cms.FooterSocialNetworksItemsResponse} returns this
30132
+ */
30133
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.clearTotalPages = function() {
30134
+ return jspb.Message.setField(this, 2, undefined);
30135
+ };
30136
+
30137
+
30138
+ /**
30139
+ * Returns whether this field is set.
30140
+ * @return {boolean}
30141
+ */
30142
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.hasTotalPages = function() {
30143
+ return jspb.Message.getField(this, 2) != null;
30144
+ };
30145
+
30146
+
30147
+ /**
30148
+ * optional int32 total_items = 3;
30149
+ * @return {number}
30150
+ */
30151
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.getTotalItems = function() {
30152
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
30153
+ };
30154
+
30155
+
30156
+ /**
30157
+ * @param {number} value
30158
+ * @return {!proto.cms.FooterSocialNetworksItemsResponse} returns this
30159
+ */
30160
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.setTotalItems = function(value) {
30161
+ return jspb.Message.setField(this, 3, value);
30162
+ };
30163
+
30164
+
30165
+ /**
30166
+ * Clears the field making it undefined.
30167
+ * @return {!proto.cms.FooterSocialNetworksItemsResponse} returns this
30168
+ */
30169
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.clearTotalItems = function() {
30170
+ return jspb.Message.setField(this, 3, undefined);
30171
+ };
30172
+
30173
+
30174
+ /**
30175
+ * Returns whether this field is set.
30176
+ * @return {boolean}
30177
+ */
30178
+ proto.cms.FooterSocialNetworksItemsResponse.prototype.hasTotalItems = function() {
30179
+ return jspb.Message.getField(this, 3) != null;
30180
+ };
30181
+
30182
+
30183
+
27273
30184
 
27274
30185
 
27275
30186
  if (jspb.Message.GENERATE_TO_OBJECT) {