registration.core.Bible */ class Bible extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string id = 1; */ protected $id = ''; /** * Generated from protobuf field string name = 2; */ protected $name = ''; /** * Generated from protobuf field string language = 3; */ protected $language = ''; /** * Generated from protobuf field string publisher = 4; */ protected $publisher = ''; /** * Generated from protobuf field string copyright = 5; */ protected $copyright = ''; /** * Generated from protobuf field string display_abbreviation = 6; */ protected $display_abbreviation = ''; /** * Generated from protobuf field string internal_abbreviation = 7; */ protected $internal_abbreviation = ''; /** * Generated from protobuf field string version = 8; */ protected $version = ''; protected $additional; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $id * @type string $name * @type string $language * @type string $publisher * @type string $copyright * @type string $display_abbreviation * @type string $internal_abbreviation * @type string $version * @type \Registration\Core\SupplementalInformation $info * } */ public function __construct($data = NULL) { \GPBMetadata\Registration::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string id = 1; * @return string */ public function getId() { return $this->id; } /** * Generated from protobuf field string id = 1; * @param string $var * @return $this */ public function setId($var) { GPBUtil::checkString($var, True); $this->id = $var; return $this; } /** * Generated from protobuf field string name = 2; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 2; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field string language = 3; * @return string */ public function getLanguage() { return $this->language; } /** * Generated from protobuf field string language = 3; * @param string $var * @return $this */ public function setLanguage($var) { GPBUtil::checkString($var, True); $this->language = $var; return $this; } /** * Generated from protobuf field string publisher = 4; * @return string */ public function getPublisher() { return $this->publisher; } /** * Generated from protobuf field string publisher = 4; * @param string $var * @return $this */ public function setPublisher($var) { GPBUtil::checkString($var, True); $this->publisher = $var; return $this; } /** * Generated from protobuf field string copyright = 5; * @return string */ public function getCopyright() { return $this->copyright; } /** * Generated from protobuf field string copyright = 5; * @param string $var * @return $this */ public function setCopyright($var) { GPBUtil::checkString($var, True); $this->copyright = $var; return $this; } /** * Generated from protobuf field string display_abbreviation = 6; * @return string */ public function getDisplayAbbreviation() { return $this->display_abbreviation; } /** * Generated from protobuf field string display_abbreviation = 6; * @param string $var * @return $this */ public function setDisplayAbbreviation($var) { GPBUtil::checkString($var, True); $this->display_abbreviation = $var; return $this; } /** * Generated from protobuf field string internal_abbreviation = 7; * @return string */ public function getInternalAbbreviation() { return $this->internal_abbreviation; } /** * Generated from protobuf field string internal_abbreviation = 7; * @param string $var * @return $this */ public function setInternalAbbreviation($var) { GPBUtil::checkString($var, True); $this->internal_abbreviation = $var; return $this; } /** * Generated from protobuf field string version = 8; * @return string */ public function getVersion() { return $this->version; } /** * Generated from protobuf field string version = 8; * @param string $var * @return $this */ public function setVersion($var) { GPBUtil::checkString($var, True); $this->version = $var; return $this; } /** * Generated from protobuf field .registration.core.SupplementalInformation info = 9; * @return \Registration\Core\SupplementalInformation|null */ public function getInfo() { return $this->readOneof(9); } public function hasInfo() { return $this->hasOneof(9); } /** * Generated from protobuf field .registration.core.SupplementalInformation info = 9; * @param \Registration\Core\SupplementalInformation $var * @return $this */ public function setInfo($var) { GPBUtil::checkMessage($var, \Registration\Core\SupplementalInformation::class); $this->writeOneof(9, $var); return $this; } /** * @return string */ public function getAdditional() { return $this->whichOneof("additional"); } }