protobuf-platform 1.2.754 → 1.2.756

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
@@ -76,6 +76,7 @@ goog.exportSymbol('proto.user.FinalizeResponsibleGamingDepositReservationRespons
76
76
  goog.exportSymbol('proto.user.FinalizeResponsibleGamingLossExposureRequest', null, global);
77
77
  goog.exportSymbol('proto.user.FinalizeResponsibleGamingLossExposureResponse', null, global);
78
78
  goog.exportSymbol('proto.user.GetNoteRequest', null, global);
79
+ goog.exportSymbol('proto.user.GetPlayerDomainContextRequest', null, global);
79
80
  goog.exportSymbol('proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest', null, global);
80
81
  goog.exportSymbol('proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse', null, global);
81
82
  goog.exportSymbol('proto.user.GetRoleRequest', null, global);
@@ -124,6 +125,7 @@ goog.exportSymbol('proto.user.NoteSearchParams', null, global);
124
125
  goog.exportSymbol('proto.user.NoteStatusResponse', null, global);
125
126
  goog.exportSymbol('proto.user.PaginationRequest', null, global);
126
127
  goog.exportSymbol('proto.user.PingRequest', null, global);
128
+ goog.exportSymbol('proto.user.PlayerDomainContext', null, global);
127
129
  goog.exportSymbol('proto.user.PlayerInvitationActivationOutcome', null, global);
128
130
  goog.exportSymbol('proto.user.PlayerInvitationImportBatchSummary', null, global);
129
131
  goog.exportSymbol('proto.user.PlayerInvitationImportRowResult', null, global);
@@ -179,6 +181,7 @@ goog.exportSymbol('proto.user.ReadUserKycVerificationDocumentPreviewRequest', nu
179
181
  goog.exportSymbol('proto.user.ReadUserKycVerificationDocumentsRequest', null, global);
180
182
  goog.exportSymbol('proto.user.ReadUserManualRestrictionsRequest', null, global);
181
183
  goog.exportSymbol('proto.user.ReadUserRiskProfileRequest', null, global);
184
+ goog.exportSymbol('proto.user.RecordPlayerDomainAttributeRequest', null, global);
182
185
  goog.exportSymbol('proto.user.RegistrationRequest', null, global);
183
186
  goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsRequest', null, global);
184
187
  goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsResponse', null, global);
@@ -358,6 +361,69 @@ goog.exportSymbol('proto.user.VkCommonIdLoginRequest', null, global);
358
361
  goog.exportSymbol('proto.user.WalletPreferenceResponse', null, global);
359
362
  goog.exportSymbol('proto.user.XLoginRequest', null, global);
360
363
  goog.exportSymbol('proto.user.YandexLoginRequest', null, global);
364
+ /**
365
+ * Generated by JsPbCodeGenerator.
366
+ * @param {Array=} opt_data Optional initial data array, typically from a
367
+ * server response, or constructed directly in Javascript. The array is used
368
+ * in place and becomes part of the constructed object. It is not cloned.
369
+ * If no data is provided, the constructed object will be empty, but still
370
+ * valid.
371
+ * @extends {jspb.Message}
372
+ * @constructor
373
+ */
374
+ proto.user.GetPlayerDomainContextRequest = function(opt_data) {
375
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
376
+ };
377
+ goog.inherits(proto.user.GetPlayerDomainContextRequest, jspb.Message);
378
+ if (goog.DEBUG && !COMPILED) {
379
+ /**
380
+ * @public
381
+ * @override
382
+ */
383
+ proto.user.GetPlayerDomainContextRequest.displayName = 'proto.user.GetPlayerDomainContextRequest';
384
+ }
385
+ /**
386
+ * Generated by JsPbCodeGenerator.
387
+ * @param {Array=} opt_data Optional initial data array, typically from a
388
+ * server response, or constructed directly in Javascript. The array is used
389
+ * in place and becomes part of the constructed object. It is not cloned.
390
+ * If no data is provided, the constructed object will be empty, but still
391
+ * valid.
392
+ * @extends {jspb.Message}
393
+ * @constructor
394
+ */
395
+ proto.user.RecordPlayerDomainAttributeRequest = function(opt_data) {
396
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
397
+ };
398
+ goog.inherits(proto.user.RecordPlayerDomainAttributeRequest, jspb.Message);
399
+ if (goog.DEBUG && !COMPILED) {
400
+ /**
401
+ * @public
402
+ * @override
403
+ */
404
+ proto.user.RecordPlayerDomainAttributeRequest.displayName = 'proto.user.RecordPlayerDomainAttributeRequest';
405
+ }
406
+ /**
407
+ * Generated by JsPbCodeGenerator.
408
+ * @param {Array=} opt_data Optional initial data array, typically from a
409
+ * server response, or constructed directly in Javascript. The array is used
410
+ * in place and becomes part of the constructed object. It is not cloned.
411
+ * If no data is provided, the constructed object will be empty, but still
412
+ * valid.
413
+ * @extends {jspb.Message}
414
+ * @constructor
415
+ */
416
+ proto.user.PlayerDomainContext = function(opt_data) {
417
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
418
+ };
419
+ goog.inherits(proto.user.PlayerDomainContext, jspb.Message);
420
+ if (goog.DEBUG && !COMPILED) {
421
+ /**
422
+ * @public
423
+ * @override
424
+ */
425
+ proto.user.PlayerDomainContext.displayName = 'proto.user.PlayerDomainContext';
426
+ }
361
427
  /**
362
428
  * Generated by JsPbCodeGenerator.
363
429
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6920,101 +6986,647 @@ if (goog.DEBUG && !COMPILED) {
6920
6986
  * @extends {jspb.Message}
6921
6987
  * @constructor
6922
6988
  */
6923
- proto.user.ImportPlayerInvitationsResponse = function(opt_data) {
6924
- jspb.Message.initialize(this, opt_data, 0, -1, proto.user.ImportPlayerInvitationsResponse.repeatedFields_, null);
6989
+ proto.user.ImportPlayerInvitationsResponse = function(opt_data) {
6990
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.ImportPlayerInvitationsResponse.repeatedFields_, null);
6991
+ };
6992
+ goog.inherits(proto.user.ImportPlayerInvitationsResponse, jspb.Message);
6993
+ if (goog.DEBUG && !COMPILED) {
6994
+ /**
6995
+ * @public
6996
+ * @override
6997
+ */
6998
+ proto.user.ImportPlayerInvitationsResponse.displayName = 'proto.user.ImportPlayerInvitationsResponse';
6999
+ }
7000
+ /**
7001
+ * Generated by JsPbCodeGenerator.
7002
+ * @param {Array=} opt_data Optional initial data array, typically from a
7003
+ * server response, or constructed directly in Javascript. The array is used
7004
+ * in place and becomes part of the constructed object. It is not cloned.
7005
+ * If no data is provided, the constructed object will be empty, but still
7006
+ * valid.
7007
+ * @extends {jspb.Message}
7008
+ * @constructor
7009
+ */
7010
+ proto.user.ActivatePlayerInvitationRequest = function(opt_data) {
7011
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7012
+ };
7013
+ goog.inherits(proto.user.ActivatePlayerInvitationRequest, jspb.Message);
7014
+ if (goog.DEBUG && !COMPILED) {
7015
+ /**
7016
+ * @public
7017
+ * @override
7018
+ */
7019
+ proto.user.ActivatePlayerInvitationRequest.displayName = 'proto.user.ActivatePlayerInvitationRequest';
7020
+ }
7021
+ /**
7022
+ * Generated by JsPbCodeGenerator.
7023
+ * @param {Array=} opt_data Optional initial data array, typically from a
7024
+ * server response, or constructed directly in Javascript. The array is used
7025
+ * in place and becomes part of the constructed object. It is not cloned.
7026
+ * If no data is provided, the constructed object will be empty, but still
7027
+ * valid.
7028
+ * @extends {jspb.Message}
7029
+ * @constructor
7030
+ */
7031
+ proto.user.ActivatePlayerInvitationResponse = function(opt_data) {
7032
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7033
+ };
7034
+ goog.inherits(proto.user.ActivatePlayerInvitationResponse, jspb.Message);
7035
+ if (goog.DEBUG && !COMPILED) {
7036
+ /**
7037
+ * @public
7038
+ * @override
7039
+ */
7040
+ proto.user.ActivatePlayerInvitationResponse.displayName = 'proto.user.ActivatePlayerInvitationResponse';
7041
+ }
7042
+ /**
7043
+ * Generated by JsPbCodeGenerator.
7044
+ * @param {Array=} opt_data Optional initial data array, typically from a
7045
+ * server response, or constructed directly in Javascript. The array is used
7046
+ * in place and becomes part of the constructed object. It is not cloned.
7047
+ * If no data is provided, the constructed object will be empty, but still
7048
+ * valid.
7049
+ * @extends {jspb.Message}
7050
+ * @constructor
7051
+ */
7052
+ proto.user.InspectPlayerInvitationRequest = function(opt_data) {
7053
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7054
+ };
7055
+ goog.inherits(proto.user.InspectPlayerInvitationRequest, jspb.Message);
7056
+ if (goog.DEBUG && !COMPILED) {
7057
+ /**
7058
+ * @public
7059
+ * @override
7060
+ */
7061
+ proto.user.InspectPlayerInvitationRequest.displayName = 'proto.user.InspectPlayerInvitationRequest';
7062
+ }
7063
+ /**
7064
+ * Generated by JsPbCodeGenerator.
7065
+ * @param {Array=} opt_data Optional initial data array, typically from a
7066
+ * server response, or constructed directly in Javascript. The array is used
7067
+ * in place and becomes part of the constructed object. It is not cloned.
7068
+ * If no data is provided, the constructed object will be empty, but still
7069
+ * valid.
7070
+ * @extends {jspb.Message}
7071
+ * @constructor
7072
+ */
7073
+ proto.user.InspectPlayerInvitationResponse = function(opt_data) {
7074
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7075
+ };
7076
+ goog.inherits(proto.user.InspectPlayerInvitationResponse, jspb.Message);
7077
+ if (goog.DEBUG && !COMPILED) {
7078
+ /**
7079
+ * @public
7080
+ * @override
7081
+ */
7082
+ proto.user.InspectPlayerInvitationResponse.displayName = 'proto.user.InspectPlayerInvitationResponse';
7083
+ }
7084
+
7085
+
7086
+
7087
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7088
+ /**
7089
+ * Creates an object representation of this proto.
7090
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7091
+ * Optional fields that are not set will be set to undefined.
7092
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7093
+ * For the list of reserved names please see:
7094
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7095
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7096
+ * JSPB instance for transitional soy proto support:
7097
+ * http://goto/soy-param-migration
7098
+ * @return {!Object}
7099
+ */
7100
+ proto.user.GetPlayerDomainContextRequest.prototype.toObject = function(opt_includeInstance) {
7101
+ return proto.user.GetPlayerDomainContextRequest.toObject(opt_includeInstance, this);
7102
+ };
7103
+
7104
+
7105
+ /**
7106
+ * Static version of the {@see toObject} method.
7107
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7108
+ * the JSPB instance for transitional soy proto support:
7109
+ * http://goto/soy-param-migration
7110
+ * @param {!proto.user.GetPlayerDomainContextRequest} msg The msg instance to transform.
7111
+ * @return {!Object}
7112
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7113
+ */
7114
+ proto.user.GetPlayerDomainContextRequest.toObject = function(includeInstance, msg) {
7115
+ var f, obj = {
7116
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
7117
+ };
7118
+
7119
+ if (includeInstance) {
7120
+ obj.$jspbMessageInstance = msg;
7121
+ }
7122
+ return obj;
7123
+ };
7124
+ }
7125
+
7126
+
7127
+ /**
7128
+ * Deserializes binary data (in protobuf wire format).
7129
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7130
+ * @return {!proto.user.GetPlayerDomainContextRequest}
7131
+ */
7132
+ proto.user.GetPlayerDomainContextRequest.deserializeBinary = function(bytes) {
7133
+ var reader = new jspb.BinaryReader(bytes);
7134
+ var msg = new proto.user.GetPlayerDomainContextRequest;
7135
+ return proto.user.GetPlayerDomainContextRequest.deserializeBinaryFromReader(msg, reader);
7136
+ };
7137
+
7138
+
7139
+ /**
7140
+ * Deserializes binary data (in protobuf wire format) from the
7141
+ * given reader into the given message object.
7142
+ * @param {!proto.user.GetPlayerDomainContextRequest} msg The message object to deserialize into.
7143
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7144
+ * @return {!proto.user.GetPlayerDomainContextRequest}
7145
+ */
7146
+ proto.user.GetPlayerDomainContextRequest.deserializeBinaryFromReader = function(msg, reader) {
7147
+ while (reader.nextField()) {
7148
+ if (reader.isEndGroup()) {
7149
+ break;
7150
+ }
7151
+ var field = reader.getFieldNumber();
7152
+ switch (field) {
7153
+ case 1:
7154
+ var value = /** @type {number} */ (reader.readInt32());
7155
+ msg.setUserId(value);
7156
+ break;
7157
+ default:
7158
+ reader.skipField();
7159
+ break;
7160
+ }
7161
+ }
7162
+ return msg;
7163
+ };
7164
+
7165
+
7166
+ /**
7167
+ * Serializes the message to binary data (in protobuf wire format).
7168
+ * @return {!Uint8Array}
7169
+ */
7170
+ proto.user.GetPlayerDomainContextRequest.prototype.serializeBinary = function() {
7171
+ var writer = new jspb.BinaryWriter();
7172
+ proto.user.GetPlayerDomainContextRequest.serializeBinaryToWriter(this, writer);
7173
+ return writer.getResultBuffer();
7174
+ };
7175
+
7176
+
7177
+ /**
7178
+ * Serializes the given message to binary data (in protobuf wire
7179
+ * format), writing to the given BinaryWriter.
7180
+ * @param {!proto.user.GetPlayerDomainContextRequest} message
7181
+ * @param {!jspb.BinaryWriter} writer
7182
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7183
+ */
7184
+ proto.user.GetPlayerDomainContextRequest.serializeBinaryToWriter = function(message, writer) {
7185
+ var f = undefined;
7186
+ f = message.getUserId();
7187
+ if (f !== 0) {
7188
+ writer.writeInt32(
7189
+ 1,
7190
+ f
7191
+ );
7192
+ }
7193
+ };
7194
+
7195
+
7196
+ /**
7197
+ * optional int32 user_id = 1;
7198
+ * @return {number}
7199
+ */
7200
+ proto.user.GetPlayerDomainContextRequest.prototype.getUserId = function() {
7201
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7202
+ };
7203
+
7204
+
7205
+ /**
7206
+ * @param {number} value
7207
+ * @return {!proto.user.GetPlayerDomainContextRequest} returns this
7208
+ */
7209
+ proto.user.GetPlayerDomainContextRequest.prototype.setUserId = function(value) {
7210
+ return jspb.Message.setProto3IntField(this, 1, value);
7211
+ };
7212
+
7213
+
7214
+
7215
+
7216
+
7217
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7218
+ /**
7219
+ * Creates an object representation of this proto.
7220
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7221
+ * Optional fields that are not set will be set to undefined.
7222
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7223
+ * For the list of reserved names please see:
7224
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7225
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7226
+ * JSPB instance for transitional soy proto support:
7227
+ * http://goto/soy-param-migration
7228
+ * @return {!Object}
7229
+ */
7230
+ proto.user.RecordPlayerDomainAttributeRequest.prototype.toObject = function(opt_includeInstance) {
7231
+ return proto.user.RecordPlayerDomainAttributeRequest.toObject(opt_includeInstance, this);
7232
+ };
7233
+
7234
+
7235
+ /**
7236
+ * Static version of the {@see toObject} method.
7237
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7238
+ * the JSPB instance for transitional soy proto support:
7239
+ * http://goto/soy-param-migration
7240
+ * @param {!proto.user.RecordPlayerDomainAttributeRequest} msg The msg instance to transform.
7241
+ * @return {!Object}
7242
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7243
+ */
7244
+ proto.user.RecordPlayerDomainAttributeRequest.toObject = function(includeInstance, msg) {
7245
+ var f, obj = {
7246
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
7247
+ domain: jspb.Message.getFieldWithDefault(msg, 2, "")
7248
+ };
7249
+
7250
+ if (includeInstance) {
7251
+ obj.$jspbMessageInstance = msg;
7252
+ }
7253
+ return obj;
7254
+ };
7255
+ }
7256
+
7257
+
7258
+ /**
7259
+ * Deserializes binary data (in protobuf wire format).
7260
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7261
+ * @return {!proto.user.RecordPlayerDomainAttributeRequest}
7262
+ */
7263
+ proto.user.RecordPlayerDomainAttributeRequest.deserializeBinary = function(bytes) {
7264
+ var reader = new jspb.BinaryReader(bytes);
7265
+ var msg = new proto.user.RecordPlayerDomainAttributeRequest;
7266
+ return proto.user.RecordPlayerDomainAttributeRequest.deserializeBinaryFromReader(msg, reader);
7267
+ };
7268
+
7269
+
7270
+ /**
7271
+ * Deserializes binary data (in protobuf wire format) from the
7272
+ * given reader into the given message object.
7273
+ * @param {!proto.user.RecordPlayerDomainAttributeRequest} msg The message object to deserialize into.
7274
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7275
+ * @return {!proto.user.RecordPlayerDomainAttributeRequest}
7276
+ */
7277
+ proto.user.RecordPlayerDomainAttributeRequest.deserializeBinaryFromReader = function(msg, reader) {
7278
+ while (reader.nextField()) {
7279
+ if (reader.isEndGroup()) {
7280
+ break;
7281
+ }
7282
+ var field = reader.getFieldNumber();
7283
+ switch (field) {
7284
+ case 1:
7285
+ var value = /** @type {number} */ (reader.readInt32());
7286
+ msg.setUserId(value);
7287
+ break;
7288
+ case 2:
7289
+ var value = /** @type {string} */ (reader.readString());
7290
+ msg.setDomain(value);
7291
+ break;
7292
+ default:
7293
+ reader.skipField();
7294
+ break;
7295
+ }
7296
+ }
7297
+ return msg;
7298
+ };
7299
+
7300
+
7301
+ /**
7302
+ * Serializes the message to binary data (in protobuf wire format).
7303
+ * @return {!Uint8Array}
7304
+ */
7305
+ proto.user.RecordPlayerDomainAttributeRequest.prototype.serializeBinary = function() {
7306
+ var writer = new jspb.BinaryWriter();
7307
+ proto.user.RecordPlayerDomainAttributeRequest.serializeBinaryToWriter(this, writer);
7308
+ return writer.getResultBuffer();
7309
+ };
7310
+
7311
+
7312
+ /**
7313
+ * Serializes the given message to binary data (in protobuf wire
7314
+ * format), writing to the given BinaryWriter.
7315
+ * @param {!proto.user.RecordPlayerDomainAttributeRequest} message
7316
+ * @param {!jspb.BinaryWriter} writer
7317
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7318
+ */
7319
+ proto.user.RecordPlayerDomainAttributeRequest.serializeBinaryToWriter = function(message, writer) {
7320
+ var f = undefined;
7321
+ f = message.getUserId();
7322
+ if (f !== 0) {
7323
+ writer.writeInt32(
7324
+ 1,
7325
+ f
7326
+ );
7327
+ }
7328
+ f = message.getDomain();
7329
+ if (f.length > 0) {
7330
+ writer.writeString(
7331
+ 2,
7332
+ f
7333
+ );
7334
+ }
7335
+ };
7336
+
7337
+
7338
+ /**
7339
+ * optional int32 user_id = 1;
7340
+ * @return {number}
7341
+ */
7342
+ proto.user.RecordPlayerDomainAttributeRequest.prototype.getUserId = function() {
7343
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7344
+ };
7345
+
7346
+
7347
+ /**
7348
+ * @param {number} value
7349
+ * @return {!proto.user.RecordPlayerDomainAttributeRequest} returns this
7350
+ */
7351
+ proto.user.RecordPlayerDomainAttributeRequest.prototype.setUserId = function(value) {
7352
+ return jspb.Message.setProto3IntField(this, 1, value);
7353
+ };
7354
+
7355
+
7356
+ /**
7357
+ * optional string domain = 2;
7358
+ * @return {string}
7359
+ */
7360
+ proto.user.RecordPlayerDomainAttributeRequest.prototype.getDomain = function() {
7361
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
7362
+ };
7363
+
7364
+
7365
+ /**
7366
+ * @param {string} value
7367
+ * @return {!proto.user.RecordPlayerDomainAttributeRequest} returns this
7368
+ */
7369
+ proto.user.RecordPlayerDomainAttributeRequest.prototype.setDomain = function(value) {
7370
+ return jspb.Message.setProto3StringField(this, 2, value);
7371
+ };
7372
+
7373
+
7374
+
7375
+
7376
+
7377
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7378
+ /**
7379
+ * Creates an object representation of this proto.
7380
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7381
+ * Optional fields that are not set will be set to undefined.
7382
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7383
+ * For the list of reserved names please see:
7384
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7385
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7386
+ * JSPB instance for transitional soy proto support:
7387
+ * http://goto/soy-param-migration
7388
+ * @return {!Object}
7389
+ */
7390
+ proto.user.PlayerDomainContext.prototype.toObject = function(opt_includeInstance) {
7391
+ return proto.user.PlayerDomainContext.toObject(opt_includeInstance, this);
7392
+ };
7393
+
7394
+
7395
+ /**
7396
+ * Static version of the {@see toObject} method.
7397
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7398
+ * the JSPB instance for transitional soy proto support:
7399
+ * http://goto/soy-param-migration
7400
+ * @param {!proto.user.PlayerDomainContext} msg The msg instance to transform.
7401
+ * @return {!Object}
7402
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7403
+ */
7404
+ proto.user.PlayerDomainContext.toObject = function(includeInstance, msg) {
7405
+ var f, obj = {
7406
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
7407
+ publicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
7408
+ lastActiveDomain: jspb.Message.getFieldWithDefault(msg, 3, ""),
7409
+ pushSubscriptionDomain: jspb.Message.getFieldWithDefault(msg, 4, "")
7410
+ };
7411
+
7412
+ if (includeInstance) {
7413
+ obj.$jspbMessageInstance = msg;
7414
+ }
7415
+ return obj;
7416
+ };
7417
+ }
7418
+
7419
+
7420
+ /**
7421
+ * Deserializes binary data (in protobuf wire format).
7422
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7423
+ * @return {!proto.user.PlayerDomainContext}
7424
+ */
7425
+ proto.user.PlayerDomainContext.deserializeBinary = function(bytes) {
7426
+ var reader = new jspb.BinaryReader(bytes);
7427
+ var msg = new proto.user.PlayerDomainContext;
7428
+ return proto.user.PlayerDomainContext.deserializeBinaryFromReader(msg, reader);
7429
+ };
7430
+
7431
+
7432
+ /**
7433
+ * Deserializes binary data (in protobuf wire format) from the
7434
+ * given reader into the given message object.
7435
+ * @param {!proto.user.PlayerDomainContext} msg The message object to deserialize into.
7436
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7437
+ * @return {!proto.user.PlayerDomainContext}
7438
+ */
7439
+ proto.user.PlayerDomainContext.deserializeBinaryFromReader = function(msg, reader) {
7440
+ while (reader.nextField()) {
7441
+ if (reader.isEndGroup()) {
7442
+ break;
7443
+ }
7444
+ var field = reader.getFieldNumber();
7445
+ switch (field) {
7446
+ case 1:
7447
+ var value = /** @type {number} */ (reader.readInt32());
7448
+ msg.setUserId(value);
7449
+ break;
7450
+ case 2:
7451
+ var value = /** @type {string} */ (reader.readString());
7452
+ msg.setPublicId(value);
7453
+ break;
7454
+ case 3:
7455
+ var value = /** @type {string} */ (reader.readString());
7456
+ msg.setLastActiveDomain(value);
7457
+ break;
7458
+ case 4:
7459
+ var value = /** @type {string} */ (reader.readString());
7460
+ msg.setPushSubscriptionDomain(value);
7461
+ break;
7462
+ default:
7463
+ reader.skipField();
7464
+ break;
7465
+ }
7466
+ }
7467
+ return msg;
7468
+ };
7469
+
7470
+
7471
+ /**
7472
+ * Serializes the message to binary data (in protobuf wire format).
7473
+ * @return {!Uint8Array}
7474
+ */
7475
+ proto.user.PlayerDomainContext.prototype.serializeBinary = function() {
7476
+ var writer = new jspb.BinaryWriter();
7477
+ proto.user.PlayerDomainContext.serializeBinaryToWriter(this, writer);
7478
+ return writer.getResultBuffer();
7479
+ };
7480
+
7481
+
7482
+ /**
7483
+ * Serializes the given message to binary data (in protobuf wire
7484
+ * format), writing to the given BinaryWriter.
7485
+ * @param {!proto.user.PlayerDomainContext} message
7486
+ * @param {!jspb.BinaryWriter} writer
7487
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7488
+ */
7489
+ proto.user.PlayerDomainContext.serializeBinaryToWriter = function(message, writer) {
7490
+ var f = undefined;
7491
+ f = message.getUserId();
7492
+ if (f !== 0) {
7493
+ writer.writeInt32(
7494
+ 1,
7495
+ f
7496
+ );
7497
+ }
7498
+ f = message.getPublicId();
7499
+ if (f.length > 0) {
7500
+ writer.writeString(
7501
+ 2,
7502
+ f
7503
+ );
7504
+ }
7505
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
7506
+ if (f != null) {
7507
+ writer.writeString(
7508
+ 3,
7509
+ f
7510
+ );
7511
+ }
7512
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
7513
+ if (f != null) {
7514
+ writer.writeString(
7515
+ 4,
7516
+ f
7517
+ );
7518
+ }
7519
+ };
7520
+
7521
+
7522
+ /**
7523
+ * optional int32 user_id = 1;
7524
+ * @return {number}
7525
+ */
7526
+ proto.user.PlayerDomainContext.prototype.getUserId = function() {
7527
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7528
+ };
7529
+
7530
+
7531
+ /**
7532
+ * @param {number} value
7533
+ * @return {!proto.user.PlayerDomainContext} returns this
7534
+ */
7535
+ proto.user.PlayerDomainContext.prototype.setUserId = function(value) {
7536
+ return jspb.Message.setProto3IntField(this, 1, value);
7537
+ };
7538
+
7539
+
7540
+ /**
7541
+ * optional string public_id = 2;
7542
+ * @return {string}
7543
+ */
7544
+ proto.user.PlayerDomainContext.prototype.getPublicId = function() {
7545
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
7546
+ };
7547
+
7548
+
7549
+ /**
7550
+ * @param {string} value
7551
+ * @return {!proto.user.PlayerDomainContext} returns this
7552
+ */
7553
+ proto.user.PlayerDomainContext.prototype.setPublicId = function(value) {
7554
+ return jspb.Message.setProto3StringField(this, 2, value);
7555
+ };
7556
+
7557
+
7558
+ /**
7559
+ * optional string last_active_domain = 3;
7560
+ * @return {string}
7561
+ */
7562
+ proto.user.PlayerDomainContext.prototype.getLastActiveDomain = function() {
7563
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
7564
+ };
7565
+
7566
+
7567
+ /**
7568
+ * @param {string} value
7569
+ * @return {!proto.user.PlayerDomainContext} returns this
7570
+ */
7571
+ proto.user.PlayerDomainContext.prototype.setLastActiveDomain = function(value) {
7572
+ return jspb.Message.setField(this, 3, value);
7573
+ };
7574
+
7575
+
7576
+ /**
7577
+ * Clears the field making it undefined.
7578
+ * @return {!proto.user.PlayerDomainContext} returns this
7579
+ */
7580
+ proto.user.PlayerDomainContext.prototype.clearLastActiveDomain = function() {
7581
+ return jspb.Message.setField(this, 3, undefined);
7582
+ };
7583
+
7584
+
7585
+ /**
7586
+ * Returns whether this field is set.
7587
+ * @return {boolean}
7588
+ */
7589
+ proto.user.PlayerDomainContext.prototype.hasLastActiveDomain = function() {
7590
+ return jspb.Message.getField(this, 3) != null;
6925
7591
  };
