protobuf-platform 1.2.611 → 1.2.613
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/analytic/analytic.proto +35 -0
- package/analytic/analytic_grpc_pb.js +34 -0
- package/analytic/analytic_pb.js +1256 -0
- package/package.json +1 -1
- package/user/user.proto +44 -0
- package/user/user_grpc_pb.js +122 -0
- package/user/user_pb.js +2045 -167
package/user/user_pb.js
CHANGED
|
@@ -23,6 +23,8 @@ var global = (function() {
|
|
|
23
23
|
|
|
24
24
|
goog.exportSymbol('proto.user.AdminResetResponsibleGamingPolicyRequest', null, global);
|
|
25
25
|
goog.exportSymbol('proto.user.AdminResetResponsibleGamingPolicyResponse', null, global);
|
|
26
|
+
goog.exportSymbol('proto.user.AffiliateListItem', null, global);
|
|
27
|
+
goog.exportSymbol('proto.user.AffiliatePlayerItem', null, global);
|
|
26
28
|
goog.exportSymbol('proto.user.AppleLoginRequest', null, global);
|
|
27
29
|
goog.exportSymbol('proto.user.ApproveVerificationRequest', null, global);
|
|
28
30
|
goog.exportSymbol('proto.user.ApproveVerificationResponse', null, global);
|
|
@@ -121,9 +123,15 @@ goog.exportSymbol('proto.user.ProcessAntifraudProviderWebhookRequest', null, glo
|
|
|
121
123
|
goog.exportSymbol('proto.user.ProcessAntifraudProviderWebhookResponse', null, global);
|
|
122
124
|
goog.exportSymbol('proto.user.ProcessUserKycProviderWebhookRequest', null, global);
|
|
123
125
|
goog.exportSymbol('proto.user.ProcessUserKycProviderWebhookResponse', null, global);
|
|
126
|
+
goog.exportSymbol('proto.user.ReadAffiliatePlayersRequest', null, global);
|
|
127
|
+
goog.exportSymbol('proto.user.ReadAffiliatePlayersResponse', null, global);
|
|
128
|
+
goog.exportSymbol('proto.user.ReadAffiliateSummaryRequest', null, global);
|
|
129
|
+
goog.exportSymbol('proto.user.ReadAffiliateSummaryResponse', null, global);
|
|
124
130
|
goog.exportSymbol('proto.user.ReadKycRequirementPresetRequest', null, global);
|
|
125
131
|
goog.exportSymbol('proto.user.ReadKycRequirementPresetRulesRequest', null, global);
|
|
126
132
|
goog.exportSymbol('proto.user.ReadKycRuleDefinitionRequest', null, global);
|
|
133
|
+
goog.exportSymbol('proto.user.ReadListAffiliatesRequest', null, global);
|
|
134
|
+
goog.exportSymbol('proto.user.ReadListAffiliatesResponse', null, global);
|
|
127
135
|
goog.exportSymbol('proto.user.ReadListKycRequirementPresetsRequest', null, global);
|
|
128
136
|
goog.exportSymbol('proto.user.ReadListKycRuleDefinitionsRequest', null, global);
|
|
129
137
|
goog.exportSymbol('proto.user.ReadListPresetsRequest', null, global);
|
|
@@ -152,6 +160,7 @@ goog.exportSymbol('proto.user.ReadUserRiskProfileRequest', null, global);
|
|
|
152
160
|
goog.exportSymbol('proto.user.RegistrationRequest', null, global);
|
|
153
161
|
goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsRequest', null, global);
|
|
154
162
|
goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsResponse', null, global);
|
|
163
|
+
goog.exportSymbol('proto.user.RequestEmailVerificationRequest', null, global);
|
|
155
164
|
goog.exportSymbol('proto.user.ReserveResponsibleGamingDepositRequest', null, global);
|
|
156
165
|
goog.exportSymbol('proto.user.ReserveResponsibleGamingDepositResponse', null, global);
|
|
157
166
|
goog.exportSymbol('proto.user.ReserveResponsibleGamingLossExposureRequest', null, global);
|
|
@@ -901,6 +910,174 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
901
910
|
*/
|
|
902
911
|
proto.user.BatchGetAffiliateAttributionItem.displayName = 'proto.user.BatchGetAffiliateAttributionItem';
|
|
903
912
|
}
|
|
913
|
+
/**
|
|
914
|
+
* Generated by JsPbCodeGenerator.
|
|
915
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
916
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
917
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
918
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
919
|
+
* valid.
|
|
920
|
+
* @extends {jspb.Message}
|
|
921
|
+
* @constructor
|
|
922
|
+
*/
|
|
923
|
+
proto.user.ReadListAffiliatesRequest = function(opt_data) {
|
|
924
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
925
|
+
};
|
|
926
|
+
goog.inherits(proto.user.ReadListAffiliatesRequest, jspb.Message);
|
|
927
|
+
if (goog.DEBUG && !COMPILED) {
|
|
928
|
+
/**
|
|
929
|
+
* @public
|
|
930
|
+
* @override
|
|
931
|
+
*/
|
|
932
|
+
proto.user.ReadListAffiliatesRequest.displayName = 'proto.user.ReadListAffiliatesRequest';
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* Generated by JsPbCodeGenerator.
|
|
936
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
937
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
938
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
939
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
940
|
+
* valid.
|
|
941
|
+
* @extends {jspb.Message}
|
|
942
|
+
* @constructor
|
|
943
|
+
*/
|
|
944
|
+
proto.user.ReadListAffiliatesResponse = function(opt_data) {
|
|
945
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.ReadListAffiliatesResponse.repeatedFields_, null);
|
|
946
|
+
};
|
|
947
|
+
goog.inherits(proto.user.ReadListAffiliatesResponse, jspb.Message);
|
|
948
|
+
if (goog.DEBUG && !COMPILED) {
|
|
949
|
+
/**
|
|
950
|
+
* @public
|
|
951
|
+
* @override
|
|
952
|
+
*/
|
|
953
|
+
proto.user.ReadListAffiliatesResponse.displayName = 'proto.user.ReadListAffiliatesResponse';
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* Generated by JsPbCodeGenerator.
|
|
957
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
958
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
959
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
960
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
961
|
+
* valid.
|
|
962
|
+
* @extends {jspb.Message}
|
|
963
|
+
* @constructor
|
|
964
|
+
*/
|
|
965
|
+
proto.user.AffiliateListItem = function(opt_data) {
|
|
966
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
967
|
+
};
|
|
968
|
+
goog.inherits(proto.user.AffiliateListItem, jspb.Message);
|
|
969
|
+
if (goog.DEBUG && !COMPILED) {
|
|
970
|
+
/**
|
|
971
|
+
* @public
|
|
972
|
+
* @override
|
|
973
|
+
*/
|
|
974
|
+
proto.user.AffiliateListItem.displayName = 'proto.user.AffiliateListItem';
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* Generated by JsPbCodeGenerator.
|
|
978
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
979
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
980
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
981
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
982
|
+
* valid.
|
|
983
|
+
* @extends {jspb.Message}
|
|
984
|
+
* @constructor
|
|
985
|
+
*/
|
|
986
|
+
proto.user.ReadAffiliateSummaryRequest = function(opt_data) {
|
|
987
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
988
|
+
};
|
|
989
|
+
goog.inherits(proto.user.ReadAffiliateSummaryRequest, jspb.Message);
|
|
990
|
+
if (goog.DEBUG && !COMPILED) {
|
|
991
|
+
/**
|
|
992
|
+
* @public
|
|
993
|
+
* @override
|
|
994
|
+
*/
|
|
995
|
+
proto.user.ReadAffiliateSummaryRequest.displayName = 'proto.user.ReadAffiliateSummaryRequest';
|
|
996
|
+
}
|
|
997
|
+
/**
|
|
998
|
+
* Generated by JsPbCodeGenerator.
|
|
999
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1000
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1001
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1002
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1003
|
+
* valid.
|
|
1004
|
+
* @extends {jspb.Message}
|
|
1005
|
+
* @constructor
|
|
1006
|
+
*/
|
|
1007
|
+
proto.user.ReadAffiliateSummaryResponse = function(opt_data) {
|
|
1008
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1009
|
+
};
|
|
1010
|
+
goog.inherits(proto.user.ReadAffiliateSummaryResponse, jspb.Message);
|
|
1011
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1012
|
+
/**
|
|
1013
|
+
* @public
|
|
1014
|
+
* @override
|
|
1015
|
+
*/
|
|
1016
|
+
proto.user.ReadAffiliateSummaryResponse.displayName = 'proto.user.ReadAffiliateSummaryResponse';
|
|
1017
|
+
}
|
|
1018
|
+
/**
|
|
1019
|
+
* Generated by JsPbCodeGenerator.
|
|
1020
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1021
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1022
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1023
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1024
|
+
* valid.
|
|
1025
|
+
* @extends {jspb.Message}
|
|
1026
|
+
* @constructor
|
|
1027
|
+
*/
|
|
1028
|
+
proto.user.ReadAffiliatePlayersRequest = function(opt_data) {
|
|
1029
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1030
|
+
};
|
|
1031
|
+
goog.inherits(proto.user.ReadAffiliatePlayersRequest, jspb.Message);
|
|
1032
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1033
|
+
/**
|
|
1034
|
+
* @public
|
|
1035
|
+
* @override
|
|
1036
|
+
*/
|
|
1037
|
+
proto.user.ReadAffiliatePlayersRequest.displayName = 'proto.user.ReadAffiliatePlayersRequest';
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
* Generated by JsPbCodeGenerator.
|
|
1041
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1042
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1043
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1044
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1045
|
+
* valid.
|
|
1046
|
+
* @extends {jspb.Message}
|
|
1047
|
+
* @constructor
|
|
1048
|
+
*/
|
|
1049
|
+
proto.user.AffiliatePlayerItem = function(opt_data) {
|
|
1050
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1051
|
+
};
|
|
1052
|
+
goog.inherits(proto.user.AffiliatePlayerItem, jspb.Message);
|
|
1053
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1054
|
+
/**
|
|
1055
|
+
* @public
|
|
1056
|
+
* @override
|
|
1057
|
+
*/
|
|
1058
|
+
proto.user.AffiliatePlayerItem.displayName = 'proto.user.AffiliatePlayerItem';
|
|
1059
|
+
}
|
|
1060
|
+
/**
|
|
1061
|
+
* Generated by JsPbCodeGenerator.
|
|
1062
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1063
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1064
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1065
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1066
|
+
* valid.
|
|
1067
|
+
* @extends {jspb.Message}
|
|
1068
|
+
* @constructor
|
|
1069
|
+
*/
|
|
1070
|
+
proto.user.ReadAffiliatePlayersResponse = function(opt_data) {
|
|
1071
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.ReadAffiliatePlayersResponse.repeatedFields_, null);
|
|
1072
|
+
};
|
|
1073
|
+
goog.inherits(proto.user.ReadAffiliatePlayersResponse, jspb.Message);
|
|
1074
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1075
|
+
/**
|
|
1076
|
+
* @public
|
|
1077
|
+
* @override
|
|
1078
|
+
*/
|
|
1079
|
+
proto.user.ReadAffiliatePlayersResponse.displayName = 'proto.user.ReadAffiliatePlayersResponse';
|
|
1080
|
+
}
|
|
904
1081
|
/**
|
|
905
1082
|
* Generated by JsPbCodeGenerator.
|
|
906
1083
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5227,6 +5404,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5227
5404
|
*/
|
|
5228
5405
|
proto.user.EmailConfirmedRequest.displayName = 'proto.user.EmailConfirmedRequest';
|
|
5229
5406
|
}
|
|
5407
|
+
/**
|
|
5408
|
+
* Generated by JsPbCodeGenerator.
|
|
5409
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5410
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5411
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5412
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5413
|
+
* valid.
|
|
5414
|
+
* @extends {jspb.Message}
|
|
5415
|
+
* @constructor
|
|
5416
|
+
*/
|
|
5417
|
+
proto.user.RequestEmailVerificationRequest = function(opt_data) {
|
|
5418
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5419
|
+
};
|
|
5420
|
+
goog.inherits(proto.user.RequestEmailVerificationRequest, jspb.Message);
|
|
5421
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5422
|
+
/**
|
|
5423
|
+
* @public
|
|
5424
|
+
* @override
|
|
5425
|
+
*/
|
|
5426
|
+
proto.user.RequestEmailVerificationRequest.displayName = 'proto.user.RequestEmailVerificationRequest';
|
|
5427
|
+
}
|
|
5230
5428
|
/**
|
|
5231
5429
|
* Generated by JsPbCodeGenerator.
|
|
5232
5430
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -21236,49 +21434,1416 @@ proto.user.UserAffiliateAttributionResponse.prototype.hasOfferId = function() {
|
|
|
21236
21434
|
|
|
21237
21435
|
|
|
21238
21436
|
/**
|
|
21239
|
-
* optional string user_public_id = 6;
|
|
21240
|
-
* @return {string}
|
|
21437
|
+
* optional string user_public_id = 6;
|
|
21438
|
+
* @return {string}
|
|
21439
|
+
*/
|
|
21440
|
+
proto.user.UserAffiliateAttributionResponse.prototype.getUserPublicId = function() {
|
|
21441
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
21442
|
+
};
|
|
21443
|
+
|
|
21444
|
+
|
|
21445
|
+
/**
|
|
21446
|
+
* @param {string} value
|
|
21447
|
+
* @return {!proto.user.UserAffiliateAttributionResponse} returns this
|
|
21448
|
+
*/
|
|
21449
|
+
proto.user.UserAffiliateAttributionResponse.prototype.setUserPublicId = function(value) {
|
|
21450
|
+
return jspb.Message.setField(this, 6, value);
|
|
21451
|
+
};
|
|
21452
|
+
|
|
21453
|
+
|
|
21454
|
+
/**
|
|
21455
|
+
* Clears the field making it undefined.
|
|
21456
|
+
* @return {!proto.user.UserAffiliateAttributionResponse} returns this
|
|
21457
|
+
*/
|
|
21458
|
+
proto.user.UserAffiliateAttributionResponse.prototype.clearUserPublicId = function() {
|
|
21459
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
21460
|
+
};
|
|
21461
|
+
|
|
21462
|
+
|
|
21463
|
+
/**
|
|
21464
|
+
* Returns whether this field is set.
|
|
21465
|
+
* @return {boolean}
|
|
21466
|
+
*/
|
|
21467
|
+
proto.user.UserAffiliateAttributionResponse.prototype.hasUserPublicId = function() {
|
|
21468
|
+
return jspb.Message.getField(this, 6) != null;
|
|
21469
|
+
};
|
|
21470
|
+
|
|
21471
|
+
|
|
21472
|
+
|
|
21473
|
+
/**
|
|
21474
|
+
* List of repeated fields within this message type.
|
|
21475
|
+
* @private {!Array<number>}
|
|
21476
|
+
* @const
|
|
21477
|
+
*/
|
|
21478
|
+
proto.user.BatchGetAffiliateAttributionRequest.repeatedFields_ = [1];
|
|
21479
|
+
|
|
21480
|
+
|
|
21481
|
+
|
|
21482
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21483
|
+
/**
|
|
21484
|
+
* Creates an object representation of this proto.
|
|
21485
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21486
|
+
* Optional fields that are not set will be set to undefined.
|
|
21487
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21488
|
+
* For the list of reserved names please see:
|
|
21489
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21490
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21491
|
+
* JSPB instance for transitional soy proto support:
|
|
21492
|
+
* http://goto/soy-param-migration
|
|
21493
|
+
* @return {!Object}
|
|
21494
|
+
*/
|
|
21495
|
+
proto.user.BatchGetAffiliateAttributionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21496
|
+
return proto.user.BatchGetAffiliateAttributionRequest.toObject(opt_includeInstance, this);
|
|
21497
|
+
};
|
|
21498
|
+
|
|
21499
|
+
|
|
21500
|
+
/**
|
|
21501
|
+
* Static version of the {@see toObject} method.
|
|
21502
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21503
|
+
* the JSPB instance for transitional soy proto support:
|
|
21504
|
+
* http://goto/soy-param-migration
|
|
21505
|
+
* @param {!proto.user.BatchGetAffiliateAttributionRequest} msg The msg instance to transform.
|
|
21506
|
+
* @return {!Object}
|
|
21507
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21508
|
+
*/
|
|
21509
|
+
proto.user.BatchGetAffiliateAttributionRequest.toObject = function(includeInstance, msg) {
|
|
21510
|
+
var f, obj = {
|
|
21511
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
21512
|
+
};
|
|
21513
|
+
|
|
21514
|
+
if (includeInstance) {
|
|
21515
|
+
obj.$jspbMessageInstance = msg;
|
|
21516
|
+
}
|
|
21517
|
+
return obj;
|
|
21518
|
+
};
|
|
21519
|
+
}
|
|
21520
|
+
|
|
21521
|
+
|
|
21522
|
+
/**
|
|
21523
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21524
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21525
|
+
* @return {!proto.user.BatchGetAffiliateAttributionRequest}
|
|
21526
|
+
*/
|
|
21527
|
+
proto.user.BatchGetAffiliateAttributionRequest.deserializeBinary = function(bytes) {
|
|
21528
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21529
|
+
var msg = new proto.user.BatchGetAffiliateAttributionRequest;
|
|
21530
|
+
return proto.user.BatchGetAffiliateAttributionRequest.deserializeBinaryFromReader(msg, reader);
|
|
21531
|
+
};
|
|
21532
|
+
|
|
21533
|
+
|
|
21534
|
+
/**
|
|
21535
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21536
|
+
* given reader into the given message object.
|
|
21537
|
+
* @param {!proto.user.BatchGetAffiliateAttributionRequest} msg The message object to deserialize into.
|
|
21538
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21539
|
+
* @return {!proto.user.BatchGetAffiliateAttributionRequest}
|
|
21540
|
+
*/
|
|
21541
|
+
proto.user.BatchGetAffiliateAttributionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21542
|
+
while (reader.nextField()) {
|
|
21543
|
+
if (reader.isEndGroup()) {
|
|
21544
|
+
break;
|
|
21545
|
+
}
|
|
21546
|
+
var field = reader.getFieldNumber();
|
|
21547
|
+
switch (field) {
|
|
21548
|
+
case 1:
|
|
21549
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
21550
|
+
for (var i = 0; i < values.length; i++) {
|
|
21551
|
+
msg.addUserIds(values[i]);
|
|
21552
|
+
}
|
|
21553
|
+
break;
|
|
21554
|
+
default:
|
|
21555
|
+
reader.skipField();
|
|
21556
|
+
break;
|
|
21557
|
+
}
|
|
21558
|
+
}
|
|
21559
|
+
return msg;
|
|
21560
|
+
};
|
|
21561
|
+
|
|
21562
|
+
|
|
21563
|
+
/**
|
|
21564
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21565
|
+
* @return {!Uint8Array}
|
|
21566
|
+
*/
|
|
21567
|
+
proto.user.BatchGetAffiliateAttributionRequest.prototype.serializeBinary = function() {
|
|
21568
|
+
var writer = new jspb.BinaryWriter();
|
|
21569
|
+
proto.user.BatchGetAffiliateAttributionRequest.serializeBinaryToWriter(this, writer);
|
|
21570
|
+
return writer.getResultBuffer();
|
|
21571
|
+
};
|
|
21572
|
+
|
|
21573
|
+
|
|
21574
|
+
/**
|
|
21575
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21576
|
+
* format), writing to the given BinaryWriter.
|
|
21577
|
+
* @param {!proto.user.BatchGetAffiliateAttributionRequest} message
|
|
21578
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21579
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21580
|
+
*/
|
|
21581
|
+
proto.user.BatchGetAffiliateAttributionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21582
|
+
var f = undefined;
|
|
21583
|
+
f = message.getUserIdsList();
|
|
21584
|
+
if (f.length > 0) {
|
|
21585
|
+
writer.writePackedInt32(
|
|
21586
|
+
1,
|
|
21587
|
+
f
|
|
21588
|
+
);
|
|
21589
|
+
}
|
|
21590
|
+
};
|
|
21591
|
+
|
|
21592
|
+
|
|
21593
|
+
/**
|
|
21594
|
+
* repeated int32 user_ids = 1;
|
|
21595
|
+
* @return {!Array<number>}
|
|
21596
|
+
*/
|
|
21597
|
+
proto.user.BatchGetAffiliateAttributionRequest.prototype.getUserIdsList = function() {
|
|
21598
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
21599
|
+
};
|
|
21600
|
+
|
|
21601
|
+
|
|
21602
|
+
/**
|
|
21603
|
+
* @param {!Array<number>} value
|
|
21604
|
+
* @return {!proto.user.BatchGetAffiliateAttributionRequest} returns this
|
|
21605
|
+
*/
|
|
21606
|
+
proto.user.BatchGetAffiliateAttributionRequest.prototype.setUserIdsList = function(value) {
|
|
21607
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
21608
|
+
};
|
|
21609
|
+
|
|
21610
|
+
|
|
21611
|
+
/**
|
|
21612
|
+
* @param {number} value
|
|
21613
|
+
* @param {number=} opt_index
|
|
21614
|
+
* @return {!proto.user.BatchGetAffiliateAttributionRequest} returns this
|
|
21615
|
+
*/
|
|
21616
|
+
proto.user.BatchGetAffiliateAttributionRequest.prototype.addUserIds = function(value, opt_index) {
|
|
21617
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
21618
|
+
};
|
|
21619
|
+
|
|
21620
|
+
|
|
21621
|
+
/**
|
|
21622
|
+
* Clears the list making it empty but non-null.
|
|
21623
|
+
* @return {!proto.user.BatchGetAffiliateAttributionRequest} returns this
|
|
21624
|
+
*/
|
|
21625
|
+
proto.user.BatchGetAffiliateAttributionRequest.prototype.clearUserIdsList = function() {
|
|
21626
|
+
return this.setUserIdsList([]);
|
|
21627
|
+
};
|
|
21628
|
+
|
|
21629
|
+
|
|
21630
|
+
|
|
21631
|
+
/**
|
|
21632
|
+
* List of repeated fields within this message type.
|
|
21633
|
+
* @private {!Array<number>}
|
|
21634
|
+
* @const
|
|
21635
|
+
*/
|
|
21636
|
+
proto.user.BatchGetAffiliateAttributionResponse.repeatedFields_ = [1];
|
|
21637
|
+
|
|
21638
|
+
|
|
21639
|
+
|
|
21640
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21641
|
+
/**
|
|
21642
|
+
* Creates an object representation of this proto.
|
|
21643
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21644
|
+
* Optional fields that are not set will be set to undefined.
|
|
21645
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21646
|
+
* For the list of reserved names please see:
|
|
21647
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21648
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21649
|
+
* JSPB instance for transitional soy proto support:
|
|
21650
|
+
* http://goto/soy-param-migration
|
|
21651
|
+
* @return {!Object}
|
|
21652
|
+
*/
|
|
21653
|
+
proto.user.BatchGetAffiliateAttributionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
21654
|
+
return proto.user.BatchGetAffiliateAttributionResponse.toObject(opt_includeInstance, this);
|
|
21655
|
+
};
|
|
21656
|
+
|
|
21657
|
+
|
|
21658
|
+
/**
|
|
21659
|
+
* Static version of the {@see toObject} method.
|
|
21660
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21661
|
+
* the JSPB instance for transitional soy proto support:
|
|
21662
|
+
* http://goto/soy-param-migration
|
|
21663
|
+
* @param {!proto.user.BatchGetAffiliateAttributionResponse} msg The msg instance to transform.
|
|
21664
|
+
* @return {!Object}
|
|
21665
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21666
|
+
*/
|
|
21667
|
+
proto.user.BatchGetAffiliateAttributionResponse.toObject = function(includeInstance, msg) {
|
|
21668
|
+
var f, obj = {
|
|
21669
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
21670
|
+
proto.user.BatchGetAffiliateAttributionItem.toObject, includeInstance)
|
|
21671
|
+
};
|
|
21672
|
+
|
|
21673
|
+
if (includeInstance) {
|
|
21674
|
+
obj.$jspbMessageInstance = msg;
|
|
21675
|
+
}
|
|
21676
|
+
return obj;
|
|
21677
|
+
};
|
|
21678
|
+
}
|
|
21679
|
+
|
|
21680
|
+
|
|
21681
|
+
/**
|
|
21682
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21683
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21684
|
+
* @return {!proto.user.BatchGetAffiliateAttributionResponse}
|
|
21685
|
+
*/
|
|
21686
|
+
proto.user.BatchGetAffiliateAttributionResponse.deserializeBinary = function(bytes) {
|
|
21687
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21688
|
+
var msg = new proto.user.BatchGetAffiliateAttributionResponse;
|
|
21689
|
+
return proto.user.BatchGetAffiliateAttributionResponse.deserializeBinaryFromReader(msg, reader);
|
|
21690
|
+
};
|
|
21691
|
+
|
|
21692
|
+
|
|
21693
|
+
/**
|
|
21694
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21695
|
+
* given reader into the given message object.
|
|
21696
|
+
* @param {!proto.user.BatchGetAffiliateAttributionResponse} msg The message object to deserialize into.
|
|
21697
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21698
|
+
* @return {!proto.user.BatchGetAffiliateAttributionResponse}
|
|
21699
|
+
*/
|
|
21700
|
+
proto.user.BatchGetAffiliateAttributionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
21701
|
+
while (reader.nextField()) {
|
|
21702
|
+
if (reader.isEndGroup()) {
|
|
21703
|
+
break;
|
|
21704
|
+
}
|
|
21705
|
+
var field = reader.getFieldNumber();
|
|
21706
|
+
switch (field) {
|
|
21707
|
+
case 1:
|
|
21708
|
+
var value = new proto.user.BatchGetAffiliateAttributionItem;
|
|
21709
|
+
reader.readMessage(value,proto.user.BatchGetAffiliateAttributionItem.deserializeBinaryFromReader);
|
|
21710
|
+
msg.addItems(value);
|
|
21711
|
+
break;
|
|
21712
|
+
default:
|
|
21713
|
+
reader.skipField();
|
|
21714
|
+
break;
|
|
21715
|
+
}
|
|
21716
|
+
}
|
|
21717
|
+
return msg;
|
|
21718
|
+
};
|
|
21719
|
+
|
|
21720
|
+
|
|
21721
|
+
/**
|
|
21722
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21723
|
+
* @return {!Uint8Array}
|
|
21724
|
+
*/
|
|
21725
|
+
proto.user.BatchGetAffiliateAttributionResponse.prototype.serializeBinary = function() {
|
|
21726
|
+
var writer = new jspb.BinaryWriter();
|
|
21727
|
+
proto.user.BatchGetAffiliateAttributionResponse.serializeBinaryToWriter(this, writer);
|
|
21728
|
+
return writer.getResultBuffer();
|
|
21729
|
+
};
|
|
21730
|
+
|
|
21731
|
+
|
|
21732
|
+
/**
|
|
21733
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21734
|
+
* format), writing to the given BinaryWriter.
|
|
21735
|
+
* @param {!proto.user.BatchGetAffiliateAttributionResponse} message
|
|
21736
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21737
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21738
|
+
*/
|
|
21739
|
+
proto.user.BatchGetAffiliateAttributionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
21740
|
+
var f = undefined;
|
|
21741
|
+
f = message.getItemsList();
|
|
21742
|
+
if (f.length > 0) {
|
|
21743
|
+
writer.writeRepeatedMessage(
|
|
21744
|
+
1,
|
|
21745
|
+
f,
|
|
21746
|
+
proto.user.BatchGetAffiliateAttributionItem.serializeBinaryToWriter
|
|
21747
|
+
);
|
|
21748
|
+
}
|
|
21749
|
+
};
|
|
21750
|
+
|
|
21751
|
+
|
|
21752
|
+
/**
|
|
21753
|
+
* repeated BatchGetAffiliateAttributionItem items = 1;
|
|
21754
|
+
* @return {!Array<!proto.user.BatchGetAffiliateAttributionItem>}
|
|
21755
|
+
*/
|
|
21756
|
+
proto.user.BatchGetAffiliateAttributionResponse.prototype.getItemsList = function() {
|
|
21757
|
+
return /** @type{!Array<!proto.user.BatchGetAffiliateAttributionItem>} */ (
|
|
21758
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.BatchGetAffiliateAttributionItem, 1));
|
|
21759
|
+
};
|
|
21760
|
+
|
|
21761
|
+
|
|
21762
|
+
/**
|
|
21763
|
+
* @param {!Array<!proto.user.BatchGetAffiliateAttributionItem>} value
|
|
21764
|
+
* @return {!proto.user.BatchGetAffiliateAttributionResponse} returns this
|
|
21765
|
+
*/
|
|
21766
|
+
proto.user.BatchGetAffiliateAttributionResponse.prototype.setItemsList = function(value) {
|
|
21767
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
21768
|
+
};
|
|
21769
|
+
|
|
21770
|
+
|
|
21771
|
+
/**
|
|
21772
|
+
* @param {!proto.user.BatchGetAffiliateAttributionItem=} opt_value
|
|
21773
|
+
* @param {number=} opt_index
|
|
21774
|
+
* @return {!proto.user.BatchGetAffiliateAttributionItem}
|
|
21775
|
+
*/
|
|
21776
|
+
proto.user.BatchGetAffiliateAttributionResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
21777
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.BatchGetAffiliateAttributionItem, opt_index);
|
|
21778
|
+
};
|
|
21779
|
+
|
|
21780
|
+
|
|
21781
|
+
/**
|
|
21782
|
+
* Clears the list making it empty but non-null.
|
|
21783
|
+
* @return {!proto.user.BatchGetAffiliateAttributionResponse} returns this
|
|
21784
|
+
*/
|
|
21785
|
+
proto.user.BatchGetAffiliateAttributionResponse.prototype.clearItemsList = function() {
|
|
21786
|
+
return this.setItemsList([]);
|
|
21787
|
+
};
|
|
21788
|
+
|
|
21789
|
+
|
|
21790
|
+
|
|
21791
|
+
|
|
21792
|
+
|
|
21793
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21794
|
+
/**
|
|
21795
|
+
* Creates an object representation of this proto.
|
|
21796
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21797
|
+
* Optional fields that are not set will be set to undefined.
|
|
21798
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21799
|
+
* For the list of reserved names please see:
|
|
21800
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21801
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21802
|
+
* JSPB instance for transitional soy proto support:
|
|
21803
|
+
* http://goto/soy-param-migration
|
|
21804
|
+
* @return {!Object}
|
|
21805
|
+
*/
|
|
21806
|
+
proto.user.BatchGetAffiliateAttributionItem.prototype.toObject = function(opt_includeInstance) {
|
|
21807
|
+
return proto.user.BatchGetAffiliateAttributionItem.toObject(opt_includeInstance, this);
|
|
21808
|
+
};
|
|
21809
|
+
|
|
21810
|
+
|
|
21811
|
+
/**
|
|
21812
|
+
* Static version of the {@see toObject} method.
|
|
21813
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21814
|
+
* the JSPB instance for transitional soy proto support:
|
|
21815
|
+
* http://goto/soy-param-migration
|
|
21816
|
+
* @param {!proto.user.BatchGetAffiliateAttributionItem} msg The msg instance to transform.
|
|
21817
|
+
* @return {!Object}
|
|
21818
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21819
|
+
*/
|
|
21820
|
+
proto.user.BatchGetAffiliateAttributionItem.toObject = function(includeInstance, msg) {
|
|
21821
|
+
var f, obj = {
|
|
21822
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21823
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
21824
|
+
clickId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
21825
|
+
};
|
|
21826
|
+
|
|
21827
|
+
if (includeInstance) {
|
|
21828
|
+
obj.$jspbMessageInstance = msg;
|
|
21829
|
+
}
|
|
21830
|
+
return obj;
|
|
21831
|
+
};
|
|
21832
|
+
}
|
|
21833
|
+
|
|
21834
|
+
|
|
21835
|
+
/**
|
|
21836
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21837
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21838
|
+
* @return {!proto.user.BatchGetAffiliateAttributionItem}
|
|
21839
|
+
*/
|
|
21840
|
+
proto.user.BatchGetAffiliateAttributionItem.deserializeBinary = function(bytes) {
|
|
21841
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21842
|
+
var msg = new proto.user.BatchGetAffiliateAttributionItem;
|
|
21843
|
+
return proto.user.BatchGetAffiliateAttributionItem.deserializeBinaryFromReader(msg, reader);
|
|
21844
|
+
};
|
|
21845
|
+
|
|
21846
|
+
|
|
21847
|
+
/**
|
|
21848
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21849
|
+
* given reader into the given message object.
|
|
21850
|
+
* @param {!proto.user.BatchGetAffiliateAttributionItem} msg The message object to deserialize into.
|
|
21851
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21852
|
+
* @return {!proto.user.BatchGetAffiliateAttributionItem}
|
|
21853
|
+
*/
|
|
21854
|
+
proto.user.BatchGetAffiliateAttributionItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
21855
|
+
while (reader.nextField()) {
|
|
21856
|
+
if (reader.isEndGroup()) {
|
|
21857
|
+
break;
|
|
21858
|
+
}
|
|
21859
|
+
var field = reader.getFieldNumber();
|
|
21860
|
+
switch (field) {
|
|
21861
|
+
case 1:
|
|
21862
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21863
|
+
msg.setUserId(value);
|
|
21864
|
+
break;
|
|
21865
|
+
case 2:
|
|
21866
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21867
|
+
msg.setUserPublicId(value);
|
|
21868
|
+
break;
|
|
21869
|
+
case 3:
|
|
21870
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21871
|
+
msg.setClickId(value);
|
|
21872
|
+
break;
|
|
21873
|
+
default:
|
|
21874
|
+
reader.skipField();
|
|
21875
|
+
break;
|
|
21876
|
+
}
|
|
21877
|
+
}
|
|
21878
|
+
return msg;
|
|
21879
|
+
};
|
|
21880
|
+
|
|
21881
|
+
|
|
21882
|
+
/**
|
|
21883
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21884
|
+
* @return {!Uint8Array}
|
|
21885
|
+
*/
|
|
21886
|
+
proto.user.BatchGetAffiliateAttributionItem.prototype.serializeBinary = function() {
|
|
21887
|
+
var writer = new jspb.BinaryWriter();
|
|
21888
|
+
proto.user.BatchGetAffiliateAttributionItem.serializeBinaryToWriter(this, writer);
|
|
21889
|
+
return writer.getResultBuffer();
|
|
21890
|
+
};
|
|
21891
|
+
|
|
21892
|
+
|
|
21893
|
+
/**
|
|
21894
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21895
|
+
* format), writing to the given BinaryWriter.
|
|
21896
|
+
* @param {!proto.user.BatchGetAffiliateAttributionItem} message
|
|
21897
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21898
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21899
|
+
*/
|
|
21900
|
+
proto.user.BatchGetAffiliateAttributionItem.serializeBinaryToWriter = function(message, writer) {
|
|
21901
|
+
var f = undefined;
|
|
21902
|
+
f = message.getUserId();
|
|
21903
|
+
if (f !== 0) {
|
|
21904
|
+
writer.writeInt32(
|
|
21905
|
+
1,
|
|
21906
|
+
f
|
|
21907
|
+
);
|
|
21908
|
+
}
|
|
21909
|
+
f = message.getUserPublicId();
|
|
21910
|
+
if (f.length > 0) {
|
|
21911
|
+
writer.writeString(
|
|
21912
|
+
2,
|
|
21913
|
+
f
|
|
21914
|
+
);
|
|
21915
|
+
}
|
|
21916
|
+
f = message.getClickId();
|
|
21917
|
+
if (f.length > 0) {
|
|
21918
|
+
writer.writeString(
|
|
21919
|
+
3,
|
|
21920
|
+
f
|
|
21921
|
+
);
|
|
21922
|
+
}
|
|
21923
|
+
};
|
|
21924
|
+
|
|
21925
|
+
|
|
21926
|
+
/**
|
|
21927
|
+
* optional int32 user_id = 1;
|
|
21928
|
+
* @return {number}
|
|
21929
|
+
*/
|
|
21930
|
+
proto.user.BatchGetAffiliateAttributionItem.prototype.getUserId = function() {
|
|
21931
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21932
|
+
};
|
|
21933
|
+
|
|
21934
|
+
|
|
21935
|
+
/**
|
|
21936
|
+
* @param {number} value
|
|
21937
|
+
* @return {!proto.user.BatchGetAffiliateAttributionItem} returns this
|
|
21938
|
+
*/
|
|
21939
|
+
proto.user.BatchGetAffiliateAttributionItem.prototype.setUserId = function(value) {
|
|
21940
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21941
|
+
};
|
|
21942
|
+
|
|
21943
|
+
|
|
21944
|
+
/**
|
|
21945
|
+
* optional string user_public_id = 2;
|
|
21946
|
+
* @return {string}
|
|
21947
|
+
*/
|
|
21948
|
+
proto.user.BatchGetAffiliateAttributionItem.prototype.getUserPublicId = function() {
|
|
21949
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
21950
|
+
};
|
|
21951
|
+
|
|
21952
|
+
|
|
21953
|
+
/**
|
|
21954
|
+
* @param {string} value
|
|
21955
|
+
* @return {!proto.user.BatchGetAffiliateAttributionItem} returns this
|
|
21956
|
+
*/
|
|
21957
|
+
proto.user.BatchGetAffiliateAttributionItem.prototype.setUserPublicId = function(value) {
|
|
21958
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
21959
|
+
};
|
|
21960
|
+
|
|
21961
|
+
|
|
21962
|
+
/**
|
|
21963
|
+
* optional string click_id = 3;
|
|
21964
|
+
* @return {string}
|
|
21965
|
+
*/
|
|
21966
|
+
proto.user.BatchGetAffiliateAttributionItem.prototype.getClickId = function() {
|
|
21967
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
21968
|
+
};
|
|
21969
|
+
|
|
21970
|
+
|
|
21971
|
+
/**
|
|
21972
|
+
* @param {string} value
|
|
21973
|
+
* @return {!proto.user.BatchGetAffiliateAttributionItem} returns this
|
|
21974
|
+
*/
|
|
21975
|
+
proto.user.BatchGetAffiliateAttributionItem.prototype.setClickId = function(value) {
|
|
21976
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
21977
|
+
};
|
|
21978
|
+
|
|
21979
|
+
|
|
21980
|
+
|
|
21981
|
+
|
|
21982
|
+
|
|
21983
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21984
|
+
/**
|
|
21985
|
+
* Creates an object representation of this proto.
|
|
21986
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21987
|
+
* Optional fields that are not set will be set to undefined.
|
|
21988
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21989
|
+
* For the list of reserved names please see:
|
|
21990
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21991
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21992
|
+
* JSPB instance for transitional soy proto support:
|
|
21993
|
+
* http://goto/soy-param-migration
|
|
21994
|
+
* @return {!Object}
|
|
21995
|
+
*/
|
|
21996
|
+
proto.user.ReadListAffiliatesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21997
|
+
return proto.user.ReadListAffiliatesRequest.toObject(opt_includeInstance, this);
|
|
21998
|
+
};
|
|
21999
|
+
|
|
22000
|
+
|
|
22001
|
+
/**
|
|
22002
|
+
* Static version of the {@see toObject} method.
|
|
22003
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22004
|
+
* the JSPB instance for transitional soy proto support:
|
|
22005
|
+
* http://goto/soy-param-migration
|
|
22006
|
+
* @param {!proto.user.ReadListAffiliatesRequest} msg The msg instance to transform.
|
|
22007
|
+
* @return {!Object}
|
|
22008
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22009
|
+
*/
|
|
22010
|
+
proto.user.ReadListAffiliatesRequest.toObject = function(includeInstance, msg) {
|
|
22011
|
+
var f, obj = {
|
|
22012
|
+
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22013
|
+
offset: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
22014
|
+
};
|
|
22015
|
+
|
|
22016
|
+
if (includeInstance) {
|
|
22017
|
+
obj.$jspbMessageInstance = msg;
|
|
22018
|
+
}
|
|
22019
|
+
return obj;
|
|
22020
|
+
};
|
|
22021
|
+
}
|
|
22022
|
+
|
|
22023
|
+
|
|
22024
|
+
/**
|
|
22025
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22026
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22027
|
+
* @return {!proto.user.ReadListAffiliatesRequest}
|
|
22028
|
+
*/
|
|
22029
|
+
proto.user.ReadListAffiliatesRequest.deserializeBinary = function(bytes) {
|
|
22030
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22031
|
+
var msg = new proto.user.ReadListAffiliatesRequest;
|
|
22032
|
+
return proto.user.ReadListAffiliatesRequest.deserializeBinaryFromReader(msg, reader);
|
|
22033
|
+
};
|
|
22034
|
+
|
|
22035
|
+
|
|
22036
|
+
/**
|
|
22037
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22038
|
+
* given reader into the given message object.
|
|
22039
|
+
* @param {!proto.user.ReadListAffiliatesRequest} msg The message object to deserialize into.
|
|
22040
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22041
|
+
* @return {!proto.user.ReadListAffiliatesRequest}
|
|
22042
|
+
*/
|
|
22043
|
+
proto.user.ReadListAffiliatesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22044
|
+
while (reader.nextField()) {
|
|
22045
|
+
if (reader.isEndGroup()) {
|
|
22046
|
+
break;
|
|
22047
|
+
}
|
|
22048
|
+
var field = reader.getFieldNumber();
|
|
22049
|
+
switch (field) {
|
|
22050
|
+
case 1:
|
|
22051
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22052
|
+
msg.setLimit(value);
|
|
22053
|
+
break;
|
|
22054
|
+
case 2:
|
|
22055
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22056
|
+
msg.setOffset(value);
|
|
22057
|
+
break;
|
|
22058
|
+
default:
|
|
22059
|
+
reader.skipField();
|
|
22060
|
+
break;
|
|
22061
|
+
}
|
|
22062
|
+
}
|
|
22063
|
+
return msg;
|
|
22064
|
+
};
|
|
22065
|
+
|
|
22066
|
+
|
|
22067
|
+
/**
|
|
22068
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22069
|
+
* @return {!Uint8Array}
|
|
22070
|
+
*/
|
|
22071
|
+
proto.user.ReadListAffiliatesRequest.prototype.serializeBinary = function() {
|
|
22072
|
+
var writer = new jspb.BinaryWriter();
|
|
22073
|
+
proto.user.ReadListAffiliatesRequest.serializeBinaryToWriter(this, writer);
|
|
22074
|
+
return writer.getResultBuffer();
|
|
22075
|
+
};
|
|
22076
|
+
|
|
22077
|
+
|
|
22078
|
+
/**
|
|
22079
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22080
|
+
* format), writing to the given BinaryWriter.
|
|
22081
|
+
* @param {!proto.user.ReadListAffiliatesRequest} message
|
|
22082
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22083
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22084
|
+
*/
|
|
22085
|
+
proto.user.ReadListAffiliatesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22086
|
+
var f = undefined;
|
|
22087
|
+
f = message.getLimit();
|
|
22088
|
+
if (f !== 0) {
|
|
22089
|
+
writer.writeInt32(
|
|
22090
|
+
1,
|
|
22091
|
+
f
|
|
22092
|
+
);
|
|
22093
|
+
}
|
|
22094
|
+
f = message.getOffset();
|
|
22095
|
+
if (f !== 0) {
|
|
22096
|
+
writer.writeInt32(
|
|
22097
|
+
2,
|
|
22098
|
+
f
|
|
22099
|
+
);
|
|
22100
|
+
}
|
|
22101
|
+
};
|
|
22102
|
+
|
|
22103
|
+
|
|
22104
|
+
/**
|
|
22105
|
+
* optional int32 limit = 1;
|
|
22106
|
+
* @return {number}
|
|
22107
|
+
*/
|
|
22108
|
+
proto.user.ReadListAffiliatesRequest.prototype.getLimit = function() {
|
|
22109
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22110
|
+
};
|
|
22111
|
+
|
|
22112
|
+
|
|
22113
|
+
/**
|
|
22114
|
+
* @param {number} value
|
|
22115
|
+
* @return {!proto.user.ReadListAffiliatesRequest} returns this
|
|
22116
|
+
*/
|
|
22117
|
+
proto.user.ReadListAffiliatesRequest.prototype.setLimit = function(value) {
|
|
22118
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22119
|
+
};
|
|
22120
|
+
|
|
22121
|
+
|
|
22122
|
+
/**
|
|
22123
|
+
* optional int32 offset = 2;
|
|
22124
|
+
* @return {number}
|
|
22125
|
+
*/
|
|
22126
|
+
proto.user.ReadListAffiliatesRequest.prototype.getOffset = function() {
|
|
22127
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22128
|
+
};
|
|
22129
|
+
|
|
22130
|
+
|
|
22131
|
+
/**
|
|
22132
|
+
* @param {number} value
|
|
22133
|
+
* @return {!proto.user.ReadListAffiliatesRequest} returns this
|
|
22134
|
+
*/
|
|
22135
|
+
proto.user.ReadListAffiliatesRequest.prototype.setOffset = function(value) {
|
|
22136
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22137
|
+
};
|
|
22138
|
+
|
|
22139
|
+
|
|
22140
|
+
|
|
22141
|
+
/**
|
|
22142
|
+
* List of repeated fields within this message type.
|
|
22143
|
+
* @private {!Array<number>}
|
|
22144
|
+
* @const
|
|
22145
|
+
*/
|
|
22146
|
+
proto.user.ReadListAffiliatesResponse.repeatedFields_ = [1];
|
|
22147
|
+
|
|
22148
|
+
|
|
22149
|
+
|
|
22150
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22151
|
+
/**
|
|
22152
|
+
* Creates an object representation of this proto.
|
|
22153
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22154
|
+
* Optional fields that are not set will be set to undefined.
|
|
22155
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22156
|
+
* For the list of reserved names please see:
|
|
22157
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22158
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22159
|
+
* JSPB instance for transitional soy proto support:
|
|
22160
|
+
* http://goto/soy-param-migration
|
|
22161
|
+
* @return {!Object}
|
|
22162
|
+
*/
|
|
22163
|
+
proto.user.ReadListAffiliatesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
22164
|
+
return proto.user.ReadListAffiliatesResponse.toObject(opt_includeInstance, this);
|
|
22165
|
+
};
|
|
22166
|
+
|
|
22167
|
+
|
|
22168
|
+
/**
|
|
22169
|
+
* Static version of the {@see toObject} method.
|
|
22170
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22171
|
+
* the JSPB instance for transitional soy proto support:
|
|
22172
|
+
* http://goto/soy-param-migration
|
|
22173
|
+
* @param {!proto.user.ReadListAffiliatesResponse} msg The msg instance to transform.
|
|
22174
|
+
* @return {!Object}
|
|
22175
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22176
|
+
*/
|
|
22177
|
+
proto.user.ReadListAffiliatesResponse.toObject = function(includeInstance, msg) {
|
|
22178
|
+
var f, obj = {
|
|
22179
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
22180
|
+
proto.user.AffiliateListItem.toObject, includeInstance),
|
|
22181
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22182
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
22183
|
+
};
|
|
22184
|
+
|
|
22185
|
+
if (includeInstance) {
|
|
22186
|
+
obj.$jspbMessageInstance = msg;
|
|
22187
|
+
}
|
|
22188
|
+
return obj;
|
|
22189
|
+
};
|
|
22190
|
+
}
|
|
22191
|
+
|
|
22192
|
+
|
|
22193
|
+
/**
|
|
22194
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22195
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22196
|
+
* @return {!proto.user.ReadListAffiliatesResponse}
|
|
22197
|
+
*/
|
|
22198
|
+
proto.user.ReadListAffiliatesResponse.deserializeBinary = function(bytes) {
|
|
22199
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22200
|
+
var msg = new proto.user.ReadListAffiliatesResponse;
|
|
22201
|
+
return proto.user.ReadListAffiliatesResponse.deserializeBinaryFromReader(msg, reader);
|
|
22202
|
+
};
|
|
22203
|
+
|
|
22204
|
+
|
|
22205
|
+
/**
|
|
22206
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22207
|
+
* given reader into the given message object.
|
|
22208
|
+
* @param {!proto.user.ReadListAffiliatesResponse} msg The message object to deserialize into.
|
|
22209
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22210
|
+
* @return {!proto.user.ReadListAffiliatesResponse}
|
|
22211
|
+
*/
|
|
22212
|
+
proto.user.ReadListAffiliatesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
22213
|
+
while (reader.nextField()) {
|
|
22214
|
+
if (reader.isEndGroup()) {
|
|
22215
|
+
break;
|
|
22216
|
+
}
|
|
22217
|
+
var field = reader.getFieldNumber();
|
|
22218
|
+
switch (field) {
|
|
22219
|
+
case 1:
|
|
22220
|
+
var value = new proto.user.AffiliateListItem;
|
|
22221
|
+
reader.readMessage(value,proto.user.AffiliateListItem.deserializeBinaryFromReader);
|
|
22222
|
+
msg.addItems(value);
|
|
22223
|
+
break;
|
|
22224
|
+
case 2:
|
|
22225
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22226
|
+
msg.setTotalItems(value);
|
|
22227
|
+
break;
|
|
22228
|
+
case 3:
|
|
22229
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22230
|
+
msg.setTotalPages(value);
|
|
22231
|
+
break;
|
|
22232
|
+
default:
|
|
22233
|
+
reader.skipField();
|
|
22234
|
+
break;
|
|
22235
|
+
}
|
|
22236
|
+
}
|
|
22237
|
+
return msg;
|
|
22238
|
+
};
|
|
22239
|
+
|
|
22240
|
+
|
|
22241
|
+
/**
|
|
22242
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22243
|
+
* @return {!Uint8Array}
|
|
22244
|
+
*/
|
|
22245
|
+
proto.user.ReadListAffiliatesResponse.prototype.serializeBinary = function() {
|
|
22246
|
+
var writer = new jspb.BinaryWriter();
|
|
22247
|
+
proto.user.ReadListAffiliatesResponse.serializeBinaryToWriter(this, writer);
|
|
22248
|
+
return writer.getResultBuffer();
|
|
22249
|
+
};
|
|
22250
|
+
|
|
22251
|
+
|
|
22252
|
+
/**
|
|
22253
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22254
|
+
* format), writing to the given BinaryWriter.
|
|
22255
|
+
* @param {!proto.user.ReadListAffiliatesResponse} message
|
|
22256
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22257
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22258
|
+
*/
|
|
22259
|
+
proto.user.ReadListAffiliatesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
22260
|
+
var f = undefined;
|
|
22261
|
+
f = message.getItemsList();
|
|
22262
|
+
if (f.length > 0) {
|
|
22263
|
+
writer.writeRepeatedMessage(
|
|
22264
|
+
1,
|
|
22265
|
+
f,
|
|
22266
|
+
proto.user.AffiliateListItem.serializeBinaryToWriter
|
|
22267
|
+
);
|
|
22268
|
+
}
|
|
22269
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
22270
|
+
if (f != null) {
|
|
22271
|
+
writer.writeInt32(
|
|
22272
|
+
2,
|
|
22273
|
+
f
|
|
22274
|
+
);
|
|
22275
|
+
}
|
|
22276
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
22277
|
+
if (f != null) {
|
|
22278
|
+
writer.writeInt32(
|
|
22279
|
+
3,
|
|
22280
|
+
f
|
|
22281
|
+
);
|
|
22282
|
+
}
|
|
22283
|
+
};
|
|
22284
|
+
|
|
22285
|
+
|
|
22286
|
+
/**
|
|
22287
|
+
* repeated AffiliateListItem items = 1;
|
|
22288
|
+
* @return {!Array<!proto.user.AffiliateListItem>}
|
|
22289
|
+
*/
|
|
22290
|
+
proto.user.ReadListAffiliatesResponse.prototype.getItemsList = function() {
|
|
22291
|
+
return /** @type{!Array<!proto.user.AffiliateListItem>} */ (
|
|
22292
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.AffiliateListItem, 1));
|
|
22293
|
+
};
|
|
22294
|
+
|
|
22295
|
+
|
|
22296
|
+
/**
|
|
22297
|
+
* @param {!Array<!proto.user.AffiliateListItem>} value
|
|
22298
|
+
* @return {!proto.user.ReadListAffiliatesResponse} returns this
|
|
22299
|
+
*/
|
|
22300
|
+
proto.user.ReadListAffiliatesResponse.prototype.setItemsList = function(value) {
|
|
22301
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
22302
|
+
};
|
|
22303
|
+
|
|
22304
|
+
|
|
22305
|
+
/**
|
|
22306
|
+
* @param {!proto.user.AffiliateListItem=} opt_value
|
|
22307
|
+
* @param {number=} opt_index
|
|
22308
|
+
* @return {!proto.user.AffiliateListItem}
|
|
22309
|
+
*/
|
|
22310
|
+
proto.user.ReadListAffiliatesResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
22311
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.AffiliateListItem, opt_index);
|
|
22312
|
+
};
|
|
22313
|
+
|
|
22314
|
+
|
|
22315
|
+
/**
|
|
22316
|
+
* Clears the list making it empty but non-null.
|
|
22317
|
+
* @return {!proto.user.ReadListAffiliatesResponse} returns this
|
|
22318
|
+
*/
|
|
22319
|
+
proto.user.ReadListAffiliatesResponse.prototype.clearItemsList = function() {
|
|
22320
|
+
return this.setItemsList([]);
|
|
22321
|
+
};
|
|
22322
|
+
|
|
22323
|
+
|
|
22324
|
+
/**
|
|
22325
|
+
* optional int32 total_items = 2;
|
|
22326
|
+
* @return {number}
|
|
22327
|
+
*/
|
|
22328
|
+
proto.user.ReadListAffiliatesResponse.prototype.getTotalItems = function() {
|
|
22329
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22330
|
+
};
|
|
22331
|
+
|
|
22332
|
+
|
|
22333
|
+
/**
|
|
22334
|
+
* @param {number} value
|
|
22335
|
+
* @return {!proto.user.ReadListAffiliatesResponse} returns this
|
|
22336
|
+
*/
|
|
22337
|
+
proto.user.ReadListAffiliatesResponse.prototype.setTotalItems = function(value) {
|
|
22338
|
+
return jspb.Message.setField(this, 2, value);
|
|
22339
|
+
};
|
|
22340
|
+
|
|
22341
|
+
|
|
22342
|
+
/**
|
|
22343
|
+
* Clears the field making it undefined.
|
|
22344
|
+
* @return {!proto.user.ReadListAffiliatesResponse} returns this
|
|
22345
|
+
*/
|
|
22346
|
+
proto.user.ReadListAffiliatesResponse.prototype.clearTotalItems = function() {
|
|
22347
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
22348
|
+
};
|
|
22349
|
+
|
|
22350
|
+
|
|
22351
|
+
/**
|
|
22352
|
+
* Returns whether this field is set.
|
|
22353
|
+
* @return {boolean}
|
|
22354
|
+
*/
|
|
22355
|
+
proto.user.ReadListAffiliatesResponse.prototype.hasTotalItems = function() {
|
|
22356
|
+
return jspb.Message.getField(this, 2) != null;
|
|
22357
|
+
};
|
|
22358
|
+
|
|
22359
|
+
|
|
22360
|
+
/**
|
|
22361
|
+
* optional int32 total_pages = 3;
|
|
22362
|
+
* @return {number}
|
|
22363
|
+
*/
|
|
22364
|
+
proto.user.ReadListAffiliatesResponse.prototype.getTotalPages = function() {
|
|
22365
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22366
|
+
};
|
|
22367
|
+
|
|
22368
|
+
|
|
22369
|
+
/**
|
|
22370
|
+
* @param {number} value
|
|
22371
|
+
* @return {!proto.user.ReadListAffiliatesResponse} returns this
|
|
22372
|
+
*/
|
|
22373
|
+
proto.user.ReadListAffiliatesResponse.prototype.setTotalPages = function(value) {
|
|
22374
|
+
return jspb.Message.setField(this, 3, value);
|
|
22375
|
+
};
|
|
22376
|
+
|
|
22377
|
+
|
|
22378
|
+
/**
|
|
22379
|
+
* Clears the field making it undefined.
|
|
22380
|
+
* @return {!proto.user.ReadListAffiliatesResponse} returns this
|
|
22381
|
+
*/
|
|
22382
|
+
proto.user.ReadListAffiliatesResponse.prototype.clearTotalPages = function() {
|
|
22383
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
22384
|
+
};
|
|
22385
|
+
|
|
22386
|
+
|
|
22387
|
+
/**
|
|
22388
|
+
* Returns whether this field is set.
|
|
22389
|
+
* @return {boolean}
|
|
22390
|
+
*/
|
|
22391
|
+
proto.user.ReadListAffiliatesResponse.prototype.hasTotalPages = function() {
|
|
22392
|
+
return jspb.Message.getField(this, 3) != null;
|
|
22393
|
+
};
|
|
22394
|
+
|
|
22395
|
+
|
|
22396
|
+
|
|
22397
|
+
|
|
22398
|
+
|
|
22399
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22400
|
+
/**
|
|
22401
|
+
* Creates an object representation of this proto.
|
|
22402
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22403
|
+
* Optional fields that are not set will be set to undefined.
|
|
22404
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22405
|
+
* For the list of reserved names please see:
|
|
22406
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22407
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22408
|
+
* JSPB instance for transitional soy proto support:
|
|
22409
|
+
* http://goto/soy-param-migration
|
|
22410
|
+
* @return {!Object}
|
|
22411
|
+
*/
|
|
22412
|
+
proto.user.AffiliateListItem.prototype.toObject = function(opt_includeInstance) {
|
|
22413
|
+
return proto.user.AffiliateListItem.toObject(opt_includeInstance, this);
|
|
22414
|
+
};
|
|
22415
|
+
|
|
22416
|
+
|
|
22417
|
+
/**
|
|
22418
|
+
* Static version of the {@see toObject} method.
|
|
22419
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22420
|
+
* the JSPB instance for transitional soy proto support:
|
|
22421
|
+
* http://goto/soy-param-migration
|
|
22422
|
+
* @param {!proto.user.AffiliateListItem} msg The msg instance to transform.
|
|
22423
|
+
* @return {!Object}
|
|
22424
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22425
|
+
*/
|
|
22426
|
+
proto.user.AffiliateListItem.toObject = function(includeInstance, msg) {
|
|
22427
|
+
var f, obj = {
|
|
22428
|
+
affiliateId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22429
|
+
usersCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
22430
|
+
};
|
|
22431
|
+
|
|
22432
|
+
if (includeInstance) {
|
|
22433
|
+
obj.$jspbMessageInstance = msg;
|
|
22434
|
+
}
|
|
22435
|
+
return obj;
|
|
22436
|
+
};
|
|
22437
|
+
}
|
|
22438
|
+
|
|
22439
|
+
|
|
22440
|
+
/**
|
|
22441
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22442
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22443
|
+
* @return {!proto.user.AffiliateListItem}
|
|
22444
|
+
*/
|
|
22445
|
+
proto.user.AffiliateListItem.deserializeBinary = function(bytes) {
|
|
22446
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22447
|
+
var msg = new proto.user.AffiliateListItem;
|
|
22448
|
+
return proto.user.AffiliateListItem.deserializeBinaryFromReader(msg, reader);
|
|
22449
|
+
};
|
|
22450
|
+
|
|
22451
|
+
|
|
22452
|
+
/**
|
|
22453
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22454
|
+
* given reader into the given message object.
|
|
22455
|
+
* @param {!proto.user.AffiliateListItem} msg The message object to deserialize into.
|
|
22456
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22457
|
+
* @return {!proto.user.AffiliateListItem}
|
|
22458
|
+
*/
|
|
22459
|
+
proto.user.AffiliateListItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
22460
|
+
while (reader.nextField()) {
|
|
22461
|
+
if (reader.isEndGroup()) {
|
|
22462
|
+
break;
|
|
22463
|
+
}
|
|
22464
|
+
var field = reader.getFieldNumber();
|
|
22465
|
+
switch (field) {
|
|
22466
|
+
case 1:
|
|
22467
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22468
|
+
msg.setAffiliateId(value);
|
|
22469
|
+
break;
|
|
22470
|
+
case 2:
|
|
22471
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22472
|
+
msg.setUsersCount(value);
|
|
22473
|
+
break;
|
|
22474
|
+
default:
|
|
22475
|
+
reader.skipField();
|
|
22476
|
+
break;
|
|
22477
|
+
}
|
|
22478
|
+
}
|
|
22479
|
+
return msg;
|
|
22480
|
+
};
|
|
22481
|
+
|
|
22482
|
+
|
|
22483
|
+
/**
|
|
22484
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22485
|
+
* @return {!Uint8Array}
|
|
22486
|
+
*/
|
|
22487
|
+
proto.user.AffiliateListItem.prototype.serializeBinary = function() {
|
|
22488
|
+
var writer = new jspb.BinaryWriter();
|
|
22489
|
+
proto.user.AffiliateListItem.serializeBinaryToWriter(this, writer);
|
|
22490
|
+
return writer.getResultBuffer();
|
|
22491
|
+
};
|
|
22492
|
+
|
|
22493
|
+
|
|
22494
|
+
/**
|
|
22495
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22496
|
+
* format), writing to the given BinaryWriter.
|
|
22497
|
+
* @param {!proto.user.AffiliateListItem} message
|
|
22498
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22499
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22500
|
+
*/
|
|
22501
|
+
proto.user.AffiliateListItem.serializeBinaryToWriter = function(message, writer) {
|
|
22502
|
+
var f = undefined;
|
|
22503
|
+
f = message.getAffiliateId();
|
|
22504
|
+
if (f !== 0) {
|
|
22505
|
+
writer.writeInt32(
|
|
22506
|
+
1,
|
|
22507
|
+
f
|
|
22508
|
+
);
|
|
22509
|
+
}
|
|
22510
|
+
f = message.getUsersCount();
|
|
22511
|
+
if (f !== 0) {
|
|
22512
|
+
writer.writeInt32(
|
|
22513
|
+
2,
|
|
22514
|
+
f
|
|
22515
|
+
);
|
|
22516
|
+
}
|
|
22517
|
+
};
|
|
22518
|
+
|
|
22519
|
+
|
|
22520
|
+
/**
|
|
22521
|
+
* optional int32 affiliate_id = 1;
|
|
22522
|
+
* @return {number}
|
|
22523
|
+
*/
|
|
22524
|
+
proto.user.AffiliateListItem.prototype.getAffiliateId = function() {
|
|
22525
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22526
|
+
};
|
|
22527
|
+
|
|
22528
|
+
|
|
22529
|
+
/**
|
|
22530
|
+
* @param {number} value
|
|
22531
|
+
* @return {!proto.user.AffiliateListItem} returns this
|
|
22532
|
+
*/
|
|
22533
|
+
proto.user.AffiliateListItem.prototype.setAffiliateId = function(value) {
|
|
22534
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22535
|
+
};
|
|
22536
|
+
|
|
22537
|
+
|
|
22538
|
+
/**
|
|
22539
|
+
* optional int32 users_count = 2;
|
|
22540
|
+
* @return {number}
|
|
22541
|
+
*/
|
|
22542
|
+
proto.user.AffiliateListItem.prototype.getUsersCount = function() {
|
|
22543
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22544
|
+
};
|
|
22545
|
+
|
|
22546
|
+
|
|
22547
|
+
/**
|
|
22548
|
+
* @param {number} value
|
|
22549
|
+
* @return {!proto.user.AffiliateListItem} returns this
|
|
22550
|
+
*/
|
|
22551
|
+
proto.user.AffiliateListItem.prototype.setUsersCount = function(value) {
|
|
22552
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22553
|
+
};
|
|
22554
|
+
|
|
22555
|
+
|
|
22556
|
+
|
|
22557
|
+
|
|
22558
|
+
|
|
22559
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22560
|
+
/**
|
|
22561
|
+
* Creates an object representation of this proto.
|
|
22562
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22563
|
+
* Optional fields that are not set will be set to undefined.
|
|
22564
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22565
|
+
* For the list of reserved names please see:
|
|
22566
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22567
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22568
|
+
* JSPB instance for transitional soy proto support:
|
|
22569
|
+
* http://goto/soy-param-migration
|
|
22570
|
+
* @return {!Object}
|
|
22571
|
+
*/
|
|
22572
|
+
proto.user.ReadAffiliateSummaryRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22573
|
+
return proto.user.ReadAffiliateSummaryRequest.toObject(opt_includeInstance, this);
|
|
22574
|
+
};
|
|
22575
|
+
|
|
22576
|
+
|
|
22577
|
+
/**
|
|
22578
|
+
* Static version of the {@see toObject} method.
|
|
22579
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22580
|
+
* the JSPB instance for transitional soy proto support:
|
|
22581
|
+
* http://goto/soy-param-migration
|
|
22582
|
+
* @param {!proto.user.ReadAffiliateSummaryRequest} msg The msg instance to transform.
|
|
22583
|
+
* @return {!Object}
|
|
22584
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22585
|
+
*/
|
|
22586
|
+
proto.user.ReadAffiliateSummaryRequest.toObject = function(includeInstance, msg) {
|
|
22587
|
+
var f, obj = {
|
|
22588
|
+
affiliateId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
22589
|
+
};
|
|
22590
|
+
|
|
22591
|
+
if (includeInstance) {
|
|
22592
|
+
obj.$jspbMessageInstance = msg;
|
|
22593
|
+
}
|
|
22594
|
+
return obj;
|
|
22595
|
+
};
|
|
22596
|
+
}
|
|
22597
|
+
|
|
22598
|
+
|
|
22599
|
+
/**
|
|
22600
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22601
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22602
|
+
* @return {!proto.user.ReadAffiliateSummaryRequest}
|
|
22603
|
+
*/
|
|
22604
|
+
proto.user.ReadAffiliateSummaryRequest.deserializeBinary = function(bytes) {
|
|
22605
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22606
|
+
var msg = new proto.user.ReadAffiliateSummaryRequest;
|
|
22607
|
+
return proto.user.ReadAffiliateSummaryRequest.deserializeBinaryFromReader(msg, reader);
|
|
22608
|
+
};
|
|
22609
|
+
|
|
22610
|
+
|
|
22611
|
+
/**
|
|
22612
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22613
|
+
* given reader into the given message object.
|
|
22614
|
+
* @param {!proto.user.ReadAffiliateSummaryRequest} msg The message object to deserialize into.
|
|
22615
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22616
|
+
* @return {!proto.user.ReadAffiliateSummaryRequest}
|
|
22617
|
+
*/
|
|
22618
|
+
proto.user.ReadAffiliateSummaryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22619
|
+
while (reader.nextField()) {
|
|
22620
|
+
if (reader.isEndGroup()) {
|
|
22621
|
+
break;
|
|
22622
|
+
}
|
|
22623
|
+
var field = reader.getFieldNumber();
|
|
22624
|
+
switch (field) {
|
|
22625
|
+
case 1:
|
|
22626
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22627
|
+
msg.setAffiliateId(value);
|
|
22628
|
+
break;
|
|
22629
|
+
default:
|
|
22630
|
+
reader.skipField();
|
|
22631
|
+
break;
|
|
22632
|
+
}
|
|
22633
|
+
}
|
|
22634
|
+
return msg;
|
|
22635
|
+
};
|
|
22636
|
+
|
|
22637
|
+
|
|
22638
|
+
/**
|
|
22639
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22640
|
+
* @return {!Uint8Array}
|
|
22641
|
+
*/
|
|
22642
|
+
proto.user.ReadAffiliateSummaryRequest.prototype.serializeBinary = function() {
|
|
22643
|
+
var writer = new jspb.BinaryWriter();
|
|
22644
|
+
proto.user.ReadAffiliateSummaryRequest.serializeBinaryToWriter(this, writer);
|
|
22645
|
+
return writer.getResultBuffer();
|
|
22646
|
+
};
|
|
22647
|
+
|
|
22648
|
+
|
|
22649
|
+
/**
|
|
22650
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22651
|
+
* format), writing to the given BinaryWriter.
|
|
22652
|
+
* @param {!proto.user.ReadAffiliateSummaryRequest} message
|
|
22653
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22654
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22655
|
+
*/
|
|
22656
|
+
proto.user.ReadAffiliateSummaryRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22657
|
+
var f = undefined;
|
|
22658
|
+
f = message.getAffiliateId();
|
|
22659
|
+
if (f !== 0) {
|
|
22660
|
+
writer.writeInt32(
|
|
22661
|
+
1,
|
|
22662
|
+
f
|
|
22663
|
+
);
|
|
22664
|
+
}
|
|
22665
|
+
};
|
|
22666
|
+
|
|
22667
|
+
|
|
22668
|
+
/**
|
|
22669
|
+
* optional int32 affiliate_id = 1;
|
|
22670
|
+
* @return {number}
|
|
22671
|
+
*/
|
|
22672
|
+
proto.user.ReadAffiliateSummaryRequest.prototype.getAffiliateId = function() {
|
|
22673
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22674
|
+
};
|
|
22675
|
+
|
|
22676
|
+
|
|
22677
|
+
/**
|
|
22678
|
+
* @param {number} value
|
|
22679
|
+
* @return {!proto.user.ReadAffiliateSummaryRequest} returns this
|
|
22680
|
+
*/
|
|
22681
|
+
proto.user.ReadAffiliateSummaryRequest.prototype.setAffiliateId = function(value) {
|
|
22682
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22683
|
+
};
|
|
22684
|
+
|
|
22685
|
+
|
|
22686
|
+
|
|
22687
|
+
|
|
22688
|
+
|
|
22689
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22690
|
+
/**
|
|
22691
|
+
* Creates an object representation of this proto.
|
|
22692
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22693
|
+
* Optional fields that are not set will be set to undefined.
|
|
22694
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22695
|
+
* For the list of reserved names please see:
|
|
22696
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22697
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22698
|
+
* JSPB instance for transitional soy proto support:
|
|
22699
|
+
* http://goto/soy-param-migration
|
|
22700
|
+
* @return {!Object}
|
|
22701
|
+
*/
|
|
22702
|
+
proto.user.ReadAffiliateSummaryResponse.prototype.toObject = function(opt_includeInstance) {
|
|
22703
|
+
return proto.user.ReadAffiliateSummaryResponse.toObject(opt_includeInstance, this);
|
|
22704
|
+
};
|
|
22705
|
+
|
|
22706
|
+
|
|
22707
|
+
/**
|
|
22708
|
+
* Static version of the {@see toObject} method.
|
|
22709
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22710
|
+
* the JSPB instance for transitional soy proto support:
|
|
22711
|
+
* http://goto/soy-param-migration
|
|
22712
|
+
* @param {!proto.user.ReadAffiliateSummaryResponse} msg The msg instance to transform.
|
|
22713
|
+
* @return {!Object}
|
|
22714
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22715
|
+
*/
|
|
22716
|
+
proto.user.ReadAffiliateSummaryResponse.toObject = function(includeInstance, msg) {
|
|
22717
|
+
var f, obj = {
|
|
22718
|
+
affiliateId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22719
|
+
usersCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
22720
|
+
};
|
|
22721
|
+
|
|
22722
|
+
if (includeInstance) {
|
|
22723
|
+
obj.$jspbMessageInstance = msg;
|
|
22724
|
+
}
|
|
22725
|
+
return obj;
|
|
22726
|
+
};
|
|
22727
|
+
}
|
|
22728
|
+
|
|
22729
|
+
|
|
22730
|
+
/**
|
|
22731
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22732
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22733
|
+
* @return {!proto.user.ReadAffiliateSummaryResponse}
|
|
22734
|
+
*/
|
|
22735
|
+
proto.user.ReadAffiliateSummaryResponse.deserializeBinary = function(bytes) {
|
|
22736
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22737
|
+
var msg = new proto.user.ReadAffiliateSummaryResponse;
|
|
22738
|
+
return proto.user.ReadAffiliateSummaryResponse.deserializeBinaryFromReader(msg, reader);
|
|
22739
|
+
};
|
|
22740
|
+
|
|
22741
|
+
|
|
22742
|
+
/**
|
|
22743
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22744
|
+
* given reader into the given message object.
|
|
22745
|
+
* @param {!proto.user.ReadAffiliateSummaryResponse} msg The message object to deserialize into.
|
|
22746
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22747
|
+
* @return {!proto.user.ReadAffiliateSummaryResponse}
|
|
22748
|
+
*/
|
|
22749
|
+
proto.user.ReadAffiliateSummaryResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
22750
|
+
while (reader.nextField()) {
|
|
22751
|
+
if (reader.isEndGroup()) {
|
|
22752
|
+
break;
|
|
22753
|
+
}
|
|
22754
|
+
var field = reader.getFieldNumber();
|
|
22755
|
+
switch (field) {
|
|
22756
|
+
case 1:
|
|
22757
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22758
|
+
msg.setAffiliateId(value);
|
|
22759
|
+
break;
|
|
22760
|
+
case 2:
|
|
22761
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22762
|
+
msg.setUsersCount(value);
|
|
22763
|
+
break;
|
|
22764
|
+
default:
|
|
22765
|
+
reader.skipField();
|
|
22766
|
+
break;
|
|
22767
|
+
}
|
|
22768
|
+
}
|
|
22769
|
+
return msg;
|
|
22770
|
+
};
|
|
22771
|
+
|
|
22772
|
+
|
|
22773
|
+
/**
|
|
22774
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22775
|
+
* @return {!Uint8Array}
|
|
22776
|
+
*/
|
|
22777
|
+
proto.user.ReadAffiliateSummaryResponse.prototype.serializeBinary = function() {
|
|
22778
|
+
var writer = new jspb.BinaryWriter();
|
|
22779
|
+
proto.user.ReadAffiliateSummaryResponse.serializeBinaryToWriter(this, writer);
|
|
22780
|
+
return writer.getResultBuffer();
|
|
22781
|
+
};
|
|
22782
|
+
|
|
22783
|
+
|
|
22784
|
+
/**
|
|
22785
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22786
|
+
* format), writing to the given BinaryWriter.
|
|
22787
|
+
* @param {!proto.user.ReadAffiliateSummaryResponse} message
|
|
22788
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22789
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22790
|
+
*/
|
|
22791
|
+
proto.user.ReadAffiliateSummaryResponse.serializeBinaryToWriter = function(message, writer) {
|
|
22792
|
+
var f = undefined;
|
|
22793
|
+
f = message.getAffiliateId();
|
|
22794
|
+
if (f !== 0) {
|
|
22795
|
+
writer.writeInt32(
|
|
22796
|
+
1,
|
|
22797
|
+
f
|
|
22798
|
+
);
|
|
22799
|
+
}
|
|
22800
|
+
f = message.getUsersCount();
|
|
22801
|
+
if (f !== 0) {
|
|
22802
|
+
writer.writeInt32(
|
|
22803
|
+
2,
|
|
22804
|
+
f
|
|
22805
|
+
);
|
|
22806
|
+
}
|
|
22807
|
+
};
|
|
22808
|
+
|
|
22809
|
+
|
|
22810
|
+
/**
|
|
22811
|
+
* optional int32 affiliate_id = 1;
|
|
22812
|
+
* @return {number}
|
|
21241
22813
|
*/
|
|
21242
|
-
proto.user.
|
|
21243
|
-
return /** @type {
|
|
22814
|
+
proto.user.ReadAffiliateSummaryResponse.prototype.getAffiliateId = function() {
|
|
22815
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21244
22816
|
};
|
|
21245
22817
|
|
|
21246
22818
|
|
|
21247
22819
|
/**
|
|
21248
|
-
* @param {
|
|
21249
|
-
* @return {!proto.user.
|
|
22820
|
+
* @param {number} value
|
|
22821
|
+
* @return {!proto.user.ReadAffiliateSummaryResponse} returns this
|
|
21250
22822
|
*/
|
|
21251
|
-
proto.user.
|
|
21252
|
-
return jspb.Message.
|
|
22823
|
+
proto.user.ReadAffiliateSummaryResponse.prototype.setAffiliateId = function(value) {
|
|
22824
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21253
22825
|
};
|
|
21254
22826
|
|
|
21255
22827
|
|
|
21256
22828
|
/**
|
|
21257
|
-
*
|
|
21258
|
-
* @return {
|
|
22829
|
+
* optional int32 users_count = 2;
|
|
22830
|
+
* @return {number}
|
|
21259
22831
|
*/
|
|
21260
|
-
proto.user.
|
|
21261
|
-
return jspb.Message.
|
|
22832
|
+
proto.user.ReadAffiliateSummaryResponse.prototype.getUsersCount = function() {
|
|
22833
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21262
22834
|
};
|
|
21263
22835
|
|
|
21264
22836
|
|
|
21265
22837
|
/**
|
|
21266
|
-
*
|
|
21267
|
-
* @return {
|
|
22838
|
+
* @param {number} value
|
|
22839
|
+
* @return {!proto.user.ReadAffiliateSummaryResponse} returns this
|
|
21268
22840
|
*/
|
|
21269
|
-
proto.user.
|
|
21270
|
-
return jspb.Message.
|
|
22841
|
+
proto.user.ReadAffiliateSummaryResponse.prototype.setUsersCount = function(value) {
|
|
22842
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21271
22843
|
};
|
|
21272
22844
|
|
|
21273
22845
|
|
|
21274
22846
|
|
|
21275
|
-
/**
|
|
21276
|
-
* List of repeated fields within this message type.
|
|
21277
|
-
* @private {!Array<number>}
|
|
21278
|
-
* @const
|
|
21279
|
-
*/
|
|
21280
|
-
proto.user.BatchGetAffiliateAttributionRequest.repeatedFields_ = [1];
|
|
21281
|
-
|
|
21282
22847
|
|
|
21283
22848
|
|
|
21284
22849
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -21294,8 +22859,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21294
22859
|
* http://goto/soy-param-migration
|
|
21295
22860
|
* @return {!Object}
|
|
21296
22861
|
*/
|
|
21297
|
-
proto.user.
|
|
21298
|
-
return proto.user.
|
|
22862
|
+
proto.user.ReadAffiliatePlayersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22863
|
+
return proto.user.ReadAffiliatePlayersRequest.toObject(opt_includeInstance, this);
|
|
21299
22864
|
};
|
|
21300
22865
|
|
|
21301
22866
|
|
|
@@ -21304,13 +22869,15 @@ proto.user.BatchGetAffiliateAttributionRequest.prototype.toObject = function(opt
|
|
|
21304
22869
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21305
22870
|
* the JSPB instance for transitional soy proto support:
|
|
21306
22871
|
* http://goto/soy-param-migration
|
|
21307
|
-
* @param {!proto.user.
|
|
22872
|
+
* @param {!proto.user.ReadAffiliatePlayersRequest} msg The msg instance to transform.
|
|
21308
22873
|
* @return {!Object}
|
|
21309
22874
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21310
22875
|
*/
|
|
21311
|
-
proto.user.
|
|
22876
|
+
proto.user.ReadAffiliatePlayersRequest.toObject = function(includeInstance, msg) {
|
|
21312
22877
|
var f, obj = {
|
|
21313
|
-
|
|
22878
|
+
affiliateId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22879
|
+
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22880
|
+
offset: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
21314
22881
|
};
|
|
21315
22882
|
|
|
21316
22883
|
if (includeInstance) {
|
|
@@ -21324,23 +22891,23 @@ proto.user.BatchGetAffiliateAttributionRequest.toObject = function(includeInstan
|
|
|
21324
22891
|
/**
|
|
21325
22892
|
* Deserializes binary data (in protobuf wire format).
|
|
21326
22893
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21327
|
-
* @return {!proto.user.
|
|
22894
|
+
* @return {!proto.user.ReadAffiliatePlayersRequest}
|
|
21328
22895
|
*/
|
|
21329
|
-
proto.user.
|
|
22896
|
+
proto.user.ReadAffiliatePlayersRequest.deserializeBinary = function(bytes) {
|
|
21330
22897
|
var reader = new jspb.BinaryReader(bytes);
|
|
21331
|
-
var msg = new proto.user.
|
|
21332
|
-
return proto.user.
|
|
22898
|
+
var msg = new proto.user.ReadAffiliatePlayersRequest;
|
|
22899
|
+
return proto.user.ReadAffiliatePlayersRequest.deserializeBinaryFromReader(msg, reader);
|
|
21333
22900
|
};
|
|
21334
22901
|
|
|
21335
22902
|
|
|
21336
22903
|
/**
|
|
21337
22904
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21338
22905
|
* given reader into the given message object.
|
|
21339
|
-
* @param {!proto.user.
|
|
22906
|
+
* @param {!proto.user.ReadAffiliatePlayersRequest} msg The message object to deserialize into.
|
|
21340
22907
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21341
|
-
* @return {!proto.user.
|
|
22908
|
+
* @return {!proto.user.ReadAffiliatePlayersRequest}
|
|
21342
22909
|
*/
|
|
21343
|
-
proto.user.
|
|
22910
|
+
proto.user.ReadAffiliatePlayersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21344
22911
|
while (reader.nextField()) {
|
|
21345
22912
|
if (reader.isEndGroup()) {
|
|
21346
22913
|
break;
|
|
@@ -21348,10 +22915,16 @@ proto.user.BatchGetAffiliateAttributionRequest.deserializeBinaryFromReader = fun
|
|
|
21348
22915
|
var field = reader.getFieldNumber();
|
|
21349
22916
|
switch (field) {
|
|
21350
22917
|
case 1:
|
|
21351
|
-
var
|
|
21352
|
-
|
|
21353
|
-
|
|
21354
|
-
|
|
22918
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22919
|
+
msg.setAffiliateId(value);
|
|
22920
|
+
break;
|
|
22921
|
+
case 2:
|
|
22922
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22923
|
+
msg.setLimit(value);
|
|
22924
|
+
break;
|
|
22925
|
+
case 3:
|
|
22926
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22927
|
+
msg.setOffset(value);
|
|
21355
22928
|
break;
|
|
21356
22929
|
default:
|
|
21357
22930
|
reader.skipField();
|
|
@@ -21366,9 +22939,9 @@ proto.user.BatchGetAffiliateAttributionRequest.deserializeBinaryFromReader = fun
|
|
|
21366
22939
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21367
22940
|
* @return {!Uint8Array}
|
|
21368
22941
|
*/
|
|
21369
|
-
proto.user.
|
|
22942
|
+
proto.user.ReadAffiliatePlayersRequest.prototype.serializeBinary = function() {
|
|
21370
22943
|
var writer = new jspb.BinaryWriter();
|
|
21371
|
-
proto.user.
|
|
22944
|
+
proto.user.ReadAffiliatePlayersRequest.serializeBinaryToWriter(this, writer);
|
|
21372
22945
|
return writer.getResultBuffer();
|
|
21373
22946
|
};
|
|
21374
22947
|
|
|
@@ -21376,66 +22949,90 @@ proto.user.BatchGetAffiliateAttributionRequest.prototype.serializeBinary = funct
|
|
|
21376
22949
|
/**
|
|
21377
22950
|
* Serializes the given message to binary data (in protobuf wire
|
|
21378
22951
|
* format), writing to the given BinaryWriter.
|
|
21379
|
-
* @param {!proto.user.
|
|
22952
|
+
* @param {!proto.user.ReadAffiliatePlayersRequest} message
|
|
21380
22953
|
* @param {!jspb.BinaryWriter} writer
|
|
21381
22954
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21382
22955
|
*/
|
|
21383
|
-
proto.user.
|
|
22956
|
+
proto.user.ReadAffiliatePlayersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21384
22957
|
var f = undefined;
|
|
21385
|
-
f = message.
|
|
21386
|
-
if (f
|
|
21387
|
-
writer.
|
|
22958
|
+
f = message.getAffiliateId();
|
|
22959
|
+
if (f !== 0) {
|
|
22960
|
+
writer.writeInt32(
|
|
21388
22961
|
1,
|
|
21389
22962
|
f
|
|
21390
22963
|
);
|
|
21391
22964
|
}
|
|
22965
|
+
f = message.getLimit();
|
|
22966
|
+
if (f !== 0) {
|
|
22967
|
+
writer.writeInt32(
|
|
22968
|
+
2,
|
|
22969
|
+
f
|
|
22970
|
+
);
|
|
22971
|
+
}
|
|
22972
|
+
f = message.getOffset();
|
|
22973
|
+
if (f !== 0) {
|
|
22974
|
+
writer.writeInt32(
|
|
22975
|
+
3,
|
|
22976
|
+
f
|
|
22977
|
+
);
|
|
22978
|
+
}
|
|
21392
22979
|
};
|
|
21393
22980
|
|
|
21394
22981
|
|
|
21395
22982
|
/**
|
|
21396
|
-
*
|
|
21397
|
-
* @return {
|
|
22983
|
+
* optional int32 affiliate_id = 1;
|
|
22984
|
+
* @return {number}
|
|
21398
22985
|
*/
|
|
21399
|
-
proto.user.
|
|
21400
|
-
return /** @type {
|
|
22986
|
+
proto.user.ReadAffiliatePlayersRequest.prototype.getAffiliateId = function() {
|
|
22987
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21401
22988
|
};
|
|
21402
22989
|
|
|
21403
22990
|
|
|
21404
22991
|
/**
|
|
21405
|
-
* @param {
|
|
21406
|
-
* @return {!proto.user.
|
|
22992
|
+
* @param {number} value
|
|
22993
|
+
* @return {!proto.user.ReadAffiliatePlayersRequest} returns this
|
|
21407
22994
|
*/
|
|
21408
|
-
proto.user.
|
|
21409
|
-
return jspb.Message.
|
|
22995
|
+
proto.user.ReadAffiliatePlayersRequest.prototype.setAffiliateId = function(value) {
|
|
22996
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21410
22997
|
};
|
|
21411
22998
|
|
|
21412
22999
|
|
|
21413
23000
|
/**
|
|
21414
|
-
*
|
|
21415
|
-
* @
|
|
21416
|
-
* @return {!proto.user.BatchGetAffiliateAttributionRequest} returns this
|
|
23001
|
+
* optional int32 limit = 2;
|
|
23002
|
+
* @return {number}
|
|
21417
23003
|
*/
|
|
21418
|
-
proto.user.
|
|
21419
|
-
return jspb.Message.
|
|
23004
|
+
proto.user.ReadAffiliatePlayersRequest.prototype.getLimit = function() {
|
|
23005
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21420
23006
|
};
|
|
21421
23007
|
|
|
21422
23008
|
|
|
21423
23009
|
/**
|
|
21424
|
-
*
|
|
21425
|
-
* @return {!proto.user.
|
|
23010
|
+
* @param {number} value
|
|
23011
|
+
* @return {!proto.user.ReadAffiliatePlayersRequest} returns this
|
|
21426
23012
|
*/
|
|
21427
|
-
proto.user.
|
|
21428
|
-
return
|
|
23013
|
+
proto.user.ReadAffiliatePlayersRequest.prototype.setLimit = function(value) {
|
|
23014
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21429
23015
|
};
|
|
21430
23016
|
|
|
21431
23017
|
|
|
23018
|
+
/**
|
|
23019
|
+
* optional int32 offset = 3;
|
|
23020
|
+
* @return {number}
|
|
23021
|
+
*/
|
|
23022
|
+
proto.user.ReadAffiliatePlayersRequest.prototype.getOffset = function() {
|
|
23023
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
23024
|
+
};
|
|
23025
|
+
|
|
21432
23026
|
|
|
21433
23027
|
/**
|
|
21434
|
-
*
|
|
21435
|
-
* @
|
|
21436
|
-
* @const
|
|
23028
|
+
* @param {number} value
|
|
23029
|
+
* @return {!proto.user.ReadAffiliatePlayersRequest} returns this
|
|
21437
23030
|
*/
|
|
21438
|
-
proto.user.
|
|
23031
|
+
proto.user.ReadAffiliatePlayersRequest.prototype.setOffset = function(value) {
|
|
23032
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
23033
|
+
};
|
|
23034
|
+
|
|
23035
|
+
|
|
21439
23036
|
|
|
21440
23037
|
|
|
21441
23038
|
|
|
@@ -21452,8 +23049,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21452
23049
|
* http://goto/soy-param-migration
|
|
21453
23050
|
* @return {!Object}
|
|
21454
23051
|
*/
|
|
21455
|
-
proto.user.
|
|
21456
|
-
return proto.user.
|
|
23052
|
+
proto.user.AffiliatePlayerItem.prototype.toObject = function(opt_includeInstance) {
|
|
23053
|
+
return proto.user.AffiliatePlayerItem.toObject(opt_includeInstance, this);
|
|
21457
23054
|
};
|
|
21458
23055
|
|
|
21459
23056
|
|
|
@@ -21462,14 +23059,16 @@ proto.user.BatchGetAffiliateAttributionResponse.prototype.toObject = function(op
|
|
|
21462
23059
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21463
23060
|
* the JSPB instance for transitional soy proto support:
|
|
21464
23061
|
* http://goto/soy-param-migration
|
|
21465
|
-
* @param {!proto.user.
|
|
23062
|
+
* @param {!proto.user.AffiliatePlayerItem} msg The msg instance to transform.
|
|
21466
23063
|
* @return {!Object}
|
|
21467
23064
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21468
23065
|
*/
|
|
21469
|
-
proto.user.
|
|
23066
|
+
proto.user.AffiliatePlayerItem.toObject = function(includeInstance, msg) {
|
|
21470
23067
|
var f, obj = {
|
|
21471
|
-
|
|
21472
|
-
|
|
23068
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
23069
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23070
|
+
nickname: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
23071
|
+
affiliateId: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
21473
23072
|
};
|
|
21474
23073
|
|
|
21475
23074
|
if (includeInstance) {
|
|
@@ -21483,23 +23082,23 @@ proto.user.BatchGetAffiliateAttributionResponse.toObject = function(includeInsta
|
|
|
21483
23082
|
/**
|
|
21484
23083
|
* Deserializes binary data (in protobuf wire format).
|
|
21485
23084
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21486
|
-
* @return {!proto.user.
|
|
23085
|
+
* @return {!proto.user.AffiliatePlayerItem}
|
|
21487
23086
|
*/
|
|
21488
|
-
proto.user.
|
|
23087
|
+
proto.user.AffiliatePlayerItem.deserializeBinary = function(bytes) {
|
|
21489
23088
|
var reader = new jspb.BinaryReader(bytes);
|
|
21490
|
-
var msg = new proto.user.
|
|
21491
|
-
return proto.user.
|
|
23089
|
+
var msg = new proto.user.AffiliatePlayerItem;
|
|
23090
|
+
return proto.user.AffiliatePlayerItem.deserializeBinaryFromReader(msg, reader);
|
|
21492
23091
|
};
|
|
21493
23092
|
|
|
21494
23093
|
|
|
21495
23094
|
/**
|
|
21496
23095
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21497
23096
|
* given reader into the given message object.
|
|
21498
|
-
* @param {!proto.user.
|
|
23097
|
+
* @param {!proto.user.AffiliatePlayerItem} msg The message object to deserialize into.
|
|
21499
23098
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21500
|
-
* @return {!proto.user.
|
|
23099
|
+
* @return {!proto.user.AffiliatePlayerItem}
|
|
21501
23100
|
*/
|
|
21502
|
-
proto.user.
|
|
23101
|
+
proto.user.AffiliatePlayerItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
21503
23102
|
while (reader.nextField()) {
|
|
21504
23103
|
if (reader.isEndGroup()) {
|
|
21505
23104
|
break;
|
|
@@ -21507,9 +23106,20 @@ proto.user.BatchGetAffiliateAttributionResponse.deserializeBinaryFromReader = fu
|
|
|
21507
23106
|
var field = reader.getFieldNumber();
|
|
21508
23107
|
switch (field) {
|
|
21509
23108
|
case 1:
|
|
21510
|
-
var value =
|
|
21511
|
-
|
|
21512
|
-
|
|
23109
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23110
|
+
msg.setUserId(value);
|
|
23111
|
+
break;
|
|
23112
|
+
case 2:
|
|
23113
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23114
|
+
msg.setUserPublicId(value);
|
|
23115
|
+
break;
|
|
23116
|
+
case 3:
|
|
23117
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23118
|
+
msg.setNickname(value);
|
|
23119
|
+
break;
|
|
23120
|
+
case 4:
|
|
23121
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23122
|
+
msg.setAffiliateId(value);
|
|
21513
23123
|
break;
|
|
21514
23124
|
default:
|
|
21515
23125
|
reader.skipField();
|
|
@@ -21524,9 +23134,9 @@ proto.user.BatchGetAffiliateAttributionResponse.deserializeBinaryFromReader = fu
|
|
|
21524
23134
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21525
23135
|
* @return {!Uint8Array}
|
|
21526
23136
|
*/
|
|
21527
|
-
proto.user.
|
|
23137
|
+
proto.user.AffiliatePlayerItem.prototype.serializeBinary = function() {
|
|
21528
23138
|
var writer = new jspb.BinaryWriter();
|
|
21529
|
-
proto.user.
|
|
23139
|
+
proto.user.AffiliatePlayerItem.serializeBinaryToWriter(this, writer);
|
|
21530
23140
|
return writer.getResultBuffer();
|
|
21531
23141
|
};
|
|
21532
23142
|
|
|
@@ -21534,62 +23144,141 @@ proto.user.BatchGetAffiliateAttributionResponse.prototype.serializeBinary = func
|
|
|
21534
23144
|
/**
|
|
21535
23145
|
* Serializes the given message to binary data (in protobuf wire
|
|
21536
23146
|
* format), writing to the given BinaryWriter.
|
|
21537
|
-
* @param {!proto.user.
|
|
23147
|
+
* @param {!proto.user.AffiliatePlayerItem} message
|
|
21538
23148
|
* @param {!jspb.BinaryWriter} writer
|
|
21539
23149
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21540
23150
|
*/
|
|
21541
|
-
proto.user.
|
|
23151
|
+
proto.user.AffiliatePlayerItem.serializeBinaryToWriter = function(message, writer) {
|
|
21542
23152
|
var f = undefined;
|
|
21543
|
-
f = message.
|
|
21544
|
-
if (f
|
|
21545
|
-
writer.
|
|
23153
|
+
f = message.getUserId();
|
|
23154
|
+
if (f !== 0) {
|
|
23155
|
+
writer.writeInt32(
|
|
21546
23156
|
1,
|
|
21547
|
-
f
|
|
21548
|
-
|
|
23157
|
+
f
|
|
23158
|
+
);
|
|
23159
|
+
}
|
|
23160
|
+
f = message.getUserPublicId();
|
|
23161
|
+
if (f.length > 0) {
|
|
23162
|
+
writer.writeString(
|
|
23163
|
+
2,
|
|
23164
|
+
f
|
|
23165
|
+
);
|
|
23166
|
+
}
|
|
23167
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
23168
|
+
if (f != null) {
|
|
23169
|
+
writer.writeString(
|
|
23170
|
+
3,
|
|
23171
|
+
f
|
|
23172
|
+
);
|
|
23173
|
+
}
|
|
23174
|
+
f = message.getAffiliateId();
|
|
23175
|
+
if (f !== 0) {
|
|
23176
|
+
writer.writeInt32(
|
|
23177
|
+
4,
|
|
23178
|
+
f
|
|
21549
23179
|
);
|
|
21550
23180
|
}
|
|
21551
23181
|
};
|
|
21552
23182
|
|
|
21553
23183
|
|
|
21554
23184
|
/**
|
|
21555
|
-
*
|
|
21556
|
-
* @return {
|
|
23185
|
+
* optional int32 user_id = 1;
|
|
23186
|
+
* @return {number}
|
|
21557
23187
|
*/
|
|
21558
|
-
proto.user.
|
|
21559
|
-
return /** @type{
|
|
21560
|
-
jspb.Message.getRepeatedWrapperField(this, proto.user.BatchGetAffiliateAttributionItem, 1));
|
|
23188
|
+
proto.user.AffiliatePlayerItem.prototype.getUserId = function() {
|
|
23189
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21561
23190
|
};
|
|
21562
23191
|
|
|
21563
23192
|
|
|
21564
23193
|
/**
|
|
21565
|
-
* @param {
|
|
21566
|
-
* @return {!proto.user.
|
|
21567
|
-
*/
|
|
21568
|
-
proto.user.
|
|
21569
|
-
return jspb.Message.
|
|
23194
|
+
* @param {number} value
|
|
23195
|
+
* @return {!proto.user.AffiliatePlayerItem} returns this
|
|
23196
|
+
*/
|
|
23197
|
+
proto.user.AffiliatePlayerItem.prototype.setUserId = function(value) {
|
|
23198
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21570
23199
|
};
|
|
21571
23200
|
|
|
21572
23201
|
|
|
21573
23202
|
/**
|
|
21574
|
-
*
|
|
21575
|
-
* @
|
|
21576
|
-
* @return {!proto.user.BatchGetAffiliateAttributionItem}
|
|
23203
|
+
* optional string user_public_id = 2;
|
|
23204
|
+
* @return {string}
|
|
21577
23205
|
*/
|
|
21578
|
-
proto.user.
|
|
21579
|
-
return jspb.Message.
|
|
23206
|
+
proto.user.AffiliatePlayerItem.prototype.getUserPublicId = function() {
|
|
23207
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
21580
23208
|
};
|
|
21581
23209
|
|
|
21582
23210
|
|
|
21583
23211
|
/**
|
|
21584
|
-
*
|
|
21585
|
-
* @return {!proto.user.
|
|
23212
|
+
* @param {string} value
|
|
23213
|
+
* @return {!proto.user.AffiliatePlayerItem} returns this
|
|
21586
23214
|
*/
|
|
21587
|
-
proto.user.
|
|
21588
|
-
return
|
|
23215
|
+
proto.user.AffiliatePlayerItem.prototype.setUserPublicId = function(value) {
|
|
23216
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
23217
|
+
};
|
|
23218
|
+
|
|
23219
|
+
|
|
23220
|
+
/**
|
|
23221
|
+
* optional string nickname = 3;
|
|
23222
|
+
* @return {string}
|
|
23223
|
+
*/
|
|
23224
|
+
proto.user.AffiliatePlayerItem.prototype.getNickname = function() {
|
|
23225
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
23226
|
+
};
|
|
23227
|
+
|
|
23228
|
+
|
|
23229
|
+
/**
|
|
23230
|
+
* @param {string} value
|
|
23231
|
+
* @return {!proto.user.AffiliatePlayerItem} returns this
|
|
23232
|
+
*/
|
|
23233
|
+
proto.user.AffiliatePlayerItem.prototype.setNickname = function(value) {
|
|
23234
|
+
return jspb.Message.setField(this, 3, value);
|
|
23235
|
+
};
|
|
23236
|
+
|
|
23237
|
+
|
|
23238
|
+
/**
|
|
23239
|
+
* Clears the field making it undefined.
|
|
23240
|
+
* @return {!proto.user.AffiliatePlayerItem} returns this
|
|
23241
|
+
*/
|
|
23242
|
+
proto.user.AffiliatePlayerItem.prototype.clearNickname = function() {
|
|
23243
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
23244
|
+
};
|
|
23245
|
+
|
|
23246
|
+
|
|
23247
|
+
/**
|
|
23248
|
+
* Returns whether this field is set.
|
|
23249
|
+
* @return {boolean}
|
|
23250
|
+
*/
|
|
23251
|
+
proto.user.AffiliatePlayerItem.prototype.hasNickname = function() {
|
|
23252
|
+
return jspb.Message.getField(this, 3) != null;
|
|
23253
|
+
};
|
|
23254
|
+
|
|
23255
|
+
|
|
23256
|
+
/**
|
|
23257
|
+
* optional int32 affiliate_id = 4;
|
|
23258
|
+
* @return {number}
|
|
23259
|
+
*/
|
|
23260
|
+
proto.user.AffiliatePlayerItem.prototype.getAffiliateId = function() {
|
|
23261
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
23262
|
+
};
|
|
23263
|
+
|
|
23264
|
+
|
|
23265
|
+
/**
|
|
23266
|
+
* @param {number} value
|
|
23267
|
+
* @return {!proto.user.AffiliatePlayerItem} returns this
|
|
23268
|
+
*/
|
|
23269
|
+
proto.user.AffiliatePlayerItem.prototype.setAffiliateId = function(value) {
|
|
23270
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
21589
23271
|
};
|
|
21590
23272
|
|
|
21591
23273
|
|
|
21592
23274
|
|
|
23275
|
+
/**
|
|
23276
|
+
* List of repeated fields within this message type.
|
|
23277
|
+
* @private {!Array<number>}
|
|
23278
|
+
* @const
|
|
23279
|
+
*/
|
|
23280
|
+
proto.user.ReadAffiliatePlayersResponse.repeatedFields_ = [1];
|
|
23281
|
+
|
|
21593
23282
|
|
|
21594
23283
|
|
|
21595
23284
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -21605,8 +23294,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21605
23294
|
* http://goto/soy-param-migration
|
|
21606
23295
|
* @return {!Object}
|
|
21607
23296
|
*/
|
|
21608
|
-
proto.user.
|
|
21609
|
-
return proto.user.
|
|
23297
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.toObject = function(opt_includeInstance) {
|
|
23298
|
+
return proto.user.ReadAffiliatePlayersResponse.toObject(opt_includeInstance, this);
|
|
21610
23299
|
};
|
|
21611
23300
|
|
|
21612
23301
|
|
|
@@ -21615,15 +23304,16 @@ proto.user.BatchGetAffiliateAttributionItem.prototype.toObject = function(opt_in
|
|
|
21615
23304
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21616
23305
|
* the JSPB instance for transitional soy proto support:
|
|
21617
23306
|
* http://goto/soy-param-migration
|
|
21618
|
-
* @param {!proto.user.
|
|
23307
|
+
* @param {!proto.user.ReadAffiliatePlayersResponse} msg The msg instance to transform.
|
|
21619
23308
|
* @return {!Object}
|
|
21620
23309
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21621
23310
|
*/
|
|
21622
|
-
proto.user.
|
|
23311
|
+
proto.user.ReadAffiliatePlayersResponse.toObject = function(includeInstance, msg) {
|
|
21623
23312
|
var f, obj = {
|
|
21624
|
-
|
|
21625
|
-
|
|
21626
|
-
|
|
23313
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
23314
|
+
proto.user.AffiliatePlayerItem.toObject, includeInstance),
|
|
23315
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
23316
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
21627
23317
|
};
|
|
21628
23318
|
|
|
21629
23319
|
if (includeInstance) {
|
|
@@ -21637,23 +23327,23 @@ proto.user.BatchGetAffiliateAttributionItem.toObject = function(includeInstance,
|
|
|
21637
23327
|
/**
|
|
21638
23328
|
* Deserializes binary data (in protobuf wire format).
|
|
21639
23329
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21640
|
-
* @return {!proto.user.
|
|
23330
|
+
* @return {!proto.user.ReadAffiliatePlayersResponse}
|
|
21641
23331
|
*/
|
|
21642
|
-
proto.user.
|
|
23332
|
+
proto.user.ReadAffiliatePlayersResponse.deserializeBinary = function(bytes) {
|
|
21643
23333
|
var reader = new jspb.BinaryReader(bytes);
|
|
21644
|
-
var msg = new proto.user.
|
|
21645
|
-
return proto.user.
|
|
23334
|
+
var msg = new proto.user.ReadAffiliatePlayersResponse;
|
|
23335
|
+
return proto.user.ReadAffiliatePlayersResponse.deserializeBinaryFromReader(msg, reader);
|
|
21646
23336
|
};
|
|
21647
23337
|
|
|
21648
23338
|
|
|
21649
23339
|
/**
|
|
21650
23340
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21651
23341
|
* given reader into the given message object.
|
|
21652
|
-
* @param {!proto.user.
|
|
23342
|
+
* @param {!proto.user.ReadAffiliatePlayersResponse} msg The message object to deserialize into.
|
|
21653
23343
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21654
|
-
* @return {!proto.user.
|
|
23344
|
+
* @return {!proto.user.ReadAffiliatePlayersResponse}
|
|
21655
23345
|
*/
|
|
21656
|
-
proto.user.
|
|
23346
|
+
proto.user.ReadAffiliatePlayersResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
21657
23347
|
while (reader.nextField()) {
|
|
21658
23348
|
if (reader.isEndGroup()) {
|
|
21659
23349
|
break;
|
|
@@ -21661,16 +23351,17 @@ proto.user.BatchGetAffiliateAttributionItem.deserializeBinaryFromReader = functi
|
|
|
21661
23351
|
var field = reader.getFieldNumber();
|
|
21662
23352
|
switch (field) {
|
|
21663
23353
|
case 1:
|
|
21664
|
-
var value =
|
|
21665
|
-
|
|
23354
|
+
var value = new proto.user.AffiliatePlayerItem;
|
|
23355
|
+
reader.readMessage(value,proto.user.AffiliatePlayerItem.deserializeBinaryFromReader);
|
|
23356
|
+
msg.addItems(value);
|
|
21666
23357
|
break;
|
|
21667
23358
|
case 2:
|
|
21668
|
-
var value = /** @type {
|
|
21669
|
-
msg.
|
|
23359
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23360
|
+
msg.setTotalItems(value);
|
|
21670
23361
|
break;
|
|
21671
23362
|
case 3:
|
|
21672
|
-
var value = /** @type {
|
|
21673
|
-
msg.
|
|
23363
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23364
|
+
msg.setTotalPages(value);
|
|
21674
23365
|
break;
|
|
21675
23366
|
default:
|
|
21676
23367
|
reader.skipField();
|
|
@@ -21685,9 +23376,9 @@ proto.user.BatchGetAffiliateAttributionItem.deserializeBinaryFromReader = functi
|
|
|
21685
23376
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21686
23377
|
* @return {!Uint8Array}
|
|
21687
23378
|
*/
|
|
21688
|
-
proto.user.
|
|
23379
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.serializeBinary = function() {
|
|
21689
23380
|
var writer = new jspb.BinaryWriter();
|
|
21690
|
-
proto.user.
|
|
23381
|
+
proto.user.ReadAffiliatePlayersResponse.serializeBinaryToWriter(this, writer);
|
|
21691
23382
|
return writer.getResultBuffer();
|
|
21692
23383
|
};
|
|
21693
23384
|
|
|
@@ -21695,29 +23386,30 @@ proto.user.BatchGetAffiliateAttributionItem.prototype.serializeBinary = function
|
|
|
21695
23386
|
/**
|
|
21696
23387
|
* Serializes the given message to binary data (in protobuf wire
|
|
21697
23388
|
* format), writing to the given BinaryWriter.
|
|
21698
|
-
* @param {!proto.user.
|
|
23389
|
+
* @param {!proto.user.ReadAffiliatePlayersResponse} message
|
|
21699
23390
|
* @param {!jspb.BinaryWriter} writer
|
|
21700
23391
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21701
23392
|
*/
|
|
21702
|
-
proto.user.
|
|
23393
|
+
proto.user.ReadAffiliatePlayersResponse.serializeBinaryToWriter = function(message, writer) {
|
|
21703
23394
|
var f = undefined;
|
|
21704
|
-
f = message.
|
|
21705
|
-
if (f
|
|
21706
|
-
writer.
|
|
23395
|
+
f = message.getItemsList();
|
|
23396
|
+
if (f.length > 0) {
|
|
23397
|
+
writer.writeRepeatedMessage(
|
|
21707
23398
|
1,
|
|
21708
|
-
f
|
|
23399
|
+
f,
|
|
23400
|
+
proto.user.AffiliatePlayerItem.serializeBinaryToWriter
|
|
21709
23401
|
);
|
|
21710
23402
|
}
|
|
21711
|
-
f =
|
|
21712
|
-
if (f
|
|
21713
|
-
writer.
|
|
23403
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
23404
|
+
if (f != null) {
|
|
23405
|
+
writer.writeInt32(
|
|
21714
23406
|
2,
|
|
21715
23407
|
f
|
|
21716
23408
|
);
|
|
21717
23409
|
}
|
|
21718
|
-
f =
|
|
21719
|
-
if (f
|
|
21720
|
-
writer.
|
|
23410
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
23411
|
+
if (f != null) {
|
|
23412
|
+
writer.writeInt32(
|
|
21721
23413
|
3,
|
|
21722
23414
|
f
|
|
21723
23415
|
);
|
|
@@ -21726,56 +23418,112 @@ proto.user.BatchGetAffiliateAttributionItem.serializeBinaryToWriter = function(m
|
|
|
21726
23418
|
|
|
21727
23419
|
|
|
21728
23420
|
/**
|
|
21729
|
-
*
|
|
23421
|
+
* repeated AffiliatePlayerItem items = 1;
|
|
23422
|
+
* @return {!Array<!proto.user.AffiliatePlayerItem>}
|
|
23423
|
+
*/
|
|
23424
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.getItemsList = function() {
|
|
23425
|
+
return /** @type{!Array<!proto.user.AffiliatePlayerItem>} */ (
|
|
23426
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.AffiliatePlayerItem, 1));
|
|
23427
|
+
};
|
|
23428
|
+
|
|
23429
|
+
|
|
23430
|
+
/**
|
|
23431
|
+
* @param {!Array<!proto.user.AffiliatePlayerItem>} value
|
|
23432
|
+
* @return {!proto.user.ReadAffiliatePlayersResponse} returns this
|
|
23433
|
+
*/
|
|
23434
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.setItemsList = function(value) {
|
|
23435
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
23436
|
+
};
|
|
23437
|
+
|
|
23438
|
+
|
|
23439
|
+
/**
|
|
23440
|
+
* @param {!proto.user.AffiliatePlayerItem=} opt_value
|
|
23441
|
+
* @param {number=} opt_index
|
|
23442
|
+
* @return {!proto.user.AffiliatePlayerItem}
|
|
23443
|
+
*/
|
|
23444
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
23445
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.AffiliatePlayerItem, opt_index);
|
|
23446
|
+
};
|
|
23447
|
+
|
|
23448
|
+
|
|
23449
|
+
/**
|
|
23450
|
+
* Clears the list making it empty but non-null.
|
|
23451
|
+
* @return {!proto.user.ReadAffiliatePlayersResponse} returns this
|
|
23452
|
+
*/
|
|
23453
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.clearItemsList = function() {
|
|
23454
|
+
return this.setItemsList([]);
|
|
23455
|
+
};
|
|
23456
|
+
|
|
23457
|
+
|
|
23458
|
+
/**
|
|
23459
|
+
* optional int32 total_items = 2;
|
|
21730
23460
|
* @return {number}
|
|
21731
23461
|
*/
|
|
21732
|
-
proto.user.
|
|
21733
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
23462
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.getTotalItems = function() {
|
|
23463
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21734
23464
|
};
|
|
21735
23465
|
|
|
21736
23466
|
|
|
21737
23467
|
/**
|
|
21738
23468
|
* @param {number} value
|
|
21739
|
-
* @return {!proto.user.
|
|
23469
|
+
* @return {!proto.user.ReadAffiliatePlayersResponse} returns this
|
|
21740
23470
|
*/
|
|
21741
|
-
proto.user.
|
|
21742
|
-
return jspb.Message.
|
|
23471
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.setTotalItems = function(value) {
|
|
23472
|
+
return jspb.Message.setField(this, 2, value);
|
|
21743
23473
|
};
|
|
21744
23474
|
|
|
21745
23475
|
|
|
21746
23476
|
/**
|
|
21747
|
-
*
|
|
21748
|
-
* @return {
|
|
23477
|
+
* Clears the field making it undefined.
|
|
23478
|
+
* @return {!proto.user.ReadAffiliatePlayersResponse} returns this
|
|
21749
23479
|
*/
|
|
21750
|
-
proto.user.
|
|
21751
|
-
return
|
|
23480
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.clearTotalItems = function() {
|
|
23481
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
21752
23482
|
};
|
|
21753
23483
|
|
|
21754
23484
|
|
|
21755
23485
|
/**
|
|
21756
|
-
*
|
|
21757
|
-
* @return {
|
|
23486
|
+
* Returns whether this field is set.
|
|
23487
|
+
* @return {boolean}
|
|
21758
23488
|
*/
|
|
21759
|
-
proto.user.
|
|
21760
|
-
return jspb.Message.
|
|
23489
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.hasTotalItems = function() {
|
|
23490
|
+
return jspb.Message.getField(this, 2) != null;
|
|
21761
23491
|
};
|
|
21762
23492
|
|
|
21763
23493
|
|
|
21764
23494
|
/**
|
|
21765
|
-
* optional
|
|
21766
|
-
* @return {
|
|
23495
|
+
* optional int32 total_pages = 3;
|
|
23496
|
+
* @return {number}
|
|
21767
23497
|
*/
|
|
21768
|
-
proto.user.
|
|
21769
|
-
return /** @type {
|
|
23498
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.getTotalPages = function() {
|
|
23499
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
21770
23500
|
};
|
|
21771
23501
|
|
|
21772
23502
|
|
|
21773
23503
|
/**
|
|
21774
|
-
* @param {
|
|
21775
|
-
* @return {!proto.user.
|
|
23504
|
+
* @param {number} value
|
|
23505
|
+
* @return {!proto.user.ReadAffiliatePlayersResponse} returns this
|
|
21776
23506
|
*/
|
|
21777
|
-
proto.user.
|
|
21778
|
-
return jspb.Message.
|
|
23507
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.setTotalPages = function(value) {
|
|
23508
|
+
return jspb.Message.setField(this, 3, value);
|
|
23509
|
+
};
|
|
23510
|
+
|
|
23511
|
+
|
|
23512
|
+
/**
|
|
23513
|
+
* Clears the field making it undefined.
|
|
23514
|
+
* @return {!proto.user.ReadAffiliatePlayersResponse} returns this
|
|
23515
|
+
*/
|
|
23516
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.clearTotalPages = function() {
|
|
23517
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
23518
|
+
};
|
|
23519
|
+
|
|
23520
|
+
|
|
23521
|
+
/**
|
|
23522
|
+
* Returns whether this field is set.
|
|
23523
|
+
* @return {boolean}
|
|
23524
|
+
*/
|
|
23525
|
+
proto.user.ReadAffiliatePlayersResponse.prototype.hasTotalPages = function() {
|
|
23526
|
+
return jspb.Message.getField(this, 3) != null;
|
|
21779
23527
|
};
|
|
21780
23528
|
|
|
21781
23529
|
|
|
@@ -84356,6 +86104,136 @@ proto.user.EmailConfirmedRequest.prototype.setToken = function(value) {
|
|
|
84356
86104
|
|
|
84357
86105
|
|
|
84358
86106
|
|
|
86107
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
86108
|
+
/**
|
|
86109
|
+
* Creates an object representation of this proto.
|
|
86110
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
86111
|
+
* Optional fields that are not set will be set to undefined.
|
|
86112
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
86113
|
+
* For the list of reserved names please see:
|
|
86114
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
86115
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
86116
|
+
* JSPB instance for transitional soy proto support:
|
|
86117
|
+
* http://goto/soy-param-migration
|
|
86118
|
+
* @return {!Object}
|
|
86119
|
+
*/
|
|
86120
|
+
proto.user.RequestEmailVerificationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
86121
|
+
return proto.user.RequestEmailVerificationRequest.toObject(opt_includeInstance, this);
|
|
86122
|
+
};
|
|
86123
|
+
|
|
86124
|
+
|
|
86125
|
+
/**
|
|
86126
|
+
* Static version of the {@see toObject} method.
|
|
86127
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
86128
|
+
* the JSPB instance for transitional soy proto support:
|
|
86129
|
+
* http://goto/soy-param-migration
|
|
86130
|
+
* @param {!proto.user.RequestEmailVerificationRequest} msg The msg instance to transform.
|
|
86131
|
+
* @return {!Object}
|
|
86132
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
86133
|
+
*/
|
|
86134
|
+
proto.user.RequestEmailVerificationRequest.toObject = function(includeInstance, msg) {
|
|
86135
|
+
var f, obj = {
|
|
86136
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
86137
|
+
};
|
|
86138
|
+
|
|
86139
|
+
if (includeInstance) {
|
|
86140
|
+
obj.$jspbMessageInstance = msg;
|
|
86141
|
+
}
|
|
86142
|
+
return obj;
|
|
86143
|
+
};
|
|
86144
|
+
}
|
|
86145
|
+
|
|
86146
|
+
|
|
86147
|
+
/**
|
|
86148
|
+
* Deserializes binary data (in protobuf wire format).
|
|
86149
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
86150
|
+
* @return {!proto.user.RequestEmailVerificationRequest}
|
|
86151
|
+
*/
|
|
86152
|
+
proto.user.RequestEmailVerificationRequest.deserializeBinary = function(bytes) {
|
|
86153
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
86154
|
+
var msg = new proto.user.RequestEmailVerificationRequest;
|
|
86155
|
+
return proto.user.RequestEmailVerificationRequest.deserializeBinaryFromReader(msg, reader);
|
|
86156
|
+
};
|
|
86157
|
+
|
|
86158
|
+
|
|
86159
|
+
/**
|
|
86160
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
86161
|
+
* given reader into the given message object.
|
|
86162
|
+
* @param {!proto.user.RequestEmailVerificationRequest} msg The message object to deserialize into.
|
|
86163
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
86164
|
+
* @return {!proto.user.RequestEmailVerificationRequest}
|
|
86165
|
+
*/
|
|
86166
|
+
proto.user.RequestEmailVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
86167
|
+
while (reader.nextField()) {
|
|
86168
|
+
if (reader.isEndGroup()) {
|
|
86169
|
+
break;
|
|
86170
|
+
}
|
|
86171
|
+
var field = reader.getFieldNumber();
|
|
86172
|
+
switch (field) {
|
|
86173
|
+
case 1:
|
|
86174
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
86175
|
+
msg.setUserId(value);
|
|
86176
|
+
break;
|
|
86177
|
+
default:
|
|
86178
|
+
reader.skipField();
|
|
86179
|
+
break;
|
|
86180
|
+
}
|
|
86181
|
+
}
|
|
86182
|
+
return msg;
|
|
86183
|
+
};
|
|
86184
|
+
|
|
86185
|
+
|
|
86186
|
+
/**
|
|
86187
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
86188
|
+
* @return {!Uint8Array}
|
|
86189
|
+
*/
|
|
86190
|
+
proto.user.RequestEmailVerificationRequest.prototype.serializeBinary = function() {
|
|
86191
|
+
var writer = new jspb.BinaryWriter();
|
|
86192
|
+
proto.user.RequestEmailVerificationRequest.serializeBinaryToWriter(this, writer);
|
|
86193
|
+
return writer.getResultBuffer();
|
|
86194
|
+
};
|
|
86195
|
+
|
|
86196
|
+
|
|
86197
|
+
/**
|
|
86198
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
86199
|
+
* format), writing to the given BinaryWriter.
|
|
86200
|
+
* @param {!proto.user.RequestEmailVerificationRequest} message
|
|
86201
|
+
* @param {!jspb.BinaryWriter} writer
|
|
86202
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
86203
|
+
*/
|
|
86204
|
+
proto.user.RequestEmailVerificationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
86205
|
+
var f = undefined;
|
|
86206
|
+
f = message.getUserId();
|
|
86207
|
+
if (f !== 0) {
|
|
86208
|
+
writer.writeInt32(
|
|
86209
|
+
1,
|
|
86210
|
+
f
|
|
86211
|
+
);
|
|
86212
|
+
}
|
|
86213
|
+
};
|
|
86214
|
+
|
|
86215
|
+
|
|
86216
|
+
/**
|
|
86217
|
+
* optional int32 user_id = 1;
|
|
86218
|
+
* @return {number}
|
|
86219
|
+
*/
|
|
86220
|
+
proto.user.RequestEmailVerificationRequest.prototype.getUserId = function() {
|
|
86221
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
86222
|
+
};
|
|
86223
|
+
|
|
86224
|
+
|
|
86225
|
+
/**
|
|
86226
|
+
* @param {number} value
|
|
86227
|
+
* @return {!proto.user.RequestEmailVerificationRequest} returns this
|
|
86228
|
+
*/
|
|
86229
|
+
proto.user.RequestEmailVerificationRequest.prototype.setUserId = function(value) {
|
|
86230
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
86231
|
+
};
|
|
86232
|
+
|
|
86233
|
+
|
|
86234
|
+
|
|
86235
|
+
|
|
86236
|
+
|
|
84359
86237
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
84360
86238
|
/**
|
|
84361
86239
|
* Creates an object representation of this proto.
|