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

namespace Google\Cloud\Datastore\V1\ReadOptions;

/**
 * The possible values for read consistencies.
 *
 * Protobuf type <code>google.datastore.v1.ReadOptions.ReadConsistency</code>
 */
class ReadConsistency
{
    /**
     * Unspecified. This value must not be used.
     *
     * Generated from protobuf enum <code>READ_CONSISTENCY_UNSPECIFIED = 0;</code>
     */
    const READ_CONSISTENCY_UNSPECIFIED = 0;
    /**
     * Strong consistency.
     *
     * Generated from protobuf enum <code>STRONG = 1;</code>
     */
    const STRONG = 1;
    /**
     * Eventual consistency.
     *
     * Generated from protobuf enum <code>EVENTUAL = 2;</code>
     */
    const EVENTUAL = 2;
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReadConsistency::class, \Google\Cloud\Datastore\V1\ReadOptions_ReadConsistency::class);

