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

namespace GPBMetadata\Google\Datastore\V1;

class Datastore
{
    public static $is_initialized = false;

    public static function initOnce() {
        $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();

        if (static::$is_initialized == true) {
          return;
        }
        \GPBMetadata\Google\Api\Annotations::initOnce();
        \GPBMetadata\Google\Api\Client::initOnce();
        \GPBMetadata\Google\Api\FieldBehavior::initOnce();
        \GPBMetadata\Google\Api\Routing::initOnce();
        \GPBMetadata\Google\Datastore\V1\AggregationResult::initOnce();
        \GPBMetadata\Google\Datastore\V1\Entity::initOnce();
        \GPBMetadata\Google\Datastore\V1\Query::initOnce();
        \GPBMetadata\Google\Datastore\V1\QueryProfile::initOnce();
        \GPBMetadata\Google\Protobuf\Timestamp::initOnce();
        $pool->internalAddGeneratedFile(
            "\x0A\xD77\x0A#google/datastore/v1/datastore.proto\x12\x13google.datastore.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x18google/api/routing.proto\x1A,google/datastore/v1/aggregation_result.proto\x1A google/datastore/v1/entity.proto\x1A\x1Fgoogle/datastore/v1/query.proto\x1A'google/datastore/v1/query_profile.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xDC\x01\x0A\x0DLookupRequest\x12\x17\x0A\x0Aproject_id\x18\x08 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdatabase_id\x18\x09 \x01(\x09\x126\x0A\x0Cread_options\x18\x01 \x01(\x0B2 .google.datastore.v1.ReadOptions\x12+\x0A\x04keys\x18\x03 \x03(\x0B2\x18.google.datastore.v1.KeyB\x03\xE0A\x02\x128\x0A\x0Dproperty_mask\x18\x05 \x01(\x0B2!.google.datastore.v1.PropertyMask\"\xE6\x01\x0A\x0ELookupResponse\x120\x0A\x05found\x18\x01 \x03(\x0B2!.google.datastore.v1.EntityResult\x122\x0A\x07missing\x18\x02 \x03(\x0B2!.google.datastore.v1.EntityResult\x12*\x0A\x08deferred\x18\x03 \x03(\x0B2\x18.google.datastore.v1.Key\x12\x13\x0A\x0Btransaction\x18\x05 \x01(\x0C\x12-\x0A\x09read_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.Timestamp\"\x9B\x03\x0A\x0FRunQueryRequest\x12\x17\x0A\x0Aproject_id\x18\x08 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdatabase_id\x18\x09 \x01(\x09\x126\x0A\x0Cpartition_id\x18\x02 \x01(\x0B2 .google.datastore.v1.PartitionId\x126\x0A\x0Cread_options\x18\x01 \x01(\x0B2 .google.datastore.v1.ReadOptions\x12+\x0A\x05query\x18\x03 \x01(\x0B2\x1A.google.datastore.v1.QueryH\x00\x122\x0A\x09gql_query\x18\x07 \x01(\x0B2\x1D.google.datastore.v1.GqlQueryH\x00\x128\x0A\x0Dproperty_mask\x18\x0A \x01(\x0B2!.google.datastore.v1.PropertyMask\x12A\x0A\x0Fexplain_options\x18\x0C \x01(\x0B2#.google.datastore.v1.ExplainOptionsB\x03\xE0A\x01B\x0C\x0A\x0Aquery_type\"\xC6\x01\x0A\x10RunQueryResponse\x124\x0A\x05batch\x18\x01 \x01(\x0B2%.google.datastore.v1.QueryResultBatch\x12)\x0A\x05query\x18\x02 \x01(\x0B2\x1A.google.datastore.v1.Query\x12\x13\x0A\x0Btransaction\x18\x05 \x01(\x0C\x12<\x0A\x0Fexplain_metrics\x18\x09 \x01(\x0B2#.google.datastore.v1.ExplainMetrics\"\x83\x03\x0A\x1ARunAggregationQueryRequest\x12\x17\x0A\x0Aproject_id\x18\x08 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdatabase_id\x18\x09 \x01(\x09\x126\x0A\x0Cpartition_id\x18\x02 \x01(\x0B2 .google.datastore.v1.PartitionId\x126\x0A\x0Cread_options\x18\x01 \x01(\x0B2 .google.datastore.v1.ReadOptions\x12B\x0A\x11aggregation_query\x18\x03 \x01(\x0B2%.google.datastore.v1.AggregationQueryH\x00\x122\x0A\x09gql_query\x18\x07 \x01(\x0B2\x1D.google.datastore.v1.GqlQueryH\x00\x12A\x0A\x0Fexplain_options\x18\x0B \x01(\x0B2#.google.datastore.v1.ExplainOptionsB\x03\xE0A\x01B\x0C\x0A\x0Aquery_type\"\xE2\x01\x0A\x1BRunAggregationQueryResponse\x12:\x0A\x05batch\x18\x01 \x01(\x0B2+.google.datastore.v1.AggregationResultBatch\x124\x0A\x05query\x18\x02 \x01(\x0B2%.google.datastore.v1.AggregationQuery\x12\x13\x0A\x0Btransaction\x18\x05 \x01(\x0C\x12<\x0A\x0Fexplain_metrics\x18\x09 \x01(\x0B2#.google.datastore.v1.ExplainMetrics\"\x8D\x01\x0A\x17BeginTransactionRequest\x12\x17\x0A\x0Aproject_id\x18\x08 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdatabase_id\x18\x09 \x01(\x09\x12D\x0A\x13transaction_options\x18\x0A \x01(\x0B2'.google.datastore.v1.TransactionOptions\"/\x0A\x18BeginTransactionResponse\x12\x13\x0A\x0Btransaction\x18\x01 \x01(\x0C\"Y\x0A\x0FRollbackRequest\x12\x17\x0A\x0Aproject_id\x18\x08 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdatabase_id\x18\x09 \x01(\x09\x12\x18\x0A\x0Btransaction\x18\x01 \x01(\x0CB\x03\xE0A\x02\"\x12\x0A\x10RollbackResponse\"\xE8\x02\x0A\x0DCommitRequest\x12\x17\x0A\x0Aproject_id\x18\x08 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdatabase_id\x18\x09 \x01(\x09\x125\x0A\x04mode\x18\x05 \x01(\x0E2'.google.datastore.v1.CommitRequest.Mode\x12\x15\x0A\x0Btransaction\x18\x01 \x01(\x0CH\x00\x12I\x0A\x16single_use_transaction\x18\x0A \x01(\x0B2'.google.datastore.v1.TransactionOptionsH\x00\x120\x0A\x09mutations\x18\x06 \x03(\x0B2\x1D.google.datastore.v1.Mutation\"F\x0A\x04Mode\x12\x14\x0A\x10MODE_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DTRANSACTIONAL\x10\x01\x12\x15\x0A\x11NON_TRANSACTIONAL\x10\x02B\x16\x0A\x14transaction_selector\"\x97\x01\x0A\x0ECommitResponse\x12=\x0A\x10mutation_results\x18\x03 \x03(\x0B2#.google.datastore.v1.MutationResult\x12\x15\x0A\x0Dindex_updates\x18\x04 \x01(\x05\x12/\x0A\x0Bcommit_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.Timestamp\"o\x0A\x12AllocateIdsRequest\x12\x17\x0A\x0Aproject_id\x18\x08 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdatabase_id\x18\x09 \x01(\x09\x12+\x0A\x04keys\x18\x01 \x03(\x0B2\x18.google.datastore.v1.KeyB\x03\xE0A\x02\"=\x0A\x13AllocateIdsResponse\x12&\x0A\x04keys\x18\x01 \x03(\x0B2\x18.google.datastore.v1.Key\"n\x0A\x11ReserveIdsRequest\x12\x17\x0A\x0Aproject_id\x18\x08 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdatabase_id\x18\x09 \x01(\x09\x12+\x0A\x04keys\x18\x01 \x03(\x0B2\x18.google.datastore.v1.KeyB\x03\xE0A\x02\"\x14\x0A\x12ReserveIdsResponse\"\xF2\x04\x0A\x08Mutation\x12-\x0A\x06insert\x18\x04 \x01(\x0B2\x1B.google.datastore.v1.EntityH\x00\x12-\x0A\x06update\x18\x05 \x01(\x0B2\x1B.google.datastore.v1.EntityH\x00\x12-\x0A\x06upsert\x18\x06 \x01(\x0B2\x1B.google.datastore.v1.EntityH\x00\x12*\x0A\x06delete\x18\x07 \x01(\x0B2\x18.google.datastore.v1.KeyH\x00\x12\x16\x0A\x0Cbase_version\x18\x08 \x01(\x03H\x01\x121\x0A\x0Bupdate_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampH\x01\x12^\x0A\x1Cconflict_resolution_strategy\x18\x0A \x01(\x0E28.google.datastore.v1.Mutation.ConflictResolutionStrategy\x128\x0A\x0Dproperty_mask\x18\x09 \x01(\x0B2!.google.datastore.v1.PropertyMask\x12H\x0A\x13property_transforms\x18\x0C \x03(\x0B2&.google.datastore.v1.PropertyTransformB\x03\xE0A\x01\"R\x0A\x1AConflictResolutionStrategy\x12\x18\x0A\x14STRATEGY_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CSERVER_VALUE\x10\x01\x12\x08\x0A\x04FAIL\x10\x03B\x0B\x0A\x09operationB\x1D\x0A\x1Bconflict_detection_strategy\"\xE3\x03\x0A\x11PropertyTransform\x12\x15\x0A\x08property\x18\x01 \x01(\x09B\x03\xE0A\x01\x12Q\x0A\x13set_to_server_value\x18\x02 \x01(\x0E22.google.datastore.v1.PropertyTransform.ServerValueH\x00\x12/\x0A\x09increment\x18\x03 \x01(\x0B2\x1A.google.datastore.v1.ValueH\x00\x12-\x0A\x07maximum\x18\x04 \x01(\x0B2\x1A.google.datastore.v1.ValueH\x00\x12-\x0A\x07minimum\x18\x05 \x01(\x0B2\x1A.google.datastore.v1.ValueH\x00\x12B\x0A\x17append_missing_elements\x18\x06 \x01(\x0B2\x1F.google.datastore.v1.ArrayValueH\x00\x12@\x0A\x15remove_all_from_array\x18\x07 \x01(\x0B2\x1F.google.datastore.v1.ArrayValueH\x00\"=\x0A\x0BServerValue\x12\x1C\x0A\x18SERVER_VALUE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CREQUEST_TIME\x10\x01B\x10\x0A\x0Etransform_type\"\xFC\x01\x0A\x0EMutationResult\x12%\x0A\x03key\x18\x03 \x01(\x0B2\x18.google.datastore.v1.Key\x12\x0F\x0A\x07version\x18\x04 \x01(\x03\x12/\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12/\x0A\x0Bupdate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x19\x0A\x11conflict_detected\x18\x05 \x01(\x08\x125\x0A\x11transform_results\x18\x08 \x03(\x0B2\x1A.google.datastore.v1.Value\"\x1D\x0A\x0CPropertyMask\x12\x0D\x0A\x05paths\x18\x01 \x03(\x09\"\xCA\x02\x0A\x0BReadOptions\x12L\x0A\x10read_consistency\x18\x01 \x01(\x0E20.google.datastore.v1.ReadOptions.ReadConsistencyH\x00\x12\x15\x0A\x0Btransaction\x18\x02 \x01(\x0CH\x00\x12B\x0A\x0Fnew_transaction\x18\x03 \x01(\x0B2'.google.datastore.v1.TransactionOptionsH\x00\x12/\x0A\x09read_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampH\x00\"M\x0A\x0FReadConsistency\x12 \x0A\x1CREAD_CONSISTENCY_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06STRONG\x10\x01\x12\x0C\x0A\x08EVENTUAL\x10\x02B\x12\x0A\x10consistency_type\"\x92\x02\x0A\x12TransactionOptions\x12G\x0A\x0Aread_write\x18\x01 \x01(\x0B21.google.datastore.v1.TransactionOptions.ReadWriteH\x00\x12E\x0A\x09read_only\x18\x02 \x01(\x0B20.google.datastore.v1.TransactionOptions.ReadOnlyH\x00\x1A)\x0A\x09ReadWrite\x12\x1C\x0A\x14previous_transaction\x18\x01 \x01(\x0C\x1A9\x0A\x08ReadOnly\x12-\x0A\x09read_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x06\x0A\x04mode2\xE1\x0D\x0A\x09Datastore\x12\xC0\x01\x0A\x06Lookup\x12\".google.datastore.v1.LookupRequest\x1A#.google.datastore.v1.LookupResponse\"m\xDAA\x1Cproject_id,read_options,keys\x82\xD3\xE4\x93\x02%\" /v1/projects/{project_id}:lookup:\x01*\x8A\xD3\xE4\x93\x02\x1D\x12\x0C\x0A\x0Aproject_id\x12\x0D\x0A\x0Bdatabase_id\x12\xA9\x01\x0A\x08RunQuery\x12\$.google.datastore.v1.RunQueryRequest\x1A%.google.datastore.v1.RunQueryResponse\"P\x82\xD3\xE4\x93\x02'\"\"/v1/projects/{project_id}:runQuery:\x01*\x8A\xD3\xE4\x93\x02\x1D\x12\x0C\x0A\x0Aproject_id\x12\x0D\x0A\x0Bdatabase_id\x12\xD5\x01\x0A\x13RunAggregationQuery\x12/.google.datastore.v1.RunAggregationQueryRequest\x1A0.google.datastore.v1.RunAggregationQueryResponse\"[\x82\xD3\xE4\x93\x022\"-/v1/projects/{project_id}:runAggregationQuery:\x01*\x8A\xD3\xE4\x93\x02\x1D\x12\x0C\x0A\x0Aproject_id\x12\x0D\x0A\x0Bdatabase_id\x12\xD6\x01\x0A\x10BeginTransaction\x12,.google.datastore.v1.BeginTransactionRequest\x1A-.google.datastore.v1.BeginTransactionResponse\"e\xDAA\x0Aproject_id\x82\xD3\xE4\x93\x02/\"*/v1/projects/{project_id}:beginTransaction:\x01*\x8A\xD3\xE4\x93\x02\x1D\x12\x0C\x0A\x0Aproject_id\x12\x0D\x0A\x0Bdatabase_id\x12\xE6\x01\x0A\x06Commit\x12\".google.datastore.v1.CommitRequest\x1A#.google.datastore.v1.CommitResponse\"\x92\x01\xDAA%project_id,mode,transaction,mutations\xDAA\x19project_id,mode,mutations\x82\xD3\xE4\x93\x02%\" /v1/projects/{project_id}:commit:\x01*\x8A\xD3\xE4\x93\x02\x1D\x12\x0C\x0A\x0Aproject_id\x12\x0D\x0A\x0Bdatabase_id\x12\xC2\x01\x0A\x08Rollback\x12\$.google.datastore.v1.RollbackRequest\x1A%.google.datastore.v1.RollbackResponse\"i\xDAA\x16project_id,transaction\x82\xD3\xE4\x93\x02'\"\"/v1/projects/{project_id}:rollback:\x01*\x8A\xD3\xE4\x93\x02\x1D\x12\x0C\x0A\x0Aproject_id\x12\x0D\x0A\x0Bdatabase_id\x12\xC7\x01\x0A\x0BAllocateIds\x12'.google.datastore.v1.AllocateIdsRequest\x1A(.google.datastore.v1.AllocateIdsResponse\"e\xDAA\x0Fproject_id,keys\x82\xD3\xE4\x93\x02*\"%/v1/projects/{project_id}:allocateIds:\x01*\x8A\xD3\xE4\x93\x02\x1D\x12\x0C\x0A\x0Aproject_id\x12\x0D\x0A\x0Bdatabase_id\x12\xC3\x01\x0A\x0AReserveIds\x12&.google.datastore.v1.ReserveIdsRequest\x1A'.google.datastore.v1.ReserveIdsResponse\"d\xDAA\x0Fproject_id,keys\x82\xD3\xE4\x93\x02)\"\$/v1/projects/{project_id}:reserveIds:\x01*\x8A\xD3\xE4\x93\x02\x1D\x12\x0C\x0A\x0Aproject_id\x12\x0D\x0A\x0Bdatabase_id\x1Av\xCAA\x18datastore.googleapis.com\xD2AXhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/datastoreB\xBF\x01\x0A\x17com.google.datastore.v1B\x0EDatastoreProtoP\x01Z;cloud.google.com/go/datastore/apiv1/datastorepb;datastorepb\xAA\x02\x19Google.Cloud.Datastore.V1\xCA\x02\x19Google\\Cloud\\Datastore\\V1\xEA\x02\x1CGoogle::Cloud::Datastore::V1b\x06proto3"
        , true);

        static::$is_initialized = true;
    }
}

