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

namespace Rv\Data\TriggerSource;

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

/**
 * Generated from protobuf message <code>rv.data.TriggerSource.Playlist</code>
 */
class Playlist extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.UUID identifier = 1;</code>
     */
    protected $identifier = null;
    /**
     * Generated from protobuf field <code>.rv.data.UUID item_identifier = 2;</code>
     */
    protected $item_identifier = null;

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

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

    public function hasIdentifier()
    {
        return isset($this->identifier);
    }

    public function clearIdentifier()
    {
        unset($this->identifier);
    }

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

        return $this;
    }

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

    public function hasItemIdentifier()
    {
        return isset($this->item_identifier);
    }

    public function clearItemIdentifier()
    {
        unset($this->item_identifier);
    }

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

        return $this;
    }

}

