com.google.datastore.v1.DatastoreProto Maven / Gradle / Ivy
/*
* Copyright 2023 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\"\244"
+ "\001\n\rLookupRequest\022\030\n\nproject_id\030\010 \001(\tB\004\342A"
+ "\001\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"
+ "\004\342A\001\002\"\346\001\n\016LookupResponse\0220\n\005found\030\001 \003(\0132"
+ "!.google.datastore.v1.EntityResult\0222\n\007mi"
+ "ssing\030\002 \003(\0132!.google.datastore.v1.Entity"
+ "Result\022*\n\010deferred\030\003 \003(\0132\030.google.datast"
+ "ore.v1.Key\022\023\n\013transaction\030\005 \001(\014\022-\n\tread_"
+ "time\030\007 \001(\0132\032.google.protobuf.Timestamp\"\237"
+ "\002\n\017RunQueryRequest\022\030\n\nproject_id\030\010 \001(\tB\004"
+ "\342A\001\002\022\023\n\013database_id\030\t \001(\t\0226\n\014partition_i"
+ "d\030\002 \001(\0132 .google.datastore.v1.PartitionI"
+ "d\0226\n\014read_options\030\001 \001(\0132 .google.datasto"
+ "re.v1.ReadOptions\022+\n\005query\030\003 \001(\0132\032.googl"
+ "e.datastore.v1.QueryH\000\0222\n\tgql_query\030\007 \001("
+ "\0132\035.google.datastore.v1.GqlQueryH\000B\014\n\nqu"
+ "ery_type\"\210\001\n\020RunQueryResponse\0224\n\005batch\030\001"
+ " \001(\0132%.google.datastore.v1.QueryResultBa"
+ "tch\022)\n\005query\030\002 \001(\0132\032.google.datastore.v1"
+ ".Query\022\023\n\013transaction\030\005 \001(\014\"\301\002\n\032RunAggre"
+ "gationQueryRequest\022\030\n\nproject_id\030\010 \001(\tB\004"
+ "\342A\001\002\022\023\n\013database_id\030\t \001(\t\0226\n\014partition_i"
+ "d\030\002 \001(\0132 .google.datastore.v1.PartitionI"
+ "d\0226\n\014read_options\030\001 \001(\0132 .google.datasto"
+ "re.v1.ReadOptions\022B\n\021aggregation_query\030\003"
+ " \001(\0132%.google.datastore.v1.AggregationQu"
+ "eryH\000\0222\n\tgql_query\030\007 \001(\0132\035.google.datast"
+ "ore.v1.GqlQueryH\000B\014\n\nquery_type\"\244\001\n\033RunA"
+ "ggregationQueryResponse\022:\n\005batch\030\001 \001(\0132+"
+ ".google.datastore.v1.AggregationResultBa"
+ "tch\0224\n\005query\030\002 \001(\0132%.google.datastore.v1"
+ ".AggregationQuery\022\023\n\013transaction\030\005 \001(\014\"\216"
+ "\001\n\027BeginTransactionRequest\022\030\n\nproject_id"
+ "\030\010 \001(\tB\004\342A\001\002\022\023\n\013database_id\030\t \001(\t\022D\n\023tra"
+ "nsaction_options\030\n \001(\0132\'.google.datastor"
+ "e.v1.TransactionOptions\"/\n\030BeginTransact"
+ "ionResponse\022\023\n\013transaction\030\001 \001(\014\"[\n\017Roll"
+ "backRequest\022\030\n\nproject_id\030\010 \001(\tB\004\342A\001\002\022\023\n"
+ "\013database_id\030\t \001(\t\022\031\n\013transaction\030\001 \001(\014B"
+ "\004\342A\001\002\"\022\n\020RollbackResponse\"\351\002\n\rCommitRequ"
+ "est\022\030\n\nproject_id\030\010 \001(\tB\004\342A\001\002\022\023\n\013databas"
+ "e_id\030\t \001(\t\0225\n\004mode\030\005 \001(\0162\'.google.datast"
+ "ore.v1.CommitRequest.Mode\022\025\n\013transaction"
+ "\030\001 \001(\014H\000\022I\n\026single_use_transaction\030\n \001(\013"
+ "2\'.google.datastore.v1.TransactionOption"
+ "sH\000\0220\n\tmutations\030\006 \003(\0132\035.google.datastor"
+ "e.v1.Mutation\"F\n\004Mode\022\024\n\020MODE_UNSPECIFIE"
+ "D\020\000\022\021\n\rTRANSACTIONAL\020\001\022\025\n\021NON_TRANSACTIO"
+ "NAL\020\002B\026\n\024transaction_selector\"\227\001\n\016Commit"
+ "Response\022=\n\020mutation_results\030\003 \003(\0132#.goo"
+ "gle.datastore.v1.MutationResult\022\025\n\rindex"
+ "_updates\030\004 \001(\005\022/\n\013commit_time\030\010 \001(\0132\032.go"
+ "ogle.protobuf.Timestamp\"q\n\022AllocateIdsRe"
+ "quest\022\030\n\nproject_id\030\010 \001(\tB\004\342A\001\002\022\023\n\013datab"
+ "ase_id\030\t \001(\t\022,\n\004keys\030\001 \003(\0132\030.google.data"
+ "store.v1.KeyB\004\342A\001\002\"=\n\023AllocateIdsRespons"
+ "e\022&\n\004keys\030\001 \003(\0132\030.google.datastore.v1.Ke"
+ "y\"p\n\021ReserveIdsRequest\022\030\n\nproject_id\030\010 \001"
+ "(\tB\004\342A\001\002\022\023\n\013database_id\030\t \001(\t\022,\n\004keys\030\001 "
+ "\003(\0132\030.google.datastore.v1.KeyB\004\342A\001\002\"\024\n\022R"
+ "eserveIdsResponse\"\272\002\n\010Mutation\022-\n\006insert"
+ "\030\004 \001(\0132\033.google.datastore.v1.EntityH\000\022-\n"
+ "\006update\030\005 \001(\0132\033.google.datastore.v1.Enti"
+ "tyH\000\022-\n\006upsert\030\006 \001(\0132\033.google.datastore."
+ "v1.EntityH\000\022*\n\006delete\030\007 \001(\0132\030.google.dat"
+ "astore.v1.KeyH\000\022\026\n\014base_version\030\010 \001(\003H\001\022"
+ "1\n\013update_time\030\013 \001(\0132\032.google.protobuf.T"
+ "imestampH\001B\013\n\toperationB\035\n\033conflict_dete"
+ "ction_strategy\"\305\001\n\016MutationResult\022%\n\003key"
+ "\030\003 \001(\0132\030.google.datastore.v1.Key\022\017\n\007vers"
+ "ion\030\004 \001(\003\022/\n\013create_time\030\007 \001(\0132\032.google."
+ "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132"
+ "\032.google.protobuf.Timestamp\022\031\n\021conflict_"
+ "detected\030\005 \001(\010\"\312\002\n\013ReadOptions\022L\n\020read_c"
+ "onsistency\030\001 \001(\01620.google.datastore.v1.R"
+ "eadOptions.ReadConsistencyH\000\022\025\n\013transact"
+ "ion\030\002 \001(\014H\000\022B\n\017new_transaction\030\003 \001(\0132\'.g"
+ "oogle.datastore.v1.TransactionOptionsH\000\022"
+ "/\n\tread_time\030\004 \001(\0132\032.google.protobuf.Tim"
+ "estampH\000\"M\n\017ReadConsistency\022 \n\034READ_CONS"
+ "ISTENCY_UNSPECIFIED\020\000\022\n\n\006STRONG\020\001\022\014\n\010EVE"
+ "NTUAL\020\002B\022\n\020consistency_type\"\222\002\n\022Transact"
+ "ionOptions\022G\n\nread_write\030\001 \001(\01321.google."
+ "datastore.v1.TransactionOptions.ReadWrit"
+ "eH\000\022E\n\tread_only\030\002 \001(\01320.google.datastor"
+ "e.v1.TransactionOptions.ReadOnlyH\000\032)\n\tRe"
+ "adWrite\022\034\n\024previous_transaction\030\001 \001(\014\0329\n"
+ "\010ReadOnly\022-\n\tread_time\030\001 \001(\0132\032.google.pr"
+ "otobuf.TimestampB\006\n\004mode2\341\r\n\tDatastore\022\300"
+ "\001\n\006Lookup\022\".google.datastore.v1.LookupRe"
+ "quest\032#.google.datastore.v1.LookupRespon"
+ "se\"m\332A\034project_id,read_options,keys\202\323\344\223\002"
+ "%\" /v1/projects/{project_id}:lookup:\001*\212\323"
+ "\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\251\001\n\010Ru"
+ "nQuery\022$.google.datastore.v1.RunQueryReq"
+ "uest\032%.google.datastore.v1.RunQueryRespo"
+ "nse\"P\202\323\344\223\002\'\"\"/v1/projects/{project_id}:r"
+ "unQuery:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013databa"
+ "se_id\022\325\001\n\023RunAggregationQuery\022/.google.d"
+ "atastore.v1.RunAggregationQueryRequest\0320"
+ ".google.datastore.v1.RunAggregationQuery"
+ "Response\"[\202\323\344\223\0022\"-/v1/projects/{project_"
+ "id}:runAggregationQuery:\001*\212\323\344\223\002\035\022\014\n\nproj"
+ "ect_id\022\r\n\013database_id\022\326\001\n\020BeginTransacti"
+ "on\022,.google.datastore.v1.BeginTransactio"
+ "nRequest\032-.google.datastore.v1.BeginTran"
+ "sactionResponse\"e\332A\nproject_id\202\323\344\223\002/\"*/v"
+ "1/projects/{project_id}:beginTransaction"
+ ":\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\346"
+ "\001\n\006Commit\022\".google.datastore.v1.CommitRe"
+ "quest\032#.google.datastore.v1.CommitRespon"
+ "se\"\222\001\332A%project_id,mode,transaction,muta"
+ "tions\332A\031project_id,mode,mutations\202\323\344\223\002%\""
+ " /v1/projects/{project_id}:commit:\001*\212\323\344\223"
+ "\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\302\001\n\010Roll"
+ "back\022$.google.datastore.v1.RollbackReque"
+ "st\032%.google.datastore.v1.RollbackRespons"
+ "e\"i\332A\026project_id,transaction\202\323\344\223\002\'\"\"/v1/"
+ "projects/{project_id}:rollback:\001*\212\323\344\223\002\035\022"
+ "\014\n\nproject_id\022\r\n\013database_id\022\307\001\n\013Allocat"
+ "eIds\022\'.google.datastore.v1.AllocateIdsRe"
+ "quest\032(.google.datastore.v1.AllocateIdsR"
+ "esponse\"e\332A\017project_id,keys\202\323\344\223\002*\"%/v1/p"
+ "rojects/{project_id}:allocateIds:\001*\212\323\344\223\002"
+ "\035\022\014\n\nproject_id\022\r\n\013database_id\022\303\001\n\nReser"
+ "veIds\022&.google.datastore.v1.ReserveIdsRe"
+ "quest\032\'.google.datastore.v1.ReserveIdsRe"
+ "sponse\"d\332A\017project_id,keys\202\323\344\223\002)\"$/v1/pr"
+ "ojects/{project_id}:reserveIds:\001*\212\323\344\223\002\035\022"
+ "\014\n\nproject_id\022\r\n\013database_id\032v\312A\030datasto"
+ "re.googleapis.com\322AXhttps://www.googleap"
+ "is.com/auth/cloud-platform,https://www.g"
+ "oogleapis.com/auth/datastoreB\300\001\n\027com.goo"
+ "gle.datastore.v1B\016DatastoreProtoP\001Z
© 2015 - 2025 Weber Informatics LLC | Privacy Policy