gw.GPSEpochTimingInfo */ class GPSEpochTimingInfo extends \Google\Protobuf\Internal\Message { /** * Duration since GPS Epoch. * * Generated from protobuf field .google.protobuf.Duration time_since_gps_epoch = 1; */ 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 .google.protobuf.Duration time_since_gps_epoch = 1; * @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 .google.protobuf.Duration time_since_gps_epoch = 1; * @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; } }