6926
- goog.inherits(proto.user.ImportPlayerInvitationsResponse, jspb.Message);
6927
- if (goog.DEBUG && !COMPILED) {
6928
- /**
6929
- * @public
6930
- * @override
6931
- */
6932
- proto.user.ImportPlayerInvitationsResponse.displayName = 'proto.user.ImportPlayerInvitationsResponse';
6933
- }
7592
+
7593
+
6934
7594
  /**
6935
- * Generated by JsPbCodeGenerator.
6936
- * @param {Array=} opt_data Optional initial data array, typically from a
6937
- * server response, or constructed directly in Javascript. The array is used
6938
- * in place and becomes part of the constructed object. It is not cloned.
6939
- * If no data is provided, the constructed object will be empty, but still
6940
- * valid.
6941
- * @extends {jspb.Message}
6942
- * @constructor
7595
+ * optional string push_subscription_domain = 4;
7596
+ * @return {string}
6943
7597
  */
6944
- proto.user.ActivatePlayerInvitationRequest = function(opt_data) {
6945
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7598
+ proto.user.PlayerDomainContext.prototype.getPushSubscriptionDomain = function() {
7599
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6946
7600
  };
6947
- goog.inherits(proto.user.ActivatePlayerInvitationRequest, jspb.Message);
6948
- if (goog.DEBUG && !COMPILED) {
6949
- /**
6950
- * @public
6951
- * @override
6952
- */
6953
- proto.user.ActivatePlayerInvitationRequest.displayName = 'proto.user.ActivatePlayerInvitationRequest';
6954
- }
7601
+
7602
+
6955
7603
  /**
6956
- * Generated by JsPbCodeGenerator.
6957
- * @param {Array=} opt_data Optional initial data array, typically from a
6958
- * server response, or constructed directly in Javascript. The array is used
6959
- * in place and becomes part of the constructed object. It is not cloned.
6960
- * If no data is provided, the constructed object will be empty, but still
6961
- * valid.
6962
- * @extends {jspb.Message}
6963
- * @constructor
7604
+ * @param {string} value
7605
+ * @return {!proto.user.PlayerDomainContext} returns this
6964
7606
  */
6965
- proto.user.ActivatePlayerInvitationResponse = function(opt_data) {
6966
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7607
+ proto.user.PlayerDomainContext.prototype.setPushSubscriptionDomain = function(value) {
7608
+ return jspb.Message.setField(this, 4, value);
6967
7609
  };
6968
- goog.inherits(proto.user.ActivatePlayerInvitationResponse, jspb.Message);
6969
- if (goog.DEBUG && !COMPILED) {
6970
- /**
6971
- * @public
6972
- * @override
6973
- */
6974
- proto.user.ActivatePlayerInvitationResponse.displayName = 'proto.user.ActivatePlayerInvitationResponse';
6975
- }
7610
+
7611
+
6976
7612
  /**
6977
- * Generated by JsPbCodeGenerator.
6978
- * @param {Array=} opt_data Optional initial data array, typically from a
6979
- * server response, or constructed directly in Javascript. The array is used
6980
- * in place and becomes part of the constructed object. It is not cloned.
6981
- * If no data is provided, the constructed object will be empty, but still
6982
- * valid.
6983
- * @extends {jspb.Message}
6984
- * @constructor
7613
+ * Clears the field making it undefined.
7614
+ * @return {!proto.user.PlayerDomainContext} returns this
6985
7615
  */
6986
- proto.user.InspectPlayerInvitationRequest = function(opt_data) {
6987
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7616
+ proto.user.PlayerDomainContext.prototype.clearPushSubscriptionDomain = function() {
7617
+ return jspb.Message.setField(this, 4, undefined);
6988
7618
  };
6989
- goog.inherits(proto.user.InspectPlayerInvitationRequest, jspb.Message);
6990
- if (goog.DEBUG && !COMPILED) {
6991
- /**
6992
- * @public
6993
- * @override
6994
- */
6995
- proto.user.InspectPlayerInvitationRequest.displayName = 'proto.user.InspectPlayerInvitationRequest';
6996
- }
7619
+
7620
+
6997
7621
  /**
6998
- * Generated by JsPbCodeGenerator.
6999
- * @param {Array=} opt_data Optional initial data array, typically from a
7000
- * server response, or constructed directly in Javascript. The array is used
7001
- * in place and becomes part of the constructed object. It is not cloned.
7002
- * If no data is provided, the constructed object will be empty, but still
7003
- * valid.
7004
- * @extends {jspb.Message}
7005
- * @constructor
7622
+ * Returns whether this field is set.
7623
+ * @return {boolean}
7006
7624
  */
7007
- proto.user.InspectPlayerInvitationResponse = function(opt_data) {
7008
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7625
+ proto.user.PlayerDomainContext.prototype.hasPushSubscriptionDomain = function() {
7626
+ return jspb.Message.getField(this, 4) != null;
7009
7627
  };
7010
- goog.inherits(proto.user.InspectPlayerInvitationResponse, jspb.Message);
7011
- if (goog.DEBUG && !COMPILED) {
7012
- /**
7013
- * @public
7014
- * @override
7015
- */
7016
- proto.user.InspectPlayerInvitationResponse.displayName = 'proto.user.InspectPlayerInvitationResponse';
7017
- }
7628
+
7629
+
7018
7630
 
7019
7631
 
7020
7632
 
@@ -11177,7 +11789,9 @@ proto.user.LoggedInResponse.toObject = function(includeInstance, msg) {
11177
11789
  twoFaQrDataUrl: jspb.Message.getFieldWithDefault(msg, 15, ""),
11178
11790
  presetId: jspb.Message.getFieldWithDefault(msg, 16, 0),
11179
11791
  roleId: jspb.Message.getFieldWithDefault(msg, 17, 0),
11180
- preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 18, "")
11792
+ preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 18, ""),
11793
+ lastActiveDomain: jspb.Message.getFieldWithDefault(msg, 19, ""),
11794
+ pushSubscriptionDomain: jspb.Message.getFieldWithDefault(msg, 20, "")
11181
11795
  };
11182
11796
 
11183
11797
  if (includeInstance) {
@@ -11286,6 +11900,14 @@ proto.user.LoggedInResponse.deserializeBinaryFromReader = function(msg, reader)
11286
11900
  var value = /** @type {string} */ (reader.readString());
11287
11901
  msg.setPreferredWalletCurrency(value);
11288
11902
  break;
11903
+ case 19:
11904
+ var value = /** @type {string} */ (reader.readString());
11905
+ msg.setLastActiveDomain(value);
11906
+ break;
11907
+ case 20:
11908
+ var value = /** @type {string} */ (reader.readString());
11909
+ msg.setPushSubscriptionDomain(value);
11910
+ break;
11289
11911
  default:
11290
11912
  reader.skipField();
11291
11913
  break;
@@ -11441,6 +12063,20 @@ proto.user.LoggedInResponse.serializeBinaryToWriter = function(message, writer)
11441
12063
  f
11442
12064
  );
11443
12065
  }
12066
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
12067
+ if (f != null) {
12068
+ writer.writeString(
12069
+ 19,
12070
+ f
12071
+ );
12072
+ }
12073
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
12074
+ if (f != null) {
12075
+ writer.writeString(
12076
+ 20,
12077
+ f
12078
+ );
12079
+ }
11444
12080
  };
