registration.core.FeatureFlags
*/
class FeatureFlags extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field bool use_staging = 1;
*/
protected $use_staging = false;
/**
* Generated from protobuf field bool use_subscription = 2;
*/
protected $use_subscription = false;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type bool $use_staging
* @type bool $use_subscription
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Registration::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field bool use_staging = 1;
* @return bool
*/
public function getUseStaging()
{
return $this->use_staging;
}
/**
* Generated from protobuf field bool use_staging = 1;
* @param bool $var
* @return $this
*/
public function setUseStaging($var)
{
GPBUtil::checkBool($var);
$this->use_staging = $var;
return $this;
}
/**
* Generated from protobuf field bool use_subscription = 2;
* @return bool
*/
public function getUseSubscription()
{
return $this->use_subscription;
}
/**
* Generated from protobuf field bool use_subscription = 2;
* @param bool $var
* @return $this
*/
public function setUseSubscription($var)
{
GPBUtil::checkBool($var);
$this->use_subscription = $var;
return $this;
}
}