laravel-template/app/Services/gRPC/Pinger/PingRequest.php

59 lines
1.2 KiB
PHP
Raw Normal View History

2023-11-01 04:02:17 +00:00
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: resources/proto/pinger.proto
namespace App\Services\gRPC\Pinger;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>pinger.PingRequest</code>
*/
class PingRequest extends \Google\Protobuf\Internal\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) {
\App\Services\gRPC\GPBMetadata\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;
}
}