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

namespace Rv\Data\Recording\Stream\Destination;

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

/**
 * Generated from protobuf message <code>rv.data.Recording.Stream.Destination.Resi</code>
 */
class Resi extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.UUID destination_group_id = 1;</code>
     */
    protected $destination_group_id = null;
    /**
     * Generated from protobuf field <code>.rv.data.UUID encoder_profile_id = 2;</code>
     */
    protected $encoder_profile_id = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\UUID $destination_group_id
     *     @type \Rv\Data\UUID $encoder_profile_id
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Recording::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.UUID destination_group_id = 1;</code>
     * @return \Rv\Data\UUID|null
     */
    public function getDestinationGroupId()
    {
        return $this->destination_group_id;
    }

    public function hasDestinationGroupId()
    {
        return isset($this->destination_group_id);
    }

    public function clearDestinationGroupId()
    {
        unset($this->destination_group_id);
    }

    /**
     * Generated from protobuf field <code>.rv.data.UUID destination_group_id = 1;</code>
     * @param \Rv\Data\UUID $var
     * @return $this
     */
    public function setDestinationGroupId($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
        $this->destination_group_id = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.UUID encoder_profile_id = 2;</code>
     * @return \Rv\Data\UUID|null
     */
    public function getEncoderProfileId()
    {
        return $this->encoder_profile_id;
    }

    public function hasEncoderProfileId()
    {
        return isset($this->encoder_profile_id);
    }

    public function clearEncoderProfileId()
    {
        unset($this->encoder_profile_id);
    }

    /**
     * Generated from protobuf field <code>.rv.data.UUID encoder_profile_id = 2;</code>
     * @param \Rv\Data\UUID $var
     * @return $this
     */
    public function setEncoderProfileId($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
        $this->encoder_profile_id = $var;

        return $this;
    }

}

