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

namespace Rv\Data\PropDocument\PropCollection;

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

/**
 * Generated from protobuf message <code>rv.data.PropDocument.PropCollection.Item</code>
 */
class Item extends \Google\Protobuf\Internal\Message
{
    protected $ItemType;

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

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

    public function hasPropCueUuid()
    {
        return $this->hasOneof(1);
    }

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

        return $this;
    }

    /**
     * @return string
     */
    public function getItemType()
    {
        return $this->whichOneof("ItemType");
    }

}

