protobuf-platform 1.2.275 → 1.2.277
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.proto +9 -9
- package/cms/cms_grpc_pb.js +3 -3
- package/cms/cms_pb.js +165 -128
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -52,7 +52,7 @@ service CMS {
|
|
|
52
52
|
rpc updateSinglePageSeo(PageSeoRequest) returns (PageSeoResponse);
|
|
53
53
|
rpc deleteSinglePageSeo(GetPageSeoRequest) returns (PageSeoStatusResponse);
|
|
54
54
|
rpc readListPageSeo(PaginationRequest) returns (PageSeoItemsResponse);
|
|
55
|
-
rpc setPageSeoAttributes(SetPageSeoAttributesRequest) returns (
|
|
55
|
+
rpc setPageSeoAttributes(SetPageSeoAttributesRequest) returns (PageSeoAttributesResponse);
|
|
56
56
|
rpc getPageSeoAttributes(GetPageSeoAttributesRequest) returns (PageSeoAttributesResponse);
|
|
57
57
|
//Promo
|
|
58
58
|
rpc createSinglePromo(stream PromoRequest) returns (PromoResponse);
|
|
@@ -121,7 +121,8 @@ message PaginationRequest {
|
|
|
121
121
|
optional bool admin_side = 6;
|
|
122
122
|
optional string locale = 7;
|
|
123
123
|
optional string title = 8;
|
|
124
|
-
repeated string
|
|
124
|
+
repeated string types = 9;
|
|
125
|
+
repeated string countries = 10;
|
|
125
126
|
}
|
|
126
127
|
message ItemsBunchRequest {
|
|
127
128
|
repeated int32 ids = 1;
|
|
@@ -383,15 +384,13 @@ message PageSeoRequest {
|
|
|
383
384
|
optional int32 id = 1;
|
|
384
385
|
optional string title = 2;
|
|
385
386
|
optional string type = 3;
|
|
386
|
-
int32
|
|
387
|
-
optional int32 is_active = 5;
|
|
387
|
+
optional int32 is_active = 4;
|
|
388
388
|
}
|
|
389
389
|
message PageSeoItem {
|
|
390
390
|
optional int32 id = 1;
|
|
391
391
|
optional string title = 2;
|
|
392
392
|
optional string type = 3;
|
|
393
|
-
optional int32
|
|
394
|
-
optional int32 is_active = 5;
|
|
393
|
+
optional int32 is_active = 4;
|
|
395
394
|
}
|
|
396
395
|
message PageSeoResponse {
|
|
397
396
|
PageSeoItem data = 1;
|
|
@@ -422,9 +421,10 @@ message SetPageSeoAttributesRequest {
|
|
|
422
421
|
optional string full_description = 12;
|
|
423
422
|
}
|
|
424
423
|
message GetPageSeoAttributesRequest {
|
|
425
|
-
|
|
426
|
-
string
|
|
427
|
-
|
|
424
|
+
string geo = 1;
|
|
425
|
+
string locale = 2;
|
|
426
|
+
optional int32 page_seo_id = 3;
|
|
427
|
+
optional string type = 4;
|
|
428
428
|
}
|
|
429
429
|
message PageSeoAttributesItem {
|
|
430
430
|
int32 page_seo_id = 1;
|
package/cms/cms_grpc_pb.js
CHANGED
|
@@ -1533,11 +1533,11 @@ createSinglePage: {
|
|
|
1533
1533
|
requestStream: false,
|
|
1534
1534
|
responseStream: false,
|
|
1535
1535
|
requestType: cms_pb.SetPageSeoAttributesRequest,
|
|
1536
|
-
responseType: cms_pb.
|
|
1536
|
+
responseType: cms_pb.PageSeoAttributesResponse,
|
|
1537
1537
|
requestSerialize: serialize_cms_SetPageSeoAttributesRequest,
|
|
1538
1538
|
requestDeserialize: deserialize_cms_SetPageSeoAttributesRequest,
|
|
1539
|
-
responseSerialize:
|
|
1540
|
-
responseDeserialize:
|
|
1539
|
+
responseSerialize: serialize_cms_PageSeoAttributesResponse,
|
|
1540
|
+
responseDeserialize: deserialize_cms_PageSeoAttributesResponse,
|
|
1541
1541
|
},
|
|
1542
1542
|
getPageSeoAttributes: {
|
|
1543
1543
|
path: '/cms.CMS/getPageSeoAttributes',
|
package/cms/cms_pb.js
CHANGED
|
@@ -3087,7 +3087,7 @@ proto.cms.PongResponse.prototype.setPong = function(value) {
|
|
|
3087
3087
|
* @private {!Array<number>}
|
|
3088
3088
|
* @const
|
|
3089
3089
|
*/
|
|
3090
|
-
proto.cms.PaginationRequest.repeatedFields_ = [9];
|
|
3090
|
+
proto.cms.PaginationRequest.repeatedFields_ = [9,10];
|
|
3091
3091
|
|
|
3092
3092
|
|
|
3093
3093
|
|
|
@@ -3128,7 +3128,8 @@ proto.cms.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
|
3128
3128
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
3129
3129
|
locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3130
3130
|
title: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3131
|
-
|
|
3131
|
+
typesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
3132
|
+
countriesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
|
|
3132
3133
|
};
|
|
3133
3134
|
|
|
3134
3135
|
if (includeInstance) {
|
|
@@ -3198,6 +3199,10 @@ proto.cms.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
3198
3199
|
msg.setTitle(value);
|
|
3199
3200
|
break;
|
|
3200
3201
|
case 9:
|
|
3202
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3203
|
+
msg.addTypes(value);
|
|
3204
|
+
break;
|
|
3205
|
+
case 10:
|
|
3201
3206
|
var value = /** @type {string} */ (reader.readString());
|
|
3202
3207
|
msg.addCountries(value);
|
|
3203
3208
|
break;
|
|
@@ -3286,13 +3291,20 @@ proto.cms.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
3286
3291
|
f
|
|
3287
3292
|
);
|
|
3288
3293
|
}
|
|
3289
|
-
f = message.
|
|
3294
|
+
f = message.getTypesList();
|
|
3290
3295
|
if (f.length > 0) {
|
|
3291
3296
|
writer.writeRepeatedString(
|
|
3292
3297
|
9,
|
|
3293
3298
|
f
|
|
3294
3299
|
);
|
|
3295
3300
|
}
|
|
3301
|
+
f = message.getCountriesList();
|
|
3302
|
+
if (f.length > 0) {
|
|
3303
|
+
writer.writeRepeatedString(
|
|
3304
|
+
10,
|
|
3305
|
+
f
|
|
3306
|
+
);
|
|
3307
|
+
}
|
|
3296
3308
|
};
|
|
3297
3309
|
|
|
3298
3310
|
|
|
@@ -3549,10 +3561,10 @@ proto.cms.PaginationRequest.prototype.hasTitle = function() {
|
|
|
3549
3561
|
|
|
3550
3562
|
|
|
3551
3563
|
/**
|
|
3552
|
-
* repeated string
|
|
3564
|
+
* repeated string types = 9;
|
|
3553
3565
|
* @return {!Array<string>}
|
|
3554
3566
|
*/
|
|
3555
|
-
proto.cms.PaginationRequest.prototype.
|
|
3567
|
+
proto.cms.PaginationRequest.prototype.getTypesList = function() {
|
|
3556
3568
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
3557
3569
|
};
|
|
3558
3570
|
|
|
@@ -3561,7 +3573,7 @@ proto.cms.PaginationRequest.prototype.getCountriesList = function() {
|
|
|
3561
3573
|
* @param {!Array<string>} value
|
|
3562
3574
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
3563
3575
|
*/
|
|
3564
|
-
proto.cms.PaginationRequest.prototype.
|
|
3576
|
+
proto.cms.PaginationRequest.prototype.setTypesList = function(value) {
|
|
3565
3577
|
return jspb.Message.setField(this, 9, value || []);
|
|
3566
3578
|
};
|
|
3567
3579
|
|
|
@@ -3571,11 +3583,48 @@ proto.cms.PaginationRequest.prototype.setCountriesList = function(value) {
|
|
|
3571
3583
|
* @param {number=} opt_index
|
|
3572
3584
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
3573
3585
|
*/
|
|
3574
|
-
proto.cms.PaginationRequest.prototype.
|
|
3586
|
+
proto.cms.PaginationRequest.prototype.addTypes = function(value, opt_index) {
|
|
3575
3587
|
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
3576
3588
|
};
|
|
3577
3589
|
|
|
3578
3590
|
|
|
3591
|
+
/**
|
|
3592
|
+
* Clears the list making it empty but non-null.
|
|
3593
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
3594
|
+
*/
|
|
3595
|
+
proto.cms.PaginationRequest.prototype.clearTypesList = function() {
|
|
3596
|
+
return this.setTypesList([]);
|
|
3597
|
+
};
|
|
3598
|
+
|
|
3599
|
+
|
|
3600
|
+
/**
|
|
3601
|
+
* repeated string countries = 10;
|
|
3602
|
+
* @return {!Array<string>}
|
|
3603
|
+
*/
|
|
3604
|
+
proto.cms.PaginationRequest.prototype.getCountriesList = function() {
|
|
3605
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
3606
|
+
};
|
|
3607
|
+
|
|
3608
|
+
|
|
3609
|
+
/**
|
|
3610
|
+
* @param {!Array<string>} value
|
|
3611
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
3612
|
+
*/
|
|
3613
|
+
proto.cms.PaginationRequest.prototype.setCountriesList = function(value) {
|
|
3614
|
+
return jspb.Message.setField(this, 10, value || []);
|
|
3615
|
+
};
|
|
3616
|
+
|
|
3617
|
+
|
|
3618
|
+
/**
|
|
3619
|
+
* @param {string} value
|
|
3620
|
+
* @param {number=} opt_index
|
|
3621
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
3622
|
+
*/
|
|
3623
|
+
proto.cms.PaginationRequest.prototype.addCountries = function(value, opt_index) {
|
|
3624
|
+
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
3625
|
+
};
|
|
3626
|
+
|
|
3627
|
+
|
|
3579
3628
|
/**
|
|
3580
3629
|
* Clears the list making it empty but non-null.
|
|
3581
3630
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
@@ -15679,8 +15728,7 @@ proto.cms.PageSeoRequest.toObject = function(includeInstance, msg) {
|
|
|
15679
15728
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
15680
15729
|
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15681
15730
|
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15682
|
-
|
|
15683
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
15731
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
15684
15732
|
};
|
|
15685
15733
|
|
|
15686
15734
|
if (includeInstance) {
|
|
@@ -15730,10 +15778,6 @@ proto.cms.PageSeoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
15730
15778
|
msg.setType(value);
|
|
15731
15779
|
break;
|
|
15732
15780
|
case 4:
|
|
15733
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
15734
|
-
msg.setEntityId(value);
|
|
15735
|
-
break;
|
|
15736
|
-
case 5:
|
|
15737
15781
|
var value = /** @type {number} */ (reader.readInt32());
|
|
15738
15782
|
msg.setIsActive(value);
|
|
15739
15783
|
break;
|
|
@@ -15787,17 +15831,10 @@ proto.cms.PageSeoRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
15787
15831
|
f
|
|
15788
15832
|
);
|
|
15789
15833
|
}
|
|
15790
|
-
f =
|
|
15791
|
-
if (f !== 0) {
|
|
15792
|
-
writer.writeInt32(
|
|
15793
|
-
4,
|
|
15794
|
-
f
|
|
15795
|
-
);
|
|
15796
|
-
}
|
|
15797
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
15834
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
15798
15835
|
if (f != null) {
|
|
15799
15836
|
writer.writeInt32(
|
|
15800
|
-
|
|
15837
|
+
4,
|
|
15801
15838
|
f
|
|
15802
15839
|
);
|
|
15803
15840
|
}
|
|
@@ -15913,29 +15950,11 @@ proto.cms.PageSeoRequest.prototype.hasType = function() {
|
|
|
15913
15950
|
|
|
15914
15951
|
|
|
15915
15952
|
/**
|
|
15916
|
-
* optional int32
|
|
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;
|
|
15953
|
+
* optional int32 is_active = 4;
|
|
15935
15954
|
* @return {number}
|
|
15936
15955
|
*/
|
|
15937
15956
|
proto.cms.PageSeoRequest.prototype.getIsActive = function() {
|
|
15938
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
15957
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
15939
15958
|
};
|
|
15940
15959
|
|
|
15941
15960
|
|
|
@@ -15944,7 +15963,7 @@ proto.cms.PageSeoRequest.prototype.getIsActive = function() {
|
|
|
15944
15963
|
* @return {!proto.cms.PageSeoRequest} returns this
|
|
15945
15964
|
*/
|
|
15946
15965
|
proto.cms.PageSeoRequest.prototype.setIsActive = function(value) {
|
|
15947
|
-
return jspb.Message.setField(this,
|
|
15966
|
+
return jspb.Message.setField(this, 4, value);
|
|
15948
15967
|
};
|
|
15949
15968
|
|
|
15950
15969
|
|
|
@@ -15953,7 +15972,7 @@ proto.cms.PageSeoRequest.prototype.setIsActive = function(value) {
|
|
|
15953
15972
|
* @return {!proto.cms.PageSeoRequest} returns this
|
|
15954
15973
|
*/
|
|
15955
15974
|
proto.cms.PageSeoRequest.prototype.clearIsActive = function() {
|
|
15956
|
-
return jspb.Message.setField(this,
|
|
15975
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
15957
15976
|
};
|
|
15958
15977
|
|
|
15959
15978
|
|
|
@@ -15962,7 +15981,7 @@ proto.cms.PageSeoRequest.prototype.clearIsActive = function() {
|
|
|
15962
15981
|
* @return {boolean}
|
|
15963
15982
|
*/
|
|
15964
15983
|
proto.cms.PageSeoRequest.prototype.hasIsActive = function() {
|
|
15965
|
-
return jspb.Message.getField(this,
|
|
15984
|
+
return jspb.Message.getField(this, 4) != null;
|
|
15966
15985
|
};
|
|
15967
15986
|
|
|
15968
15987
|
|
|
@@ -16001,8 +16020,7 @@ proto.cms.PageSeoItem.toObject = function(includeInstance, msg) {
|
|
|
16001
16020
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
16002
16021
|
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16003
16022
|
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
16004
|
-
|
|
16005
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
16023
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
16006
16024
|
};
|
|
16007
16025
|
|
|
16008
16026
|
if (includeInstance) {
|
|
@@ -16052,10 +16070,6 @@ proto.cms.PageSeoItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
16052
16070
|
msg.setType(value);
|
|
16053
16071
|
break;
|
|
16054
16072
|
case 4:
|
|
16055
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
16056
|
-
msg.setEntityId(value);
|
|
16057
|
-
break;
|
|
16058
|
-
case 5:
|
|
16059
16073
|
var value = /** @type {number} */ (reader.readInt32());
|
|
16060
16074
|
msg.setIsActive(value);
|
|
16061
16075
|
break;
|
|
@@ -16116,13 +16130,6 @@ proto.cms.PageSeoItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
16116
16130
|
f
|
|
16117
16131
|
);
|
|
16118
16132
|
}
|
|
16119
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
16120
|
-
if (f != null) {
|
|
16121
|
-
writer.writeInt32(
|
|
16122
|
-
5,
|
|
16123
|
-
f
|
|
16124
|
-
);
|
|
16125
|
-
}
|
|
16126
16133
|
};
|
|
16127
16134
|
|
|
16128
16135
|
|
|
@@ -16235,47 +16242,11 @@ proto.cms.PageSeoItem.prototype.hasType = function() {
|
|
|
16235
16242
|
|
|
16236
16243
|
|
|
16237
16244
|
/**
|
|
16238
|
-
* optional int32
|
|
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;
|
|
16245
|
+
* optional int32 is_active = 4;
|
|
16275
16246
|
* @return {number}
|
|
16276
16247
|
*/
|
|
16277
16248
|
proto.cms.PageSeoItem.prototype.getIsActive = function() {
|
|
16278
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
16249
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
16279
16250
|
};
|
|
16280
16251
|
|
|
16281
16252
|
|
|
@@ -16284,7 +16255,7 @@ proto.cms.PageSeoItem.prototype.getIsActive = function() {
|
|
|
16284
16255
|
* @return {!proto.cms.PageSeoItem} returns this
|
|
16285
16256
|
*/
|
|
16286
16257
|
proto.cms.PageSeoItem.prototype.setIsActive = function(value) {
|
|
16287
|
-
return jspb.Message.setField(this,
|
|
16258
|
+
return jspb.Message.setField(this, 4, value);
|
|
16288
16259
|
};
|
|
16289
16260
|
|
|
16290
16261
|
|
|
@@ -16293,7 +16264,7 @@ proto.cms.PageSeoItem.prototype.setIsActive = function(value) {
|
|
|
16293
16264
|
* @return {!proto.cms.PageSeoItem} returns this
|
|
16294
16265
|
*/
|
|
16295
16266
|
proto.cms.PageSeoItem.prototype.clearIsActive = function() {
|
|
16296
|
-
return jspb.Message.setField(this,
|
|
16267
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
16297
16268
|
};
|
|
16298
16269
|
|
|
16299
16270
|
|
|
@@ -16302,7 +16273,7 @@ proto.cms.PageSeoItem.prototype.clearIsActive = function() {
|
|
|
16302
16273
|
* @return {boolean}
|
|
16303
16274
|
*/
|
|
16304
16275
|
proto.cms.PageSeoItem.prototype.hasIsActive = function() {
|
|
16305
|
-
return jspb.Message.getField(this,
|
|
16276
|
+
return jspb.Message.getField(this, 4) != null;
|
|
16306
16277
|
};
|
|
16307
16278
|
|
|
16308
16279
|
|
|
@@ -17645,9 +17616,10 @@ proto.cms.GetPageSeoAttributesRequest.prototype.toObject = function(opt_includeI
|
|
|
17645
17616
|
*/
|
|
17646
17617
|
proto.cms.GetPageSeoAttributesRequest.toObject = function(includeInstance, msg) {
|
|
17647
17618
|
var f, obj = {
|
|
17648
|
-
|
|
17649
|
-
|
|
17650
|
-
|
|
17619
|
+
geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17620
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
17621
|
+
pageSeoId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
17622
|
+
type: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
17651
17623
|
};
|
|
17652
17624
|
|
|
17653
17625
|
if (includeInstance) {
|
|
@@ -17685,16 +17657,20 @@ proto.cms.GetPageSeoAttributesRequest.deserializeBinaryFromReader = function(msg
|
|
|
17685
17657
|
var field = reader.getFieldNumber();
|
|
17686
17658
|
switch (field) {
|
|
17687
17659
|
case 1:
|
|
17688
|
-
var value = /** @type {
|
|
17689
|
-
msg.
|
|
17660
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17661
|
+
msg.setGeo(value);
|
|
17690
17662
|
break;
|
|
17691
17663
|
case 2:
|
|
17692
17664
|
var value = /** @type {string} */ (reader.readString());
|
|
17693
|
-
msg.
|
|
17665
|
+
msg.setLocale(value);
|
|
17694
17666
|
break;
|
|
17695
17667
|
case 3:
|
|
17668
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
17669
|
+
msg.setPageSeoId(value);
|
|
17670
|
+
break;
|
|
17671
|
+
case 4:
|
|
17696
17672
|
var value = /** @type {string} */ (reader.readString());
|
|
17697
|
-
msg.
|
|
17673
|
+
msg.setType(value);
|
|
17698
17674
|
break;
|
|
17699
17675
|
default:
|
|
17700
17676
|
reader.skipField();
|
|
@@ -17725,53 +17701,60 @@ proto.cms.GetPageSeoAttributesRequest.prototype.serializeBinary = function() {
|
|
|
17725
17701
|
*/
|
|
17726
17702
|
proto.cms.GetPageSeoAttributesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
17727
17703
|
var f = undefined;
|
|
17728
|
-
f = message.
|
|
17729
|
-
if (f
|
|
17730
|
-
writer.
|
|
17704
|
+
f = message.getGeo();
|
|
17705
|
+
if (f.length > 0) {
|
|
17706
|
+
writer.writeString(
|
|
17731
17707
|
1,
|
|
17732
17708
|
f
|
|
17733
17709
|
);
|
|
17734
17710
|
}
|
|
17735
|
-
f = message.
|
|
17711
|
+
f = message.getLocale();
|
|
17736
17712
|
if (f.length > 0) {
|
|
17737
17713
|
writer.writeString(
|
|
17738
17714
|
2,
|
|
17739
17715
|
f
|
|
17740
17716
|
);
|
|
17741
17717
|
}
|
|
17742
|
-
f =
|
|
17743
|
-
if (f
|
|
17744
|
-
writer.
|
|
17718
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
17719
|
+
if (f != null) {
|
|
17720
|
+
writer.writeInt32(
|
|
17745
17721
|
3,
|
|
17746
17722
|
f
|
|
17747
17723
|
);
|
|
17748
17724
|
}
|
|
17725
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
17726
|
+
if (f != null) {
|
|
17727
|
+
writer.writeString(
|
|
17728
|
+
4,
|
|
17729
|
+
f
|
|
17730
|
+
);
|
|
17731
|
+
}
|
|
17749
17732
|
};
|
|
17750
17733
|
|
|
17751
17734
|
|
|
17752
17735
|
/**
|
|
17753
|
-
* optional
|
|
17754
|
-
* @return {
|
|
17736
|
+
* optional string geo = 1;
|
|
17737
|
+
* @return {string}
|
|
17755
17738
|
*/
|
|
17756
|
-
proto.cms.GetPageSeoAttributesRequest.prototype.
|
|
17757
|
-
return /** @type {
|
|
17739
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.getGeo = function() {
|
|
17740
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
17758
17741
|
};
|
|
17759
17742
|
|
|
17760
17743
|
|
|
17761
17744
|
/**
|
|
17762
|
-
* @param {
|
|
17745
|
+
* @param {string} value
|
|
17763
17746
|
* @return {!proto.cms.GetPageSeoAttributesRequest} returns this
|
|
17764
17747
|
*/
|
|
17765
|
-
proto.cms.GetPageSeoAttributesRequest.prototype.
|
|
17766
|
-
return jspb.Message.
|
|
17748
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.setGeo = function(value) {
|
|
17749
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
17767
17750
|
};
|
|
17768
17751
|
|
|
17769
17752
|
|
|
17770
17753
|
/**
|
|
17771
|
-
* optional string
|
|
17754
|
+
* optional string locale = 2;
|
|
17772
17755
|
* @return {string}
|
|
17773
17756
|
*/
|
|
17774
|
-
proto.cms.GetPageSeoAttributesRequest.prototype.
|
|
17757
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.getLocale = function() {
|
|
17775
17758
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
17776
17759
|
};
|
|
17777
17760
|
|
|
@@ -17780,17 +17763,53 @@ proto.cms.GetPageSeoAttributesRequest.prototype.getGeo = function() {
|
|
|
17780
17763
|
* @param {string} value
|
|
17781
17764
|
* @return {!proto.cms.GetPageSeoAttributesRequest} returns this
|
|
17782
17765
|
*/
|
|
17783
|
-
proto.cms.GetPageSeoAttributesRequest.prototype.
|
|
17766
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.setLocale = function(value) {
|
|
17784
17767
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
17785
17768
|
};
|
|
17786
17769
|
|
|
17787
17770
|
|
|
17788
17771
|
/**
|
|
17789
|
-
* optional
|
|
17772
|
+
* optional int32 page_seo_id = 3;
|
|
17773
|
+
* @return {number}
|
|
17774
|
+
*/
|
|
17775
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.getPageSeoId = function() {
|
|
17776
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
17777
|
+
};
|
|
17778
|
+
|
|
17779
|
+
|
|
17780
|
+
/**
|
|
17781
|
+
* @param {number} value
|
|
17782
|
+
* @return {!proto.cms.GetPageSeoAttributesRequest} returns this
|
|
17783
|
+
*/
|
|
17784
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.setPageSeoId = function(value) {
|
|
17785
|
+
return jspb.Message.setField(this, 3, value);
|
|
17786
|
+
};
|
|
17787
|
+
|
|
17788
|
+
|
|
17789
|
+
/**
|
|
17790
|
+
* Clears the field making it undefined.
|
|
17791
|
+
* @return {!proto.cms.GetPageSeoAttributesRequest} returns this
|
|
17792
|
+
*/
|
|
17793
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.clearPageSeoId = function() {
|
|
17794
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
17795
|
+
};
|
|
17796
|
+
|
|
17797
|
+
|
|
17798
|
+
/**
|
|
17799
|
+
* Returns whether this field is set.
|
|
17800
|
+
* @return {boolean}
|
|
17801
|
+
*/
|
|
17802
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.hasPageSeoId = function() {
|
|
17803
|
+
return jspb.Message.getField(this, 3) != null;
|
|
17804
|
+
};
|
|
17805
|
+
|
|
17806
|
+
|
|
17807
|
+
/**
|
|
17808
|
+
* optional string type = 4;
|
|
17790
17809
|
* @return {string}
|
|
17791
17810
|
*/
|
|
17792
|
-
proto.cms.GetPageSeoAttributesRequest.prototype.
|
|
17793
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
17811
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.getType = function() {
|
|
17812
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
17794
17813
|
};
|
|
17795
17814
|
|
|
17796
17815
|
|
|
@@ -17798,8 +17817,26 @@ proto.cms.GetPageSeoAttributesRequest.prototype.getLocale = function() {
|
|
|
17798
17817
|
* @param {string} value
|
|
17799
17818
|
* @return {!proto.cms.GetPageSeoAttributesRequest} returns this
|
|
17800
17819
|
*/
|
|
17801
|
-
proto.cms.GetPageSeoAttributesRequest.prototype.
|
|
17802
|
-
return jspb.Message.
|
|
17820
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.setType = function(value) {
|
|
17821
|
+
return jspb.Message.setField(this, 4, value);
|
|
17822
|
+
};
|
|
17823
|
+
|
|
17824
|
+
|
|
17825
|
+
/**
|
|
17826
|
+
* Clears the field making it undefined.
|
|
17827
|
+
* @return {!proto.cms.GetPageSeoAttributesRequest} returns this
|
|
17828
|
+
*/
|
|
17829
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.clearType = function() {
|
|
17830
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
17831
|
+
};
|
|
17832
|
+
|
|
17833
|
+
|
|
17834
|
+
/**
|
|
17835
|
+
* Returns whether this field is set.
|
|
17836
|
+
* @return {boolean}
|
|
17837
|
+
*/
|
|
17838
|
+
proto.cms.GetPageSeoAttributesRequest.prototype.hasType = function() {
|
|
17839
|
+
return jspb.Message.getField(this, 4) != null;
|
|
17803
17840
|
};
|
|
17804
17841
|
|
|
17805
17842
|
|