common_pack.RequestAddFriendItem
*/
class RequestAddFriendItem extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field int32 id = 1;
*/
protected $id = 0;
/**
*请求id
*
* Generated from protobuf field string RequestID = 2;
*/
protected $RequestID = '';
/**
* Generated from protobuf field string FromUserID = 3;
*/
protected $FromUserID = '';
/**
* Generated from protobuf field string ToUserID = 4;
*/
protected $ToUserID = '';
/**
*状态
*
* Generated from protobuf field int32 Status = 5;
*/
protected $Status = 0;
/**
* Generated from protobuf field string Message = 6;
*/
protected $Message = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $id
* @type string $RequestID
* 请求id
* @type string $FromUserID
* @type string $ToUserID
* @type int $Status
* 状态
* @type string $Message
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Common::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field int32 id = 1;
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Generated from protobuf field int32 id = 1;
* @param int $var
* @return $this
*/
public function setId($var)
{
GPBUtil::checkInt32($var);
$this->id = $var;
return $this;
}
/**
*请求id
*
* Generated from protobuf field string RequestID = 2;
* @return string
*/
public function getRequestID()
{
return $this->RequestID;
}
/**
*请求id
*
* Generated from protobuf field string RequestID = 2;
* @param string $var
* @return $this
*/
public function setRequestID($var)
{
GPBUtil::checkString($var, True);
$this->RequestID = $var;
return $this;
}
/**
* Generated from protobuf field string FromUserID = 3;
* @return string
*/
public function getFromUserID()
{
return $this->FromUserID;
}
/**
* Generated from protobuf field string FromUserID = 3;
* @param string $var
* @return $this
*/
public function setFromUserID($var)
{
GPBUtil::checkString($var, True);
$this->FromUserID = $var;
return $this;
}
/**
* Generated from protobuf field string ToUserID = 4;
* @return string
*/
public function getToUserID()
{
return $this->ToUserID;
}
/**
* Generated from protobuf field string ToUserID = 4;
* @param string $var
* @return $this
*/
public function setToUserID($var)
{
GPBUtil::checkString($var, True);
$this->ToUserID = $var;
return $this;
}
/**
*状态
*
* Generated from protobuf field int32 Status = 5;
* @return int
*/
public function getStatus()
{
return $this->Status;
}
/**
*状态
*
* Generated from protobuf field int32 Status = 5;
* @param int $var
* @return $this
*/
public function setStatus($var)
{
GPBUtil::checkInt32($var);
$this->Status = $var;
return $this;
}
/**
* Generated from protobuf field string Message = 6;
* @return string
*/
public function getMessage()
{
return $this->Message;
}
/**
* Generated from protobuf field string Message = 6;
* @param string $var
* @return $this
*/
public function setMessage($var)
{
GPBUtil::checkString($var, True);
$this->Message = $var;
return $this;
}
}