gw.PlainFineTimestamp */ class PlainFineTimestamp extends \Google\Protobuf\Internal\Message { /** * Full timestamp. * * Generated from protobuf field .google.protobuf.Timestamp time = 1; */ protected $time = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Google\Protobuf\Timestamp $time * Full timestamp. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Gateway\Gw::initOnce(); parent::__construct($data); } /** * Full timestamp. * * Generated from protobuf field .google.protobuf.Timestamp time = 1; * @return \Google\Protobuf\Timestamp|null */ public function getTime() { return $this->time; } public function hasTime() { return isset($this->time); } public function clearTime() { unset($this->time); } /** * Full timestamp. * * Generated from protobuf field .google.protobuf.Timestamp time = 1; * @param \Google\Protobuf\Timestamp $var * @return $this */ public function setTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->time = $var; return $this; } }