propresenter-php/generated/Rv/Data/Preferences/General.php
Thorsten Bus 22ba4aff7d refactor: make repo Composer-compatible by moving php/ to root and ref/ to doc/reference_samples
- 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
2026-03-30 13:26:29 +02:00

168 lines
3.9 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: preferences.proto
namespace Rv\Data\Preferences;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Preferences.General</code>
*/
class General extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>bool house_of_worship_integrations = 1;</code>
*/
protected $house_of_worship_integrations = false;
/**
* Generated from protobuf field <code>bool crash_reports = 2;</code>
*/
protected $crash_reports = false;
/**
* Generated from protobuf field <code>bool analytics = 3;</code>
*/
protected $analytics = false;
/**
* Generated from protobuf field <code>string logo_path = 4;</code>
*/
protected $logo_path = '';
/**
* Generated from protobuf field <code>string language = 5;</code>
*/
protected $language = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type bool $house_of_worship_integrations
* @type bool $crash_reports
* @type bool $analytics
* @type string $logo_path
* @type string $language
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Preferences::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>bool house_of_worship_integrations = 1;</code>
* @return bool
*/
public function getHouseOfWorshipIntegrations()
{
return $this->house_of_worship_integrations;
}
/**
* Generated from protobuf field <code>bool house_of_worship_integrations = 1;</code>
* @param bool $var
* @return $this
*/
public function setHouseOfWorshipIntegrations($var)
{
GPBUtil::checkBool($var);
$this->house_of_worship_integrations = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool crash_reports = 2;</code>
* @return bool
*/
public function getCrashReports()
{
return $this->crash_reports;
}
/**
* Generated from protobuf field <code>bool crash_reports = 2;</code>
* @param bool $var
* @return $this
*/
public function setCrashReports($var)
{
GPBUtil::checkBool($var);
$this->crash_reports = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool analytics = 3;</code>
* @return bool
*/
public function getAnalytics()
{
return $this->analytics;
}
/**
* Generated from protobuf field <code>bool analytics = 3;</code>
* @param bool $var
* @return $this
*/
public function setAnalytics($var)
{
GPBUtil::checkBool($var);
$this->analytics = $var;
return $this;
}
/**
* Generated from protobuf field <code>string logo_path = 4;</code>
* @return string
*/
public function getLogoPath()
{
return $this->logo_path;
}
/**
* Generated from protobuf field <code>string logo_path = 4;</code>
* @param string $var
* @return $this
*/
public function setLogoPath($var)
{
GPBUtil::checkString($var, True);
$this->logo_path = $var;
return $this;
}
/**
* Generated from protobuf field <code>string language = 5;</code>
* @return string
*/
public function getLanguage()
{
return $this->language;
}
/**
* Generated from protobuf field <code>string language = 5;</code>
* @param string $var
* @return $this
*/
public function setLanguage($var)
{
GPBUtil::checkString($var, True);
$this->language = $var;
return $this;
}
}