registration.core.BibleDownloadProgress */ class BibleDownloadProgress extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .registration.core.Status status = 1; */ protected $status = 0; /** * Generated from protobuf field bool complete = 2; */ protected $complete = false; /** * Generated from protobuf field float progress = 3; */ protected $progress = 0.0; /** * Generated from protobuf field string bible_id = 4; */ protected $bible_id = ''; /** * Generated from protobuf field string file_name = 5; */ protected $file_name = ''; /** * Generated from protobuf field string download_link = 6; */ protected $download_link = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $status * @type bool $complete * @type float $progress * @type string $bible_id * @type string $file_name * @type string $download_link * } */ public function __construct($data = NULL) { \GPBMetadata\Registration::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .registration.core.Status status = 1; * @return int */ public function getStatus() { return $this->status; } /** * Generated from protobuf field .registration.core.Status status = 1; * @param int $var * @return $this */ public function setStatus($var) { GPBUtil::checkEnum($var, \Registration\Core\Status::class); $this->status = $var; return $this; } /** * Generated from protobuf field bool complete = 2; * @return bool */ public function getComplete() { return $this->complete; } /** * Generated from protobuf field bool complete = 2; * @param bool $var * @return $this */ public function setComplete($var) { GPBUtil::checkBool($var); $this->complete = $var; return $this; } /** * Generated from protobuf field float progress = 3; * @return float */ public function getProgress() { return $this->progress; } /** * Generated from protobuf field float progress = 3; * @param float $var * @return $this */ public function setProgress($var) { GPBUtil::checkFloat($var); $this->progress = $var; return $this; } /** * Generated from protobuf field string bible_id = 4; * @return string */ public function getBibleId() { return $this->bible_id; } /** * Generated from protobuf field string bible_id = 4; * @param string $var * @return $this */ public function setBibleId($var) { GPBUtil::checkString($var, True); $this->bible_id = $var; return $this; } /** * Generated from protobuf field string file_name = 5; * @return string */ public function getFileName() { return $this->file_name; } /** * Generated from protobuf field string file_name = 5; * @param string $var * @return $this */ public function setFileName($var) { GPBUtil::checkString($var, True); $this->file_name = $var; return $this; } /** * Generated from protobuf field string download_link = 6; * @return string */ public function getDownloadLink() { return $this->download_link; } /** * Generated from protobuf field string download_link = 6; * @param string $var * @return $this */ public function setDownloadLink($var) { GPBUtil::checkString($var, True); $this->download_link = $var; return $this; } }