<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: couchbase/admin/bucket/v1/bucket.proto

namespace Couchbase\Protostellar\Generated\Admin\Bucket\V1;

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

/**
 * Generated from protobuf message <code>couchbase.admin.bucket.v1.CreateBucketResponse</code>
 */
class CreateBucketResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string bucket_uuid = 1;</code>
     */
    protected $bucket_uuid = '';

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

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

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

        return $this;
    }

}

