protobuf-platform 1.2.610 → 1.2.612

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/user/user_pb.js CHANGED
@@ -21,6 +21,10 @@ var global = (function() {
21
21
  return Function('return this')();
22
22
  }.call(null));
23
23
 
24
+ goog.exportSymbol('proto.user.AdminResetResponsibleGamingPolicyRequest', null, global);
25
+ goog.exportSymbol('proto.user.AdminResetResponsibleGamingPolicyResponse', null, global);
26
+ goog.exportSymbol('proto.user.AffiliateListItem', null, global);
27
+ goog.exportSymbol('proto.user.AffiliatePlayerItem', null, global);
24
28
  goog.exportSymbol('proto.user.AppleLoginRequest', null, global);
25
29
  goog.exportSymbol('proto.user.ApproveVerificationRequest', null, global);
26
30
  goog.exportSymbol('proto.user.ApproveVerificationResponse', null, global);
@@ -119,9 +123,15 @@ goog.exportSymbol('proto.user.ProcessAntifraudProviderWebhookRequest', null, glo
119
123
  goog.exportSymbol('proto.user.ProcessAntifraudProviderWebhookResponse', null, global);
120
124
  goog.exportSymbol('proto.user.ProcessUserKycProviderWebhookRequest', null, global);
121
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);
122
130
  goog.exportSymbol('proto.user.ReadKycRequirementPresetRequest', null, global);
123
131
  goog.exportSymbol('proto.user.ReadKycRequirementPresetRulesRequest', null, global);
124
132
  goog.exportSymbol('proto.user.ReadKycRuleDefinitionRequest', null, global);
133
+ goog.exportSymbol('proto.user.ReadListAffiliatesRequest', null, global);
134
+ goog.exportSymbol('proto.user.ReadListAffiliatesResponse', null, global);
125
135
  goog.exportSymbol('proto.user.ReadListKycRequirementPresetsRequest', null, global);
126
136
  goog.exportSymbol('proto.user.ReadListKycRuleDefinitionsRequest', null, global);
127
137
  goog.exportSymbol('proto.user.ReadListPresetsRequest', null, global);
@@ -899,6 +909,174 @@ if (goog.DEBUG && !COMPILED) {
899
909
  */
900
910
  proto.user.BatchGetAffiliateAttributionItem.displayName = 'proto.user.BatchGetAffiliateAttributionItem';
901
911
  }
912
+ /**
913
+ * Generated by JsPbCodeGenerator.
914
+ * @param {Array=} opt_data Optional initial data array, typically from a
915
+ * server response, or constructed directly in Javascript. The array is used
916
+ * in place and becomes part of the constructed object. It is not cloned.
917
+ * If no data is provided, the constructed object will be empty, but still
918
+ * valid.
919
+ * @extends {jspb.Message}
920
+ * @constructor
921
+ */
922
+ proto.user.ReadListAffiliatesRequest = function(opt_data) {
923
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
924
+ };
925
+ goog.inherits(proto.user.ReadListAffiliatesRequest, jspb.Message);
926
+ if (goog.DEBUG && !COMPILED) {
927
+ /**
928
+ * @public
929
+ * @override
930
+ */
931
+ proto.user.ReadListAffiliatesRequest.displayName = 'proto.user.ReadListAffiliatesRequest';
932
+ }
933
+ /**
934
+ * Generated by JsPbCodeGenerator.
935
+ * @param {Array=} opt_data Optional initial data array, typically from a
936
+ * server response, or constructed directly in Javascript. The array is used
937
+ * in place and becomes part of the constructed object. It is not cloned.
938
+ * If no data is provided, the constructed object will be empty, but still
939
+ * valid.
940
+ * @extends {jspb.Message}
941
+ * @constructor
942
+ */
943
+ proto.user.ReadListAffiliatesResponse = function(opt_data) {
944
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.ReadListAffiliatesResponse.repeatedFields_, null);
945
+ };
946
+ goog.inherits(proto.user.ReadListAffiliatesResponse, jspb.Message);
947
+ if (goog.DEBUG && !COMPILED) {
948
+ /**
949
+ * @public
950
+ * @override
951
+ */
952
+ proto.user.ReadListAffiliatesResponse.displayName = 'proto.user.ReadListAffiliatesResponse';
953
+ }
954
+ /**
955
+ * Generated by JsPbCodeGenerator.
956
+ * @param {Array=} opt_data Optional initial data array, typically from a
957
+ * server response, or constructed directly in Javascript. The array is used
958
+ * in place and becomes part of the constructed object. It is not cloned.
959
+ * If no data is provided, the constructed object will be empty, but still
960
+ * valid.
961
+ * @extends {jspb.Message}
962
+ * @constructor
963
+ */
964
+ proto.user.AffiliateListItem = function(opt_data) {
965
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
966
+ };
967
+ goog.inherits(proto.user.AffiliateListItem, jspb.Message);
968
+ if (goog.DEBUG && !COMPILED) {
969
+ /**
970
+ * @public
971
+ * @override
972
+ */
973
+ proto.user.AffiliateListItem.displayName = 'proto.user.AffiliateListItem';
974
+ }
975
+ /**
976
+ * Generated by JsPbCodeGenerator.
977
+ * @param {Array=} opt_data Optional initial data array, typically from a
978
+ * server response, or constructed directly in Javascript. The array is used
979
+ * in place and becomes part of the constructed object. It is not cloned.
980
+ * If no data is provided, the constructed object will be empty, but still
981
+ * valid.
982
+ * @extends {jspb.Message}
983
+ * @constructor
984
+ */
985
+ proto.user.ReadAffiliateSummaryRequest = function(opt_data) {
986
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
987
+ };
988
+ goog.inherits(proto.user.ReadAffiliateSummaryRequest, jspb.Message);
989
+ if (goog.DEBUG && !COMPILED) {
990
+ /**
991
+ * @public
992
+ * @override
993
+ */
994
+ proto.user.ReadAffiliateSummaryRequest.displayName = 'proto.user.ReadAffiliateSummaryRequest';
995
+ }
996
+ /**
997
+ * Generated by JsPbCodeGenerator.
998
+ * @param {Array=} opt_data Optional initial data array, typically from a
999
+ * server response, or constructed directly in Javascript. The array is used
1000
+ * in place and becomes part of the constructed object. It is not cloned.
1001
+ * If no data is provided, the constructed object will be empty, but still
1002
+ * valid.
1003
+ * @extends {jspb.Message}
1004
+ * @constructor
1005
+ */
1006
+ proto.user.ReadAffiliateSummaryResponse = function(opt_data) {
1007
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1008
+ };
1009
+ goog.inherits(proto.user.ReadAffiliateSummaryResponse, jspb.Message);
1010
+ if (goog.DEBUG && !COMPILED) {
1011
+ /**
1012
+ * @public
1013
+ * @override
1014
+ */
1015
+ proto.user.ReadAffiliateSummaryResponse.displayName = 'proto.user.ReadAffiliateSummaryResponse';
1016
+ }
1017
+ /**
1018
+ * Generated by JsPbCodeGenerator.
1019
+ * @param {Array=} opt_data Optional initial data array, typically from a
1020
+ * server response, or constructed directly in Javascript. The array is used
1021
+ * in place and becomes part of the constructed object. It is not cloned.
1022
+ * If no data is provided, the constructed object will be empty, but still
1023
+ * valid.
1024
+ * @extends {jspb.Message}
1025
+ * @constructor
1026
+ */
1027
+ proto.user.ReadAffiliatePlayersRequest = function(opt_data) {
1028
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1029
+ };
1030
+ goog.inherits(proto.user.ReadAffiliatePlayersRequest, jspb.Message);
1031
+ if (goog.DEBUG && !COMPILED) {
1032
+ /**
1033
+ * @public
1034
+ * @override
1035
+ */
1036
+ proto.user.ReadAffiliatePlayersRequest.displayName = 'proto.user.ReadAffiliatePlayersRequest';
1037
+ }
1038
+ /**
1039
+ * Generated by JsPbCodeGenerator.
1040
+ * @param {Array=} opt_data Optional initial data array, typically from a
1041
+ * server response, or constructed directly in Javascript. The array is used
1042
+ * in place and becomes part of the constructed object. It is not cloned.
1043
+ * If no data is provided, the constructed object will be empty, but still
1044
+ * valid.
1045
+ * @extends {jspb.Message}
1046
+ * @constructor
1047
+ */
1048
+ proto.user.AffiliatePlayerItem = function(opt_data) {
1049
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1050
+ };
1051
+ goog.inherits(proto.user.AffiliatePlayerItem, jspb.Message);
1052
+ if (goog.DEBUG && !COMPILED) {
1053
+ /**
1054
+ * @public
1055
+ * @override
1056
+ */
1057
+ proto.user.AffiliatePlayerItem.displayName = 'proto.user.AffiliatePlayerItem';
1058
+ }
1059
+ /**
1060
+ * Generated by JsPbCodeGenerator.
1061
+ * @param {Array=} opt_data Optional initial data array, typically from a
1062
+ * server response, or constructed directly in Javascript. The array is used
1063
+ * in place and becomes part of the constructed object. It is not cloned.
1064
+ * If no data is provided, the constructed object will be empty, but still
1065
+ * valid.
1066
+ * @extends {jspb.Message}
1067
+ * @constructor
1068
+ */
1069
+ proto.user.ReadAffiliatePlayersResponse = function(opt_data) {
1070
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.ReadAffiliatePlayersResponse.repeatedFields_, null);
1071
+ };
1072
+ goog.inherits(proto.user.ReadAffiliatePlayersResponse, jspb.Message);
1073
+ if (goog.DEBUG && !COMPILED) {
1074
+ /**
1075
+ * @public
1076
+ * @override
1077
+ */
1078
+ proto.user.ReadAffiliatePlayersResponse.displayName = 'proto.user.ReadAffiliatePlayersResponse';
1079
+ }
902
1080
  /**
903
1081
  * Generated by JsPbCodeGenerator.
904
1082
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5435,6 +5613,48 @@ if (goog.DEBUG && !COMPILED) {
5435
5613
  */
5436
5614
  proto.user.DisableResponsibleGamingPolicyRequest.displayName = 'proto.user.DisableResponsibleGamingPolicyRequest';
5437
5615
  }
