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

141 lines
3.4 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\SongItem;
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.Sequence</code>
*/
class Sequence 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>string name = 2;</code>
*/
protected $name = '';
/**
* Generated from protobuf field <code>repeated string group_names = 3;</code>
*/
private $group_names;
/**
* Generated from protobuf field <code>string pco_id_str = 4;</code>
*/
protected $pco_id_str = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $pco_id_num
* @type string $name
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $group_names
* @type string $pco_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>string name = 2;</code>
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field <code>string name = 2;</code>
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* Generated from protobuf field <code>repeated string group_names = 3;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getGroupNames()
{
return $this->group_names;
}
/**
* Generated from protobuf field <code>repeated string group_names = 3;</code>
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setGroupNames($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->group_names = $arr;
return $this;
}
/**
* Generated from protobuf field <code>string pco_id_str = 4;</code>
* @return string
*/
public function getPcoIdStr()
{
return $this->pco_id_str;
}
/**
* Generated from protobuf field <code>string pco_id_str = 4;</code>
* @param string $var
* @return $this
*/
public function setPcoIdStr($var)
{
GPBUtil::checkString($var, True);
$this->pco_id_str = $var;
return $this;
}
}