propresenter7-php-lib/generated/Rv/Data/Presentation/BibleReference.php
Thorsten Buss 4d10db4f17 Initial public release
PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7
files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes,
and the global library files (Macros, Labels, Groups, ClearGroups, CCLI,
Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar,
KeyMappings, CommunicationDevices).

Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy
(v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/,
binary-format specs, and a synthetic 369-test PHPUnit suite covering
RTF extraction, translation slides, ZIP64 repair, round-trip fidelity,
and end-to-end generation.
2026-05-03 22:21:01 +02:00

269 lines
6.7 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: presentation.proto
namespace Rv\Data\Presentation;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Presentation.BibleReference</code>
*/
class BibleReference extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>uint32 book_index = 1;</code>
*/
protected $book_index = 0;
/**
* Generated from protobuf field <code>string book_name = 2;</code>
*/
protected $book_name = '';
/**
* Generated from protobuf field <code>.rv.data.IntRange chapter_range = 3;</code>
*/
protected $chapter_range = null;
/**
* Generated from protobuf field <code>.rv.data.IntRange verse_range = 4;</code>
*/
protected $verse_range = null;
/**
* Generated from protobuf field <code>string translation_name = 5;</code>
*/
protected $translation_name = '';
/**
* Generated from protobuf field <code>string translation_display_abbreviation = 6;</code>
*/
protected $translation_display_abbreviation = '';
/**
* Generated from protobuf field <code>string translation_internal_abbreviation = 7;</code>
*/
protected $translation_internal_abbreviation = '';
/**
* Generated from protobuf field <code>string book_key = 8;</code>
*/
protected $book_key = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $book_index
* @type string $book_name
* @type \Rv\Data\IntRange $chapter_range
* @type \Rv\Data\IntRange $verse_range
* @type string $translation_name
* @type string $translation_display_abbreviation
* @type string $translation_internal_abbreviation
* @type string $book_key
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Presentation::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>uint32 book_index = 1;</code>
* @return int
*/
public function getBookIndex()
{
return $this->book_index;
}
/**
* Generated from protobuf field <code>uint32 book_index = 1;</code>
* @param int $var
* @return $this
*/
public function setBookIndex($var)
{
GPBUtil::checkUint32($var);
$this->book_index = $var;
return $this;
}
/**
* Generated from protobuf field <code>string book_name = 2;</code>
* @return string
*/
public function getBookName()
{
return $this->book_name;
}
/**
* Generated from protobuf field <code>string book_name = 2;</code>
* @param string $var
* @return $this
*/
public function setBookName($var)
{
GPBUtil::checkString($var, True);
$this->book_name = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.IntRange chapter_range = 3;</code>
* @return \Rv\Data\IntRange|null
*/
public function getChapterRange()
{
return $this->chapter_range;
}
public function hasChapterRange()
{
return isset($this->chapter_range);
}
public function clearChapterRange()
{
unset($this->chapter_range);
}
/**
* Generated from protobuf field <code>.rv.data.IntRange chapter_range = 3;</code>
* @param \Rv\Data\IntRange $var
* @return $this
*/
public function setChapterRange($var)
{
GPBUtil::checkMessage($var, \Rv\Data\IntRange::class);
$this->chapter_range = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.IntRange verse_range = 4;</code>
* @return \Rv\Data\IntRange|null
*/
public function getVerseRange()
{
return $this->verse_range;
}
public function hasVerseRange()
{
return isset($this->verse_range);
}
public function clearVerseRange()
{
unset($this->verse_range);
}
/**
* Generated from protobuf field <code>.rv.data.IntRange verse_range = 4;</code>
* @param \Rv\Data\IntRange $var
* @return $this
*/
public function setVerseRange($var)
{
GPBUtil::checkMessage($var, \Rv\Data\IntRange::class);
$this->verse_range = $var;
return $this;
}
/**
* Generated from protobuf field <code>string translation_name = 5;</code>
* @return string
*/
public function getTranslationName()
{
return $this->translation_name;
}
/**
* Generated from protobuf field <code>string translation_name = 5;</code>
* @param string $var
* @return $this
*/
public function setTranslationName($var)
{
GPBUtil::checkString($var, True);
$this->translation_name = $var;
return $this;
}
/**
* Generated from protobuf field <code>string translation_display_abbreviation = 6;</code>
* @return string
*/
public function getTranslationDisplayAbbreviation()
{
return $this->translation_display_abbreviation;
}
/**
* Generated from protobuf field <code>string translation_display_abbreviation = 6;</code>
* @param string $var
* @return $this
*/
public function setTranslationDisplayAbbreviation($var)
{
GPBUtil::checkString($var, True);
$this->translation_display_abbreviation = $var;
return $this;
}
/**
* Generated from protobuf field <code>string translation_internal_abbreviation = 7;</code>
* @return string
*/
public function getTranslationInternalAbbreviation()
{
return $this->translation_internal_abbreviation;
}
/**
* Generated from protobuf field <code>string translation_internal_abbreviation = 7;</code>
* @param string $var
* @return $this
*/
public function setTranslationInternalAbbreviation($var)
{
GPBUtil::checkString($var, True);
$this->translation_internal_abbreviation = $var;
return $this;
}
/**
* Generated from protobuf field <code>string book_key = 8;</code>
* @return string
*/
public function getBookKey()
{
return $this->book_key;
}
/**
* Generated from protobuf field <code>string book_key = 8;</code>
* @param string $var
* @return $this
*/
public function setBookKey($var)
{
GPBUtil::checkString($var, True);
$this->book_key = $var;
return $this;
}
}