common_pack.ReqLogin
*/
class ReqLogin extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string account = 1;
*/
protected $account = '';
/**
* Generated from protobuf field string password = 2;
*/
protected $password = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $account
* @type string $password
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Common::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string account = 1;
* @return string
*/
public function getAccount()
{
return $this->account;
}
/**
* Generated from protobuf field string account = 1;
* @param string $var
* @return $this
*/
public function setAccount($var)
{
GPBUtil::checkString($var, True);
$this->account = $var;
return $this;
}
/**
* Generated from protobuf field string password = 2;
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Generated from protobuf field string password = 2;
* @param string $var
* @return $this
*/
public function setPassword($var)
{
GPBUtil::checkString($var, True);
$this->password = $var;
return $this;
}
}