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

namespace Livekit\SimulationRun\Create;

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

/**
 * Generated from protobuf message <code>livekit.SimulationRun.Create.Response</code>
 */
class Response extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string simulation_run_id = 1;</code>
     */
    protected $simulation_run_id = '';
    /**
     * Generated from protobuf field <code>.livekit.PresignedPostRequest presigned_post_request = 2;</code>
     */
    protected $presigned_post_request = null;

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

    /**
     * Generated from protobuf field <code>string simulation_run_id = 1;</code>
     * @return string
     */
    public function getSimulationRunId()
    {
        return $this->simulation_run_id;
    }

    /**
     * Generated from protobuf field <code>string simulation_run_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setSimulationRunId($var)
    {
        GPBUtil::checkString($var, True);
        $this->simulation_run_id = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.livekit.PresignedPostRequest presigned_post_request = 2;</code>
     * @return \Livekit\PresignedPostRequest|null
     */
    public function getPresignedPostRequest()
    {
        return $this->presigned_post_request;
    }

    public function hasPresignedPostRequest()
    {
        return isset($this->presigned_post_request);
    }

    public function clearPresignedPostRequest()
    {
        unset($this->presigned_post_request);
    }

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

        return $this;
    }

}

