<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: action.proto

namespace Rv\Data\Action;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.data.Action.StageLayoutType</code>
 */
class StageLayoutType extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>repeated .rv.data.Stage.ScreenAssignment stage_screen_assignments = 4;</code>
     */
    private $stage_screen_assignments;
    /**
     * Generated from protobuf field <code>.rv.data.Action.StageLayoutType.SlideTarget slide_target = 5;</code>
     */
    protected $slide_target = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<\Rv\Data\Stage\ScreenAssignment>|\Google\Protobuf\Internal\RepeatedField $stage_screen_assignments
     *     @type int $slide_target
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Action::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>repeated .rv.data.Stage.ScreenAssignment stage_screen_assignments = 4;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getStageScreenAssignments()
    {
        return $this->stage_screen_assignments;
    }

    /**
     * Generated from protobuf field <code>repeated .rv.data.Stage.ScreenAssignment stage_screen_assignments = 4;</code>
     * @param array<\Rv\Data\Stage\ScreenAssignment>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setStageScreenAssignments($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Stage\ScreenAssignment::class);
        $this->stage_screen_assignments = $arr;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.Action.StageLayoutType.SlideTarget slide_target = 5;</code>
     * @return int
     */
    public function getSlideTarget()
    {
        return $this->slide_target;
    }

    /**
     * Generated from protobuf field <code>.rv.data.Action.StageLayoutType.SlideTarget slide_target = 5;</code>
     * @param int $var
     * @return $this
     */
    public function setSlideTarget($var)
    {
        GPBUtil::checkEnum($var, \Rv\Data\Action\StageLayoutType\SlideTarget::class);
        $this->slide_target = $var;

        return $this;
    }

}

