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

namespace Rv\Data;

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

/**
 * Generated from protobuf message <code>rv.data.UUID</code>
 */
class UUID extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string string = 1;</code>
     */
    protected $string = '';

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

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

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

        return $this;
    }

}

