model.messages.gradido.TimestampSeconds */ class TimestampSeconds extends \Google\Protobuf\Internal\Message { /** * Number of complete seconds since the start of the epoch * * Generated from protobuf field int64 seconds = 1; */ private $seconds = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int|string $seconds * Number of complete seconds since the start of the epoch * } */ public function __construct($data = NULL) { \GPBMetadata\BasicTypes::initOnce(); parent::__construct($data); } /** * Number of complete seconds since the start of the epoch * * Generated from protobuf field int64 seconds = 1; * @return int|string */ public function getSeconds() { return $this->seconds; } /** * Number of complete seconds since the start of the epoch * * Generated from protobuf field int64 seconds = 1; * @param int|string $var * @return $this */ public function setSeconds($var) { GPBUtil::checkInt64($var); $this->seconds = $var; return $this; } }