rv.data.API_v1_Preroll_Response.PrerollReady */ class PrerollReady extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field uint64 id = 1; */ protected $id = 0; /** * Generated from protobuf field uint64 latency = 2; */ protected $latency = 0; /** * Generated from protobuf field uint64 time = 3; */ protected $time = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int|string $id * @type int|string $latency * @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 latency = 2; * @return int|string */ public function getLatency() { return $this->latency; } /** * Generated from protobuf field uint64 latency = 2; * @param int|string $var * @return $this */ public function setLatency($var) { GPBUtil::checkUint64($var); $this->latency = $var; return $this; } /** * Generated from protobuf field uint64 time = 3; * @return int|string */ public function getTime() { return $this->time; } /** * Generated from protobuf field uint64 time = 3; * @param int|string $var * @return $this */ public function setTime($var) { GPBUtil::checkUint64($var); $this->time = $var; return $this; } }