registration.core.BuildInformation */ class BuildInformation extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field int32 build_number = 1; */ protected $build_number = 0; /** * Generated from protobuf field string version = 2; */ protected $version = ''; /** * Generated from protobuf field string min_os_version = 3; */ protected $min_os_version = ''; /** * Generated from protobuf field int64 release_date = 4; */ protected $release_date = 0; /** * Generated from protobuf field int64 registration_date = 5; */ protected $registration_date = 0; /** * Generated from protobuf field int64 download_size = 6; */ protected $download_size = 0; /** * Generated from protobuf field string download_url = 7; */ protected $download_url = ''; /** * Generated from protobuf field string channel = 8; */ protected $channel = ''; /** * Generated from protobuf field bool is_beta = 9; */ protected $is_beta = false; /** * Generated from protobuf field bool is_available = 10; */ protected $is_available = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $build_number * @type string $version * @type string $min_os_version * @type int|string $release_date * @type int|string $registration_date * @type int|string $download_size * @type string $download_url * @type string $channel * @type bool $is_beta * @type bool $is_available * } */ public function __construct($data = NULL) { \GPBMetadata\Registration::initOnce(); parent::__construct($data); } /** * Generated from protobuf field int32 build_number = 1; * @return int */ public function getBuildNumber() { return $this->build_number; } /** * Generated from protobuf field int32 build_number = 1; * @param int $var * @return $this */ public function setBuildNumber($var) { GPBUtil::checkInt32($var); $this->build_number = $var; return $this; } /** * Generated from protobuf field string version = 2; * @return string */ public function getVersion() { return $this->version; } /** * Generated from protobuf field string version = 2; * @param string $var * @return $this */ public function setVersion($var) { GPBUtil::checkString($var, True); $this->version = $var; return $this; } /** * Generated from protobuf field string min_os_version = 3; * @return string */ public function getMinOsVersion() { return $this->min_os_version; } /** * Generated from protobuf field string min_os_version = 3; * @param string $var * @return $this */ public function setMinOsVersion($var) { GPBUtil::checkString($var, True); $this->min_os_version = $var; return $this; } /** * Generated from protobuf field int64 release_date = 4; * @return int|string */ public function getReleaseDate() { return $this->release_date; } /** * Generated from protobuf field int64 release_date = 4; * @param int|string $var * @return $this */ public function setReleaseDate($var) { GPBUtil::checkInt64($var); $this->release_date = $var; return $this; } /** * Generated from protobuf field int64 registration_date = 5; * @return int|string */ public function getRegistrationDate() { return $this->registration_date; } /** * Generated from protobuf field int64 registration_date = 5; * @param int|string $var * @return $this */ public function setRegistrationDate($var) { GPBUtil::checkInt64($var); $this->registration_date = $var; return $this; } /** * Generated from protobuf field int64 download_size = 6; * @return int|string */ public function getDownloadSize() { return $this->download_size; } /** * Generated from protobuf field int64 download_size = 6; * @param int|string $var * @return $this */ public function setDownloadSize($var) { GPBUtil::checkInt64($var); $this->download_size = $var; return $this; } /** * Generated from protobuf field string download_url = 7; * @return string */ public function getDownloadUrl() { return $this->download_url; } /** * Generated from protobuf field string download_url = 7; * @param string $var * @return $this */ public function setDownloadUrl($var) { GPBUtil::checkString($var, True); $this->download_url = $var; return $this; } /** * Generated from protobuf field string channel = 8; * @return string */ public function getChannel() { return $this->channel; } /** * Generated from protobuf field string channel = 8; * @param string $var * @return $this */ public function setChannel($var) { GPBUtil::checkString($var, True); $this->channel = $var; return $this; } /** * Generated from protobuf field bool is_beta = 9; * @return bool */ public function getIsBeta() { return $this->is_beta; } /** * Generated from protobuf field bool is_beta = 9; * @param bool $var * @return $this */ public function setIsBeta($var) { GPBUtil::checkBool($var); $this->is_beta = $var; return $this; } /** * Generated from protobuf field bool is_available = 10; * @return bool */ public function getIsAvailable() { return $this->is_available; } /** * Generated from protobuf field bool is_available = 10; * @param bool $var * @return $this */ public function setIsAvailable($var) { GPBUtil::checkBool($var); $this->is_available = $var; return $this; } }