propresenter-php/php/generated/Rv/Data/PlanningCenterPlan/PlanItem/SongItem.php
2026-03-01 16:12:17 +01:00

215 lines
5.3 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: planningCenter.proto
namespace Rv\Data\PlanningCenterPlan\PlanItem;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.PlanningCenterPlan.PlanItem.SongItem</code>
*/
class SongItem extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>uint32 pco_id_num = 1;</code>
*/
protected $pco_id_num = 0;
/**
* Generated from protobuf field <code>uint32 arrangement_id_num = 2;</code>
*/
protected $arrangement_id_num = 0;
/**
* Generated from protobuf field <code>.rv.data.Presentation.CCLI ccli = 3;</code>
*/
protected $ccli = null;
/**
* Generated from protobuf field <code>.rv.data.PlanningCenterPlan.PlanItem.SongItem.Sequence sequence = 4;</code>
*/
protected $sequence = null;
/**
* Generated from protobuf field <code>string pco_id_str = 5;</code>
*/
protected $pco_id_str = '';
/**
* Generated from protobuf field <code>string arrangement_id_str = 6;</code>
*/
protected $arrangement_id_str = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $pco_id_num
* @type int $arrangement_id_num
* @type \Rv\Data\Presentation\CCLI $ccli
* @type \Rv\Data\PlanningCenterPlan\PlanItem\SongItem\Sequence $sequence
* @type string $pco_id_str
* @type string $arrangement_id_str
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\PlanningCenter::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>uint32 pco_id_num = 1;</code>
* @return int
*/
public function getPcoIdNum()
{
return $this->pco_id_num;
}
/**
* Generated from protobuf field <code>uint32 pco_id_num = 1;</code>
* @param int $var
* @return $this
*/
public function setPcoIdNum($var)
{
GPBUtil::checkUint32($var);
$this->pco_id_num = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint32 arrangement_id_num = 2;</code>
* @return int
*/
public function getArrangementIdNum()
{
return $this->arrangement_id_num;
}
/**
* Generated from protobuf field <code>uint32 arrangement_id_num = 2;</code>
* @param int $var
* @return $this
*/
public function setArrangementIdNum($var)
{
GPBUtil::checkUint32($var);
$this->arrangement_id_num = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Presentation.CCLI ccli = 3;</code>
* @return \Rv\Data\Presentation\CCLI|null
*/
public function getCcli()
{
return $this->ccli;
}
public function hasCcli()
{
return isset($this->ccli);
}
public function clearCcli()
{
unset($this->ccli);
}
/**
* Generated from protobuf field <code>.rv.data.Presentation.CCLI ccli = 3;</code>
* @param \Rv\Data\Presentation\CCLI $var
* @return $this
*/
public function setCcli($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Presentation\CCLI::class);
$this->ccli = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.PlanningCenterPlan.PlanItem.SongItem.Sequence sequence = 4;</code>
* @return \Rv\Data\PlanningCenterPlan\PlanItem\SongItem\Sequence|null
*/
public function getSequence()
{
return $this->sequence;
}
public function hasSequence()
{
return isset($this->sequence);
}
public function clearSequence()
{
unset($this->sequence);
}
/**
* Generated from protobuf field <code>.rv.data.PlanningCenterPlan.PlanItem.SongItem.Sequence sequence = 4;</code>
* @param \Rv\Data\PlanningCenterPlan\PlanItem\SongItem\Sequence $var
* @return $this
*/
public function setSequence($var)
{
GPBUtil::checkMessage($var, \Rv\Data\PlanningCenterPlan\PlanItem\SongItem\Sequence::class);
$this->sequence = $var;
return $this;
}
/**
* Generated from protobuf field <code>string pco_id_str = 5;</code>
* @return string
*/
public function getPcoIdStr()
{
return $this->pco_id_str;
}
/**
* Generated from protobuf field <code>string pco_id_str = 5;</code>
* @param string $var
* @return $this
*/
public function setPcoIdStr($var)
{
GPBUtil::checkString($var, True);
$this->pco_id_str = $var;
return $this;
}
/**
* Generated from protobuf field <code>string arrangement_id_str = 6;</code>
* @return string
*/
public function getArrangementIdStr()
{
return $this->arrangement_id_str;
}
/**
* Generated from protobuf field <code>string arrangement_id_str = 6;</code>
* @param string $var
* @return $this
*/
public function setArrangementIdStr($var)
{
GPBUtil::checkString($var, True);
$this->arrangement_id_str = $var;
return $this;
}
}