protobuf-platform 1.2.273 → 1.2.274

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
@@ -108,6 +108,8 @@ goog.exportSymbol('proto.cms.GetHeaderWidgetRequest', null, global);
108
108
  goog.exportSymbol('proto.cms.GetMainPageWidgetRequest', null, global);
109
109
  goog.exportSymbol('proto.cms.GetMobileMenuWidgetRequest', null, global);
110
110
  goog.exportSymbol('proto.cms.GetPageRequest', null, global);
111
+ goog.exportSymbol('proto.cms.GetPageSeoAttributesRequest', null, global);
112
+ goog.exportSymbol('proto.cms.GetPageSeoRequest', null, global);
111
113
  goog.exportSymbol('proto.cms.GetPageTranslationRequest', null, global);
112
114
  goog.exportSymbol('proto.cms.GetProfileMenuWidgetRequest', null, global);
113
115
  goog.exportSymbol('proto.cms.GetPromoRequest', null, global);
@@ -122,6 +124,13 @@ goog.exportSymbol('proto.cms.MobileMenuWidgetItem', null, global);
122
124
  goog.exportSymbol('proto.cms.PageItem', null, global);
123
125
  goog.exportSymbol('proto.cms.PageRequest', null, global);
124
126
  goog.exportSymbol('proto.cms.PageResponse', null, global);
127
+ goog.exportSymbol('proto.cms.PageSeoAttributesItem', null, global);
128
+ goog.exportSymbol('proto.cms.PageSeoAttributesResponse', null, global);
129
+ goog.exportSymbol('proto.cms.PageSeoItem', null, global);
130
+ goog.exportSymbol('proto.cms.PageSeoItemsResponse', null, global);
131
+ goog.exportSymbol('proto.cms.PageSeoRequest', null, global);
132
+ goog.exportSymbol('proto.cms.PageSeoResponse', null, global);
133
+ goog.exportSymbol('proto.cms.PageSeoStatusResponse', null, global);
125
134
  goog.exportSymbol('proto.cms.PageStatusResponse', null, global);
126
135
  goog.exportSymbol('proto.cms.PageTranslationRequest', null, global);
127
136
  goog.exportSymbol('proto.cms.PageTranslationResponse', null, global);
@@ -139,6 +148,7 @@ goog.exportSymbol('proto.cms.PromoStatusResponse', null, global);
139
148
  goog.exportSymbol('proto.cms.PromoTranslationRequest', null, global);
140
149
  goog.exportSymbol('proto.cms.PromoTranslationResponse', null, global);
141
150
  goog.exportSymbol('proto.cms.PromosItemsResponse', null, global);
151
+ goog.exportSymbol('proto.cms.SetPageSeoAttributesRequest', null, global);
142
152
  goog.exportSymbol('proto.cms.SignUpFormWidgetItem', null, global);
143
153
  goog.exportSymbol('proto.cms.TranslationItem', null, global);
144
154
  goog.exportSymbol('proto.cms.UserBannerGameItem', null, global);
@@ -1236,6 +1246,216 @@ if (goog.DEBUG && !COMPILED) {
1236
1246
  */
1237
1247
  proto.cms.PageTranslationResponse.displayName = 'proto.cms.PageTranslationResponse';
1238
1248
  }
