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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.CreateIngressReq</code>
 */
class CreateIngressReq extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.plugnmeet.IngressInput input_type = 1;</code>
     */
    protected $input_type = 0;
    /**
     * Generated from protobuf field <code>string participant_name = 2;</code>
     */
    protected $participant_name = '';
    /**
     * Generated from protobuf field <code>string room_id = 3;</code>
     */
    protected $room_id = '';

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

    /**
     * Generated from protobuf field <code>.plugnmeet.IngressInput input_type = 1;</code>
     * @return int
     */
    public function getInputType()
    {
        return $this->input_type;
    }

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

