user.UserKickResponse
*/
class UserKickResponse extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field int64 code = 1;
*/
protected $code = 0;
/**
* Generated from protobuf field string message = 2;
*/
protected $message = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $code
* @type string $message
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\UserService::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field int64 code = 1;
* @return int|string
*/
public function getCode()
{
return $this->code;
}
/**
* Generated from protobuf field int64 code = 1;
* @param int|string $var
* @return $this
*/
public function setCode($var)
{
GPBUtil::checkInt64($var);
$this->code = $var;
return $this;
}
/**
* Generated from protobuf field string message = 2;
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* Generated from protobuf field string message = 2;
* @param string $var
* @return $this
*/
public function setMessage($var)
{
GPBUtil::checkString($var, True);
$this->message = $var;
return $this;
}
}