protobuf-platform 1.2.643 → 1.2.644
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/cashback/cashback.proto +1 -0
- package/cashback/cashback_pb.js +53 -2
- package/loyalty/loyalty.proto +7 -0
- package/loyalty/loyalty_pb.js +338 -2
- package/package.json +1 -1
package/cashback/cashback.proto
CHANGED
package/cashback/cashback_pb.js
CHANGED
|
@@ -1956,7 +1956,7 @@ proto.cashback.UserSearchRequest.prototype.hasCurrency = function() {
|
|
|
1956
1956
|
* @private {!Array<number>}
|
|
1957
1957
|
* @const
|
|
1958
1958
|
*/
|
|
1959
|
-
proto.cashback.SearchRequest.repeatedFields_ = [3];
|
|
1959
|
+
proto.cashback.SearchRequest.repeatedFields_ = [3,5];
|
|
1960
1960
|
|
|
1961
1961
|
|
|
1962
1962
|
|
|
@@ -1992,7 +1992,8 @@ proto.cashback.SearchRequest.toObject = function(includeInstance, msg) {
|
|
|
1992
1992
|
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1993
1993
|
level: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1994
1994
|
typeList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1995
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
1995
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1996
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
1996
1997
|
};
|
|
1997
1998
|
|
|
1998
1999
|
if (includeInstance) {
|
|
@@ -2045,6 +2046,12 @@ proto.cashback.SearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
2045
2046
|
var value = /** @type {number} */ (reader.readInt32());
|
|
2046
2047
|
msg.setIsActive(value);
|
|
2047
2048
|
break;
|
|
2049
|
+
case 5:
|
|
2050
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
2051
|
+
for (var i = 0; i < values.length; i++) {
|
|
2052
|
+
msg.addIds(values[i]);
|
|
2053
|
+
}
|
|
2054
|
+
break;
|
|
2048
2055
|
default:
|
|
2049
2056
|
reader.skipField();
|
|
2050
2057
|
break;
|
|
@@ -2102,6 +2109,13 @@ proto.cashback.SearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
2102
2109
|
f
|
|
2103
2110
|
);
|
|
2104
2111
|
}
|
|
2112
|
+
f = message.getIdsList();
|
|
2113
|
+
if (f.length > 0) {
|
|
2114
|
+
writer.writePackedInt32(
|
|
2115
|
+
5,
|
|
2116
|
+
f
|
|
2117
|
+
);
|
|
2118
|
+
}
|
|
2105
2119
|
};
|
|
2106
2120
|
|
|
2107
2121
|
|
|
@@ -2250,6 +2264,43 @@ proto.cashback.SearchRequest.prototype.hasIsActive = function() {
|
|
|
2250
2264
|
};
|
|
2251
2265
|
|
|
2252
2266
|
|
|
2267
|
+
/**
|
|
2268
|
+
* repeated int32 ids = 5;
|
|
2269
|
+
* @return {!Array<number>}
|
|
2270
|
+
*/
|
|
2271
|
+
proto.cashback.SearchRequest.prototype.getIdsList = function() {
|
|
2272
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
2273
|
+
};
|
|
2274
|
+
|
|
2275
|
+
|
|
2276
|
+
/**
|
|
2277
|
+
* @param {!Array<number>} value
|
|
2278
|
+
* @return {!proto.cashback.SearchRequest} returns this
|
|
2279
|
+
*/
|
|
2280
|
+
proto.cashback.SearchRequest.prototype.setIdsList = function(value) {
|
|
2281
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
2282
|
+
};
|
|
2283
|
+
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* @param {number} value
|
|
2287
|
+
* @param {number=} opt_index
|
|
2288
|
+
* @return {!proto.cashback.SearchRequest} returns this
|
|
2289
|
+
*/
|
|
2290
|
+
proto.cashback.SearchRequest.prototype.addIds = function(value, opt_index) {
|
|
2291
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
2292
|
+
};
|
|
2293
|
+
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* Clears the list making it empty but non-null.
|
|
2297
|
+
* @return {!proto.cashback.SearchRequest} returns this
|
|
2298
|
+
*/
|
|
2299
|
+
proto.cashback.SearchRequest.prototype.clearIdsList = function() {
|
|
2300
|
+
return this.setIdsList([]);
|
|
2301
|
+
};
|
|
2302
|
+
|
|
2303
|
+
|
|
2253
2304
|
|
|
2254
2305
|
/**
|
|
2255
2306
|
* List of repeated fields within this message type.
|
package/loyalty/loyalty.proto
CHANGED
|
@@ -80,6 +80,11 @@ message LevelRewardItem {
|
|
|
80
80
|
optional string target_reference = 4;
|
|
81
81
|
optional string config = 5;
|
|
82
82
|
repeated LevelRewardTranslationItem translations = 6;
|
|
83
|
+
optional string title = 7;
|
|
84
|
+
optional string description = 8;
|
|
85
|
+
optional string image = 9;
|
|
86
|
+
optional string image_cdn = 10;
|
|
87
|
+
optional string amount = 11;
|
|
83
88
|
}
|
|
84
89
|
message LevelRewardRequest {
|
|
85
90
|
string type = 1;
|
|
@@ -111,6 +116,8 @@ message LevelItemRequest {
|
|
|
111
116
|
}
|
|
112
117
|
message GetLevelRequest {
|
|
113
118
|
int32 id = 1;
|
|
119
|
+
optional string locale = 2;
|
|
120
|
+
optional bool admin_side = 3;
|
|
114
121
|
}
|
|
115
122
|
message LevelTranslationRequest {
|
|
116
123
|
optional int32 loyalty_level_id = 1;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -3388,7 +3388,12 @@ proto.loyalty.LevelRewardItem.toObject = function(includeInstance, msg) {
|
|
|
3388
3388
|
targetReference: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3389
3389
|
config: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3390
3390
|
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
3391
|
-
proto.loyalty.LevelRewardTranslationItem.toObject, includeInstance)
|
|
3391
|
+
proto.loyalty.LevelRewardTranslationItem.toObject, includeInstance),
|
|
3392
|
+
title: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3393
|
+
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3394
|
+
image: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3395
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3396
|
+
amount: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
3392
3397
|
};
|
|
3393
3398
|
|
|
3394
3399
|
if (includeInstance) {
|
|
@@ -3450,6 +3455,26 @@ proto.loyalty.LevelRewardItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
3450
3455
|
reader.readMessage(value,proto.loyalty.LevelRewardTranslationItem.deserializeBinaryFromReader);
|
|
3451
3456
|
msg.addTranslations(value);
|
|
3452
3457
|
break;
|
|
3458
|
+
case 7:
|
|
3459
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3460
|
+
msg.setTitle(value);
|
|
3461
|
+
break;
|
|
3462
|
+
case 8:
|
|
3463
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3464
|
+
msg.setDescription(value);
|
|
3465
|
+
break;
|
|
3466
|
+
case 9:
|
|
3467
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3468
|
+
msg.setImage(value);
|
|
3469
|
+
break;
|
|
3470
|
+
case 10:
|
|
3471
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3472
|
+
msg.setImageCdn(value);
|
|
3473
|
+
break;
|
|
3474
|
+
case 11:
|
|
3475
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3476
|
+
msg.setAmount(value);
|
|
3477
|
+
break;
|
|
3453
3478
|
default:
|
|
3454
3479
|
reader.skipField();
|
|
3455
3480
|
break;
|
|
@@ -3522,6 +3547,41 @@ proto.loyalty.LevelRewardItem.serializeBinaryToWriter = function(message, writer
|
|
|
3522
3547
|
proto.loyalty.LevelRewardTranslationItem.serializeBinaryToWriter
|
|
3523
3548
|
);
|
|
3524
3549
|
}
|
|
3550
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
3551
|
+
if (f != null) {
|
|
3552
|
+
writer.writeString(
|
|
3553
|
+
7,
|
|
3554
|
+
f
|
|
3555
|
+
);
|
|
3556
|
+
}
|
|
3557
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
3558
|
+
if (f != null) {
|
|
3559
|
+
writer.writeString(
|
|
3560
|
+
8,
|
|
3561
|
+
f
|
|
3562
|
+
);
|
|
3563
|
+
}
|
|
3564
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
3565
|
+
if (f != null) {
|
|
3566
|
+
writer.writeString(
|
|
3567
|
+
9,
|
|
3568
|
+
f
|
|
3569
|
+
);
|
|
3570
|
+
}
|
|
3571
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
3572
|
+
if (f != null) {
|
|
3573
|
+
writer.writeString(
|
|
3574
|
+
10,
|
|
3575
|
+
f
|
|
3576
|
+
);
|
|
3577
|
+
}
|
|
3578
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
3579
|
+
if (f != null) {
|
|
3580
|
+
writer.writeString(
|
|
3581
|
+
11,
|
|
3582
|
+
f
|
|
3583
|
+
);
|
|
3584
|
+
}
|
|
3525
3585
|
};
|
|
3526
3586
|
|
|
3527
3587
|
|
|
@@ -3707,6 +3767,186 @@ proto.loyalty.LevelRewardItem.prototype.clearTranslationsList = function() {
|
|
|
3707
3767
|
};
|
|
3708
3768
|
|
|
3709
3769
|
|
|
3770
|
+
/**
|
|
3771
|
+
* optional string title = 7;
|
|
3772
|
+
* @return {string}
|
|
3773
|
+
*/
|
|
3774
|
+
proto.loyalty.LevelRewardItem.prototype.getTitle = function() {
|
|
3775
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3776
|
+
};
|
|
3777
|
+
|
|
3778
|
+
|
|
3779
|
+
/**
|
|
3780
|
+
* @param {string} value
|
|
3781
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3782
|
+
*/
|
|
3783
|
+
proto.loyalty.LevelRewardItem.prototype.setTitle = function(value) {
|
|
3784
|
+
return jspb.Message.setField(this, 7, value);
|
|
3785
|
+
};
|
|
3786
|
+
|
|
3787
|
+
|
|
3788
|
+
/**
|
|
3789
|
+
* Clears the field making it undefined.
|
|
3790
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3791
|
+
*/
|
|
3792
|
+
proto.loyalty.LevelRewardItem.prototype.clearTitle = function() {
|
|
3793
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
3794
|
+
};
|
|
3795
|
+
|
|
3796
|
+
|
|
3797
|
+
/**
|
|
3798
|
+
* Returns whether this field is set.
|
|
3799
|
+
* @return {boolean}
|
|
3800
|
+
*/
|
|
3801
|
+
proto.loyalty.LevelRewardItem.prototype.hasTitle = function() {
|
|
3802
|
+
return jspb.Message.getField(this, 7) != null;
|
|
3803
|
+
};
|
|
3804
|
+
|
|
3805
|
+
|
|
3806
|
+
/**
|
|
3807
|
+
* optional string description = 8;
|
|
3808
|
+
* @return {string}
|
|
3809
|
+
*/
|
|
3810
|
+
proto.loyalty.LevelRewardItem.prototype.getDescription = function() {
|
|
3811
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
3812
|
+
};
|
|
3813
|
+
|
|
3814
|
+
|
|
3815
|
+
/**
|
|
3816
|
+
* @param {string} value
|
|
3817
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3818
|
+
*/
|
|
3819
|
+
proto.loyalty.LevelRewardItem.prototype.setDescription = function(value) {
|
|
3820
|
+
return jspb.Message.setField(this, 8, value);
|
|
3821
|
+
};
|
|
3822
|
+
|
|
3823
|
+
|
|
3824
|
+
/**
|
|
3825
|
+
* Clears the field making it undefined.
|
|
3826
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3827
|
+
*/
|
|
3828
|
+
proto.loyalty.LevelRewardItem.prototype.clearDescription = function() {
|
|
3829
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
3830
|
+
};
|
|
3831
|
+
|
|
3832
|
+
|
|
3833
|
+
/**
|
|
3834
|
+
* Returns whether this field is set.
|
|
3835
|
+
* @return {boolean}
|
|
3836
|
+
*/
|
|
3837
|
+
proto.loyalty.LevelRewardItem.prototype.hasDescription = function() {
|
|
3838
|
+
return jspb.Message.getField(this, 8) != null;
|
|
3839
|
+
};
|
|
3840
|
+
|
|
3841
|
+
|
|
3842
|
+
/**
|
|
3843
|
+
* optional string image = 9;
|
|
3844
|
+
* @return {string}
|
|
3845
|
+
*/
|
|
3846
|
+
proto.loyalty.LevelRewardItem.prototype.getImage = function() {
|
|
3847
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
3848
|
+
};
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
/**
|
|
3852
|
+
* @param {string} value
|
|
3853
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3854
|
+
*/
|
|
3855
|
+
proto.loyalty.LevelRewardItem.prototype.setImage = function(value) {
|
|
3856
|
+
return jspb.Message.setField(this, 9, value);
|
|
3857
|
+
};
|
|
3858
|
+
|
|
3859
|
+
|
|
3860
|
+
/**
|
|
3861
|
+
* Clears the field making it undefined.
|
|
3862
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3863
|
+
*/
|
|
3864
|
+
proto.loyalty.LevelRewardItem.prototype.clearImage = function() {
|
|
3865
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
3866
|
+
};
|
|
3867
|
+
|
|
3868
|
+
|
|
3869
|
+
/**
|
|
3870
|
+
* Returns whether this field is set.
|
|
3871
|
+
* @return {boolean}
|
|
3872
|
+
*/
|
|
3873
|
+
proto.loyalty.LevelRewardItem.prototype.hasImage = function() {
|
|
3874
|
+
return jspb.Message.getField(this, 9) != null;
|
|
3875
|
+
};
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
/**
|
|
3879
|
+
* optional string image_cdn = 10;
|
|
3880
|
+
* @return {string}
|
|
3881
|
+
*/
|
|
3882
|
+
proto.loyalty.LevelRewardItem.prototype.getImageCdn = function() {
|
|
3883
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
3884
|
+
};
|
|
3885
|
+
|
|
3886
|
+
|
|
3887
|
+
/**
|
|
3888
|
+
* @param {string} value
|
|
3889
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3890
|
+
*/
|
|
3891
|
+
proto.loyalty.LevelRewardItem.prototype.setImageCdn = function(value) {
|
|
3892
|
+
return jspb.Message.setField(this, 10, value);
|
|
3893
|
+
};
|
|
3894
|
+
|
|
3895
|
+
|
|
3896
|
+
/**
|
|
3897
|
+
* Clears the field making it undefined.
|
|
3898
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3899
|
+
*/
|
|
3900
|
+
proto.loyalty.LevelRewardItem.prototype.clearImageCdn = function() {
|
|
3901
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
3902
|
+
};
|
|
3903
|
+
|
|
3904
|
+
|
|
3905
|
+
/**
|
|
3906
|
+
* Returns whether this field is set.
|
|
3907
|
+
* @return {boolean}
|
|
3908
|
+
*/
|
|
3909
|
+
proto.loyalty.LevelRewardItem.prototype.hasImageCdn = function() {
|
|
3910
|
+
return jspb.Message.getField(this, 10) != null;
|
|
3911
|
+
};
|
|
3912
|
+
|
|
3913
|
+
|
|
3914
|
+
/**
|
|
3915
|
+
* optional string amount = 11;
|
|
3916
|
+
* @return {string}
|
|
3917
|
+
*/
|
|
3918
|
+
proto.loyalty.LevelRewardItem.prototype.getAmount = function() {
|
|
3919
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
3920
|
+
};
|
|
3921
|
+
|
|
3922
|
+
|
|
3923
|
+
/**
|
|
3924
|
+
* @param {string} value
|
|
3925
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3926
|
+
*/
|
|
3927
|
+
proto.loyalty.LevelRewardItem.prototype.setAmount = function(value) {
|
|
3928
|
+
return jspb.Message.setField(this, 11, value);
|
|
3929
|
+
};
|
|
3930
|
+
|
|
3931
|
+
|
|
3932
|
+
/**
|
|
3933
|
+
* Clears the field making it undefined.
|
|
3934
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3935
|
+
*/
|
|
3936
|
+
proto.loyalty.LevelRewardItem.prototype.clearAmount = function() {
|
|
3937
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
3938
|
+
};
|
|
3939
|
+
|
|
3940
|
+
|
|
3941
|
+
/**
|
|
3942
|
+
* Returns whether this field is set.
|
|
3943
|
+
* @return {boolean}
|
|
3944
|
+
*/
|
|
3945
|
+
proto.loyalty.LevelRewardItem.prototype.hasAmount = function() {
|
|
3946
|
+
return jspb.Message.getField(this, 11) != null;
|
|
3947
|
+
};
|
|
3948
|
+
|
|
3949
|
+
|
|
3710
3950
|
|
|
3711
3951
|
/**
|
|
3712
3952
|
* List of repeated fields within this message type.
|
|
@@ -4957,7 +5197,9 @@ proto.loyalty.GetLevelRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
4957
5197
|
*/
|
|
4958
5198
|
proto.loyalty.GetLevelRequest.toObject = function(includeInstance, msg) {
|
|
4959
5199
|
var f, obj = {
|
|
4960
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
5200
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5201
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5202
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
4961
5203
|
};
|
|
4962
5204
|
|
|
4963
5205
|
if (includeInstance) {
|
|
@@ -4998,6 +5240,14 @@ proto.loyalty.GetLevelRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
4998
5240
|
var value = /** @type {number} */ (reader.readInt32());
|
|
4999
5241
|
msg.setId(value);
|
|
5000
5242
|
break;
|
|
5243
|
+
case 2:
|
|
5244
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5245
|
+
msg.setLocale(value);
|
|
5246
|
+
break;
|
|
5247
|
+
case 3:
|
|
5248
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5249
|
+
msg.setAdminSide(value);
|
|
5250
|
+
break;
|
|
5001
5251
|
default:
|
|
5002
5252
|
reader.skipField();
|
|
5003
5253
|
break;
|
|
@@ -5034,6 +5284,20 @@ proto.loyalty.GetLevelRequest.serializeBinaryToWriter = function(message, writer
|
|
|
5034
5284
|
f
|
|
5035
5285
|
);
|
|
5036
5286
|
}
|
|
5287
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
5288
|
+
if (f != null) {
|
|
5289
|
+
writer.writeString(
|
|
5290
|
+
2,
|
|
5291
|
+
f
|
|
5292
|
+
);
|
|
5293
|
+
}
|
|
5294
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
5295
|
+
if (f != null) {
|
|
5296
|
+
writer.writeBool(
|
|
5297
|
+
3,
|
|
5298
|
+
f
|
|
5299
|
+
);
|
|
5300
|
+
}
|
|
5037
5301
|
};
|
|
5038
5302
|
|
|
5039
5303
|
|
|
@@ -5055,6 +5319,78 @@ proto.loyalty.GetLevelRequest.prototype.setId = function(value) {
|
|
|
5055
5319
|
};
|
|
5056
5320
|
|
|
5057
5321
|
|
|
5322
|
+
/**
|
|
5323
|
+
* optional string locale = 2;
|
|
5324
|
+
* @return {string}
|
|
5325
|
+
*/
|
|
5326
|
+
proto.loyalty.GetLevelRequest.prototype.getLocale = function() {
|
|
5327
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5328
|
+
};
|
|
5329
|
+
|
|
5330
|
+
|
|
5331
|
+
/**
|
|
5332
|
+
* @param {string} value
|
|
5333
|
+
* @return {!proto.loyalty.GetLevelRequest} returns this
|
|
5334
|
+
*/
|
|
5335
|
+
proto.loyalty.GetLevelRequest.prototype.setLocale = function(value) {
|
|
5336
|
+
return jspb.Message.setField(this, 2, value);
|
|
5337
|
+
};
|
|
5338
|
+
|
|
5339
|
+
|
|
5340
|
+
/**
|
|
5341
|
+
* Clears the field making it undefined.
|
|
5342
|
+
* @return {!proto.loyalty.GetLevelRequest} returns this
|
|
5343
|
+
*/
|
|
5344
|
+
proto.loyalty.GetLevelRequest.prototype.clearLocale = function() {
|
|
5345
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
5346
|
+
};
|
|
5347
|
+
|
|
5348
|
+
|
|
5349
|
+
/**
|
|
5350
|
+
* Returns whether this field is set.
|
|
5351
|
+
* @return {boolean}
|
|
5352
|
+
*/
|
|
5353
|
+
proto.loyalty.GetLevelRequest.prototype.hasLocale = function() {
|
|
5354
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5355
|
+
};
|
|
5356
|
+
|
|
5357
|
+
|
|
5358
|
+
/**
|
|
5359
|
+
* optional bool admin_side = 3;
|
|
5360
|
+
* @return {boolean}
|
|
5361
|
+
*/
|
|
5362
|
+
proto.loyalty.GetLevelRequest.prototype.getAdminSide = function() {
|
|
5363
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
5364
|
+
};
|
|
5365
|
+
|
|
5366
|
+
|
|
5367
|
+
/**
|
|
5368
|
+
* @param {boolean} value
|
|
5369
|
+
* @return {!proto.loyalty.GetLevelRequest} returns this
|
|
5370
|
+
*/
|
|
5371
|
+
proto.loyalty.GetLevelRequest.prototype.setAdminSide = function(value) {
|
|
5372
|
+
return jspb.Message.setField(this, 3, value);
|
|
5373
|
+
};
|
|
5374
|
+
|
|
5375
|
+
|
|
5376
|
+
/**
|
|
5377
|
+
* Clears the field making it undefined.
|
|
5378
|
+
* @return {!proto.loyalty.GetLevelRequest} returns this
|
|
5379
|
+
*/
|
|
5380
|
+
proto.loyalty.GetLevelRequest.prototype.clearAdminSide = function() {
|
|
5381
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
5382
|
+
};
|
|
5383
|
+
|
|
5384
|
+
|
|
5385
|
+
/**
|
|
5386
|
+
* Returns whether this field is set.
|
|
5387
|
+
* @return {boolean}
|
|
5388
|
+
*/
|
|
5389
|
+
proto.loyalty.GetLevelRequest.prototype.hasAdminSide = function() {
|
|
5390
|
+
return jspb.Message.getField(this, 3) != null;
|
|
5391
|
+
};
|
|
5392
|
+
|
|
5393
|
+
|
|
5058
5394
|
|
|
5059
5395
|
|
|
5060
5396
|
|