124 lines
3.2 KiB
PHP
124 lines
3.2 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApiV1Presentation.proto
|
|
|
|
namespace Rv\Data\API_v1_Presentation;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.API_v1_Presentation.SlideGroup</code>
|
|
*/
|
|
class SlideGroup extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string name = 1;</code>
|
|
*/
|
|
protected $name = '';
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Color color = 2;</code>
|
|
*/
|
|
protected $color = null;
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.API_v1_Presentation.SlideGroup.Slide slides = 3;</code>
|
|
*/
|
|
private $slides;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $name
|
|
* @type \Rv\Data\API_v1_Color $color
|
|
* @type array<\Rv\Data\API_v1_Presentation\SlideGroup\Slide>|\Google\Protobuf\Internal\RepeatedField $slides
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApiV1Presentation::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.API_v1_Color color = 2;</code>
|
|
* @return \Rv\Data\API_v1_Color|null
|
|
*/
|
|
public function getColor()
|
|
{
|
|
return $this->color;
|
|
}
|
|
|
|
public function hasColor()
|
|
{
|
|
return isset($this->color);
|
|
}
|
|
|
|
public function clearColor()
|
|
{
|
|
unset($this->color);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Color color = 2;</code>
|
|
* @param \Rv\Data\API_v1_Color $var
|
|
* @return $this
|
|
*/
|
|
public function setColor($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Color::class);
|
|
$this->color = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.API_v1_Presentation.SlideGroup.Slide slides = 3;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getSlides()
|
|
{
|
|
return $this->slides;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.API_v1_Presentation.SlideGroup.Slide slides = 3;</code>
|
|
* @param array<\Rv\Data\API_v1_Presentation\SlideGroup\Slide>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setSlides($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\API_v1_Presentation\SlideGroup\Slide::class);
|
|
$this->slides = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|