411 lines
11 KiB
PHP
411 lines
11 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: registration.proto
|
|
|
|
namespace Registration\Core;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>registration.core.RegistrationInfo</code>
|
|
*/
|
|
class RegistrationInfo extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string user_name = 1;</code>
|
|
*/
|
|
protected $user_name = '';
|
|
/**
|
|
* Generated from protobuf field <code>string display_key = 2;</code>
|
|
*/
|
|
protected $display_key = '';
|
|
/**
|
|
* Generated from protobuf field <code>string display_name = 3;</code>
|
|
*/
|
|
protected $display_name = '';
|
|
/**
|
|
* Generated from protobuf field <code>int64 expiration_date = 4;</code>
|
|
*/
|
|
protected $expiration_date = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string activation_key = 5;</code>
|
|
*/
|
|
protected $activation_key = '';
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.LicenseType license_type = 6;</code>
|
|
*/
|
|
protected $license_type = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int64 registration_date = 7;</code>
|
|
*/
|
|
protected $registration_date = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.SeatType seat_type = 8;</code>
|
|
*/
|
|
protected $seat_type = 0;
|
|
/**
|
|
* Generated from protobuf field <code>uint32 latest_available_build_number = 9;</code>
|
|
*/
|
|
protected $latest_available_build_number = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string latest_available_version = 10;</code>
|
|
*/
|
|
protected $latest_available_version = '';
|
|
/**
|
|
* Generated from protobuf field <code>bool has_worship_house_media_subscription = 11;</code>
|
|
*/
|
|
protected $has_worship_house_media_subscription = false;
|
|
/**
|
|
* Generated from protobuf field <code>int64 maintenance_expiration_date = 12;</code>
|
|
*/
|
|
protected $maintenance_expiration_date = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int64 non_extended_maintenance_expiration_date = 13;</code>
|
|
*/
|
|
protected $non_extended_maintenance_expiration_date = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool is_auto_renewal_active = 14;</code>
|
|
*/
|
|
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 <code>string user_name = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getUserName()
|
|
{
|
|
return $this->user_name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string user_name = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setUserName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->user_name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string display_key = 2;</code>
|
|
* @return string
|
|
*/
|
|
public function getDisplayKey()
|
|
{
|
|
return $this->display_key;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string display_key = 2;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setDisplayKey($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->display_key = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string display_name = 3;</code>
|
|
* @return string
|
|
*/
|
|
public function getDisplayName()
|
|
{
|
|
return $this->display_name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string display_name = 3;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setDisplayName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->display_name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int64 expiration_date = 4;</code>
|
|
* @return int|string
|
|
*/
|
|
public function getExpirationDate()
|
|
{
|
|
return $this->expiration_date;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int64 expiration_date = 4;</code>
|
|
* @param int|string $var
|
|
* @return $this
|
|
*/
|
|
public function setExpirationDate($var)
|
|
{
|
|
GPBUtil::checkInt64($var);
|
|
$this->expiration_date = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string activation_key = 5;</code>
|
|
* @return string
|
|
*/
|
|
public function getActivationKey()
|
|
{
|
|
return $this->activation_key;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string activation_key = 5;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setActivationKey($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->activation_key = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.LicenseType license_type = 6;</code>
|
|
* @return int
|
|
*/
|
|
public function getLicenseType()
|
|
{
|
|
return $this->license_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.LicenseType license_type = 6;</code>
|
|
* @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 <code>int64 registration_date = 7;</code>
|
|
* @return int|string
|
|
*/
|
|
public function getRegistrationDate()
|
|
{
|
|
return $this->registration_date;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int64 registration_date = 7;</code>
|
|
* @param int|string $var
|
|
* @return $this
|
|
*/
|
|
public function setRegistrationDate($var)
|
|
{
|
|
GPBUtil::checkInt64($var);
|
|
$this->registration_date = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.SeatType seat_type = 8;</code>
|
|
* @return int
|
|
*/
|
|
public function getSeatType()
|
|
{
|
|
return $this->seat_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.SeatType seat_type = 8;</code>
|
|
* @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 <code>uint32 latest_available_build_number = 9;</code>
|
|
* @return int
|
|
*/
|
|
public function getLatestAvailableBuildNumber()
|
|
{
|
|
return $this->latest_available_build_number;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 latest_available_build_number = 9;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setLatestAvailableBuildNumber($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->latest_available_build_number = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string latest_available_version = 10;</code>
|
|
* @return string
|
|
*/
|
|
public function getLatestAvailableVersion()
|
|
{
|
|
return $this->latest_available_version;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string latest_available_version = 10;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setLatestAvailableVersion($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->latest_available_version = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool has_worship_house_media_subscription = 11;</code>
|
|
* @return bool
|
|
*/
|
|
public function getHasWorshipHouseMediaSubscription()
|
|
{
|
|
return $this->has_worship_house_media_subscription;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool has_worship_house_media_subscription = 11;</code>
|
|
* @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 <code>int64 maintenance_expiration_date = 12;</code>
|
|
* @return int|string
|
|
*/
|
|
public function getMaintenanceExpirationDate()
|
|
{
|
|
return $this->maintenance_expiration_date;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int64 maintenance_expiration_date = 12;</code>
|
|
* @param int|string $var
|
|
* @return $this
|
|
*/
|
|
public function setMaintenanceExpirationDate($var)
|
|
{
|
|
GPBUtil::checkInt64($var);
|
|
$this->maintenance_expiration_date = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int64 non_extended_maintenance_expiration_date = 13;</code>
|
|
* @return int|string
|
|
*/
|
|
public function getNonExtendedMaintenanceExpirationDate()
|
|
{
|
|
return $this->non_extended_maintenance_expiration_date;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int64 non_extended_maintenance_expiration_date = 13;</code>
|
|
* @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 <code>bool is_auto_renewal_active = 14;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIsAutoRenewalActive()
|
|
{
|
|
return $this->is_auto_renewal_active;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool is_auto_renewal_active = 14;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIsAutoRenewalActive($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->is_auto_renewal_active = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|