pinger.PingRequest */ class PingRequest extends Message { /** * Generated from protobuf field string url = 1; */ protected $url = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $url * } */ public function __construct($data = null) { Pinger::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string url = 1; * * @return string */ public function getUrl() { return $this->url; } /** * Generated from protobuf field string url = 1; * * @param string $var * * @return $this */ public function setUrl($var) { GPBUtil::checkString($var, true); $this->url = $var; return $this; } }