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

namespace Livekit\SimulationRun\Get;

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

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

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

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

    public function hasRun()
    {
        return isset($this->run);
    }

    public function clearRun()
    {
        unset($this->run);
    }

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

        return $this;
    }

}

