- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
289 lines
6.6 KiB
PHP
289 lines
6.6 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.Attachment</code>
|
|
*/
|
|
class Attachment extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string name = 1;</code>
|
|
*/
|
|
protected $name = '';
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL url = 2;</code>
|
|
*/
|
|
protected $url = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Timestamp created_date = 3;</code>
|
|
*/
|
|
protected $created_date = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL linked_path = 4;</code>
|
|
*/
|
|
protected $linked_path = null;
|
|
/**
|
|
* Generated from protobuf field <code>uint32 pco_id_num = 5;</code>
|
|
*/
|
|
protected $pco_id_num = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool needs_update = 6;</code>
|
|
*/
|
|
protected $needs_update = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Timestamp update_date = 7;</code>
|
|
*/
|
|
protected $update_date = null;
|
|
/**
|
|
* Generated from protobuf field <code>string pco_id_str = 8;</code>
|
|
*/
|
|
protected $pco_id_str = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $name
|
|
* @type \Rv\Data\URL $url
|
|
* @type \Rv\Data\Timestamp $created_date
|
|
* @type \Rv\Data\URL $linked_path
|
|
* @type int $pco_id_num
|
|
* @type bool $needs_update
|
|
* @type \Rv\Data\Timestamp $update_date
|
|
* @type string $pco_id_str
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\PlanningCenter::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string name = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string name = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL url = 2;</code>
|
|
* @return \Rv\Data\URL|null
|
|
*/
|
|
public function getUrl()
|
|
{
|
|
return $this->url;
|
|
}
|
|
|
|
public function hasUrl()
|
|
{
|
|
return isset($this->url);
|
|
}
|
|
|
|
public function clearUrl()
|
|
{
|
|
unset($this->url);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL url = 2;</code>
|
|
* @param \Rv\Data\URL $var
|
|
* @return $this
|
|
*/
|
|
public function setUrl($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\URL::class);
|
|
$this->url = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Timestamp created_date = 3;</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 = 3;</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.URL linked_path = 4;</code>
|
|
* @return \Rv\Data\URL|null
|
|
*/
|
|
public function getLinkedPath()
|
|
{
|
|
return $this->linked_path;
|
|
}
|
|
|
|
public function hasLinkedPath()
|
|
{
|
|
return isset($this->linked_path);
|
|
}
|
|
|
|
public function clearLinkedPath()
|
|
{
|
|
unset($this->linked_path);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL linked_path = 4;</code>
|
|
* @param \Rv\Data\URL $var
|
|
* @return $this
|
|
*/
|
|
public function setLinkedPath($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\URL::class);
|
|
$this->linked_path = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 pco_id_num = 5;</code>
|
|
* @return int
|
|
*/
|
|
public function getPcoIdNum()
|
|
{
|
|
return $this->pco_id_num;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 pco_id_num = 5;</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>bool needs_update = 6;</code>
|
|
* @return bool
|
|
*/
|
|
public function getNeedsUpdate()
|
|
{
|
|
return $this->needs_update;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool needs_update = 6;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setNeedsUpdate($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->needs_update = $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>string pco_id_str = 8;</code>
|
|
* @return string
|
|
*/
|
|
public function getPcoIdStr()
|
|
{
|
|
return $this->pco_id_str;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string pco_id_str = 8;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setPcoIdStr($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->pco_id_str = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|