
com.google.datastore.v1.QueryProto Maven / Gradle / Ivy
/*
* 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/query.proto
package com.google.datastore.v1;
public final class QueryProto {
private QueryProto() {}
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_EntityResult_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_EntityResult_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_Query_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_Query_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_AggregationQuery_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_AggregationQuery_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_AggregationQuery_Aggregation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_KindExpression_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_KindExpression_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_PropertyReference_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_PropertyReference_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_Projection_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_Projection_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_PropertyOrder_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_PropertyOrder_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_Filter_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_Filter_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_CompositeFilter_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_CompositeFilter_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_PropertyFilter_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_PropertyFilter_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_GqlQuery_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_GqlQuery_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_GqlQuery_NamedBindingsEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_GqlQuery_NamedBindingsEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_GqlQueryParameter_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_GqlQueryParameter_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_datastore_v1_QueryResultBatch_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_datastore_v1_QueryResultBatch_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\037google/datastore/v1/query.proto\022\023googl"
+ "e.datastore.v1\032\037google/api/field_behavio"
+ "r.proto\032 google/datastore/v1/entity.prot"
+ "o\032\037google/protobuf/timestamp.proto\032\036goog"
+ "le/protobuf/wrappers.proto\"\340\001\n\014EntityRes"
+ "ult\022+\n\006entity\030\001 \001(\0132\033.google.datastore.v"
+ "1.Entity\022\017\n\007version\030\004 \001(\003\022/\n\013update_time"
+ "\030\005 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006cu"
+ "rsor\030\003 \001(\014\"Q\n\nResultType\022\033\n\027RESULT_TYPE_"
+ "UNSPECIFIED\020\000\022\010\n\004FULL\020\001\022\016\n\nPROJECTION\020\002\022"
+ "\014\n\010KEY_ONLY\020\003\"\362\002\n\005Query\0223\n\nprojection\030\002 "
+ "\003(\0132\037.google.datastore.v1.Projection\0221\n\004"
+ "kind\030\003 \003(\0132#.google.datastore.v1.KindExp"
+ "ression\022+\n\006filter\030\004 \001(\0132\033.google.datasto"
+ "re.v1.Filter\0221\n\005order\030\005 \003(\0132\".google.dat"
+ "astore.v1.PropertyOrder\022;\n\013distinct_on\030\006"
+ " \003(\0132&.google.datastore.v1.PropertyRefer"
+ "ence\022\024\n\014start_cursor\030\007 \001(\014\022\022\n\nend_cursor"
+ "\030\010 \001(\014\022\016\n\006offset\030\n \001(\005\022*\n\005limit\030\014 \001(\0132\033."
+ "google.protobuf.Int32Value\"\326\002\n\020Aggregati"
+ "onQuery\0222\n\014nested_query\030\001 \001(\0132\032.google.d"
+ "atastore.v1.QueryH\000\022L\n\014aggregations\030\003 \003("
+ "\01321.google.datastore.v1.AggregationQuery"
+ ".AggregationB\003\340A\001\032\261\001\n\013Aggregation\022H\n\005cou"
+ "nt\030\001 \001(\01327.google.datastore.v1.Aggregati"
+ "onQuery.Aggregation.CountH\000\022\022\n\005alias\030\007 \001"
+ "(\tB\003\340A\001\0328\n\005Count\022/\n\005up_to\030\001 \001(\0132\033.google"
+ ".protobuf.Int64ValueB\003\340A\001B\n\n\010operatorB\014\n"
+ "\nquery_type\"\036\n\016KindExpression\022\014\n\004name\030\001 "
+ "\001(\t\"!\n\021PropertyReference\022\014\n\004name\030\002 \001(\t\"F"
+ "\n\nProjection\0228\n\010property\030\001 \001(\0132&.google."
+ "datastore.v1.PropertyReference\"\321\001\n\rPrope"
+ "rtyOrder\0228\n\010property\030\001 \001(\0132&.google.data"
+ "store.v1.PropertyReference\022?\n\tdirection\030"
+ "\002 \001(\0162,.google.datastore.v1.PropertyOrde"
+ "r.Direction\"E\n\tDirection\022\031\n\025DIRECTION_UN"
+ "SPECIFIED\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESCENDING"
+ "\020\002\"\231\001\n\006Filter\022@\n\020composite_filter\030\001 \001(\0132"
+ "$.google.datastore.v1.CompositeFilterH\000\022"
+ ">\n\017property_filter\030\002 \001(\0132#.google.datast"
+ "ore.v1.PropertyFilterH\000B\r\n\013filter_type\"\251"
+ "\001\n\017CompositeFilter\0229\n\002op\030\001 \001(\0162-.google."
+ "datastore.v1.CompositeFilter.Operator\022,\n"
+ "\007filters\030\002 \003(\0132\033.google.datastore.v1.Fil"
+ "ter\"-\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED\020"
+ "\000\022\007\n\003AND\020\001\"\352\002\n\016PropertyFilter\0228\n\010propert"
+ "y\030\001 \001(\0132&.google.datastore.v1.PropertyRe"
+ "ference\0228\n\002op\030\002 \001(\0162,.google.datastore.v"
+ "1.PropertyFilter.Operator\022)\n\005value\030\003 \001(\013"
+ "2\032.google.datastore.v1.Value\"\270\001\n\010Operato"
+ "r\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\r\n\tLESS_THAN"
+ "\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020\002\022\020\n\014GREATER_TH"
+ "AN\020\003\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t\n\005EQUAL"
+ "\020\005\022\006\n\002IN\020\006\022\r\n\tNOT_EQUAL\020\t\022\020\n\014HAS_ANCESTO"
+ "R\020\013\022\n\n\006NOT_IN\020\r\"\245\002\n\010GqlQuery\022\024\n\014query_st"
+ "ring\030\001 \001(\t\022\026\n\016allow_literals\030\002 \001(\010\022H\n\016na"
+ "med_bindings\030\005 \003(\01320.google.datastore.v1"
+ ".GqlQuery.NamedBindingsEntry\022C\n\023position"
+ "al_bindings\030\004 \003(\0132&.google.datastore.v1."
+ "GqlQueryParameter\032\\\n\022NamedBindingsEntry\022"
+ "\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.google.dat"
+ "astore.v1.GqlQueryParameter:\0028\001\"d\n\021GqlQu"
+ "eryParameter\022+\n\005value\030\002 \001(\0132\032.google.dat"
+ "astore.v1.ValueH\000\022\020\n\006cursor\030\003 \001(\014H\000B\020\n\016p"
+ "arameter_type\"\215\004\n\020QueryResultBatch\022\027\n\017sk"
+ "ipped_results\030\006 \001(\005\022\026\n\016skipped_cursor\030\003 "
+ "\001(\014\022H\n\022entity_result_type\030\001 \001(\0162,.google"
+ ".datastore.v1.EntityResult.ResultType\0229\n"
+ "\016entity_results\030\002 \003(\0132!.google.datastore"
+ ".v1.EntityResult\022\022\n\nend_cursor\030\004 \001(\014\022K\n\014"
+ "more_results\030\005 \001(\01625.google.datastore.v1"
+ ".QueryResultBatch.MoreResultsType\022\030\n\020sna"
+ "pshot_version\030\007 \001(\003\022-\n\tread_time\030\010 \001(\0132\032"
+ ".google.protobuf.Timestamp\"\230\001\n\017MoreResul"
+ "tsType\022!\n\035MORE_RESULTS_TYPE_UNSPECIFIED\020"
+ "\000\022\020\n\014NOT_FINISHED\020\001\022\034\n\030MORE_RESULTS_AFTE"
+ "R_LIMIT\020\002\022\035\n\031MORE_RESULTS_AFTER_CURSOR\020\004"
+ "\022\023\n\017NO_MORE_RESULTS\020\003B\274\001\n\027com.google.dat"
+ "astore.v1B\nQueryProtoP\001Z
© 2015 - 2025 Weber Informatics LLC | Privacy Policy