11445
12081
 
11446
12082
 
@@ -12038,6 +12674,78 @@ proto.user.LoggedInResponse.prototype.hasPreferredWalletCurrency = function() {
12038
12674
  };
12039
12675
 
12040
12676
 
12677
+ /**
12678
+ * optional string last_active_domain = 19;
12679
+ * @return {string}
12680
+ */
12681
+ proto.user.LoggedInResponse.prototype.getLastActiveDomain = function() {
12682
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
12683
+ };
12684
+
12685
+
12686
+ /**
12687
+ * @param {string} value
12688
+ * @return {!proto.user.LoggedInResponse} returns this
12689
+ */
12690
+ proto.user.LoggedInResponse.prototype.setLastActiveDomain = function(value) {
12691
+ return jspb.Message.setField(this, 19, value);
12692
+ };
12693
+
12694
+
12695
+ /**
12696
+ * Clears the field making it undefined.
12697
+ * @return {!proto.user.LoggedInResponse} returns this
12698
+ */
12699
+ proto.user.LoggedInResponse.prototype.clearLastActiveDomain = function() {
12700
+ return jspb.Message.setField(this, 19, undefined);
12701
+ };
12702
+
12703
+
12704
+ /**
12705
+ * Returns whether this field is set.
12706
+ * @return {boolean}
12707
+ */
12708
+ proto.user.LoggedInResponse.prototype.hasLastActiveDomain = function() {
12709
+ return jspb.Message.getField(this, 19) != null;
12710
+ };
12711
+
12712
+
12713
+ /**
12714
+ * optional string push_subscription_domain = 20;
12715
+ * @return {string}
12716
+ */
12717
+ proto.user.LoggedInResponse.prototype.getPushSubscriptionDomain = function() {
12718
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
12719
+ };
12720
+
12721
+
12722
+ /**
12723
+ * @param {string} value
12724
+ * @return {!proto.user.LoggedInResponse} returns this
12725
+ */
12726
+ proto.user.LoggedInResponse.prototype.setPushSubscriptionDomain = function(value) {
12727
+ return jspb.Message.setField(this, 20, value);
12728
+ };
12729
+
12730
+
12731
+ /**
12732
+ * Clears the field making it undefined.
12733
+ * @return {!proto.user.LoggedInResponse} returns this
12734
+ */
12735
+ proto.user.LoggedInResponse.prototype.clearPushSubscriptionDomain = function() {
12736
+ return jspb.Message.setField(this, 20, undefined);
12737
+ };
12738
+
12739
+
12740
+ /**
12741
+ * Returns whether this field is set.
12742
+ * @return {boolean}
12743
+ */
12744
+ proto.user.LoggedInResponse.prototype.hasPushSubscriptionDomain = function() {
12745
+ return jspb.Message.getField(this, 20) != null;
12746
+ };
12747
+
12748
+
12041
12749
 
