rv.analytics.UI.LowerRight.Messages */ class Messages extends \Google\Protobuf\Internal\Message { protected $Component; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Analytics\UI\LowerRight\Messages\Shown $shown * @type \Rv\Analytics\UI\LowerRight\Messages\Edit $edit * @type \Rv\Analytics\UI\LowerRight\Messages\State $state * @type \Rv\Analytics\UI\LowerRight\Messages\Create $create * @type \Rv\Analytics\UI\LowerRight\Messages\Delete $delete * } */ public function __construct($data = NULL) { \GPBMetadata\AnalyticsUI::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.analytics.UI.LowerRight.Messages.Shown shown = 1; * @return \Rv\Analytics\UI\LowerRight\Messages\Shown|null */ public function getShown() { return $this->readOneof(1); } public function hasShown() { return $this->hasOneof(1); } /** * Generated from protobuf field .rv.analytics.UI.LowerRight.Messages.Shown shown = 1; * @param \Rv\Analytics\UI\LowerRight\Messages\Shown $var * @return $this */ public function setShown($var) { GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Messages\Shown::class); $this->writeOneof(1, $var); return $this; } /** * Generated from protobuf field .rv.analytics.UI.LowerRight.Messages.Edit edit = 2; * @return \Rv\Analytics\UI\LowerRight\Messages\Edit|null */ public function getEdit() { return $this->readOneof(2); } public function hasEdit() { return $this->hasOneof(2); } /** * Generated from protobuf field .rv.analytics.UI.LowerRight.Messages.Edit edit = 2; * @param \Rv\Analytics\UI\LowerRight\Messages\Edit $var * @return $this */ public function setEdit($var) { GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Messages\Edit::class); $this->writeOneof(2, $var); return $this; } /** * Generated from protobuf field .rv.analytics.UI.LowerRight.Messages.State state = 3; * @return \Rv\Analytics\UI\LowerRight\Messages\State|null */ public function getState() { return $this->readOneof(3); } public function hasState() { return $this->hasOneof(3); } /** * Generated from protobuf field .rv.analytics.UI.LowerRight.Messages.State state = 3; * @param \Rv\Analytics\UI\LowerRight\Messages\State $var * @return $this */ public function setState($var) { GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Messages\State::class); $this->writeOneof(3, $var); return $this; } /** * Generated from protobuf field .rv.analytics.UI.LowerRight.Messages.Create create = 4; * @return \Rv\Analytics\UI\LowerRight\Messages\Create|null */ public function getCreate() { return $this->readOneof(4); } public function hasCreate() { return $this->hasOneof(4); } /** * Generated from protobuf field .rv.analytics.UI.LowerRight.Messages.Create create = 4; * @param \Rv\Analytics\UI\LowerRight\Messages\Create $var * @return $this */ public function setCreate($var) { GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Messages\Create::class); $this->writeOneof(4, $var); return $this; } /** * Generated from protobuf field .rv.analytics.UI.LowerRight.Messages.Delete delete = 5; * @return \Rv\Analytics\UI\LowerRight\Messages\Delete|null */ public function getDelete() { return $this->readOneof(5); } public function hasDelete() { return $this->hasOneof(5); } /** * Generated from protobuf field .rv.analytics.UI.LowerRight.Messages.Delete delete = 5; * @param \Rv\Analytics\UI\LowerRight\Messages\Delete $var * @return $this */ public function setDelete($var) { GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Messages\Delete::class); $this->writeOneof(5, $var); return $this; } /** * @return string */ public function getComponent() { return $this->whichOneof("Component"); } }