rv.data.API_v1_Preroll_Request.ActivatePrerollItem */ class ActivatePrerollItem extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field uint64 id = 1; */ protected $id = 0; /** * Generated from protobuf field uint64 time = 2; */ protected $time = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int|string $id * @type int|string $time * } */ public function __construct($data = NULL) { \GPBMetadata\ProApiV1Preroll::initOnce(); parent::__construct($data); } /** * Generated from protobuf field uint64 id = 1; * @return int|string */ public function getId() { return $this->id; } /** * Generated from protobuf field uint64 id = 1; * @param int|string $var * @return $this */ public function setId($var) { GPBUtil::checkUint64($var); $this->id = $var; return $this; } /** * Generated from protobuf field uint64 time = 2; * @return int|string */ public function getTime() { return $this->time; } /** * Generated from protobuf field uint64 time = 2; * @param int|string $var * @return $this */ public function setTime($var) { GPBUtil::checkUint64($var); $this->time = $var; return $this; } }