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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.GetClientFilesRes</code>
 */
class GetClientFilesRes extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool status = 1;</code>
     */
    protected $status = false;
    /**
     * Generated from protobuf field <code>string msg = 2;</code>
     */
    protected $msg = '';
    /**
     * Generated from protobuf field <code>.plugnmeet.StatusCode status_code = 3;</code>
     */
    protected $status_code = 0;
    /**
     * Generated from protobuf field <code>repeated string css = 4 [deprecated = true];</code>
     * @deprecated
     */
    private $css;
    /**
     * Generated from protobuf field <code>repeated string js = 5 [deprecated = true];</code>
     * @deprecated
     */
    private $js;
    /**
     * Generated from protobuf field <code>repeated string css_files = 6;</code>
     */
    private $css_files;
    /**
     * Generated from protobuf field <code>repeated string js_files = 7;</code>
     */
    private $js_files;
    /**
     * Generated from protobuf field <code>optional string static_assets_path = 8;</code>
     */
    protected $static_assets_path = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $status
     *     @type string $msg
     *     @type int $status_code
     *     @type string[] $css
     *     @type string[] $js
     *     @type string[] $css_files
     *     @type string[] $js_files
     *     @type string $static_assets_path
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetAuthRoom::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>bool status = 1;</code>
     * @return bool
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Generated from protobuf field <code>bool status = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setStatus($var)
    {
        GPBUtil::checkBool($var);
        $this->status = $var;

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.plugnmeet.StatusCode status_code = 3;</code>
     * @return int
     */
    public function getStatusCode()
    {
        return $this->status_code;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated string css = 4 [deprecated = true];</code>
     * @return RepeatedField<string>
     * @deprecated
     */
    public function getCss()
    {
        if (count($this->css) !== 0) {
            @trigger_error('css is deprecated.', E_USER_DEPRECATED);
        }
        return $this->css;
    }

    /**
     * Generated from protobuf field <code>repeated string css = 4 [deprecated = true];</code>
     * @param string[] $var
     * @return $this
     * @deprecated
     */
    public function setCss($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        if (count($arr) !== 0) {
            @trigger_error('css is deprecated.', E_USER_DEPRECATED);
        }
        $this->css = $arr;

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated string js = 5 [deprecated = true];</code>
     * @return RepeatedField<string>
     * @deprecated
     */
    public function getJs()
    {
        if (count($this->js) !== 0) {
            @trigger_error('js is deprecated.', E_USER_DEPRECATED);
        }
        return $this->js;
    }

    /**
     * Generated from protobuf field <code>repeated string js = 5 [deprecated = true];</code>
     * @param string[] $var
     * @return $this
     * @deprecated
     */
    public function setJs($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        if (count($arr) !== 0) {
            @trigger_error('js is deprecated.', E_USER_DEPRECATED);
        }
        $this->js = $arr;

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated string css_files = 6;</code>
     * @return RepeatedField<string>
     */
    public function getCssFiles()
    {
        return $this->css_files;
    }

    /**
     * Generated from protobuf field <code>repeated string css_files = 6;</code>
     * @param string[] $var
     * @return $this
     */
    public function setCssFiles($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->css_files = $arr;

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated string js_files = 7;</code>
     * @return RepeatedField<string>
     */
    public function getJsFiles()
    {
        return $this->js_files;
    }

    /**
     * Generated from protobuf field <code>repeated string js_files = 7;</code>
     * @param string[] $var
     * @return $this
     */
    public function setJsFiles($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->js_files = $arr;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string static_assets_path = 8;</code>
     * @return string
     */
    public function getStaticAssetsPath()
    {
        return isset($this->static_assets_path) ? $this->static_assets_path : '';
    }

    public function hasStaticAssetsPath()
    {
        return isset($this->static_assets_path);
    }

    public function clearStaticAssetsPath()
    {
        unset($this->static_assets_path);
    }

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

        return $this;
    }

}

