rv.data.NetworkAPI.Action.API_PrerollComplete */ class API_PrerollComplete extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field uint64 id = 1; */ protected $id = 0; /** * Generated from protobuf field bool failed = 2; */ protected $failed = false; /** * Generated from protobuf field uint64 latency = 3; */ protected $latency = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int|string $id * @type bool $failed * @type int|string $latency * } */ public function __construct($data = NULL) { \GPBMetadata\ProApi::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 bool failed = 2; * @return bool */ public function getFailed() { return $this->failed; } /** * Generated from protobuf field bool failed = 2; * @param bool $var * @return $this */ public function setFailed($var) { GPBUtil::checkBool($var); $this->failed = $var; return $this; } /** * Generated from protobuf field uint64 latency = 3; * @return int|string */ public function getLatency() { return $this->latency; } /** * Generated from protobuf field uint64 latency = 3; * @param int|string $var * @return $this */ public function setLatency($var) { GPBUtil::checkUint64($var); $this->latency = $var; return $this; } }