- 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
303 lines
7.9 KiB
PHP
303 lines
7.9 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsStartup.proto
|
|
|
|
namespace Rv\Analytics\Startup;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.Startup.Preferences</code>
|
|
*/
|
|
class Preferences extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>bool house_of_worship = 1;</code>
|
|
*/
|
|
protected $house_of_worship = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool has_custom_logo = 2;</code>
|
|
*/
|
|
protected $has_custom_logo = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool copyright_enabled = 3;</code>
|
|
*/
|
|
protected $copyright_enabled = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Startup.Preferences.CopyrightStyle copyright_style = 4;</code>
|
|
*/
|
|
protected $copyright_style = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool copyright_has_license = 5;</code>
|
|
*/
|
|
protected $copyright_has_license = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Startup.Preferences.RenderMode render_mode = 6;</code>
|
|
*/
|
|
protected $render_mode = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_auto_start = 7;</code>
|
|
*/
|
|
protected $suppress_auto_start = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool manage_media_automatically = 8;</code>
|
|
*/
|
|
protected $manage_media_automatically = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool search_paths_relink = 9;</code>
|
|
*/
|
|
protected $search_paths_relink = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Startup.Preferences.UpdateChannel update_channel = 10;</code>
|
|
*/
|
|
protected $update_channel = 0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type bool $house_of_worship
|
|
* @type bool $has_custom_logo
|
|
* @type bool $copyright_enabled
|
|
* @type int $copyright_style
|
|
* @type bool $copyright_has_license
|
|
* @type int $render_mode
|
|
* @type bool $suppress_auto_start
|
|
* @type bool $manage_media_automatically
|
|
* @type bool $search_paths_relink
|
|
* @type int $update_channel
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsStartup::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool house_of_worship = 1;</code>
|
|
* @return bool
|
|
*/
|
|
public function getHouseOfWorship()
|
|
{
|
|
return $this->house_of_worship;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool house_of_worship = 1;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setHouseOfWorship($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->house_of_worship = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool has_custom_logo = 2;</code>
|
|
* @return bool
|
|
*/
|
|
public function getHasCustomLogo()
|
|
{
|
|
return $this->has_custom_logo;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool has_custom_logo = 2;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setHasCustomLogo($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->has_custom_logo = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool copyright_enabled = 3;</code>
|
|
* @return bool
|
|
*/
|
|
public function getCopyrightEnabled()
|
|
{
|
|
return $this->copyright_enabled;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool copyright_enabled = 3;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setCopyrightEnabled($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->copyright_enabled = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Startup.Preferences.CopyrightStyle copyright_style = 4;</code>
|
|
* @return int
|
|
*/
|
|
public function getCopyrightStyle()
|
|
{
|
|
return $this->copyright_style;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Startup.Preferences.CopyrightStyle copyright_style = 4;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCopyrightStyle($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Preferences\CopyrightStyle::class);
|
|
$this->copyright_style = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool copyright_has_license = 5;</code>
|
|
* @return bool
|
|
*/
|
|
public function getCopyrightHasLicense()
|
|
{
|
|
return $this->copyright_has_license;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool copyright_has_license = 5;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setCopyrightHasLicense($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->copyright_has_license = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Startup.Preferences.RenderMode render_mode = 6;</code>
|
|
* @return int
|
|
*/
|
|
public function getRenderMode()
|
|
{
|
|
return $this->render_mode;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Startup.Preferences.RenderMode render_mode = 6;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setRenderMode($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Preferences\RenderMode::class);
|
|
$this->render_mode = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_auto_start = 7;</code>
|
|
* @return bool
|
|
*/
|
|
public function getSuppressAutoStart()
|
|
{
|
|
return $this->suppress_auto_start;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_auto_start = 7;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setSuppressAutoStart($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->suppress_auto_start = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool manage_media_automatically = 8;</code>
|
|
* @return bool
|
|
*/
|
|
public function getManageMediaAutomatically()
|
|
{
|
|
return $this->manage_media_automatically;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool manage_media_automatically = 8;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setManageMediaAutomatically($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->manage_media_automatically = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool search_paths_relink = 9;</code>
|
|
* @return bool
|
|
*/
|
|
public function getSearchPathsRelink()
|
|
{
|
|
return $this->search_paths_relink;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool search_paths_relink = 9;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setSearchPathsRelink($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->search_paths_relink = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Startup.Preferences.UpdateChannel update_channel = 10;</code>
|
|
* @return int
|
|
*/
|
|
public function getUpdateChannel()
|
|
{
|
|
return $this->update_channel;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Startup.Preferences.UpdateChannel update_channel = 10;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setUpdateChannel($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Preferences\UpdateChannel::class);
|
|
$this->update_channel = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|