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

namespace Couchbase\Protostellar\Generated\KV\V1\LookupInRequest;

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

/**
 * Generated from protobuf message <code>couchbase.kv.v1.LookupInRequest.Flags</code>
 */
class Flags extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional bool access_deleted = 1;</code>
     */
    protected $access_deleted = null;

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

    /**
     * Generated from protobuf field <code>optional bool access_deleted = 1;</code>
     * @return bool
     */
    public function getAccessDeleted()
    {
        return isset($this->access_deleted) ? $this->access_deleted : false;
    }

    public function hasAccessDeleted()
    {
        return isset($this->access_deleted);
    }

    public function clearAccessDeleted()
    {
        unset($this->access_deleted);
    }

    /**
     * Generated from protobuf field <code>optional bool access_deleted = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setAccessDeleted($var)
    {
        GPBUtil::checkBool($var);
        $this->access_deleted = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Flags::class, \Couchbase\Protostellar\Generated\KV\V1\LookupInRequest_Flags::class);

