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

namespace Livekit\Scenario\Create;

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

/**
 * Generated from protobuf message <code>livekit.Scenario.Create.Response</code>
 */
class Response extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.livekit.Scenario scenario = 1;</code>
     */
    protected $scenario = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Livekit\Scenario $scenario
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\LivekitAgentSimulation::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.livekit.Scenario scenario = 1;</code>
     * @return \Livekit\Scenario|null
     */
    public function getScenario()
    {
        return $this->scenario;
    }

    public function hasScenario()
    {
        return isset($this->scenario);
    }

    public function clearScenario()
    {
        unset($this->scenario);
    }

    /**
     * Generated from protobuf field <code>.livekit.Scenario scenario = 1;</code>
     * @param \Livekit\Scenario $var
     * @return $this
     */
    public function setScenario($var)
    {
        GPBUtil::checkMessage($var, \Livekit\Scenario::class);
        $this->scenario = $var;

        return $this;
    }

}