1249
+ /**
1250
+ * Generated by JsPbCodeGenerator.
1251
+ * @param {Array=} opt_data Optional initial data array, typically from a
1252
+ * server response, or constructed directly in Javascript. The array is used
1253
+ * in place and becomes part of the constructed object. It is not cloned.
1254
+ * If no data is provided, the constructed object will be empty, but still
1255
+ * valid.
1256
+ * @extends {jspb.Message}
1257
+ * @constructor
1258
+ */
1259
+ proto.cms.PageSeoRequest = function(opt_data) {
1260
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1261
+ };
1262
+ goog.inherits(proto.cms.PageSeoRequest, jspb.Message);
1263
+ if (goog.DEBUG && !COMPILED) {
1264
+ /**
1265
+ * @public
1266
+ * @override
1267
+ */
1268
+ proto.cms.PageSeoRequest.displayName = 'proto.cms.PageSeoRequest';
1269
+ }
1270
+ /**
1271
+ * Generated by JsPbCodeGenerator.
1272
+ * @param {Array=} opt_data Optional initial data array, typically from a
1273
+ * server response, or constructed directly in Javascript. The array is used
1274
+ * in place and becomes part of the constructed object. It is not cloned.
1275
+ * If no data is provided, the constructed object will be empty, but still
1276
+ * valid.
1277
+ * @extends {jspb.Message}
1278
+ * @constructor
1279
+ */
1280
+ proto.cms.PageSeoItem = function(opt_data) {
1281
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1282
+ };
1283
+ goog.inherits(proto.cms.PageSeoItem, jspb.Message);
1284
+ if (goog.DEBUG && !COMPILED) {
1285
+ /**
1286
+ * @public
1287
+ * @override
1288
+ */
1289
+ proto.cms.PageSeoItem.displayName = 'proto.cms.PageSeoItem';
1290
+ }
1291
+ /**
1292
+ * Generated by JsPbCodeGenerator.
1293
+ * @param {Array=} opt_data Optional initial data array, typically from a
1294
+ * server response, or constructed directly in Javascript. The array is used
1295
+ * in place and becomes part of the constructed object. It is not cloned.
1296
+ * If no data is provided, the constructed object will be empty, but still
1297
+ * valid.
1298
+ * @extends {jspb.Message}
1299
+ * @constructor
1300
+ */
1301
+ proto.cms.PageSeoResponse = function(opt_data) {
1302
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1303
+ };
1304
+ goog.inherits(proto.cms.PageSeoResponse, jspb.Message);
1305
+ if (goog.DEBUG && !COMPILED) {
1306
+ /**
1307
+ * @public
1308
+ * @override
1309
+ */
1310
+ proto.cms.PageSeoResponse.displayName = 'proto.cms.PageSeoResponse';
1311
+ }
1312
+ /**
1313
+ * Generated by JsPbCodeGenerator.
1314
+ * @param {Array=} opt_data Optional initial data array, typically from a
1315
+ * server response, or constructed directly in Javascript. The array is used
1316
+ * in place and becomes part of the constructed object. It is not cloned.
1317
+ * If no data is provided, the constructed object will be empty, but still
1318
+ * valid.
1319
+ * @extends {jspb.Message}
1320
+ * @constructor
1321
+ */
1322
+ proto.cms.GetPageSeoRequest = function(opt_data) {
1323
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1324
+ };
1325
+ goog.inherits(proto.cms.GetPageSeoRequest, jspb.Message);
1326
+ if (goog.DEBUG && !COMPILED) {
1327
+ /**
1328
+ * @public
1329
+ * @override
1330
+ */
1331
+ proto.cms.GetPageSeoRequest.displayName = 'proto.cms.GetPageSeoRequest';
1332
+ }
1333
+ /**
1334
+ * Generated by JsPbCodeGenerator.
1335
+ * @param {Array=} opt_data Optional initial data array, typically from a
1336
+ * server response, or constructed directly in Javascript. The array is used
1337
+ * in place and becomes part of the constructed object. It is not cloned.
1338
+ * If no data is provided, the constructed object will be empty, but still
1339
+ * valid.
1340
+ * @extends {jspb.Message}
1341
+ * @constructor
1342
+ */
1343
+ proto.cms.PageSeoStatusResponse = function(opt_data) {
1344
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1345
+ };
1346
+ goog.inherits(proto.cms.PageSeoStatusResponse, jspb.Message);
1347
+ if (goog.DEBUG && !COMPILED) {
1348
+ /**
1349
+ * @public
1350
+ * @override
1351
+ */
1352
+ proto.cms.PageSeoStatusResponse.displayName = 'proto.cms.PageSeoStatusResponse';
1353
+ }
1354
+ /**
1355
+ * Generated by JsPbCodeGenerator.
1356
+ * @param {Array=} opt_data Optional initial data array, typically from a
1357
+ * server response, or constructed directly in Javascript. The array is used
1358
+ * in place and becomes part of the constructed object. It is not cloned.
1359
+ * If no data is provided, the constructed object will be empty, but still
1360
+ * valid.
1361
+ * @extends {jspb.Message}
1362
+ * @constructor
1363
+ */
1364
+ proto.cms.PageSeoItemsResponse = function(opt_data) {
1365
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.PageSeoItemsResponse.repeatedFields_, null);
1366
+ };
1367
+ goog.inherits(proto.cms.PageSeoItemsResponse, jspb.Message);
1368
+ if (goog.DEBUG && !COMPILED) {
1369
+ /**
1370
+ * @public
1371
+ * @override
1372
+ */
1373
+ proto.cms.PageSeoItemsResponse.displayName = 'proto.cms.PageSeoItemsResponse';
1374
+ }
1375
+ /**
1376
+ * Generated by JsPbCodeGenerator.
1377
+ * @param {Array=} opt_data Optional initial data array, typically from a
1378
+ * server response, or constructed directly in Javascript. The array is used
1379
+ * in place and becomes part of the constructed object. It is not cloned.
1380
+ * If no data is provided, the constructed object will be empty, but still
1381
+ * valid.
1382
+ * @extends {jspb.Message}
1383
+ * @constructor
1384
+ */
1385
+ proto.cms.SetPageSeoAttributesRequest = function(opt_data) {
1386
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1387
+ };
1388
+ goog.inherits(proto.cms.SetPageSeoAttributesRequest, jspb.Message);
1389
+ if (goog.DEBUG && !COMPILED) {
1390
+ /**
1391
+ * @public
1392
+ * @override
1393
+ */
1394
+ proto.cms.SetPageSeoAttributesRequest.displayName = 'proto.cms.SetPageSeoAttributesRequest';
1395
+ }
1396
+ /**
1397
+ * Generated by JsPbCodeGenerator.
1398
+ * @param {Array=} opt_data Optional initial data array, typically from a
1399
+ * server response, or constructed directly in Javascript. The array is used
1400
+ * in place and becomes part of the constructed object. It is not cloned.
1401
+ * If no data is provided, the constructed object will be empty, but still
1402
+ * valid.
1403
+ * @extends {jspb.Message}
1404
+ * @constructor
1405
+ */
1406
+ proto.cms.GetPageSeoAttributesRequest = function(opt_data) {
1407
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1408
+ };
1409
+ goog.inherits(proto.cms.GetPageSeoAttributesRequest, jspb.Message);
1410
+ if (goog.DEBUG && !COMPILED) {
1411
+ /**
1412
+ * @public
1413
+ * @override
1414
+ */
1415
+ proto.cms.GetPageSeoAttributesRequest.displayName = 'proto.cms.GetPageSeoAttributesRequest';
1416
+ }
1417
+ /**
1418
+ * Generated by JsPbCodeGenerator.
1419
+ * @param {Array=} opt_data Optional initial data array, typically from a
1420
+ * server response, or constructed directly in Javascript. The array is used
1421
+ * in place and becomes part of the constructed object. It is not cloned.
1422
+ * If no data is provided, the constructed object will be empty, but still
1423
+ * valid.
1424
+ * @extends {jspb.Message}
1425
+ * @constructor
1426
+ */
1427
+ proto.cms.PageSeoAttributesItem = function(opt_data) {
1428
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1429
+ };
1430
+ goog.inherits(proto.cms.PageSeoAttributesItem, jspb.Message);
1431
+ if (goog.DEBUG && !COMPILED) {
1432
+ /**
1433
+ * @public
1434
+ * @override
1435
+ */
1436
+ proto.cms.PageSeoAttributesItem.displayName = 'proto.cms.PageSeoAttributesItem';
1437
+ }
1438
+ /**
1439
+ * Generated by JsPbCodeGenerator.
1440
+ * @param {Array=} opt_data Optional initial data array, typically from a
1441
+ * server response, or constructed directly in Javascript. The array is used
1442
+ * in place and becomes part of the constructed object. It is not cloned.
1443
+ * If no data is provided, the constructed object will be empty, but still
1444
+ * valid.
1445
+ * @extends {jspb.Message}
1446
+ * @constructor
1447
+ */
1448
+ proto.cms.PageSeoAttributesResponse = function(opt_data) {
1449
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1450
+ };
1451
+ goog.inherits(proto.cms.PageSeoAttributesResponse, jspb.Message);
1452
+ if (goog.DEBUG && !COMPILED) {
1453
+ /**
1454
+ * @public
1455
+ * @override
1456
+ */
1457
+ proto.cms.PageSeoAttributesResponse.displayName = 'proto.cms.PageSeoAttributesResponse';
1458
+ }
1239
1459
  /**
1240
1460
  * Generated by JsPbCodeGenerator.
1241
1461
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -15425,6 +15645,2938 @@ proto.cms.PageTranslationResponse.prototype.hasIsActive = function() {
15425
15645
 
15426
15646
 
15427
15647
 
15648
+
15649
+
15650
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15651
+ /**
15652
+ * Creates an object representation of this proto.
15653
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15654
+ * Optional fields that are not set will be set to undefined.
15655
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15656
+ * For the list of reserved names please see:
15657
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15658
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15659
+ * JSPB instance for transitional soy proto support:
15660
+ * http://goto/soy-param-migration
15661
+ * @return {!Object}
15662
+ */
15663
+ proto.cms.PageSeoRequest.prototype.toObject = function(opt_includeInstance) {
15664
+ return proto.cms.PageSeoRequest.toObject(opt_includeInstance, this);
15665
+ };
15666
+
15667
+
15668
+ /**
15669
+ * Static version of the {@see toObject} method.
15670
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15671
+ * the JSPB instance for transitional soy proto support:
15672
+ * http://goto/soy-param-migration
15673
+ * @param {!proto.cms.PageSeoRequest} msg The msg instance to transform.
15674
+ * @return {!Object}
15675
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15676
+ */
15677
+ proto.cms.PageSeoRequest.toObject = function(includeInstance, msg) {
15678
+ var f, obj = {
15679
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
15680
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
15681
+ type: jspb.Message.getFieldWithDefault(msg, 3, ""),
15682
+ entityId: jspb.Message.getFieldWithDefault(msg, 4, 0),
15683
+ isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
15684
+ };
15685
+
15686
+ if (includeInstance) {
15687
+ obj.$jspbMessageInstance = msg;
15688
+ }
15689
+ return obj;
15690
+ };
15691
+ }
15692
+
15693
+
15694
+ /**
15695
+ * Deserializes binary data (in protobuf wire format).
15696
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15697
+ * @return {!proto.cms.PageSeoRequest}
15698
+ */
15699
+ proto.cms.PageSeoRequest.deserializeBinary = function(bytes) {
15700
+ var reader = new jspb.BinaryReader(bytes);
15701
+ var msg = new proto.cms.PageSeoRequest;
15702
+ return proto.cms.PageSeoRequest.deserializeBinaryFromReader(msg, reader);
15703
+ };
15704
+
15705
+
15706
+ /**
15707
+ * Deserializes binary data (in protobuf wire format) from the
15708
+ * given reader into the given message object.
15709
+ * @param {!proto.cms.PageSeoRequest} msg The message object to deserialize into.
15710
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15711
+ * @return {!proto.cms.PageSeoRequest}
15712
+ */
15713
+ proto.cms.PageSeoRequest.deserializeBinaryFromReader = function(msg, reader) {
15714
+ while (reader.nextField()) {
15715
+ if (reader.isEndGroup()) {
15716
+ break;
15717
+ }
15718
+ var field = reader.getFieldNumber();
15719
+ switch (field) {
15720
+ case 1:
15721
+ var value = /** @type {number} */ (reader.readInt32());
15722
+ msg.setId(value);
15723
+ break;
15724
+ case 2:
15725
+ var value = /** @type {string} */ (reader.readString());
15726
+ msg.setTitle(value);
15727
+ break;
15728
+ case 3:
15729
+ var value = /** @type {string} */ (reader.readString());
15730
+ msg.setType(value);
15731
+ break;
15732
+ case 4:
15733
+ var value = /** @type {number} */ (reader.readInt32());
15734
+ msg.setEntityId(value);
15735
+ break;
15736
+ case 5:
15737
+ var value = /** @type {number} */ (reader.readInt32());
15738
+ msg.setIsActive(value);
15739
+ break;
15740
+ default:
15741
+ reader.skipField();
15742
+ break;
15743
+ }
15744
+ }
15745
+ return msg;
15746
+ };
15747
+
15748
+
15749
+ /**
15750
+ * Serializes the message to binary data (in protobuf wire format).
15751
+ * @return {!Uint8Array}
15752
+ */
15753
+ proto.cms.PageSeoRequest.prototype.serializeBinary = function() {
15754
+ var writer = new jspb.BinaryWriter();
15755
+ proto.cms.PageSeoRequest.serializeBinaryToWriter(this, writer);
15756
+ return writer.getResultBuffer();
15757
+ };
15758
+
15759
+
15760
+ /**
15761
+ * Serializes the given message to binary data (in protobuf wire
15762
+ * format), writing to the given BinaryWriter.
15763
+ * @param {!proto.cms.PageSeoRequest} message
15764
+ * @param {!jspb.BinaryWriter} writer
15765
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15766
+ */
15767
+ proto.cms.PageSeoRequest.serializeBinaryToWriter = function(message, writer) {
15768
+ var f = undefined;
15769
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
15770
+ if (f != null) {
15771
+ writer.writeInt32(
15772
+ 1,
15773
+ f
15774
+ );
15775
+ }
15776
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
15777
+ if (f != null) {
15778
+ writer.writeString(
15779
+ 2,
15780
+ f
15781
+ );
15782
+ }
15783
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
15784
+ if (f != null) {
15785
+ writer.writeString(
15786
+ 3,
15787
+ f
15788
+ );
15789
+ }
15790
+ f = message.getEntityId();
15791
+ if (f !== 0) {
15792
+ writer.writeInt32(
15793
+ 4,
15794
+ f
15795
+ );
15796
+ }
15797
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
15798
+ if (f != null) {
15799
+ writer.writeInt32(
15800
+ 5,
15801
+ f
15802
+ );
15803
+ }
15804
+ };
15805
+
15806
+
15807
+ /**
15808
+ * optional int32 id = 1;
15809
+ * @return {number}
15810
+ */
15811
+ proto.cms.PageSeoRequest.prototype.getId = function() {
15812
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
15813
+ };
15814
+
15815
+
15816
+ /**
15817
+ * @param {number} value
15818
+ * @return {!proto.cms.PageSeoRequest} returns this
15819
+ */
15820
+ proto.cms.PageSeoRequest.prototype.setId = function(value) {
15821
+ return jspb.Message.setField(this, 1, value);
15822
+ };
15823
+
15824
+
15825
+ /**
15826
+ * Clears the field making it undefined.
15827
+ * @return {!proto.cms.PageSeoRequest} returns this
15828
+ */
15829
+ proto.cms.PageSeoRequest.prototype.clearId = function() {
15830
+ return jspb.Message.setField(this, 1, undefined);
15831
+ };
15832
+
15833
+
15834
+ /**
15835
+ * Returns whether this field is set.
15836
+ * @return {boolean}
15837
+ */
15838
+ proto.cms.PageSeoRequest.prototype.hasId = function() {
15839
+ return jspb.Message.getField(this, 1) != null;
15840
+ };
15841
+
15842
+
15843
+ /**
15844
+ * optional string title = 2;
15845
+ * @return {string}
15846
+ */
15847
+ proto.cms.PageSeoRequest.prototype.getTitle = function() {
15848
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
15849
+ };
15850
+
15851
+
15852
+ /**
15853
+ * @param {string} value
15854
+ * @return {!proto.cms.PageSeoRequest} returns this
15855
+ */
15856
+ proto.cms.PageSeoRequest.prototype.setTitle = function(value) {
15857
+ return jspb.Message.setField(this, 2, value);
15858
+ };
15859
+
15860
+
15861
+ /**
15862
+ * Clears the field making it undefined.
15863
+ * @return {!proto.cms.PageSeoRequest} returns this
15864
+ */
15865
+ proto.cms.PageSeoRequest.prototype.clearTitle = function() {
15866
+ return jspb.Message.setField(this, 2, undefined);
15867
+ };
15868
+
15869
+
15870
+ /**
15871
+ * Returns whether this field is set.
15872
+ * @return {boolean}
15873
+ */
15874
+ proto.cms.PageSeoRequest.prototype.hasTitle = function() {
15875
+ return jspb.Message.getField(this, 2) != null;
15876
+ };
15877
+
15878
+
15879
+ /**
15880
+ * optional string type = 3;
15881
+ * @return {string}
15882
+ */
15883
+ proto.cms.PageSeoRequest.prototype.getType = function() {
15884
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
15885
+ };
15886
+
15887
+
15888
+ /**
15889
+ * @param {string} value
15890
+ * @return {!proto.cms.PageSeoRequest} returns this
15891
+ */
15892
+ proto.cms.PageSeoRequest.prototype.setType = function(value) {
15893
+ return jspb.Message.setField(this, 3, value);
15894
+ };
15895
+
15896
+
15897
+ /**
15898
+ * Clears the field making it undefined.
15899
+ * @return {!proto.cms.PageSeoRequest} returns this
15900
+ */
15901
+ proto.cms.PageSeoRequest.prototype.clearType = function() {
15902
+ return jspb.Message.setField(this, 3, undefined);
15903
+ };
15904
+
15905
+
15906
+ /**
15907
+ * Returns whether this field is set.
15908
+ * @return {boolean}
15909
+ */
15910
+ proto.cms.PageSeoRequest.prototype.hasType = function() {
15911
+ return jspb.Message.getField(this, 3) != null;
15912
+ };
15913
+
15914
+
15915
+ /**
15916
+ * optional int32 entity_id = 4;
15917
+ * @return {number}
15918
+ */
15919
+ proto.cms.PageSeoRequest.prototype.getEntityId = function() {
15920
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
15921
+ };
15922
+
15923
+
15924
+ /**
15925
+ * @param {number} value
15926
+ * @return {!proto.cms.PageSeoRequest} returns this
15927
+ */
15928
+ proto.cms.PageSeoRequest.prototype.setEntityId = function(value) {
15929
+ return jspb.Message.setProto3IntField(this, 4, value);
15930
+ };
15931
+
15932
+
15933
+ /**
15934
+ * optional int32 is_active = 5;
15935
+ * @return {number}
15936
+ */
15937
+ proto.cms.PageSeoRequest.prototype.getIsActive = function() {
15938
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
15939
+ };
15940
+
15941
+
15942
+ /**
15943
+ * @param {number} value
15944
+ * @return {!proto.cms.PageSeoRequest} returns this
15945
+ */
15946
+ proto.cms.PageSeoRequest.prototype.setIsActive = function(value) {
15947
+ return jspb.Message.setField(this, 5, value);
15948
+ };
15949
+
15950
+
15951
+ /**
15952
+ * Clears the field making it undefined.
15953
+ * @return {!proto.cms.PageSeoRequest} returns this
15954
+ */
15955
+ proto.cms.PageSeoRequest.prototype.clearIsActive = function() {
15956
+ return jspb.Message.setField(this, 5, undefined);
15957
+ };
15958
+
15959
+
15960
+ /**
15961
+ * Returns whether this field is set.
15962
+ * @return {boolean}
15963
+ */
15964
+ proto.cms.PageSeoRequest.prototype.hasIsActive = function() {
15965
+ return jspb.Message.getField(this, 5) != null;
15966
+ };
15967
+
15968
+
15969
+
15970
+
15971
+
15972
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15973
+ /**
15974
+ * Creates an object representation of this proto.
15975
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15976
+ * Optional fields that are not set will be set to undefined.
15977
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15978
+ * For the list of reserved names please see:
15979
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15980
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15981
+ * JSPB instance for transitional soy proto support:
15982
+ * http://goto/soy-param-migration
15983
+ * @return {!Object}
15984
+ */
15985
+ proto.cms.PageSeoItem.prototype.toObject = function(opt_includeInstance) {
15986
+ return proto.cms.PageSeoItem.toObject(opt_includeInstance, this);
15987
+ };
15988
+
15989
+
15990
+ /**
15991
+ * Static version of the {@see toObject} method.
15992
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15993
+ * the JSPB instance for transitional soy proto support:
15994
+ * http://goto/soy-param-migration
15995
+ * @param {!proto.cms.PageSeoItem} msg The msg instance to transform.
15996
+ * @return {!Object}
15997
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15998
+ */
15999
+ proto.cms.PageSeoItem.toObject = function(includeInstance, msg) {
16000
+ var f, obj = {
16001
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
16002
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
16003
+ type: jspb.Message.getFieldWithDefault(msg, 3, ""),
16004
+ entityId: jspb.Message.getFieldWithDefault(msg, 4, 0),
16005
+ isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
16006
+ };
16007
+
16008
+ if (includeInstance) {
16009
+ obj.$jspbMessageInstance = msg;
16010
+ }
16011
+ return obj;
16012
+ };
16013
+ }
16014
+
16015
+
16016
+ /**
16017
+ * Deserializes binary data (in protobuf wire format).
16018
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16019
+ * @return {!proto.cms.PageSeoItem}
16020
+ */
16021
+ proto.cms.PageSeoItem.deserializeBinary = function(bytes) {
16022
+ var reader = new jspb.BinaryReader(bytes);
16023
+ var msg = new proto.cms.PageSeoItem;
16024
+ return proto.cms.PageSeoItem.deserializeBinaryFromReader(msg, reader);
16025
+ };
16026
+
16027
+
16028
+ /**
16029
+ * Deserializes binary data (in protobuf wire format) from the
16030
+ * given reader into the given message object.
16031
+ * @param {!proto.cms.PageSeoItem} msg The message object to deserialize into.
16032
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16033
+ * @return {!proto.cms.PageSeoItem}
16034
+ */
16035
+ proto.cms.PageSeoItem.deserializeBinaryFromReader = function(msg, reader) {
16036
+ while (reader.nextField()) {
16037
+ if (reader.isEndGroup()) {
16038
+ break;
16039
+ }
16040
+ var field = reader.getFieldNumber();
16041
+ switch (field) {
16042
+ case 1:
16043
+ var value = /** @type {number} */ (reader.readInt32());
16044
+ msg.setId(value);
16045
+ break;
16046
+ case 2:
16047
+ var value = /** @type {string} */ (reader.readString());
16048
+ msg.setTitle(value);
16049
+ break;
16050
+ case 3:
16051
+ var value = /** @type {string} */ (reader.readString());
16052
+ msg.setType(value);
16053
+ break;
16054
+ case 4:
16055
+ var value = /** @type {number} */ (reader.readInt32());
16056
+ msg.setEntityId(value);
16057
+ break;
16058
+ case 5:
16059
+ var value = /** @type {number} */ (reader.readInt32());
16060
+ msg.setIsActive(value);
16061
+ break;
16062
+ default:
16063
+ reader.skipField();
16064
+ break;
16065
+ }
16066
+ }
16067
+ return msg;
16068
+ };
16069
+
16070
+
16071
+ /**
16072
+ * Serializes the message to binary data (in protobuf wire format).
16073
+ * @return {!Uint8Array}
16074
+ */
16075
+ proto.cms.PageSeoItem.prototype.serializeBinary = function() {
16076
+ var writer = new jspb.BinaryWriter();
16077
+ proto.cms.PageSeoItem.serializeBinaryToWriter(this, writer);
16078
+ return writer.getResultBuffer();
16079
+ };
16080
+
16081
+
16082
+ /**
16083
+ * Serializes the given message to binary data (in protobuf wire
16084
+ * format), writing to the given BinaryWriter.
16085
+ * @param {!proto.cms.PageSeoItem} message
16086
+ * @param {!jspb.BinaryWriter} writer
16087
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16088
+ */
16089
+ proto.cms.PageSeoItem.serializeBinaryToWriter = function(message, writer) {
16090
+ var f = undefined;
16091
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
16092
+ if (f != null) {
16093
+ writer.writeInt32(
16094
+ 1,
16095
+ f
16096
+ );
16097
+ }
16098
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
16099
+ if (f != null) {
16100
+ writer.writeString(
16101
+ 2,
16102
+ f
16103
+ );
16104
+ }
16105
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
16106
+ if (f != null) {
16107
+ writer.writeString(
16108
+ 3,
16109
+ f
16110
+ );
16111
+ }
16112
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
16113
+ if (f != null) {
16114
+ writer.writeInt32(
16115
+ 4,
16116
+ f
16117
+ );
16118
+ }
16119
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
16120
+ if (f != null) {
16121
+ writer.writeInt32(
16122
+ 5,
16123
+ f
16124
+ );
16125
+ }
16126
+ };
16127
+
16128
+
16129
+ /**
16130
+ * optional int32 id = 1;
16131
+ * @return {number}
16132
+ */
16133
+ proto.cms.PageSeoItem.prototype.getId = function() {
16134
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16135
+ };
16136
+
16137
+
16138
+ /**
16139
+ * @param {number} value
16140
+ * @return {!proto.cms.PageSeoItem} returns this
16141
+ */
16142
+ proto.cms.PageSeoItem.prototype.setId = function(value) {
16143
+ return jspb.Message.setField(this, 1, value);
16144
+ };
16145
+
16146
+
16147
+ /**
16148
+ * Clears the field making it undefined.
16149
+ * @return {!proto.cms.PageSeoItem} returns this
16150
+ */
16151
+ proto.cms.PageSeoItem.prototype.clearId = function() {
16152
+ return jspb.Message.setField(this, 1, undefined);
16153
+ };
16154
+
16155
+
16156
+ /**
16157
+ * Returns whether this field is set.
16158
+ * @return {boolean}
16159
+ */
16160
+ proto.cms.PageSeoItem.prototype.hasId = function() {
16161
+ return jspb.Message.getField(this, 1) != null;
16162
+ };
16163
+
16164
+
16165
+ /**
16166
+ * optional string title = 2;
16167
+ * @return {string}
16168
+ */
16169
+ proto.cms.PageSeoItem.prototype.getTitle = function() {
16170
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16171
+ };
16172
+
16173
+
16174
+ /**
16175
+ * @param {string} value
16176
+ * @return {!proto.cms.PageSeoItem} returns this
16177
+ */
16178
+ proto.cms.PageSeoItem.prototype.setTitle = function(value) {
16179
+ return jspb.Message.setField(this, 2, value);
16180
+ };
16181
+
16182
+
16183
+ /**
16184
+ * Clears the field making it undefined.
16185
+ * @return {!proto.cms.PageSeoItem} returns this
16186
+ */
16187
+ proto.cms.PageSeoItem.prototype.clearTitle = function() {
16188
+ return jspb.Message.setField(this, 2, undefined);
16189
+ };
16190
+
16191
+
16192
+ /**
16193
+ * Returns whether this field is set.
16194
+ * @return {boolean}
16195
+ */
16196
+ proto.cms.PageSeoItem.prototype.hasTitle = function() {
16197
+ return jspb.Message.getField(this, 2) != null;
16198
+ };
16199
+
16200
+
16201
+ /**
16202
+ * optional string type = 3;
16203
+ * @return {string}
16204
+ */
16205
+ proto.cms.PageSeoItem.prototype.getType = function() {
16206
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
16207
+ };
16208
+
16209
+
16210
+ /**
16211
+ * @param {string} value
16212
+ * @return {!proto.cms.PageSeoItem} returns this
16213
+ */
16214
+ proto.cms.PageSeoItem.prototype.setType = function(value) {
16215
+ return jspb.Message.setField(this, 3, value);
16216
+ };
16217
+
16218
+
16219
+ /**
16220
+ * Clears the field making it undefined.
16221
+ * @return {!proto.cms.PageSeoItem} returns this
16222
+ */
16223
+ proto.cms.PageSeoItem.prototype.clearType = function() {
16224
+ return jspb.Message.setField(this, 3, undefined);
16225
+ };
16226
+
16227
+
16228
+ /**
16229
+ * Returns whether this field is set.
16230
+ * @return {boolean}
16231
+ */
16232
+ proto.cms.PageSeoItem.prototype.hasType = function() {
16233
+ return jspb.Message.getField(this, 3) != null;
16234
+ };
16235
+
16236
+
16237
+ /**
16238
+ * optional int32 entity_id = 4;
16239
+ * @return {number}
16240
+ */
16241
+ proto.cms.PageSeoItem.prototype.getEntityId = function() {
16242
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
16243
+ };
16244
+
16245
+
16246
+ /**
16247
+ * @param {number} value
16248
+ * @return {!proto.cms.PageSeoItem} returns this
16249
+ */
16250
+ proto.cms.PageSeoItem.prototype.setEntityId = function(value) {
16251
+ return jspb.Message.setField(this, 4, value);
16252
+ };
16253
+
16254
+
16255
+ /**
16256
+ * Clears the field making it undefined.
16257
+ * @return {!proto.cms.PageSeoItem} returns this
16258
+ */
16259
+ proto.cms.PageSeoItem.prototype.clearEntityId = function() {
16260
+ return jspb.Message.setField(this, 4, undefined);
16261
+ };
16262
+
16263
+
16264
+ /**
16265
+ * Returns whether this field is set.
16266
+ * @return {boolean}
16267
+ */
16268
+ proto.cms.PageSeoItem.prototype.hasEntityId = function() {
16269
+ return jspb.Message.getField(this, 4) != null;
16270
+ };
16271
+
16272
+
16273
+ /**
16274
+ * optional int32 is_active = 5;
16275
+ * @return {number}
16276
+ */
16277
+ proto.cms.PageSeoItem.prototype.getIsActive = function() {
16278
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
16279
+ };
16280
+
16281
+
16282
+ /**
16283
+ * @param {number} value
16284
+ * @return {!proto.cms.PageSeoItem} returns this
16285
+ */
16286
+ proto.cms.PageSeoItem.prototype.setIsActive = function(value) {
16287
+ return jspb.Message.setField(this, 5, value);
16288
+ };
16289
+
16290
+
16291
+ /**
16292
+ * Clears the field making it undefined.
16293
+ * @return {!proto.cms.PageSeoItem} returns this
16294
+ */
16295
+ proto.cms.PageSeoItem.prototype.clearIsActive = function() {
16296
+ return jspb.Message.setField(this, 5, undefined);
16297
+ };
16298
+
16299
+
16300
+ /**
16301
+ * Returns whether this field is set.
16302
+ * @return {boolean}
16303
+ */
16304
+ proto.cms.PageSeoItem.prototype.hasIsActive = function() {
16305
+ return jspb.Message.getField(this, 5) != null;
16306
+ };
16307
+
16308
+
16309
+
16310
+
16311
+
16312
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16313
+ /**
16314
+ * Creates an object representation of this proto.
16315
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16316
+ * Optional fields that are not set will be set to undefined.
16317
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16318
+ * For the list of reserved names please see:
16319
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16320
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16321
+ * JSPB instance for transitional soy proto support:
16322
+ * http://goto/soy-param-migration
16323
+ * @return {!Object}
16324
+ */
16325
+ proto.cms.PageSeoResponse.prototype.toObject = function(opt_includeInstance) {
16326
+ return proto.cms.PageSeoResponse.toObject(opt_includeInstance, this);
16327
+ };
16328
+
16329
+
16330
+ /**
16331
+ * Static version of the {@see toObject} method.
16332
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16333
+ * the JSPB instance for transitional soy proto support:
16334
+ * http://goto/soy-param-migration
16335
+ * @param {!proto.cms.PageSeoResponse} msg The msg instance to transform.
16336
+ * @return {!Object}
16337
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16338
+ */
16339
+ proto.cms.PageSeoResponse.toObject = function(includeInstance, msg) {
16340
+ var f, obj = {
16341
+ data: (f = msg.getData()) && proto.cms.PageSeoItem.toObject(includeInstance, f)
16342
+ };
16343
+
16344
+ if (includeInstance) {
16345
+ obj.$jspbMessageInstance = msg;
16346
+ }
16347
+ return obj;
16348
+ };
16349
+ }
16350
+
16351
+
16352
+ /**
16353
+ * Deserializes binary data (in protobuf wire format).
16354
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16355
+ * @return {!proto.cms.PageSeoResponse}
16356
+ */
16357
+ proto.cms.PageSeoResponse.deserializeBinary = function(bytes) {
16358
+ var reader = new jspb.BinaryReader(bytes);
16359
+ var msg = new proto.cms.PageSeoResponse;
16360
+ return proto.cms.PageSeoResponse.deserializeBinaryFromReader(msg, reader);
16361
+ };
16362
+
16363
+
16364
+ /**
16365
+ * Deserializes binary data (in protobuf wire format) from the
16366
+ * given reader into the given message object.
16367
+ * @param {!proto.cms.PageSeoResponse} msg The message object to deserialize into.
16368
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16369
+ * @return {!proto.cms.PageSeoResponse}
16370
+ */
16371
+ proto.cms.PageSeoResponse.deserializeBinaryFromReader = function(msg, reader) {
16372
+ while (reader.nextField()) {
16373
+ if (reader.isEndGroup()) {
16374
+ break;
16375
+ }
16376
+ var field = reader.getFieldNumber();
16377
+ switch (field) {
16378
+ case 1:
16379
+ var value = new proto.cms.PageSeoItem;
16380
+ reader.readMessage(value,proto.cms.PageSeoItem.deserializeBinaryFromReader);
16381
+ msg.setData(value);
16382
+ break;
16383
+ default:
16384
+ reader.skipField();
16385
+ break;
16386
+ }
16387
+ }
16388
+ return msg;
16389
+ };
16390
+
16391
+
16392
+ /**
16393
+ * Serializes the message to binary data (in protobuf wire format).
16394
+ * @return {!Uint8Array}
16395
+ */
16396
+ proto.cms.PageSeoResponse.prototype.serializeBinary = function() {
16397
+ var writer = new jspb.BinaryWriter();
16398
+ proto.cms.PageSeoResponse.serializeBinaryToWriter(this, writer);
16399
+ return writer.getResultBuffer();
16400
+ };
16401
+
16402
+
16403
+ /**
16404
+ * Serializes the given message to binary data (in protobuf wire
16405
+ * format), writing to the given BinaryWriter.
16406
+ * @param {!proto.cms.PageSeoResponse} message
16407
+ * @param {!jspb.BinaryWriter} writer
16408
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16409
+ */
16410
+ proto.cms.PageSeoResponse.serializeBinaryToWriter = function(message, writer) {
16411
+ var f = undefined;
16412
+ f = message.getData();
16413
+ if (f != null) {
16414
+ writer.writeMessage(
16415
+ 1,
16416
+ f,
16417
+ proto.cms.PageSeoItem.serializeBinaryToWriter
16418
+ );
16419
+ }
16420
+ };
16421
+
16422
+
16423
+ /**
16424
+ * optional PageSeoItem data = 1;
16425
+ * @return {?proto.cms.PageSeoItem}
16426
+ */
16427
+ proto.cms.PageSeoResponse.prototype.getData = function() {
16428
+ return /** @type{?proto.cms.PageSeoItem} */ (
16429
+ jspb.Message.getWrapperField(this, proto.cms.PageSeoItem, 1));
16430
+ };
16431
+
16432
+
16433
+ /**
16434
+ * @param {?proto.cms.PageSeoItem|undefined} value
16435
+ * @return {!proto.cms.PageSeoResponse} returns this
16436
+ */
16437
+ proto.cms.PageSeoResponse.prototype.setData = function(value) {
16438
+ return jspb.Message.setWrapperField(this, 1, value);
16439
+ };
16440
+
16441
+
16442
+ /**
16443
+ * Clears the message field making it undefined.
16444
+ * @return {!proto.cms.PageSeoResponse} returns this
16445
+ */
16446
+ proto.cms.PageSeoResponse.prototype.clearData = function() {
16447
+ return this.setData(undefined);
16448
+ };
16449
+
16450
+
16451
+ /**
16452
+ * Returns whether this field is set.
16453
+ * @return {boolean}
16454
+ */
16455
+ proto.cms.PageSeoResponse.prototype.hasData = function() {
16456
+ return jspb.Message.getField(this, 1) != null;
16457
+ };
16458
+
16459
+
16460
+
16461
+
16462
+
16463
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16464
+ /**
16465
+ * Creates an object representation of this proto.
16466
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16467
+ * Optional fields that are not set will be set to undefined.
16468
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16469
+ * For the list of reserved names please see:
16470
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16471
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16472
+ * JSPB instance for transitional soy proto support:
16473
+ * http://goto/soy-param-migration
16474
+ * @return {!Object}
16475
+ */
16476
+ proto.cms.GetPageSeoRequest.prototype.toObject = function(opt_includeInstance) {
16477
+ return proto.cms.GetPageSeoRequest.toObject(opt_includeInstance, this);
16478
+ };
16479
+
16480
+
16481
+ /**
16482
+ * Static version of the {@see toObject} method.
16483
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16484
+ * the JSPB instance for transitional soy proto support:
16485
+ * http://goto/soy-param-migration
16486
+ * @param {!proto.cms.GetPageSeoRequest} msg The msg instance to transform.
16487
+ * @return {!Object}
16488
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16489
+ */
16490
+ proto.cms.GetPageSeoRequest.toObject = function(includeInstance, msg) {
16491
+ var f, obj = {
16492
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
16493
+ };
16494
+
16495
+ if (includeInstance) {
16496
+ obj.$jspbMessageInstance = msg;
16497
+ }
16498
+ return obj;
16499
+ };
16500
+ }
16501
+
16502
+
16503
+ /**
16504
+ * Deserializes binary data (in protobuf wire format).
16505
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16506
+ * @return {!proto.cms.GetPageSeoRequest}
16507
+ */
16508
+ proto.cms.GetPageSeoRequest.deserializeBinary = function(bytes) {
16509
+ var reader = new jspb.BinaryReader(bytes);
16510
+ var msg = new proto.cms.GetPageSeoRequest;
16511
+ return proto.cms.GetPageSeoRequest.deserializeBinaryFromReader(msg, reader);
16512
+ };
16513
+
16514
+
16515
+ /**
16516
+ * Deserializes binary data (in protobuf wire format) from the
16517
+ * given reader into the given message object.
16518
+ * @param {!proto.cms.GetPageSeoRequest} msg The message object to deserialize into.
16519
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16520
+ * @return {!proto.cms.GetPageSeoRequest}
16521
+ */
16522
+ proto.cms.GetPageSeoRequest.deserializeBinaryFromReader = function(msg, reader) {
16523
+ while (reader.nextField()) {
16524
+ if (reader.isEndGroup()) {
16525
+ break;
16526
+ }
16527
+ var field = reader.getFieldNumber();
16528
+ switch (field) {
16529
+ case 1:
16530
+ var value = /** @type {number} */ (reader.readInt32());
16531
+ msg.setId(value);
16532
+ break;
16533
+ default:
16534
+ reader.skipField();
16535
+ break;
16536
+ }
16537
+ }
16538
+ return msg;
16539
+ };
16540
+
16541
+
16542
+ /**
16543
+ * Serializes the message to binary data (in protobuf wire format).
16544
+ * @return {!Uint8Array}
16545
+ */
16546
+ proto.cms.GetPageSeoRequest.prototype.serializeBinary = function() {
16547
+ var writer = new jspb.BinaryWriter();
16548
+ proto.cms.GetPageSeoRequest.serializeBinaryToWriter(this, writer);
16549
+ return writer.getResultBuffer();
16550
+ };
16551
+
16552
+
16553
+ /**
16554
+ * Serializes the given message to binary data (in protobuf wire
16555
+ * format), writing to the given BinaryWriter.
16556
+ * @param {!proto.cms.GetPageSeoRequest} message
16557
+ * @param {!jspb.BinaryWriter} writer
16558
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16559
+ */
16560
+ proto.cms.GetPageSeoRequest.serializeBinaryToWriter = function(message, writer) {
16561
+ var f = undefined;
16562
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
16563
+ if (f != null) {
16564
+ writer.writeInt32(
16565
+ 1,
16566
+ f
16567
+ );
16568
+ }
16569
+ };
16570
+
16571
+
16572
+ /**
16573
+ * optional int32 id = 1;
16574
+ * @return {number}
16575
+ */
16576
+ proto.cms.GetPageSeoRequest.prototype.getId = function() {
16577
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16578
+ };
16579
+
16580
+
16581
+ /**
16582
+ * @param {number} value
16583
+ * @return {!proto.cms.GetPageSeoRequest} returns this
16584
+ */
16585
+ proto.cms.GetPageSeoRequest.prototype.setId = function(value) {
16586
+ return jspb.Message.setField(this, 1, value);
16587
+ };
16588
+
16589
+
16590
+ /**
16591
+ * Clears the field making it undefined.
16592
+ * @return {!proto.cms.GetPageSeoRequest} returns this
16593
+ */
16594
+ proto.cms.GetPageSeoRequest.prototype.clearId = function() {
16595
+ return jspb.Message.setField(this, 1, undefined);
16596
+ };
16597
+
16598
+
16599
+ /**
16600
+ * Returns whether this field is set.
16601
+ * @return {boolean}
16602
+ */
16603
+ proto.cms.GetPageSeoRequest.prototype.hasId = function() {
16604
+ return jspb.Message.getField(this, 1) != null;
16605
+ };
16606
+
16607
+
16608
+
16609
+
16610
+
16611
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16612
+ /**
16613
+ * Creates an object representation of this proto.
16614
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16615
+ * Optional fields that are not set will be set to undefined.
16616
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16617
+ * For the list of reserved names please see:
16618
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16619
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16620
+ * JSPB instance for transitional soy proto support:
16621
+ * http://goto/soy-param-migration
16622
+ * @return {!Object}
16623
+ */
16624
+ proto.cms.PageSeoStatusResponse.prototype.toObject = function(opt_includeInstance) {
16625
+ return proto.cms.PageSeoStatusResponse.toObject(opt_includeInstance, this);
16626
+ };
16627
+
16628
+
16629
+ /**
16630
+ * Static version of the {@see toObject} method.
16631
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16632
+ * the JSPB instance for transitional soy proto support:
16633
+ * http://goto/soy-param-migration
16634
+ * @param {!proto.cms.PageSeoStatusResponse} msg The msg instance to transform.
16635
+ * @return {!Object}
16636
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16637
+ */
16638
+ proto.cms.PageSeoStatusResponse.toObject = function(includeInstance, msg) {
16639
+ var f, obj = {
16640
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
16641
+ };
16642
+
16643
+ if (includeInstance) {
16644
+ obj.$jspbMessageInstance = msg;
16645
+ }
16646
+ return obj;
16647
+ };
16648
+ }
16649
+
16650
+
16651
+ /**
16652
+ * Deserializes binary data (in protobuf wire format).
16653
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16654
+ * @return {!proto.cms.PageSeoStatusResponse}
16655
+ */
16656
+ proto.cms.PageSeoStatusResponse.deserializeBinary = function(bytes) {
16657
+ var reader = new jspb.BinaryReader(bytes);
16658
+ var msg = new proto.cms.PageSeoStatusResponse;
16659
+ return proto.cms.PageSeoStatusResponse.deserializeBinaryFromReader(msg, reader);
16660
+ };
16661
+
16662
+
16663
+ /**
16664
+ * Deserializes binary data (in protobuf wire format) from the
16665
+ * given reader into the given message object.
16666
+ * @param {!proto.cms.PageSeoStatusResponse} msg The message object to deserialize into.
16667
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16668
+ * @return {!proto.cms.PageSeoStatusResponse}
16669
+ */
16670
+ proto.cms.PageSeoStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
16671
+ while (reader.nextField()) {
16672
+ if (reader.isEndGroup()) {
16673
+ break;
16674
+ }
16675
+ var field = reader.getFieldNumber();
16676
+ switch (field) {
16677
+ case 1:
16678
+ var value = /** @type {string} */ (reader.readString());
16679
+ msg.setStatus(value);
16680
+ break;
16681
+ default:
16682
+ reader.skipField();
16683
+ break;
16684
+ }
16685
+ }
16686
+ return msg;
16687
+ };
16688
+
16689
+
16690
+ /**
16691
+ * Serializes the message to binary data (in protobuf wire format).
16692
+ * @return {!Uint8Array}
16693
+ */
16694
+ proto.cms.PageSeoStatusResponse.prototype.serializeBinary = function() {
16695
+ var writer = new jspb.BinaryWriter();
16696
+ proto.cms.PageSeoStatusResponse.serializeBinaryToWriter(this, writer);
16697
+ return writer.getResultBuffer();
16698
+ };
16699
+
16700
+
16701
+ /**
16702
+ * Serializes the given message to binary data (in protobuf wire
16703
+ * format), writing to the given BinaryWriter.
16704
+ * @param {!proto.cms.PageSeoStatusResponse} message
16705
+ * @param {!jspb.BinaryWriter} writer
16706
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16707
+ */
16708
+ proto.cms.PageSeoStatusResponse.serializeBinaryToWriter = function(message, writer) {
16709
+ var f = undefined;
16710
+ f = message.getStatus();
16711
+ if (f.length > 0) {
16712
+ writer.writeString(
16713
+ 1,
16714
+ f
16715
+ );
16716
+ }
16717
+ };
16718
+
16719
+
16720
+ /**
16721
+ * optional string status = 1;
16722
+ * @return {string}
16723
+ */
16724
+ proto.cms.PageSeoStatusResponse.prototype.getStatus = function() {
16725
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
16726
+ };
16727
+
16728
+
16729
+ /**
16730
+ * @param {string} value
16731
+ * @return {!proto.cms.PageSeoStatusResponse} returns this
16732
+ */
16733
+ proto.cms.PageSeoStatusResponse.prototype.setStatus = function(value) {
16734
+ return jspb.Message.setProto3StringField(this, 1, value);
16735
+ };
16736
+
16737
+
16738
+
16739
+ /**
16740
+ * List of repeated fields within this message type.
16741
+ * @private {!Array<number>}
16742
+ * @const
16743
+ */
16744
+ proto.cms.PageSeoItemsResponse.repeatedFields_ = [1];
16745
+
16746
+
16747
+
16748
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16749
+ /**
16750
+ * Creates an object representation of this proto.
16751
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16752
+ * Optional fields that are not set will be set to undefined.
16753
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16754
+ * For the list of reserved names please see:
16755
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16756
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16757
+ * JSPB instance for transitional soy proto support:
16758
+ * http://goto/soy-param-migration
16759
+ * @return {!Object}
16760
+ */
16761
+ proto.cms.PageSeoItemsResponse.prototype.toObject = function(opt_includeInstance) {
16762
+ return proto.cms.PageSeoItemsResponse.toObject(opt_includeInstance, this);
16763
+ };
16764
+
16765
+
16766
+ /**
16767
+ * Static version of the {@see toObject} method.
16768
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16769
+ * the JSPB instance for transitional soy proto support:
16770
+ * http://goto/soy-param-migration
16771
+ * @param {!proto.cms.PageSeoItemsResponse} msg The msg instance to transform.
16772
+ * @return {!Object}
16773
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16774
+ */
16775
+ proto.cms.PageSeoItemsResponse.toObject = function(includeInstance, msg) {
16776
+ var f, obj = {
16777
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
16778
+ proto.cms.PageSeoItem.toObject, includeInstance),
16779
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
16780
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
16781
+ };
16782
+
16783
+ if (includeInstance) {
16784
+ obj.$jspbMessageInstance = msg;
16785
+ }
16786
+ return obj;
16787
+ };
16788
+ }
16789
+
16790
+
16791
+ /**
16792
+ * Deserializes binary data (in protobuf wire format).
16793
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16794
+ * @return {!proto.cms.PageSeoItemsResponse}
16795
+ */
16796
+ proto.cms.PageSeoItemsResponse.deserializeBinary = function(bytes) {
16797
+ var reader = new jspb.BinaryReader(bytes);
16798
+ var msg = new proto.cms.PageSeoItemsResponse;
16799
+ return proto.cms.PageSeoItemsResponse.deserializeBinaryFromReader(msg, reader);
16800
+ };
16801
+
16802
+
16803
+ /**
16804
+ * Deserializes binary data (in protobuf wire format) from the
16805
+ * given reader into the given message object.
16806
+ * @param {!proto.cms.PageSeoItemsResponse} msg The message object to deserialize into.
16807
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16808
+ * @return {!proto.cms.PageSeoItemsResponse}
16809
+ */
16810
+ proto.cms.PageSeoItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
16811
+ while (reader.nextField()) {
16812
+ if (reader.isEndGroup()) {
16813
+ break;
16814
+ }
16815
+ var field = reader.getFieldNumber();
16816
+ switch (field) {
16817
+ case 1:
16818
+ var value = new proto.cms.PageSeoItem;
16819
+ reader.readMessage(value,proto.cms.PageSeoItem.deserializeBinaryFromReader);
16820
+ msg.addItems(value);
16821
+ break;
16822
+ case 2:
16823
+ var value = /** @type {number} */ (reader.readInt32());
16824
+ msg.setTotalPages(value);
16825
+ break;
16826
+ case 3:
16827
+ var value = /** @type {number} */ (reader.readInt32());
16828
+ msg.setTotalItems(value);
16829
+ break;
16830
+ default:
16831
+ reader.skipField();
16832
+ break;
16833
+ }
16834
+ }
16835
+ return msg;
16836
+ };
16837
+
16838
+
16839
+ /**
16840
+ * Serializes the message to binary data (in protobuf wire format).
16841
+ * @return {!Uint8Array}
16842
+ */
16843
+ proto.cms.PageSeoItemsResponse.prototype.serializeBinary = function() {
16844
+ var writer = new jspb.BinaryWriter();
16845
+ proto.cms.PageSeoItemsResponse.serializeBinaryToWriter(this, writer);
16846
+ return writer.getResultBuffer();
16847
+ };
16848
+
16849
+
16850
+ /**
16851
+ * Serializes the given message to binary data (in protobuf wire
16852
+ * format), writing to the given BinaryWriter.
16853
+ * @param {!proto.cms.PageSeoItemsResponse} message
16854
+ * @param {!jspb.BinaryWriter} writer
16855
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16856
+ */
16857
+ proto.cms.PageSeoItemsResponse.serializeBinaryToWriter = function(message, writer) {
16858
+ var f = undefined;
16859
+ f = message.getItemsList();
16860
+ if (f.length > 0) {
16861
+ writer.writeRepeatedMessage(
16862
+ 1,
16863
+ f,
16864
+ proto.cms.PageSeoItem.serializeBinaryToWriter
16865
+ );
16866
+ }
16867
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
16868
+ if (f != null) {
16869
+ writer.writeInt32(
16870
+ 2,
16871
+ f
16872
+ );
16873
+ }
16874
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
16875
+ if (f != null) {
16876
+ writer.writeInt32(
16877
+ 3,
16878
+ f
16879
+ );
16880
+ }
16881
+ };
16882
+
16883
+
16884
+ /**
16885
+ * repeated PageSeoItem items = 1;
16886
+ * @return {!Array<!proto.cms.PageSeoItem>}
16887
+ */
16888
+ proto.cms.PageSeoItemsResponse.prototype.getItemsList = function() {
16889
+ return /** @type{!Array<!proto.cms.PageSeoItem>} */ (
16890
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.PageSeoItem, 1));
16891
+ };
16892
+
16893
+
16894
+ /**
16895
+ * @param {!Array<!proto.cms.PageSeoItem>} value
16896
+ * @return {!proto.cms.PageSeoItemsResponse} returns this
16897
+ */
16898
+ proto.cms.PageSeoItemsResponse.prototype.setItemsList = function(value) {
16899
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
16900
+ };
16901
+
16902
+
16903
+ /**
16904
+ * @param {!proto.cms.PageSeoItem=} opt_value
16905
+ * @param {number=} opt_index
16906
+ * @return {!proto.cms.PageSeoItem}
16907
+ */
16908
+ proto.cms.PageSeoItemsResponse.prototype.addItems = function(opt_value, opt_index) {
16909
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cms.PageSeoItem, opt_index);
16910
+ };
16911
+
16912
+
16913
+ /**
16914
+ * Clears the list making it empty but non-null.
16915
+ * @return {!proto.cms.PageSeoItemsResponse} returns this
16916
+ */
16917
+ proto.cms.PageSeoItemsResponse.prototype.clearItemsList = function() {
16918
+ return this.setItemsList([]);
16919
+ };
16920
+
16921
+
16922
+ /**
16923
+ * optional int32 total_pages = 2;
16924
+ * @return {number}
16925
+ */
16926
+ proto.cms.PageSeoItemsResponse.prototype.getTotalPages = function() {
16927
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
16928
+ };
16929
+
16930
+
16931
+ /**
16932
+ * @param {number} value
16933
+ * @return {!proto.cms.PageSeoItemsResponse} returns this
16934
+ */
16935
+ proto.cms.PageSeoItemsResponse.prototype.setTotalPages = function(value) {
16936
+ return jspb.Message.setField(this, 2, value);
16937
+ };
16938
+
16939
+
16940
+ /**
16941
+ * Clears the field making it undefined.
16942
+ * @return {!proto.cms.PageSeoItemsResponse} returns this
16943
+ */
16944
+ proto.cms.PageSeoItemsResponse.prototype.clearTotalPages = function() {
16945
+ return jspb.Message.setField(this, 2, undefined);
16946
+ };
16947
+
16948
+
16949
+ /**
16950
+ * Returns whether this field is set.
16951
+ * @return {boolean}
16952
+ */
16953
+ proto.cms.PageSeoItemsResponse.prototype.hasTotalPages = function() {
16954
+ return jspb.Message.getField(this, 2) != null;
16955
+ };
16956
+
16957
+
16958
+ /**
16959
+ * optional int32 total_items = 3;
16960
+ * @return {number}
16961
+ */
16962
+ proto.cms.PageSeoItemsResponse.prototype.getTotalItems = function() {
16963
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
16964
+ };
16965
+
16966
+
16967
+ /**
16968
+ * @param {number} value
16969
+ * @return {!proto.cms.PageSeoItemsResponse} returns this
16970
+ */
16971
+ proto.cms.PageSeoItemsResponse.prototype.setTotalItems = function(value) {
16972
+ return jspb.Message.setField(this, 3, value);
16973
+ };
16974
+
16975
+
16976
+ /**
16977
+ * Clears the field making it undefined.
16978
+ * @return {!proto.cms.PageSeoItemsResponse} returns this
16979
+ */
16980
+ proto.cms.PageSeoItemsResponse.prototype.clearTotalItems = function() {
16981
+ return jspb.Message.setField(this, 3, undefined);
16982
+ };
16983
+
16984
+
16985
+ /**
16986
+ * Returns whether this field is set.
16987
+ * @return {boolean}
16988
+ */
16989
+ proto.cms.PageSeoItemsResponse.prototype.hasTotalItems = function() {
16990
+ return jspb.Message.getField(this, 3) != null;
16991
+ };
16992
+
16993
+
16994
+
16995
+
16996
+
16997
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16998
+ /**
16999
+ * Creates an object representation of this proto.
17000
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17001
+ * Optional fields that are not set will be set to undefined.
17002
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17003
+ * For the list of reserved names please see:
17004
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17005
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17006
+ * JSPB instance for transitional soy proto support:
17007
+ * http://goto/soy-param-migration
17008
+ * @return {!Object}
17009
+ */
17010
+ proto.cms.SetPageSeoAttributesRequest.prototype.toObject = function(opt_includeInstance) {
17011
+ return proto.cms.SetPageSeoAttributesRequest.toObject(opt_includeInstance, this);
17012
+ };
17013
+
17014
+
17015
+ /**
17016
+ * Static version of the {@see toObject} method.
17017
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17018
+ * the JSPB instance for transitional soy proto support:
17019
+ * http://goto/soy-param-migration
17020
+ * @param {!proto.cms.SetPageSeoAttributesRequest} msg The msg instance to transform.
17021
+ * @return {!Object}
17022
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17023
+ */
17024
+ proto.cms.SetPageSeoAttributesRequest.toObject = function(includeInstance, msg) {
17025
+ var f, obj = {
17026
+ pageSeoId: jspb.Message.getFieldWithDefault(msg, 1, 0),
17027
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
17028
+ locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
17029
+ headTitle: jspb.Message.getFieldWithDefault(msg, 4, ""),
17030
+ metaDescription: jspb.Message.getFieldWithDefault(msg, 5, ""),
17031
+ openGraphTitle: jspb.Message.getFieldWithDefault(msg, 6, ""),
17032
+ openGraphDescription: jspb.Message.getFieldWithDefault(msg, 7, ""),
17033
+ twitterTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
17034
+ twitterDescription: jspb.Message.getFieldWithDefault(msg, 9, ""),
17035
+ h1: jspb.Message.getFieldWithDefault(msg, 10, ""),
17036
+ description: jspb.Message.getFieldWithDefault(msg, 11, ""),
17037
+ fullDescription: jspb.Message.getFieldWithDefault(msg, 12, "")
17038
+ };
17039
+
17040
+ if (includeInstance) {
17041
+ obj.$jspbMessageInstance = msg;
17042
+ }
17043
+ return obj;
17044
+ };
17045
+ }
17046
+
17047
+
17048
+ /**
17049
+ * Deserializes binary data (in protobuf wire format).
17050
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17051
+ * @return {!proto.cms.SetPageSeoAttributesRequest}
17052
+ */
17053
+ proto.cms.SetPageSeoAttributesRequest.deserializeBinary = function(bytes) {
17054
+ var reader = new jspb.BinaryReader(bytes);
17055
+ var msg = new proto.cms.SetPageSeoAttributesRequest;
17056
+ return proto.cms.SetPageSeoAttributesRequest.deserializeBinaryFromReader(msg, reader);
17057
+ };
17058
+
17059
+
17060
+ /**
17061
+ * Deserializes binary data (in protobuf wire format) from the
17062
+ * given reader into the given message object.
17063
+ * @param {!proto.cms.SetPageSeoAttributesRequest} msg The message object to deserialize into.
17064
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17065
+ * @return {!proto.cms.SetPageSeoAttributesRequest}
17066
+ */
17067
+ proto.cms.SetPageSeoAttributesRequest.deserializeBinaryFromReader = function(msg, reader) {
17068
+ while (reader.nextField()) {
17069
+ if (reader.isEndGroup()) {
17070
+ break;
17071
+ }
17072
+ var field = reader.getFieldNumber();
17073
+ switch (field) {
17074
+ case 1:
17075
+ var value = /** @type {number} */ (reader.readInt32());
17076
+ msg.setPageSeoId(value);
17077
+ break;
17078
+ case 2:
17079
+ var value = /** @type {string} */ (reader.readString());
17080
+ msg.setGeo(value);
17081
+ break;
17082
+ case 3:
17083
+ var value = /** @type {string} */ (reader.readString());
17084
+ msg.setLocale(value);
17085
+ break;
17086
+ case 4:
17087
+ var value = /** @type {string} */ (reader.readString());
17088
+ msg.setHeadTitle(value);
17089
+ break;
17090
+ case 5:
17091
+ var value = /** @type {string} */ (reader.readString());
17092
+ msg.setMetaDescription(value);
17093
+ break;
17094
+ case 6:
17095
+ var value = /** @type {string} */ (reader.readString());
17096
+ msg.setOpenGraphTitle(value);
17097
+ break;
17098
+ case 7:
17099
+ var value = /** @type {string} */ (reader.readString());
17100
+ msg.setOpenGraphDescription(value);
17101
+ break;
17102
+ case 8:
17103
+ var value = /** @type {string} */ (reader.readString());
17104
+ msg.setTwitterTitle(value);
17105
+ break;
17106
+ case 9:
17107
+ var value = /** @type {string} */ (reader.readString());
17108
+ msg.setTwitterDescription(value);
17109
+ break;
17110
+ case 10:
17111
+ var value = /** @type {string} */ (reader.readString());
17112
+ msg.setH1(value);
17113
+ break;
17114
+ case 11:
17115
+ var value = /** @type {string} */ (reader.readString());
17116
+ msg.setDescription(value);
17117
+ break;
17118
+ case 12:
17119
+ var value = /** @type {string} */ (reader.readString());
17120
+ msg.setFullDescription(value);
17121
+ break;
17122
+ default:
17123
+ reader.skipField();
17124
+ break;
17125
+ }
17126
+ }
17127
+ return msg;
17128
+ };
17129
+
17130
+
17131
+ /**
17132
+ * Serializes the message to binary data (in protobuf wire format).
17133
+ * @return {!Uint8Array}
17134
+ */
17135
+ proto.cms.SetPageSeoAttributesRequest.prototype.serializeBinary = function() {
17136
+ var writer = new jspb.BinaryWriter();
17137
+ proto.cms.SetPageSeoAttributesRequest.serializeBinaryToWriter(this, writer);
17138
+ return writer.getResultBuffer();
17139
+ };
17140
+
17141
+
17142
+ /**
17143
+ * Serializes the given message to binary data (in protobuf wire
17144
+ * format), writing to the given BinaryWriter.
17145
+ * @param {!proto.cms.SetPageSeoAttributesRequest} message
17146
+ * @param {!jspb.BinaryWriter} writer
17147
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17148
+ */
17149
+ proto.cms.SetPageSeoAttributesRequest.serializeBinaryToWriter = function(message, writer) {
17150
+ var f = undefined;
17151
+ f = message.getPageSeoId();
17152
+ if (f !== 0) {
17153
+ writer.writeInt32(
17154
+ 1,
17155
+ f
17156
+ );
17157
+ }
17158
+ f = message.getGeo();
17159
+ if (f.length > 0) {
17160
+ writer.writeString(
17161
+ 2,
17162
+ f
17163
+ );
17164
+ }
17165
+ f = message.getLocale();
17166
+ if (f.length > 0) {
17167
+ writer.writeString(
17168
+ 3,
17169
+ f
17170
+ );
17171
+ }
17172
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
17173
+ if (f != null) {
17174
+ writer.writeString(
17175
+ 4,
17176
+ f
17177
+ );
17178
+ }
17179
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
17180
+ if (f != null) {
17181
+ writer.writeString(
17182
+ 5,
17183
+ f
17184
+ );
17185
+ }
17186
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
17187
+ if (f != null) {
17188
+ writer.writeString(
17189
+ 6,
17190
+ f
17191
+ );
17192
+ }
17193
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
17194
+ if (f != null) {
17195
+ writer.writeString(
17196
+ 7,
17197
+ f
17198
+ );
17199
+ }
17200
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
17201
+ if (f != null) {
17202
+ writer.writeString(
17203
+ 8,
17204
+ f
17205
+ );
17206
+ }
17207
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
17208
+ if (f != null) {
17209
+ writer.writeString(
17210
+ 9,
17211
+ f
17212
+ );
17213
+ }
17214
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
17215
+ if (f != null) {
17216
+ writer.writeString(
17217
+ 10,
17218
+ f
17219
+ );
17220
+ }
17221
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
17222
+ if (f != null) {
17223
+ writer.writeString(
17224
+ 11,
17225
+ f
17226
+ );
17227
+ }
17228
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
17229
+ if (f != null) {
17230
+ writer.writeString(
17231
+ 12,
17232
+ f
17233
+ );
17234
+ }
17235
+ };
17236
+
17237
+
17238
+ /**
17239
+ * optional int32 page_seo_id = 1;
17240
+ * @return {number}
17241
+ */
17242
+ proto.cms.SetPageSeoAttributesRequest.prototype.getPageSeoId = function() {
17243
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
17244
+ };
17245
+
17246
+
17247
+ /**
17248
+ * @param {number} value
17249
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17250
+ */
17251
+ proto.cms.SetPageSeoAttributesRequest.prototype.setPageSeoId = function(value) {
17252
+ return jspb.Message.setProto3IntField(this, 1, value);
17253
+ };
17254
+
17255
+
17256
+ /**
17257
+ * optional string geo = 2;
17258
+ * @return {string}
17259
+ */
17260
+ proto.cms.SetPageSeoAttributesRequest.prototype.getGeo = function() {
17261
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
17262
+ };
17263
+
17264
+
17265
+ /**
17266
+ * @param {string} value
17267
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17268
+ */
17269
+ proto.cms.SetPageSeoAttributesRequest.prototype.setGeo = function(value) {
17270
+ return jspb.Message.setProto3StringField(this, 2, value);
17271
+ };
17272
+
17273
+
17274
+ /**
17275
+ * optional string locale = 3;
17276
+ * @return {string}
17277
+ */
17278
+ proto.cms.SetPageSeoAttributesRequest.prototype.getLocale = function() {
17279
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17280
+ };
17281
+
17282
+
17283
+ /**
17284
+ * @param {string} value
17285
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17286
+ */
17287
+ proto.cms.SetPageSeoAttributesRequest.prototype.setLocale = function(value) {
17288
+ return jspb.Message.setProto3StringField(this, 3, value);
17289
+ };
17290
+
17291
+
17292
+ /**
17293
+ * optional string head_title = 4;
17294
+ * @return {string}
17295
+ */
17296
+ proto.cms.SetPageSeoAttributesRequest.prototype.getHeadTitle = function() {
17297
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
17298
+ };
17299
+
17300
+
17301
+ /**
17302
+ * @param {string} value
17303
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17304
+ */
17305
+ proto.cms.SetPageSeoAttributesRequest.prototype.setHeadTitle = function(value) {
17306
+ return jspb.Message.setField(this, 4, value);
17307
+ };
17308
+
17309
+
17310
+ /**
17311
+ * Clears the field making it undefined.
17312
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17313
+ */
17314
+ proto.cms.SetPageSeoAttributesRequest.prototype.clearHeadTitle = function() {
17315
+ return jspb.Message.setField(this, 4, undefined);
17316
+ };
17317
+
17318
+
17319
+ /**
17320
+ * Returns whether this field is set.
17321
+ * @return {boolean}
17322
+ */
17323
+ proto.cms.SetPageSeoAttributesRequest.prototype.hasHeadTitle = function() {
17324
+ return jspb.Message.getField(this, 4) != null;
17325
+ };
17326
+
17327
+
17328
+ /**
17329
+ * optional string meta_description = 5;
17330
+ * @return {string}
17331
+ */
17332
+ proto.cms.SetPageSeoAttributesRequest.prototype.getMetaDescription = function() {
17333
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
17334
+ };
17335
+
17336
+
17337
+ /**
17338
+ * @param {string} value
17339
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17340
+ */
17341
+ proto.cms.SetPageSeoAttributesRequest.prototype.setMetaDescription = function(value) {
17342
+ return jspb.Message.setField(this, 5, value);
17343
+ };
17344
+
17345
+
17346
+ /**
17347
+ * Clears the field making it undefined.
17348
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17349
+ */
17350
+ proto.cms.SetPageSeoAttributesRequest.prototype.clearMetaDescription = function() {
17351
+ return jspb.Message.setField(this, 5, undefined);
17352
+ };
17353
+
17354
+
17355
+ /**
17356
+ * Returns whether this field is set.
17357
+ * @return {boolean}
17358
+ */
17359
+ proto.cms.SetPageSeoAttributesRequest.prototype.hasMetaDescription = function() {
17360
+ return jspb.Message.getField(this, 5) != null;
17361
+ };
17362
+
17363
+
17364
+ /**
17365
+ * optional string open_graph_title = 6;
17366
+ * @return {string}
17367
+ */
17368
+ proto.cms.SetPageSeoAttributesRequest.prototype.getOpenGraphTitle = function() {
17369
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
17370
+ };
17371
+
17372
+
17373
+ /**
17374
+ * @param {string} value
17375
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17376
+ */
17377
+ proto.cms.SetPageSeoAttributesRequest.prototype.setOpenGraphTitle = function(value) {
17378
+ return jspb.Message.setField(this, 6, value);
17379
+ };
17380
+
17381
+
17382
+ /**
17383
+ * Clears the field making it undefined.
17384
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17385
+ */
17386
+ proto.cms.SetPageSeoAttributesRequest.prototype.clearOpenGraphTitle = function() {
17387
+ return jspb.Message.setField(this, 6, undefined);
17388
+ };
17389
+
17390
+
17391
+ /**
17392
+ * Returns whether this field is set.
17393
+ * @return {boolean}
17394
+ */
17395
+ proto.cms.SetPageSeoAttributesRequest.prototype.hasOpenGraphTitle = function() {
17396
+ return jspb.Message.getField(this, 6) != null;
17397
+ };
17398
+
17399
+
17400
+ /**
17401
+ * optional string open_graph_description = 7;
17402
+ * @return {string}
17403
+ */
17404
+ proto.cms.SetPageSeoAttributesRequest.prototype.getOpenGraphDescription = function() {
17405
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
17406
+ };
17407
+
17408
+
17409
+ /**
17410
+ * @param {string} value
17411
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17412
+ */
17413
+ proto.cms.SetPageSeoAttributesRequest.prototype.setOpenGraphDescription = function(value) {
17414
+ return jspb.Message.setField(this, 7, value);
17415
+ };
17416
+
17417
+
17418
+ /**
17419
+ * Clears the field making it undefined.
17420
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17421
+ */
17422
+ proto.cms.SetPageSeoAttributesRequest.prototype.clearOpenGraphDescription = function() {
17423
+ return jspb.Message.setField(this, 7, undefined);
17424
+ };
17425
+
17426
+
17427
+ /**
17428
+ * Returns whether this field is set.
17429
+ * @return {boolean}
17430
+ */
17431
+ proto.cms.SetPageSeoAttributesRequest.prototype.hasOpenGraphDescription = function() {
17432
+ return jspb.Message.getField(this, 7) != null;
17433
+ };
17434
+
17435
+
17436
+ /**
17437
+ * optional string twitter_title = 8;
17438
+ * @return {string}
17439
+ */
17440
+ proto.cms.SetPageSeoAttributesRequest.prototype.getTwitterTitle = function() {
17441
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
17442
+ };
17443
+
17444
+
17445
+ /**
17446
+ * @param {string} value
17447
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17448
+ */
17449
+ proto.cms.SetPageSeoAttributesRequest.prototype.setTwitterTitle = function(value) {
17450
+ return jspb.Message.setField(this, 8, value);
17451
+ };
17452
+
17453
+
17454
+ /**
17455
+ * Clears the field making it undefined.
17456
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17457
+ */
17458
+ proto.cms.SetPageSeoAttributesRequest.prototype.clearTwitterTitle = function() {
17459
+ return jspb.Message.setField(this, 8, undefined);
17460
+ };
17461
+
17462
+
17463
+ /**
17464
+ * Returns whether this field is set.
17465
+ * @return {boolean}
17466
+ */
17467
+ proto.cms.SetPageSeoAttributesRequest.prototype.hasTwitterTitle = function() {
17468
+ return jspb.Message.getField(this, 8) != null;
17469
+ };
17470
+
17471
+
17472
+ /**
17473
+ * optional string twitter_description = 9;
17474
+ * @return {string}
17475
+ */
17476
+ proto.cms.SetPageSeoAttributesRequest.prototype.getTwitterDescription = function() {
17477
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
17478
+ };
17479
+
17480
+
17481
+ /**
17482
+ * @param {string} value
17483
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17484
+ */
17485
+ proto.cms.SetPageSeoAttributesRequest.prototype.setTwitterDescription = function(value) {
17486
+ return jspb.Message.setField(this, 9, value);
17487
+ };
17488
+
17489
+
17490
+ /**
17491
+ * Clears the field making it undefined.
17492
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17493
+ */
17494
+ proto.cms.SetPageSeoAttributesRequest.prototype.clearTwitterDescription = function() {
17495
+ return jspb.Message.setField(this, 9, undefined);
17496
+ };
17497
+
17498
+
17499
+ /**
17500
+ * Returns whether this field is set.
17501
+ * @return {boolean}
17502
+ */
17503
+ proto.cms.SetPageSeoAttributesRequest.prototype.hasTwitterDescription = function() {
17504
+ return jspb.Message.getField(this, 9) != null;
17505
+ };
17506
+
17507
+
17508
+ /**
17509
+ * optional string h1 = 10;
17510
+ * @return {string}
17511
+ */
17512
+ proto.cms.SetPageSeoAttributesRequest.prototype.getH1 = function() {
17513
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
17514
+ };
17515
+
17516
+
17517
+ /**
17518
+ * @param {string} value
17519
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17520
+ */
17521
+ proto.cms.SetPageSeoAttributesRequest.prototype.setH1 = function(value) {
17522
+ return jspb.Message.setField(this, 10, value);
17523
+ };
17524
+
17525
+
17526
+ /**
17527
+ * Clears the field making it undefined.
17528
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17529
+ */
17530
+ proto.cms.SetPageSeoAttributesRequest.prototype.clearH1 = function() {
17531
+ return jspb.Message.setField(this, 10, undefined);
17532
+ };
17533
+
17534
+
17535
+ /**
17536
+ * Returns whether this field is set.
17537
+ * @return {boolean}
17538
+ */
17539
+ proto.cms.SetPageSeoAttributesRequest.prototype.hasH1 = function() {
17540
+ return jspb.Message.getField(this, 10) != null;
17541
+ };
17542
+
17543
+
17544
+ /**
17545
+ * optional string description = 11;
17546
+ * @return {string}
17547
+ */
17548
+ proto.cms.SetPageSeoAttributesRequest.prototype.getDescription = function() {
17549
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
17550
+ };
17551
+
17552
+
17553
+ /**
17554
+ * @param {string} value
17555
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17556
+ */
17557
+ proto.cms.SetPageSeoAttributesRequest.prototype.setDescription = function(value) {
17558
+ return jspb.Message.setField(this, 11, value);
17559
+ };
17560
+
17561
+
17562
+ /**
17563
+ * Clears the field making it undefined.
17564
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17565
+ */
17566
+ proto.cms.SetPageSeoAttributesRequest.prototype.clearDescription = function() {
17567
+ return jspb.Message.setField(this, 11, undefined);
17568
+ };
17569
+
17570
+
17571
+ /**
17572
+ * Returns whether this field is set.
17573
+ * @return {boolean}
17574
+ */
17575
+ proto.cms.SetPageSeoAttributesRequest.prototype.hasDescription = function() {
17576
+ return jspb.Message.getField(this, 11) != null;
17577
+ };
17578
+
17579
+
17580
+ /**
17581
+ * optional string full_description = 12;
17582
+ * @return {string}
17583
+ */
17584
+ proto.cms.SetPageSeoAttributesRequest.prototype.getFullDescription = function() {
17585
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
17586
+ };
17587
+
17588
+
17589
+ /**
17590
+ * @param {string} value
17591
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17592
+ */
17593
+ proto.cms.SetPageSeoAttributesRequest.prototype.setFullDescription = function(value) {
17594
+ return jspb.Message.setField(this, 12, value);
17595
+ };
17596
+
17597
+
17598
+ /**
17599
+ * Clears the field making it undefined.
17600
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
17601
+ */
17602
+ proto.cms.SetPageSeoAttributesRequest.prototype.clearFullDescription = function() {
17603
+ return jspb.Message.setField(this, 12, undefined);
17604
+ };
17605
+
17606
+
17607
+ /**
17608
+ * Returns whether this field is set.
17609
+ * @return {boolean}
17610
+ */
17611
+ proto.cms.SetPageSeoAttributesRequest.prototype.hasFullDescription = function() {
17612
+ return jspb.Message.getField(this, 12) != null;
17613
+ };
17614
+
17615
+
17616
+
17617
+
17618
+
17619
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17620
+ /**
17621
+ * Creates an object representation of this proto.
17622
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17623
+ * Optional fields that are not set will be set to undefined.
17624
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17625
+ * For the list of reserved names please see:
17626
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17627
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17628
+ * JSPB instance for transitional soy proto support:
17629
+ * http://goto/soy-param-migration
17630
+ * @return {!Object}
17631
+ */
17632
+ proto.cms.GetPageSeoAttributesRequest.prototype.toObject = function(opt_includeInstance) {
17633
+ return proto.cms.GetPageSeoAttributesRequest.toObject(opt_includeInstance, this);
17634
+ };
17635
+
17636
+
17637
+ /**
17638
+ * Static version of the {@see toObject} method.
17639
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17640
+ * the JSPB instance for transitional soy proto support:
17641
+ * http://goto/soy-param-migration
17642
+ * @param {!proto.cms.GetPageSeoAttributesRequest} msg The msg instance to transform.
17643
+ * @return {!Object}
17644
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17645
+ */
17646
+ proto.cms.GetPageSeoAttributesRequest.toObject = function(includeInstance, msg) {
17647
+ var f, obj = {
17648
+ pageSeoId: jspb.Message.getFieldWithDefault(msg, 1, 0),
17649
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
17650
+ locale: jspb.Message.getFieldWithDefault(msg, 3, "")
17651
+ };
17652
+
17653
+ if (includeInstance) {
17654
+ obj.$jspbMessageInstance = msg;
17655
+ }
17656
+ return obj;
17657
+ };
17658
+ }
17659
+
17660
+
17661
+ /**
17662
+ * Deserializes binary data (in protobuf wire format).
17663
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17664
+ * @return {!proto.cms.GetPageSeoAttributesRequest}
17665
+ */
17666
+ proto.cms.GetPageSeoAttributesRequest.deserializeBinary = function(bytes) {
17667
+ var reader = new jspb.BinaryReader(bytes);
17668
+ var msg = new proto.cms.GetPageSeoAttributesRequest;
17669
+ return proto.cms.GetPageSeoAttributesRequest.deserializeBinaryFromReader(msg, reader);
17670
+ };
17671
+
17672
+
17673
+ /**
17674
+ * Deserializes binary data (in protobuf wire format) from the
17675
+ * given reader into the given message object.
17676
+ * @param {!proto.cms.GetPageSeoAttributesRequest} msg The message object to deserialize into.
17677
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17678
+ * @return {!proto.cms.GetPageSeoAttributesRequest}
17679
+ */
17680
+ proto.cms.GetPageSeoAttributesRequest.deserializeBinaryFromReader = function(msg, reader) {
17681
+ while (reader.nextField()) {
17682
+ if (reader.isEndGroup()) {
17683
+ break;
17684
+ }
17685
+ var field = reader.getFieldNumber();
17686
+ switch (field) {
17687
+ case 1:
17688
+ var value = /** @type {number} */ (reader.readInt32());
17689
+ msg.setPageSeoId(value);
17690
+ break;
17691
+ case 2:
17692
+ var value = /** @type {string} */ (reader.readString());
17693
+ msg.setGeo(value);
17694
+ break;
17695
+ case 3:
17696
+ var value = /** @type {string} */ (reader.readString());
17697
+ msg.setLocale(value);
17698
+ break;
17699
+ default:
17700
+ reader.skipField();
17701
+ break;
17702
+ }
17703
+ }
17704
+ return msg;
17705
+ };
17706
+
17707
+
17708
+ /**
17709
+ * Serializes the message to binary data (in protobuf wire format).
17710
+ * @return {!Uint8Array}
17711
+ */
17712
+ proto.cms.GetPageSeoAttributesRequest.prototype.serializeBinary = function() {
17713
+ var writer = new jspb.BinaryWriter();
17714
+ proto.cms.GetPageSeoAttributesRequest.serializeBinaryToWriter(this, writer);
17715
+ return writer.getResultBuffer();
17716
+ };
17717
+
17718
+
17719
+ /**
17720
+ * Serializes the given message to binary data (in protobuf wire
17721
+ * format), writing to the given BinaryWriter.
17722
+ * @param {!proto.cms.GetPageSeoAttributesRequest} message
17723
+ * @param {!jspb.BinaryWriter} writer
17724
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17725
+ */
17726
+ proto.cms.GetPageSeoAttributesRequest.serializeBinaryToWriter = function(message, writer) {
17727
+ var f = undefined;
17728
+ f = message.getPageSeoId();
17729
+ if (f !== 0) {
17730
+ writer.writeInt32(
17731
+ 1,
17732
+ f
17733
+ );
17734
+ }
17735
+ f = message.getGeo();
17736
+ if (f.length > 0) {
17737
+ writer.writeString(
17738
+ 2,
17739
+ f
17740
+ );
17741
+ }
17742
+ f = message.getLocale();
17743
+ if (f.length > 0) {
17744
+ writer.writeString(
17745
+ 3,
17746
+ f
17747
+ );
17748
+ }
17749
+ };
17750
+
17751
+
17752
+ /**
17753
+ * optional int32 page_seo_id = 1;
17754
+ * @return {number}
17755
+ */
17756
+ proto.cms.GetPageSeoAttributesRequest.prototype.getPageSeoId = function() {
17757
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
17758
+ };
17759
+
17760
+
17761
+ /**
17762
+ * @param {number} value
17763
+ * @return {!proto.cms.GetPageSeoAttributesRequest} returns this
17764
+ */
17765
+ proto.cms.GetPageSeoAttributesRequest.prototype.setPageSeoId = function(value) {
17766
+ return jspb.Message.setProto3IntField(this, 1, value);
17767
+ };
17768
+
17769
+
17770
+ /**
17771
+ * optional string geo = 2;
17772
+ * @return {string}
17773
+ */
17774
+ proto.cms.GetPageSeoAttributesRequest.prototype.getGeo = function() {
17775
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
17776
+ };
17777
+
17778
+
17779
+ /**
17780
+ * @param {string} value
17781
+ * @return {!proto.cms.GetPageSeoAttributesRequest} returns this
17782
+ */
17783
+ proto.cms.GetPageSeoAttributesRequest.prototype.setGeo = function(value) {
17784
+ return jspb.Message.setProto3StringField(this, 2, value);
17785
+ };
17786
+
17787
+
17788
+ /**
17789
+ * optional string locale = 3;
17790
+ * @return {string}
17791
+ */
17792
+ proto.cms.GetPageSeoAttributesRequest.prototype.getLocale = function() {
17793
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17794
+ };
17795
+
17796
+
17797
+ /**
17798
+ * @param {string} value
17799
+ * @return {!proto.cms.GetPageSeoAttributesRequest} returns this
17800
+ */
17801
+ proto.cms.GetPageSeoAttributesRequest.prototype.setLocale = function(value) {
17802
+ return jspb.Message.setProto3StringField(this, 3, value);
17803
+ };
17804
+
17805
+
17806
+
17807
+
17808
+
17809
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17810
+ /**
17811
+ * Creates an object representation of this proto.
17812
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17813
+ * Optional fields that are not set will be set to undefined.
17814
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17815
+ * For the list of reserved names please see:
17816
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17817
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17818
+ * JSPB instance for transitional soy proto support:
17819
+ * http://goto/soy-param-migration
17820
+ * @return {!Object}
17821
+ */
17822
+ proto.cms.PageSeoAttributesItem.prototype.toObject = function(opt_includeInstance) {
17823
+ return proto.cms.PageSeoAttributesItem.toObject(opt_includeInstance, this);
17824
+ };
17825
+
17826
+
17827
+ /**
17828
+ * Static version of the {@see toObject} method.
17829
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17830
+ * the JSPB instance for transitional soy proto support:
17831
+ * http://goto/soy-param-migration
17832
+ * @param {!proto.cms.PageSeoAttributesItem} msg The msg instance to transform.
17833
+ * @return {!Object}
17834
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17835
+ */
17836
+ proto.cms.PageSeoAttributesItem.toObject = function(includeInstance, msg) {
17837
+ var f, obj = {
17838
+ pageSeoId: jspb.Message.getFieldWithDefault(msg, 1, 0),
17839
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
17840
+ locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
17841
+ headTitle: jspb.Message.getFieldWithDefault(msg, 4, ""),
17842
+ metaDescription: jspb.Message.getFieldWithDefault(msg, 5, ""),
17843
+ openGraphTitle: jspb.Message.getFieldWithDefault(msg, 6, ""),
17844
+ openGraphDescription: jspb.Message.getFieldWithDefault(msg, 7, ""),
17845
+ twitterTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
17846
+ twitterDescription: jspb.Message.getFieldWithDefault(msg, 9, ""),
17847
+ h1: jspb.Message.getFieldWithDefault(msg, 10, ""),
17848
+ description: jspb.Message.getFieldWithDefault(msg, 11, ""),
17849
+ fullDescription: jspb.Message.getFieldWithDefault(msg, 12, "")
17850
+ };
17851
+
17852
+ if (includeInstance) {
17853
+ obj.$jspbMessageInstance = msg;
17854
+ }
17855
+ return obj;
17856
+ };
17857
+ }
17858
+
17859
+
17860
+ /**
17861
+ * Deserializes binary data (in protobuf wire format).
17862
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17863
+ * @return {!proto.cms.PageSeoAttributesItem}
17864
+ */
17865
+ proto.cms.PageSeoAttributesItem.deserializeBinary = function(bytes) {
17866
+ var reader = new jspb.BinaryReader(bytes);
17867
+ var msg = new proto.cms.PageSeoAttributesItem;
17868
+ return proto.cms.PageSeoAttributesItem.deserializeBinaryFromReader(msg, reader);
17869
+ };
17870
+
17871
+
17872
+ /**
17873
+ * Deserializes binary data (in protobuf wire format) from the
17874
+ * given reader into the given message object.
17875
+ * @param {!proto.cms.PageSeoAttributesItem} msg The message object to deserialize into.
17876
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17877
+ * @return {!proto.cms.PageSeoAttributesItem}
17878
+ */
17879
+ proto.cms.PageSeoAttributesItem.deserializeBinaryFromReader = function(msg, reader) {
17880
+ while (reader.nextField()) {
17881
+ if (reader.isEndGroup()) {
17882
+ break;
17883
+ }
17884
+ var field = reader.getFieldNumber();
17885
+ switch (field) {
17886
+ case 1:
17887
+ var value = /** @type {number} */ (reader.readInt32());
17888
+ msg.setPageSeoId(value);
17889
+ break;
17890
+ case 2:
17891
+ var value = /** @type {string} */ (reader.readString());
17892
+ msg.setGeo(value);
17893
+ break;
17894
+ case 3:
17895
+ var value = /** @type {string} */ (reader.readString());
17896
+ msg.setLocale(value);
17897
+ break;
17898
+ case 4:
17899
+ var value = /** @type {string} */ (reader.readString());
17900
+ msg.setHeadTitle(value);
17901
+ break;
17902
+ case 5:
17903
+ var value = /** @type {string} */ (reader.readString());
17904
+ msg.setMetaDescription(value);
17905
+ break;
17906
+ case 6:
17907
+ var value = /** @type {string} */ (reader.readString());
17908
+ msg.setOpenGraphTitle(value);
17909
+ break;
17910
+ case 7:
17911
+ var value = /** @type {string} */ (reader.readString());
17912
+ msg.setOpenGraphDescription(value);
17913
+ break;
17914
+ case 8:
17915
+ var value = /** @type {string} */ (reader.readString());
17916
+ msg.setTwitterTitle(value);
17917
+ break;
17918
+ case 9:
17919
+ var value = /** @type {string} */ (reader.readString());
17920
+ msg.setTwitterDescription(value);
17921
+ break;
17922
+ case 10:
17923
+ var value = /** @type {string} */ (reader.readString());
17924
+ msg.setH1(value);
17925
+ break;
17926
+ case 11:
17927
+ var value = /** @type {string} */ (reader.readString());
17928
+ msg.setDescription(value);
17929
+ break;
17930
+ case 12:
17931
+ var value = /** @type {string} */ (reader.readString());
17932
+ msg.setFullDescription(value);
17933
+ break;
17934
+ default:
17935
+ reader.skipField();
17936
+ break;
17937
+ }
17938
+ }
17939
+ return msg;
17940
+ };
17941
+
17942
+
17943
+ /**
17944
+ * Serializes the message to binary data (in protobuf wire format).
17945
+ * @return {!Uint8Array}
17946
+ */
17947
+ proto.cms.PageSeoAttributesItem.prototype.serializeBinary = function() {
17948
+ var writer = new jspb.BinaryWriter();
17949
+ proto.cms.PageSeoAttributesItem.serializeBinaryToWriter(this, writer);
17950
+ return writer.getResultBuffer();
17951
+ };
17952
+
17953
+
17954
+ /**
17955
+ * Serializes the given message to binary data (in protobuf wire
17956
+ * format), writing to the given BinaryWriter.
17957
+ * @param {!proto.cms.PageSeoAttributesItem} message
17958
+ * @param {!jspb.BinaryWriter} writer
17959
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17960
+ */
17961
+ proto.cms.PageSeoAttributesItem.serializeBinaryToWriter = function(message, writer) {
17962
+ var f = undefined;
17963
+ f = message.getPageSeoId();
17964
+ if (f !== 0) {
17965
+ writer.writeInt32(
17966
+ 1,
17967
+ f
17968
+ );
17969
+ }
17970
+ f = message.getGeo();
17971
+ if (f.length > 0) {
17972
+ writer.writeString(
17973
+ 2,
17974
+ f
17975
+ );
17976
+ }
17977
+ f = message.getLocale();
17978
+ if (f.length > 0) {
17979
+ writer.writeString(
17980
+ 3,
17981
+ f
17982
+ );
17983
+ }
17984
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
17985
+ if (f != null) {
17986
+ writer.writeString(
17987
+ 4,
17988
+ f
17989
+ );
17990
+ }
17991
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
17992
+ if (f != null) {
17993
+ writer.writeString(
17994
+ 5,
17995
+ f
17996
+ );
17997
+ }
17998
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
17999
+ if (f != null) {
18000
+ writer.writeString(
18001
+ 6,
18002
+ f
18003
+ );
18004
+ }
18005
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
18006
+ if (f != null) {
18007
+ writer.writeString(
18008
+ 7,
18009
+ f
18010
+ );
18011
+ }
18012
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
18013
+ if (f != null) {
18014
+ writer.writeString(
18015
+ 8,
18016
+ f
18017
+ );
18018
+ }
18019
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
18020
+ if (f != null) {
18021
+ writer.writeString(
18022
+ 9,
18023
+ f
18024
+ );
18025
+ }
18026
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
18027
+ if (f != null) {
18028
+ writer.writeString(
18029
+ 10,
18030
+ f
18031
+ );
18032
+ }
18033
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
18034
+ if (f != null) {
18035
+ writer.writeString(
18036
+ 11,
18037
+ f
18038
+ );
18039
+ }
18040
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
18041
+ if (f != null) {
18042
+ writer.writeString(
18043
+ 12,
18044
+ f
18045
+ );
18046
+ }
18047
+ };
18048
+
18049
+
18050
+ /**
18051
+ * optional int32 page_seo_id = 1;
18052
+ * @return {number}
18053
+ */
18054
+ proto.cms.PageSeoAttributesItem.prototype.getPageSeoId = function() {
18055
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
18056
+ };
18057
+
18058
+
18059
+ /**
18060
+ * @param {number} value
18061
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18062
+ */
18063
+ proto.cms.PageSeoAttributesItem.prototype.setPageSeoId = function(value) {
18064
+ return jspb.Message.setProto3IntField(this, 1, value);
18065
+ };
18066
+
18067
+
18068
+ /**
18069
+ * optional string geo = 2;
18070
+ * @return {string}
18071
+ */
18072
+ proto.cms.PageSeoAttributesItem.prototype.getGeo = function() {
18073
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
18074
+ };
18075
+
18076
+
18077
+ /**
18078
+ * @param {string} value
18079
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18080
+ */
18081
+ proto.cms.PageSeoAttributesItem.prototype.setGeo = function(value) {
18082
+ return jspb.Message.setProto3StringField(this, 2, value);
18083
+ };
18084
+
18085
+
18086
+ /**
18087
+ * optional string locale = 3;
18088
+ * @return {string}
18089
+ */
18090
+ proto.cms.PageSeoAttributesItem.prototype.getLocale = function() {
18091
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
18092
+ };
18093
+
18094
+
18095
+ /**
18096
+ * @param {string} value
18097
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18098
+ */
18099
+ proto.cms.PageSeoAttributesItem.prototype.setLocale = function(value) {
18100
+ return jspb.Message.setProto3StringField(this, 3, value);
18101
+ };
18102
+
18103
+
18104
+ /**
18105
+ * optional string head_title = 4;
18106
+ * @return {string}
18107
+ */
18108
+ proto.cms.PageSeoAttributesItem.prototype.getHeadTitle = function() {
18109
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
18110
+ };
18111
+
18112
+
18113
+ /**
18114
+ * @param {string} value
18115
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18116
+ */
18117
+ proto.cms.PageSeoAttributesItem.prototype.setHeadTitle = function(value) {
18118
+ return jspb.Message.setField(this, 4, value);
18119
+ };
18120
+
18121
+
18122
+ /**
18123
+ * Clears the field making it undefined.
18124
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18125
+ */
18126
+ proto.cms.PageSeoAttributesItem.prototype.clearHeadTitle = function() {
18127
+ return jspb.Message.setField(this, 4, undefined);
18128
+ };
18129
+
18130
+
18131
+ /**
18132
+ * Returns whether this field is set.
18133
+ * @return {boolean}
18134
+ */
18135
+ proto.cms.PageSeoAttributesItem.prototype.hasHeadTitle = function() {
18136
+ return jspb.Message.getField(this, 4) != null;
18137
+ };
18138
+
18139
+
18140
+ /**
18141
+ * optional string meta_description = 5;
18142
+ * @return {string}
18143
+ */
18144
+ proto.cms.PageSeoAttributesItem.prototype.getMetaDescription = function() {
18145
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
18146
+ };
18147
+
18148
+
18149
+ /**
18150
+ * @param {string} value
18151
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18152
+ */
18153
+ proto.cms.PageSeoAttributesItem.prototype.setMetaDescription = function(value) {
18154
+ return jspb.Message.setField(this, 5, value);
18155
+ };
18156
+
18157
+
18158
+ /**
18159
+ * Clears the field making it undefined.
18160
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18161
+ */
18162
+ proto.cms.PageSeoAttributesItem.prototype.clearMetaDescription = function() {
18163
+ return jspb.Message.setField(this, 5, undefined);
18164
+ };
18165
+
18166
+
18167
+ /**
18168
+ * Returns whether this field is set.
18169
+ * @return {boolean}
18170
+ */
18171
+ proto.cms.PageSeoAttributesItem.prototype.hasMetaDescription = function() {
18172
+ return jspb.Message.getField(this, 5) != null;
18173
+ };
18174
+
18175
+
18176
+ /**
18177
+ * optional string open_graph_title = 6;
18178
+ * @return {string}
18179
+ */
18180
+ proto.cms.PageSeoAttributesItem.prototype.getOpenGraphTitle = function() {
18181
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
18182
+ };
18183
+
18184
+
18185
+ /**
18186
+ * @param {string} value
18187
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18188
+ */
18189
+ proto.cms.PageSeoAttributesItem.prototype.setOpenGraphTitle = function(value) {
18190
+ return jspb.Message.setField(this, 6, value);
18191
+ };
18192
+
18193
+
18194
+ /**
18195
+ * Clears the field making it undefined.
18196
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18197
+ */
18198
+ proto.cms.PageSeoAttributesItem.prototype.clearOpenGraphTitle = function() {
18199
+ return jspb.Message.setField(this, 6, undefined);
18200
+ };
18201
+
18202
+
18203
+ /**
18204
+ * Returns whether this field is set.
18205
+ * @return {boolean}
18206
+ */
18207
+ proto.cms.PageSeoAttributesItem.prototype.hasOpenGraphTitle = function() {
18208
+ return jspb.Message.getField(this, 6) != null;
18209
+ };
18210
+
18211
+
18212
+ /**
18213
+ * optional string open_graph_description = 7;
18214
+ * @return {string}
18215
+ */
18216
+ proto.cms.PageSeoAttributesItem.prototype.getOpenGraphDescription = function() {
18217
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
18218
+ };
18219
+
18220
+
18221
+ /**
18222
+ * @param {string} value
18223
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18224
+ */
18225
+ proto.cms.PageSeoAttributesItem.prototype.setOpenGraphDescription = function(value) {
18226
+ return jspb.Message.setField(this, 7, value);
18227
+ };
18228
+
18229
+
18230
+ /**
18231
+ * Clears the field making it undefined.
18232
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18233
+ */
18234
+ proto.cms.PageSeoAttributesItem.prototype.clearOpenGraphDescription = function() {
18235
+ return jspb.Message.setField(this, 7, undefined);
18236
+ };
18237
+
18238
+
18239
+ /**
18240
+ * Returns whether this field is set.
18241
+ * @return {boolean}
18242
+ */
18243
+ proto.cms.PageSeoAttributesItem.prototype.hasOpenGraphDescription = function() {
18244
+ return jspb.Message.getField(this, 7) != null;
18245
+ };
18246
+
18247
+
18248
+ /**
18249
+ * optional string twitter_title = 8;
18250
+ * @return {string}
18251
+ */
18252
+ proto.cms.PageSeoAttributesItem.prototype.getTwitterTitle = function() {
18253
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
18254
+ };
18255
+
18256
+
18257
+ /**
18258
+ * @param {string} value
18259
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18260
+ */
18261
+ proto.cms.PageSeoAttributesItem.prototype.setTwitterTitle = function(value) {
18262
+ return jspb.Message.setField(this, 8, value);
18263
+ };
18264
+
18265
+
18266
+ /**
18267
+ * Clears the field making it undefined.
18268
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18269
+ */
18270
+ proto.cms.PageSeoAttributesItem.prototype.clearTwitterTitle = function() {
18271
+ return jspb.Message.setField(this, 8, undefined);
18272
+ };
18273
+
18274
+
18275
+ /**
18276
+ * Returns whether this field is set.
18277
+ * @return {boolean}
18278
+ */
18279
+ proto.cms.PageSeoAttributesItem.prototype.hasTwitterTitle = function() {
18280
+ return jspb.Message.getField(this, 8) != null;
18281
+ };
18282
+
18283
+
18284
+ /**
18285
+ * optional string twitter_description = 9;
18286
+ * @return {string}
18287
+ */
18288
+ proto.cms.PageSeoAttributesItem.prototype.getTwitterDescription = function() {
18289
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
18290
+ };
18291
+
18292
+
18293
+ /**
18294
+ * @param {string} value
18295
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18296
+ */
18297
+ proto.cms.PageSeoAttributesItem.prototype.setTwitterDescription = function(value) {
18298
+ return jspb.Message.setField(this, 9, value);
18299
+ };
18300
+
18301
+
18302
+ /**
18303
+ * Clears the field making it undefined.
18304
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18305
+ */
18306
+ proto.cms.PageSeoAttributesItem.prototype.clearTwitterDescription = function() {
18307
+ return jspb.Message.setField(this, 9, undefined);
18308
+ };
18309
+
18310
+
18311
+ /**
18312
+ * Returns whether this field is set.
18313
+ * @return {boolean}
18314
+ */
18315
+ proto.cms.PageSeoAttributesItem.prototype.hasTwitterDescription = function() {
18316
+ return jspb.Message.getField(this, 9) != null;
18317
+ };
18318
+
18319
+
18320
+ /**
18321
+ * optional string h1 = 10;
18322
+ * @return {string}
18323
+ */
18324
+ proto.cms.PageSeoAttributesItem.prototype.getH1 = function() {
18325
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
18326
+ };
18327
+
18328
+
18329
+ /**
18330
+ * @param {string} value
18331
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18332
+ */
18333
+ proto.cms.PageSeoAttributesItem.prototype.setH1 = function(value) {
18334
+ return jspb.Message.setField(this, 10, value);
18335
+ };
18336
+
18337
+
18338
+ /**
18339
+ * Clears the field making it undefined.
18340
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18341
+ */
18342
+ proto.cms.PageSeoAttributesItem.prototype.clearH1 = function() {
18343
+ return jspb.Message.setField(this, 10, undefined);
18344
+ };
18345
+
18346
+
18347
+ /**
18348
+ * Returns whether this field is set.
18349
+ * @return {boolean}
18350
+ */
18351
+ proto.cms.PageSeoAttributesItem.prototype.hasH1 = function() {
18352
+ return jspb.Message.getField(this, 10) != null;
18353
+ };
18354
+
18355
+
18356
+ /**
18357
+ * optional string description = 11;
18358
+ * @return {string}
18359
+ */
18360
+ proto.cms.PageSeoAttributesItem.prototype.getDescription = function() {
18361
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
18362
+ };
18363
+
18364
+
18365
+ /**
18366
+ * @param {string} value
18367
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18368
+ */
18369
+ proto.cms.PageSeoAttributesItem.prototype.setDescription = function(value) {
18370
+ return jspb.Message.setField(this, 11, value);
18371
+ };
18372
+
18373
+
18374
+ /**
18375
+ * Clears the field making it undefined.
18376
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18377
+ */
18378
+ proto.cms.PageSeoAttributesItem.prototype.clearDescription = function() {
18379
+ return jspb.Message.setField(this, 11, undefined);
18380
+ };
18381
+
18382
+
18383
+ /**
18384
+ * Returns whether this field is set.
18385
+ * @return {boolean}
18386
+ */
18387
+ proto.cms.PageSeoAttributesItem.prototype.hasDescription = function() {
18388
+ return jspb.Message.getField(this, 11) != null;
18389
+ };
18390
+
18391
+
18392
+ /**
18393
+ * optional string full_description = 12;
18394
+ * @return {string}
18395
+ */
18396
+ proto.cms.PageSeoAttributesItem.prototype.getFullDescription = function() {
18397
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
18398
+ };
18399
+
18400
+
18401
+ /**
18402
+ * @param {string} value
18403
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18404
+ */
18405
+ proto.cms.PageSeoAttributesItem.prototype.setFullDescription = function(value) {
18406
+ return jspb.Message.setField(this, 12, value);
18407
+ };
18408
+
18409
+
18410
+ /**
18411
+ * Clears the field making it undefined.
18412
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
18413
+ */
18414
+ proto.cms.PageSeoAttributesItem.prototype.clearFullDescription = function() {
18415
+ return jspb.Message.setField(this, 12, undefined);
18416
+ };
18417
+
18418
+
18419
+ /**
18420
+ * Returns whether this field is set.
18421
+ * @return {boolean}
18422
+ */
18423
+ proto.cms.PageSeoAttributesItem.prototype.hasFullDescription = function() {
18424
+ return jspb.Message.getField(this, 12) != null;
18425
+ };
18426
+
18427
+
18428
+
18429
+
18430
+
18431
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18432
+ /**
18433
+ * Creates an object representation of this proto.
18434
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18435
+ * Optional fields that are not set will be set to undefined.
18436
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18437
+ * For the list of reserved names please see:
18438
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18439
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18440
+ * JSPB instance for transitional soy proto support:
18441
+ * http://goto/soy-param-migration
18442
+ * @return {!Object}
18443
+ */
18444
+ proto.cms.PageSeoAttributesResponse.prototype.toObject = function(opt_includeInstance) {
18445
+ return proto.cms.PageSeoAttributesResponse.toObject(opt_includeInstance, this);
18446
+ };
18447
+
18448
+
18449
+ /**
18450
+ * Static version of the {@see toObject} method.
18451
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18452
+ * the JSPB instance for transitional soy proto support:
18453
+ * http://goto/soy-param-migration
18454
+ * @param {!proto.cms.PageSeoAttributesResponse} msg The msg instance to transform.
18455
+ * @return {!Object}
18456
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18457
+ */
18458
+ proto.cms.PageSeoAttributesResponse.toObject = function(includeInstance, msg) {
18459
+ var f, obj = {
18460
+ data: (f = msg.getData()) && proto.cms.PageSeoAttributesItem.toObject(includeInstance, f)
18461
+ };
18462
+
18463
+ if (includeInstance) {
18464
+ obj.$jspbMessageInstance = msg;
18465
+ }
18466
+ return obj;
18467
+ };
18468
+ }
18469
+
18470
+
18471
+ /**
18472
+ * Deserializes binary data (in protobuf wire format).
18473
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18474
+ * @return {!proto.cms.PageSeoAttributesResponse}
18475
+ */
18476
+ proto.cms.PageSeoAttributesResponse.deserializeBinary = function(bytes) {
18477
+ var reader = new jspb.BinaryReader(bytes);
18478
+ var msg = new proto.cms.PageSeoAttributesResponse;
18479
+ return proto.cms.PageSeoAttributesResponse.deserializeBinaryFromReader(msg, reader);
18480
+ };
18481
+
18482
+
18483
+ /**
18484
+ * Deserializes binary data (in protobuf wire format) from the
18485
+ * given reader into the given message object.
18486
+ * @param {!proto.cms.PageSeoAttributesResponse} msg The message object to deserialize into.
18487
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18488
+ * @return {!proto.cms.PageSeoAttributesResponse}
18489
+ */
18490
+ proto.cms.PageSeoAttributesResponse.deserializeBinaryFromReader = function(msg, reader) {
18491
+ while (reader.nextField()) {
18492
+ if (reader.isEndGroup()) {
18493
+ break;
18494
+ }
18495
+ var field = reader.getFieldNumber();
18496
+ switch (field) {
18497
+ case 1:
18498
+ var value = new proto.cms.PageSeoAttributesItem;
18499
+ reader.readMessage(value,proto.cms.PageSeoAttributesItem.deserializeBinaryFromReader);
18500
+ msg.setData(value);
18501
+ break;
18502
+ default:
18503
+ reader.skipField();
18504
+ break;
18505
+ }
18506
+ }
18507
+ return msg;
18508
+ };
18509
+
18510
+
18511
+ /**
18512
+ * Serializes the message to binary data (in protobuf wire format).
18513
+ * @return {!Uint8Array}
18514
+ */
18515
+ proto.cms.PageSeoAttributesResponse.prototype.serializeBinary = function() {
18516
+ var writer = new jspb.BinaryWriter();
18517
+ proto.cms.PageSeoAttributesResponse.serializeBinaryToWriter(this, writer);
18518
+ return writer.getResultBuffer();
18519
+ };
18520
+
18521
+
18522
+ /**
18523
+ * Serializes the given message to binary data (in protobuf wire
18524
+ * format), writing to the given BinaryWriter.
18525
+ * @param {!proto.cms.PageSeoAttributesResponse} message
18526
+ * @param {!jspb.BinaryWriter} writer
18527
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18528
+ */
18529
+ proto.cms.PageSeoAttributesResponse.serializeBinaryToWriter = function(message, writer) {
18530
+ var f = undefined;
18531
+ f = message.getData();
18532
+ if (f != null) {
18533
+ writer.writeMessage(
18534
+ 1,
18535
+ f,
18536
+ proto.cms.PageSeoAttributesItem.serializeBinaryToWriter
18537
+ );
18538
+ }
18539
+ };
18540
+
18541
+
18542
+ /**
18543
+ * optional PageSeoAttributesItem data = 1;
18544
+ * @return {?proto.cms.PageSeoAttributesItem}
18545
+ */
18546
+ proto.cms.PageSeoAttributesResponse.prototype.getData = function() {
18547
+ return /** @type{?proto.cms.PageSeoAttributesItem} */ (
18548
+ jspb.Message.getWrapperField(this, proto.cms.PageSeoAttributesItem, 1));
18549
+ };
18550
+
18551
+
18552
+ /**
18553
+ * @param {?proto.cms.PageSeoAttributesItem|undefined} value
18554
+ * @return {!proto.cms.PageSeoAttributesResponse} returns this
18555
+ */
18556
+ proto.cms.PageSeoAttributesResponse.prototype.setData = function(value) {
18557
+ return jspb.Message.setWrapperField(this, 1, value);
18558
+ };
18559
+
18560
+
18561
+ /**
18562
+ * Clears the message field making it undefined.
18563
+ * @return {!proto.cms.PageSeoAttributesResponse} returns this
18564
+ */
18565
+ proto.cms.PageSeoAttributesResponse.prototype.clearData = function() {
18566
+ return this.setData(undefined);
18567
+ };
18568
+
18569
+
18570
+ /**
18571
+ * Returns whether this field is set.
18572
+ * @return {boolean}
18573
+ */
18574
+ proto.cms.PageSeoAttributesResponse.prototype.hasData = function() {
18575
+ return jspb.Message.getField(this, 1) != null;
18576
+ };
18577
+
18578
+
18579
+
15428
18580
  /**
15429
18581
  * Oneof group definitions for this message. Each group defines the field
15430
18582
  * numbers belonging to that group. When of these fields' value is set, all