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