mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-25 21:40:06 +00:00
76 lines
1.9 KiB
PHP
Vendored
76 lines
1.9 KiB
PHP
Vendored
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: gw/gw.proto
|
|
|
|
namespace Chirpstack\Gateway;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>gw.GPSEpochTimingInfo</code>
|
|
*/
|
|
class GPSEpochTimingInfo extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Duration since GPS Epoch.
|
|
*
|
|
* Generated from protobuf field <code>.google.protobuf.Duration time_since_gps_epoch = 1;</code>
|
|
*/
|
|
protected $time_since_gps_epoch = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Google\Protobuf\Duration $time_since_gps_epoch
|
|
* Duration since GPS Epoch.
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Chirpstack\Gateway\Gw::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Duration since GPS Epoch.
|
|
*
|
|
* Generated from protobuf field <code>.google.protobuf.Duration time_since_gps_epoch = 1;</code>
|
|
* @return \Google\Protobuf\Duration|null
|
|
*/
|
|
public function getTimeSinceGpsEpoch()
|
|
{
|
|
return $this->time_since_gps_epoch;
|
|
}
|
|
|
|
public function hasTimeSinceGpsEpoch()
|
|
{
|
|
return isset($this->time_since_gps_epoch);
|
|
}
|
|
|
|
public function clearTimeSinceGpsEpoch()
|
|
{
|
|
unset($this->time_since_gps_epoch);
|
|
}
|
|
|
|
/**
|
|
* Duration since GPS Epoch.
|
|
*
|
|
* Generated from protobuf field <code>.google.protobuf.Duration time_since_gps_epoch = 1;</code>
|
|
* @param \Google\Protobuf\Duration $var
|
|
* @return $this
|
|
*/
|
|
public function setTimeSinceGpsEpoch($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
|
|
$this->time_since_gps_epoch = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|