propresenter7-php-lib/generated/Rv/Data/PlanningCenterPlan.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

333 lines
7.9 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: planningCenter.proto
namespace Rv\Data;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.PlanningCenterPlan</code>
*/
class PlanningCenterPlan extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>uint32 plan_id_num = 1;</code>
*/
protected $plan_id_num = 0;
/**
* Generated from protobuf field <code>uint32 parent_id_num = 2;</code>
*/
protected $parent_id_num = 0;
/**
* Generated from protobuf field <code>string series_title = 3;</code>
*/
protected $series_title = '';
/**
* Generated from protobuf field <code>string plan_title = 4;</code>
*/
protected $plan_title = '';
/**
* Generated from protobuf field <code>string date_list = 5;</code>
*/
protected $date_list = '';
/**
* Generated from protobuf field <code>.rv.data.Timestamp created_date = 6;</code>
*/
protected $created_date = null;
/**
* Generated from protobuf field <code>.rv.data.Timestamp update_date = 7;</code>
*/
protected $update_date = null;
/**
* Generated from protobuf field <code>.rv.data.Timestamp last_update_check_date = 8;</code>
*/
protected $last_update_check_date = null;
/**
* Generated from protobuf field <code>string plan_id_str = 9;</code>
*/
protected $plan_id_str = '';
/**
* Generated from protobuf field <code>string parent_id_str = 10;</code>
*/
protected $parent_id_str = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $plan_id_num
* @type int $parent_id_num
* @type string $series_title
* @type string $plan_title
* @type string $date_list
* @type \Rv\Data\Timestamp $created_date
* @type \Rv\Data\Timestamp $update_date
* @type \Rv\Data\Timestamp $last_update_check_date
* @type string $plan_id_str
* @type string $parent_id_str
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\PlanningCenter::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>uint32 plan_id_num = 1;</code>
* @return int
*/
public function getPlanIdNum()
{
return $this->plan_id_num;
}
/**
* Generated from protobuf field <code>uint32 plan_id_num = 1;</code>
* @param int $var
* @return $this
*/
public function setPlanIdNum($var)
{
GPBUtil::checkUint32($var);
$this->plan_id_num = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint32 parent_id_num = 2;</code>
* @return int
*/
public function getParentIdNum()
{
return $this->parent_id_num;
}
/**
* Generated from protobuf field <code>uint32 parent_id_num = 2;</code>
* @param int $var
* @return $this
*/
public function setParentIdNum($var)
{
GPBUtil::checkUint32($var);
$this->parent_id_num = $var;
return $this;
}
/**
* Generated from protobuf field <code>string series_title = 3;</code>
* @return string
*/
public function getSeriesTitle()
{
return $this->series_title;
}
/**
* Generated from protobuf field <code>string series_title = 3;</code>
* @param string $var
* @return $this
*/
public function setSeriesTitle($var)
{
GPBUtil::checkString($var, True);
$this->series_title = $var;
return $this;
}
/**
* Generated from protobuf field <code>string plan_title = 4;</code>
* @return string
*/
public function getPlanTitle()
{
return $this->plan_title;
}
/**
* Generated from protobuf field <code>string plan_title = 4;</code>
* @param string $var
* @return $this
*/
public function setPlanTitle($var)
{
GPBUtil::checkString($var, True);
$this->plan_title = $var;
return $this;
}
/**
* Generated from protobuf field <code>string date_list = 5;</code>
* @return string
*/
public function getDateList()
{
return $this->date_list;
}
/**
* Generated from protobuf field <code>string date_list = 5;</code>
* @param string $var
* @return $this
*/
public function setDateList($var)
{
GPBUtil::checkString($var, True);
$this->date_list = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Timestamp created_date = 6;</code>
* @return \Rv\Data\Timestamp|null
*/
public function getCreatedDate()
{
return $this->created_date;
}
public function hasCreatedDate()
{
return isset($this->created_date);
}
public function clearCreatedDate()
{
unset($this->created_date);
}
/**
* Generated from protobuf field <code>.rv.data.Timestamp created_date = 6;</code>
* @param \Rv\Data\Timestamp $var
* @return $this
*/
public function setCreatedDate($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Timestamp::class);
$this->created_date = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Timestamp update_date = 7;</code>
* @return \Rv\Data\Timestamp|null
*/
public function getUpdateDate()
{
return $this->update_date;
}
public function hasUpdateDate()
{
return isset($this->update_date);
}
public function clearUpdateDate()
{
unset($this->update_date);
}
/**
* Generated from protobuf field <code>.rv.data.Timestamp update_date = 7;</code>
* @param \Rv\Data\Timestamp $var
* @return $this
*/
public function setUpdateDate($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Timestamp::class);
$this->update_date = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Timestamp last_update_check_date = 8;</code>
* @return \Rv\Data\Timestamp|null
*/
public function getLastUpdateCheckDate()
{
return $this->last_update_check_date;
}
public function hasLastUpdateCheckDate()
{
return isset($this->last_update_check_date);
}
public function clearLastUpdateCheckDate()
{
unset($this->last_update_check_date);
}
/**
* Generated from protobuf field <code>.rv.data.Timestamp last_update_check_date = 8;</code>
* @param \Rv\Data\Timestamp $var
* @return $this
*/
public function setLastUpdateCheckDate($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Timestamp::class);
$this->last_update_check_date = $var;
return $this;
}
/**
* Generated from protobuf field <code>string plan_id_str = 9;</code>
* @return string
*/
public function getPlanIdStr()
{
return $this->plan_id_str;
}
/**
* Generated from protobuf field <code>string plan_id_str = 9;</code>
* @param string $var
* @return $this
*/
public function setPlanIdStr($var)
{
GPBUtil::checkString($var, True);
$this->plan_id_str = $var;
return $this;
}
/**
* Generated from protobuf field <code>string parent_id_str = 10;</code>
* @return string
*/
public function getParentIdStr()
{
return $this->parent_id_str;
}
/**
* Generated from protobuf field <code>string parent_id_str = 10;</code>
* @param string $var
* @return $this
*/
public function setParentIdStr($var)
{
GPBUtil::checkString($var, True);
$this->parent_id_str = $var;
return $this;
}
}