5616
+ /**
5617
+ * Generated by JsPbCodeGenerator.
5618
+ * @param {Array=} opt_data Optional initial data array, typically from a
5619
+ * server response, or constructed directly in Javascript. The array is used
5620
+ * in place and becomes part of the constructed object. It is not cloned.
5621
+ * If no data is provided, the constructed object will be empty, but still
5622
+ * valid.
5623
+ * @extends {jspb.Message}
5624
+ * @constructor
5625
+ */
5626
+ proto.user.AdminResetResponsibleGamingPolicyRequest = function(opt_data) {
5627
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5628
+ };
5629
+ goog.inherits(proto.user.AdminResetResponsibleGamingPolicyRequest, jspb.Message);
5630
+ if (goog.DEBUG && !COMPILED) {
5631
+ /**
5632
+ * @public
5633
+ * @override
5634
+ */
5635
+ proto.user.AdminResetResponsibleGamingPolicyRequest.displayName = 'proto.user.AdminResetResponsibleGamingPolicyRequest';
5636
+ }
5637
+ /**
5638
+ * Generated by JsPbCodeGenerator.
5639
+ * @param {Array=} opt_data Optional initial data array, typically from a
5640
+ * server response, or constructed directly in Javascript. The array is used
5641
+ * in place and becomes part of the constructed object. It is not cloned.
5642
+ * If no data is provided, the constructed object will be empty, but still
5643
+ * valid.
5644
+ * @extends {jspb.Message}
5645
+ * @constructor
5646
+ */
5647
+ proto.user.AdminResetResponsibleGamingPolicyResponse = function(opt_data) {
5648
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.AdminResetResponsibleGamingPolicyResponse.repeatedFields_, null);
5649
+ };
5650
+ goog.inherits(proto.user.AdminResetResponsibleGamingPolicyResponse, jspb.Message);
5651
+ if (goog.DEBUG && !COMPILED) {
5652
+ /**
5653
+ * @public
5654
+ * @override
5655
+ */
5656
+ proto.user.AdminResetResponsibleGamingPolicyResponse.displayName = 'proto.user.AdminResetResponsibleGamingPolicyResponse';
5657
+ }
5438
5658
  /**
5439
5659
  * Generated by JsPbCodeGenerator.
5440
5660
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -21738,6 +21958,1556 @@ proto.user.BatchGetAffiliateAttributionItem.prototype.setClickId = function(valu
21738
21958
 
21739
21959
 
21740
21960
 
21961
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21962
+ /**
21963
+ * Creates an object representation of this proto.
21964
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21965
+ * Optional fields that are not set will be set to undefined.
21966
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21967
+ * For the list of reserved names please see:
21968
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21969
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21970
+ * JSPB instance for transitional soy proto support:
21971
+ * http://goto/soy-param-migration
21972
+ * @return {!Object}
21973
+ */
21974
+ proto.user.ReadListAffiliatesRequest.prototype.toObject = function(opt_includeInstance) {
21975
+ return proto.user.ReadListAffiliatesRequest.toObject(opt_includeInstance, this);
21976
+ };
21977
+
21978
+
21979
+ /**
21980
+ * Static version of the {@see toObject} method.
21981
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21982
+ * the JSPB instance for transitional soy proto support:
21983
+ * http://goto/soy-param-migration
21984
+ * @param {!proto.user.ReadListAffiliatesRequest} msg The msg instance to transform.
21985
+ * @return {!Object}
21986
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21987
+ */
21988
+ proto.user.ReadListAffiliatesRequest.toObject = function(includeInstance, msg) {
21989
+ var f, obj = {
21990
+ limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
21991
+ offset: jspb.Message.getFieldWithDefault(msg, 2, 0)
21992
+ };
21993
+
21994
+ if (includeInstance) {
21995
+ obj.$jspbMessageInstance = msg;
21996
+ }
21997
+ return obj;
21998
+ };
21999
+ }
22000
+
22001
+
22002
+ /**
22003
+ * Deserializes binary data (in protobuf wire format).
22004
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22005
+ * @return {!proto.user.ReadListAffiliatesRequest}
22006
+ */
22007
+ proto.user.ReadListAffiliatesRequest.deserializeBinary = function(bytes) {
22008
+ var reader = new jspb.BinaryReader(bytes);
22009
+ var msg = new proto.user.ReadListAffiliatesRequest;
22010
+ return proto.user.ReadListAffiliatesRequest.deserializeBinaryFromReader(msg, reader);
22011
+ };
22012
+
22013
+
22014
+ /**
22015
+ * Deserializes binary data (in protobuf wire format) from the
22016
+ * given reader into the given message object.
22017
+ * @param {!proto.user.ReadListAffiliatesRequest} msg The message object to deserialize into.
22018
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22019
+ * @return {!proto.user.ReadListAffiliatesRequest}
22020
+ */
22021
+ proto.user.ReadListAffiliatesRequest.deserializeBinaryFromReader = function(msg, reader) {
22022
+ while (reader.nextField()) {
22023
+ if (reader.isEndGroup()) {
22024
+ break;
22025
+ }
22026
+ var field = reader.getFieldNumber();
22027
+ switch (field) {
22028
+ case 1:
22029
+ var value = /** @type {number} */ (reader.readInt32());
22030
+ msg.setLimit(value);
22031
+ break;
22032
+ case 2:
22033
+ var value = /** @type {number} */ (reader.readInt32());
22034
+ msg.setOffset(value);
22035
+ break;
22036
+ default:
22037
+ reader.skipField();
22038
+ break;
22039
+ }
22040
+ }
22041
+ return msg;
22042
+ };
22043
+
22044
+
22045
+ /**
22046
+ * Serializes the message to binary data (in protobuf wire format).
22047
+ * @return {!Uint8Array}
22048
+ */
22049
+ proto.user.ReadListAffiliatesRequest.prototype.serializeBinary = function() {
22050
+ var writer = new jspb.BinaryWriter();
22051
+ proto.user.ReadListAffiliatesRequest.serializeBinaryToWriter(this, writer);
22052
+ return writer.getResultBuffer();
22053
+ };
22054
+
22055
+
22056
+ /**
22057
+ * Serializes the given message to binary data (in protobuf wire
22058
+ * format), writing to the given BinaryWriter.
22059
+ * @param {!proto.user.ReadListAffiliatesRequest} message
22060
+ * @param {!jspb.BinaryWriter} writer
22061
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22062
+ */
22063
+ proto.user.ReadListAffiliatesRequest.serializeBinaryToWriter = function(message, writer) {
22064
+ var f = undefined;
22065
+ f = message.getLimit();
22066
+ if (f !== 0) {
22067
+ writer.writeInt32(
22068
+ 1,
22069
+ f
22070
+ );
22071
+ }
22072
+ f = message.getOffset();
22073
+ if (f !== 0) {
22074
+ writer.writeInt32(
22075
+ 2,
22076
+ f
22077
+ );
22078
+ }
22079
+ };
22080
+
22081
+
22082
+ /**
22083
+ * optional int32 limit = 1;
22084
+ * @return {number}
22085
+ */
22086
+ proto.user.ReadListAffiliatesRequest.prototype.getLimit = function() {
22087
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
22088
+ };
22089
+
22090
+
22091
+ /**
22092
+ * @param {number} value
22093
+ * @return {!proto.user.ReadListAffiliatesRequest} returns this
22094
+ */
22095
+ proto.user.ReadListAffiliatesRequest.prototype.setLimit = function(value) {
22096
+ return jspb.Message.setProto3IntField(this, 1, value);
22097
+ };
22098
+
22099
+
22100
+ /**
22101
+ * optional int32 offset = 2;
22102
+ * @return {number}
22103
+ */
22104
+ proto.user.ReadListAffiliatesRequest.prototype.getOffset = function() {
22105
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
22106
+ };
22107
+
22108
+
22109
+ /**
22110
+ * @param {number} value
22111
+ * @return {!proto.user.ReadListAffiliatesRequest} returns this
22112
+ */
22113
+ proto.user.ReadListAffiliatesRequest.prototype.setOffset = function(value) {
22114
+ return jspb.Message.setProto3IntField(this, 2, value);
22115
+ };
22116
+
22117
+
22118
+
22119
+ /**
22120
+ * List of repeated fields within this message type.
22121
+ * @private {!Array<number>}
22122
+ * @const
22123
+ */
22124
+ proto.user.ReadListAffiliatesResponse.repeatedFields_ = [1];
22125
+
22126
+
22127
+
22128
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22129
+ /**
22130
+ * Creates an object representation of this proto.
22131
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22132
+ * Optional fields that are not set will be set to undefined.
22133
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22134
+ * For the list of reserved names please see:
22135
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22136
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22137
+ * JSPB instance for transitional soy proto support:
22138
+ * http://goto/soy-param-migration
22139
+ * @return {!Object}
22140
+ */
22141
+ proto.user.ReadListAffiliatesResponse.prototype.toObject = function(opt_includeInstance) {
22142
+ return proto.user.ReadListAffiliatesResponse.toObject(opt_includeInstance, this);
22143
+ };
22144
+
22145
+
22146
+ /**
22147
+ * Static version of the {@see toObject} method.
22148
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22149
+ * the JSPB instance for transitional soy proto support:
22150
+ * http://goto/soy-param-migration
22151
+ * @param {!proto.user.ReadListAffiliatesResponse} msg The msg instance to transform.
22152
+ * @return {!Object}
22153
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22154
+ */
22155
+ proto.user.ReadListAffiliatesResponse.toObject = function(includeInstance, msg) {
22156
+ var f, obj = {
22157
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
22158
+ proto.user.AffiliateListItem.toObject, includeInstance),
22159
+ totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
22160
+ totalPages: jspb.Message.getFieldWithDefault(msg, 3, 0)
22161
+ };
22162
+
22163
+ if (includeInstance) {
22164
+ obj.$jspbMessageInstance = msg;
22165
+ }
22166
+ return obj;
22167
+ };
22168
+ }
22169
+
22170
+
22171
+ /**
22172
+ * Deserializes binary data (in protobuf wire format).
22173
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22174
+ * @return {!proto.user.ReadListAffiliatesResponse}
22175
+ */
22176
+ proto.user.ReadListAffiliatesResponse.deserializeBinary = function(bytes) {
22177
+ var reader = new jspb.BinaryReader(bytes);
22178
+ var msg = new proto.user.ReadListAffiliatesResponse;
22179
+ return proto.user.ReadListAffiliatesResponse.deserializeBinaryFromReader(msg, reader);
22180
+ };
22181
+
22182
+
22183
+ /**
22184
+ * Deserializes binary data (in protobuf wire format) from the
22185
+ * given reader into the given message object.
22186
+ * @param {!proto.user.ReadListAffiliatesResponse} msg The message object to deserialize into.
22187
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22188
+ * @return {!proto.user.ReadListAffiliatesResponse}
22189
+ */
22190
+ proto.user.ReadListAffiliatesResponse.deserializeBinaryFromReader = function(msg, reader) {
22191
+ while (reader.nextField()) {
22192
+ if (reader.isEndGroup()) {
22193
+ break;
22194
+ }
22195
+ var field = reader.getFieldNumber();
22196
+ switch (field) {
22197
+ case 1:
22198
+ var value = new proto.user.AffiliateListItem;
22199
+ reader.readMessage(value,proto.user.AffiliateListItem.deserializeBinaryFromReader);
22200
+ msg.addItems(value);
22201
+ break;
22202
+ case 2:
22203
+ var value = /** @type {number} */ (reader.readInt32());
22204
+ msg.setTotalItems(value);
22205
+ break;
22206
+ case 3:
22207
+ var value = /** @type {number} */ (reader.readInt32());
22208
+ msg.setTotalPages(value);
22209
+ break;
22210
+ default:
22211
+ reader.skipField();
22212
+ break;
22213
+ }
22214
+ }
22215
+ return msg;
22216
+ };
22217
+
22218
+
22219
+ /**
22220
+ * Serializes the message to binary data (in protobuf wire format).
22221
+ * @return {!Uint8Array}
22222
+ */
22223
+ proto.user.ReadListAffiliatesResponse.prototype.serializeBinary = function() {
22224
+ var writer = new jspb.BinaryWriter();
22225
+ proto.user.ReadListAffiliatesResponse.serializeBinaryToWriter(this, writer);
22226
+ return writer.getResultBuffer();
22227
+ };
22228
+
22229
+
22230
+ /**
22231
+ * Serializes the given message to binary data (in protobuf wire
22232
+ * format), writing to the given BinaryWriter.
22233
+ * @param {!proto.user.ReadListAffiliatesResponse} message
22234
+ * @param {!jspb.BinaryWriter} writer
22235
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22236
+ */
22237
+ proto.user.ReadListAffiliatesResponse.serializeBinaryToWriter = function(message, writer) {
22238
+ var f = undefined;
22239
+ f = message.getItemsList();
22240
+ if (f.length > 0) {
22241
+ writer.writeRepeatedMessage(
22242
+ 1,
22243
+ f,
22244
+ proto.user.AffiliateListItem.serializeBinaryToWriter
22245
+ );
22246
+ }
22247
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
22248
+ if (f != null) {
22249
+ writer.writeInt32(
22250
+ 2,
22251
+ f
22252
+ );
22253
+ }
22254
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
22255
+ if (f != null) {
22256
+ writer.writeInt32(
22257
+ 3,
22258
+ f
22259
+ );
22260
+ }
22261
+ };
22262
+
22263
+
22264
+ /**
22265
+ * repeated AffiliateListItem items = 1;
22266
+ * @return {!Array<!proto.user.AffiliateListItem>}
22267
+ */
22268
+ proto.user.ReadListAffiliatesResponse.prototype.getItemsList = function() {
22269
+ return /** @type{!Array<!proto.user.AffiliateListItem>} */ (
22270
+ jspb.Message.getRepeatedWrapperField(this, proto.user.AffiliateListItem, 1));
22271
+ };
22272
+
22273
+
22274
+ /**
22275
+ * @param {!Array<!proto.user.AffiliateListItem>} value
22276
+ * @return {!proto.user.ReadListAffiliatesResponse} returns this
22277
+ */
22278
+ proto.user.ReadListAffiliatesResponse.prototype.setItemsList = function(value) {
22279
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
22280
+ };
22281
+
22282
+
22283
+ /**
22284
+ * @param {!proto.user.AffiliateListItem=} opt_value
22285
+ * @param {number=} opt_index
22286
+ * @return {!proto.user.AffiliateListItem}
22287
+ */
22288
+ proto.user.ReadListAffiliatesResponse.prototype.addItems = function(opt_value, opt_index) {
22289
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.AffiliateListItem, opt_index);
22290
+ };
22291
+
22292
+
22293
+ /**
22294
+ * Clears the list making it empty but non-null.
22295
+ * @return {!proto.user.ReadListAffiliatesResponse} returns this
22296
+ */
22297
+ proto.user.ReadListAffiliatesResponse.prototype.clearItemsList = function() {
22298
+ return this.setItemsList([]);
22299
+ };
22300
+
22301
+
22302
+ /**
22303
+ * optional int32 total_items = 2;
22304
+ * @return {number}
22305
+ */
22306
+ proto.user.ReadListAffiliatesResponse.prototype.getTotalItems = function() {
22307
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
22308
+ };
22309
+
22310
+
22311
+ /**
22312
+ * @param {number} value
22313
+ * @return {!proto.user.ReadListAffiliatesResponse} returns this
22314
+ */
22315
+ proto.user.ReadListAffiliatesResponse.prototype.setTotalItems = function(value) {
22316
+ return jspb.Message.setField(this, 2, value);
22317
+ };
22318
+
22319
+
22320
+ /**
22321
+ * Clears the field making it undefined.
22322
+ * @return {!proto.user.ReadListAffiliatesResponse} returns this
22323
+ */
22324
+ proto.user.ReadListAffiliatesResponse.prototype.clearTotalItems = function() {
22325
+ return jspb.Message.setField(this, 2, undefined);
22326
+ };
22327
+
22328
+
22329
+ /**
22330
+ * Returns whether this field is set.
22331
+ * @return {boolean}
22332
+ */
22333
+ proto.user.ReadListAffiliatesResponse.prototype.hasTotalItems = function() {
22334
+ return jspb.Message.getField(this, 2) != null;
22335
+ };
22336
+
22337
+
22338
+ /**
22339
+ * optional int32 total_pages = 3;
22340
+ * @return {number}
22341
+ */
22342
+ proto.user.ReadListAffiliatesResponse.prototype.getTotalPages = function() {
22343
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
22344
+ };
22345
+
22346
+
22347
+ /**
22348
+ * @param {number} value
22349
+ * @return {!proto.user.ReadListAffiliatesResponse} returns this
22350
+ */
22351
+ proto.user.ReadListAffiliatesResponse.prototype.setTotalPages = function(value) {
22352
+ return jspb.Message.setField(this, 3, value);
22353
+ };
22354
+
22355
+
22356
+ /**
22357
+ * Clears the field making it undefined.
22358
+ * @return {!proto.user.ReadListAffiliatesResponse} returns this
22359
+ */
22360
+ proto.user.ReadListAffiliatesResponse.prototype.clearTotalPages = function() {
22361
+ return jspb.Message.setField(this, 3, undefined);
22362
+ };
22363
+
22364
+
22365
+ /**
22366
+ * Returns whether this field is set.
22367
+ * @return {boolean}
22368
+ */
22369
+ proto.user.ReadListAffiliatesResponse.prototype.hasTotalPages = function() {
22370
+ return jspb.Message.getField(this, 3) != null;
22371
+ };
22372
+
22373
+
22374
+
22375
+
22376
+
22377
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22378
+ /**
22379
+ * Creates an object representation of this proto.
22380
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22381
+ * Optional fields that are not set will be set to undefined.
22382
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22383
+ * For the list of reserved names please see:
22384
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22385
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22386
+ * JSPB instance for transitional soy proto support:
22387
+ * http://goto/soy-param-migration
22388
+ * @return {!Object}
22389
+ */
22390
+ proto.user.AffiliateListItem.prototype.toObject = function(opt_includeInstance) {
22391
+ return proto.user.AffiliateListItem.toObject(opt_includeInstance, this);
22392
+ };
22393
+
22394
+
22395
+ /**
22396
+ * Static version of the {@see toObject} method.
22397
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22398
+ * the JSPB instance for transitional soy proto support:
22399
+ * http://goto/soy-param-migration
22400
+ * @param {!proto.user.AffiliateListItem} msg The msg instance to transform.
22401
+ * @return {!Object}
22402
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22403
+ */
22404
+ proto.user.AffiliateListItem.toObject = function(includeInstance, msg) {
22405
+ var f, obj = {
22406
+ affiliateId: jspb.Message.getFieldWithDefault(msg, 1, 0),
22407
+ usersCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
22408
+ };
22409
+
22410
+ if (includeInstance) {
22411
+ obj.$jspbMessageInstance = msg;
22412
+ }
22413
+ return obj;
22414
+ };
22415
+ }
22416
+
22417
+
22418
+ /**
22419
+ * Deserializes binary data (in protobuf wire format).
22420
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22421
+ * @return {!proto.user.AffiliateListItem}
22422
+ */
22423
+ proto.user.AffiliateListItem.deserializeBinary = function(bytes) {
22424
+ var reader = new jspb.BinaryReader(bytes);
22425
+ var msg = new proto.user.AffiliateListItem;
22426
+ return proto.user.AffiliateListItem.deserializeBinaryFromReader(msg, reader);
22427
+ };
22428
+
22429
+
22430
+ /**
22431
+ * Deserializes binary data (in protobuf wire format) from the
22432
+ * given reader into the given message object.
22433
+ * @param {!proto.user.AffiliateListItem} msg The message object to deserialize into.
22434
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22435
+ * @return {!proto.user.AffiliateListItem}
22436
+ */
22437
+ proto.user.AffiliateListItem.deserializeBinaryFromReader = function(msg, reader) {
22438
+ while (reader.nextField()) {
22439
+ if (reader.isEndGroup()) {
22440
+ break;
22441
+ }
22442
+ var field = reader.getFieldNumber();
22443
+ switch (field) {
22444
+ case 1:
22445
+ var value = /** @type {number} */ (reader.readInt32());
22446
+ msg.setAffiliateId(value);
22447
+ break;
22448
+ case 2:
22449
+ var value = /** @type {number} */ (reader.readInt32());
22450
+ msg.setUsersCount(value);
22451
+ break;
22452
+ default:
22453
+ reader.skipField();
22454
+ break;
22455
+ }
22456
+ }
22457
+ return msg;
22458
+ };
22459
+
22460
+
22461
+ /**
22462
+ * Serializes the message to binary data (in protobuf wire format).
22463
+ * @return {!Uint8Array}
22464
+ */
22465
+ proto.user.AffiliateListItem.prototype.serializeBinary = function() {
22466
+ var writer = new jspb.BinaryWriter();
22467
+ proto.user.AffiliateListItem.serializeBinaryToWriter(this, writer);
22468
+ return writer.getResultBuffer();
22469
+ };
22470
+
22471
+
22472
+ /**
22473
+ * Serializes the given message to binary data (in protobuf wire
22474
+ * format), writing to the given BinaryWriter.
22475
+ * @param {!proto.user.AffiliateListItem} message
22476
+ * @param {!jspb.BinaryWriter} writer
22477
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22478
+ */
22479
+ proto.user.AffiliateListItem.serializeBinaryToWriter = function(message, writer) {
22480
+ var f = undefined;
22481
+ f = message.getAffiliateId();
22482
+ if (f !== 0) {
22483
+ writer.writeInt32(
22484
+ 1,
22485
+ f
22486
+ );
22487
+ }
22488
+ f = message.getUsersCount();
22489
+ if (f !== 0) {
22490
+ writer.writeInt32(
22491
+ 2,
22492
+ f
22493
+ );
22494
+ }
22495
+ };
22496
+
22497
+
22498
+ /**
22499
+ * optional int32 affiliate_id = 1;
22500
+ * @return {number}
22501
+ */
22502
+ proto.user.AffiliateListItem.prototype.getAffiliateId = function() {
22503
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
22504
+ };
22505
+
22506
+
22507
+ /**
22508
+ * @param {number} value
22509
+ * @return {!proto.user.AffiliateListItem} returns this
22510
+ */
22511
+ proto.user.AffiliateListItem.prototype.setAffiliateId = function(value) {
22512
+ return jspb.Message.setProto3IntField(this, 1, value);
22513
+ };
22514
+
22515
+
22516
+ /**
22517
+ * optional int32 users_count = 2;
22518
+ * @return {number}
22519
+ */
22520
+ proto.user.AffiliateListItem.prototype.getUsersCount = function() {
22521
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
22522
+ };
22523
+
22524
+
22525
+ /**
22526
+ * @param {number} value
22527
+ * @return {!proto.user.AffiliateListItem} returns this
22528
+ */
22529
+ proto.user.AffiliateListItem.prototype.setUsersCount = function(value) {
22530
+ return jspb.Message.setProto3IntField(this, 2, value);
22531
+ };
22532
+
22533
+
22534
+
22535
+
22536
+
22537
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22538
+ /**
22539
+ * Creates an object representation of this proto.
22540
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22541
+ * Optional fields that are not set will be set to undefined.
22542
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22543
+ * For the list of reserved names please see:
22544
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22545
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22546
+ * JSPB instance for transitional soy proto support:
22547
+ * http://goto/soy-param-migration
22548
+ * @return {!Object}
22549
+ */
22550
+ proto.user.ReadAffiliateSummaryRequest.prototype.toObject = function(opt_includeInstance) {
22551
+ return proto.user.ReadAffiliateSummaryRequest.toObject(opt_includeInstance, this);
22552
+ };
22553
+
22554
+
22555
+ /**
22556
+ * Static version of the {@see toObject} method.
22557
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22558
+ * the JSPB instance for transitional soy proto support:
22559
+ * http://goto/soy-param-migration
22560
+ * @param {!proto.user.ReadAffiliateSummaryRequest} msg The msg instance to transform.
22561
+ * @return {!Object}
22562
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22563
+ */
22564
+ proto.user.ReadAffiliateSummaryRequest.toObject = function(includeInstance, msg) {
22565
+ var f, obj = {
22566
+ affiliateId: jspb.Message.getFieldWithDefault(msg, 1, 0)
22567
+ };
22568
+
22569
+ if (includeInstance) {
22570
+ obj.$jspbMessageInstance = msg;
22571
+ }
22572
+ return obj;
22573
+ };
22574
+ }
22575
+
22576
+
22577
+ /**
22578
+ * Deserializes binary data (in protobuf wire format).
22579
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22580
+ * @return {!proto.user.ReadAffiliateSummaryRequest}
22581
+ */
22582
+ proto.user.ReadAffiliateSummaryRequest.deserializeBinary = function(bytes) {
22583
+ var reader = new jspb.BinaryReader(bytes);
22584
+ var msg = new proto.user.ReadAffiliateSummaryRequest;
22585
+ return proto.user.ReadAffiliateSummaryRequest.deserializeBinaryFromReader(msg, reader);
22586
+ };
22587
+
22588
+
22589
+ /**
22590
+ * Deserializes binary data (in protobuf wire format) from the
22591
+ * given reader into the given message object.
22592
+ * @param {!proto.user.ReadAffiliateSummaryRequest} msg The message object to deserialize into.
22593
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22594
+ * @return {!proto.user.ReadAffiliateSummaryRequest}
22595
+ */
22596
+ proto.user.ReadAffiliateSummaryRequest.deserializeBinaryFromReader = function(msg, reader) {
22597
+ while (reader.nextField()) {
22598
+ if (reader.isEndGroup()) {
22599
+ break;
22600
+ }
22601
+ var field = reader.getFieldNumber();
22602
+ switch (field) {
22603
+ case 1:
22604
+ var value = /** @type {number} */ (reader.readInt32());
22605
+ msg.setAffiliateId(value);
22606
+ break;
22607
+ default:
22608
+ reader.skipField();
22609
+ break;
22610
+ }
22611
+ }
22612
+ return msg;
22613
+ };
22614
+
22615
+
22616
+ /**
22617
+ * Serializes the message to binary data (in protobuf wire format).
22618
+ * @return {!Uint8Array}
22619
+ */
22620
+ proto.user.ReadAffiliateSummaryRequest.prototype.serializeBinary = function() {
22621
+ var writer = new jspb.BinaryWriter();
22622
+ proto.user.ReadAffiliateSummaryRequest.serializeBinaryToWriter(this, writer);
22623
+ return writer.getResultBuffer();
22624
+ };
22625
+
22626
+
22627
+ /**
22628
+ * Serializes the given message to binary data (in protobuf wire
22629
+ * format), writing to the given BinaryWriter.
22630
+ * @param {!proto.user.ReadAffiliateSummaryRequest} message
22631
+ * @param {!jspb.BinaryWriter} writer
22632
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22633
+ */
22634
+ proto.user.ReadAffiliateSummaryRequest.serializeBinaryToWriter = function(message, writer) {
22635
+ var f = undefined;
22636
+ f = message.getAffiliateId();
22637
+ if (f !== 0) {
22638
+ writer.writeInt32(
22639
+ 1,
22640
+ f
22641
+ );
22642
+ }
22643
+ };
22644
+
22645
+
22646
+ /**
22647
+ * optional int32 affiliate_id = 1;
22648
+ * @return {number}
22649
+ */
22650
+ proto.user.ReadAffiliateSummaryRequest.prototype.getAffiliateId = function() {
22651
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
22652
+ };
22653
+
22654
+
22655
+ /**
22656
+ * @param {number} value
22657
+ * @return {!proto.user.ReadAffiliateSummaryRequest} returns this
22658
+ */
22659
+ proto.user.ReadAffiliateSummaryRequest.prototype.setAffiliateId = function(value) {
22660
+ return jspb.Message.setProto3IntField(this, 1, value);
22661
+ };
22662
+
22663
+
22664
+
22665
+
22666
+
22667
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22668
+ /**
22669
+ * Creates an object representation of this proto.
22670
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22671
+ * Optional fields that are not set will be set to undefined.
22672
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22673
+ * For the list of reserved names please see:
22674
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22675
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22676
+ * JSPB instance for transitional soy proto support:
22677
+ * http://goto/soy-param-migration
22678
+ * @return {!Object}
22679
+ */
22680
+ proto.user.ReadAffiliateSummaryResponse.prototype.toObject = function(opt_includeInstance) {
22681
+ return proto.user.ReadAffiliateSummaryResponse.toObject(opt_includeInstance, this);
22682
+ };
22683
+
22684
+
22685
+ /**
22686
+ * Static version of the {@see toObject} method.
22687
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22688
+ * the JSPB instance for transitional soy proto support:
22689
+ * http://goto/soy-param-migration
22690
+ * @param {!proto.user.ReadAffiliateSummaryResponse} msg The msg instance to transform.
22691
+ * @return {!Object}
22692
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22693
+ */
22694
+ proto.user.ReadAffiliateSummaryResponse.toObject = function(includeInstance, msg) {
22695
+ var f, obj = {
22696
+ affiliateId: jspb.Message.getFieldWithDefault(msg, 1, 0),
22697
+ usersCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
22698
+ };
22699
+
22700
+ if (includeInstance) {
22701
+ obj.$jspbMessageInstance = msg;
22702
+ }
22703
+ return obj;
22704
+ };
22705
+ }
22706
+
22707
+
22708
+ /**
22709
+ * Deserializes binary data (in protobuf wire format).
22710
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22711
+ * @return {!proto.user.ReadAffiliateSummaryResponse}
22712
+ */
22713
+ proto.user.ReadAffiliateSummaryResponse.deserializeBinary = function(bytes) {
22714
+ var reader = new jspb.BinaryReader(bytes);
22715
+ var msg = new proto.user.ReadAffiliateSummaryResponse;
22716
+ return proto.user.ReadAffiliateSummaryResponse.deserializeBinaryFromReader(msg, reader);
22717
+ };
22718
+
22719
+
22720
+ /**
22721
+ * Deserializes binary data (in protobuf wire format) from the
22722
+ * given reader into the given message object.
22723
+ * @param {!proto.user.ReadAffiliateSummaryResponse} msg The message object to deserialize into.
22724
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22725
+ * @return {!proto.user.ReadAffiliateSummaryResponse}
22726
+ */
22727
+ proto.user.ReadAffiliateSummaryResponse.deserializeBinaryFromReader = function(msg, reader) {
22728
+ while (reader.nextField()) {
22729
+ if (reader.isEndGroup()) {
22730
+ break;
22731
+ }
22732
+ var field = reader.getFieldNumber();
22733
+ switch (field) {
22734
+ case 1:
22735
+ var value = /** @type {number} */ (reader.readInt32());
22736
+ msg.setAffiliateId(value);
22737
+ break;
22738
+ case 2:
22739
+ var value = /** @type {number} */ (reader.readInt32());
22740
+ msg.setUsersCount(value);
22741
+ break;
22742
+ default:
22743
+ reader.skipField();
22744
+ break;
22745
+ }
22746
+ }
22747
+ return msg;
22748
+ };
22749
+
22750
+
22751
+ /**
22752
+ * Serializes the message to binary data (in protobuf wire format).
22753
+ * @return {!Uint8Array}
22754
+ */
22755
+ proto.user.ReadAffiliateSummaryResponse.prototype.serializeBinary = function() {
22756
+ var writer = new jspb.BinaryWriter();
22757
+ proto.user.ReadAffiliateSummaryResponse.serializeBinaryToWriter(this, writer);
22758
+ return writer.getResultBuffer();
22759
+ };
22760
+
22761
+
22762
+ /**
22763
+ * Serializes the given message to binary data (in protobuf wire
22764
+ * format), writing to the given BinaryWriter.
22765
+ * @param {!proto.user.ReadAffiliateSummaryResponse} message
22766
+ * @param {!jspb.BinaryWriter} writer
22767
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22768
+ */
22769
+ proto.user.ReadAffiliateSummaryResponse.serializeBinaryToWriter = function(message, writer) {
22770
+ var f = undefined;
22771
+ f = message.getAffiliateId();
22772
+ if (f !== 0) {
22773
+ writer.writeInt32(
22774
+ 1,
22775
+ f
22776
+ );
22777
+ }
22778
+ f = message.getUsersCount();
22779
+ if (f !== 0) {
22780
+ writer.writeInt32(
22781
+ 2,
22782
+ f
22783
+ );
22784
+ }
22785
+ };
22786
+
22787
+
22788
+ /**
22789
+ * optional int32 affiliate_id = 1;
22790
+ * @return {number}
22791
+ */
22792
+ proto.user.ReadAffiliateSummaryResponse.prototype.getAffiliateId = function() {
22793
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
22794
+ };
22795
+
22796
+
22797
+ /**
22798
+ * @param {number} value
22799
+ * @return {!proto.user.ReadAffiliateSummaryResponse} returns this
22800
+ */
22801
+ proto.user.ReadAffiliateSummaryResponse.prototype.setAffiliateId = function(value) {
22802
+ return jspb.Message.setProto3IntField(this, 1, value);
22803
+ };
22804
+
22805
+
22806
+ /**
22807
+ * optional int32 users_count = 2;
22808
+ * @return {number}
22809
+ */
22810
+ proto.user.ReadAffiliateSummaryResponse.prototype.getUsersCount = function() {
22811
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
22812
+ };
22813
+
22814
+
22815
+ /**
22816
+ * @param {number} value
22817
+ * @return {!proto.user.ReadAffiliateSummaryResponse} returns this
22818
+ */
22819
+ proto.user.ReadAffiliateSummaryResponse.prototype.setUsersCount = function(value) {
22820
+ return jspb.Message.setProto3IntField(this, 2, value);
22821
+ };
22822
+
22823
+
22824
+
22825
+
22826
+
22827
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22828
+ /**
22829
+ * Creates an object representation of this proto.
22830
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22831
+ * Optional fields that are not set will be set to undefined.
22832
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22833
+ * For the list of reserved names please see:
22834
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22835
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22836
+ * JSPB instance for transitional soy proto support:
22837
+ * http://goto/soy-param-migration
22838
+ * @return {!Object}
22839
+ */
22840
+ proto.user.ReadAffiliatePlayersRequest.prototype.toObject = function(opt_includeInstance) {
22841
+ return proto.user.ReadAffiliatePlayersRequest.toObject(opt_includeInstance, this);
22842
+ };
22843
+
22844
+
22845
+ /**
22846
+ * Static version of the {@see toObject} method.
22847
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22848
+ * the JSPB instance for transitional soy proto support:
22849
+ * http://goto/soy-param-migration
22850
+ * @param {!proto.user.ReadAffiliatePlayersRequest} msg The msg instance to transform.
22851
+ * @return {!Object}
22852
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22853
+ */
22854
+ proto.user.ReadAffiliatePlayersRequest.toObject = function(includeInstance, msg) {
22855
+ var f, obj = {
22856
+ affiliateId: jspb.Message.getFieldWithDefault(msg, 1, 0),
22857
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
22858
+ offset: jspb.Message.getFieldWithDefault(msg, 3, 0)
22859
+ };
22860
+
22861
+ if (includeInstance) {
22862
+ obj.$jspbMessageInstance = msg;
22863
+ }
22864
+ return obj;
22865
+ };
22866
+ }
22867
+
22868
+
22869
+ /**
22870
+ * Deserializes binary data (in protobuf wire format).
22871
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22872
+ * @return {!proto.user.ReadAffiliatePlayersRequest}
22873
+ */
22874
+ proto.user.ReadAffiliatePlayersRequest.deserializeBinary = function(bytes) {
22875
+ var reader = new jspb.BinaryReader(bytes);
22876
+ var msg = new proto.user.ReadAffiliatePlayersRequest;
22877
+ return proto.user.ReadAffiliatePlayersRequest.deserializeBinaryFromReader(msg, reader);
22878
+ };
22879
+
22880
+
22881
+ /**
22882
+ * Deserializes binary data (in protobuf wire format) from the
22883
+ * given reader into the given message object.
22884
+ * @param {!proto.user.ReadAffiliatePlayersRequest} msg The message object to deserialize into.
22885
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22886
+ * @return {!proto.user.ReadAffiliatePlayersRequest}
22887
+ */
22888
+ proto.user.ReadAffiliatePlayersRequest.deserializeBinaryFromReader = function(msg, reader) {
22889
+ while (reader.nextField()) {
22890
+ if (reader.isEndGroup()) {
22891
+ break;
22892
+ }
22893
+ var field = reader.getFieldNumber();
22894
+ switch (field) {
22895
+ case 1:
22896
+ var value = /** @type {number} */ (reader.readInt32());
22897
+ msg.setAffiliateId(value);
22898
+ break;
22899
+ case 2:
22900
+ var value = /** @type {number} */ (reader.readInt32());
22901
+ msg.setLimit(value);
22902
+ break;
22903
+ case 3:
22904
+ var value = /** @type {number} */ (reader.readInt32());
22905
+ msg.setOffset(value);
22906
+ break;
22907
+ default:
22908
+ reader.skipField();
22909
+ break;
22910
+ }
22911
+ }
22912
+ return msg;
22913
+ };
22914
+
22915
+
22916
+ /**
22917
+ * Serializes the message to binary data (in protobuf wire format).
22918
+ * @return {!Uint8Array}
22919
+ */
22920
+ proto.user.ReadAffiliatePlayersRequest.prototype.serializeBinary = function() {
22921
+ var writer = new jspb.BinaryWriter();
22922
+ proto.user.ReadAffiliatePlayersRequest.serializeBinaryToWriter(this, writer);
22923
+ return writer.getResultBuffer();
22924
+ };
22925
+
22926
+
22927
+ /**
22928
+ * Serializes the given message to binary data (in protobuf wire
22929
+ * format), writing to the given BinaryWriter.
22930
+ * @param {!proto.user.ReadAffiliatePlayersRequest} message
22931
+ * @param {!jspb.BinaryWriter} writer
22932
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22933
+ */
22934
+ proto.user.ReadAffiliatePlayersRequest.serializeBinaryToWriter = function(message, writer) {
22935
+ var f = undefined;
22936
+ f = message.getAffiliateId();
22937
+ if (f !== 0) {
22938
+ writer.writeInt32(
22939
+ 1,
22940
+ f
22941
+ );
22942
+ }
22943
+ f = message.getLimit();
22944
+ if (f !== 0) {
22945
+ writer.writeInt32(
22946
+ 2,
22947
+ f
22948
+ );
22949
+ }
22950
+ f = message.getOffset();
22951
+ if (f !== 0) {
22952
+ writer.writeInt32(
22953
+ 3,
22954
+ f
22955
+ );
22956
+ }
22957
+ };
22958
+
22959
+
22960
+ /**
22961
+ * optional int32 affiliate_id = 1;
22962
+ * @return {number}
22963
+ */
22964
+ proto.user.ReadAffiliatePlayersRequest.prototype.getAffiliateId = function() {
22965
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
22966
+ };
22967
+
22968
+
22969
+ /**
22970
+ * @param {number} value
22971
+ * @return {!proto.user.ReadAffiliatePlayersRequest} returns this
22972
+ */
22973
+ proto.user.ReadAffiliatePlayersRequest.prototype.setAffiliateId = function(value) {
22974
+ return jspb.Message.setProto3IntField(this, 1, value);
22975
+ };
22976
+
22977
+
22978
+ /**
22979
+ * optional int32 limit = 2;
22980
+ * @return {number}
22981
+ */
22982
+ proto.user.ReadAffiliatePlayersRequest.prototype.getLimit = function() {
22983
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
22984
+ };
22985
+
22986
+
22987
+ /**
22988
+ * @param {number} value
22989
+ * @return {!proto.user.ReadAffiliatePlayersRequest} returns this
22990
+ */
22991
+ proto.user.ReadAffiliatePlayersRequest.prototype.setLimit = function(value) {
22992
+ return jspb.Message.setProto3IntField(this, 2, value);
22993
+ };
22994
+
22995
+
22996
+ /**
22997
+ * optional int32 offset = 3;
22998
+ * @return {number}
22999
+ */
23000
+ proto.user.ReadAffiliatePlayersRequest.prototype.getOffset = function() {
23001
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
23002
+ };
23003
+
23004
+
23005
+ /**
23006
+ * @param {number} value
23007
+ * @return {!proto.user.ReadAffiliatePlayersRequest} returns this
23008
+ */
23009
+ proto.user.ReadAffiliatePlayersRequest.prototype.setOffset = function(value) {
23010
+ return jspb.Message.setProto3IntField(this, 3, value);
23011
+ };
23012
+
23013
+
23014
+
23015
+
23016
+
23017
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23018
+ /**
23019
+ * Creates an object representation of this proto.
23020
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23021
+ * Optional fields that are not set will be set to undefined.
23022
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23023
+ * For the list of reserved names please see:
23024
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23025
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23026
+ * JSPB instance for transitional soy proto support:
23027
+ * http://goto/soy-param-migration
23028
+ * @return {!Object}
23029
+ */
23030
+ proto.user.AffiliatePlayerItem.prototype.toObject = function(opt_includeInstance) {
23031
+ return proto.user.AffiliatePlayerItem.toObject(opt_includeInstance, this);
23032
+ };
23033
+
23034
+
23035
+ /**
23036
+ * Static version of the {@see toObject} method.
23037
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23038
+ * the JSPB instance for transitional soy proto support:
23039
+ * http://goto/soy-param-migration
23040
+ * @param {!proto.user.AffiliatePlayerItem} msg The msg instance to transform.
23041
+ * @return {!Object}
23042
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23043
+ */
23044
+ proto.user.AffiliatePlayerItem.toObject = function(includeInstance, msg) {
23045
+ var f, obj = {
23046
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
23047
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
23048
+ nickname: jspb.Message.getFieldWithDefault(msg, 3, ""),
23049
+ affiliateId: jspb.Message.getFieldWithDefault(msg, 4, 0)
23050
+ };
23051
+
23052
+ if (includeInstance) {
23053
+ obj.$jspbMessageInstance = msg;
23054
+ }
23055
+ return obj;
23056
+ };
23057
+ }
23058
+
23059
+
23060
+ /**
23061
+ * Deserializes binary data (in protobuf wire format).
23062
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23063
+ * @return {!proto.user.AffiliatePlayerItem}
23064
+ */
23065
+ proto.user.AffiliatePlayerItem.deserializeBinary = function(bytes) {
23066
+ var reader = new jspb.BinaryReader(bytes);
23067
+ var msg = new proto.user.AffiliatePlayerItem;
23068
+ return proto.user.AffiliatePlayerItem.deserializeBinaryFromReader(msg, reader);
23069
+ };
23070
+
23071
+
23072
+ /**
23073
+ * Deserializes binary data (in protobuf wire format) from the
23074
+ * given reader into the given message object.
23075
+ * @param {!proto.user.AffiliatePlayerItem} msg The message object to deserialize into.
23076
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23077
+ * @return {!proto.user.AffiliatePlayerItem}
23078
+ */
23079
+ proto.user.AffiliatePlayerItem.deserializeBinaryFromReader = function(msg, reader) {
23080
+ while (reader.nextField()) {
23081
+ if (reader.isEndGroup()) {
23082
+ break;
23083
+ }
23084
+ var field = reader.getFieldNumber();
23085
+ switch (field) {
23086
+ case 1:
23087
+ var value = /** @type {number} */ (reader.readInt32());
23088
+ msg.setUserId(value);
23089
+ break;
23090
+ case 2:
23091
+ var value = /** @type {string} */ (reader.readString());
23092
+ msg.setUserPublicId(value);
23093
+ break;
23094
+ case 3:
23095
+ var value = /** @type {string} */ (reader.readString());
23096
+ msg.setNickname(value);
23097
+ break;
23098
+ case 4:
23099
+ var value = /** @type {number} */ (reader.readInt32());
23100
+ msg.setAffiliateId(value);
23101
+ break;
23102
+ default:
23103
+ reader.skipField();
23104
+ break;
23105
+ }
23106
+ }
23107
+ return msg;
23108
+ };
23109
+
23110
+
23111
+ /**
23112
+ * Serializes the message to binary data (in protobuf wire format).
23113
+ * @return {!Uint8Array}
23114
+ */
23115
+ proto.user.AffiliatePlayerItem.prototype.serializeBinary = function() {
23116
+ var writer = new jspb.BinaryWriter();
23117
+ proto.user.AffiliatePlayerItem.serializeBinaryToWriter(this, writer);
23118
+ return writer.getResultBuffer();
23119
+ };
23120
+
23121
+
23122
+ /**
23123
+ * Serializes the given message to binary data (in protobuf wire
23124
+ * format), writing to the given BinaryWriter.
23125
+ * @param {!proto.user.AffiliatePlayerItem} message
23126
+ * @param {!jspb.BinaryWriter} writer
23127
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23128
+ */
23129
+ proto.user.AffiliatePlayerItem.serializeBinaryToWriter = function(message, writer) {
23130
+ var f = undefined;
23131
+ f = message.getUserId();
23132
+ if (f !== 0) {
23133
+ writer.writeInt32(
23134
+ 1,
23135
+ f
23136
+ );
23137
+ }
23138
+ f = message.getUserPublicId();
23139
+ if (f.length > 0) {
23140
+ writer.writeString(
23141
+ 2,
23142
+ f
23143
+ );
23144
+ }
23145
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
23146
+ if (f != null) {
23147
+ writer.writeString(
23148
+ 3,
23149
+ f
23150
+ );
23151
+ }
23152
+ f = message.getAffiliateId();
23153
+ if (f !== 0) {
23154
+ writer.writeInt32(
23155
+ 4,
23156
+ f
23157
+ );
23158
+ }
23159
+ };
23160
+
23161
+
23162
+ /**
23163
+ * optional int32 user_id = 1;
23164
+ * @return {number}
23165
+ */
23166
+ proto.user.AffiliatePlayerItem.prototype.getUserId = function() {
23167
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
23168
+ };
23169
+
23170
+
23171
+ /**
23172
+ * @param {number} value
23173
+ * @return {!proto.user.AffiliatePlayerItem} returns this
23174
+ */
23175
+ proto.user.AffiliatePlayerItem.prototype.setUserId = function(value) {
23176
+ return jspb.Message.setProto3IntField(this, 1, value);
23177
+ };
23178
+
23179
+
23180
+ /**
23181
+ * optional string user_public_id = 2;
23182
+ * @return {string}
23183
+ */
23184
+ proto.user.AffiliatePlayerItem.prototype.getUserPublicId = function() {
23185
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23186
+ };
23187
+
23188
+
23189
+ /**
23190
+ * @param {string} value
23191
+ * @return {!proto.user.AffiliatePlayerItem} returns this
23192
+ */
23193
+ proto.user.AffiliatePlayerItem.prototype.setUserPublicId = function(value) {
23194
+ return jspb.Message.setProto3StringField(this, 2, value);
23195
+ };
23196
+
23197
+
23198
+ /**
23199
+ * optional string nickname = 3;
23200
+ * @return {string}
23201
+ */
23202
+ proto.user.AffiliatePlayerItem.prototype.getNickname = function() {
23203
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
23204
+ };
23205
+
23206
+
23207
+ /**
23208
+ * @param {string} value
23209
+ * @return {!proto.user.AffiliatePlayerItem} returns this
23210
+ */
23211
+ proto.user.AffiliatePlayerItem.prototype.setNickname = function(value) {
23212
+ return jspb.Message.setField(this, 3, value);
23213
+ };
23214
+
23215
+
23216
+ /**
23217
+ * Clears the field making it undefined.
23218
+ * @return {!proto.user.AffiliatePlayerItem} returns this
23219
+ */
23220
+ proto.user.AffiliatePlayerItem.prototype.clearNickname = function() {
23221
+ return jspb.Message.setField(this, 3, undefined);
23222
+ };
23223
+
23224
+
23225
+ /**
23226
+ * Returns whether this field is set.
23227
+ * @return {boolean}
23228
+ */
23229
+ proto.user.AffiliatePlayerItem.prototype.hasNickname = function() {
23230
+ return jspb.Message.getField(this, 3) != null;
23231
+ };
23232
+
23233
+
23234
+ /**
23235
+ * optional int32 affiliate_id = 4;
23236
+ * @return {number}
23237
+ */
23238
+ proto.user.AffiliatePlayerItem.prototype.getAffiliateId = function() {
23239
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
23240
+ };
23241
+
23242
+
23243
+ /**
23244
+ * @param {number} value
23245
+ * @return {!proto.user.AffiliatePlayerItem} returns this
23246
+ */
23247
+ proto.user.AffiliatePlayerItem.prototype.setAffiliateId = function(value) {
23248
+ return jspb.Message.setProto3IntField(this, 4, value);
23249
+ };
23250
+
23251
+
23252
+
23253
+ /**
23254
+ * List of repeated fields within this message type.
23255
+ * @private {!Array<number>}
23256
+ * @const
23257
+ */
23258
+ proto.user.ReadAffiliatePlayersResponse.repeatedFields_ = [1];
23259
+
23260
+
23261
+
23262
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23263
+ /**
23264
+ * Creates an object representation of this proto.
23265
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23266
+ * Optional fields that are not set will be set to undefined.
23267
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23268
+ * For the list of reserved names please see:
23269
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23270
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23271
+ * JSPB instance for transitional soy proto support:
23272
+ * http://goto/soy-param-migration
23273
+ * @return {!Object}
23274
+ */
23275
+ proto.user.ReadAffiliatePlayersResponse.prototype.toObject = function(opt_includeInstance) {
23276
+ return proto.user.ReadAffiliatePlayersResponse.toObject(opt_includeInstance, this);
23277
+ };
23278
+
23279
+
23280
+ /**
23281
+ * Static version of the {@see toObject} method.
23282
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23283
+ * the JSPB instance for transitional soy proto support:
23284
+ * http://goto/soy-param-migration
23285
+ * @param {!proto.user.ReadAffiliatePlayersResponse} msg The msg instance to transform.
23286
+ * @return {!Object}
23287
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23288
+ */
23289
+ proto.user.ReadAffiliatePlayersResponse.toObject = function(includeInstance, msg) {
23290
+ var f, obj = {
23291
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
23292
+ proto.user.AffiliatePlayerItem.toObject, includeInstance),
23293
+ totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
23294
+ totalPages: jspb.Message.getFieldWithDefault(msg, 3, 0)
23295
+ };
23296
+
23297
+ if (includeInstance) {
23298
+ obj.$jspbMessageInstance = msg;
23299
+ }
23300
+ return obj;
23301
+ };
23302
+ }
23303
+
23304
+
23305
+ /**
23306
+ * Deserializes binary data (in protobuf wire format).
23307
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23308
+ * @return {!proto.user.ReadAffiliatePlayersResponse}
23309
+ */
23310
+ proto.user.ReadAffiliatePlayersResponse.deserializeBinary = function(bytes) {
23311
+ var reader = new jspb.BinaryReader(bytes);
23312
+ var msg = new proto.user.ReadAffiliatePlayersResponse;
23313
+ return proto.user.ReadAffiliatePlayersResponse.deserializeBinaryFromReader(msg, reader);
23314
+ };
23315
+
23316
+
23317
+ /**
23318
+ * Deserializes binary data (in protobuf wire format) from the
23319
+ * given reader into the given message object.
23320
+ * @param {!proto.user.ReadAffiliatePlayersResponse} msg The message object to deserialize into.
23321
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23322
+ * @return {!proto.user.ReadAffiliatePlayersResponse}
23323
+ */
23324
+ proto.user.ReadAffiliatePlayersResponse.deserializeBinaryFromReader = function(msg, reader) {
23325
+ while (reader.nextField()) {
23326
+ if (reader.isEndGroup()) {
23327
+ break;
23328
+ }
23329
+ var field = reader.getFieldNumber();
23330
+ switch (field) {
23331
+ case 1:
23332
+ var value = new proto.user.AffiliatePlayerItem;
23333
+ reader.readMessage(value,proto.user.AffiliatePlayerItem.deserializeBinaryFromReader);
23334
+ msg.addItems(value);
23335
+ break;
23336
+ case 2:
23337
+ var value = /** @type {number} */ (reader.readInt32());
23338
+ msg.setTotalItems(value);
23339
+ break;
23340
+ case 3:
23341
+ var value = /** @type {number} */ (reader.readInt32());
23342
+ msg.setTotalPages(value);
23343
+ break;
23344
+ default:
23345
+ reader.skipField();
23346
+ break;
23347
+ }
23348
+ }
23349
+ return msg;
23350
+ };
23351
+
23352
+
23353
+ /**
23354
+ * Serializes the message to binary data (in protobuf wire format).
23355
+ * @return {!Uint8Array}
23356
+ */
23357
+ proto.user.ReadAffiliatePlayersResponse.prototype.serializeBinary = function() {
23358
+ var writer = new jspb.BinaryWriter();
23359
+ proto.user.ReadAffiliatePlayersResponse.serializeBinaryToWriter(this, writer);
23360
+ return writer.getResultBuffer();
23361
+ };
23362
+
23363
+
23364
+ /**
23365
+ * Serializes the given message to binary data (in protobuf wire
23366
+ * format), writing to the given BinaryWriter.
23367
+ * @param {!proto.user.ReadAffiliatePlayersResponse} message
23368
+ * @param {!jspb.BinaryWriter} writer
23369
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23370
+ */
23371
+ proto.user.ReadAffiliatePlayersResponse.serializeBinaryToWriter = function(message, writer) {
23372
+ var f = undefined;
23373
+ f = message.getItemsList();
23374
+ if (f.length > 0) {
23375
+ writer.writeRepeatedMessage(
23376
+ 1,
23377
+ f,
23378
+ proto.user.AffiliatePlayerItem.serializeBinaryToWriter
23379
+ );
23380
+ }
23381
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
23382
+ if (f != null) {
23383
+ writer.writeInt32(
23384
+ 2,
23385
+ f
23386
+ );
23387
+ }
23388
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
23389
+ if (f != null) {
23390
+ writer.writeInt32(
23391
+ 3,
23392
+ f
23393
+ );
23394
+ }
23395
+ };
23396
+
23397
+
23398
+ /**
23399
+ * repeated AffiliatePlayerItem items = 1;
23400
+ * @return {!Array<!proto.user.AffiliatePlayerItem>}
23401
+ */
23402
+ proto.user.ReadAffiliatePlayersResponse.prototype.getItemsList = function() {
23403
+ return /** @type{!Array<!proto.user.AffiliatePlayerItem>} */ (
23404
+ jspb.Message.getRepeatedWrapperField(this, proto.user.AffiliatePlayerItem, 1));
23405
+ };
23406
+
23407
+
23408
+ /**
23409
+ * @param {!Array<!proto.user.AffiliatePlayerItem>} value
23410
+ * @return {!proto.user.ReadAffiliatePlayersResponse} returns this
23411
+ */
23412
+ proto.user.ReadAffiliatePlayersResponse.prototype.setItemsList = function(value) {
23413
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
23414
+ };
23415
+
23416
+
23417
+ /**
23418
+ * @param {!proto.user.AffiliatePlayerItem=} opt_value
23419
+ * @param {number=} opt_index
23420
+ * @return {!proto.user.AffiliatePlayerItem}
23421
+ */
23422
+ proto.user.ReadAffiliatePlayersResponse.prototype.addItems = function(opt_value, opt_index) {
23423
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.AffiliatePlayerItem, opt_index);
23424
+ };
23425
+
23426
+
23427
+ /**
23428
+ * Clears the list making it empty but non-null.
23429
+ * @return {!proto.user.ReadAffiliatePlayersResponse} returns this
23430
+ */
23431
+ proto.user.ReadAffiliatePlayersResponse.prototype.clearItemsList = function() {
23432
+ return this.setItemsList([]);
23433
+ };
23434
+
23435
+
23436
+ /**
23437
+ * optional int32 total_items = 2;
23438
+ * @return {number}
23439
+ */
23440
+ proto.user.ReadAffiliatePlayersResponse.prototype.getTotalItems = function() {
23441
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
23442
+ };
23443
+
23444
+
23445
+ /**
23446
+ * @param {number} value
23447
+ * @return {!proto.user.ReadAffiliatePlayersResponse} returns this
23448
+ */
23449
+ proto.user.ReadAffiliatePlayersResponse.prototype.setTotalItems = function(value) {
23450
+ return jspb.Message.setField(this, 2, value);
23451
+ };
23452
+
23453
+
23454
+ /**
23455
+ * Clears the field making it undefined.
23456
+ * @return {!proto.user.ReadAffiliatePlayersResponse} returns this
23457
+ */
23458
+ proto.user.ReadAffiliatePlayersResponse.prototype.clearTotalItems = function() {
23459
+ return jspb.Message.setField(this, 2, undefined);
23460
+ };
23461
+
23462
+
23463
+ /**
23464
+ * Returns whether this field is set.
23465
+ * @return {boolean}
23466
+ */
23467
+ proto.user.ReadAffiliatePlayersResponse.prototype.hasTotalItems = function() {
23468
+ return jspb.Message.getField(this, 2) != null;
23469
+ };
23470
+
23471
+
23472
+ /**
23473
+ * optional int32 total_pages = 3;
23474
+ * @return {number}
23475
+ */
23476
+ proto.user.ReadAffiliatePlayersResponse.prototype.getTotalPages = function() {
23477
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
23478
+ };
23479
+
23480
+
23481
+ /**
23482
+ * @param {number} value
23483
+ * @return {!proto.user.ReadAffiliatePlayersResponse} returns this
23484
+ */
23485
+ proto.user.ReadAffiliatePlayersResponse.prototype.setTotalPages = function(value) {
23486
+ return jspb.Message.setField(this, 3, value);
23487
+ };
23488
+
23489
+
23490
+ /**
23491
+ * Clears the field making it undefined.
23492
+ * @return {!proto.user.ReadAffiliatePlayersResponse} returns this
23493
+ */
23494
+ proto.user.ReadAffiliatePlayersResponse.prototype.clearTotalPages = function() {
23495
+ return jspb.Message.setField(this, 3, undefined);
23496
+ };
23497
+
23498
+
23499
+ /**
23500
+ * Returns whether this field is set.
23501
+ * @return {boolean}
23502
+ */
23503
+ proto.user.ReadAffiliatePlayersResponse.prototype.hasTotalPages = function() {
23504
+ return jspb.Message.getField(this, 3) != null;
23505
+ };
23506
+
23507
+
23508
+
23509
+
23510
+
21741
23511
  if (jspb.Message.GENERATE_TO_OBJECT) {
21742
23512
  /**
21743
23513
  * Creates an object representation of this proto.
@@ -87184,6 +88954,598 @@ proto.user.DisableResponsibleGamingPolicyRequest.prototype.hasEndedAt = function
87184
88954
 
87185
88955
 
87186
88956
 
88957
+ if (jspb.Message.GENERATE_TO_OBJECT) {
88958
+ /**
88959
+ * Creates an object representation of this proto.
88960
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
88961
+ * Optional fields that are not set will be set to undefined.
88962
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
88963
+ * For the list of reserved names please see:
88964
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
88965
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
88966
+ * JSPB instance for transitional soy proto support:
88967
+ * http://goto/soy-param-migration
88968
+ * @return {!Object}
88969
+ */
88970
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.toObject = function(opt_includeInstance) {
88971
+ return proto.user.AdminResetResponsibleGamingPolicyRequest.toObject(opt_includeInstance, this);
88972
+ };
88973
+
88974
+
88975
+ /**
88976
+ * Static version of the {@see toObject} method.
88977
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
88978
+ * the JSPB instance for transitional soy proto support:
88979
+ * http://goto/soy-param-migration
88980
+ * @param {!proto.user.AdminResetResponsibleGamingPolicyRequest} msg The msg instance to transform.
88981
+ * @return {!Object}
88982
+ * @suppress {unusedLocalVariables} f is only used for nested messages
88983
+ */
88984
+ proto.user.AdminResetResponsibleGamingPolicyRequest.toObject = function(includeInstance, msg) {
88985
+ var f, obj = {
88986
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
88987
+ policyId: jspb.Message.getFieldWithDefault(msg, 2, ""),
88988
+ managerUserId: jspb.Message.getFieldWithDefault(msg, 3, 0),
88989
+ reason: jspb.Message.getFieldWithDefault(msg, 4, "")
88990
+ };
88991
+
88992
+ if (includeInstance) {
88993
+ obj.$jspbMessageInstance = msg;
88994
+ }
88995
+ return obj;
88996
+ };
88997
+ }
88998
+
88999
+
89000
+ /**
89001
+ * Deserializes binary data (in protobuf wire format).
89002
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
89003
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyRequest}
89004
+ */
89005
+ proto.user.AdminResetResponsibleGamingPolicyRequest.deserializeBinary = function(bytes) {
89006
+ var reader = new jspb.BinaryReader(bytes);
89007
+ var msg = new proto.user.AdminResetResponsibleGamingPolicyRequest;
89008
+ return proto.user.AdminResetResponsibleGamingPolicyRequest.deserializeBinaryFromReader(msg, reader);
89009
+ };
89010
+
89011
+
89012
+ /**
89013
+ * Deserializes binary data (in protobuf wire format) from the
89014
+ * given reader into the given message object.
89015
+ * @param {!proto.user.AdminResetResponsibleGamingPolicyRequest} msg The message object to deserialize into.
89016
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
89017
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyRequest}
89018
+ */
89019
+ proto.user.AdminResetResponsibleGamingPolicyRequest.deserializeBinaryFromReader = function(msg, reader) {
89020
+ while (reader.nextField()) {
89021
+ if (reader.isEndGroup()) {
89022
+ break;
89023
+ }
89024
+ var field = reader.getFieldNumber();
89025
+ switch (field) {
89026
+ case 1:
89027
+ var value = /** @type {number} */ (reader.readInt32());
89028
+ msg.setUserId(value);
89029
+ break;
89030
+ case 2:
89031
+ var value = /** @type {string} */ (reader.readString());
89032
+ msg.setPolicyId(value);
89033
+ break;
89034
+ case 3:
89035
+ var value = /** @type {number} */ (reader.readInt32());
89036
+ msg.setManagerUserId(value);
89037
+ break;
89038
+ case 4:
89039
+ var value = /** @type {string} */ (reader.readString());
89040
+ msg.setReason(value);
89041
+ break;
89042
+ default:
89043
+ reader.skipField();
89044
+ break;
89045
+ }
89046
+ }
89047
+ return msg;
89048
+ };
89049
+
89050
+
89051
+ /**
89052
+ * Serializes the message to binary data (in protobuf wire format).
89053
+ * @return {!Uint8Array}
89054
+ */
89055
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.serializeBinary = function() {
89056
+ var writer = new jspb.BinaryWriter();
89057
+ proto.user.AdminResetResponsibleGamingPolicyRequest.serializeBinaryToWriter(this, writer);
89058
+ return writer.getResultBuffer();
89059
+ };
89060
+
89061
+
89062
+ /**
89063
+ * Serializes the given message to binary data (in protobuf wire
89064
+ * format), writing to the given BinaryWriter.
89065
+ * @param {!proto.user.AdminResetResponsibleGamingPolicyRequest} message
89066
+ * @param {!jspb.BinaryWriter} writer
89067
+ * @suppress {unusedLocalVariables} f is only used for nested messages
89068
+ */
89069
+ proto.user.AdminResetResponsibleGamingPolicyRequest.serializeBinaryToWriter = function(message, writer) {
89070
+ var f = undefined;
89071
+ f = message.getUserId();
89072
+ if (f !== 0) {
89073
+ writer.writeInt32(
89074
+ 1,
89075
+ f
89076
+ );
89077
+ }
89078
+ f = message.getPolicyId();
89079
+ if (f.length > 0) {
89080
+ writer.writeString(
89081
+ 2,
89082
+ f
89083
+ );
89084
+ }
89085
+ f = message.getManagerUserId();
89086
+ if (f !== 0) {
89087
+ writer.writeInt32(
89088
+ 3,
89089
+ f
89090
+ );
89091
+ }
89092
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
89093
+ if (f != null) {
89094
+ writer.writeString(
89095
+ 4,
89096
+ f
89097
+ );
89098
+ }
89099
+ };
89100
+
89101
+
89102
+ /**
89103
+ * optional int32 user_id = 1;
89104
+ * @return {number}
89105
+ */
89106
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.getUserId = function() {
89107
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
89108
+ };
89109
+
89110
+
89111
+ /**
89112
+ * @param {number} value
89113
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyRequest} returns this
89114
+ */
89115
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.setUserId = function(value) {
89116
+ return jspb.Message.setProto3IntField(this, 1, value);
89117
+ };
89118
+
89119
+
89120
+ /**
89121
+ * optional string policy_id = 2;
89122
+ * @return {string}
89123
+ */
89124
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.getPolicyId = function() {
89125
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
89126
+ };
89127
+
89128
+
89129
+ /**
89130
+ * @param {string} value
89131
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyRequest} returns this
89132
+ */
89133
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.setPolicyId = function(value) {
89134
+ return jspb.Message.setProto3StringField(this, 2, value);
89135
+ };
89136
+
89137
+
89138
+ /**
89139
+ * optional int32 manager_user_id = 3;
89140
+ * @return {number}
89141
+ */
89142
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.getManagerUserId = function() {
89143
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
89144
+ };
89145
+
89146
+
89147
+ /**
89148
+ * @param {number} value
89149
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyRequest} returns this
89150
+ */
89151
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.setManagerUserId = function(value) {
89152
+ return jspb.Message.setProto3IntField(this, 3, value);
89153
+ };
89154
+
89155
+
89156
+ /**
89157
+ * optional string reason = 4;
89158
+ * @return {string}
89159
+ */
89160
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.getReason = function() {
89161
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
89162
+ };
89163
+
89164
+
89165
+ /**
89166
+ * @param {string} value
89167
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyRequest} returns this
89168
+ */
89169
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.setReason = function(value) {
89170
+ return jspb.Message.setField(this, 4, value);
89171
+ };
89172
+
89173
+
89174
+ /**
89175
+ * Clears the field making it undefined.
89176
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyRequest} returns this
89177
+ */
89178
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.clearReason = function() {
89179
+ return jspb.Message.setField(this, 4, undefined);
89180
+ };
89181
+
89182
+
89183
+ /**
89184
+ * Returns whether this field is set.
89185
+ * @return {boolean}
89186
+ */
89187
+ proto.user.AdminResetResponsibleGamingPolicyRequest.prototype.hasReason = function() {
89188
+ return jspb.Message.getField(this, 4) != null;
89189
+ };
89190
+
89191
+
89192
+
89193
+ /**
89194
+ * List of repeated fields within this message type.
89195
+ * @private {!Array<number>}
89196
+ * @const
89197
+ */
89198
+ proto.user.AdminResetResponsibleGamingPolicyResponse.repeatedFields_ = [7];
89199
+
89200
+
89201
+
89202
+ if (jspb.Message.GENERATE_TO_OBJECT) {
89203
+ /**
89204
+ * Creates an object representation of this proto.
89205
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
89206
+ * Optional fields that are not set will be set to undefined.
89207
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
89208
+ * For the list of reserved names please see:
89209
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
89210
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
89211
+ * JSPB instance for transitional soy proto support:
89212
+ * http://goto/soy-param-migration
89213
+ * @return {!Object}
89214
+ */
89215
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.toObject = function(opt_includeInstance) {
89216
+ return proto.user.AdminResetResponsibleGamingPolicyResponse.toObject(opt_includeInstance, this);
89217
+ };
89218
+
89219
+
89220
+ /**
89221
+ * Static version of the {@see toObject} method.
89222
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
89223
+ * the JSPB instance for transitional soy proto support:
89224
+ * http://goto/soy-param-migration
89225
+ * @param {!proto.user.AdminResetResponsibleGamingPolicyResponse} msg The msg instance to transform.
89226
+ * @return {!Object}
89227
+ * @suppress {unusedLocalVariables} f is only used for nested messages
89228
+ */
89229
+ proto.user.AdminResetResponsibleGamingPolicyResponse.toObject = function(includeInstance, msg) {
89230
+ var f, obj = {
89231
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
89232
+ policyId: jspb.Message.getFieldWithDefault(msg, 2, ""),
89233
+ policyType: jspb.Message.getFieldWithDefault(msg, 3, 0),
89234
+ recurringPeriod: jspb.Message.getFieldWithDefault(msg, 4, 0),
89235
+ resetAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
89236
+ managerUserId: jspb.Message.getFieldWithDefault(msg, 6, 0),
89237
+ cancelledPendingPolicyIdsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
89238
+ };
89239
+
89240
+ if (includeInstance) {
89241
+ obj.$jspbMessageInstance = msg;
89242
+ }
89243
+ return obj;
89244
+ };
89245
+ }
89246
+
89247
+
89248
+ /**
89249
+ * Deserializes binary data (in protobuf wire format).
89250
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
89251
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse}
89252
+ */
89253
+ proto.user.AdminResetResponsibleGamingPolicyResponse.deserializeBinary = function(bytes) {
89254
+ var reader = new jspb.BinaryReader(bytes);
89255
+ var msg = new proto.user.AdminResetResponsibleGamingPolicyResponse;
89256
+ return proto.user.AdminResetResponsibleGamingPolicyResponse.deserializeBinaryFromReader(msg, reader);
89257
+ };
89258
+
89259
+
89260
+ /**
89261
+ * Deserializes binary data (in protobuf wire format) from the
89262
+ * given reader into the given message object.
89263
+ * @param {!proto.user.AdminResetResponsibleGamingPolicyResponse} msg The message object to deserialize into.
89264
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
89265
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse}
89266
+ */
89267
+ proto.user.AdminResetResponsibleGamingPolicyResponse.deserializeBinaryFromReader = function(msg, reader) {
89268
+ while (reader.nextField()) {
89269
+ if (reader.isEndGroup()) {
89270
+ break;
89271
+ }
89272
+ var field = reader.getFieldNumber();
89273
+ switch (field) {
89274
+ case 1:
89275
+ var value = /** @type {number} */ (reader.readInt32());
89276
+ msg.setUserId(value);
89277
+ break;
89278
+ case 2:
89279
+ var value = /** @type {string} */ (reader.readString());
89280
+ msg.setPolicyId(value);
89281
+ break;
89282
+ case 3:
89283
+ var value = /** @type {!proto.user.ResponsibleGamingPolicyType} */ (reader.readEnum());
89284
+ msg.setPolicyType(value);
89285
+ break;
89286
+ case 4:
89287
+ var value = /** @type {!proto.user.ResponsibleGamingRecurringPeriod} */ (reader.readEnum());
89288
+ msg.setRecurringPeriod(value);
89289
+ break;
89290
+ case 5:
89291
+ var value = /** @type {string} */ (reader.readString());
89292
+ msg.setResetAt(value);
89293
+ break;
89294
+ case 6:
89295
+ var value = /** @type {number} */ (reader.readInt32());
89296
+ msg.setManagerUserId(value);
89297
+ break;
89298
+ case 7:
89299
+ var value = /** @type {string} */ (reader.readString());
89300
+ msg.addCancelledPendingPolicyIds(value);
89301
+ break;
89302
+ default:
89303
+ reader.skipField();
89304
+ break;
89305
+ }
89306
+ }
89307
+ return msg;
89308
+ };
89309
+
89310
+
89311
+ /**
89312
+ * Serializes the message to binary data (in protobuf wire format).
89313
+ * @return {!Uint8Array}
89314
+ */
89315
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.serializeBinary = function() {
89316
+ var writer = new jspb.BinaryWriter();
89317
+ proto.user.AdminResetResponsibleGamingPolicyResponse.serializeBinaryToWriter(this, writer);
89318
+ return writer.getResultBuffer();
89319
+ };
89320
+
89321
+
89322
+ /**
89323
+ * Serializes the given message to binary data (in protobuf wire
89324
+ * format), writing to the given BinaryWriter.
89325
+ * @param {!proto.user.AdminResetResponsibleGamingPolicyResponse} message
89326
+ * @param {!jspb.BinaryWriter} writer
89327
+ * @suppress {unusedLocalVariables} f is only used for nested messages
89328
+ */
89329
+ proto.user.AdminResetResponsibleGamingPolicyResponse.serializeBinaryToWriter = function(message, writer) {
89330
+ var f = undefined;
89331
+ f = message.getUserId();
89332
+ if (f !== 0) {
89333
+ writer.writeInt32(
89334
+ 1,
89335
+ f
89336
+ );
89337
+ }
89338
+ f = message.getPolicyId();
89339
+ if (f.length > 0) {
89340
+ writer.writeString(
89341
+ 2,
89342
+ f
89343
+ );
89344
+ }
89345
+ f = message.getPolicyType();
89346
+ if (f !== 0.0) {
89347
+ writer.writeEnum(
89348
+ 3,
89349
+ f
89350
+ );
89351
+ }
89352
+ f = /** @type {!proto.user.ResponsibleGamingRecurringPeriod} */ (jspb.Message.getField(message, 4));
89353
+ if (f != null) {
89354
+ writer.writeEnum(
89355
+ 4,
89356
+ f
89357
+ );
89358
+ }
89359
+ f = message.getResetAt();
89360
+ if (f.length > 0) {
89361
+ writer.writeString(
89362
+ 5,
89363
+ f
89364
+ );
89365
+ }
89366
+ f = message.getManagerUserId();
89367
+ if (f !== 0) {
89368
+ writer.writeInt32(
89369
+ 6,
89370
+ f
89371
+ );
89372
+ }
89373
+ f = message.getCancelledPendingPolicyIdsList();
89374
+ if (f.length > 0) {
89375
+ writer.writeRepeatedString(
89376
+ 7,
89377
+ f
89378
+ );
89379
+ }
89380
+ };
89381
+
89382
+
89383
+ /**
89384
+ * optional int32 user_id = 1;
89385
+ * @return {number}
89386
+ */
89387
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.getUserId = function() {
89388
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
89389
+ };
89390
+
89391
+
89392
+ /**
89393
+ * @param {number} value
89394
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse} returns this
89395
+ */
89396
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.setUserId = function(value) {
89397
+ return jspb.Message.setProto3IntField(this, 1, value);
89398
+ };
89399
+
89400
+
89401
+ /**
89402
+ * optional string policy_id = 2;
89403
+ * @return {string}
89404
+ */
89405
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.getPolicyId = function() {
89406
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
89407
+ };
89408
+
89409
+
89410
+ /**
89411
+ * @param {string} value
89412
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse} returns this
89413
+ */
89414
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.setPolicyId = function(value) {
89415
+ return jspb.Message.setProto3StringField(this, 2, value);
89416
+ };
89417
+
89418
+
89419
+ /**
89420
+ * optional ResponsibleGamingPolicyType policy_type = 3;
89421
+ * @return {!proto.user.ResponsibleGamingPolicyType}
89422
+ */
89423
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.getPolicyType = function() {
89424
+ return /** @type {!proto.user.ResponsibleGamingPolicyType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
89425
+ };
89426
+
89427
+
89428
+ /**
89429
+ * @param {!proto.user.ResponsibleGamingPolicyType} value
89430
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse} returns this
89431
+ */
89432
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.setPolicyType = function(value) {
89433
+ return jspb.Message.setProto3EnumField(this, 3, value);
89434
+ };
89435
+
89436
+
89437
+ /**
89438
+ * optional ResponsibleGamingRecurringPeriod recurring_period = 4;
89439
+ * @return {!proto.user.ResponsibleGamingRecurringPeriod}
89440
+ */
89441
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.getRecurringPeriod = function() {
89442
+ return /** @type {!proto.user.ResponsibleGamingRecurringPeriod} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
89443
+ };
89444
+
89445
+
89446
+ /**
89447
+ * @param {!proto.user.ResponsibleGamingRecurringPeriod} value
89448
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse} returns this
89449
+ */
89450
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.setRecurringPeriod = function(value) {
89451
+ return jspb.Message.setField(this, 4, value);
89452
+ };
89453
+
89454
+
89455
+ /**
89456
+ * Clears the field making it undefined.
89457
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse} returns this
89458
+ */
89459
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.clearRecurringPeriod = function() {
89460
+ return jspb.Message.setField(this, 4, undefined);
89461
+ };
89462
+
89463
+
89464
+ /**
89465
+ * Returns whether this field is set.
89466
+ * @return {boolean}
89467
+ */
89468
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.hasRecurringPeriod = function() {
89469
+ return jspb.Message.getField(this, 4) != null;
89470
+ };
89471
+
89472
+
89473
+ /**
89474
+ * optional string reset_at = 5;
89475
+ * @return {string}
89476
+ */
89477
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.getResetAt = function() {
89478
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
89479
+ };
89480
+
89481
+
89482
+ /**
89483
+ * @param {string} value
89484
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse} returns this
89485
+ */
89486
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.setResetAt = function(value) {
89487
+ return jspb.Message.setProto3StringField(this, 5, value);
89488
+ };
89489
+
89490
+
89491
+ /**
89492
+ * optional int32 manager_user_id = 6;
89493
+ * @return {number}
89494
+ */
89495
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.getManagerUserId = function() {
89496
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
89497
+ };
89498
+
89499
+
89500
+ /**
89501
+ * @param {number} value
89502
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse} returns this
89503
+ */
89504
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.setManagerUserId = function(value) {
89505
+ return jspb.Message.setProto3IntField(this, 6, value);
89506
+ };
89507
+
89508
+
89509
+ /**
89510
+ * repeated string cancelled_pending_policy_ids = 7;
89511
+ * @return {!Array<string>}
89512
+ */
89513
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.getCancelledPendingPolicyIdsList = function() {
89514
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
89515
+ };
89516
+
89517
+
89518
+ /**
89519
+ * @param {!Array<string>} value
89520
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse} returns this
89521
+ */
89522
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.setCancelledPendingPolicyIdsList = function(value) {
89523
+ return jspb.Message.setField(this, 7, value || []);
89524
+ };
89525
+
89526
+
89527
+ /**
89528
+ * @param {string} value
89529
+ * @param {number=} opt_index
89530
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse} returns this
89531
+ */
89532
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.addCancelledPendingPolicyIds = function(value, opt_index) {
89533
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
89534
+ };
89535
+
89536
+
89537
+ /**
89538
+ * Clears the list making it empty but non-null.
89539
+ * @return {!proto.user.AdminResetResponsibleGamingPolicyResponse} returns this
89540
+ */
89541
+ proto.user.AdminResetResponsibleGamingPolicyResponse.prototype.clearCancelledPendingPolicyIdsList = function() {
89542
+ return this.setCancelledPendingPolicyIdsList([]);
89543
+ };
89544
+
89545
+
89546
+
89547
+
89548
+
87187
89549
  if (jspb.Message.GENERATE_TO_OBJECT) {
87188
89550
  /**
87189
89551
  * Creates an object representation of this proto.