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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.NatsSubjects</code>
 */
class NatsSubjects extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string system_api_worker = 1;</code>
     */
    protected $system_api_worker = '';
    /**
     * jetstream worker
     *
     * Generated from protobuf field <code>string system_js_worker = 2;</code>
     */
    protected $system_js_worker = '';
    /**
     * core pub/sub worker
     *
     * Generated from protobuf field <code>string system_core_worker = 3;</code>
     */
    protected $system_core_worker = '';
    /**
     * Generated from protobuf field <code>string system_public = 4;</code>
     */
    protected $system_public = '';
    /**
     * Generated from protobuf field <code>string system_private = 5;</code>
     */
    protected $system_private = '';
    /**
     * Generated from protobuf field <code>string chat = 6;</code>
     */
    protected $chat = '';
    /**
     * Generated from protobuf field <code>string whiteboard = 7;</code>
     */
    protected $whiteboard = '';
    /**
     * Generated from protobuf field <code>string data_channel = 8;</code>
     */
    protected $data_channel = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $system_api_worker
     *     @type string $system_js_worker
     *           jetstream worker
     *     @type string $system_core_worker
     *           core pub/sub worker
     *     @type string $system_public
     *     @type string $system_private
     *     @type string $chat
     *     @type string $whiteboard
     *     @type string $data_channel
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetNatsMsg::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * core pub/sub worker
     *
     * Generated from protobuf field <code>string system_core_worker = 3;</code>
     * @return string
     */
    public function getSystemCoreWorker()
    {
        return $this->system_core_worker;
    }

    /**
     * core pub/sub worker
     *
     * Generated from protobuf field <code>string system_core_worker = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setSystemCoreWorker($var)
    {
        GPBUtil::checkString($var, True);
        $this->system_core_worker = $var;

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string system_private = 5;</code>
     * @return string
     */
    public function getSystemPrivate()
    {
        return $this->system_private;
    }

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string data_channel = 8;</code>
     * @return string
     */
    public function getDataChannel()
    {
        return $this->data_channel;
    }

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

        return $this;
    }

}

