protobuf-platform 1.0.104 → 1.0.106
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/package.json +1 -1
- package/user/user.proto +28 -13
- package/user/user_grpc_pb.js +23 -0
- package/user/user_pb.js +853 -85
package/user/user_pb.js
CHANGED
@@ -34,6 +34,8 @@ goog.exportSymbol('proto.user.RolePermissionStatusResponse', null, global);
|
|
34
34
|
goog.exportSymbol('proto.user.RolesItemsResponse', null, global);
|
35
35
|
goog.exportSymbol('proto.user.UserDataRequest', null, global);
|
36
36
|
goog.exportSymbol('proto.user.UserDataResponse', null, global);
|
37
|
+
goog.exportSymbol('proto.user.UserSearchParams', null, global);
|
38
|
+
goog.exportSymbol('proto.user.UsersResponse', null, global);
|
37
39
|
/**
|
38
40
|
* Generated by JsPbCodeGenerator.
|
39
41
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -97,6 +99,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
97
99
|
*/
|
98
100
|
proto.user.PaginationRequest.displayName = 'proto.user.PaginationRequest';
|
99
101
|
}
|
102
|
+
/**
|
103
|
+
* Generated by JsPbCodeGenerator.
|
104
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
105
|
+
* server response, or constructed directly in Javascript. The array is used
|
106
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
107
|
+
* If no data is provided, the constructed object will be empty, but still
|
108
|
+
* valid.
|
109
|
+
* @extends {jspb.Message}
|
110
|
+
* @constructor
|
111
|
+
*/
|
112
|
+
proto.user.UserSearchParams = function(opt_data) {
|
113
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.UserSearchParams.repeatedFields_, null);
|
114
|
+
};
|
115
|
+
goog.inherits(proto.user.UserSearchParams, jspb.Message);
|
116
|
+
if (goog.DEBUG && !COMPILED) {
|
117
|
+
/**
|
118
|
+
* @public
|
119
|
+
* @override
|
120
|
+
*/
|
121
|
+
proto.user.UserSearchParams.displayName = 'proto.user.UserSearchParams';
|
122
|
+
}
|
100
123
|
/**
|
101
124
|
* Generated by JsPbCodeGenerator.
|
102
125
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -202,6 +225,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
202
225
|
*/
|
203
226
|
proto.user.UserDataResponse.displayName = 'proto.user.UserDataResponse';
|
204
227
|
}
|
228
|
+
/**
|
229
|
+
* Generated by JsPbCodeGenerator.
|
230
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
231
|
+
* server response, or constructed directly in Javascript. The array is used
|
232
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
233
|
+
* If no data is provided, the constructed object will be empty, but still
|
234
|
+
* valid.
|
235
|
+
* @extends {jspb.Message}
|
236
|
+
* @constructor
|
237
|
+
*/
|
238
|
+
proto.user.UsersResponse = function(opt_data) {
|
239
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.UsersResponse.repeatedFields_, null);
|
240
|
+
};
|
241
|
+
goog.inherits(proto.user.UsersResponse, jspb.Message);
|
242
|
+
if (goog.DEBUG && !COMPILED) {
|
243
|
+
/**
|
244
|
+
* @public
|
245
|
+
* @override
|
246
|
+
*/
|
247
|
+
proto.user.UsersResponse.displayName = 'proto.user.UsersResponse';
|
248
|
+
}
|
205
249
|
/**
|
206
250
|
* Generated by JsPbCodeGenerator.
|
207
251
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -600,7 +644,8 @@ proto.user.PaginationRequest.prototype.toObject = function(opt_includeInstance)
|
|
600
644
|
proto.user.PaginationRequest.toObject = function(includeInstance, msg) {
|
601
645
|
var f, obj = {
|
602
646
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
603
|
-
offset: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
647
|
+
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
648
|
+
userSearchParams: (f = msg.getUserSearchParams()) && proto.user.UserSearchParams.toObject(includeInstance, f)
|
604
649
|
};
|
605
650
|
|
606
651
|
if (includeInstance) {
|
@@ -645,6 +690,11 @@ proto.user.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
645
690
|
var value = /** @type {number} */ (reader.readInt32());
|
646
691
|
msg.setOffset(value);
|
647
692
|
break;
|
693
|
+
case 3:
|
694
|
+
var value = new proto.user.UserSearchParams;
|
695
|
+
reader.readMessage(value,proto.user.UserSearchParams.deserializeBinaryFromReader);
|
696
|
+
msg.setUserSearchParams(value);
|
697
|
+
break;
|
648
698
|
default:
|
649
699
|
reader.skipField();
|
650
700
|
break;
|
@@ -688,6 +738,14 @@ proto.user.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
688
738
|
f
|
689
739
|
);
|
690
740
|
}
|
741
|
+
f = message.getUserSearchParams();
|
742
|
+
if (f != null) {
|
743
|
+
writer.writeMessage(
|
744
|
+
3,
|
745
|
+
f,
|
746
|
+
proto.user.UserSearchParams.serializeBinaryToWriter
|
747
|
+
);
|
748
|
+
}
|
691
749
|
};
|
692
750
|
|
693
751
|
|
@@ -727,6 +785,250 @@ proto.user.PaginationRequest.prototype.setOffset = function(value) {
|
|
727
785
|
};
|
728
786
|
|
729
787
|
|
788
|
+
/**
|
789
|
+
* optional UserSearchParams user_search_params = 3;
|
790
|
+
* @return {?proto.user.UserSearchParams}
|
791
|
+
*/
|
792
|
+
proto.user.PaginationRequest.prototype.getUserSearchParams = function() {
|
793
|
+
return /** @type{?proto.user.UserSearchParams} */ (
|
794
|
+
jspb.Message.getWrapperField(this, proto.user.UserSearchParams, 3));
|
795
|
+
};
|
796
|
+
|
797
|
+
|
798
|
+
/**
|
799
|
+
* @param {?proto.user.UserSearchParams|undefined} value
|
800
|
+
* @return {!proto.user.PaginationRequest} returns this
|
801
|
+
*/
|
802
|
+
proto.user.PaginationRequest.prototype.setUserSearchParams = function(value) {
|
803
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
804
|
+
};
|
805
|
+
|
806
|
+
|
807
|
+
/**
|
808
|
+
* Clears the message field making it undefined.
|
809
|
+
* @return {!proto.user.PaginationRequest} returns this
|
810
|
+
*/
|
811
|
+
proto.user.PaginationRequest.prototype.clearUserSearchParams = function() {
|
812
|
+
return this.setUserSearchParams(undefined);
|
813
|
+
};
|
814
|
+
|
815
|
+
|
816
|
+
/**
|
817
|
+
* Returns whether this field is set.
|
818
|
+
* @return {boolean}
|
819
|
+
*/
|
820
|
+
proto.user.PaginationRequest.prototype.hasUserSearchParams = function() {
|
821
|
+
return jspb.Message.getField(this, 3) != null;
|
822
|
+
};
|
823
|
+
|
824
|
+
|
825
|
+
|
826
|
+
/**
|
827
|
+
* List of repeated fields within this message type.
|
828
|
+
* @private {!Array<number>}
|
829
|
+
* @const
|
830
|
+
*/
|
831
|
+
proto.user.UserSearchParams.repeatedFields_ = [1,2];
|
832
|
+
|
833
|
+
|
834
|
+
|
835
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
836
|
+
/**
|
837
|
+
* Creates an object representation of this proto.
|
838
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
839
|
+
* Optional fields that are not set will be set to undefined.
|
840
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
841
|
+
* For the list of reserved names please see:
|
842
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
843
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
844
|
+
* JSPB instance for transitional soy proto support:
|
845
|
+
* http://goto/soy-param-migration
|
846
|
+
* @return {!Object}
|
847
|
+
*/
|
848
|
+
proto.user.UserSearchParams.prototype.toObject = function(opt_includeInstance) {
|
849
|
+
return proto.user.UserSearchParams.toObject(opt_includeInstance, this);
|
850
|
+
};
|
851
|
+
|
852
|
+
|
853
|
+
/**
|
854
|
+
* Static version of the {@see toObject} method.
|
855
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
856
|
+
* the JSPB instance for transitional soy proto support:
|
857
|
+
* http://goto/soy-param-migration
|
858
|
+
* @param {!proto.user.UserSearchParams} msg The msg instance to transform.
|
859
|
+
* @return {!Object}
|
860
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
861
|
+
*/
|
862
|
+
proto.user.UserSearchParams.toObject = function(includeInstance, msg) {
|
863
|
+
var f, obj = {
|
864
|
+
userPublicIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
865
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
866
|
+
};
|
867
|
+
|
868
|
+
if (includeInstance) {
|
869
|
+
obj.$jspbMessageInstance = msg;
|
870
|
+
}
|
871
|
+
return obj;
|
872
|
+
};
|
873
|
+
}
|
874
|
+
|
875
|
+
|
876
|
+
/**
|
877
|
+
* Deserializes binary data (in protobuf wire format).
|
878
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
879
|
+
* @return {!proto.user.UserSearchParams}
|
880
|
+
*/
|
881
|
+
proto.user.UserSearchParams.deserializeBinary = function(bytes) {
|
882
|
+
var reader = new jspb.BinaryReader(bytes);
|
883
|
+
var msg = new proto.user.UserSearchParams;
|
884
|
+
return proto.user.UserSearchParams.deserializeBinaryFromReader(msg, reader);
|
885
|
+
};
|
886
|
+
|
887
|
+
|
888
|
+
/**
|
889
|
+
* Deserializes binary data (in protobuf wire format) from the
|
890
|
+
* given reader into the given message object.
|
891
|
+
* @param {!proto.user.UserSearchParams} msg The message object to deserialize into.
|
892
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
893
|
+
* @return {!proto.user.UserSearchParams}
|
894
|
+
*/
|
895
|
+
proto.user.UserSearchParams.deserializeBinaryFromReader = function(msg, reader) {
|
896
|
+
while (reader.nextField()) {
|
897
|
+
if (reader.isEndGroup()) {
|
898
|
+
break;
|
899
|
+
}
|
900
|
+
var field = reader.getFieldNumber();
|
901
|
+
switch (field) {
|
902
|
+
case 1:
|
903
|
+
var value = /** @type {string} */ (reader.readString());
|
904
|
+
msg.addUserPublicIds(value);
|
905
|
+
break;
|
906
|
+
case 2:
|
907
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
908
|
+
for (var i = 0; i < values.length; i++) {
|
909
|
+
msg.addUserIds(values[i]);
|
910
|
+
}
|
911
|
+
break;
|
912
|
+
default:
|
913
|
+
reader.skipField();
|
914
|
+
break;
|
915
|
+
}
|
916
|
+
}
|
917
|
+
return msg;
|
918
|
+
};
|
919
|
+
|
920
|
+
|
921
|
+
/**
|
922
|
+
* Serializes the message to binary data (in protobuf wire format).
|
923
|
+
* @return {!Uint8Array}
|
924
|
+
*/
|
925
|
+
proto.user.UserSearchParams.prototype.serializeBinary = function() {
|
926
|
+
var writer = new jspb.BinaryWriter();
|
927
|
+
proto.user.UserSearchParams.serializeBinaryToWriter(this, writer);
|
928
|
+
return writer.getResultBuffer();
|
929
|
+
};
|
930
|
+
|
931
|
+
|
932
|
+
/**
|
933
|
+
* Serializes the given message to binary data (in protobuf wire
|
934
|
+
* format), writing to the given BinaryWriter.
|
935
|
+
* @param {!proto.user.UserSearchParams} message
|
936
|
+
* @param {!jspb.BinaryWriter} writer
|
937
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
938
|
+
*/
|
939
|
+
proto.user.UserSearchParams.serializeBinaryToWriter = function(message, writer) {
|
940
|
+
var f = undefined;
|
941
|
+
f = message.getUserPublicIdsList();
|
942
|
+
if (f.length > 0) {
|
943
|
+
writer.writeRepeatedString(
|
944
|
+
1,
|
945
|
+
f
|
946
|
+
);
|
947
|
+
}
|
948
|
+
f = message.getUserIdsList();
|
949
|
+
if (f.length > 0) {
|
950
|
+
writer.writePackedInt32(
|
951
|
+
2,
|
952
|
+
f
|
953
|
+
);
|
954
|
+
}
|
955
|
+
};
|
956
|
+
|
957
|
+
|
958
|
+
/**
|
959
|
+
* repeated string user_public_ids = 1;
|
960
|
+
* @return {!Array<string>}
|
961
|
+
*/
|
962
|
+
proto.user.UserSearchParams.prototype.getUserPublicIdsList = function() {
|
963
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
964
|
+
};
|
965
|
+
|
966
|
+
|
967
|
+
/**
|
968
|
+
* @param {!Array<string>} value
|
969
|
+
* @return {!proto.user.UserSearchParams} returns this
|
970
|
+
*/
|
971
|
+
proto.user.UserSearchParams.prototype.setUserPublicIdsList = function(value) {
|
972
|
+
return jspb.Message.setField(this, 1, value || []);
|
973
|
+
};
|
974
|
+
|
975
|
+
|
976
|
+
/**
|
977
|
+
* @param {string} value
|
978
|
+
* @param {number=} opt_index
|
979
|
+
* @return {!proto.user.UserSearchParams} returns this
|
980
|
+
*/
|
981
|
+
proto.user.UserSearchParams.prototype.addUserPublicIds = function(value, opt_index) {
|
982
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
983
|
+
};
|
984
|
+
|
985
|
+
|
986
|
+
/**
|
987
|
+
* Clears the list making it empty but non-null.
|
988
|
+
* @return {!proto.user.UserSearchParams} returns this
|
989
|
+
*/
|
990
|
+
proto.user.UserSearchParams.prototype.clearUserPublicIdsList = function() {
|
991
|
+
return this.setUserPublicIdsList([]);
|
992
|
+
};
|
993
|
+
|
994
|
+
|
995
|
+
/**
|
996
|
+
* repeated int32 user_ids = 2;
|
997
|
+
* @return {!Array<number>}
|
998
|
+
*/
|
999
|
+
proto.user.UserSearchParams.prototype.getUserIdsList = function() {
|
1000
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
1001
|
+
};
|
1002
|
+
|
1003
|
+
|
1004
|
+
/**
|
1005
|
+
* @param {!Array<number>} value
|
1006
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1007
|
+
*/
|
1008
|
+
proto.user.UserSearchParams.prototype.setUserIdsList = function(value) {
|
1009
|
+
return jspb.Message.setField(this, 2, value || []);
|
1010
|
+
};
|
1011
|
+
|
1012
|
+
|
1013
|
+
/**
|
1014
|
+
* @param {number} value
|
1015
|
+
* @param {number=} opt_index
|
1016
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1017
|
+
*/
|
1018
|
+
proto.user.UserSearchParams.prototype.addUserIds = function(value, opt_index) {
|
1019
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
1020
|
+
};
|
1021
|
+
|
1022
|
+
|
1023
|
+
/**
|
1024
|
+
* Clears the list making it empty but non-null.
|
1025
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1026
|
+
*/
|
1027
|
+
proto.user.UserSearchParams.prototype.clearUserIdsList = function() {
|
1028
|
+
return this.setUserIdsList([]);
|
1029
|
+
};
|
1030
|
+
|
1031
|
+
|
730
1032
|
|
731
1033
|
|
732
1034
|
|
@@ -1930,17 +2232,21 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
|
|
1930
2232
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1931
2233
|
publicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1932
2234
|
email: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1938
|
-
|
1939
|
-
|
1940
|
-
|
1941
|
-
|
1942
|
-
|
1943
|
-
|
2235
|
+
phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
2236
|
+
currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
2237
|
+
country: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
2238
|
+
city: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
2239
|
+
firstName: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
2240
|
+
lastName: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
2241
|
+
birthday: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
2242
|
+
locale: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
2243
|
+
permissions: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
2244
|
+
roleName: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
2245
|
+
verificationName: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
2246
|
+
balanceReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
2247
|
+
balanceBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
2248
|
+
balanceType: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
2249
|
+
affiliateId: jspb.Message.getFieldWithDefault(msg, 18, 0)
|
1944
2250
|
};
|
1945
2251
|
|
1946
2252
|
if (includeInstance) {
|
@@ -1991,48 +2297,64 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
1991
2297
|
break;
|
1992
2298
|
case 4:
|
1993
2299
|
var value = /** @type {string} */ (reader.readString());
|
1994
|
-
msg.
|
2300
|
+
msg.setPhone(value);
|
1995
2301
|
break;
|
1996
2302
|
case 5:
|
1997
2303
|
var value = /** @type {string} */ (reader.readString());
|
1998
|
-
msg.
|
2304
|
+
msg.setCurrency(value);
|
1999
2305
|
break;
|
2000
2306
|
case 6:
|
2001
2307
|
var value = /** @type {string} */ (reader.readString());
|
2002
|
-
msg.
|
2308
|
+
msg.setCountry(value);
|
2003
2309
|
break;
|
2004
2310
|
case 7:
|
2005
2311
|
var value = /** @type {string} */ (reader.readString());
|
2006
|
-
msg.
|
2312
|
+
msg.setCity(value);
|
2007
2313
|
break;
|
2008
2314
|
case 8:
|
2009
2315
|
var value = /** @type {string} */ (reader.readString());
|
2010
|
-
msg.
|
2316
|
+
msg.setFirstName(value);
|
2011
2317
|
break;
|
2012
2318
|
case 9:
|
2013
2319
|
var value = /** @type {string} */ (reader.readString());
|
2014
|
-
msg.
|
2320
|
+
msg.setLastName(value);
|
2015
2321
|
break;
|
2016
2322
|
case 10:
|
2017
2323
|
var value = /** @type {string} */ (reader.readString());
|
2018
|
-
msg.
|
2324
|
+
msg.setBirthday(value);
|
2019
2325
|
break;
|
2020
2326
|
case 11:
|
2021
2327
|
var value = /** @type {string} */ (reader.readString());
|
2022
|
-
msg.
|
2328
|
+
msg.setLocale(value);
|
2023
2329
|
break;
|
2024
2330
|
case 12:
|
2331
|
+
var value = /** @type {string} */ (reader.readString());
|
2332
|
+
msg.setPermissions(value);
|
2333
|
+
break;
|
2334
|
+
case 13:
|
2335
|
+
var value = /** @type {string} */ (reader.readString());
|
2336
|
+
msg.setRoleName(value);
|
2337
|
+
break;
|
2338
|
+
case 14:
|
2339
|
+
var value = /** @type {string} */ (reader.readString());
|
2340
|
+
msg.setVerificationName(value);
|
2341
|
+
break;
|
2342
|
+
case 15:
|
2025
2343
|
var value = /** @type {number} */ (reader.readFloat());
|
2026
2344
|
msg.setBalanceReal(value);
|
2027
2345
|
break;
|
2028
|
-
case
|
2346
|
+
case 16:
|
2029
2347
|
var value = /** @type {number} */ (reader.readFloat());
|
2030
2348
|
msg.setBalanceBonus(value);
|
2031
2349
|
break;
|
2032
|
-
case
|
2350
|
+
case 17:
|
2033
2351
|
var value = /** @type {string} */ (reader.readString());
|
2034
2352
|
msg.setBalanceType(value);
|
2035
2353
|
break;
|
2354
|
+
case 18:
|
2355
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2356
|
+
msg.setAffiliateId(value);
|
2357
|
+
break;
|
2036
2358
|
default:
|
2037
2359
|
reader.skipField();
|
2038
2360
|
break;
|
@@ -2076,8 +2398,8 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
|
|
2076
2398
|
f
|
2077
2399
|
);
|
2078
2400
|
}
|
2079
|
-
f =
|
2080
|
-
if (f
|
2401
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
2402
|
+
if (f != null) {
|
2081
2403
|
writer.writeString(
|
2082
2404
|
3,
|
2083
2405
|
f
|
@@ -2139,16 +2461,16 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
|
|
2139
2461
|
f
|
2140
2462
|
);
|
2141
2463
|
}
|
2142
|
-
f = /** @type {
|
2464
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
2143
2465
|
if (f != null) {
|
2144
|
-
writer.
|
2466
|
+
writer.writeString(
|
2145
2467
|
12,
|
2146
2468
|
f
|
2147
2469
|
);
|
2148
2470
|
}
|
2149
|
-
f = /** @type {
|
2471
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
2150
2472
|
if (f != null) {
|
2151
|
-
writer.
|
2473
|
+
writer.writeString(
|
2152
2474
|
13,
|
2153
2475
|
f
|
2154
2476
|
);
|
@@ -2160,7 +2482,35 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
|
|
2160
2482
|
f
|
2161
2483
|
);
|
2162
2484
|
}
|
2163
|
-
};
|
2485
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
2486
|
+
if (f != null) {
|
2487
|
+
writer.writeFloat(
|
2488
|
+
15,
|
2489
|
+
f
|
2490
|
+
);
|
2491
|
+
}
|
2492
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
2493
|
+
if (f != null) {
|
2494
|
+
writer.writeFloat(
|
2495
|
+
16,
|
2496
|
+
f
|
2497
|
+
);
|
2498
|
+
}
|
2499
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
2500
|
+
if (f != null) {
|
2501
|
+
writer.writeString(
|
2502
|
+
17,
|
2503
|
+
f
|
2504
|
+
);
|
2505
|
+
}
|
2506
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
2507
|
+
if (f != null) {
|
2508
|
+
writer.writeInt32(
|
2509
|
+
18,
|
2510
|
+
f
|
2511
|
+
);
|
2512
|
+
}
|
2513
|
+
};
|
2164
2514
|
|
2165
2515
|
|
2166
2516
|
/**
|
@@ -2213,15 +2563,33 @@ proto.user.UserDataResponse.prototype.getEmail = function() {
|
|
2213
2563
|
* @return {!proto.user.UserDataResponse} returns this
|
2214
2564
|
*/
|
2215
2565
|
proto.user.UserDataResponse.prototype.setEmail = function(value) {
|
2216
|
-
return jspb.Message.
|
2566
|
+
return jspb.Message.setField(this, 3, value);
|
2217
2567
|
};
|
2218
2568
|
|
2219
2569
|
|
2220
2570
|
/**
|
2221
|
-
*
|
2571
|
+
* Clears the field making it undefined.
|
2572
|
+
* @return {!proto.user.UserDataResponse} returns this
|
2573
|
+
*/
|
2574
|
+
proto.user.UserDataResponse.prototype.clearEmail = function() {
|
2575
|
+
return jspb.Message.setField(this, 3, undefined);
|
2576
|
+
};
|
2577
|
+
|
2578
|
+
|
2579
|
+
/**
|
2580
|
+
* Returns whether this field is set.
|
2581
|
+
* @return {boolean}
|
2582
|
+
*/
|
2583
|
+
proto.user.UserDataResponse.prototype.hasEmail = function() {
|
2584
|
+
return jspb.Message.getField(this, 3) != null;
|
2585
|
+
};
|
2586
|
+
|
2587
|
+
|
2588
|
+
/**
|
2589
|
+
* optional string phone = 4;
|
2222
2590
|
* @return {string}
|
2223
2591
|
*/
|
2224
|
-
proto.user.UserDataResponse.prototype.
|
2592
|
+
proto.user.UserDataResponse.prototype.getPhone = function() {
|
2225
2593
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
2226
2594
|
};
|
2227
2595
|
|
@@ -2230,7 +2598,7 @@ proto.user.UserDataResponse.prototype.getCurrency = function() {
|
|
2230
2598
|
* @param {string} value
|
2231
2599
|
* @return {!proto.user.UserDataResponse} returns this
|
2232
2600
|
*/
|
2233
|
-
proto.user.UserDataResponse.prototype.
|
2601
|
+
proto.user.UserDataResponse.prototype.setPhone = function(value) {
|
2234
2602
|
return jspb.Message.setField(this, 4, value);
|
2235
2603
|
};
|
2236
2604
|
|
@@ -2239,7 +2607,7 @@ proto.user.UserDataResponse.prototype.setCurrency = function(value) {
|
|
2239
2607
|
* Clears the field making it undefined.
|
2240
2608
|
* @return {!proto.user.UserDataResponse} returns this
|
2241
2609
|
*/
|
2242
|
-
proto.user.UserDataResponse.prototype.
|
2610
|
+
proto.user.UserDataResponse.prototype.clearPhone = function() {
|
2243
2611
|
return jspb.Message.setField(this, 4, undefined);
|
2244
2612
|
};
|
2245
2613
|
|
@@ -2248,16 +2616,16 @@ proto.user.UserDataResponse.prototype.clearCurrency = function() {
|
|
2248
2616
|
* Returns whether this field is set.
|
2249
2617
|
* @return {boolean}
|
2250
2618
|
*/
|
2251
|
-
proto.user.UserDataResponse.prototype.
|
2619
|
+
proto.user.UserDataResponse.prototype.hasPhone = function() {
|
2252
2620
|
return jspb.Message.getField(this, 4) != null;
|
2253
2621
|
};
|
2254
2622
|
|
2255
2623
|
|
2256
2624
|
/**
|
2257
|
-
* optional string
|
2625
|
+
* optional string currency = 5;
|
2258
2626
|
* @return {string}
|
2259
2627
|
*/
|
2260
|
-
proto.user.UserDataResponse.prototype.
|
2628
|
+
proto.user.UserDataResponse.prototype.getCurrency = function() {
|
2261
2629
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
2262
2630
|
};
|
2263
2631
|
|
@@ -2266,7 +2634,7 @@ proto.user.UserDataResponse.prototype.getCountry = function() {
|
|
2266
2634
|
* @param {string} value
|
2267
2635
|
* @return {!proto.user.UserDataResponse} returns this
|
2268
2636
|
*/
|
2269
|
-
proto.user.UserDataResponse.prototype.
|
2637
|
+
proto.user.UserDataResponse.prototype.setCurrency = function(value) {
|
2270
2638
|
return jspb.Message.setField(this, 5, value);
|
2271
2639
|
};
|
2272
2640
|
|
@@ -2275,7 +2643,7 @@ proto.user.UserDataResponse.prototype.setCountry = function(value) {
|
|
2275
2643
|
* Clears the field making it undefined.
|
2276
2644
|
* @return {!proto.user.UserDataResponse} returns this
|
2277
2645
|
*/
|
2278
|
-
proto.user.UserDataResponse.prototype.
|
2646
|
+
proto.user.UserDataResponse.prototype.clearCurrency = function() {
|
2279
2647
|
return jspb.Message.setField(this, 5, undefined);
|
2280
2648
|
};
|
2281
2649
|
|
@@ -2284,16 +2652,16 @@ proto.user.UserDataResponse.prototype.clearCountry = function() {
|
|
2284
2652
|
* Returns whether this field is set.
|
2285
2653
|
* @return {boolean}
|
2286
2654
|
*/
|
2287
|
-
proto.user.UserDataResponse.prototype.
|
2655
|
+
proto.user.UserDataResponse.prototype.hasCurrency = function() {
|
2288
2656
|
return jspb.Message.getField(this, 5) != null;
|
2289
2657
|
};
|
2290
2658
|
|
2291
2659
|
|
2292
2660
|
/**
|
2293
|
-
* optional string
|
2661
|
+
* optional string country = 6;
|
2294
2662
|
* @return {string}
|
2295
2663
|
*/
|
2296
|
-
proto.user.UserDataResponse.prototype.
|
2664
|
+
proto.user.UserDataResponse.prototype.getCountry = function() {
|
2297
2665
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
2298
2666
|
};
|
2299
2667
|
|
@@ -2302,7 +2670,7 @@ proto.user.UserDataResponse.prototype.getFirstName = function() {
|
|
2302
2670
|
* @param {string} value
|
2303
2671
|
* @return {!proto.user.UserDataResponse} returns this
|
2304
2672
|
*/
|
2305
|
-
proto.user.UserDataResponse.prototype.
|
2673
|
+
proto.user.UserDataResponse.prototype.setCountry = function(value) {
|
2306
2674
|
return jspb.Message.setField(this, 6, value);
|
2307
2675
|
};
|
2308
2676
|
|
@@ -2311,7 +2679,7 @@ proto.user.UserDataResponse.prototype.setFirstName = function(value) {
|
|
2311
2679
|
* Clears the field making it undefined.
|
2312
2680
|
* @return {!proto.user.UserDataResponse} returns this
|
2313
2681
|
*/
|
2314
|
-
proto.user.UserDataResponse.prototype.
|
2682
|
+
proto.user.UserDataResponse.prototype.clearCountry = function() {
|
2315
2683
|
return jspb.Message.setField(this, 6, undefined);
|
2316
2684
|
};
|
2317
2685
|
|
@@ -2320,16 +2688,16 @@ proto.user.UserDataResponse.prototype.clearFirstName = function() {
|
|
2320
2688
|
* Returns whether this field is set.
|
2321
2689
|
* @return {boolean}
|
2322
2690
|
*/
|
2323
|
-
proto.user.UserDataResponse.prototype.
|
2691
|
+
proto.user.UserDataResponse.prototype.hasCountry = function() {
|
2324
2692
|
return jspb.Message.getField(this, 6) != null;
|
2325
2693
|
};
|
2326
2694
|
|
2327
2695
|
|
2328
2696
|
/**
|
2329
|
-
* optional string
|
2697
|
+
* optional string city = 7;
|
2330
2698
|
* @return {string}
|
2331
2699
|
*/
|
2332
|
-
proto.user.UserDataResponse.prototype.
|
2700
|
+
proto.user.UserDataResponse.prototype.getCity = function() {
|
2333
2701
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
2334
2702
|
};
|
2335
2703
|
|
@@ -2338,7 +2706,7 @@ proto.user.UserDataResponse.prototype.getLastName = function() {
|
|
2338
2706
|
* @param {string} value
|
2339
2707
|
* @return {!proto.user.UserDataResponse} returns this
|
2340
2708
|
*/
|
2341
|
-
proto.user.UserDataResponse.prototype.
|
2709
|
+
proto.user.UserDataResponse.prototype.setCity = function(value) {
|
2342
2710
|
return jspb.Message.setField(this, 7, value);
|
2343
2711
|
};
|
2344
2712
|
|
@@ -2347,7 +2715,7 @@ proto.user.UserDataResponse.prototype.setLastName = function(value) {
|
|
2347
2715
|
* Clears the field making it undefined.
|
2348
2716
|
* @return {!proto.user.UserDataResponse} returns this
|
2349
2717
|
*/
|
2350
|
-
proto.user.UserDataResponse.prototype.
|
2718
|
+
proto.user.UserDataResponse.prototype.clearCity = function() {
|
2351
2719
|
return jspb.Message.setField(this, 7, undefined);
|
2352
2720
|
};
|
2353
2721
|
|
@@ -2356,16 +2724,16 @@ proto.user.UserDataResponse.prototype.clearLastName = function() {
|
|
2356
2724
|
* Returns whether this field is set.
|
2357
2725
|
* @return {boolean}
|
2358
2726
|
*/
|
2359
|
-
proto.user.UserDataResponse.prototype.
|
2727
|
+
proto.user.UserDataResponse.prototype.hasCity = function() {
|
2360
2728
|
return jspb.Message.getField(this, 7) != null;
|
2361
2729
|
};
|
2362
2730
|
|
2363
2731
|
|
2364
2732
|
/**
|
2365
|
-
* optional string
|
2733
|
+
* optional string first_name = 8;
|
2366
2734
|
* @return {string}
|
2367
2735
|
*/
|
2368
|
-
proto.user.UserDataResponse.prototype.
|
2736
|
+
proto.user.UserDataResponse.prototype.getFirstName = function() {
|
2369
2737
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
2370
2738
|
};
|
2371
2739
|
|
@@ -2374,7 +2742,7 @@ proto.user.UserDataResponse.prototype.getBirthday = function() {
|
|
2374
2742
|
* @param {string} value
|
2375
2743
|
* @return {!proto.user.UserDataResponse} returns this
|
2376
2744
|
*/
|
2377
|
-
proto.user.UserDataResponse.prototype.
|
2745
|
+
proto.user.UserDataResponse.prototype.setFirstName = function(value) {
|
2378
2746
|
return jspb.Message.setField(this, 8, value);
|
2379
2747
|
};
|
2380
2748
|
|
@@ -2383,7 +2751,7 @@ proto.user.UserDataResponse.prototype.setBirthday = function(value) {
|
|
2383
2751
|
* Clears the field making it undefined.
|
2384
2752
|
* @return {!proto.user.UserDataResponse} returns this
|
2385
2753
|
*/
|
2386
|
-
proto.user.UserDataResponse.prototype.
|
2754
|
+
proto.user.UserDataResponse.prototype.clearFirstName = function() {
|
2387
2755
|
return jspb.Message.setField(this, 8, undefined);
|
2388
2756
|
};
|
2389
2757
|
|
@@ -2392,16 +2760,16 @@ proto.user.UserDataResponse.prototype.clearBirthday = function() {
|
|
2392
2760
|
* Returns whether this field is set.
|
2393
2761
|
* @return {boolean}
|
2394
2762
|
*/
|
2395
|
-
proto.user.UserDataResponse.prototype.
|
2763
|
+
proto.user.UserDataResponse.prototype.hasFirstName = function() {
|
2396
2764
|
return jspb.Message.getField(this, 8) != null;
|
2397
2765
|
};
|
2398
2766
|
|
2399
2767
|
|
2400
2768
|
/**
|
2401
|
-
* optional string
|
2769
|
+
* optional string last_name = 9;
|
2402
2770
|
* @return {string}
|
2403
2771
|
*/
|
2404
|
-
proto.user.UserDataResponse.prototype.
|
2772
|
+
proto.user.UserDataResponse.prototype.getLastName = function() {
|
2405
2773
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
2406
2774
|
};
|
2407
2775
|
|
@@ -2410,7 +2778,7 @@ proto.user.UserDataResponse.prototype.getLocale = function() {
|
|
2410
2778
|
* @param {string} value
|
2411
2779
|
* @return {!proto.user.UserDataResponse} returns this
|
2412
2780
|
*/
|
2413
|
-
proto.user.UserDataResponse.prototype.
|
2781
|
+
proto.user.UserDataResponse.prototype.setLastName = function(value) {
|
2414
2782
|
return jspb.Message.setField(this, 9, value);
|
2415
2783
|
};
|
2416
2784
|
|
@@ -2419,7 +2787,7 @@ proto.user.UserDataResponse.prototype.setLocale = function(value) {
|
|
2419
2787
|
* Clears the field making it undefined.
|
2420
2788
|
* @return {!proto.user.UserDataResponse} returns this
|
2421
2789
|
*/
|
2422
|
-
proto.user.UserDataResponse.prototype.
|
2790
|
+
proto.user.UserDataResponse.prototype.clearLastName = function() {
|
2423
2791
|
return jspb.Message.setField(this, 9, undefined);
|
2424
2792
|
};
|
2425
2793
|
|
@@ -2428,16 +2796,16 @@ proto.user.UserDataResponse.prototype.clearLocale = function() {
|
|
2428
2796
|
* Returns whether this field is set.
|
2429
2797
|
* @return {boolean}
|
2430
2798
|
*/
|
2431
|
-
proto.user.UserDataResponse.prototype.
|
2799
|
+
proto.user.UserDataResponse.prototype.hasLastName = function() {
|
2432
2800
|
return jspb.Message.getField(this, 9) != null;
|
2433
2801
|
};
|
2434
2802
|
|
2435
2803
|
|
2436
2804
|
/**
|
2437
|
-
* optional string
|
2805
|
+
* optional string birthday = 10;
|
2438
2806
|
* @return {string}
|
2439
2807
|
*/
|
2440
|
-
proto.user.UserDataResponse.prototype.
|
2808
|
+
proto.user.UserDataResponse.prototype.getBirthday = function() {
|
2441
2809
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
2442
2810
|
};
|
2443
2811
|
|
@@ -2446,7 +2814,7 @@ proto.user.UserDataResponse.prototype.getPermissions = function() {
|
|
2446
2814
|
* @param {string} value
|
2447
2815
|
* @return {!proto.user.UserDataResponse} returns this
|
2448
2816
|
*/
|
2449
|
-
proto.user.UserDataResponse.prototype.
|
2817
|
+
proto.user.UserDataResponse.prototype.setBirthday = function(value) {
|
2450
2818
|
return jspb.Message.setField(this, 10, value);
|
2451
2819
|
};
|
2452
2820
|
|
@@ -2455,7 +2823,7 @@ proto.user.UserDataResponse.prototype.setPermissions = function(value) {
|
|
2455
2823
|
* Clears the field making it undefined.
|
2456
2824
|
* @return {!proto.user.UserDataResponse} returns this
|
2457
2825
|
*/
|
2458
|
-
proto.user.UserDataResponse.prototype.
|
2826
|
+
proto.user.UserDataResponse.prototype.clearBirthday = function() {
|
2459
2827
|
return jspb.Message.setField(this, 10, undefined);
|
2460
2828
|
};
|
2461
2829
|
|
@@ -2464,16 +2832,16 @@ proto.user.UserDataResponse.prototype.clearPermissions = function() {
|
|
2464
2832
|
* Returns whether this field is set.
|
2465
2833
|
* @return {boolean}
|
2466
2834
|
*/
|
2467
|
-
proto.user.UserDataResponse.prototype.
|
2835
|
+
proto.user.UserDataResponse.prototype.hasBirthday = function() {
|
2468
2836
|
return jspb.Message.getField(this, 10) != null;
|
2469
2837
|
};
|
2470
2838
|
|
2471
2839
|
|
2472
2840
|
/**
|
2473
|
-
* optional string
|
2841
|
+
* optional string locale = 11;
|
2474
2842
|
* @return {string}
|
2475
2843
|
*/
|
2476
|
-
proto.user.UserDataResponse.prototype.
|
2844
|
+
proto.user.UserDataResponse.prototype.getLocale = function() {
|
2477
2845
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
2478
2846
|
};
|
2479
2847
|
|
@@ -2482,7 +2850,7 @@ proto.user.UserDataResponse.prototype.getRoleName = function() {
|
|
2482
2850
|
* @param {string} value
|
2483
2851
|
* @return {!proto.user.UserDataResponse} returns this
|
2484
2852
|
*/
|
2485
|
-
proto.user.UserDataResponse.prototype.
|
2853
|
+
proto.user.UserDataResponse.prototype.setLocale = function(value) {
|
2486
2854
|
return jspb.Message.setField(this, 11, value);
|
2487
2855
|
};
|
2488
2856
|
|
@@ -2491,7 +2859,7 @@ proto.user.UserDataResponse.prototype.setRoleName = function(value) {
|
|
2491
2859
|
* Clears the field making it undefined.
|
2492
2860
|
* @return {!proto.user.UserDataResponse} returns this
|
2493
2861
|
*/
|
2494
|
-
proto.user.UserDataResponse.prototype.
|
2862
|
+
proto.user.UserDataResponse.prototype.clearLocale = function() {
|
2495
2863
|
return jspb.Message.setField(this, 11, undefined);
|
2496
2864
|
};
|
2497
2865
|
|
@@ -2500,17 +2868,125 @@ proto.user.UserDataResponse.prototype.clearRoleName = function() {
|
|
2500
2868
|
* Returns whether this field is set.
|
2501
2869
|
* @return {boolean}
|
2502
2870
|
*/
|
2503
|
-
proto.user.UserDataResponse.prototype.
|
2871
|
+
proto.user.UserDataResponse.prototype.hasLocale = function() {
|
2504
2872
|
return jspb.Message.getField(this, 11) != null;
|
2505
2873
|
};
|
2506
2874
|
|
2507
2875
|
|
2508
2876
|
/**
|
2509
|
-
* optional
|
2877
|
+
* optional string permissions = 12;
|
2878
|
+
* @return {string}
|
2879
|
+
*/
|
2880
|
+
proto.user.UserDataResponse.prototype.getPermissions = function() {
|
2881
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
2882
|
+
};
|
2883
|
+
|
2884
|
+
|
2885
|
+
/**
|
2886
|
+
* @param {string} value
|
2887
|
+
* @return {!proto.user.UserDataResponse} returns this
|
2888
|
+
*/
|
2889
|
+
proto.user.UserDataResponse.prototype.setPermissions = function(value) {
|
2890
|
+
return jspb.Message.setField(this, 12, value);
|
2891
|
+
};
|
2892
|
+
|
2893
|
+
|
2894
|
+
/**
|
2895
|
+
* Clears the field making it undefined.
|
2896
|
+
* @return {!proto.user.UserDataResponse} returns this
|
2897
|
+
*/
|
2898
|
+
proto.user.UserDataResponse.prototype.clearPermissions = function() {
|
2899
|
+
return jspb.Message.setField(this, 12, undefined);
|
2900
|
+
};
|
2901
|
+
|
2902
|
+
|
2903
|
+
/**
|
2904
|
+
* Returns whether this field is set.
|
2905
|
+
* @return {boolean}
|
2906
|
+
*/
|
2907
|
+
proto.user.UserDataResponse.prototype.hasPermissions = function() {
|
2908
|
+
return jspb.Message.getField(this, 12) != null;
|
2909
|
+
};
|
2910
|
+
|
2911
|
+
|
2912
|
+
/**
|
2913
|
+
* optional string role_name = 13;
|
2914
|
+
* @return {string}
|
2915
|
+
*/
|
2916
|
+
proto.user.UserDataResponse.prototype.getRoleName = function() {
|
2917
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
2918
|
+
};
|
2919
|
+
|
2920
|
+
|
2921
|
+
/**
|
2922
|
+
* @param {string} value
|
2923
|
+
* @return {!proto.user.UserDataResponse} returns this
|
2924
|
+
*/
|
2925
|
+
proto.user.UserDataResponse.prototype.setRoleName = function(value) {
|
2926
|
+
return jspb.Message.setField(this, 13, value);
|
2927
|
+
};
|
2928
|
+
|
2929
|
+
|
2930
|
+
/**
|
2931
|
+
* Clears the field making it undefined.
|
2932
|
+
* @return {!proto.user.UserDataResponse} returns this
|
2933
|
+
*/
|
2934
|
+
proto.user.UserDataResponse.prototype.clearRoleName = function() {
|
2935
|
+
return jspb.Message.setField(this, 13, undefined);
|
2936
|
+
};
|
2937
|
+
|
2938
|
+
|
2939
|
+
/**
|
2940
|
+
* Returns whether this field is set.
|
2941
|
+
* @return {boolean}
|
2942
|
+
*/
|
2943
|
+
proto.user.UserDataResponse.prototype.hasRoleName = function() {
|
2944
|
+
return jspb.Message.getField(this, 13) != null;
|
2945
|
+
};
|
2946
|
+
|
2947
|
+
|
2948
|
+
/**
|
2949
|
+
* optional string verification_name = 14;
|
2950
|
+
* @return {string}
|
2951
|
+
*/
|
2952
|
+
proto.user.UserDataResponse.prototype.getVerificationName = function() {
|
2953
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
2954
|
+
};
|
2955
|
+
|
2956
|
+
|
2957
|
+
/**
|
2958
|
+
* @param {string} value
|
2959
|
+
* @return {!proto.user.UserDataResponse} returns this
|
2960
|
+
*/
|
2961
|
+
proto.user.UserDataResponse.prototype.setVerificationName = function(value) {
|
2962
|
+
return jspb.Message.setField(this, 14, value);
|
2963
|
+
};
|
2964
|
+
|
2965
|
+
|
2966
|
+
/**
|
2967
|
+
* Clears the field making it undefined.
|
2968
|
+
* @return {!proto.user.UserDataResponse} returns this
|
2969
|
+
*/
|
2970
|
+
proto.user.UserDataResponse.prototype.clearVerificationName = function() {
|
2971
|
+
return jspb.Message.setField(this, 14, undefined);
|
2972
|
+
};
|
2973
|
+
|
2974
|
+
|
2975
|
+
/**
|
2976
|
+
* Returns whether this field is set.
|
2977
|
+
* @return {boolean}
|
2978
|
+
*/
|
2979
|
+
proto.user.UserDataResponse.prototype.hasVerificationName = function() {
|
2980
|
+
return jspb.Message.getField(this, 14) != null;
|
2981
|
+
};
|
2982
|
+
|
2983
|
+
|
2984
|
+
/**
|
2985
|
+
* optional float balance_real = 15;
|
2510
2986
|
* @return {number}
|
2511
2987
|
*/
|
2512
2988
|
proto.user.UserDataResponse.prototype.getBalanceReal = function() {
|
2513
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
2989
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
2514
2990
|
};
|
2515
2991
|
|
2516
2992
|
|
@@ -2519,7 +2995,7 @@ proto.user.UserDataResponse.prototype.getBalanceReal = function() {
|
|
2519
2995
|
* @return {!proto.user.UserDataResponse} returns this
|
2520
2996
|
*/
|
2521
2997
|
proto.user.UserDataResponse.prototype.setBalanceReal = function(value) {
|
2522
|
-
return jspb.Message.setField(this,
|
2998
|
+
return jspb.Message.setField(this, 15, value);
|
2523
2999
|
};
|
2524
3000
|
|
2525
3001
|
|
@@ -2528,7 +3004,7 @@ proto.user.UserDataResponse.prototype.setBalanceReal = function(value) {
|
|
2528
3004
|
* @return {!proto.user.UserDataResponse} returns this
|
2529
3005
|
*/
|
2530
3006
|
proto.user.UserDataResponse.prototype.clearBalanceReal = function() {
|
2531
|
-
return jspb.Message.setField(this,
|
3007
|
+
return jspb.Message.setField(this, 15, undefined);
|
2532
3008
|
};
|
2533
3009
|
|
2534
3010
|
|
@@ -2537,16 +3013,16 @@ proto.user.UserDataResponse.prototype.clearBalanceReal = function() {
|
|
2537
3013
|
* @return {boolean}
|
2538
3014
|
*/
|
2539
3015
|
proto.user.UserDataResponse.prototype.hasBalanceReal = function() {
|
2540
|
-
return jspb.Message.getField(this,
|
3016
|
+
return jspb.Message.getField(this, 15) != null;
|
2541
3017
|
};
|
2542
3018
|
|
2543
3019
|
|
2544
3020
|
/**
|
2545
|
-
* optional float balance_bonus =
|
3021
|
+
* optional float balance_bonus = 16;
|
2546
3022
|
* @return {number}
|
2547
3023
|
*/
|
2548
3024
|
proto.user.UserDataResponse.prototype.getBalanceBonus = function() {
|
2549
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
3025
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
|
2550
3026
|
};
|
2551
3027
|
|
2552
3028
|
|
@@ -2555,7 +3031,7 @@ proto.user.UserDataResponse.prototype.getBalanceBonus = function() {
|
|
2555
3031
|
* @return {!proto.user.UserDataResponse} returns this
|
2556
3032
|
*/
|
2557
3033
|
proto.user.UserDataResponse.prototype.setBalanceBonus = function(value) {
|
2558
|
-
return jspb.Message.setField(this,
|
3034
|
+
return jspb.Message.setField(this, 16, value);
|
2559
3035
|
};
|
2560
3036
|
|
2561
3037
|
|
@@ -2564,7 +3040,7 @@ proto.user.UserDataResponse.prototype.setBalanceBonus = function(value) {
|
|
2564
3040
|
* @return {!proto.user.UserDataResponse} returns this
|
2565
3041
|
*/
|
2566
3042
|
proto.user.UserDataResponse.prototype.clearBalanceBonus = function() {
|
2567
|
-
return jspb.Message.setField(this,
|
3043
|
+
return jspb.Message.setField(this, 16, undefined);
|
2568
3044
|
};
|
2569
3045
|
|
2570
3046
|
|
@@ -2573,16 +3049,16 @@ proto.user.UserDataResponse.prototype.clearBalanceBonus = function() {
|
|
2573
3049
|
* @return {boolean}
|
2574
3050
|
*/
|
2575
3051
|
proto.user.UserDataResponse.prototype.hasBalanceBonus = function() {
|
2576
|
-
return jspb.Message.getField(this,
|
3052
|
+
return jspb.Message.getField(this, 16) != null;
|
2577
3053
|
};
|
2578
3054
|
|
2579
3055
|
|
2580
3056
|
/**
|
2581
|
-
* optional string balance_type =
|
3057
|
+
* optional string balance_type = 17;
|
2582
3058
|
* @return {string}
|
2583
3059
|
*/
|
2584
3060
|
proto.user.UserDataResponse.prototype.getBalanceType = function() {
|
2585
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
3061
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
2586
3062
|
};
|
2587
3063
|
|
2588
3064
|
|
@@ -2591,7 +3067,7 @@ proto.user.UserDataResponse.prototype.getBalanceType = function() {
|
|
2591
3067
|
* @return {!proto.user.UserDataResponse} returns this
|
2592
3068
|
*/
|
2593
3069
|
proto.user.UserDataResponse.prototype.setBalanceType = function(value) {
|
2594
|
-
return jspb.Message.setField(this,
|
3070
|
+
return jspb.Message.setField(this, 17, value);
|
2595
3071
|
};
|
2596
3072
|
|
2597
3073
|
|
@@ -2600,7 +3076,7 @@ proto.user.UserDataResponse.prototype.setBalanceType = function(value) {
|
|
2600
3076
|
* @return {!proto.user.UserDataResponse} returns this
|
2601
3077
|
*/
|
2602
3078
|
proto.user.UserDataResponse.prototype.clearBalanceType = function() {
|
2603
|
-
return jspb.Message.setField(this,
|
3079
|
+
return jspb.Message.setField(this, 17, undefined);
|
2604
3080
|
};
|
2605
3081
|
|
2606
3082
|
|
@@ -2609,7 +3085,299 @@ proto.user.UserDataResponse.prototype.clearBalanceType = function() {
|
|
2609
3085
|
* @return {boolean}
|
2610
3086
|
*/
|
2611
3087
|
proto.user.UserDataResponse.prototype.hasBalanceType = function() {
|
2612
|
-
return jspb.Message.getField(this,
|
3088
|
+
return jspb.Message.getField(this, 17) != null;
|
3089
|
+
};
|
3090
|
+
|
3091
|
+
|
3092
|
+
/**
|
3093
|
+
* optional int32 affiliate_id = 18;
|
3094
|
+
* @return {number}
|
3095
|
+
*/
|
3096
|
+
proto.user.UserDataResponse.prototype.getAffiliateId = function() {
|
3097
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
3098
|
+
};
|
3099
|
+
|
3100
|
+
|
3101
|
+
/**
|
3102
|
+
* @param {number} value
|
3103
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3104
|
+
*/
|
3105
|
+
proto.user.UserDataResponse.prototype.setAffiliateId = function(value) {
|
3106
|
+
return jspb.Message.setField(this, 18, value);
|
3107
|
+
};
|
3108
|
+
|
3109
|
+
|
3110
|
+
/**
|
3111
|
+
* Clears the field making it undefined.
|
3112
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3113
|
+
*/
|
3114
|
+
proto.user.UserDataResponse.prototype.clearAffiliateId = function() {
|
3115
|
+
return jspb.Message.setField(this, 18, undefined);
|
3116
|
+
};
|
3117
|
+
|
3118
|
+
|
3119
|
+
/**
|
3120
|
+
* Returns whether this field is set.
|
3121
|
+
* @return {boolean}
|
3122
|
+
*/
|
3123
|
+
proto.user.UserDataResponse.prototype.hasAffiliateId = function() {
|
3124
|
+
return jspb.Message.getField(this, 18) != null;
|
3125
|
+
};
|
3126
|
+
|
3127
|
+
|
3128
|
+
|
3129
|
+
/**
|
3130
|
+
* List of repeated fields within this message type.
|
3131
|
+
* @private {!Array<number>}
|
3132
|
+
* @const
|
3133
|
+
*/
|
3134
|
+
proto.user.UsersResponse.repeatedFields_ = [1];
|
3135
|
+
|
3136
|
+
|
3137
|
+
|
3138
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3139
|
+
/**
|
3140
|
+
* Creates an object representation of this proto.
|
3141
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3142
|
+
* Optional fields that are not set will be set to undefined.
|
3143
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3144
|
+
* For the list of reserved names please see:
|
3145
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3146
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3147
|
+
* JSPB instance for transitional soy proto support:
|
3148
|
+
* http://goto/soy-param-migration
|
3149
|
+
* @return {!Object}
|
3150
|
+
*/
|
3151
|
+
proto.user.UsersResponse.prototype.toObject = function(opt_includeInstance) {
|
3152
|
+
return proto.user.UsersResponse.toObject(opt_includeInstance, this);
|
3153
|
+
};
|
3154
|
+
|
3155
|
+
|
3156
|
+
/**
|
3157
|
+
* Static version of the {@see toObject} method.
|
3158
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3159
|
+
* the JSPB instance for transitional soy proto support:
|
3160
|
+
* http://goto/soy-param-migration
|
3161
|
+
* @param {!proto.user.UsersResponse} msg The msg instance to transform.
|
3162
|
+
* @return {!Object}
|
3163
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3164
|
+
*/
|
3165
|
+
proto.user.UsersResponse.toObject = function(includeInstance, msg) {
|
3166
|
+
var f, obj = {
|
3167
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
3168
|
+
proto.user.UserDataResponse.toObject, includeInstance),
|
3169
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
3170
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
3171
|
+
};
|
3172
|
+
|
3173
|
+
if (includeInstance) {
|
3174
|
+
obj.$jspbMessageInstance = msg;
|
3175
|
+
}
|
3176
|
+
return obj;
|
3177
|
+
};
|
3178
|
+
}
|
3179
|
+
|
3180
|
+
|
3181
|
+
/**
|
3182
|
+
* Deserializes binary data (in protobuf wire format).
|
3183
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3184
|
+
* @return {!proto.user.UsersResponse}
|
3185
|
+
*/
|
3186
|
+
proto.user.UsersResponse.deserializeBinary = function(bytes) {
|
3187
|
+
var reader = new jspb.BinaryReader(bytes);
|
3188
|
+
var msg = new proto.user.UsersResponse;
|
3189
|
+
return proto.user.UsersResponse.deserializeBinaryFromReader(msg, reader);
|
3190
|
+
};
|
3191
|
+
|
3192
|
+
|
3193
|
+
/**
|
3194
|
+
* Deserializes binary data (in protobuf wire format) from the
|
3195
|
+
* given reader into the given message object.
|
3196
|
+
* @param {!proto.user.UsersResponse} msg The message object to deserialize into.
|
3197
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3198
|
+
* @return {!proto.user.UsersResponse}
|
3199
|
+
*/
|
3200
|
+
proto.user.UsersResponse.deserializeBinaryFromReader = function(msg, reader) {
|
3201
|
+
while (reader.nextField()) {
|
3202
|
+
if (reader.isEndGroup()) {
|
3203
|
+
break;
|
3204
|
+
}
|
3205
|
+
var field = reader.getFieldNumber();
|
3206
|
+
switch (field) {
|
3207
|
+
case 1:
|
3208
|
+
var value = new proto.user.UserDataResponse;
|
3209
|
+
reader.readMessage(value,proto.user.UserDataResponse.deserializeBinaryFromReader);
|
3210
|
+
msg.addItems(value);
|
3211
|
+
break;
|
3212
|
+
case 2:
|
3213
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3214
|
+
msg.setTotalPages(value);
|
3215
|
+
break;
|
3216
|
+
case 3:
|
3217
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3218
|
+
msg.setTotalItems(value);
|
3219
|
+
break;
|
3220
|
+
default:
|
3221
|
+
reader.skipField();
|
3222
|
+
break;
|
3223
|
+
}
|
3224
|
+
}
|
3225
|
+
return msg;
|
3226
|
+
};
|
3227
|
+
|
3228
|
+
|
3229
|
+
/**
|
3230
|
+
* Serializes the message to binary data (in protobuf wire format).
|
3231
|
+
* @return {!Uint8Array}
|
3232
|
+
*/
|
3233
|
+
proto.user.UsersResponse.prototype.serializeBinary = function() {
|
3234
|
+
var writer = new jspb.BinaryWriter();
|
3235
|
+
proto.user.UsersResponse.serializeBinaryToWriter(this, writer);
|
3236
|
+
return writer.getResultBuffer();
|
3237
|
+
};
|
3238
|
+
|
3239
|
+
|
3240
|
+
/**
|
3241
|
+
* Serializes the given message to binary data (in protobuf wire
|
3242
|
+
* format), writing to the given BinaryWriter.
|
3243
|
+
* @param {!proto.user.UsersResponse} message
|
3244
|
+
* @param {!jspb.BinaryWriter} writer
|
3245
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3246
|
+
*/
|
3247
|
+
proto.user.UsersResponse.serializeBinaryToWriter = function(message, writer) {
|
3248
|
+
var f = undefined;
|
3249
|
+
f = message.getItemsList();
|
3250
|
+
if (f.length > 0) {
|
3251
|
+
writer.writeRepeatedMessage(
|
3252
|
+
1,
|
3253
|
+
f,
|
3254
|
+
proto.user.UserDataResponse.serializeBinaryToWriter
|
3255
|
+
);
|
3256
|
+
}
|
3257
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
3258
|
+
if (f != null) {
|
3259
|
+
writer.writeInt32(
|
3260
|
+
2,
|
3261
|
+
f
|
3262
|
+
);
|
3263
|
+
}
|
3264
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
3265
|
+
if (f != null) {
|
3266
|
+
writer.writeInt32(
|
3267
|
+
3,
|
3268
|
+
f
|
3269
|
+
);
|
3270
|
+
}
|
3271
|
+
};
|
3272
|
+
|
3273
|
+
|
3274
|
+
/**
|
3275
|
+
* repeated UserDataResponse items = 1;
|
3276
|
+
* @return {!Array<!proto.user.UserDataResponse>}
|
3277
|
+
*/
|
3278
|
+
proto.user.UsersResponse.prototype.getItemsList = function() {
|
3279
|
+
return /** @type{!Array<!proto.user.UserDataResponse>} */ (
|
3280
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.UserDataResponse, 1));
|
3281
|
+
};
|
3282
|
+
|
3283
|
+
|
3284
|
+
/**
|
3285
|
+
* @param {!Array<!proto.user.UserDataResponse>} value
|
3286
|
+
* @return {!proto.user.UsersResponse} returns this
|
3287
|
+
*/
|
3288
|
+
proto.user.UsersResponse.prototype.setItemsList = function(value) {
|
3289
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
3290
|
+
};
|
3291
|
+
|
3292
|
+
|
3293
|
+
/**
|
3294
|
+
* @param {!proto.user.UserDataResponse=} opt_value
|
3295
|
+
* @param {number=} opt_index
|
3296
|
+
* @return {!proto.user.UserDataResponse}
|
3297
|
+
*/
|
3298
|
+
proto.user.UsersResponse.prototype.addItems = function(opt_value, opt_index) {
|
3299
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.UserDataResponse, opt_index);
|
3300
|
+
};
|
3301
|
+
|
3302
|
+
|
3303
|
+
/**
|
3304
|
+
* Clears the list making it empty but non-null.
|
3305
|
+
* @return {!proto.user.UsersResponse} returns this
|
3306
|
+
*/
|
3307
|
+
proto.user.UsersResponse.prototype.clearItemsList = function() {
|
3308
|
+
return this.setItemsList([]);
|
3309
|
+
};
|
3310
|
+
|
3311
|
+
|
3312
|
+
/**
|
3313
|
+
* optional int32 total_pages = 2;
|
3314
|
+
* @return {number}
|
3315
|
+
*/
|
3316
|
+
proto.user.UsersResponse.prototype.getTotalPages = function() {
|
3317
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
3318
|
+
};
|
3319
|
+
|
3320
|
+
|
3321
|
+
/**
|
3322
|
+
* @param {number} value
|
3323
|
+
* @return {!proto.user.UsersResponse} returns this
|
3324
|
+
*/
|
3325
|
+
proto.user.UsersResponse.prototype.setTotalPages = function(value) {
|
3326
|
+
return jspb.Message.setField(this, 2, value);
|
3327
|
+
};
|
3328
|
+
|
3329
|
+
|
3330
|
+
/**
|
3331
|
+
* Clears the field making it undefined.
|
3332
|
+
* @return {!proto.user.UsersResponse} returns this
|
3333
|
+
*/
|
3334
|
+
proto.user.UsersResponse.prototype.clearTotalPages = function() {
|
3335
|
+
return jspb.Message.setField(this, 2, undefined);
|
3336
|
+
};
|
3337
|
+
|
3338
|
+
|
3339
|
+
/**
|
3340
|
+
* Returns whether this field is set.
|
3341
|
+
* @return {boolean}
|
3342
|
+
*/
|
3343
|
+
proto.user.UsersResponse.prototype.hasTotalPages = function() {
|
3344
|
+
return jspb.Message.getField(this, 2) != null;
|
3345
|
+
};
|
3346
|
+
|
3347
|
+
|
3348
|
+
/**
|
3349
|
+
* optional int32 total_items = 3;
|
3350
|
+
* @return {number}
|
3351
|
+
*/
|
3352
|
+
proto.user.UsersResponse.prototype.getTotalItems = function() {
|
3353
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
3354
|
+
};
|
3355
|
+
|
3356
|
+
|
3357
|
+
/**
|
3358
|
+
* @param {number} value
|
3359
|
+
* @return {!proto.user.UsersResponse} returns this
|
3360
|
+
*/
|
3361
|
+
proto.user.UsersResponse.prototype.setTotalItems = function(value) {
|
3362
|
+
return jspb.Message.setField(this, 3, value);
|
3363
|
+
};
|
3364
|
+
|
3365
|
+
|
3366
|
+
/**
|
3367
|
+
* Clears the field making it undefined.
|
3368
|
+
* @return {!proto.user.UsersResponse} returns this
|
3369
|
+
*/
|
3370
|
+
proto.user.UsersResponse.prototype.clearTotalItems = function() {
|
3371
|
+
return jspb.Message.setField(this, 3, undefined);
|
3372
|
+
};
|
3373
|
+
|
3374
|
+
|
3375
|
+
/**
|
3376
|
+
* Returns whether this field is set.
|
3377
|
+
* @return {boolean}
|
3378
|
+
*/
|
3379
|
+
proto.user.UsersResponse.prototype.hasTotalItems = function() {
|
3380
|
+
return jspb.Message.getField(this, 3) != null;
|
2613
3381
|
};
|
2614
3382
|
|
2615
3383
|
|