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