rv.data.PlanningCenterPlan.PlanItem.SongItem.Sequence */ class Sequence extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field uint32 pco_id_num = 1; */ protected $pco_id_num = 0; /** * Generated from protobuf field string name = 2; */ protected $name = ''; /** * Generated from protobuf field repeated string group_names = 3; */ private $group_names; /** * Generated from protobuf field string pco_id_str = 4; */ 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|\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 uint32 pco_id_num = 1; * @return int */ public function getPcoIdNum() { return $this->pco_id_num; } /** * Generated from protobuf field uint32 pco_id_num = 1; * @param int $var * @return $this */ public function setPcoIdNum($var) { GPBUtil::checkUint32($var); $this->pco_id_num = $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 repeated string group_names = 3; * @return \Google\Protobuf\Internal\RepeatedField */ public function getGroupNames() { return $this->group_names; } /** * Generated from protobuf field repeated string group_names = 3; * @param array|\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 string pco_id_str = 4; * @return string */ public function getPcoIdStr() { return $this->pco_id_str; } /** * Generated from protobuf field string pco_id_str = 4; * @param string $var * @return $this */ public function setPcoIdStr($var) { GPBUtil::checkString($var, True); $this->pco_id_str = $var; return $this; } }