registration.core.RegistrationInfo */ class RegistrationInfo extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string user_name = 1; */ protected $user_name = ''; /** * Generated from protobuf field string display_key = 2; */ protected $display_key = ''; /** * Generated from protobuf field string display_name = 3; */ protected $display_name = ''; /** * Generated from protobuf field int64 expiration_date = 4; */ protected $expiration_date = 0; /** * Generated from protobuf field string activation_key = 5; */ protected $activation_key = ''; /** * Generated from protobuf field .registration.core.LicenseType license_type = 6; */ protected $license_type = 0; /** * Generated from protobuf field int64 registration_date = 7; */ protected $registration_date = 0; /** * Generated from protobuf field .registration.core.SeatType seat_type = 8; */ protected $seat_type = 0; /** * Generated from protobuf field uint32 latest_available_build_number = 9; */ protected $latest_available_build_number = 0; /** * Generated from protobuf field string latest_available_version = 10; */ protected $latest_available_version = ''; /** * Generated from protobuf field bool has_worship_house_media_subscription = 11; */ protected $has_worship_house_media_subscription = false; /** * Generated from protobuf field int64 maintenance_expiration_date = 12; */ protected $maintenance_expiration_date = 0; /** * Generated from protobuf field int64 non_extended_maintenance_expiration_date = 13; */ protected $non_extended_maintenance_expiration_date = 0; /** * Generated from protobuf field bool is_auto_renewal_active = 14; */ protected $is_auto_renewal_active = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $user_name * @type string $display_key * @type string $display_name * @type int|string $expiration_date * @type string $activation_key * @type int $license_type * @type int|string $registration_date * @type int $seat_type * @type int $latest_available_build_number * @type string $latest_available_version * @type bool $has_worship_house_media_subscription * @type int|string $maintenance_expiration_date * @type int|string $non_extended_maintenance_expiration_date * @type bool $is_auto_renewal_active * } */ public function __construct($data = NULL) { \GPBMetadata\Registration::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string user_name = 1; * @return string */ public function getUserName() { return $this->user_name; } /** * Generated from protobuf field string user_name = 1; * @param string $var * @return $this */ public function setUserName($var) { GPBUtil::checkString($var, True); $this->user_name = $var; return $this; } /** * Generated from protobuf field string display_key = 2; * @return string */ public function getDisplayKey() { return $this->display_key; } /** * Generated from protobuf field string display_key = 2; * @param string $var * @return $this */ public function setDisplayKey($var) { GPBUtil::checkString($var, True); $this->display_key = $var; return $this; } /** * Generated from protobuf field string display_name = 3; * @return string */ public function getDisplayName() { return $this->display_name; } /** * Generated from protobuf field string display_name = 3; * @param string $var * @return $this */ public function setDisplayName($var) { GPBUtil::checkString($var, True); $this->display_name = $var; return $this; } /** * Generated from protobuf field int64 expiration_date = 4; * @return int|string */ public function getExpirationDate() { return $this->expiration_date; } /** * Generated from protobuf field int64 expiration_date = 4; * @param int|string $var * @return $this */ public function setExpirationDate($var) { GPBUtil::checkInt64($var); $this->expiration_date = $var; return $this; } /** * Generated from protobuf field string activation_key = 5; * @return string */ public function getActivationKey() { return $this->activation_key; } /** * Generated from protobuf field string activation_key = 5; * @param string $var * @return $this */ public function setActivationKey($var) { GPBUtil::checkString($var, True); $this->activation_key = $var; return $this; } /** * Generated from protobuf field .registration.core.LicenseType license_type = 6; * @return int */ public function getLicenseType() { return $this->license_type; } /** * Generated from protobuf field .registration.core.LicenseType license_type = 6; * @param int $var * @return $this */ public function setLicenseType($var) { GPBUtil::checkEnum($var, \Registration\Core\LicenseType::class); $this->license_type = $var; return $this; } /** * Generated from protobuf field int64 registration_date = 7; * @return int|string */ public function getRegistrationDate() { return $this->registration_date; } /** * Generated from protobuf field int64 registration_date = 7; * @param int|string $var * @return $this */ public function setRegistrationDate($var) { GPBUtil::checkInt64($var); $this->registration_date = $var; return $this; } /** * Generated from protobuf field .registration.core.SeatType seat_type = 8; * @return int */ public function getSeatType() { return $this->seat_type; } /** * Generated from protobuf field .registration.core.SeatType seat_type = 8; * @param int $var * @return $this */ public function setSeatType($var) { GPBUtil::checkEnum($var, \Registration\Core\SeatType::class); $this->seat_type = $var; return $this; } /** * Generated from protobuf field uint32 latest_available_build_number = 9; * @return int */ public function getLatestAvailableBuildNumber() { return $this->latest_available_build_number; } /** * Generated from protobuf field uint32 latest_available_build_number = 9; * @param int $var * @return $this */ public function setLatestAvailableBuildNumber($var) { GPBUtil::checkUint32($var); $this->latest_available_build_number = $var; return $this; } /** * Generated from protobuf field string latest_available_version = 10; * @return string */ public function getLatestAvailableVersion() { return $this->latest_available_version; } /** * Generated from protobuf field string latest_available_version = 10; * @param string $var * @return $this */ public function setLatestAvailableVersion($var) { GPBUtil::checkString($var, True); $this->latest_available_version = $var; return $this; } /** * Generated from protobuf field bool has_worship_house_media_subscription = 11; * @return bool */ public function getHasWorshipHouseMediaSubscription() { return $this->has_worship_house_media_subscription; } /** * Generated from protobuf field bool has_worship_house_media_subscription = 11; * @param bool $var * @return $this */ public function setHasWorshipHouseMediaSubscription($var) { GPBUtil::checkBool($var); $this->has_worship_house_media_subscription = $var; return $this; } /** * Generated from protobuf field int64 maintenance_expiration_date = 12; * @return int|string */ public function getMaintenanceExpirationDate() { return $this->maintenance_expiration_date; } /** * Generated from protobuf field int64 maintenance_expiration_date = 12; * @param int|string $var * @return $this */ public function setMaintenanceExpirationDate($var) { GPBUtil::checkInt64($var); $this->maintenance_expiration_date = $var; return $this; } /** * Generated from protobuf field int64 non_extended_maintenance_expiration_date = 13; * @return int|string */ public function getNonExtendedMaintenanceExpirationDate() { return $this->non_extended_maintenance_expiration_date; } /** * Generated from protobuf field int64 non_extended_maintenance_expiration_date = 13; * @param int|string $var * @return $this */ public function setNonExtendedMaintenanceExpirationDate($var) { GPBUtil::checkInt64($var); $this->non_extended_maintenance_expiration_date = $var; return $this; } /** * Generated from protobuf field bool is_auto_renewal_active = 14; * @return bool */ public function getIsAutoRenewalActive() { return $this->is_auto_renewal_active; } /** * Generated from protobuf field bool is_auto_renewal_active = 14; * @param bool $var * @return $this */ public function setIsAutoRenewalActive($var) { GPBUtil::checkBool($var); $this->is_auto_renewal_active = $var; return $this; } }