631 lines
17 KiB
JavaScript
631 lines
17 KiB
JavaScript
|
/**
|
||
|
* @fileoverview
|
||
|
* @enhanceable
|
||
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||
|
* field starts with 'MSG_' and isn't a translatable message.
|
||
|
* @public
|
||
|
*/
|
||
|
// GENERATED CODE -- DO NOT EDIT!
|
||
|
|
||
|
var jspb = require('google-protobuf');
|
||
|
var goog = jspb;
|
||
|
var global = Function('return this')();
|
||
|
|
||
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
||
|
goog.exportSymbol('proto.loafle.cms.proto.user.User', null, global);
|
||
|
/**
|
||
|
* Generated by JsPbCodeGenerator.
|
||
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
||
|
* server response, or constructed directly in Javascript. The array is used
|
||
|
* in place and becomes part of the constructed object. It is not cloned.
|
||
|
* If no data is provided, the constructed object will be empty, but still
|
||
|
* valid.
|
||
|
* @extends {jspb.Message}
|
||
|
* @constructor
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User = function(opt_data) {
|
||
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||
|
};
|
||
|
goog.inherits(proto.loafle.cms.proto.user.User, jspb.Message);
|
||
|
if (goog.DEBUG && !COMPILED) {
|
||
|
/**
|
||
|
* @public
|
||
|
* @override
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.displayName = 'proto.loafle.cms.proto.user.User';
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||
|
/**
|
||
|
* Creates an object representation of this proto.
|
||
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||
|
* Optional fields that are not set will be set to undefined.
|
||
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||
|
* For the list of reserved names please see:
|
||
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||
|
* JSPB instance for transitional soy proto support:
|
||
|
* http://goto/soy-param-migration
|
||
|
* @return {!Object}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.toObject = function(opt_includeInstance) {
|
||
|
return proto.loafle.cms.proto.user.User.toObject(opt_includeInstance, this);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Static version of the {@see toObject} method.
|
||
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||
|
* the JSPB instance for transitional soy proto support:
|
||
|
* http://goto/soy-param-migration
|
||
|
* @param {!proto.loafle.cms.proto.user.User} msg The msg instance to transform.
|
||
|
* @return {!Object}
|
||
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.toObject = function(includeInstance, msg) {
|
||
|
var f, obj = {
|
||
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
||
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||
|
username: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||
|
email: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||
|
password: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||
|
block: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
||
|
sendemail: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
||
|
registerdate: (f = msg.getRegisterdate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
||
|
lastvisitdate: (f = msg.getLastvisitdate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
||
|
activation: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
||
|
params: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
||
|
lastresettime: (f = msg.getLastresettime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
||
|
resetcount: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
||
|
otpkey: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
||
|
otep: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
||
|
requirereset: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
|
||
|
};
|
||
|
|
||
|
if (includeInstance) {
|
||
|
obj.$jspbMessageInstance = msg;
|
||
|
}
|
||
|
return obj;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Deserializes binary data (in protobuf wire format).
|
||
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||
|
* @return {!proto.loafle.cms.proto.user.User}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.deserializeBinary = function(bytes) {
|
||
|
var reader = new jspb.BinaryReader(bytes);
|
||
|
var msg = new proto.loafle.cms.proto.user.User;
|
||
|
return proto.loafle.cms.proto.user.User.deserializeBinaryFromReader(msg, reader);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Deserializes binary data (in protobuf wire format) from the
|
||
|
* given reader into the given message object.
|
||
|
* @param {!proto.loafle.cms.proto.user.User} msg The message object to deserialize into.
|
||
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||
|
* @return {!proto.loafle.cms.proto.user.User}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.deserializeBinaryFromReader = function(msg, reader) {
|
||
|
while (reader.nextField()) {
|
||
|
if (reader.isEndGroup()) {
|
||
|
break;
|
||
|
}
|
||
|
var field = reader.getFieldNumber();
|
||
|
switch (field) {
|
||
|
case 1:
|
||
|
var value = /** @type {number} */ (reader.readInt64());
|
||
|
msg.setId(value);
|
||
|
break;
|
||
|
case 2:
|
||
|
var value = /** @type {string} */ (reader.readString());
|
||
|
msg.setName(value);
|
||
|
break;
|
||
|
case 3:
|
||
|
var value = /** @type {string} */ (reader.readString());
|
||
|
msg.setUsername(value);
|
||
|
break;
|
||
|
case 4:
|
||
|
var value = /** @type {string} */ (reader.readString());
|
||
|
msg.setEmail(value);
|
||
|
break;
|
||
|
case 5:
|
||
|
var value = /** @type {string} */ (reader.readString());
|
||
|
msg.setPassword(value);
|
||
|
break;
|
||
|
case 6:
|
||
|
var value = /** @type {boolean} */ (reader.readBool());
|
||
|
msg.setBlock(value);
|
||
|
break;
|
||
|
case 7:
|
||
|
var value = /** @type {boolean} */ (reader.readBool());
|
||
|
msg.setSendemail(value);
|
||
|
break;
|
||
|
case 8:
|
||
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
||
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
||
|
msg.setRegisterdate(value);
|
||
|
break;
|
||
|
case 9:
|
||
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
||
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
||
|
msg.setLastvisitdate(value);
|
||
|
break;
|
||
|
case 10:
|
||
|
var value = /** @type {string} */ (reader.readString());
|
||
|
msg.setActivation(value);
|
||
|
break;
|
||
|
case 11:
|
||
|
var value = /** @type {string} */ (reader.readString());
|
||
|
msg.setParams(value);
|
||
|
break;
|
||
|
case 12:
|
||
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
||
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
||
|
msg.setLastresettime(value);
|
||
|
break;
|
||
|
case 13:
|
||
|
var value = /** @type {number} */ (reader.readInt64());
|
||
|
msg.setResetcount(value);
|
||
|
break;
|
||
|
case 14:
|
||
|
var value = /** @type {string} */ (reader.readString());
|
||
|
msg.setOtpkey(value);
|
||
|
break;
|
||
|
case 15:
|
||
|
var value = /** @type {string} */ (reader.readString());
|
||
|
msg.setOtep(value);
|
||
|
break;
|
||
|
case 16:
|
||
|
var value = /** @type {boolean} */ (reader.readBool());
|
||
|
msg.setRequirereset(value);
|
||
|
break;
|
||
|
default:
|
||
|
reader.skipField();
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
return msg;
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Serializes the message to binary data (in protobuf wire format).
|
||
|
* @return {!Uint8Array}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.serializeBinary = function() {
|
||
|
var writer = new jspb.BinaryWriter();
|
||
|
proto.loafle.cms.proto.user.User.serializeBinaryToWriter(this, writer);
|
||
|
return writer.getResultBuffer();
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Serializes the given message to binary data (in protobuf wire
|
||
|
* format), writing to the given BinaryWriter.
|
||
|
* @param {!proto.loafle.cms.proto.user.User} message
|
||
|
* @param {!jspb.BinaryWriter} writer
|
||
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.serializeBinaryToWriter = function(message, writer) {
|
||
|
var f = undefined;
|
||
|
f = message.getId();
|
||
|
if (f !== 0) {
|
||
|
writer.writeInt64(
|
||
|
1,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getName();
|
||
|
if (f.length > 0) {
|
||
|
writer.writeString(
|
||
|
2,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getUsername();
|
||
|
if (f.length > 0) {
|
||
|
writer.writeString(
|
||
|
3,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getEmail();
|
||
|
if (f.length > 0) {
|
||
|
writer.writeString(
|
||
|
4,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getPassword();
|
||
|
if (f.length > 0) {
|
||
|
writer.writeString(
|
||
|
5,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getBlock();
|
||
|
if (f) {
|
||
|
writer.writeBool(
|
||
|
6,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getSendemail();
|
||
|
if (f) {
|
||
|
writer.writeBool(
|
||
|
7,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getRegisterdate();
|
||
|
if (f != null) {
|
||
|
writer.writeMessage(
|
||
|
8,
|
||
|
f,
|
||
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
||
|
);
|
||
|
}
|
||
|
f = message.getLastvisitdate();
|
||
|
if (f != null) {
|
||
|
writer.writeMessage(
|
||
|
9,
|
||
|
f,
|
||
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
||
|
);
|
||
|
}
|
||
|
f = message.getActivation();
|
||
|
if (f.length > 0) {
|
||
|
writer.writeString(
|
||
|
10,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getParams();
|
||
|
if (f.length > 0) {
|
||
|
writer.writeString(
|
||
|
11,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getLastresettime();
|
||
|
if (f != null) {
|
||
|
writer.writeMessage(
|
||
|
12,
|
||
|
f,
|
||
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
||
|
);
|
||
|
}
|
||
|
f = message.getResetcount();
|
||
|
if (f !== 0) {
|
||
|
writer.writeInt64(
|
||
|
13,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getOtpkey();
|
||
|
if (f.length > 0) {
|
||
|
writer.writeString(
|
||
|
14,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getOtep();
|
||
|
if (f.length > 0) {
|
||
|
writer.writeString(
|
||
|
15,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
f = message.getRequirereset();
|
||
|
if (f) {
|
||
|
writer.writeBool(
|
||
|
16,
|
||
|
f
|
||
|
);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional int64 id = 1;
|
||
|
* @return {number}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getId = function() {
|
||
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {number} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setId = function(value) {
|
||
|
jspb.Message.setProto3IntField(this, 1, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional string name = 2;
|
||
|
* @return {string}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getName = function() {
|
||
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {string} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setName = function(value) {
|
||
|
jspb.Message.setProto3StringField(this, 2, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional string username = 3;
|
||
|
* @return {string}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getUsername = function() {
|
||
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {string} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setUsername = function(value) {
|
||
|
jspb.Message.setProto3StringField(this, 3, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional string email = 4;
|
||
|
* @return {string}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getEmail = function() {
|
||
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {string} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setEmail = function(value) {
|
||
|
jspb.Message.setProto3StringField(this, 4, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional string password = 5;
|
||
|
* @return {string}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getPassword = function() {
|
||
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {string} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setPassword = function(value) {
|
||
|
jspb.Message.setProto3StringField(this, 5, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional bool block = 6;
|
||
|
* @return {boolean}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getBlock = function() {
|
||
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {boolean} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setBlock = function(value) {
|
||
|
jspb.Message.setProto3BooleanField(this, 6, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional bool sendEmail = 7;
|
||
|
* @return {boolean}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getSendemail = function() {
|
||
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {boolean} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setSendemail = function(value) {
|
||
|
jspb.Message.setProto3BooleanField(this, 7, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional google.protobuf.Timestamp registerDate = 8;
|
||
|
* @return {?proto.google.protobuf.Timestamp}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getRegisterdate = function() {
|
||
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
||
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {?proto.google.protobuf.Timestamp|undefined} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setRegisterdate = function(value) {
|
||
|
jspb.Message.setWrapperField(this, 8, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Clears the message field making it undefined.
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.clearRegisterdate = function() {
|
||
|
this.setRegisterdate(undefined);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Returns whether this field is set.
|
||
|
* @return {boolean}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.hasRegisterdate = function() {
|
||
|
return jspb.Message.getField(this, 8) != null;
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional google.protobuf.Timestamp lastvisitDate = 9;
|
||
|
* @return {?proto.google.protobuf.Timestamp}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getLastvisitdate = function() {
|
||
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
||
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {?proto.google.protobuf.Timestamp|undefined} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setLastvisitdate = function(value) {
|
||
|
jspb.Message.setWrapperField(this, 9, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Clears the message field making it undefined.
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.clearLastvisitdate = function() {
|
||
|
this.setLastvisitdate(undefined);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Returns whether this field is set.
|
||
|
* @return {boolean}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.hasLastvisitdate = function() {
|
||
|
return jspb.Message.getField(this, 9) != null;
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional string activation = 10;
|
||
|
* @return {string}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getActivation = function() {
|
||
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {string} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setActivation = function(value) {
|
||
|
jspb.Message.setProto3StringField(this, 10, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional string params = 11;
|
||
|
* @return {string}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getParams = function() {
|
||
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {string} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setParams = function(value) {
|
||
|
jspb.Message.setProto3StringField(this, 11, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional google.protobuf.Timestamp lastResetTime = 12;
|
||
|
* @return {?proto.google.protobuf.Timestamp}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getLastresettime = function() {
|
||
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
||
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {?proto.google.protobuf.Timestamp|undefined} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setLastresettime = function(value) {
|
||
|
jspb.Message.setWrapperField(this, 12, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Clears the message field making it undefined.
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.clearLastresettime = function() {
|
||
|
this.setLastresettime(undefined);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Returns whether this field is set.
|
||
|
* @return {boolean}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.hasLastresettime = function() {
|
||
|
return jspb.Message.getField(this, 12) != null;
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional int64 resetCount = 13;
|
||
|
* @return {number}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getResetcount = function() {
|
||
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {number} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setResetcount = function(value) {
|
||
|
jspb.Message.setProto3IntField(this, 13, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional string otpKey = 14;
|
||
|
* @return {string}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getOtpkey = function() {
|
||
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {string} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setOtpkey = function(value) {
|
||
|
jspb.Message.setProto3StringField(this, 14, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional string otep = 15;
|
||
|
* @return {string}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getOtep = function() {
|
||
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {string} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setOtep = function(value) {
|
||
|
jspb.Message.setProto3StringField(this, 15, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
/**
|
||
|
* optional bool requireReset = 16;
|
||
|
* @return {boolean}
|
||
|
*/
|
||
|
proto.loafle.cms.proto.user.User.prototype.getRequirereset = function() {
|
||
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
|
||
|
};
|
||
|
|
||
|
|
||
|
/** @param {boolean} value */
|
||
|
proto.loafle.cms.proto.user.User.prototype.setRequirereset = function(value) {
|
||
|
jspb.Message.setProto3BooleanField(this, 16, value);
|
||
|
};
|
||
|
|
||
|
|
||
|
goog.object.extend(exports, proto.loafle.cms.proto.user);
|