rv.data.AlignmentGuide */ class AlignmentGuide extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.UUID uuid = 1; */ protected $uuid = null; /** * Generated from protobuf field .rv.data.AlignmentGuide.GuidelineOrientation orientation = 2; */ protected $orientation = 0; /** * Generated from protobuf field double location = 3; */ protected $location = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type int $orientation * @type float $location * } */ public function __construct($data = NULL) { \GPBMetadata\AlignmentGuide::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.UUID uuid = 1; * @return \Rv\Data\UUID|null */ public function getUuid() { return $this->uuid; } public function hasUuid() { return isset($this->uuid); } public function clearUuid() { unset($this->uuid); } /** * Generated from protobuf field .rv.data.UUID uuid = 1; * @param \Rv\Data\UUID $var * @return $this */ public function setUuid($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->uuid = $var; return $this; } /** * Generated from protobuf field .rv.data.AlignmentGuide.GuidelineOrientation orientation = 2; * @return int */ public function getOrientation() { return $this->orientation; } /** * Generated from protobuf field .rv.data.AlignmentGuide.GuidelineOrientation orientation = 2; * @param int $var * @return $this */ public function setOrientation($var) { GPBUtil::checkEnum($var, \Rv\Data\AlignmentGuide\GuidelineOrientation::class); $this->orientation = $var; return $this; } /** * Generated from protobuf field double location = 3; * @return float */ public function getLocation() { return $this->location; } /** * Generated from protobuf field double location = 3; * @param float $var * @return $this */ public function setLocation($var) { GPBUtil::checkDouble($var); $this->location = $var; return $this; } }