168 lines
3.9 KiB
PHP
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;
|
|
}
|
|
|
|
}
|
|
|