- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
262 lines
6.6 KiB
PHP
262 lines
6.6 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.VerificationComplete</code>
|
|
*/
|
|
class VerificationComplete extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.Status result = 1;</code>
|
|
*/
|
|
protected $result = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.LicenseInfo license = 2;</code>
|
|
*/
|
|
protected $license = null;
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.Bibles bibles = 3;</code>
|
|
*/
|
|
protected $bibles = null;
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.TokenMetadata token = 4;</code>
|
|
*/
|
|
protected $token = null;
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.SubscriptionInfo subscription_info = 5;</code>
|
|
*/
|
|
protected $subscription_info = null;
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.PopupAlertMessage alert = 6;</code>
|
|
*/
|
|
protected $alert = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.BannerMessage banner = 7;</code>
|
|
*/
|
|
protected $banner = 0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $result
|
|
* @type \Registration\Core\LicenseInfo $license
|
|
* @type \Registration\Core\Bibles $bibles
|
|
* @type \Registration\Core\TokenMetadata $token
|
|
* @type \Registration\Core\SubscriptionInfo $subscription_info
|
|
* @type int $alert
|
|
* @type int $banner
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Registration::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.Status result = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getResult()
|
|
{
|
|
return $this->result;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.Status result = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setResult($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Registration\Core\Status::class);
|
|
$this->result = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.LicenseInfo license = 2;</code>
|
|
* @return \Registration\Core\LicenseInfo|null
|
|
*/
|
|
public function getLicense()
|
|
{
|
|
return $this->license;
|
|
}
|
|
|
|
public function hasLicense()
|
|
{
|
|
return isset($this->license);
|
|
}
|
|
|
|
public function clearLicense()
|
|
{
|
|
unset($this->license);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.LicenseInfo license = 2;</code>
|
|
* @param \Registration\Core\LicenseInfo $var
|
|
* @return $this
|
|
*/
|
|
public function setLicense($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Registration\Core\LicenseInfo::class);
|
|
$this->license = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.Bibles bibles = 3;</code>
|
|
* @return \Registration\Core\Bibles|null
|
|
*/
|
|
public function getBibles()
|
|
{
|
|
return $this->bibles;
|
|
}
|
|
|
|
public function hasBibles()
|
|
{
|
|
return isset($this->bibles);
|
|
}
|
|
|
|
public function clearBibles()
|
|
{
|
|
unset($this->bibles);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.Bibles bibles = 3;</code>
|
|
* @param \Registration\Core\Bibles $var
|
|
* @return $this
|
|
*/
|
|
public function setBibles($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Registration\Core\Bibles::class);
|
|
$this->bibles = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.TokenMetadata token = 4;</code>
|
|
* @return \Registration\Core\TokenMetadata|null
|
|
*/
|
|
public function getToken()
|
|
{
|
|
return $this->token;
|
|
}
|
|
|
|
public function hasToken()
|
|
{
|
|
return isset($this->token);
|
|
}
|
|
|
|
public function clearToken()
|
|
{
|
|
unset($this->token);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.TokenMetadata token = 4;</code>
|
|
* @param \Registration\Core\TokenMetadata $var
|
|
* @return $this
|
|
*/
|
|
public function setToken($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Registration\Core\TokenMetadata::class);
|
|
$this->token = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.SubscriptionInfo subscription_info = 5;</code>
|
|
* @return \Registration\Core\SubscriptionInfo|null
|
|
*/
|
|
public function getSubscriptionInfo()
|
|
{
|
|
return $this->subscription_info;
|
|
}
|
|
|
|
public function hasSubscriptionInfo()
|
|
{
|
|
return isset($this->subscription_info);
|
|
}
|
|
|
|
public function clearSubscriptionInfo()
|
|
{
|
|
unset($this->subscription_info);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.SubscriptionInfo subscription_info = 5;</code>
|
|
* @param \Registration\Core\SubscriptionInfo $var
|
|
* @return $this
|
|
*/
|
|
public function setSubscriptionInfo($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Registration\Core\SubscriptionInfo::class);
|
|
$this->subscription_info = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.PopupAlertMessage alert = 6;</code>
|
|
* @return int
|
|
*/
|
|
public function getAlert()
|
|
{
|
|
return $this->alert;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.PopupAlertMessage alert = 6;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setAlert($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Registration\Core\PopupAlertMessage::class);
|
|
$this->alert = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.BannerMessage banner = 7;</code>
|
|
* @return int
|
|
*/
|
|
public function getBanner()
|
|
{
|
|
return $this->banner;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.registration.core.BannerMessage banner = 7;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setBanner($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Registration\Core\BannerMessage::class);
|
|
$this->banner = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|