protobuf-platform 1.0.206 → 1.0.208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cms/cms.proto +1 -0
- package/cms/cms_pb.js +49 -1
- package/package.json +1 -1
- package/user/user.proto +23 -0
- package/user/user_grpc_pb.js +22 -0
- package/user/user_pb.js +1082 -0
package/cms/cms.proto
CHANGED
package/cms/cms_pb.js
CHANGED
@@ -5779,7 +5779,8 @@ proto.cms.BannerGroupItem.toObject = function(includeInstance, msg) {
|
|
5779
5779
|
geoList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
5780
5780
|
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
5781
5781
|
bannersList: jspb.Message.toObjectList(msg.getBannersList(),
|
5782
|
-
proto.cms.BannerItem.toObject, includeInstance)
|
5782
|
+
proto.cms.BannerItem.toObject, includeInstance),
|
5783
|
+
defaultImage: jspb.Message.getFieldWithDefault(msg, 6, "")
|
5783
5784
|
};
|
5784
5785
|
|
5785
5786
|
if (includeInstance) {
|
@@ -5837,6 +5838,10 @@ proto.cms.BannerGroupItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
5837
5838
|
reader.readMessage(value,proto.cms.BannerItem.deserializeBinaryFromReader);
|
5838
5839
|
msg.addBanners(value);
|
5839
5840
|
break;
|
5841
|
+
case 6:
|
5842
|
+
var value = /** @type {string} */ (reader.readString());
|
5843
|
+
msg.setDefaultImage(value);
|
5844
|
+
break;
|
5840
5845
|
default:
|
5841
5846
|
reader.skipField();
|
5842
5847
|
break;
|
@@ -5902,6 +5907,13 @@ proto.cms.BannerGroupItem.serializeBinaryToWriter = function(message, writer) {
|
|
5902
5907
|
proto.cms.BannerItem.serializeBinaryToWriter
|
5903
5908
|
);
|
5904
5909
|
}
|
5910
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
5911
|
+
if (f != null) {
|
5912
|
+
writer.writeString(
|
5913
|
+
6,
|
5914
|
+
f
|
5915
|
+
);
|
5916
|
+
}
|
5905
5917
|
};
|
5906
5918
|
|
5907
5919
|
|
@@ -6088,6 +6100,42 @@ proto.cms.BannerGroupItem.prototype.clearBannersList = function() {
|
|
6088
6100
|
};
|
6089
6101
|
|
6090
6102
|
|
6103
|
+
/**
|
6104
|
+
* optional string default_image = 6;
|
6105
|
+
* @return {string}
|
6106
|
+
*/
|
6107
|
+
proto.cms.BannerGroupItem.prototype.getDefaultImage = function() {
|
6108
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
6109
|
+
};
|
6110
|
+
|
6111
|
+
|
6112
|
+
/**
|
6113
|
+
* @param {string} value
|
6114
|
+
* @return {!proto.cms.BannerGroupItem} returns this
|
6115
|
+
*/
|
6116
|
+
proto.cms.BannerGroupItem.prototype.setDefaultImage = function(value) {
|
6117
|
+
return jspb.Message.setField(this, 6, value);
|
6118
|
+
};
|
6119
|
+
|
6120
|
+
|
6121
|
+
/**
|
6122
|
+
* Clears the field making it undefined.
|
6123
|
+
* @return {!proto.cms.BannerGroupItem} returns this
|
6124
|
+
*/
|
6125
|
+
proto.cms.BannerGroupItem.prototype.clearDefaultImage = function() {
|
6126
|
+
return jspb.Message.setField(this, 6, undefined);
|
6127
|
+
};
|
6128
|
+
|
6129
|
+
|
6130
|
+
/**
|
6131
|
+
* Returns whether this field is set.
|
6132
|
+
* @return {boolean}
|
6133
|
+
*/
|
6134
|
+
proto.cms.BannerGroupItem.prototype.hasDefaultImage = function() {
|
6135
|
+
return jspb.Message.getField(this, 6) != null;
|
6136
|
+
};
|
6137
|
+
|
6138
|
+
|
6091
6139
|
|
6092
6140
|
|
6093
6141
|
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -14,6 +14,7 @@ service User {
|
|
14
14
|
rpc getSingleRole(GetRoleRequest) returns (Role);
|
15
15
|
//CRUD
|
16
16
|
rpc readListUsers(PaginationRequest) returns (UsersResponse);
|
17
|
+
rpc updateSingleUser(UserRequest) returns (UserDataResponse);
|
17
18
|
//Segments
|
18
19
|
rpc createSingleSegment(SegmentRequest) returns (SegmentResponse);
|
19
20
|
rpc readSingleSegment(GetSegmentRequest) returns (SegmentResponse);
|
@@ -77,6 +78,28 @@ message UserDataRequest {
|
|
77
78
|
int32 id = 1;
|
78
79
|
optional string requested_area = 2;
|
79
80
|
}
|
81
|
+
message UserRequest {
|
82
|
+
optional string email = 1;
|
83
|
+
optional string phone = 2;
|
84
|
+
optional string currency = 3;
|
85
|
+
optional string country = 4;
|
86
|
+
optional string city = 5;
|
87
|
+
optional string first_name = 6;
|
88
|
+
optional string last_name = 7;
|
89
|
+
optional string birthday = 8;
|
90
|
+
optional string locale = 9;
|
91
|
+
optional int32 role_id = 10;
|
92
|
+
optional float balance_real = 11;
|
93
|
+
optional float balance_bonus = 12;
|
94
|
+
optional string balance_type = 13;
|
95
|
+
optional int32 affiliate_id = 14;
|
96
|
+
optional string timezone = 15;
|
97
|
+
optional int32 risk_status_id = 16;
|
98
|
+
optional int32 category_id = 17;
|
99
|
+
optional int32 block_user = 18;
|
100
|
+
optional int32 block_deposit = 19;
|
101
|
+
optional int32 block_bet = 20;
|
102
|
+
}
|
80
103
|
message UserDataResponse {
|
81
104
|
int32 id = 1;
|
82
105
|
string public_id = 2;
|
package/user/user_grpc_pb.js
CHANGED
@@ -202,6 +202,17 @@ function deserialize_user_UserDataResponse(buffer_arg) {
|
|
202
202
|
return user_pb.UserDataResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
203
203
|
}
|
204
204
|
|
205
|
+
function serialize_user_UserRequest(arg) {
|
206
|
+
if (!(arg instanceof user_pb.UserRequest)) {
|
207
|
+
throw new Error('Expected argument of type user.UserRequest');
|
208
|
+
}
|
209
|
+
return Buffer.from(arg.serializeBinary());
|
210
|
+
}
|
211
|
+
|
212
|
+
function deserialize_user_UserRequest(buffer_arg) {
|
213
|
+
return user_pb.UserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
214
|
+
}
|
215
|
+
|
205
216
|
function serialize_user_UsersResponse(arg) {
|
206
217
|
if (!(arg instanceof user_pb.UsersResponse)) {
|
207
218
|
throw new Error('Expected argument of type user.UsersResponse');
|
@@ -306,6 +317,17 @@ readListUsers: {
|
|
306
317
|
responseSerialize: serialize_user_UsersResponse,
|
307
318
|
responseDeserialize: deserialize_user_UsersResponse,
|
308
319
|
},
|
320
|
+
updateSingleUser: {
|
321
|
+
path: '/user.User/updateSingleUser',
|
322
|
+
requestStream: false,
|
323
|
+
responseStream: false,
|
324
|
+
requestType: user_pb.UserRequest,
|
325
|
+
responseType: user_pb.UserDataResponse,
|
326
|
+
requestSerialize: serialize_user_UserRequest,
|
327
|
+
requestDeserialize: deserialize_user_UserRequest,
|
328
|
+
responseSerialize: serialize_user_UserDataResponse,
|
329
|
+
responseDeserialize: deserialize_user_UserDataResponse,
|
330
|
+
},
|
309
331
|
// Segments
|
310
332
|
createSingleSegment: {
|
311
333
|
path: '/user.User/createSingleSegment',
|
package/user/user_pb.js
CHANGED
@@ -41,6 +41,7 @@ goog.exportSymbol('proto.user.SegmentStatusResponse', null, global);
|
|
41
41
|
goog.exportSymbol('proto.user.UserDataRequest', null, global);
|
42
42
|
goog.exportSymbol('proto.user.UserDataResponse', null, global);
|
43
43
|
goog.exportSymbol('proto.user.UserLoyaltyItem', null, global);
|
44
|
+
goog.exportSymbol('proto.user.UserRequest', null, global);
|
44
45
|
goog.exportSymbol('proto.user.UserSearchParams', null, global);
|
45
46
|
goog.exportSymbol('proto.user.UsersResponse', null, global);
|
46
47
|
/**
|
@@ -232,6 +233,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
232
233
|
*/
|
233
234
|
proto.user.UserDataRequest.displayName = 'proto.user.UserDataRequest';
|
234
235
|
}
|
236
|
+
/**
|
237
|
+
* Generated by JsPbCodeGenerator.
|
238
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
239
|
+
* server response, or constructed directly in Javascript. The array is used
|
240
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
241
|
+
* If no data is provided, the constructed object will be empty, but still
|
242
|
+
* valid.
|
243
|
+
* @extends {jspb.Message}
|
244
|
+
* @constructor
|
245
|
+
*/
|
246
|
+
proto.user.UserRequest = function(opt_data) {
|
247
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
248
|
+
};
|
249
|
+
goog.inherits(proto.user.UserRequest, jspb.Message);
|
250
|
+
if (goog.DEBUG && !COMPILED) {
|
251
|
+
/**
|
252
|
+
* @public
|
253
|
+
* @override
|
254
|
+
*/
|
255
|
+
proto.user.UserRequest.displayName = 'proto.user.UserRequest';
|
256
|
+
}
|
235
257
|
/**
|
236
258
|
* Generated by JsPbCodeGenerator.
|
237
259
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -2793,6 +2815,1066 @@ proto.user.UserDataRequest.prototype.hasRequestedArea = function() {
|
|
2793
2815
|
|
2794
2816
|
|
2795
2817
|
|
2818
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
2819
|
+
/**
|
2820
|
+
* Creates an object representation of this proto.
|
2821
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
2822
|
+
* Optional fields that are not set will be set to undefined.
|
2823
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
2824
|
+
* For the list of reserved names please see:
|
2825
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
2826
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
2827
|
+
* JSPB instance for transitional soy proto support:
|
2828
|
+
* http://goto/soy-param-migration
|
2829
|
+
* @return {!Object}
|
2830
|
+
*/
|
2831
|
+
proto.user.UserRequest.prototype.toObject = function(opt_includeInstance) {
|
2832
|
+
return proto.user.UserRequest.toObject(opt_includeInstance, this);
|
2833
|
+
};
|
2834
|
+
|
2835
|
+
|
2836
|
+
/**
|
2837
|
+
* Static version of the {@see toObject} method.
|
2838
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
2839
|
+
* the JSPB instance for transitional soy proto support:
|
2840
|
+
* http://goto/soy-param-migration
|
2841
|
+
* @param {!proto.user.UserRequest} msg The msg instance to transform.
|
2842
|
+
* @return {!Object}
|
2843
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2844
|
+
*/
|
2845
|
+
proto.user.UserRequest.toObject = function(includeInstance, msg) {
|
2846
|
+
var f, obj = {
|
2847
|
+
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
2848
|
+
phone: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2849
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
2850
|
+
country: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
2851
|
+
city: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
2852
|
+
firstName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
2853
|
+
lastName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
2854
|
+
birthday: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
2855
|
+
locale: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
2856
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
2857
|
+
balanceReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
2858
|
+
balanceBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
2859
|
+
balanceType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
2860
|
+
affiliateId: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
2861
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
2862
|
+
riskStatusId: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
2863
|
+
categoryId: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
2864
|
+
blockUser: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
2865
|
+
blockDeposit: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
2866
|
+
blockBet: jspb.Message.getFieldWithDefault(msg, 20, 0)
|
2867
|
+
};
|
2868
|
+
|
2869
|
+
if (includeInstance) {
|
2870
|
+
obj.$jspbMessageInstance = msg;
|
2871
|
+
}
|
2872
|
+
return obj;
|
2873
|
+
};
|
2874
|
+
}
|
2875
|
+
|
2876
|
+
|
2877
|
+
/**
|
2878
|
+
* Deserializes binary data (in protobuf wire format).
|
2879
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
2880
|
+
* @return {!proto.user.UserRequest}
|
2881
|
+
*/
|
2882
|
+
proto.user.UserRequest.deserializeBinary = function(bytes) {
|
2883
|
+
var reader = new jspb.BinaryReader(bytes);
|
2884
|
+
var msg = new proto.user.UserRequest;
|
2885
|
+
return proto.user.UserRequest.deserializeBinaryFromReader(msg, reader);
|
2886
|
+
};
|
2887
|
+
|
2888
|
+
|
2889
|
+
/**
|
2890
|
+
* Deserializes binary data (in protobuf wire format) from the
|
2891
|
+
* given reader into the given message object.
|
2892
|
+
* @param {!proto.user.UserRequest} msg The message object to deserialize into.
|
2893
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
2894
|
+
* @return {!proto.user.UserRequest}
|
2895
|
+
*/
|
2896
|
+
proto.user.UserRequest.deserializeBinaryFromReader = function(msg, reader) {
|
2897
|
+
while (reader.nextField()) {
|
2898
|
+
if (reader.isEndGroup()) {
|
2899
|
+
break;
|
2900
|
+
}
|
2901
|
+
var field = reader.getFieldNumber();
|
2902
|
+
switch (field) {
|
2903
|
+
case 1:
|
2904
|
+
var value = /** @type {string} */ (reader.readString());
|
2905
|
+
msg.setEmail(value);
|
2906
|
+
break;
|
2907
|
+
case 2:
|
2908
|
+
var value = /** @type {string} */ (reader.readString());
|
2909
|
+
msg.setPhone(value);
|
2910
|
+
break;
|
2911
|
+
case 3:
|
2912
|
+
var value = /** @type {string} */ (reader.readString());
|
2913
|
+
msg.setCurrency(value);
|
2914
|
+
break;
|
2915
|
+
case 4:
|
2916
|
+
var value = /** @type {string} */ (reader.readString());
|
2917
|
+
msg.setCountry(value);
|
2918
|
+
break;
|
2919
|
+
case 5:
|
2920
|
+
var value = /** @type {string} */ (reader.readString());
|
2921
|
+
msg.setCity(value);
|
2922
|
+
break;
|
2923
|
+
case 6:
|
2924
|
+
var value = /** @type {string} */ (reader.readString());
|
2925
|
+
msg.setFirstName(value);
|
2926
|
+
break;
|
2927
|
+
case 7:
|
2928
|
+
var value = /** @type {string} */ (reader.readString());
|
2929
|
+
msg.setLastName(value);
|
2930
|
+
break;
|
2931
|
+
case 8:
|
2932
|
+
var value = /** @type {string} */ (reader.readString());
|
2933
|
+
msg.setBirthday(value);
|
2934
|
+
break;
|
2935
|
+
case 9:
|
2936
|
+
var value = /** @type {string} */ (reader.readString());
|
2937
|
+
msg.setLocale(value);
|
2938
|
+
break;
|
2939
|
+
case 10:
|
2940
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2941
|
+
msg.setRoleId(value);
|
2942
|
+
break;
|
2943
|
+
case 11:
|
2944
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2945
|
+
msg.setBalanceReal(value);
|
2946
|
+
break;
|
2947
|
+
case 12:
|
2948
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2949
|
+
msg.setBalanceBonus(value);
|
2950
|
+
break;
|
2951
|
+
case 13:
|
2952
|
+
var value = /** @type {string} */ (reader.readString());
|
2953
|
+
msg.setBalanceType(value);
|
2954
|
+
break;
|
2955
|
+
case 14:
|
2956
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2957
|
+
msg.setAffiliateId(value);
|
2958
|
+
break;
|
2959
|
+
case 15:
|
2960
|
+
var value = /** @type {string} */ (reader.readString());
|
2961
|
+
msg.setTimezone(value);
|
2962
|
+
break;
|
2963
|
+
case 16:
|
2964
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2965
|
+
msg.setRiskStatusId(value);
|
2966
|
+
break;
|
2967
|
+
case 17:
|
2968
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2969
|
+
msg.setCategoryId(value);
|
2970
|
+
break;
|
2971
|
+
case 18:
|
2972
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2973
|
+
msg.setBlockUser(value);
|
2974
|
+
break;
|
2975
|
+
case 19:
|
2976
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2977
|
+
msg.setBlockDeposit(value);
|
2978
|
+
break;
|
2979
|
+
case 20:
|
2980
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2981
|
+
msg.setBlockBet(value);
|
2982
|
+
break;
|
2983
|
+
default:
|
2984
|
+
reader.skipField();
|
2985
|
+
break;
|
2986
|
+
}
|
2987
|
+
}
|
2988
|
+
return msg;
|
2989
|
+
};
|
2990
|
+
|
2991
|
+
|
2992
|
+
/**
|
2993
|
+
* Serializes the message to binary data (in protobuf wire format).
|
2994
|
+
* @return {!Uint8Array}
|
2995
|
+
*/
|
2996
|
+
proto.user.UserRequest.prototype.serializeBinary = function() {
|
2997
|
+
var writer = new jspb.BinaryWriter();
|
2998
|
+
proto.user.UserRequest.serializeBinaryToWriter(this, writer);
|
2999
|
+
return writer.getResultBuffer();
|
3000
|
+
};
|
3001
|
+
|
3002
|
+
|
3003
|
+
/**
|
3004
|
+
* Serializes the given message to binary data (in protobuf wire
|
3005
|
+
* format), writing to the given BinaryWriter.
|
3006
|
+
* @param {!proto.user.UserRequest} message
|
3007
|
+
* @param {!jspb.BinaryWriter} writer
|
3008
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3009
|
+
*/
|
3010
|
+
proto.user.UserRequest.serializeBinaryToWriter = function(message, writer) {
|
3011
|
+
var f = undefined;
|
3012
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
3013
|
+
if (f != null) {
|
3014
|
+
writer.writeString(
|
3015
|
+
1,
|
3016
|
+
f
|
3017
|
+
);
|
3018
|
+
}
|
3019
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
3020
|
+
if (f != null) {
|
3021
|
+
writer.writeString(
|
3022
|
+
2,
|
3023
|
+
f
|
3024
|
+
);
|
3025
|
+
}
|
3026
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
3027
|
+
if (f != null) {
|
3028
|
+
writer.writeString(
|
3029
|
+
3,
|
3030
|
+
f
|
3031
|
+
);
|
3032
|
+
}
|
3033
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
3034
|
+
if (f != null) {
|
3035
|
+
writer.writeString(
|
3036
|
+
4,
|
3037
|
+
f
|
3038
|
+
);
|
3039
|
+
}
|
3040
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
3041
|
+
if (f != null) {
|
3042
|
+
writer.writeString(
|
3043
|
+
5,
|
3044
|
+
f
|
3045
|
+
);
|
3046
|
+
}
|
3047
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
3048
|
+
if (f != null) {
|
3049
|
+
writer.writeString(
|
3050
|
+
6,
|
3051
|
+
f
|
3052
|
+
);
|
3053
|
+
}
|
3054
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
3055
|
+
if (f != null) {
|
3056
|
+
writer.writeString(
|
3057
|
+
7,
|
3058
|
+
f
|
3059
|
+
);
|
3060
|
+
}
|
3061
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
3062
|
+
if (f != null) {
|
3063
|
+
writer.writeString(
|
3064
|
+
8,
|
3065
|
+
f
|
3066
|
+
);
|
3067
|
+
}
|
3068
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
3069
|
+
if (f != null) {
|
3070
|
+
writer.writeString(
|
3071
|
+
9,
|
3072
|
+
f
|
3073
|
+
);
|
3074
|
+
}
|
3075
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
3076
|
+
if (f != null) {
|
3077
|
+
writer.writeInt32(
|
3078
|
+
10,
|
3079
|
+
f
|
3080
|
+
);
|
3081
|
+
}
|
3082
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
3083
|
+
if (f != null) {
|
3084
|
+
writer.writeFloat(
|
3085
|
+
11,
|
3086
|
+
f
|
3087
|
+
);
|
3088
|
+
}
|
3089
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
3090
|
+
if (f != null) {
|
3091
|
+
writer.writeFloat(
|
3092
|
+
12,
|
3093
|
+
f
|
3094
|
+
);
|
3095
|
+
}
|
3096
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
3097
|
+
if (f != null) {
|
3098
|
+
writer.writeString(
|
3099
|
+
13,
|
3100
|
+
f
|
3101
|
+
);
|
3102
|
+
}
|
3103
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
3104
|
+
if (f != null) {
|
3105
|
+
writer.writeInt32(
|
3106
|
+
14,
|
3107
|
+
f
|
3108
|
+
);
|
3109
|
+
}
|
3110
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
3111
|
+
if (f != null) {
|
3112
|
+
writer.writeString(
|
3113
|
+
15,
|
3114
|
+
f
|
3115
|
+
);
|
3116
|
+
}
|
3117
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
3118
|
+
if (f != null) {
|
3119
|
+
writer.writeInt32(
|
3120
|
+
16,
|
3121
|
+
f
|
3122
|
+
);
|
3123
|
+
}
|
3124
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
3125
|
+
if (f != null) {
|
3126
|
+
writer.writeInt32(
|
3127
|
+
17,
|
3128
|
+
f
|
3129
|
+
);
|
3130
|
+
}
|
3131
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
3132
|
+
if (f != null) {
|
3133
|
+
writer.writeInt32(
|
3134
|
+
18,
|
3135
|
+
f
|
3136
|
+
);
|
3137
|
+
}
|
3138
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 19));
|
3139
|
+
if (f != null) {
|
3140
|
+
writer.writeInt32(
|
3141
|
+
19,
|
3142
|
+
f
|
3143
|
+
);
|
3144
|
+
}
|
3145
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 20));
|
3146
|
+
if (f != null) {
|
3147
|
+
writer.writeInt32(
|
3148
|
+
20,
|
3149
|
+
f
|
3150
|
+
);
|
3151
|
+
}
|
3152
|
+
};
|
3153
|
+
|
3154
|
+
|
3155
|
+
/**
|
3156
|
+
* optional string email = 1;
|
3157
|
+
* @return {string}
|
3158
|
+
*/
|
3159
|
+
proto.user.UserRequest.prototype.getEmail = function() {
|
3160
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3161
|
+
};
|
3162
|
+
|
3163
|
+
|
3164
|
+
/**
|
3165
|
+
* @param {string} value
|
3166
|
+
* @return {!proto.user.UserRequest} returns this
|
3167
|
+
*/
|
3168
|
+
proto.user.UserRequest.prototype.setEmail = function(value) {
|
3169
|
+
return jspb.Message.setField(this, 1, value);
|
3170
|
+
};
|
3171
|
+
|
3172
|
+
|
3173
|
+
/**
|
3174
|
+
* Clears the field making it undefined.
|
3175
|
+
* @return {!proto.user.UserRequest} returns this
|
3176
|
+
*/
|
3177
|
+
proto.user.UserRequest.prototype.clearEmail = function() {
|
3178
|
+
return jspb.Message.setField(this, 1, undefined);
|
3179
|
+
};
|
3180
|
+
|
3181
|
+
|
3182
|
+
/**
|
3183
|
+
* Returns whether this field is set.
|
3184
|
+
* @return {boolean}
|
3185
|
+
*/
|
3186
|
+
proto.user.UserRequest.prototype.hasEmail = function() {
|
3187
|
+
return jspb.Message.getField(this, 1) != null;
|
3188
|
+
};
|
3189
|
+
|
3190
|
+
|
3191
|
+
/**
|
3192
|
+
* optional string phone = 2;
|
3193
|
+
* @return {string}
|
3194
|
+
*/
|
3195
|
+
proto.user.UserRequest.prototype.getPhone = function() {
|
3196
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3197
|
+
};
|
3198
|
+
|
3199
|
+
|
3200
|
+
/**
|
3201
|
+
* @param {string} value
|
3202
|
+
* @return {!proto.user.UserRequest} returns this
|
3203
|
+
*/
|
3204
|
+
proto.user.UserRequest.prototype.setPhone = function(value) {
|
3205
|
+
return jspb.Message.setField(this, 2, value);
|
3206
|
+
};
|
3207
|
+
|
3208
|
+
|
3209
|
+
/**
|
3210
|
+
* Clears the field making it undefined.
|
3211
|
+
* @return {!proto.user.UserRequest} returns this
|
3212
|
+
*/
|
3213
|
+
proto.user.UserRequest.prototype.clearPhone = function() {
|
3214
|
+
return jspb.Message.setField(this, 2, undefined);
|
3215
|
+
};
|
3216
|
+
|
3217
|
+
|
3218
|
+
/**
|
3219
|
+
* Returns whether this field is set.
|
3220
|
+
* @return {boolean}
|
3221
|
+
*/
|
3222
|
+
proto.user.UserRequest.prototype.hasPhone = function() {
|
3223
|
+
return jspb.Message.getField(this, 2) != null;
|
3224
|
+
};
|
3225
|
+
|
3226
|
+
|
3227
|
+
/**
|
3228
|
+
* optional string currency = 3;
|
3229
|
+
* @return {string}
|
3230
|
+
*/
|
3231
|
+
proto.user.UserRequest.prototype.getCurrency = function() {
|
3232
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
3233
|
+
};
|
3234
|
+
|
3235
|
+
|
3236
|
+
/**
|
3237
|
+
* @param {string} value
|
3238
|
+
* @return {!proto.user.UserRequest} returns this
|
3239
|
+
*/
|
3240
|
+
proto.user.UserRequest.prototype.setCurrency = function(value) {
|
3241
|
+
return jspb.Message.setField(this, 3, value);
|
3242
|
+
};
|
3243
|
+
|
3244
|
+
|
3245
|
+
/**
|
3246
|
+
* Clears the field making it undefined.
|
3247
|
+
* @return {!proto.user.UserRequest} returns this
|
3248
|
+
*/
|
3249
|
+
proto.user.UserRequest.prototype.clearCurrency = function() {
|
3250
|
+
return jspb.Message.setField(this, 3, undefined);
|
3251
|
+
};
|
3252
|
+
|
3253
|
+
|
3254
|
+
/**
|
3255
|
+
* Returns whether this field is set.
|
3256
|
+
* @return {boolean}
|
3257
|
+
*/
|
3258
|
+
proto.user.UserRequest.prototype.hasCurrency = function() {
|
3259
|
+
return jspb.Message.getField(this, 3) != null;
|
3260
|
+
};
|
3261
|
+
|
3262
|
+
|
3263
|
+
/**
|
3264
|
+
* optional string country = 4;
|
3265
|
+
* @return {string}
|
3266
|
+
*/
|
3267
|
+
proto.user.UserRequest.prototype.getCountry = function() {
|
3268
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
3269
|
+
};
|
3270
|
+
|
3271
|
+
|
3272
|
+
/**
|
3273
|
+
* @param {string} value
|
3274
|
+
* @return {!proto.user.UserRequest} returns this
|
3275
|
+
*/
|
3276
|
+
proto.user.UserRequest.prototype.setCountry = function(value) {
|
3277
|
+
return jspb.Message.setField(this, 4, value);
|
3278
|
+
};
|
3279
|
+
|
3280
|
+
|
3281
|
+
/**
|
3282
|
+
* Clears the field making it undefined.
|
3283
|
+
* @return {!proto.user.UserRequest} returns this
|
3284
|
+
*/
|
3285
|
+
proto.user.UserRequest.prototype.clearCountry = function() {
|
3286
|
+
return jspb.Message.setField(this, 4, undefined);
|
3287
|
+
};
|
3288
|
+
|
3289
|
+
|
3290
|
+
/**
|
3291
|
+
* Returns whether this field is set.
|
3292
|
+
* @return {boolean}
|
3293
|
+
*/
|
3294
|
+
proto.user.UserRequest.prototype.hasCountry = function() {
|
3295
|
+
return jspb.Message.getField(this, 4) != null;
|
3296
|
+
};
|
3297
|
+
|
3298
|
+
|
3299
|
+
/**
|
3300
|
+
* optional string city = 5;
|
3301
|
+
* @return {string}
|
3302
|
+
*/
|
3303
|
+
proto.user.UserRequest.prototype.getCity = function() {
|
3304
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
3305
|
+
};
|
3306
|
+
|
3307
|
+
|
3308
|
+
/**
|
3309
|
+
* @param {string} value
|
3310
|
+
* @return {!proto.user.UserRequest} returns this
|
3311
|
+
*/
|
3312
|
+
proto.user.UserRequest.prototype.setCity = function(value) {
|
3313
|
+
return jspb.Message.setField(this, 5, value);
|
3314
|
+
};
|
3315
|
+
|
3316
|
+
|
3317
|
+
/**
|
3318
|
+
* Clears the field making it undefined.
|
3319
|
+
* @return {!proto.user.UserRequest} returns this
|
3320
|
+
*/
|
3321
|
+
proto.user.UserRequest.prototype.clearCity = function() {
|
3322
|
+
return jspb.Message.setField(this, 5, undefined);
|
3323
|
+
};
|
3324
|
+
|
3325
|
+
|
3326
|
+
/**
|
3327
|
+
* Returns whether this field is set.
|
3328
|
+
* @return {boolean}
|
3329
|
+
*/
|
3330
|
+
proto.user.UserRequest.prototype.hasCity = function() {
|
3331
|
+
return jspb.Message.getField(this, 5) != null;
|
3332
|
+
};
|
3333
|
+
|
3334
|
+
|
3335
|
+
/**
|
3336
|
+
* optional string first_name = 6;
|
3337
|
+
* @return {string}
|
3338
|
+
*/
|
3339
|
+
proto.user.UserRequest.prototype.getFirstName = function() {
|
3340
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
3341
|
+
};
|
3342
|
+
|
3343
|
+
|
3344
|
+
/**
|
3345
|
+
* @param {string} value
|
3346
|
+
* @return {!proto.user.UserRequest} returns this
|
3347
|
+
*/
|
3348
|
+
proto.user.UserRequest.prototype.setFirstName = function(value) {
|
3349
|
+
return jspb.Message.setField(this, 6, value);
|
3350
|
+
};
|
3351
|
+
|
3352
|
+
|
3353
|
+
/**
|
3354
|
+
* Clears the field making it undefined.
|
3355
|
+
* @return {!proto.user.UserRequest} returns this
|
3356
|
+
*/
|
3357
|
+
proto.user.UserRequest.prototype.clearFirstName = function() {
|
3358
|
+
return jspb.Message.setField(this, 6, undefined);
|
3359
|
+
};
|
3360
|
+
|
3361
|
+
|
3362
|
+
/**
|
3363
|
+
* Returns whether this field is set.
|
3364
|
+
* @return {boolean}
|
3365
|
+
*/
|
3366
|
+
proto.user.UserRequest.prototype.hasFirstName = function() {
|
3367
|
+
return jspb.Message.getField(this, 6) != null;
|
3368
|
+
};
|
3369
|
+
|
3370
|
+
|
3371
|
+
/**
|
3372
|
+
* optional string last_name = 7;
|
3373
|
+
* @return {string}
|
3374
|
+
*/
|
3375
|
+
proto.user.UserRequest.prototype.getLastName = function() {
|
3376
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
3377
|
+
};
|
3378
|
+
|
3379
|
+
|
3380
|
+
/**
|
3381
|
+
* @param {string} value
|
3382
|
+
* @return {!proto.user.UserRequest} returns this
|
3383
|
+
*/
|
3384
|
+
proto.user.UserRequest.prototype.setLastName = function(value) {
|
3385
|
+
return jspb.Message.setField(this, 7, value);
|
3386
|
+
};
|
3387
|
+
|
3388
|
+
|
3389
|
+
/**
|
3390
|
+
* Clears the field making it undefined.
|
3391
|
+
* @return {!proto.user.UserRequest} returns this
|
3392
|
+
*/
|
3393
|
+
proto.user.UserRequest.prototype.clearLastName = function() {
|
3394
|
+
return jspb.Message.setField(this, 7, undefined);
|
3395
|
+
};
|
3396
|
+
|
3397
|
+
|
3398
|
+
/**
|
3399
|
+
* Returns whether this field is set.
|
3400
|
+
* @return {boolean}
|
3401
|
+
*/
|
3402
|
+
proto.user.UserRequest.prototype.hasLastName = function() {
|
3403
|
+
return jspb.Message.getField(this, 7) != null;
|
3404
|
+
};
|
3405
|
+
|
3406
|
+
|
3407
|
+
/**
|
3408
|
+
* optional string birthday = 8;
|
3409
|
+
* @return {string}
|
3410
|
+
*/
|
3411
|
+
proto.user.UserRequest.prototype.getBirthday = function() {
|
3412
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
3413
|
+
};
|
3414
|
+
|
3415
|
+
|
3416
|
+
/**
|
3417
|
+
* @param {string} value
|
3418
|
+
* @return {!proto.user.UserRequest} returns this
|
3419
|
+
*/
|
3420
|
+
proto.user.UserRequest.prototype.setBirthday = function(value) {
|
3421
|
+
return jspb.Message.setField(this, 8, value);
|
3422
|
+
};
|
3423
|
+
|
3424
|
+
|
3425
|
+
/**
|
3426
|
+
* Clears the field making it undefined.
|
3427
|
+
* @return {!proto.user.UserRequest} returns this
|
3428
|
+
*/
|
3429
|
+
proto.user.UserRequest.prototype.clearBirthday = function() {
|
3430
|
+
return jspb.Message.setField(this, 8, undefined);
|
3431
|
+
};
|
3432
|
+
|
3433
|
+
|
3434
|
+
/**
|
3435
|
+
* Returns whether this field is set.
|
3436
|
+
* @return {boolean}
|
3437
|
+
*/
|
3438
|
+
proto.user.UserRequest.prototype.hasBirthday = function() {
|
3439
|
+
return jspb.Message.getField(this, 8) != null;
|
3440
|
+
};
|
3441
|
+
|
3442
|
+
|
3443
|
+
/**
|
3444
|
+
* optional string locale = 9;
|
3445
|
+
* @return {string}
|
3446
|
+
*/
|
3447
|
+
proto.user.UserRequest.prototype.getLocale = function() {
|
3448
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
3449
|
+
};
|
3450
|
+
|
3451
|
+
|
3452
|
+
/**
|
3453
|
+
* @param {string} value
|
3454
|
+
* @return {!proto.user.UserRequest} returns this
|
3455
|
+
*/
|
3456
|
+
proto.user.UserRequest.prototype.setLocale = function(value) {
|
3457
|
+
return jspb.Message.setField(this, 9, value);
|
3458
|
+
};
|
3459
|
+
|
3460
|
+
|
3461
|
+
/**
|
3462
|
+
* Clears the field making it undefined.
|
3463
|
+
* @return {!proto.user.UserRequest} returns this
|
3464
|
+
*/
|
3465
|
+
proto.user.UserRequest.prototype.clearLocale = function() {
|
3466
|
+
return jspb.Message.setField(this, 9, undefined);
|
3467
|
+
};
|
3468
|
+
|
3469
|
+
|
3470
|
+
/**
|
3471
|
+
* Returns whether this field is set.
|
3472
|
+
* @return {boolean}
|
3473
|
+
*/
|
3474
|
+
proto.user.UserRequest.prototype.hasLocale = function() {
|
3475
|
+
return jspb.Message.getField(this, 9) != null;
|
3476
|
+
};
|
3477
|
+
|
3478
|
+
|
3479
|
+
/**
|
3480
|
+
* optional int32 role_id = 10;
|
3481
|
+
* @return {number}
|
3482
|
+
*/
|
3483
|
+
proto.user.UserRequest.prototype.getRoleId = function() {
|
3484
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
3485
|
+
};
|
3486
|
+
|
3487
|
+
|
3488
|
+
/**
|
3489
|
+
* @param {number} value
|
3490
|
+
* @return {!proto.user.UserRequest} returns this
|
3491
|
+
*/
|
3492
|
+
proto.user.UserRequest.prototype.setRoleId = function(value) {
|
3493
|
+
return jspb.Message.setField(this, 10, value);
|
3494
|
+
};
|
3495
|
+
|
3496
|
+
|
3497
|
+
/**
|
3498
|
+
* Clears the field making it undefined.
|
3499
|
+
* @return {!proto.user.UserRequest} returns this
|
3500
|
+
*/
|
3501
|
+
proto.user.UserRequest.prototype.clearRoleId = function() {
|
3502
|
+
return jspb.Message.setField(this, 10, undefined);
|
3503
|
+
};
|
3504
|
+
|
3505
|
+
|
3506
|
+
/**
|
3507
|
+
* Returns whether this field is set.
|
3508
|
+
* @return {boolean}
|
3509
|
+
*/
|
3510
|
+
proto.user.UserRequest.prototype.hasRoleId = function() {
|
3511
|
+
return jspb.Message.getField(this, 10) != null;
|
3512
|
+
};
|
3513
|
+
|
3514
|
+
|
3515
|
+
/**
|
3516
|
+
* optional float balance_real = 11;
|
3517
|
+
* @return {number}
|
3518
|
+
*/
|
3519
|
+
proto.user.UserRequest.prototype.getBalanceReal = function() {
|
3520
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
3521
|
+
};
|
3522
|
+
|
3523
|
+
|
3524
|
+
/**
|
3525
|
+
* @param {number} value
|
3526
|
+
* @return {!proto.user.UserRequest} returns this
|
3527
|
+
*/
|
3528
|
+
proto.user.UserRequest.prototype.setBalanceReal = function(value) {
|
3529
|
+
return jspb.Message.setField(this, 11, value);
|
3530
|
+
};
|
3531
|
+
|
3532
|
+
|
3533
|
+
/**
|
3534
|
+
* Clears the field making it undefined.
|
3535
|
+
* @return {!proto.user.UserRequest} returns this
|
3536
|
+
*/
|
3537
|
+
proto.user.UserRequest.prototype.clearBalanceReal = function() {
|
3538
|
+
return jspb.Message.setField(this, 11, undefined);
|
3539
|
+
};
|
3540
|
+
|
3541
|
+
|
3542
|
+
/**
|
3543
|
+
* Returns whether this field is set.
|
3544
|
+
* @return {boolean}
|
3545
|
+
*/
|
3546
|
+
proto.user.UserRequest.prototype.hasBalanceReal = function() {
|
3547
|
+
return jspb.Message.getField(this, 11) != null;
|
3548
|
+
};
|
3549
|
+
|
3550
|
+
|
3551
|
+
/**
|
3552
|
+
* optional float balance_bonus = 12;
|
3553
|
+
* @return {number}
|
3554
|
+
*/
|
3555
|
+
proto.user.UserRequest.prototype.getBalanceBonus = function() {
|
3556
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
3557
|
+
};
|
3558
|
+
|
3559
|
+
|
3560
|
+
/**
|
3561
|
+
* @param {number} value
|
3562
|
+
* @return {!proto.user.UserRequest} returns this
|
3563
|
+
*/
|
3564
|
+
proto.user.UserRequest.prototype.setBalanceBonus = function(value) {
|
3565
|
+
return jspb.Message.setField(this, 12, value);
|
3566
|
+
};
|
3567
|
+
|
3568
|
+
|
3569
|
+
/**
|
3570
|
+
* Clears the field making it undefined.
|
3571
|
+
* @return {!proto.user.UserRequest} returns this
|
3572
|
+
*/
|
3573
|
+
proto.user.UserRequest.prototype.clearBalanceBonus = function() {
|
3574
|
+
return jspb.Message.setField(this, 12, undefined);
|
3575
|
+
};
|
3576
|
+
|
3577
|
+
|
3578
|
+
/**
|
3579
|
+
* Returns whether this field is set.
|
3580
|
+
* @return {boolean}
|
3581
|
+
*/
|
3582
|
+
proto.user.UserRequest.prototype.hasBalanceBonus = function() {
|
3583
|
+
return jspb.Message.getField(this, 12) != null;
|
3584
|
+
};
|
3585
|
+
|
3586
|
+
|
3587
|
+
/**
|
3588
|
+
* optional string balance_type = 13;
|
3589
|
+
* @return {string}
|
3590
|
+
*/
|
3591
|
+
proto.user.UserRequest.prototype.getBalanceType = function() {
|
3592
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
3593
|
+
};
|
3594
|
+
|
3595
|
+
|
3596
|
+
/**
|
3597
|
+
* @param {string} value
|
3598
|
+
* @return {!proto.user.UserRequest} returns this
|
3599
|
+
*/
|
3600
|
+
proto.user.UserRequest.prototype.setBalanceType = function(value) {
|
3601
|
+
return jspb.Message.setField(this, 13, value);
|
3602
|
+
};
|
3603
|
+
|
3604
|
+
|
3605
|
+
/**
|
3606
|
+
* Clears the field making it undefined.
|
3607
|
+
* @return {!proto.user.UserRequest} returns this
|
3608
|
+
*/
|
3609
|
+
proto.user.UserRequest.prototype.clearBalanceType = function() {
|
3610
|
+
return jspb.Message.setField(this, 13, undefined);
|
3611
|
+
};
|
3612
|
+
|
3613
|
+
|
3614
|
+
/**
|
3615
|
+
* Returns whether this field is set.
|
3616
|
+
* @return {boolean}
|
3617
|
+
*/
|
3618
|
+
proto.user.UserRequest.prototype.hasBalanceType = function() {
|
3619
|
+
return jspb.Message.getField(this, 13) != null;
|
3620
|
+
};
|
3621
|
+
|
3622
|
+
|
3623
|
+
/**
|
3624
|
+
* optional int32 affiliate_id = 14;
|
3625
|
+
* @return {number}
|
3626
|
+
*/
|
3627
|
+
proto.user.UserRequest.prototype.getAffiliateId = function() {
|
3628
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
3629
|
+
};
|
3630
|
+
|
3631
|
+
|
3632
|
+
/**
|
3633
|
+
* @param {number} value
|
3634
|
+
* @return {!proto.user.UserRequest} returns this
|
3635
|
+
*/
|
3636
|
+
proto.user.UserRequest.prototype.setAffiliateId = function(value) {
|
3637
|
+
return jspb.Message.setField(this, 14, value);
|
3638
|
+
};
|
3639
|
+
|
3640
|
+
|
3641
|
+
/**
|
3642
|
+
* Clears the field making it undefined.
|
3643
|
+
* @return {!proto.user.UserRequest} returns this
|
3644
|
+
*/
|
3645
|
+
proto.user.UserRequest.prototype.clearAffiliateId = function() {
|
3646
|
+
return jspb.Message.setField(this, 14, undefined);
|
3647
|
+
};
|
3648
|
+
|
3649
|
+
|
3650
|
+
/**
|
3651
|
+
* Returns whether this field is set.
|
3652
|
+
* @return {boolean}
|
3653
|
+
*/
|
3654
|
+
proto.user.UserRequest.prototype.hasAffiliateId = function() {
|
3655
|
+
return jspb.Message.getField(this, 14) != null;
|
3656
|
+
};
|
3657
|
+
|
3658
|
+
|
3659
|
+
/**
|
3660
|
+
* optional string timezone = 15;
|
3661
|
+
* @return {string}
|
3662
|
+
*/
|
3663
|
+
proto.user.UserRequest.prototype.getTimezone = function() {
|
3664
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
3665
|
+
};
|
3666
|
+
|
3667
|
+
|
3668
|
+
/**
|
3669
|
+
* @param {string} value
|
3670
|
+
* @return {!proto.user.UserRequest} returns this
|
3671
|
+
*/
|
3672
|
+
proto.user.UserRequest.prototype.setTimezone = function(value) {
|
3673
|
+
return jspb.Message.setField(this, 15, value);
|
3674
|
+
};
|
3675
|
+
|
3676
|
+
|
3677
|
+
/**
|
3678
|
+
* Clears the field making it undefined.
|
3679
|
+
* @return {!proto.user.UserRequest} returns this
|
3680
|
+
*/
|
3681
|
+
proto.user.UserRequest.prototype.clearTimezone = function() {
|
3682
|
+
return jspb.Message.setField(this, 15, undefined);
|
3683
|
+
};
|
3684
|
+
|
3685
|
+
|
3686
|
+
/**
|
3687
|
+
* Returns whether this field is set.
|
3688
|
+
* @return {boolean}
|
3689
|
+
*/
|
3690
|
+
proto.user.UserRequest.prototype.hasTimezone = function() {
|
3691
|
+
return jspb.Message.getField(this, 15) != null;
|
3692
|
+
};
|
3693
|
+
|
3694
|
+
|
3695
|
+
/**
|
3696
|
+
* optional int32 risk_status_id = 16;
|
3697
|
+
* @return {number}
|
3698
|
+
*/
|
3699
|
+
proto.user.UserRequest.prototype.getRiskStatusId = function() {
|
3700
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
3701
|
+
};
|
3702
|
+
|
3703
|
+
|
3704
|
+
/**
|
3705
|
+
* @param {number} value
|
3706
|
+
* @return {!proto.user.UserRequest} returns this
|
3707
|
+
*/
|
3708
|
+
proto.user.UserRequest.prototype.setRiskStatusId = function(value) {
|
3709
|
+
return jspb.Message.setField(this, 16, value);
|
3710
|
+
};
|
3711
|
+
|
3712
|
+
|
3713
|
+
/**
|
3714
|
+
* Clears the field making it undefined.
|
3715
|
+
* @return {!proto.user.UserRequest} returns this
|
3716
|
+
*/
|
3717
|
+
proto.user.UserRequest.prototype.clearRiskStatusId = function() {
|
3718
|
+
return jspb.Message.setField(this, 16, undefined);
|
3719
|
+
};
|
3720
|
+
|
3721
|
+
|
3722
|
+
/**
|
3723
|
+
* Returns whether this field is set.
|
3724
|
+
* @return {boolean}
|
3725
|
+
*/
|
3726
|
+
proto.user.UserRequest.prototype.hasRiskStatusId = function() {
|
3727
|
+
return jspb.Message.getField(this, 16) != null;
|
3728
|
+
};
|
3729
|
+
|
3730
|
+
|
3731
|
+
/**
|
3732
|
+
* optional int32 category_id = 17;
|
3733
|
+
* @return {number}
|
3734
|
+
*/
|
3735
|
+
proto.user.UserRequest.prototype.getCategoryId = function() {
|
3736
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
3737
|
+
};
|
3738
|
+
|
3739
|
+
|
3740
|
+
/**
|
3741
|
+
* @param {number} value
|
3742
|
+
* @return {!proto.user.UserRequest} returns this
|
3743
|
+
*/
|
3744
|
+
proto.user.UserRequest.prototype.setCategoryId = function(value) {
|
3745
|
+
return jspb.Message.setField(this, 17, value);
|
3746
|
+
};
|
3747
|
+
|
3748
|
+
|
3749
|
+
/**
|
3750
|
+
* Clears the field making it undefined.
|
3751
|
+
* @return {!proto.user.UserRequest} returns this
|
3752
|
+
*/
|
3753
|
+
proto.user.UserRequest.prototype.clearCategoryId = function() {
|
3754
|
+
return jspb.Message.setField(this, 17, undefined);
|
3755
|
+
};
|
3756
|
+
|
3757
|
+
|
3758
|
+
/**
|
3759
|
+
* Returns whether this field is set.
|
3760
|
+
* @return {boolean}
|
3761
|
+
*/
|
3762
|
+
proto.user.UserRequest.prototype.hasCategoryId = function() {
|
3763
|
+
return jspb.Message.getField(this, 17) != null;
|
3764
|
+
};
|
3765
|
+
|
3766
|
+
|
3767
|
+
/**
|
3768
|
+
* optional int32 block_user = 18;
|
3769
|
+
* @return {number}
|
3770
|
+
*/
|
3771
|
+
proto.user.UserRequest.prototype.getBlockUser = function() {
|
3772
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
3773
|
+
};
|
3774
|
+
|
3775
|
+
|
3776
|
+
/**
|
3777
|
+
* @param {number} value
|
3778
|
+
* @return {!proto.user.UserRequest} returns this
|
3779
|
+
*/
|
3780
|
+
proto.user.UserRequest.prototype.setBlockUser = function(value) {
|
3781
|
+
return jspb.Message.setField(this, 18, value);
|
3782
|
+
};
|
3783
|
+
|
3784
|
+
|
3785
|
+
/**
|
3786
|
+
* Clears the field making it undefined.
|
3787
|
+
* @return {!proto.user.UserRequest} returns this
|
3788
|
+
*/
|
3789
|
+
proto.user.UserRequest.prototype.clearBlockUser = function() {
|
3790
|
+
return jspb.Message.setField(this, 18, undefined);
|
3791
|
+
};
|
3792
|
+
|
3793
|
+
|
3794
|
+
/**
|
3795
|
+
* Returns whether this field is set.
|
3796
|
+
* @return {boolean}
|
3797
|
+
*/
|
3798
|
+
proto.user.UserRequest.prototype.hasBlockUser = function() {
|
3799
|
+
return jspb.Message.getField(this, 18) != null;
|
3800
|
+
};
|
3801
|
+
|
3802
|
+
|
3803
|
+
/**
|
3804
|
+
* optional int32 block_deposit = 19;
|
3805
|
+
* @return {number}
|
3806
|
+
*/
|
3807
|
+
proto.user.UserRequest.prototype.getBlockDeposit = function() {
|
3808
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
3809
|
+
};
|
3810
|
+
|
3811
|
+
|
3812
|
+
/**
|
3813
|
+
* @param {number} value
|
3814
|
+
* @return {!proto.user.UserRequest} returns this
|
3815
|
+
*/
|
3816
|
+
proto.user.UserRequest.prototype.setBlockDeposit = function(value) {
|
3817
|
+
return jspb.Message.setField(this, 19, value);
|
3818
|
+
};
|
3819
|
+
|
3820
|
+
|
3821
|
+
/**
|
3822
|
+
* Clears the field making it undefined.
|
3823
|
+
* @return {!proto.user.UserRequest} returns this
|
3824
|
+
*/
|
3825
|
+
proto.user.UserRequest.prototype.clearBlockDeposit = function() {
|
3826
|
+
return jspb.Message.setField(this, 19, undefined);
|
3827
|
+
};
|
3828
|
+
|
3829
|
+
|
3830
|
+
/**
|
3831
|
+
* Returns whether this field is set.
|
3832
|
+
* @return {boolean}
|
3833
|
+
*/
|
3834
|
+
proto.user.UserRequest.prototype.hasBlockDeposit = function() {
|
3835
|
+
return jspb.Message.getField(this, 19) != null;
|
3836
|
+
};
|
3837
|
+
|
3838
|
+
|
3839
|
+
/**
|
3840
|
+
* optional int32 block_bet = 20;
|
3841
|
+
* @return {number}
|
3842
|
+
*/
|
3843
|
+
proto.user.UserRequest.prototype.getBlockBet = function() {
|
3844
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
3845
|
+
};
|
3846
|
+
|
3847
|
+
|
3848
|
+
/**
|
3849
|
+
* @param {number} value
|
3850
|
+
* @return {!proto.user.UserRequest} returns this
|
3851
|
+
*/
|
3852
|
+
proto.user.UserRequest.prototype.setBlockBet = function(value) {
|
3853
|
+
return jspb.Message.setField(this, 20, value);
|
3854
|
+
};
|
3855
|
+
|
3856
|
+
|
3857
|
+
/**
|
3858
|
+
* Clears the field making it undefined.
|
3859
|
+
* @return {!proto.user.UserRequest} returns this
|
3860
|
+
*/
|
3861
|
+
proto.user.UserRequest.prototype.clearBlockBet = function() {
|
3862
|
+
return jspb.Message.setField(this, 20, undefined);
|
3863
|
+
};
|
3864
|
+
|
3865
|
+
|
3866
|
+
/**
|
3867
|
+
* Returns whether this field is set.
|
3868
|
+
* @return {boolean}
|
3869
|
+
*/
|
3870
|
+
proto.user.UserRequest.prototype.hasBlockBet = function() {
|
3871
|
+
return jspb.Message.getField(this, 20) != null;
|
3872
|
+
};
|
3873
|
+
|
3874
|
+
|
3875
|
+
|
3876
|
+
|
3877
|
+
|
2796
3878
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
2797
3879
|
/**
|
2798
3880
|
* Creates an object representation of this proto.
|