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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.SpeechServiceUserStatusReq</code>
 */
class SpeechServiceUserStatusReq extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string room_id = 1;</code>
     */
    protected $room_id = '';
    /**
     * Generated from protobuf field <code>string room_sid = 2;</code>
     */
    protected $room_sid = '';
    /**
     * Generated from protobuf field <code>string user_id = 3;</code>
     */
    protected $user_id = '';
    /**
     * Generated from protobuf field <code>string key_id = 4;</code>
     */
    protected $key_id = '';
    /**
     * Generated from protobuf field <code>.plugnmeet.SpeechServiceUserStatusTasks task = 5;</code>
     */
    protected $task = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $room_id
     *     @type string $room_sid
     *     @type string $user_id
     *     @type string $key_id
     *     @type int $task
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetSpeechServices::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string room_sid = 2;</code>
     * @return string
     */
    public function getRoomSid()
    {
        return $this->room_sid;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string user_id = 3;</code>
     * @return string
     */
    public function getUserId()
    {
        return $this->user_id;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string key_id = 4;</code>
     * @return string
     */
    public function getKeyId()
    {
        return $this->key_id;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.plugnmeet.SpeechServiceUserStatusTasks task = 5;</code>
     * @return int
     */
    public function getTask()
    {
        return $this->task;
    }

    /**
     * Generated from protobuf field <code>.plugnmeet.SpeechServiceUserStatusTasks task = 5;</code>
     * @param int $var
     * @return $this
     */
    public function setTask($var)
    {
        GPBUtil::checkEnum($var, \Mynaparrot\PlugnmeetProto\SpeechServiceUserStatusTasks::class);
        $this->task = $var;

        return $this;
    }

}

