63 lines
1.2 KiB
PHP
63 lines
1.2 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: resources/proto/pinger.proto
|
|
|
|
namespace App\Services\gRPC\Pinger;
|
|
|
|
use App\Services\gRPC\GPBMetadata\Pinger;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
use Google\Protobuf\Internal\Message;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>pinger.PingRequest</code>
|
|
*/
|
|
class PingRequest extends Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string url = 1;</code>
|
|
*/
|
|
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 <code>string url = 1;</code>
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getUrl()
|
|
{
|
|
return $this->url;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string url = 1;</code>
|
|
*
|
|
* @param string $var
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setUrl($var)
|
|
{
|
|
GPBUtil::checkString($var, true);
|
|
$this->url = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|