com.google.appengine.repackaged.com.google.datastore.v1.DatastoreProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appengine-api-1.0-sdk
Show all versions of appengine-api-1.0-sdk
API for Google App Engine standard environment with some of the dependencies shaded (repackaged)
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/datastore/v1/datastore.proto
package com.google.datastore.v1;
public final class DatastoreProto {
private DatastoreProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_LookupRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_LookupResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_RunQueryRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_RunQueryResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_RollbackRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_RollbackResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_CommitRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_CommitResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_Mutation_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_Mutation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_MutationResult_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_MutationResult_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_ReadOptions_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_TransactionOptions_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_TransactionOptions_ReadOnly_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
static {
java.lang.String[] descriptorData = {
"\n#google/datastore/v1/datastore.proto\022\023g"
+ "oogle.datastore.v1\032\034google/api/annotatio"
+ "ns.proto\032\027google/api/client.proto\032\037googl"
+ "e/api/field_behavior.proto\032\030google/api/r"
+ "outing.proto\032,google/datastore/v1/aggreg"
+ "ation_result.proto\032 google/datastore/v1/"
+ "entity.proto\032\037google/datastore/v1/query."
+ "proto\032\037google/protobuf/timestamp.proto\"\242"
+ "\001\n\rLookupRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A"
+ "\002\022\023\n\013database_id\030\t \001(\t\0226\n\014read_options\030\001"
+ " \001(\0132 .google.datastore.v1.ReadOptions\022+"
+ "\n\004keys\030\003 \003(\0132\030.google.datastore.v1.KeyB\003"
+ "\340A\002\"\346\001\n\016LookupResponse\0220\n\005found\030\001 \003(\0132!."
+ "google.datastore.v1.EntityResult\0222\n\007miss"
+ "ing\030\002 \003(\0132!.google.datastore.v1.EntityRe"
+ "sult\022*\n\010deferred\030\003 \003(\0132\030.google.datastor"
+ "e.v1.Key\022\023\n\013transaction\030\005 \001(\014\022-\n\tread_ti"
+ "me\030\007 \001(\0132\032.google.protobuf.Timestamp\"\236\002\n"
+ "\017RunQueryRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A"
+ "\002\022\023\n\013database_id\030\t \001(\t\0226\n\014partition_id\030\002"
+ " \001(\0132 .google.datastore.v1.PartitionId\0226"
+ "\n\014read_options\030\001 \001(\0132 .google.datastore."
+ "v1.ReadOptions\022+\n\005query\030\003 \001(\0132\032.google.d"
+ "atastore.v1.QueryH\000\0222\n\tgql_query\030\007 \001(\0132\035"
+ ".google.datastore.v1.GqlQueryH\000B\014\n\nquery"
+ "_type\"\210\001\n\020RunQueryResponse\0224\n\005batch\030\001 \001("
+ "\0132%.google.datastore.v1.QueryResultBatch"
+ "\022)\n\005query\030\002 \001(\0132\032.google.datastore.v1.Qu"
+ "ery\022\023\n\013transaction\030\005 \001(\014\"\300\002\n\032RunAggregat"
+ "ionQueryRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002"
+ "\022\023\n\013database_id\030\t \001(\t\0226\n\014partition_id\030\002 "
+ "\001(\0132 .google.datastore.v1.PartitionId\0226\n"
+ "\014read_options\030\001 \001(\0132 .google.datastore.v"
+ "1.ReadOptions\022B\n\021aggregation_query\030\003 \001(\013"
+ "2%.google.datastore.v1.AggregationQueryH"
+ "\000\0222\n\tgql_query\030\007 \001(\0132\035.google.datastore."
+ "v1.GqlQueryH\000B\014\n\nquery_type\"\244\001\n\033RunAggre"
+ "gationQueryResponse\022:\n\005batch\030\001 \001(\0132+.goo"
+ "gle.datastore.v1.AggregationResultBatch\022"
+ "4\n\005query\030\002 \001(\0132%.google.datastore.v1.Agg"
+ "regationQuery\022\023\n\013transaction\030\005 \001(\014\"\215\001\n\027B"
+ "eginTransactionRequest\022\027\n\nproject_id\030\010 \001"
+ "(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\022D\n\023transact"
+ "ion_options\030\n \001(\0132\'.google.datastore.v1."
+ "TransactionOptions\"/\n\030BeginTransactionRe"
+ "sponse\022\023\n\013transaction\030\001 \001(\014\"Y\n\017RollbackR"
+ "equest\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002\022\023\n\013datab"
+ "ase_id\030\t \001(\t\022\030\n\013transaction\030\001 \001(\014B\003\340A\002\"\022"
+ "\n\020RollbackResponse\"\350\002\n\rCommitRequest\022\027\n\n"
+ "project_id\030\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001"
+ "(\t\0225\n\004mode\030\005 \001(\0162\'.google.datastore.v1.C"
+ "ommitRequest.Mode\022\025\n\013transaction\030\001 \001(\014H\000"
+ "\022I\n\026single_use_transaction\030\n \001(\0132\'.googl"
+ "e.datastore.v1.TransactionOptionsH\000\0220\n\tm"
+ "utations\030\006 \003(\0132\035.google.datastore.v1.Mut"
+ "ation\"F\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\021\n\rT"
+ "RANSACTIONAL\020\001\022\025\n\021NON_TRANSACTIONAL\020\002B\026\n"
+ "\024transaction_selector\"\227\001\n\016CommitResponse"
+ "\022=\n\020mutation_results\030\003 \003(\0132#.google.data"
+ "store.v1.MutationResult\022\025\n\rindex_updates"
+ "\030\004 \001(\005\022/\n\013commit_time\030\010 \001(\0132\032.google.pro"
+ "tobuf.Timestamp\"o\n\022AllocateIdsRequest\022\027\n"
+ "\nproject_id\030\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t "
+ "\001(\t\022+\n\004keys\030\001 \003(\0132\030.google.datastore.v1."
+ "KeyB\003\340A\002\"=\n\023AllocateIdsResponse\022&\n\004keys\030"
+ "\001 \003(\0132\030.google.datastore.v1.Key\"n\n\021Reser"
+ "veIdsRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002\022\023\n"
+ "\013database_id\030\t \001(\t\022+\n\004keys\030\001 \003(\0132\030.googl"
+ "e.datastore.v1.KeyB\003\340A\002\"\024\n\022ReserveIdsRes"
+ "ponse\"\272\002\n\010Mutation\022-\n\006insert\030\004 \001(\0132\033.goo"
+ "gle.datastore.v1.EntityH\000\022-\n\006update\030\005 \001("
+ "\0132\033.google.datastore.v1.EntityH\000\022-\n\006upse"
+ "rt\030\006 \001(\0132\033.google.datastore.v1.EntityH\000\022"
+ "*\n\006delete\030\007 \001(\0132\030.google.datastore.v1.Ke"
+ "yH\000\022\026\n\014base_version\030\010 \001(\003H\001\0221\n\013update_ti"
+ "me\030\013 \001(\0132\032.google.protobuf.TimestampH\001B\013"
+ "\n\toperationB\035\n\033conflict_detection_strate"
+ "gy\"\224\001\n\016MutationResult\022%\n\003key\030\003 \001(\0132\030.goo"
+ "gle.datastore.v1.Key\022\017\n\007version\030\004 \001(\003\022/\n"
+ "\013update_time\030\006 \001(\0132\032.google.protobuf.Tim"
+ "estamp\022\031\n\021conflict_detected\030\005 \001(\010\"\312\002\n\013Re"
+ "adOptions\022L\n\020read_consistency\030\001 \001(\01620.go"
+ "ogle.datastore.v1.ReadOptions.ReadConsis"
+ "tencyH\000\022\025\n\013transaction\030\002 \001(\014H\000\022B\n\017new_tr"
+ "ansaction\030\003 \001(\0132\'.google.datastore.v1.Tr"
+ "ansactionOptionsH\000\022/\n\tread_time\030\004 \001(\0132\032."
+ "google.protobuf.TimestampH\000\"M\n\017ReadConsi"
+ "stency\022 \n\034READ_CONSISTENCY_UNSPECIFIED\020\000"
+ "\022\n\n\006STRONG\020\001\022\014\n\010EVENTUAL\020\002B\022\n\020consistenc"
+ "y_type\"\222\002\n\022TransactionOptions\022G\n\nread_wr"
+ "ite\030\001 \001(\01321.google.datastore.v1.Transact"
+ "ionOptions.ReadWriteH\000\022E\n\tread_only\030\002 \001("
+ "\01320.google.datastore.v1.TransactionOptio"
+ "ns.ReadOnlyH\000\032)\n\tReadWrite\022\034\n\024previous_t"
+ "ransaction\030\001 \001(\014\0329\n\010ReadOnly\022-\n\tread_tim"
+ "e\030\001 \001(\0132\032.google.protobuf.TimestampB\006\n\004m"
+ "ode2\341\r\n\tDatastore\022\300\001\n\006Lookup\022\".google.da"
+ "tastore.v1.LookupRequest\032#.google.datast"
+ "ore.v1.LookupResponse\"m\202\323\344\223\002%\" /v1/proje"
+ "cts/{project_id}:lookup:\001*\212\323\344\223\002\035\022\014\n\nproj"
+ "ect_id\022\r\n\013database_id\332A\034project_id,read_"
+ "options,keys\022\251\001\n\010RunQuery\022$.google.datas"
+ "tore.v1.RunQueryRequest\032%.google.datasto"
+ "re.v1.RunQueryResponse\"P\202\323\344\223\002\'\"\"/v1/proj"
+ "ects/{project_id}:runQuery:\001*\212\323\344\223\002\035\022\014\n\np"
+ "roject_id\022\r\n\013database_id\022\325\001\n\023RunAggregat"
+ "ionQuery\022/.google.datastore.v1.RunAggreg"
+ "ationQueryRequest\0320.google.datastore.v1."
+ "RunAggregationQueryResponse\"[\202\323\344\223\0022\"-/v1"
+ "/projects/{project_id}:runAggregationQue"
+ "ry:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id"
+ "\022\326\001\n\020BeginTransaction\022,.google.datastore"
+ ".v1.BeginTransactionRequest\032-.google.dat"
+ "astore.v1.BeginTransactionResponse\"e\202\323\344\223"
+ "\002/\"*/v1/projects/{project_id}:beginTrans"
+ "action:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013databas"
+ "e_id\332A\nproject_id\022\346\001\n\006Commit\022\".google.da"
+ "tastore.v1.CommitRequest\032#.google.datast"
+ "ore.v1.CommitResponse\"\222\001\202\323\344\223\002%\" /v1/proj"
+ "ects/{project_id}:commit:\001*\212\323\344\223\002\035\022\014\n\npro"
+ "ject_id\022\r\n\013database_id\332A%project_id,mode"
+ ",transaction,mutations\332A\031project_id,mode"
+ ",mutations\022\302\001\n\010Rollback\022$.google.datasto"
+ "re.v1.RollbackRequest\032%.google.datastore"
+ ".v1.RollbackResponse\"i\202\323\344\223\002\'\"\"/v1/projec"
+ "ts/{project_id}:rollback:\001*\212\323\344\223\002\035\022\014\n\npro"
+ "ject_id\022\r\n\013database_id\332A\026project_id,tran"
+ "saction\022\307\001\n\013AllocateIds\022\'.google.datasto"
+ "re.v1.AllocateIdsRequest\032(.google.datast"
+ "ore.v1.AllocateIdsResponse\"e\202\323\344\223\002*\"%/v1/"
+ "projects/{project_id}:allocateIds:\001*\212\323\344\223"
+ "\002\035\022\014\n\nproject_id\022\r\n\013database_id\332A\017projec"
+ "t_id,keys\022\303\001\n\nReserveIds\022&.google.datast"
+ "ore.v1.ReserveIdsRequest\032\'.google.datast"
+ "ore.v1.ReserveIdsResponse\"d\202\323\344\223\002)\"$/v1/p"
+ "rojects/{project_id}:reserveIds:\001*\212\323\344\223\002\035"
+ "\022\014\n\nproject_id\022\r\n\013database_id\332A\017project_"
+ "id,keys\032v\312A\030datastore.googleapis.com\322AXh"
+ "ttps://www.googleapis.com/auth/cloud-pla"
+ "tform,https://www.googleapis.com/auth/da"
+ "tastoreB\300\001\n\027com.google.datastore.v1B\016Dat"
+ "astoreProtoP\001Z