propresenter-php/php/generated/Registration/Core/FeatureFlags.php
2026-03-01 16:12:17 +01:00

87 lines
2 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.FeatureFlags</code>
*/
class FeatureFlags extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>bool use_staging = 1;</code>
*/
protected $use_staging = false;
/**
* Generated from protobuf field <code>bool use_subscription = 2;</code>
*/
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 <code>bool use_staging = 1;</code>
* @return bool
*/
public function getUseStaging()
{
return $this->use_staging;
}
/**
* Generated from protobuf field <code>bool use_staging = 1;</code>
* @param bool $var
* @return $this
*/
public function setUseStaging($var)
{
GPBUtil::checkBool($var);
$this->use_staging = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool use_subscription = 2;</code>
* @return bool
*/
public function getUseSubscription()
{
return $this->use_subscription;
}
/**
* Generated from protobuf field <code>bool use_subscription = 2;</code>
* @param bool $var
* @return $this
*/
public function setUseSubscription($var)
{
GPBUtil::checkBool($var);
$this->use_subscription = $var;
return $this;
}
}