12042
12750
 
12043
12751
 
@@ -29407,7 +30115,9 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
29407
30115
  emailUnsubscribedAt: jspb.Message.getFieldWithDefault(msg, 58, ""),
29408
30116
  isSelfExclusionActive: jspb.Message.getBooleanFieldWithDefault(msg, 59, false),
29409
30117
  isTest: jspb.Message.getBooleanFieldWithDefault(msg, 60, false),
29410
- preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 61, "")
30118
+ preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 61, ""),
30119
+ lastActiveDomain: jspb.Message.getFieldWithDefault(msg, 62, ""),
30120
+ pushSubscriptionDomain: jspb.Message.getFieldWithDefault(msg, 63, "")
29411
30121
  };
29412
30122
 
29413
30123
  if (includeInstance) {
@@ -29689,6 +30399,14 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
29689
30399
  var value = /** @type {string} */ (reader.readString());
29690
30400
  msg.setPreferredWalletCurrency(value);
29691
30401
  break;
30402
+ case 62:
30403
+ var value = /** @type {string} */ (reader.readString());
30404
+ msg.setLastActiveDomain(value);
30405
+ break;
30406
+ case 63:
30407
+ var value = /** @type {string} */ (reader.readString());
30408
+ msg.setPushSubscriptionDomain(value);
30409
+ break;
29692
30410
  default:
29693
30411
  reader.skipField();
29694
30412
  break;
@@ -30146,6 +30864,20 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
30146
30864
  f
30147
30865
  );
