rv.data.PlanningCenterPlan */ class PlanningCenterPlan extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field uint32 plan_id_num = 1; */ protected $plan_id_num = 0; /** * Generated from protobuf field uint32 parent_id_num = 2; */ protected $parent_id_num = 0; /** * Generated from protobuf field string series_title = 3; */ protected $series_title = ''; /** * Generated from protobuf field string plan_title = 4; */ protected $plan_title = ''; /** * Generated from protobuf field string date_list = 5; */ protected $date_list = ''; /** * Generated from protobuf field .rv.data.Timestamp created_date = 6; */ protected $created_date = null; /** * Generated from protobuf field .rv.data.Timestamp update_date = 7; */ protected $update_date = null; /** * Generated from protobuf field .rv.data.Timestamp last_update_check_date = 8; */ protected $last_update_check_date = null; /** * Generated from protobuf field string plan_id_str = 9; */ protected $plan_id_str = ''; /** * Generated from protobuf field string parent_id_str = 10; */ 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 uint32 plan_id_num = 1; * @return int */ public function getPlanIdNum() { return $this->plan_id_num; } /** * Generated from protobuf field uint32 plan_id_num = 1; * @param int $var * @return $this */ public function setPlanIdNum($var) { GPBUtil::checkUint32($var); $this->plan_id_num = $var; return $this; } /** * Generated from protobuf field uint32 parent_id_num = 2; * @return int */ public function getParentIdNum() { return $this->parent_id_num; } /** * Generated from protobuf field uint32 parent_id_num = 2; * @param int $var * @return $this */ public function setParentIdNum($var) { GPBUtil::checkUint32($var); $this->parent_id_num = $var; return $this; } /** * Generated from protobuf field string series_title = 3; * @return string */ public function getSeriesTitle() { return $this->series_title; } /** * Generated from protobuf field string series_title = 3; * @param string $var * @return $this */ public function setSeriesTitle($var) { GPBUtil::checkString($var, True); $this->series_title = $var; return $this; } /** * Generated from protobuf field string plan_title = 4; * @return string */ public function getPlanTitle() { return $this->plan_title; } /** * Generated from protobuf field string plan_title = 4; * @param string $var * @return $this */ public function setPlanTitle($var) { GPBUtil::checkString($var, True); $this->plan_title = $var; return $this; } /** * Generated from protobuf field string date_list = 5; * @return string */ public function getDateList() { return $this->date_list; } /** * Generated from protobuf field string date_list = 5; * @param string $var * @return $this */ public function setDateList($var) { GPBUtil::checkString($var, True); $this->date_list = $var; return $this; } /** * Generated from protobuf field .rv.data.Timestamp created_date = 6; * @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 .rv.data.Timestamp created_date = 6; * @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 .rv.data.Timestamp update_date = 7; * @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 .rv.data.Timestamp update_date = 7; * @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 .rv.data.Timestamp last_update_check_date = 8; * @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 .rv.data.Timestamp last_update_check_date = 8; * @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 string plan_id_str = 9; * @return string */ public function getPlanIdStr() { return $this->plan_id_str; } /** * Generated from protobuf field string plan_id_str = 9; * @param string $var * @return $this */ public function setPlanIdStr($var) { GPBUtil::checkString($var, True); $this->plan_id_str = $var; return $this; } /** * Generated from protobuf field string parent_id_str = 10; * @return string */ public function getParentIdStr() { return $this->parent_id_str; } /** * Generated from protobuf field string parent_id_str = 10; * @param string $var * @return $this */ public function setParentIdStr($var) { GPBUtil::checkString($var, True); $this->parent_id_str = $var; return $this; } }