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