protobuf-platform 1.2.691 → 1.2.693
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/loyalty/loyalty.proto +47 -0
- package/loyalty/loyalty_grpc_pb.js +166 -0
- package/loyalty/loyalty_pb.js +1864 -0
- package/package.json +1 -1
- package/payment/payment.proto +11 -0
- package/payment/payment_pb.js +421 -2
- package/scripts/verify-financial-admission-contract.js +66 -0
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -23,7 +23,15 @@ var global = (function() {
|
|
|
23
23
|
|
|
24
24
|
goog.exportSymbol('proto.loyalty.BetPoint', null, global);
|
|
25
25
|
goog.exportSymbol('proto.loyalty.DepositPoint', null, global);
|
|
26
|
+
goog.exportSymbol('proto.loyalty.DepositPointLevelLimit', null, global);
|
|
27
|
+
goog.exportSymbol('proto.loyalty.DepositPointLevelLimitItemsResponse', null, global);
|
|
28
|
+
goog.exportSymbol('proto.loyalty.DepositPointLevelLimitRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.loyalty.DepositPointLevelLimitResponse', null, global);
|
|
30
|
+
goog.exportSymbol('proto.loyalty.DepositPointLimitSettingsResponse', null, global);
|
|
31
|
+
goog.exportSymbol('proto.loyalty.DepositPointLimitStatusResponse', null, global);
|
|
26
32
|
goog.exportSymbol('proto.loyalty.File', null, global);
|
|
33
|
+
goog.exportSymbol('proto.loyalty.GetDepositPointLevelLimitRequest', null, global);
|
|
34
|
+
goog.exportSymbol('proto.loyalty.GetDepositPointLimitSettingsRequest', null, global);
|
|
27
35
|
goog.exportSymbol('proto.loyalty.GetFileRequest', null, global);
|
|
28
36
|
goog.exportSymbol('proto.loyalty.GetLevelRequest', null, global);
|
|
29
37
|
goog.exportSymbol('proto.loyalty.GetLevelTranslationRequest', null, global);
|
|
@@ -56,6 +64,7 @@ goog.exportSymbol('proto.loyalty.PointResponse', null, global);
|
|
|
56
64
|
goog.exportSymbol('proto.loyalty.PointStatusResponse', null, global);
|
|
57
65
|
goog.exportSymbol('proto.loyalty.PongResponse', null, global);
|
|
58
66
|
goog.exportSymbol('proto.loyalty.ReplaceLevelRewardsRequest', null, global);
|
|
67
|
+
goog.exportSymbol('proto.loyalty.SetDepositPointLimitPeriodRequest', null, global);
|
|
59
68
|
goog.exportSymbol('proto.loyalty.SignUpPoint', null, global);
|
|
60
69
|
goog.exportSymbol('proto.loyalty.UserLoyaltyPoint', null, global);
|
|
61
70
|
goog.exportSymbol('proto.loyalty.UserLoyaltyPointsResponse', null, global);
|
|
@@ -880,6 +889,195 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
880
889
|
*/
|
|
881
890
|
proto.loyalty.UserLoyaltyPointsResponse.displayName = 'proto.loyalty.UserLoyaltyPointsResponse';
|
|
882
891
|
}
|
|
892
|
+
/**
|
|
893
|
+
* Generated by JsPbCodeGenerator.
|
|
894
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
895
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
896
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
897
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
898
|
+
* valid.
|
|
899
|
+
* @extends {jspb.Message}
|
|
900
|
+
* @constructor
|
|
901
|
+
*/
|
|
902
|
+
proto.loyalty.GetDepositPointLimitSettingsRequest = function(opt_data) {
|
|
903
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
904
|
+
};
|
|
905
|
+
goog.inherits(proto.loyalty.GetDepositPointLimitSettingsRequest, jspb.Message);
|
|
906
|
+
if (goog.DEBUG && !COMPILED) {
|
|
907
|
+
/**
|
|
908
|
+
* @public
|
|
909
|
+
* @override
|
|
910
|
+
*/
|
|
911
|
+
proto.loyalty.GetDepositPointLimitSettingsRequest.displayName = 'proto.loyalty.GetDepositPointLimitSettingsRequest';
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* Generated by JsPbCodeGenerator.
|
|
915
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
916
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
917
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
918
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
919
|
+
* valid.
|
|
920
|
+
* @extends {jspb.Message}
|
|
921
|
+
* @constructor
|
|
922
|
+
*/
|
|
923
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest = function(opt_data) {
|
|
924
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
925
|
+
};
|
|
926
|
+
goog.inherits(proto.loyalty.SetDepositPointLimitPeriodRequest, jspb.Message);
|
|
927
|
+
if (goog.DEBUG && !COMPILED) {
|
|
928
|
+
/**
|
|
929
|
+
* @public
|
|
930
|
+
* @override
|
|
931
|
+
*/
|
|
932
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest.displayName = 'proto.loyalty.SetDepositPointLimitPeriodRequest';
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* Generated by JsPbCodeGenerator.
|
|
936
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
937
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
938
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
939
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
940
|
+
* valid.
|
|
941
|
+
* @extends {jspb.Message}
|
|
942
|
+
* @constructor
|
|
943
|
+
*/
|
|
944
|
+
proto.loyalty.DepositPointLimitSettingsResponse = function(opt_data) {
|
|
945
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
946
|
+
};
|
|
947
|
+
goog.inherits(proto.loyalty.DepositPointLimitSettingsResponse, jspb.Message);
|
|
948
|
+
if (goog.DEBUG && !COMPILED) {
|
|
949
|
+
/**
|
|
950
|
+
* @public
|
|
951
|
+
* @override
|
|
952
|
+
*/
|
|
953
|
+
proto.loyalty.DepositPointLimitSettingsResponse.displayName = 'proto.loyalty.DepositPointLimitSettingsResponse';
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* Generated by JsPbCodeGenerator.
|
|
957
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
958
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
959
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
960
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
961
|
+
* valid.
|
|
962
|
+
* @extends {jspb.Message}
|
|
963
|
+
* @constructor
|
|
964
|
+
*/
|
|
965
|
+
proto.loyalty.DepositPointLevelLimitRequest = function(opt_data) {
|
|
966
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
967
|
+
};
|
|
968
|
+
goog.inherits(proto.loyalty.DepositPointLevelLimitRequest, jspb.Message);
|
|
969
|
+
if (goog.DEBUG && !COMPILED) {
|
|
970
|
+
/**
|
|
971
|
+
* @public
|
|
972
|
+
* @override
|
|
973
|
+
*/
|
|
974
|
+
proto.loyalty.DepositPointLevelLimitRequest.displayName = 'proto.loyalty.DepositPointLevelLimitRequest';
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* Generated by JsPbCodeGenerator.
|
|
978
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
979
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
980
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
981
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
982
|
+
* valid.
|
|
983
|
+
* @extends {jspb.Message}
|
|
984
|
+
* @constructor
|
|
985
|
+
*/
|
|
986
|
+
proto.loyalty.GetDepositPointLevelLimitRequest = function(opt_data) {
|
|
987
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
988
|
+
};
|
|
989
|
+
goog.inherits(proto.loyalty.GetDepositPointLevelLimitRequest, jspb.Message);
|
|
990
|
+
if (goog.DEBUG && !COMPILED) {
|
|
991
|
+
/**
|
|
992
|
+
* @public
|
|
993
|
+
* @override
|
|
994
|
+
*/
|
|
995
|
+
proto.loyalty.GetDepositPointLevelLimitRequest.displayName = 'proto.loyalty.GetDepositPointLevelLimitRequest';
|
|
996
|
+
}
|
|
997
|
+
/**
|
|
998
|
+
* Generated by JsPbCodeGenerator.
|
|
999
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1000
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1001
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1002
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1003
|
+
* valid.
|
|
1004
|
+
* @extends {jspb.Message}
|
|
1005
|
+
* @constructor
|
|
1006
|
+
*/
|
|
1007
|
+
proto.loyalty.DepositPointLevelLimit = function(opt_data) {
|
|
1008
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1009
|
+
};
|
|
1010
|
+
goog.inherits(proto.loyalty.DepositPointLevelLimit, jspb.Message);
|
|
1011
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1012
|
+
/**
|
|
1013
|
+
* @public
|
|
1014
|
+
* @override
|
|
1015
|
+
*/
|
|
1016
|
+
proto.loyalty.DepositPointLevelLimit.displayName = 'proto.loyalty.DepositPointLevelLimit';
|
|
1017
|
+
}
|
|
1018
|
+
/**
|
|
1019
|
+
* Generated by JsPbCodeGenerator.
|
|
1020
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1021
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1022
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1023
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1024
|
+
* valid.
|
|
1025
|
+
* @extends {jspb.Message}
|
|
1026
|
+
* @constructor
|
|
1027
|
+
*/
|
|
1028
|
+
proto.loyalty.DepositPointLevelLimitResponse = function(opt_data) {
|
|
1029
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1030
|
+
};
|
|
1031
|
+
goog.inherits(proto.loyalty.DepositPointLevelLimitResponse, jspb.Message);
|
|
1032
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1033
|
+
/**
|
|
1034
|
+
* @public
|
|
1035
|
+
* @override
|
|
1036
|
+
*/
|
|
1037
|
+
proto.loyalty.DepositPointLevelLimitResponse.displayName = 'proto.loyalty.DepositPointLevelLimitResponse';
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
* Generated by JsPbCodeGenerator.
|
|
1041
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1042
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1043
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1044
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1045
|
+
* valid.
|
|
1046
|
+
* @extends {jspb.Message}
|
|
1047
|
+
* @constructor
|
|
1048
|
+
*/
|
|
1049
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse = function(opt_data) {
|
|
1050
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyalty.DepositPointLevelLimitItemsResponse.repeatedFields_, null);
|
|
1051
|
+
};
|
|
1052
|
+
goog.inherits(proto.loyalty.DepositPointLevelLimitItemsResponse, jspb.Message);
|
|
1053
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1054
|
+
/**
|
|
1055
|
+
* @public
|
|
1056
|
+
* @override
|
|
1057
|
+
*/
|
|
1058
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.displayName = 'proto.loyalty.DepositPointLevelLimitItemsResponse';
|
|
1059
|
+
}
|
|
1060
|
+
/**
|
|
1061
|
+
* Generated by JsPbCodeGenerator.
|
|
1062
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1063
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1064
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1065
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1066
|
+
* valid.
|
|
1067
|
+
* @extends {jspb.Message}
|
|
1068
|
+
* @constructor
|
|
1069
|
+
*/
|
|
1070
|
+
proto.loyalty.DepositPointLimitStatusResponse = function(opt_data) {
|
|
1071
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1072
|
+
};
|
|
1073
|
+
goog.inherits(proto.loyalty.DepositPointLimitStatusResponse, jspb.Message);
|
|
1074
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1075
|
+
/**
|
|
1076
|
+
* @public
|
|
1077
|
+
* @override
|
|
1078
|
+
*/
|
|
1079
|
+
proto.loyalty.DepositPointLimitStatusResponse.displayName = 'proto.loyalty.DepositPointLimitStatusResponse';
|
|
1080
|
+
}
|
|
883
1081
|
|
|
884
1082
|
|
|
885
1083
|
|
|
@@ -14078,4 +14276,1670 @@ proto.loyalty.UserLoyaltyPointsResponse.prototype.hasTotalItems = function() {
|
|
|
14078
14276
|
};
|
|
14079
14277
|
|
|
14080
14278
|
|
|
14279
|
+
|
|
14280
|
+
|
|
14281
|
+
|
|
14282
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14283
|
+
/**
|
|
14284
|
+
* Creates an object representation of this proto.
|
|
14285
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14286
|
+
* Optional fields that are not set will be set to undefined.
|
|
14287
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14288
|
+
* For the list of reserved names please see:
|
|
14289
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14290
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14291
|
+
* JSPB instance for transitional soy proto support:
|
|
14292
|
+
* http://goto/soy-param-migration
|
|
14293
|
+
* @return {!Object}
|
|
14294
|
+
*/
|
|
14295
|
+
proto.loyalty.GetDepositPointLimitSettingsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14296
|
+
return proto.loyalty.GetDepositPointLimitSettingsRequest.toObject(opt_includeInstance, this);
|
|
14297
|
+
};
|
|
14298
|
+
|
|
14299
|
+
|
|
14300
|
+
/**
|
|
14301
|
+
* Static version of the {@see toObject} method.
|
|
14302
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14303
|
+
* the JSPB instance for transitional soy proto support:
|
|
14304
|
+
* http://goto/soy-param-migration
|
|
14305
|
+
* @param {!proto.loyalty.GetDepositPointLimitSettingsRequest} msg The msg instance to transform.
|
|
14306
|
+
* @return {!Object}
|
|
14307
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14308
|
+
*/
|
|
14309
|
+
proto.loyalty.GetDepositPointLimitSettingsRequest.toObject = function(includeInstance, msg) {
|
|
14310
|
+
var f, obj = {
|
|
14311
|
+
|
|
14312
|
+
};
|
|
14313
|
+
|
|
14314
|
+
if (includeInstance) {
|
|
14315
|
+
obj.$jspbMessageInstance = msg;
|
|
14316
|
+
}
|
|
14317
|
+
return obj;
|
|
14318
|
+
};
|
|
14319
|
+
}
|
|
14320
|
+
|
|
14321
|
+
|
|
14322
|
+
/**
|
|
14323
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14324
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14325
|
+
* @return {!proto.loyalty.GetDepositPointLimitSettingsRequest}
|
|
14326
|
+
*/
|
|
14327
|
+
proto.loyalty.GetDepositPointLimitSettingsRequest.deserializeBinary = function(bytes) {
|
|
14328
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14329
|
+
var msg = new proto.loyalty.GetDepositPointLimitSettingsRequest;
|
|
14330
|
+
return proto.loyalty.GetDepositPointLimitSettingsRequest.deserializeBinaryFromReader(msg, reader);
|
|
14331
|
+
};
|
|
14332
|
+
|
|
14333
|
+
|
|
14334
|
+
/**
|
|
14335
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14336
|
+
* given reader into the given message object.
|
|
14337
|
+
* @param {!proto.loyalty.GetDepositPointLimitSettingsRequest} msg The message object to deserialize into.
|
|
14338
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14339
|
+
* @return {!proto.loyalty.GetDepositPointLimitSettingsRequest}
|
|
14340
|
+
*/
|
|
14341
|
+
proto.loyalty.GetDepositPointLimitSettingsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14342
|
+
while (reader.nextField()) {
|
|
14343
|
+
if (reader.isEndGroup()) {
|
|
14344
|
+
break;
|
|
14345
|
+
}
|
|
14346
|
+
var field = reader.getFieldNumber();
|
|
14347
|
+
switch (field) {
|
|
14348
|
+
default:
|
|
14349
|
+
reader.skipField();
|
|
14350
|
+
break;
|
|
14351
|
+
}
|
|
14352
|
+
}
|
|
14353
|
+
return msg;
|
|
14354
|
+
};
|
|
14355
|
+
|
|
14356
|
+
|
|
14357
|
+
/**
|
|
14358
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14359
|
+
* @return {!Uint8Array}
|
|
14360
|
+
*/
|
|
14361
|
+
proto.loyalty.GetDepositPointLimitSettingsRequest.prototype.serializeBinary = function() {
|
|
14362
|
+
var writer = new jspb.BinaryWriter();
|
|
14363
|
+
proto.loyalty.GetDepositPointLimitSettingsRequest.serializeBinaryToWriter(this, writer);
|
|
14364
|
+
return writer.getResultBuffer();
|
|
14365
|
+
};
|
|
14366
|
+
|
|
14367
|
+
|
|
14368
|
+
/**
|
|
14369
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14370
|
+
* format), writing to the given BinaryWriter.
|
|
14371
|
+
* @param {!proto.loyalty.GetDepositPointLimitSettingsRequest} message
|
|
14372
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14373
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14374
|
+
*/
|
|
14375
|
+
proto.loyalty.GetDepositPointLimitSettingsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14376
|
+
var f = undefined;
|
|
14377
|
+
};
|
|
14378
|
+
|
|
14379
|
+
|
|
14380
|
+
|
|
14381
|
+
|
|
14382
|
+
|
|
14383
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14384
|
+
/**
|
|
14385
|
+
* Creates an object representation of this proto.
|
|
14386
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14387
|
+
* Optional fields that are not set will be set to undefined.
|
|
14388
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14389
|
+
* For the list of reserved names please see:
|
|
14390
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14391
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14392
|
+
* JSPB instance for transitional soy proto support:
|
|
14393
|
+
* http://goto/soy-param-migration
|
|
14394
|
+
* @return {!Object}
|
|
14395
|
+
*/
|
|
14396
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14397
|
+
return proto.loyalty.SetDepositPointLimitPeriodRequest.toObject(opt_includeInstance, this);
|
|
14398
|
+
};
|
|
14399
|
+
|
|
14400
|
+
|
|
14401
|
+
/**
|
|
14402
|
+
* Static version of the {@see toObject} method.
|
|
14403
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14404
|
+
* the JSPB instance for transitional soy proto support:
|
|
14405
|
+
* http://goto/soy-param-migration
|
|
14406
|
+
* @param {!proto.loyalty.SetDepositPointLimitPeriodRequest} msg The msg instance to transform.
|
|
14407
|
+
* @return {!Object}
|
|
14408
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14409
|
+
*/
|
|
14410
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest.toObject = function(includeInstance, msg) {
|
|
14411
|
+
var f, obj = {
|
|
14412
|
+
period: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
14413
|
+
};
|
|
14414
|
+
|
|
14415
|
+
if (includeInstance) {
|
|
14416
|
+
obj.$jspbMessageInstance = msg;
|
|
14417
|
+
}
|
|
14418
|
+
return obj;
|
|
14419
|
+
};
|
|
14420
|
+
}
|
|
14421
|
+
|
|
14422
|
+
|
|
14423
|
+
/**
|
|
14424
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14425
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14426
|
+
* @return {!proto.loyalty.SetDepositPointLimitPeriodRequest}
|
|
14427
|
+
*/
|
|
14428
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest.deserializeBinary = function(bytes) {
|
|
14429
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14430
|
+
var msg = new proto.loyalty.SetDepositPointLimitPeriodRequest;
|
|
14431
|
+
return proto.loyalty.SetDepositPointLimitPeriodRequest.deserializeBinaryFromReader(msg, reader);
|
|
14432
|
+
};
|
|
14433
|
+
|
|
14434
|
+
|
|
14435
|
+
/**
|
|
14436
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14437
|
+
* given reader into the given message object.
|
|
14438
|
+
* @param {!proto.loyalty.SetDepositPointLimitPeriodRequest} msg The message object to deserialize into.
|
|
14439
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14440
|
+
* @return {!proto.loyalty.SetDepositPointLimitPeriodRequest}
|
|
14441
|
+
*/
|
|
14442
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14443
|
+
while (reader.nextField()) {
|
|
14444
|
+
if (reader.isEndGroup()) {
|
|
14445
|
+
break;
|
|
14446
|
+
}
|
|
14447
|
+
var field = reader.getFieldNumber();
|
|
14448
|
+
switch (field) {
|
|
14449
|
+
case 1:
|
|
14450
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14451
|
+
msg.setPeriod(value);
|
|
14452
|
+
break;
|
|
14453
|
+
default:
|
|
14454
|
+
reader.skipField();
|
|
14455
|
+
break;
|
|
14456
|
+
}
|
|
14457
|
+
}
|
|
14458
|
+
return msg;
|
|
14459
|
+
};
|
|
14460
|
+
|
|
14461
|
+
|
|
14462
|
+
/**
|
|
14463
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14464
|
+
* @return {!Uint8Array}
|
|
14465
|
+
*/
|
|
14466
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest.prototype.serializeBinary = function() {
|
|
14467
|
+
var writer = new jspb.BinaryWriter();
|
|
14468
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest.serializeBinaryToWriter(this, writer);
|
|
14469
|
+
return writer.getResultBuffer();
|
|
14470
|
+
};
|
|
14471
|
+
|
|
14472
|
+
|
|
14473
|
+
/**
|
|
14474
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14475
|
+
* format), writing to the given BinaryWriter.
|
|
14476
|
+
* @param {!proto.loyalty.SetDepositPointLimitPeriodRequest} message
|
|
14477
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14478
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14479
|
+
*/
|
|
14480
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14481
|
+
var f = undefined;
|
|
14482
|
+
f = message.getPeriod();
|
|
14483
|
+
if (f.length > 0) {
|
|
14484
|
+
writer.writeString(
|
|
14485
|
+
1,
|
|
14486
|
+
f
|
|
14487
|
+
);
|
|
14488
|
+
}
|
|
14489
|
+
};
|
|
14490
|
+
|
|
14491
|
+
|
|
14492
|
+
/**
|
|
14493
|
+
* optional string period = 1;
|
|
14494
|
+
* @return {string}
|
|
14495
|
+
*/
|
|
14496
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest.prototype.getPeriod = function() {
|
|
14497
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14498
|
+
};
|
|
14499
|
+
|
|
14500
|
+
|
|
14501
|
+
/**
|
|
14502
|
+
* @param {string} value
|
|
14503
|
+
* @return {!proto.loyalty.SetDepositPointLimitPeriodRequest} returns this
|
|
14504
|
+
*/
|
|
14505
|
+
proto.loyalty.SetDepositPointLimitPeriodRequest.prototype.setPeriod = function(value) {
|
|
14506
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
14507
|
+
};
|
|
14508
|
+
|
|
14509
|
+
|
|
14510
|
+
|
|
14511
|
+
|
|
14512
|
+
|
|
14513
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14514
|
+
/**
|
|
14515
|
+
* Creates an object representation of this proto.
|
|
14516
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14517
|
+
* Optional fields that are not set will be set to undefined.
|
|
14518
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14519
|
+
* For the list of reserved names please see:
|
|
14520
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14521
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14522
|
+
* JSPB instance for transitional soy proto support:
|
|
14523
|
+
* http://goto/soy-param-migration
|
|
14524
|
+
* @return {!Object}
|
|
14525
|
+
*/
|
|
14526
|
+
proto.loyalty.DepositPointLimitSettingsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
14527
|
+
return proto.loyalty.DepositPointLimitSettingsResponse.toObject(opt_includeInstance, this);
|
|
14528
|
+
};
|
|
14529
|
+
|
|
14530
|
+
|
|
14531
|
+
/**
|
|
14532
|
+
* Static version of the {@see toObject} method.
|
|
14533
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14534
|
+
* the JSPB instance for transitional soy proto support:
|
|
14535
|
+
* http://goto/soy-param-migration
|
|
14536
|
+
* @param {!proto.loyalty.DepositPointLimitSettingsResponse} msg The msg instance to transform.
|
|
14537
|
+
* @return {!Object}
|
|
14538
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14539
|
+
*/
|
|
14540
|
+
proto.loyalty.DepositPointLimitSettingsResponse.toObject = function(includeInstance, msg) {
|
|
14541
|
+
var f, obj = {
|
|
14542
|
+
period: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14543
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
14544
|
+
};
|
|
14545
|
+
|
|
14546
|
+
if (includeInstance) {
|
|
14547
|
+
obj.$jspbMessageInstance = msg;
|
|
14548
|
+
}
|
|
14549
|
+
return obj;
|
|
14550
|
+
};
|
|
14551
|
+
}
|
|
14552
|
+
|
|
14553
|
+
|
|
14554
|
+
/**
|
|
14555
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14556
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14557
|
+
* @return {!proto.loyalty.DepositPointLimitSettingsResponse}
|
|
14558
|
+
*/
|
|
14559
|
+
proto.loyalty.DepositPointLimitSettingsResponse.deserializeBinary = function(bytes) {
|
|
14560
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14561
|
+
var msg = new proto.loyalty.DepositPointLimitSettingsResponse;
|
|
14562
|
+
return proto.loyalty.DepositPointLimitSettingsResponse.deserializeBinaryFromReader(msg, reader);
|
|
14563
|
+
};
|
|
14564
|
+
|
|
14565
|
+
|
|
14566
|
+
/**
|
|
14567
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14568
|
+
* given reader into the given message object.
|
|
14569
|
+
* @param {!proto.loyalty.DepositPointLimitSettingsResponse} msg The message object to deserialize into.
|
|
14570
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14571
|
+
* @return {!proto.loyalty.DepositPointLimitSettingsResponse}
|
|
14572
|
+
*/
|
|
14573
|
+
proto.loyalty.DepositPointLimitSettingsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
14574
|
+
while (reader.nextField()) {
|
|
14575
|
+
if (reader.isEndGroup()) {
|
|
14576
|
+
break;
|
|
14577
|
+
}
|
|
14578
|
+
var field = reader.getFieldNumber();
|
|
14579
|
+
switch (field) {
|
|
14580
|
+
case 1:
|
|
14581
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14582
|
+
msg.setPeriod(value);
|
|
14583
|
+
break;
|
|
14584
|
+
case 2:
|
|
14585
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14586
|
+
msg.setUpdatedAt(value);
|
|
14587
|
+
break;
|
|
14588
|
+
default:
|
|
14589
|
+
reader.skipField();
|
|
14590
|
+
break;
|
|
14591
|
+
}
|
|
14592
|
+
}
|
|
14593
|
+
return msg;
|
|
14594
|
+
};
|
|
14595
|
+
|
|
14596
|
+
|
|
14597
|
+
/**
|
|
14598
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14599
|
+
* @return {!Uint8Array}
|
|
14600
|
+
*/
|
|
14601
|
+
proto.loyalty.DepositPointLimitSettingsResponse.prototype.serializeBinary = function() {
|
|
14602
|
+
var writer = new jspb.BinaryWriter();
|
|
14603
|
+
proto.loyalty.DepositPointLimitSettingsResponse.serializeBinaryToWriter(this, writer);
|
|
14604
|
+
return writer.getResultBuffer();
|
|
14605
|
+
};
|
|
14606
|
+
|
|
14607
|
+
|
|
14608
|
+
/**
|
|
14609
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14610
|
+
* format), writing to the given BinaryWriter.
|
|
14611
|
+
* @param {!proto.loyalty.DepositPointLimitSettingsResponse} message
|
|
14612
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14613
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14614
|
+
*/
|
|
14615
|
+
proto.loyalty.DepositPointLimitSettingsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
14616
|
+
var f = undefined;
|
|
14617
|
+
f = message.getPeriod();
|
|
14618
|
+
if (f.length > 0) {
|
|
14619
|
+
writer.writeString(
|
|
14620
|
+
1,
|
|
14621
|
+
f
|
|
14622
|
+
);
|
|
14623
|
+
}
|
|
14624
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
14625
|
+
if (f != null) {
|
|
14626
|
+
writer.writeString(
|
|
14627
|
+
2,
|
|
14628
|
+
f
|
|
14629
|
+
);
|
|
14630
|
+
}
|
|
14631
|
+
};
|
|
14632
|
+
|
|
14633
|
+
|
|
14634
|
+
/**
|
|
14635
|
+
* optional string period = 1;
|
|
14636
|
+
* @return {string}
|
|
14637
|
+
*/
|
|
14638
|
+
proto.loyalty.DepositPointLimitSettingsResponse.prototype.getPeriod = function() {
|
|
14639
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14640
|
+
};
|
|
14641
|
+
|
|
14642
|
+
|
|
14643
|
+
/**
|
|
14644
|
+
* @param {string} value
|
|
14645
|
+
* @return {!proto.loyalty.DepositPointLimitSettingsResponse} returns this
|
|
14646
|
+
*/
|
|
14647
|
+
proto.loyalty.DepositPointLimitSettingsResponse.prototype.setPeriod = function(value) {
|
|
14648
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
14649
|
+
};
|
|
14650
|
+
|
|
14651
|
+
|
|
14652
|
+
/**
|
|
14653
|
+
* optional string updated_at = 2;
|
|
14654
|
+
* @return {string}
|
|
14655
|
+
*/
|
|
14656
|
+
proto.loyalty.DepositPointLimitSettingsResponse.prototype.getUpdatedAt = function() {
|
|
14657
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
14658
|
+
};
|
|
14659
|
+
|
|
14660
|
+
|
|
14661
|
+
/**
|
|
14662
|
+
* @param {string} value
|
|
14663
|
+
* @return {!proto.loyalty.DepositPointLimitSettingsResponse} returns this
|
|
14664
|
+
*/
|
|
14665
|
+
proto.loyalty.DepositPointLimitSettingsResponse.prototype.setUpdatedAt = function(value) {
|
|
14666
|
+
return jspb.Message.setField(this, 2, value);
|
|
14667
|
+
};
|
|
14668
|
+
|
|
14669
|
+
|
|
14670
|
+
/**
|
|
14671
|
+
* Clears the field making it undefined.
|
|
14672
|
+
* @return {!proto.loyalty.DepositPointLimitSettingsResponse} returns this
|
|
14673
|
+
*/
|
|
14674
|
+
proto.loyalty.DepositPointLimitSettingsResponse.prototype.clearUpdatedAt = function() {
|
|
14675
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
14676
|
+
};
|
|
14677
|
+
|
|
14678
|
+
|
|
14679
|
+
/**
|
|
14680
|
+
* Returns whether this field is set.
|
|
14681
|
+
* @return {boolean}
|
|
14682
|
+
*/
|
|
14683
|
+
proto.loyalty.DepositPointLimitSettingsResponse.prototype.hasUpdatedAt = function() {
|
|
14684
|
+
return jspb.Message.getField(this, 2) != null;
|
|
14685
|
+
};
|
|
14686
|
+
|
|
14687
|
+
|
|
14688
|
+
|
|
14689
|
+
|
|
14690
|
+
|
|
14691
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14692
|
+
/**
|
|
14693
|
+
* Creates an object representation of this proto.
|
|
14694
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14695
|
+
* Optional fields that are not set will be set to undefined.
|
|
14696
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14697
|
+
* For the list of reserved names please see:
|
|
14698
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14699
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14700
|
+
* JSPB instance for transitional soy proto support:
|
|
14701
|
+
* http://goto/soy-param-migration
|
|
14702
|
+
* @return {!Object}
|
|
14703
|
+
*/
|
|
14704
|
+
proto.loyalty.DepositPointLevelLimitRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14705
|
+
return proto.loyalty.DepositPointLevelLimitRequest.toObject(opt_includeInstance, this);
|
|
14706
|
+
};
|
|
14707
|
+
|
|
14708
|
+
|
|
14709
|
+
/**
|
|
14710
|
+
* Static version of the {@see toObject} method.
|
|
14711
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14712
|
+
* the JSPB instance for transitional soy proto support:
|
|
14713
|
+
* http://goto/soy-param-migration
|
|
14714
|
+
* @param {!proto.loyalty.DepositPointLevelLimitRequest} msg The msg instance to transform.
|
|
14715
|
+
* @return {!Object}
|
|
14716
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14717
|
+
*/
|
|
14718
|
+
proto.loyalty.DepositPointLevelLimitRequest.toObject = function(includeInstance, msg) {
|
|
14719
|
+
var f, obj = {
|
|
14720
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
14721
|
+
loyaltyLevelId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
14722
|
+
pointsLimit: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
14723
|
+
};
|
|
14724
|
+
|
|
14725
|
+
if (includeInstance) {
|
|
14726
|
+
obj.$jspbMessageInstance = msg;
|
|
14727
|
+
}
|
|
14728
|
+
return obj;
|
|
14729
|
+
};
|
|
14730
|
+
}
|
|
14731
|
+
|
|
14732
|
+
|
|
14733
|
+
/**
|
|
14734
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14735
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14736
|
+
* @return {!proto.loyalty.DepositPointLevelLimitRequest}
|
|
14737
|
+
*/
|
|
14738
|
+
proto.loyalty.DepositPointLevelLimitRequest.deserializeBinary = function(bytes) {
|
|
14739
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14740
|
+
var msg = new proto.loyalty.DepositPointLevelLimitRequest;
|
|
14741
|
+
return proto.loyalty.DepositPointLevelLimitRequest.deserializeBinaryFromReader(msg, reader);
|
|
14742
|
+
};
|
|
14743
|
+
|
|
14744
|
+
|
|
14745
|
+
/**
|
|
14746
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14747
|
+
* given reader into the given message object.
|
|
14748
|
+
* @param {!proto.loyalty.DepositPointLevelLimitRequest} msg The message object to deserialize into.
|
|
14749
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14750
|
+
* @return {!proto.loyalty.DepositPointLevelLimitRequest}
|
|
14751
|
+
*/
|
|
14752
|
+
proto.loyalty.DepositPointLevelLimitRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14753
|
+
while (reader.nextField()) {
|
|
14754
|
+
if (reader.isEndGroup()) {
|
|
14755
|
+
break;
|
|
14756
|
+
}
|
|
14757
|
+
var field = reader.getFieldNumber();
|
|
14758
|
+
switch (field) {
|
|
14759
|
+
case 1:
|
|
14760
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14761
|
+
msg.setId(value);
|
|
14762
|
+
break;
|
|
14763
|
+
case 2:
|
|
14764
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14765
|
+
msg.setLoyaltyLevelId(value);
|
|
14766
|
+
break;
|
|
14767
|
+
case 3:
|
|
14768
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14769
|
+
msg.setPointsLimit(value);
|
|
14770
|
+
break;
|
|
14771
|
+
default:
|
|
14772
|
+
reader.skipField();
|
|
14773
|
+
break;
|
|
14774
|
+
}
|
|
14775
|
+
}
|
|
14776
|
+
return msg;
|
|
14777
|
+
};
|
|
14778
|
+
|
|
14779
|
+
|
|
14780
|
+
/**
|
|
14781
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14782
|
+
* @return {!Uint8Array}
|
|
14783
|
+
*/
|
|
14784
|
+
proto.loyalty.DepositPointLevelLimitRequest.prototype.serializeBinary = function() {
|
|
14785
|
+
var writer = new jspb.BinaryWriter();
|
|
14786
|
+
proto.loyalty.DepositPointLevelLimitRequest.serializeBinaryToWriter(this, writer);
|
|
14787
|
+
return writer.getResultBuffer();
|
|
14788
|
+
};
|
|
14789
|
+
|
|
14790
|
+
|
|
14791
|
+
/**
|
|
14792
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14793
|
+
* format), writing to the given BinaryWriter.
|
|
14794
|
+
* @param {!proto.loyalty.DepositPointLevelLimitRequest} message
|
|
14795
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14796
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14797
|
+
*/
|
|
14798
|
+
proto.loyalty.DepositPointLevelLimitRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14799
|
+
var f = undefined;
|
|
14800
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
14801
|
+
if (f != null) {
|
|
14802
|
+
writer.writeInt32(
|
|
14803
|
+
1,
|
|
14804
|
+
f
|
|
14805
|
+
);
|
|
14806
|
+
}
|
|
14807
|
+
f = message.getLoyaltyLevelId();
|
|
14808
|
+
if (f !== 0) {
|
|
14809
|
+
writer.writeInt32(
|
|
14810
|
+
2,
|
|
14811
|
+
f
|
|
14812
|
+
);
|
|
14813
|
+
}
|
|
14814
|
+
f = message.getPointsLimit();
|
|
14815
|
+
if (f.length > 0) {
|
|
14816
|
+
writer.writeString(
|
|
14817
|
+
3,
|
|
14818
|
+
f
|
|
14819
|
+
);
|
|
14820
|
+
}
|
|
14821
|
+
};
|
|
14822
|
+
|
|
14823
|
+
|
|
14824
|
+
/**
|
|
14825
|
+
* optional int32 id = 1;
|
|
14826
|
+
* @return {number}
|
|
14827
|
+
*/
|
|
14828
|
+
proto.loyalty.DepositPointLevelLimitRequest.prototype.getId = function() {
|
|
14829
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
14830
|
+
};
|
|
14831
|
+
|
|
14832
|
+
|
|
14833
|
+
/**
|
|
14834
|
+
* @param {number} value
|
|
14835
|
+
* @return {!proto.loyalty.DepositPointLevelLimitRequest} returns this
|
|
14836
|
+
*/
|
|
14837
|
+
proto.loyalty.DepositPointLevelLimitRequest.prototype.setId = function(value) {
|
|
14838
|
+
return jspb.Message.setField(this, 1, value);
|
|
14839
|
+
};
|
|
14840
|
+
|
|
14841
|
+
|
|
14842
|
+
/**
|
|
14843
|
+
* Clears the field making it undefined.
|
|
14844
|
+
* @return {!proto.loyalty.DepositPointLevelLimitRequest} returns this
|
|
14845
|
+
*/
|
|
14846
|
+
proto.loyalty.DepositPointLevelLimitRequest.prototype.clearId = function() {
|
|
14847
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
14848
|
+
};
|
|
14849
|
+
|
|
14850
|
+
|
|
14851
|
+
/**
|
|
14852
|
+
* Returns whether this field is set.
|
|
14853
|
+
* @return {boolean}
|
|
14854
|
+
*/
|
|
14855
|
+
proto.loyalty.DepositPointLevelLimitRequest.prototype.hasId = function() {
|
|
14856
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14857
|
+
};
|
|
14858
|
+
|
|
14859
|
+
|
|
14860
|
+
/**
|
|
14861
|
+
* optional int32 loyalty_level_id = 2;
|
|
14862
|
+
* @return {number}
|
|
14863
|
+
*/
|
|
14864
|
+
proto.loyalty.DepositPointLevelLimitRequest.prototype.getLoyaltyLevelId = function() {
|
|
14865
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
14866
|
+
};
|
|
14867
|
+
|
|
14868
|
+
|
|
14869
|
+
/**
|
|
14870
|
+
* @param {number} value
|
|
14871
|
+
* @return {!proto.loyalty.DepositPointLevelLimitRequest} returns this
|
|
14872
|
+
*/
|
|
14873
|
+
proto.loyalty.DepositPointLevelLimitRequest.prototype.setLoyaltyLevelId = function(value) {
|
|
14874
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
14875
|
+
};
|
|
14876
|
+
|
|
14877
|
+
|
|
14878
|
+
/**
|
|
14879
|
+
* optional string points_limit = 3;
|
|
14880
|
+
* @return {string}
|
|
14881
|
+
*/
|
|
14882
|
+
proto.loyalty.DepositPointLevelLimitRequest.prototype.getPointsLimit = function() {
|
|
14883
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
14884
|
+
};
|
|
14885
|
+
|
|
14886
|
+
|
|
14887
|
+
/**
|
|
14888
|
+
* @param {string} value
|
|
14889
|
+
* @return {!proto.loyalty.DepositPointLevelLimitRequest} returns this
|
|
14890
|
+
*/
|
|
14891
|
+
proto.loyalty.DepositPointLevelLimitRequest.prototype.setPointsLimit = function(value) {
|
|
14892
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
14893
|
+
};
|
|
14894
|
+
|
|
14895
|
+
|
|
14896
|
+
|
|
14897
|
+
|
|
14898
|
+
|
|
14899
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14900
|
+
/**
|
|
14901
|
+
* Creates an object representation of this proto.
|
|
14902
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14903
|
+
* Optional fields that are not set will be set to undefined.
|
|
14904
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14905
|
+
* For the list of reserved names please see:
|
|
14906
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14907
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14908
|
+
* JSPB instance for transitional soy proto support:
|
|
14909
|
+
* http://goto/soy-param-migration
|
|
14910
|
+
* @return {!Object}
|
|
14911
|
+
*/
|
|
14912
|
+
proto.loyalty.GetDepositPointLevelLimitRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14913
|
+
return proto.loyalty.GetDepositPointLevelLimitRequest.toObject(opt_includeInstance, this);
|
|
14914
|
+
};
|
|
14915
|
+
|
|
14916
|
+
|
|
14917
|
+
/**
|
|
14918
|
+
* Static version of the {@see toObject} method.
|
|
14919
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14920
|
+
* the JSPB instance for transitional soy proto support:
|
|
14921
|
+
* http://goto/soy-param-migration
|
|
14922
|
+
* @param {!proto.loyalty.GetDepositPointLevelLimitRequest} msg The msg instance to transform.
|
|
14923
|
+
* @return {!Object}
|
|
14924
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14925
|
+
*/
|
|
14926
|
+
proto.loyalty.GetDepositPointLevelLimitRequest.toObject = function(includeInstance, msg) {
|
|
14927
|
+
var f, obj = {
|
|
14928
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
14929
|
+
};
|
|
14930
|
+
|
|
14931
|
+
if (includeInstance) {
|
|
14932
|
+
obj.$jspbMessageInstance = msg;
|
|
14933
|
+
}
|
|
14934
|
+
return obj;
|
|
14935
|
+
};
|
|
14936
|
+
}
|
|
14937
|
+
|
|
14938
|
+
|
|
14939
|
+
/**
|
|
14940
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14941
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14942
|
+
* @return {!proto.loyalty.GetDepositPointLevelLimitRequest}
|
|
14943
|
+
*/
|
|
14944
|
+
proto.loyalty.GetDepositPointLevelLimitRequest.deserializeBinary = function(bytes) {
|
|
14945
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14946
|
+
var msg = new proto.loyalty.GetDepositPointLevelLimitRequest;
|
|
14947
|
+
return proto.loyalty.GetDepositPointLevelLimitRequest.deserializeBinaryFromReader(msg, reader);
|
|
14948
|
+
};
|
|
14949
|
+
|
|
14950
|
+
|
|
14951
|
+
/**
|
|
14952
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14953
|
+
* given reader into the given message object.
|
|
14954
|
+
* @param {!proto.loyalty.GetDepositPointLevelLimitRequest} msg The message object to deserialize into.
|
|
14955
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14956
|
+
* @return {!proto.loyalty.GetDepositPointLevelLimitRequest}
|
|
14957
|
+
*/
|
|
14958
|
+
proto.loyalty.GetDepositPointLevelLimitRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14959
|
+
while (reader.nextField()) {
|
|
14960
|
+
if (reader.isEndGroup()) {
|
|
14961
|
+
break;
|
|
14962
|
+
}
|
|
14963
|
+
var field = reader.getFieldNumber();
|
|
14964
|
+
switch (field) {
|
|
14965
|
+
case 1:
|
|
14966
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14967
|
+
msg.setId(value);
|
|
14968
|
+
break;
|
|
14969
|
+
default:
|
|
14970
|
+
reader.skipField();
|
|
14971
|
+
break;
|
|
14972
|
+
}
|
|
14973
|
+
}
|
|
14974
|
+
return msg;
|
|
14975
|
+
};
|
|
14976
|
+
|
|
14977
|
+
|
|
14978
|
+
/**
|
|
14979
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14980
|
+
* @return {!Uint8Array}
|
|
14981
|
+
*/
|
|
14982
|
+
proto.loyalty.GetDepositPointLevelLimitRequest.prototype.serializeBinary = function() {
|
|
14983
|
+
var writer = new jspb.BinaryWriter();
|
|
14984
|
+
proto.loyalty.GetDepositPointLevelLimitRequest.serializeBinaryToWriter(this, writer);
|
|
14985
|
+
return writer.getResultBuffer();
|
|
14986
|
+
};
|
|
14987
|
+
|
|
14988
|
+
|
|
14989
|
+
/**
|
|
14990
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14991
|
+
* format), writing to the given BinaryWriter.
|
|
14992
|
+
* @param {!proto.loyalty.GetDepositPointLevelLimitRequest} message
|
|
14993
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14994
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14995
|
+
*/
|
|
14996
|
+
proto.loyalty.GetDepositPointLevelLimitRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14997
|
+
var f = undefined;
|
|
14998
|
+
f = message.getId();
|
|
14999
|
+
if (f !== 0) {
|
|
15000
|
+
writer.writeInt32(
|
|
15001
|
+
1,
|
|
15002
|
+
f
|
|
15003
|
+
);
|
|
15004
|
+
}
|
|
15005
|
+
};
|
|
15006
|
+
|
|
15007
|
+
|
|
15008
|
+
/**
|
|
15009
|
+
* optional int32 id = 1;
|
|
15010
|
+
* @return {number}
|
|
15011
|
+
*/
|
|
15012
|
+
proto.loyalty.GetDepositPointLevelLimitRequest.prototype.getId = function() {
|
|
15013
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
15014
|
+
};
|
|
15015
|
+
|
|
15016
|
+
|
|
15017
|
+
/**
|
|
15018
|
+
* @param {number} value
|
|
15019
|
+
* @return {!proto.loyalty.GetDepositPointLevelLimitRequest} returns this
|
|
15020
|
+
*/
|
|
15021
|
+
proto.loyalty.GetDepositPointLevelLimitRequest.prototype.setId = function(value) {
|
|
15022
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
15023
|
+
};
|
|
15024
|
+
|
|
15025
|
+
|
|
15026
|
+
|
|
15027
|
+
|
|
15028
|
+
|
|
15029
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15030
|
+
/**
|
|
15031
|
+
* Creates an object representation of this proto.
|
|
15032
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15033
|
+
* Optional fields that are not set will be set to undefined.
|
|
15034
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15035
|
+
* For the list of reserved names please see:
|
|
15036
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15037
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15038
|
+
* JSPB instance for transitional soy proto support:
|
|
15039
|
+
* http://goto/soy-param-migration
|
|
15040
|
+
* @return {!Object}
|
|
15041
|
+
*/
|
|
15042
|
+
proto.loyalty.DepositPointLevelLimit.prototype.toObject = function(opt_includeInstance) {
|
|
15043
|
+
return proto.loyalty.DepositPointLevelLimit.toObject(opt_includeInstance, this);
|
|
15044
|
+
};
|
|
15045
|
+
|
|
15046
|
+
|
|
15047
|
+
/**
|
|
15048
|
+
* Static version of the {@see toObject} method.
|
|
15049
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15050
|
+
* the JSPB instance for transitional soy proto support:
|
|
15051
|
+
* http://goto/soy-param-migration
|
|
15052
|
+
* @param {!proto.loyalty.DepositPointLevelLimit} msg The msg instance to transform.
|
|
15053
|
+
* @return {!Object}
|
|
15054
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15055
|
+
*/
|
|
15056
|
+
proto.loyalty.DepositPointLevelLimit.toObject = function(includeInstance, msg) {
|
|
15057
|
+
var f, obj = {
|
|
15058
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
15059
|
+
loyaltyLevelId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
15060
|
+
pointsLimit: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15061
|
+
levelNumber: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
15062
|
+
levelTitle: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
15063
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
15064
|
+
};
|
|
15065
|
+
|
|
15066
|
+
if (includeInstance) {
|
|
15067
|
+
obj.$jspbMessageInstance = msg;
|
|
15068
|
+
}
|
|
15069
|
+
return obj;
|
|
15070
|
+
};
|
|
15071
|
+
}
|
|
15072
|
+
|
|
15073
|
+
|
|
15074
|
+
/**
|
|
15075
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15076
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15077
|
+
* @return {!proto.loyalty.DepositPointLevelLimit}
|
|
15078
|
+
*/
|
|
15079
|
+
proto.loyalty.DepositPointLevelLimit.deserializeBinary = function(bytes) {
|
|
15080
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15081
|
+
var msg = new proto.loyalty.DepositPointLevelLimit;
|
|
15082
|
+
return proto.loyalty.DepositPointLevelLimit.deserializeBinaryFromReader(msg, reader);
|
|
15083
|
+
};
|
|
15084
|
+
|
|
15085
|
+
|
|
15086
|
+
/**
|
|
15087
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15088
|
+
* given reader into the given message object.
|
|
15089
|
+
* @param {!proto.loyalty.DepositPointLevelLimit} msg The message object to deserialize into.
|
|
15090
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15091
|
+
* @return {!proto.loyalty.DepositPointLevelLimit}
|
|
15092
|
+
*/
|
|
15093
|
+
proto.loyalty.DepositPointLevelLimit.deserializeBinaryFromReader = function(msg, reader) {
|
|
15094
|
+
while (reader.nextField()) {
|
|
15095
|
+
if (reader.isEndGroup()) {
|
|
15096
|
+
break;
|
|
15097
|
+
}
|
|
15098
|
+
var field = reader.getFieldNumber();
|
|
15099
|
+
switch (field) {
|
|
15100
|
+
case 1:
|
|
15101
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
15102
|
+
msg.setId(value);
|
|
15103
|
+
break;
|
|
15104
|
+
case 2:
|
|
15105
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
15106
|
+
msg.setLoyaltyLevelId(value);
|
|
15107
|
+
break;
|
|
15108
|
+
case 3:
|
|
15109
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15110
|
+
msg.setPointsLimit(value);
|
|
15111
|
+
break;
|
|
15112
|
+
case 4:
|
|
15113
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
15114
|
+
msg.setLevelNumber(value);
|
|
15115
|
+
break;
|
|
15116
|
+
case 5:
|
|
15117
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15118
|
+
msg.setLevelTitle(value);
|
|
15119
|
+
break;
|
|
15120
|
+
case 6:
|
|
15121
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15122
|
+
msg.setUpdatedAt(value);
|
|
15123
|
+
break;
|
|
15124
|
+
default:
|
|
15125
|
+
reader.skipField();
|
|
15126
|
+
break;
|
|
15127
|
+
}
|
|
15128
|
+
}
|
|
15129
|
+
return msg;
|
|
15130
|
+
};
|
|
15131
|
+
|
|
15132
|
+
|
|
15133
|
+
/**
|
|
15134
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15135
|
+
* @return {!Uint8Array}
|
|
15136
|
+
*/
|
|
15137
|
+
proto.loyalty.DepositPointLevelLimit.prototype.serializeBinary = function() {
|
|
15138
|
+
var writer = new jspb.BinaryWriter();
|
|
15139
|
+
proto.loyalty.DepositPointLevelLimit.serializeBinaryToWriter(this, writer);
|
|
15140
|
+
return writer.getResultBuffer();
|
|
15141
|
+
};
|
|
15142
|
+
|
|
15143
|
+
|
|
15144
|
+
/**
|
|
15145
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15146
|
+
* format), writing to the given BinaryWriter.
|
|
15147
|
+
* @param {!proto.loyalty.DepositPointLevelLimit} message
|
|
15148
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15149
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15150
|
+
*/
|
|
15151
|
+
proto.loyalty.DepositPointLevelLimit.serializeBinaryToWriter = function(message, writer) {
|
|
15152
|
+
var f = undefined;
|
|
15153
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
15154
|
+
if (f != null) {
|
|
15155
|
+
writer.writeInt32(
|
|
15156
|
+
1,
|
|
15157
|
+
f
|
|
15158
|
+
);
|
|
15159
|
+
}
|
|
15160
|
+
f = message.getLoyaltyLevelId();
|
|
15161
|
+
if (f !== 0) {
|
|
15162
|
+
writer.writeInt32(
|
|
15163
|
+
2,
|
|
15164
|
+
f
|
|
15165
|
+
);
|
|
15166
|
+
}
|
|
15167
|
+
f = message.getPointsLimit();
|
|
15168
|
+
if (f.length > 0) {
|
|
15169
|
+
writer.writeString(
|
|
15170
|
+
3,
|
|
15171
|
+
f
|
|
15172
|
+
);
|
|
15173
|
+
}
|
|
15174
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
15175
|
+
if (f != null) {
|
|
15176
|
+
writer.writeInt32(
|
|
15177
|
+
4,
|
|
15178
|
+
f
|
|
15179
|
+
);
|
|
15180
|
+
}
|
|
15181
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
15182
|
+
if (f != null) {
|
|
15183
|
+
writer.writeString(
|
|
15184
|
+
5,
|
|
15185
|
+
f
|
|
15186
|
+
);
|
|
15187
|
+
}
|
|
15188
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
15189
|
+
if (f != null) {
|
|
15190
|
+
writer.writeString(
|
|
15191
|
+
6,
|
|
15192
|
+
f
|
|
15193
|
+
);
|
|
15194
|
+
}
|
|
15195
|
+
};
|
|
15196
|
+
|
|
15197
|
+
|
|
15198
|
+
/**
|
|
15199
|
+
* optional int32 id = 1;
|
|
15200
|
+
* @return {number}
|
|
15201
|
+
*/
|
|
15202
|
+
proto.loyalty.DepositPointLevelLimit.prototype.getId = function() {
|
|
15203
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
15204
|
+
};
|
|
15205
|
+
|
|
15206
|
+
|
|
15207
|
+
/**
|
|
15208
|
+
* @param {number} value
|
|
15209
|
+
* @return {!proto.loyalty.DepositPointLevelLimit} returns this
|
|
15210
|
+
*/
|
|
15211
|
+
proto.loyalty.DepositPointLevelLimit.prototype.setId = function(value) {
|
|
15212
|
+
return jspb.Message.setField(this, 1, value);
|
|
15213
|
+
};
|
|
15214
|
+
|
|
15215
|
+
|
|
15216
|
+
/**
|
|
15217
|
+
* Clears the field making it undefined.
|
|
15218
|
+
* @return {!proto.loyalty.DepositPointLevelLimit} returns this
|
|
15219
|
+
*/
|
|
15220
|
+
proto.loyalty.DepositPointLevelLimit.prototype.clearId = function() {
|
|
15221
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
15222
|
+
};
|
|
15223
|
+
|
|
15224
|
+
|
|
15225
|
+
/**
|
|
15226
|
+
* Returns whether this field is set.
|
|
15227
|
+
* @return {boolean}
|
|
15228
|
+
*/
|
|
15229
|
+
proto.loyalty.DepositPointLevelLimit.prototype.hasId = function() {
|
|
15230
|
+
return jspb.Message.getField(this, 1) != null;
|
|
15231
|
+
};
|
|
15232
|
+
|
|
15233
|
+
|
|
15234
|
+
/**
|
|
15235
|
+
* optional int32 loyalty_level_id = 2;
|
|
15236
|
+
* @return {number}
|
|
15237
|
+
*/
|
|
15238
|
+
proto.loyalty.DepositPointLevelLimit.prototype.getLoyaltyLevelId = function() {
|
|
15239
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
15240
|
+
};
|
|
15241
|
+
|
|
15242
|
+
|
|
15243
|
+
/**
|
|
15244
|
+
* @param {number} value
|
|
15245
|
+
* @return {!proto.loyalty.DepositPointLevelLimit} returns this
|
|
15246
|
+
*/
|
|
15247
|
+
proto.loyalty.DepositPointLevelLimit.prototype.setLoyaltyLevelId = function(value) {
|
|
15248
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
15249
|
+
};
|
|
15250
|
+
|
|
15251
|
+
|
|
15252
|
+
/**
|
|
15253
|
+
* optional string points_limit = 3;
|
|
15254
|
+
* @return {string}
|
|
15255
|
+
*/
|
|
15256
|
+
proto.loyalty.DepositPointLevelLimit.prototype.getPointsLimit = function() {
|
|
15257
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
15258
|
+
};
|
|
15259
|
+
|
|
15260
|
+
|
|
15261
|
+
/**
|
|
15262
|
+
* @param {string} value
|
|
15263
|
+
* @return {!proto.loyalty.DepositPointLevelLimit} returns this
|
|
15264
|
+
*/
|
|
15265
|
+
proto.loyalty.DepositPointLevelLimit.prototype.setPointsLimit = function(value) {
|
|
15266
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
15267
|
+
};
|
|
15268
|
+
|
|
15269
|
+
|
|
15270
|
+
/**
|
|
15271
|
+
* optional int32 level_number = 4;
|
|
15272
|
+
* @return {number}
|
|
15273
|
+
*/
|
|
15274
|
+
proto.loyalty.DepositPointLevelLimit.prototype.getLevelNumber = function() {
|
|
15275
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
15276
|
+
};
|
|
15277
|
+
|
|
15278
|
+
|
|
15279
|
+
/**
|
|
15280
|
+
* @param {number} value
|
|
15281
|
+
* @return {!proto.loyalty.DepositPointLevelLimit} returns this
|
|
15282
|
+
*/
|
|
15283
|
+
proto.loyalty.DepositPointLevelLimit.prototype.setLevelNumber = function(value) {
|
|
15284
|
+
return jspb.Message.setField(this, 4, value);
|
|
15285
|
+
};
|
|
15286
|
+
|
|
15287
|
+
|
|
15288
|
+
/**
|
|
15289
|
+
* Clears the field making it undefined.
|
|
15290
|
+
* @return {!proto.loyalty.DepositPointLevelLimit} returns this
|
|
15291
|
+
*/
|
|
15292
|
+
proto.loyalty.DepositPointLevelLimit.prototype.clearLevelNumber = function() {
|
|
15293
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
15294
|
+
};
|
|
15295
|
+
|
|
15296
|
+
|
|
15297
|
+
/**
|
|
15298
|
+
* Returns whether this field is set.
|
|
15299
|
+
* @return {boolean}
|
|
15300
|
+
*/
|
|
15301
|
+
proto.loyalty.DepositPointLevelLimit.prototype.hasLevelNumber = function() {
|
|
15302
|
+
return jspb.Message.getField(this, 4) != null;
|
|
15303
|
+
};
|
|
15304
|
+
|
|
15305
|
+
|
|
15306
|
+
/**
|
|
15307
|
+
* optional string level_title = 5;
|
|
15308
|
+
* @return {string}
|
|
15309
|
+
*/
|
|
15310
|
+
proto.loyalty.DepositPointLevelLimit.prototype.getLevelTitle = function() {
|
|
15311
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
15312
|
+
};
|
|
15313
|
+
|
|
15314
|
+
|
|
15315
|
+
/**
|
|
15316
|
+
* @param {string} value
|
|
15317
|
+
* @return {!proto.loyalty.DepositPointLevelLimit} returns this
|
|
15318
|
+
*/
|
|
15319
|
+
proto.loyalty.DepositPointLevelLimit.prototype.setLevelTitle = function(value) {
|
|
15320
|
+
return jspb.Message.setField(this, 5, value);
|
|
15321
|
+
};
|
|
15322
|
+
|
|
15323
|
+
|
|
15324
|
+
/**
|
|
15325
|
+
* Clears the field making it undefined.
|
|
15326
|
+
* @return {!proto.loyalty.DepositPointLevelLimit} returns this
|
|
15327
|
+
*/
|
|
15328
|
+
proto.loyalty.DepositPointLevelLimit.prototype.clearLevelTitle = function() {
|
|
15329
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
15330
|
+
};
|
|
15331
|
+
|
|
15332
|
+
|
|
15333
|
+
/**
|
|
15334
|
+
* Returns whether this field is set.
|
|
15335
|
+
* @return {boolean}
|
|
15336
|
+
*/
|
|
15337
|
+
proto.loyalty.DepositPointLevelLimit.prototype.hasLevelTitle = function() {
|
|
15338
|
+
return jspb.Message.getField(this, 5) != null;
|
|
15339
|
+
};
|
|
15340
|
+
|
|
15341
|
+
|
|
15342
|
+
/**
|
|
15343
|
+
* optional string updated_at = 6;
|
|
15344
|
+
* @return {string}
|
|
15345
|
+
*/
|
|
15346
|
+
proto.loyalty.DepositPointLevelLimit.prototype.getUpdatedAt = function() {
|
|
15347
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
15348
|
+
};
|
|
15349
|
+
|
|
15350
|
+
|
|
15351
|
+
/**
|
|
15352
|
+
* @param {string} value
|
|
15353
|
+
* @return {!proto.loyalty.DepositPointLevelLimit} returns this
|
|
15354
|
+
*/
|
|
15355
|
+
proto.loyalty.DepositPointLevelLimit.prototype.setUpdatedAt = function(value) {
|
|
15356
|
+
return jspb.Message.setField(this, 6, value);
|
|
15357
|
+
};
|
|
15358
|
+
|
|
15359
|
+
|
|
15360
|
+
/**
|
|
15361
|
+
* Clears the field making it undefined.
|
|
15362
|
+
* @return {!proto.loyalty.DepositPointLevelLimit} returns this
|
|
15363
|
+
*/
|
|
15364
|
+
proto.loyalty.DepositPointLevelLimit.prototype.clearUpdatedAt = function() {
|
|
15365
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
15366
|
+
};
|
|
15367
|
+
|
|
15368
|
+
|
|
15369
|
+
/**
|
|
15370
|
+
* Returns whether this field is set.
|
|
15371
|
+
* @return {boolean}
|
|
15372
|
+
*/
|
|
15373
|
+
proto.loyalty.DepositPointLevelLimit.prototype.hasUpdatedAt = function() {
|
|
15374
|
+
return jspb.Message.getField(this, 6) != null;
|
|
15375
|
+
};
|
|
15376
|
+
|
|
15377
|
+
|
|
15378
|
+
|
|
15379
|
+
|
|
15380
|
+
|
|
15381
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15382
|
+
/**
|
|
15383
|
+
* Creates an object representation of this proto.
|
|
15384
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15385
|
+
* Optional fields that are not set will be set to undefined.
|
|
15386
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15387
|
+
* For the list of reserved names please see:
|
|
15388
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15389
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15390
|
+
* JSPB instance for transitional soy proto support:
|
|
15391
|
+
* http://goto/soy-param-migration
|
|
15392
|
+
* @return {!Object}
|
|
15393
|
+
*/
|
|
15394
|
+
proto.loyalty.DepositPointLevelLimitResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15395
|
+
return proto.loyalty.DepositPointLevelLimitResponse.toObject(opt_includeInstance, this);
|
|
15396
|
+
};
|
|
15397
|
+
|
|
15398
|
+
|
|
15399
|
+
/**
|
|
15400
|
+
* Static version of the {@see toObject} method.
|
|
15401
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15402
|
+
* the JSPB instance for transitional soy proto support:
|
|
15403
|
+
* http://goto/soy-param-migration
|
|
15404
|
+
* @param {!proto.loyalty.DepositPointLevelLimitResponse} msg The msg instance to transform.
|
|
15405
|
+
* @return {!Object}
|
|
15406
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15407
|
+
*/
|
|
15408
|
+
proto.loyalty.DepositPointLevelLimitResponse.toObject = function(includeInstance, msg) {
|
|
15409
|
+
var f, obj = {
|
|
15410
|
+
data: (f = msg.getData()) && proto.loyalty.DepositPointLevelLimit.toObject(includeInstance, f)
|
|
15411
|
+
};
|
|
15412
|
+
|
|
15413
|
+
if (includeInstance) {
|
|
15414
|
+
obj.$jspbMessageInstance = msg;
|
|
15415
|
+
}
|
|
15416
|
+
return obj;
|
|
15417
|
+
};
|
|
15418
|
+
}
|
|
15419
|
+
|
|
15420
|
+
|
|
15421
|
+
/**
|
|
15422
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15423
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15424
|
+
* @return {!proto.loyalty.DepositPointLevelLimitResponse}
|
|
15425
|
+
*/
|
|
15426
|
+
proto.loyalty.DepositPointLevelLimitResponse.deserializeBinary = function(bytes) {
|
|
15427
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15428
|
+
var msg = new proto.loyalty.DepositPointLevelLimitResponse;
|
|
15429
|
+
return proto.loyalty.DepositPointLevelLimitResponse.deserializeBinaryFromReader(msg, reader);
|
|
15430
|
+
};
|
|
15431
|
+
|
|
15432
|
+
|
|
15433
|
+
/**
|
|
15434
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15435
|
+
* given reader into the given message object.
|
|
15436
|
+
* @param {!proto.loyalty.DepositPointLevelLimitResponse} msg The message object to deserialize into.
|
|
15437
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15438
|
+
* @return {!proto.loyalty.DepositPointLevelLimitResponse}
|
|
15439
|
+
*/
|
|
15440
|
+
proto.loyalty.DepositPointLevelLimitResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
15441
|
+
while (reader.nextField()) {
|
|
15442
|
+
if (reader.isEndGroup()) {
|
|
15443
|
+
break;
|
|
15444
|
+
}
|
|
15445
|
+
var field = reader.getFieldNumber();
|
|
15446
|
+
switch (field) {
|
|
15447
|
+
case 1:
|
|
15448
|
+
var value = new proto.loyalty.DepositPointLevelLimit;
|
|
15449
|
+
reader.readMessage(value,proto.loyalty.DepositPointLevelLimit.deserializeBinaryFromReader);
|
|
15450
|
+
msg.setData(value);
|
|
15451
|
+
break;
|
|
15452
|
+
default:
|
|
15453
|
+
reader.skipField();
|
|
15454
|
+
break;
|
|
15455
|
+
}
|
|
15456
|
+
}
|
|
15457
|
+
return msg;
|
|
15458
|
+
};
|
|
15459
|
+
|
|
15460
|
+
|
|
15461
|
+
/**
|
|
15462
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15463
|
+
* @return {!Uint8Array}
|
|
15464
|
+
*/
|
|
15465
|
+
proto.loyalty.DepositPointLevelLimitResponse.prototype.serializeBinary = function() {
|
|
15466
|
+
var writer = new jspb.BinaryWriter();
|
|
15467
|
+
proto.loyalty.DepositPointLevelLimitResponse.serializeBinaryToWriter(this, writer);
|
|
15468
|
+
return writer.getResultBuffer();
|
|
15469
|
+
};
|
|
15470
|
+
|
|
15471
|
+
|
|
15472
|
+
/**
|
|
15473
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15474
|
+
* format), writing to the given BinaryWriter.
|
|
15475
|
+
* @param {!proto.loyalty.DepositPointLevelLimitResponse} message
|
|
15476
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15477
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15478
|
+
*/
|
|
15479
|
+
proto.loyalty.DepositPointLevelLimitResponse.serializeBinaryToWriter = function(message, writer) {
|
|
15480
|
+
var f = undefined;
|
|
15481
|
+
f = message.getData();
|
|
15482
|
+
if (f != null) {
|
|
15483
|
+
writer.writeMessage(
|
|
15484
|
+
1,
|
|
15485
|
+
f,
|
|
15486
|
+
proto.loyalty.DepositPointLevelLimit.serializeBinaryToWriter
|
|
15487
|
+
);
|
|
15488
|
+
}
|
|
15489
|
+
};
|
|
15490
|
+
|
|
15491
|
+
|
|
15492
|
+
/**
|
|
15493
|
+
* optional DepositPointLevelLimit data = 1;
|
|
15494
|
+
* @return {?proto.loyalty.DepositPointLevelLimit}
|
|
15495
|
+
*/
|
|
15496
|
+
proto.loyalty.DepositPointLevelLimitResponse.prototype.getData = function() {
|
|
15497
|
+
return /** @type{?proto.loyalty.DepositPointLevelLimit} */ (
|
|
15498
|
+
jspb.Message.getWrapperField(this, proto.loyalty.DepositPointLevelLimit, 1));
|
|
15499
|
+
};
|
|
15500
|
+
|
|
15501
|
+
|
|
15502
|
+
/**
|
|
15503
|
+
* @param {?proto.loyalty.DepositPointLevelLimit|undefined} value
|
|
15504
|
+
* @return {!proto.loyalty.DepositPointLevelLimitResponse} returns this
|
|
15505
|
+
*/
|
|
15506
|
+
proto.loyalty.DepositPointLevelLimitResponse.prototype.setData = function(value) {
|
|
15507
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
15508
|
+
};
|
|
15509
|
+
|
|
15510
|
+
|
|
15511
|
+
/**
|
|
15512
|
+
* Clears the message field making it undefined.
|
|
15513
|
+
* @return {!proto.loyalty.DepositPointLevelLimitResponse} returns this
|
|
15514
|
+
*/
|
|
15515
|
+
proto.loyalty.DepositPointLevelLimitResponse.prototype.clearData = function() {
|
|
15516
|
+
return this.setData(undefined);
|
|
15517
|
+
};
|
|
15518
|
+
|
|
15519
|
+
|
|
15520
|
+
/**
|
|
15521
|
+
* Returns whether this field is set.
|
|
15522
|
+
* @return {boolean}
|
|
15523
|
+
*/
|
|
15524
|
+
proto.loyalty.DepositPointLevelLimitResponse.prototype.hasData = function() {
|
|
15525
|
+
return jspb.Message.getField(this, 1) != null;
|
|
15526
|
+
};
|
|
15527
|
+
|
|
15528
|
+
|
|
15529
|
+
|
|
15530
|
+
/**
|
|
15531
|
+
* List of repeated fields within this message type.
|
|
15532
|
+
* @private {!Array<number>}
|
|
15533
|
+
* @const
|
|
15534
|
+
*/
|
|
15535
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.repeatedFields_ = [1];
|
|
15536
|
+
|
|
15537
|
+
|
|
15538
|
+
|
|
15539
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15540
|
+
/**
|
|
15541
|
+
* Creates an object representation of this proto.
|
|
15542
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15543
|
+
* Optional fields that are not set will be set to undefined.
|
|
15544
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15545
|
+
* For the list of reserved names please see:
|
|
15546
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15547
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15548
|
+
* JSPB instance for transitional soy proto support:
|
|
15549
|
+
* http://goto/soy-param-migration
|
|
15550
|
+
* @return {!Object}
|
|
15551
|
+
*/
|
|
15552
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15553
|
+
return proto.loyalty.DepositPointLevelLimitItemsResponse.toObject(opt_includeInstance, this);
|
|
15554
|
+
};
|
|
15555
|
+
|
|
15556
|
+
|
|
15557
|
+
/**
|
|
15558
|
+
* Static version of the {@see toObject} method.
|
|
15559
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15560
|
+
* the JSPB instance for transitional soy proto support:
|
|
15561
|
+
* http://goto/soy-param-migration
|
|
15562
|
+
* @param {!proto.loyalty.DepositPointLevelLimitItemsResponse} msg The msg instance to transform.
|
|
15563
|
+
* @return {!Object}
|
|
15564
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15565
|
+
*/
|
|
15566
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.toObject = function(includeInstance, msg) {
|
|
15567
|
+
var f, obj = {
|
|
15568
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
15569
|
+
proto.loyalty.DepositPointLevelLimit.toObject, includeInstance),
|
|
15570
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
15571
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
15572
|
+
period: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
15573
|
+
};
|
|
15574
|
+
|
|
15575
|
+
if (includeInstance) {
|
|
15576
|
+
obj.$jspbMessageInstance = msg;
|
|
15577
|
+
}
|
|
15578
|
+
return obj;
|
|
15579
|
+
};
|
|
15580
|
+
}
|
|
15581
|
+
|
|
15582
|
+
|
|
15583
|
+
/**
|
|
15584
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15585
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15586
|
+
* @return {!proto.loyalty.DepositPointLevelLimitItemsResponse}
|
|
15587
|
+
*/
|
|
15588
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.deserializeBinary = function(bytes) {
|
|
15589
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15590
|
+
var msg = new proto.loyalty.DepositPointLevelLimitItemsResponse;
|
|
15591
|
+
return proto.loyalty.DepositPointLevelLimitItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
15592
|
+
};
|
|
15593
|
+
|
|
15594
|
+
|
|
15595
|
+
/**
|
|
15596
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15597
|
+
* given reader into the given message object.
|
|
15598
|
+
* @param {!proto.loyalty.DepositPointLevelLimitItemsResponse} msg The message object to deserialize into.
|
|
15599
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15600
|
+
* @return {!proto.loyalty.DepositPointLevelLimitItemsResponse}
|
|
15601
|
+
*/
|
|
15602
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
15603
|
+
while (reader.nextField()) {
|
|
15604
|
+
if (reader.isEndGroup()) {
|
|
15605
|
+
break;
|
|
15606
|
+
}
|
|
15607
|
+
var field = reader.getFieldNumber();
|
|
15608
|
+
switch (field) {
|
|
15609
|
+
case 1:
|
|
15610
|
+
var value = new proto.loyalty.DepositPointLevelLimit;
|
|
15611
|
+
reader.readMessage(value,proto.loyalty.DepositPointLevelLimit.deserializeBinaryFromReader);
|
|
15612
|
+
msg.addItems(value);
|
|
15613
|
+
break;
|
|
15614
|
+
case 2:
|
|
15615
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
15616
|
+
msg.setTotalPages(value);
|
|
15617
|
+
break;
|
|
15618
|
+
case 3:
|
|
15619
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
15620
|
+
msg.setTotalItems(value);
|
|
15621
|
+
break;
|
|
15622
|
+
case 4:
|
|
15623
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15624
|
+
msg.setPeriod(value);
|
|
15625
|
+
break;
|
|
15626
|
+
default:
|
|
15627
|
+
reader.skipField();
|
|
15628
|
+
break;
|
|
15629
|
+
}
|
|
15630
|
+
}
|
|
15631
|
+
return msg;
|
|
15632
|
+
};
|
|
15633
|
+
|
|
15634
|
+
|
|
15635
|
+
/**
|
|
15636
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15637
|
+
* @return {!Uint8Array}
|
|
15638
|
+
*/
|
|
15639
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.serializeBinary = function() {
|
|
15640
|
+
var writer = new jspb.BinaryWriter();
|
|
15641
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.serializeBinaryToWriter(this, writer);
|
|
15642
|
+
return writer.getResultBuffer();
|
|
15643
|
+
};
|
|
15644
|
+
|
|
15645
|
+
|
|
15646
|
+
/**
|
|
15647
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15648
|
+
* format), writing to the given BinaryWriter.
|
|
15649
|
+
* @param {!proto.loyalty.DepositPointLevelLimitItemsResponse} message
|
|
15650
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15651
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15652
|
+
*/
|
|
15653
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
15654
|
+
var f = undefined;
|
|
15655
|
+
f = message.getItemsList();
|
|
15656
|
+
if (f.length > 0) {
|
|
15657
|
+
writer.writeRepeatedMessage(
|
|
15658
|
+
1,
|
|
15659
|
+
f,
|
|
15660
|
+
proto.loyalty.DepositPointLevelLimit.serializeBinaryToWriter
|
|
15661
|
+
);
|
|
15662
|
+
}
|
|
15663
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
15664
|
+
if (f != null) {
|
|
15665
|
+
writer.writeInt32(
|
|
15666
|
+
2,
|
|
15667
|
+
f
|
|
15668
|
+
);
|
|
15669
|
+
}
|
|
15670
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
15671
|
+
if (f != null) {
|
|
15672
|
+
writer.writeInt32(
|
|
15673
|
+
3,
|
|
15674
|
+
f
|
|
15675
|
+
);
|
|
15676
|
+
}
|
|
15677
|
+
f = message.getPeriod();
|
|
15678
|
+
if (f.length > 0) {
|
|
15679
|
+
writer.writeString(
|
|
15680
|
+
4,
|
|
15681
|
+
f
|
|
15682
|
+
);
|
|
15683
|
+
}
|
|
15684
|
+
};
|
|
15685
|
+
|
|
15686
|
+
|
|
15687
|
+
/**
|
|
15688
|
+
* repeated DepositPointLevelLimit items = 1;
|
|
15689
|
+
* @return {!Array<!proto.loyalty.DepositPointLevelLimit>}
|
|
15690
|
+
*/
|
|
15691
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.getItemsList = function() {
|
|
15692
|
+
return /** @type{!Array<!proto.loyalty.DepositPointLevelLimit>} */ (
|
|
15693
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyalty.DepositPointLevelLimit, 1));
|
|
15694
|
+
};
|
|
15695
|
+
|
|
15696
|
+
|
|
15697
|
+
/**
|
|
15698
|
+
* @param {!Array<!proto.loyalty.DepositPointLevelLimit>} value
|
|
15699
|
+
* @return {!proto.loyalty.DepositPointLevelLimitItemsResponse} returns this
|
|
15700
|
+
*/
|
|
15701
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.setItemsList = function(value) {
|
|
15702
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
15703
|
+
};
|
|
15704
|
+
|
|
15705
|
+
|
|
15706
|
+
/**
|
|
15707
|
+
* @param {!proto.loyalty.DepositPointLevelLimit=} opt_value
|
|
15708
|
+
* @param {number=} opt_index
|
|
15709
|
+
* @return {!proto.loyalty.DepositPointLevelLimit}
|
|
15710
|
+
*/
|
|
15711
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
15712
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.loyalty.DepositPointLevelLimit, opt_index);
|
|
15713
|
+
};
|
|
15714
|
+
|
|
15715
|
+
|
|
15716
|
+
/**
|
|
15717
|
+
* Clears the list making it empty but non-null.
|
|
15718
|
+
* @return {!proto.loyalty.DepositPointLevelLimitItemsResponse} returns this
|
|
15719
|
+
*/
|
|
15720
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.clearItemsList = function() {
|
|
15721
|
+
return this.setItemsList([]);
|
|
15722
|
+
};
|
|
15723
|
+
|
|
15724
|
+
|
|
15725
|
+
/**
|
|
15726
|
+
* optional int32 total_pages = 2;
|
|
15727
|
+
* @return {number}
|
|
15728
|
+
*/
|
|
15729
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.getTotalPages = function() {
|
|
15730
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
15731
|
+
};
|
|
15732
|
+
|
|
15733
|
+
|
|
15734
|
+
/**
|
|
15735
|
+
* @param {number} value
|
|
15736
|
+
* @return {!proto.loyalty.DepositPointLevelLimitItemsResponse} returns this
|
|
15737
|
+
*/
|
|
15738
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.setTotalPages = function(value) {
|
|
15739
|
+
return jspb.Message.setField(this, 2, value);
|
|
15740
|
+
};
|
|
15741
|
+
|
|
15742
|
+
|
|
15743
|
+
/**
|
|
15744
|
+
* Clears the field making it undefined.
|
|
15745
|
+
* @return {!proto.loyalty.DepositPointLevelLimitItemsResponse} returns this
|
|
15746
|
+
*/
|
|
15747
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.clearTotalPages = function() {
|
|
15748
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
15749
|
+
};
|
|
15750
|
+
|
|
15751
|
+
|
|
15752
|
+
/**
|
|
15753
|
+
* Returns whether this field is set.
|
|
15754
|
+
* @return {boolean}
|
|
15755
|
+
*/
|
|
15756
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.hasTotalPages = function() {
|
|
15757
|
+
return jspb.Message.getField(this, 2) != null;
|
|
15758
|
+
};
|
|
15759
|
+
|
|
15760
|
+
|
|
15761
|
+
/**
|
|
15762
|
+
* optional int32 total_items = 3;
|
|
15763
|
+
* @return {number}
|
|
15764
|
+
*/
|
|
15765
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.getTotalItems = function() {
|
|
15766
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
15767
|
+
};
|
|
15768
|
+
|
|
15769
|
+
|
|
15770
|
+
/**
|
|
15771
|
+
* @param {number} value
|
|
15772
|
+
* @return {!proto.loyalty.DepositPointLevelLimitItemsResponse} returns this
|
|
15773
|
+
*/
|
|
15774
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.setTotalItems = function(value) {
|
|
15775
|
+
return jspb.Message.setField(this, 3, value);
|
|
15776
|
+
};
|
|
15777
|
+
|
|
15778
|
+
|
|
15779
|
+
/**
|
|
15780
|
+
* Clears the field making it undefined.
|
|
15781
|
+
* @return {!proto.loyalty.DepositPointLevelLimitItemsResponse} returns this
|
|
15782
|
+
*/
|
|
15783
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.clearTotalItems = function() {
|
|
15784
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
15785
|
+
};
|
|
15786
|
+
|
|
15787
|
+
|
|
15788
|
+
/**
|
|
15789
|
+
* Returns whether this field is set.
|
|
15790
|
+
* @return {boolean}
|
|
15791
|
+
*/
|
|
15792
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.hasTotalItems = function() {
|
|
15793
|
+
return jspb.Message.getField(this, 3) != null;
|
|
15794
|
+
};
|
|
15795
|
+
|
|
15796
|
+
|
|
15797
|
+
/**
|
|
15798
|
+
* optional string period = 4;
|
|
15799
|
+
* @return {string}
|
|
15800
|
+
*/
|
|
15801
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.getPeriod = function() {
|
|
15802
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
15803
|
+
};
|
|
15804
|
+
|
|
15805
|
+
|
|
15806
|
+
/**
|
|
15807
|
+
* @param {string} value
|
|
15808
|
+
* @return {!proto.loyalty.DepositPointLevelLimitItemsResponse} returns this
|
|
15809
|
+
*/
|
|
15810
|
+
proto.loyalty.DepositPointLevelLimitItemsResponse.prototype.setPeriod = function(value) {
|
|
15811
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
15812
|
+
};
|
|
15813
|
+
|
|
15814
|
+
|
|
15815
|
+
|
|
15816
|
+
|
|
15817
|
+
|
|
15818
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15819
|
+
/**
|
|
15820
|
+
* Creates an object representation of this proto.
|
|
15821
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15822
|
+
* Optional fields that are not set will be set to undefined.
|
|
15823
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15824
|
+
* For the list of reserved names please see:
|
|
15825
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15826
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15827
|
+
* JSPB instance for transitional soy proto support:
|
|
15828
|
+
* http://goto/soy-param-migration
|
|
15829
|
+
* @return {!Object}
|
|
15830
|
+
*/
|
|
15831
|
+
proto.loyalty.DepositPointLimitStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15832
|
+
return proto.loyalty.DepositPointLimitStatusResponse.toObject(opt_includeInstance, this);
|
|
15833
|
+
};
|
|
15834
|
+
|
|
15835
|
+
|
|
15836
|
+
/**
|
|
15837
|
+
* Static version of the {@see toObject} method.
|
|
15838
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15839
|
+
* the JSPB instance for transitional soy proto support:
|
|
15840
|
+
* http://goto/soy-param-migration
|
|
15841
|
+
* @param {!proto.loyalty.DepositPointLimitStatusResponse} msg The msg instance to transform.
|
|
15842
|
+
* @return {!Object}
|
|
15843
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15844
|
+
*/
|
|
15845
|
+
proto.loyalty.DepositPointLimitStatusResponse.toObject = function(includeInstance, msg) {
|
|
15846
|
+
var f, obj = {
|
|
15847
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
15848
|
+
};
|
|
15849
|
+
|
|
15850
|
+
if (includeInstance) {
|
|
15851
|
+
obj.$jspbMessageInstance = msg;
|
|
15852
|
+
}
|
|
15853
|
+
return obj;
|
|
15854
|
+
};
|
|
15855
|
+
}
|
|
15856
|
+
|
|
15857
|
+
|
|
15858
|
+
/**
|
|
15859
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15860
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15861
|
+
* @return {!proto.loyalty.DepositPointLimitStatusResponse}
|
|
15862
|
+
*/
|
|
15863
|
+
proto.loyalty.DepositPointLimitStatusResponse.deserializeBinary = function(bytes) {
|
|
15864
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15865
|
+
var msg = new proto.loyalty.DepositPointLimitStatusResponse;
|
|
15866
|
+
return proto.loyalty.DepositPointLimitStatusResponse.deserializeBinaryFromReader(msg, reader);
|
|
15867
|
+
};
|
|
15868
|
+
|
|
15869
|
+
|
|
15870
|
+
/**
|
|
15871
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15872
|
+
* given reader into the given message object.
|
|
15873
|
+
* @param {!proto.loyalty.DepositPointLimitStatusResponse} msg The message object to deserialize into.
|
|
15874
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15875
|
+
* @return {!proto.loyalty.DepositPointLimitStatusResponse}
|
|
15876
|
+
*/
|
|
15877
|
+
proto.loyalty.DepositPointLimitStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
15878
|
+
while (reader.nextField()) {
|
|
15879
|
+
if (reader.isEndGroup()) {
|
|
15880
|
+
break;
|
|
15881
|
+
}
|
|
15882
|
+
var field = reader.getFieldNumber();
|
|
15883
|
+
switch (field) {
|
|
15884
|
+
case 1:
|
|
15885
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15886
|
+
msg.setStatus(value);
|
|
15887
|
+
break;
|
|
15888
|
+
default:
|
|
15889
|
+
reader.skipField();
|
|
15890
|
+
break;
|
|
15891
|
+
}
|
|
15892
|
+
}
|
|
15893
|
+
return msg;
|
|
15894
|
+
};
|
|
15895
|
+
|
|
15896
|
+
|
|
15897
|
+
/**
|
|
15898
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15899
|
+
* @return {!Uint8Array}
|
|
15900
|
+
*/
|
|
15901
|
+
proto.loyalty.DepositPointLimitStatusResponse.prototype.serializeBinary = function() {
|
|
15902
|
+
var writer = new jspb.BinaryWriter();
|
|
15903
|
+
proto.loyalty.DepositPointLimitStatusResponse.serializeBinaryToWriter(this, writer);
|
|
15904
|
+
return writer.getResultBuffer();
|
|
15905
|
+
};
|
|
15906
|
+
|
|
15907
|
+
|
|
15908
|
+
/**
|
|
15909
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15910
|
+
* format), writing to the given BinaryWriter.
|
|
15911
|
+
* @param {!proto.loyalty.DepositPointLimitStatusResponse} message
|
|
15912
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15913
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15914
|
+
*/
|
|
15915
|
+
proto.loyalty.DepositPointLimitStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
|
15916
|
+
var f = undefined;
|
|
15917
|
+
f = message.getStatus();
|
|
15918
|
+
if (f.length > 0) {
|
|
15919
|
+
writer.writeString(
|
|
15920
|
+
1,
|
|
15921
|
+
f
|
|
15922
|
+
);
|
|
15923
|
+
}
|
|
15924
|
+
};
|
|
15925
|
+
|
|
15926
|
+
|
|
15927
|
+
/**
|
|
15928
|
+
* optional string status = 1;
|
|
15929
|
+
* @return {string}
|
|
15930
|
+
*/
|
|
15931
|
+
proto.loyalty.DepositPointLimitStatusResponse.prototype.getStatus = function() {
|
|
15932
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
15933
|
+
};
|
|
15934
|
+
|
|
15935
|
+
|
|
15936
|
+
/**
|
|
15937
|
+
* @param {string} value
|
|
15938
|
+
* @return {!proto.loyalty.DepositPointLimitStatusResponse} returns this
|
|
15939
|
+
*/
|
|
15940
|
+
proto.loyalty.DepositPointLimitStatusResponse.prototype.setStatus = function(value) {
|
|
15941
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
15942
|
+
};
|
|
15943
|
+
|
|
15944
|
+
|
|
14081
15945
|
goog.object.extend(exports, proto.loyalty);
|