30148
30866
  }
30867
+ f = /** @type {string} */ (jspb.Message.getField(message, 62));
30868
+ if (f != null) {
30869
+ writer.writeString(
30870
+ 62,
30871
+ f
30872
+ );
30873
+ }
30874
+ f = /** @type {string} */ (jspb.Message.getField(message, 63));
30875
+ if (f != null) {
30876
+ writer.writeString(
30877
+ 63,
30878
+ f
30879
+ );
30880
+ }
30149
30881
  };
30150
30882
 
30151
30883
 
@@ -32310,6 +33042,78 @@ proto.user.UserDataResponse.prototype.hasPreferredWalletCurrency = function() {
32310
33042
  };
32311
33043
 
32312
33044
 
33045
+ /**
33046
+ * optional string last_active_domain = 62;
33047
+ * @return {string}
33048
+ */
33049
+ proto.user.UserDataResponse.prototype.getLastActiveDomain = function() {
33050
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 62, ""));
33051
+ };
33052
+
33053
+
33054
+ /**
33055
+ * @param {string} value
33056
+ * @return {!proto.user.UserDataResponse} returns this
33057
+ */
33058
+ proto.user.UserDataResponse.prototype.setLastActiveDomain = function(value) {
33059
+ return jspb.Message.setField(this, 62, value);
33060
+ };
33061
+
33062
+
33063
+ /**
33064
+ * Clears the field making it undefined.
33065
+ * @return {!proto.user.UserDataResponse} returns this
33066
+ */
33067
+ proto.user.UserDataResponse.prototype.clearLastActiveDomain = function() {
33068
+ return jspb.Message.setField(this, 62, undefined);
33069
+ };
33070
+
33071
+
33072
+ /**
33073
+ * Returns whether this field is set.
33074
+ * @return {boolean}
33075
+ */
33076
+ proto.user.UserDataResponse.prototype.hasLastActiveDomain = function() {
33077
+ return jspb.Message.getField(this, 62) != null;
33078
+ };
33079
+
33080
+
33081
+ /**
33082
+ * optional string push_subscription_domain = 63;
33083
+ * @return {string}
33084
+ */
33085
+ proto.user.UserDataResponse.prototype.getPushSubscriptionDomain = function() {
33086
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 63, ""));
33087
+ };
33088
+
33089
+
33090
+ /**
33091
+ * @param {string} value
33092
+ * @return {!proto.user.UserDataResponse} returns this
33093
+ */
33094
+ proto.user.UserDataResponse.prototype.setPushSubscriptionDomain = function(value) {
33095
+ return jspb.Message.setField(this, 63, value);
33096
+ };
33097
+
33098
+
33099
+ /**
33100
+ * Clears the field making it undefined.
33101
+ * @return {!proto.user.UserDataResponse} returns this
33102
+ */
33103
+ proto.user.UserDataResponse.prototype.clearPushSubscriptionDomain = function() {
33104
+ return jspb.Message.setField(this, 63, undefined);
33105
+ };
33106
+
33107
+
33108
+ /**
33109
+ * Returns whether this field is set.
33110
+ * @return {boolean}
33111
+ */
33112
+ proto.user.UserDataResponse.prototype.hasPushSubscriptionDomain = function() {
33113
+ return jspb.Message.getField(this, 63) != null;
33114
+ };
33115
+
33116
+
32313
33117
 
32314
33118
 
32315
33119