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;
|
|
|
|
|
2023-11-02 13:03:39 +00:00
|
|
|
use App\Services\gRPC\GPBMetadata\Pinger;
|
2023-11-01 04:02:17 +00:00
|
|
|
use Google\Protobuf\Internal\GPBUtil;
|
2023-11-02 13:03:39 +00:00
|
|
|
use Google\Protobuf\Internal\Message;
|
2023-11-01 04:02:17 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Generated from protobuf message <code>pinger.PingResponse</code>
|
|
|
|
*/
|
2023-11-02 13:03:39 +00:00
|
|
|
class PingResponse extends Message
|
2023-11-01 04:02:17 +00:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Generated from protobuf field <code>int32 status_code = 1;</code>
|
|
|
|
*/
|
|
|
|
protected $status_code = 0;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Constructor.
|
|
|
|
*
|
|
|
|
* @param array $data {
|
2023-11-02 13:03:39 +00:00
|
|
|
* Optional. Data for populating the Message object.
|
2023-11-01 04:02:17 +00:00
|
|
|
*
|
2023-11-02 13:03:39 +00:00
|
|
|
* @type int $status_code
|
|
|
|
* }
|
2023-11-01 04:02:17 +00:00
|
|
|
*/
|
2023-11-02 13:03:39 +00:00
|
|
|
public function __construct($data = null)
|
|
|
|
{
|
|
|
|
Pinger::initOnce();
|
2023-11-01 04:02:17 +00:00
|
|
|
parent::__construct($data);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Generated from protobuf field <code>int32 status_code = 1;</code>
|
2023-11-02 13:03:39 +00:00
|
|
|
*
|
2023-11-01 04:02:17 +00:00
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getStatusCode()
|
|
|
|
{
|
|
|
|
return $this->status_code;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Generated from protobuf field <code>int32 status_code = 1;</code>
|
2023-11-02 13:03:39 +00:00
|
|
|
*
|
2023-11-01 04:02:17 +00:00
|
|
|
* @param int $var
|
2023-11-02 13:03:39 +00:00
|
|
|
*
|
2023-11-01 04:02:17 +00:00
|
|
|
* @return $this
|
|
|
|
*/
|
|
|
|
public function setStatusCode($var)
|
|
|
|
{
|
|
|
|
GPBUtil::checkInt32($var);
|
|
|
|
$this->status_code = $var;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|