protobuf-platform 1.2.612 → 1.2.615

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
@@ -160,6 +160,7 @@ goog.exportSymbol('proto.user.ReadUserRiskProfileRequest', null, global);
160
160
  goog.exportSymbol('proto.user.RegistrationRequest', null, global);
161
161
  goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsRequest', null, global);
162
162
  goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsResponse', null, global);
163
+ goog.exportSymbol('proto.user.RequestEmailVerificationRequest', null, global);
163
164
  goog.exportSymbol('proto.user.ReserveResponsibleGamingDepositRequest', null, global);
164
165
  goog.exportSymbol('proto.user.ReserveResponsibleGamingDepositResponse', null, global);
165
166
  goog.exportSymbol('proto.user.ReserveResponsibleGamingLossExposureRequest', null, global);
@@ -5403,6 +5404,27 @@ if (goog.DEBUG && !COMPILED) {
5403
5404
  */
5404
5405
  proto.user.EmailConfirmedRequest.displayName = 'proto.user.EmailConfirmedRequest';
5405
5406
  }
5407
+ /**
5408
+ * Generated by JsPbCodeGenerator.
5409
+ * @param {Array=} opt_data Optional initial data array, typically from a
5410
+ * server response, or constructed directly in Javascript. The array is used
5411
+ * in place and becomes part of the constructed object. It is not cloned.
5412
+ * If no data is provided, the constructed object will be empty, but still
5413
+ * valid.
5414
+ * @extends {jspb.Message}
5415
+ * @constructor
5416
+ */
5417
+ proto.user.RequestEmailVerificationRequest = function(opt_data) {
5418
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5419
+ };
5420
+ goog.inherits(proto.user.RequestEmailVerificationRequest, jspb.Message);
5421
+ if (goog.DEBUG && !COMPILED) {
5422
+ /**
5423
+ * @public
5424
+ * @override
5425
+ */
5426
+ proto.user.RequestEmailVerificationRequest.displayName = 'proto.user.RequestEmailVerificationRequest';
5427
+ }
5406
5428
  /**
5407
5429
  * Generated by JsPbCodeGenerator.
5408
5430
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -86082,6 +86104,136 @@ proto.user.EmailConfirmedRequest.prototype.setToken = function(value) {
86082
86104
 
86083
86105
 
86084
86106
 
86107
+ if (jspb.Message.GENERATE_TO_OBJECT) {
86108
+ /**
86109
+ * Creates an object representation of this proto.
86110
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
86111
+ * Optional fields that are not set will be set to undefined.
86112
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
86113
+ * For the list of reserved names please see:
86114
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
86115
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
86116
+ * JSPB instance for transitional soy proto support:
86117
+ * http://goto/soy-param-migration
86118
+ * @return {!Object}
86119
+ */
86120
+ proto.user.RequestEmailVerificationRequest.prototype.toObject = function(opt_includeInstance) {
86121
+ return proto.user.RequestEmailVerificationRequest.toObject(opt_includeInstance, this);
86122
+ };
86123
+
86124
+
86125
+ /**
86126
+ * Static version of the {@see toObject} method.
86127
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
86128
+ * the JSPB instance for transitional soy proto support:
86129
+ * http://goto/soy-param-migration
86130
+ * @param {!proto.user.RequestEmailVerificationRequest} msg The msg instance to transform.
86131
+ * @return {!Object}
86132
+ * @suppress {unusedLocalVariables} f is only used for nested messages
86133
+ */
86134
+ proto.user.RequestEmailVerificationRequest.toObject = function(includeInstance, msg) {
86135
+ var f, obj = {
86136
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
86137
+ };
86138
+
86139
+ if (includeInstance) {
86140
+ obj.$jspbMessageInstance = msg;
86141
+ }
86142
+ return obj;
86143
+ };
86144
+ }
86145
+
86146
+
86147
+ /**
86148
+ * Deserializes binary data (in protobuf wire format).
86149
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
86150
+ * @return {!proto.user.RequestEmailVerificationRequest}
86151
+ */
86152
+ proto.user.RequestEmailVerificationRequest.deserializeBinary = function(bytes) {
86153
+ var reader = new jspb.BinaryReader(bytes);
86154
+ var msg = new proto.user.RequestEmailVerificationRequest;
86155
+ return proto.user.RequestEmailVerificationRequest.deserializeBinaryFromReader(msg, reader);
86156
+ };
86157
+
86158
+
86159
+ /**
86160
+ * Deserializes binary data (in protobuf wire format) from the
86161
+ * given reader into the given message object.
86162
+ * @param {!proto.user.RequestEmailVerificationRequest} msg The message object to deserialize into.
86163
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
86164
+ * @return {!proto.user.RequestEmailVerificationRequest}
86165
+ */
86166
+ proto.user.RequestEmailVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
86167
+ while (reader.nextField()) {
86168
+ if (reader.isEndGroup()) {
86169
+ break;
86170
+ }
86171
+ var field = reader.getFieldNumber();
86172
+ switch (field) {
86173
+ case 1:
86174
+ var value = /** @type {number} */ (reader.readInt32());
86175
+ msg.setUserId(value);
86176
+ break;
86177
+ default:
86178
+ reader.skipField();
86179
+ break;
86180
+ }
86181
+ }
86182
+ return msg;
86183
+ };
86184
+
86185
+
86186
+ /**
86187
+ * Serializes the message to binary data (in protobuf wire format).
86188
+ * @return {!Uint8Array}
86189
+ */
86190
+ proto.user.RequestEmailVerificationRequest.prototype.serializeBinary = function() {
86191
+ var writer = new jspb.BinaryWriter();
86192
+ proto.user.RequestEmailVerificationRequest.serializeBinaryToWriter(this, writer);
86193
+ return writer.getResultBuffer();
86194
+ };
86195
+
86196
+
86197
+ /**
86198
+ * Serializes the given message to binary data (in protobuf wire
86199
+ * format), writing to the given BinaryWriter.
86200
+ * @param {!proto.user.RequestEmailVerificationRequest} message
86201
+ * @param {!jspb.BinaryWriter} writer
86202
+ * @suppress {unusedLocalVariables} f is only used for nested messages
86203
+ */
86204
+ proto.user.RequestEmailVerificationRequest.serializeBinaryToWriter = function(message, writer) {
86205
+ var f = undefined;
86206
+ f = message.getUserId();
86207
+ if (f !== 0) {
86208
+ writer.writeInt32(
86209
+ 1,
86210
+ f
86211
+ );
86212
+ }
86213
+ };
86214
+
86215
+
86216
+ /**
86217
+ * optional int32 user_id = 1;
86218
+ * @return {number}
86219
+ */
86220
+ proto.user.RequestEmailVerificationRequest.prototype.getUserId = function() {
86221
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
86222
+ };
86223
+
86224
+
86225
+ /**
86226
+ * @param {number} value
86227
+ * @return {!proto.user.RequestEmailVerificationRequest} returns this
86228
+ */
86229
+ proto.user.RequestEmailVerificationRequest.prototype.setUserId = function(value) {
86230
+ return jspb.Message.setProto3IntField(this, 1, value);
86231
+ };
86232
+
86233
+
86234
+
86235
+
86236
+
86085
86237
  if (jspb.Message.GENERATE_TO_OBJECT) {
86086
86238
  /**
86087
86239
  * Creates an object representation of this proto.