- 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
276 lines
7.3 KiB
PHP
276 lines
7.3 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsUI.proto
|
|
|
|
namespace Rv\Analytics\UI\MainView\Bible;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.UI.MainView.Bible.GenerateSlides</code>
|
|
*/
|
|
class GenerateSlides extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>int32 translation_count = 1;</code>
|
|
*/
|
|
protected $translation_count = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 slide_count = 2;</code>
|
|
*/
|
|
protected $slide_count = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateSlides.TextBoxLocation verse_location = 3;</code>
|
|
*/
|
|
protected $verse_location = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateSlides.TextBoxLocation reference_location = 4;</code>
|
|
*/
|
|
protected $reference_location = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool show_verse_numbers = 5;</code>
|
|
*/
|
|
protected $show_verse_numbers = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool break_new_verse = 6;</code>
|
|
*/
|
|
protected $break_new_verse = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool display_translation = 7;</code>
|
|
*/
|
|
protected $display_translation = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool preserve_font_color = 8;</code>
|
|
*/
|
|
protected $preserve_font_color = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateSlides.ReferenceType reference_style = 9;</code>
|
|
*/
|
|
protected $reference_style = 0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $translation_count
|
|
* @type int $slide_count
|
|
* @type int $verse_location
|
|
* @type int $reference_location
|
|
* @type bool $show_verse_numbers
|
|
* @type bool $break_new_verse
|
|
* @type bool $display_translation
|
|
* @type bool $preserve_font_color
|
|
* @type int $reference_style
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsUI::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 translation_count = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getTranslationCount()
|
|
{
|
|
return $this->translation_count;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 translation_count = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setTranslationCount($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->translation_count = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 slide_count = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getSlideCount()
|
|
{
|
|
return $this->slide_count;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 slide_count = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setSlideCount($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->slide_count = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateSlides.TextBoxLocation verse_location = 3;</code>
|
|
* @return int
|
|
*/
|
|
public function getVerseLocation()
|
|
{
|
|
return $this->verse_location;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateSlides.TextBoxLocation verse_location = 3;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setVerseLocation($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\UI\MainView\Bible\GenerateSlides\TextBoxLocation::class);
|
|
$this->verse_location = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateSlides.TextBoxLocation reference_location = 4;</code>
|
|
* @return int
|
|
*/
|
|
public function getReferenceLocation()
|
|
{
|
|
return $this->reference_location;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateSlides.TextBoxLocation reference_location = 4;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setReferenceLocation($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\UI\MainView\Bible\GenerateSlides\TextBoxLocation::class);
|
|
$this->reference_location = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool show_verse_numbers = 5;</code>
|
|
* @return bool
|
|
*/
|
|
public function getShowVerseNumbers()
|
|
{
|
|
return $this->show_verse_numbers;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool show_verse_numbers = 5;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setShowVerseNumbers($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->show_verse_numbers = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool break_new_verse = 6;</code>
|
|
* @return bool
|
|
*/
|
|
public function getBreakNewVerse()
|
|
{
|
|
return $this->break_new_verse;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool break_new_verse = 6;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setBreakNewVerse($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->break_new_verse = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool display_translation = 7;</code>
|
|
* @return bool
|
|
*/
|
|
public function getDisplayTranslation()
|
|
{
|
|
return $this->display_translation;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool display_translation = 7;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setDisplayTranslation($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->display_translation = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool preserve_font_color = 8;</code>
|
|
* @return bool
|
|
*/
|
|
public function getPreserveFontColor()
|
|
{
|
|
return $this->preserve_font_color;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool preserve_font_color = 8;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setPreserveFontColor($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->preserve_font_color = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateSlides.ReferenceType reference_style = 9;</code>
|
|
* @return int
|
|
*/
|
|
public function getReferenceStyle()
|
|
{
|
|
return $this->reference_style;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateSlides.ReferenceType reference_style = 9;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setReferenceStyle($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\UI\MainView\Bible\GenerateSlides\ReferenceType::class);
|
|
$this->reference_style = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|