...

Source file src/google.golang.org/genproto/googleapis/datastore/v1/query.pb.go

Documentation: google.golang.org/genproto/googleapis/datastore/v1

     1  // Copyright 2024 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v4.24.4
    19  // source: google/datastore/v1/query.proto
    20  
    21  package datastore
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    31  	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
    32  )
    33  
    34  const (
    35  	// Verify that this generated code is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    37  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    39  )
    40  
    41  // Specifies what data the 'entity' field contains.
    42  // A `ResultType` is either implied (for example, in `LookupResponse.missing`
    43  // from `datastore.proto`, it is always `KEY_ONLY`) or specified by context
    44  // (for example, in message `QueryResultBatch`, field `entity_result_type`
    45  // specifies a `ResultType` for all the values in field `entity_results`).
    46  type EntityResult_ResultType int32
    47  
    48  const (
    49  	// Unspecified. This value is never used.
    50  	EntityResult_RESULT_TYPE_UNSPECIFIED EntityResult_ResultType = 0
    51  	// The key and properties.
    52  	EntityResult_FULL EntityResult_ResultType = 1
    53  	// A projected subset of properties. The entity may have no key.
    54  	EntityResult_PROJECTION EntityResult_ResultType = 2
    55  	// Only the key.
    56  	EntityResult_KEY_ONLY EntityResult_ResultType = 3
    57  )
    58  
    59  // Enum value maps for EntityResult_ResultType.
    60  var (
    61  	EntityResult_ResultType_name = map[int32]string{
    62  		0: "RESULT_TYPE_UNSPECIFIED",
    63  		1: "FULL",
    64  		2: "PROJECTION",
    65  		3: "KEY_ONLY",
    66  	}
    67  	EntityResult_ResultType_value = map[string]int32{
    68  		"RESULT_TYPE_UNSPECIFIED": 0,
    69  		"FULL":                    1,
    70  		"PROJECTION":              2,
    71  		"KEY_ONLY":                3,
    72  	}
    73  )
    74  
    75  func (x EntityResult_ResultType) Enum() *EntityResult_ResultType {
    76  	p := new(EntityResult_ResultType)
    77  	*p = x
    78  	return p
    79  }
    80  
    81  func (x EntityResult_ResultType) String() string {
    82  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    83  }
    84  
    85  func (EntityResult_ResultType) Descriptor() protoreflect.EnumDescriptor {
    86  	return file_google_datastore_v1_query_proto_enumTypes[0].Descriptor()
    87  }
    88  
    89  func (EntityResult_ResultType) Type() protoreflect.EnumType {
    90  	return &file_google_datastore_v1_query_proto_enumTypes[0]
    91  }
    92  
    93  func (x EntityResult_ResultType) Number() protoreflect.EnumNumber {
    94  	return protoreflect.EnumNumber(x)
    95  }
    96  
    97  // Deprecated: Use EntityResult_ResultType.Descriptor instead.
    98  func (EntityResult_ResultType) EnumDescriptor() ([]byte, []int) {
    99  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{0, 0}
   100  }
   101  
   102  // The sort direction.
   103  type PropertyOrder_Direction int32
   104  
   105  const (
   106  	// Unspecified. This value must not be used.
   107  	PropertyOrder_DIRECTION_UNSPECIFIED PropertyOrder_Direction = 0
   108  	// Ascending.
   109  	PropertyOrder_ASCENDING PropertyOrder_Direction = 1
   110  	// Descending.
   111  	PropertyOrder_DESCENDING PropertyOrder_Direction = 2
   112  )
   113  
   114  // Enum value maps for PropertyOrder_Direction.
   115  var (
   116  	PropertyOrder_Direction_name = map[int32]string{
   117  		0: "DIRECTION_UNSPECIFIED",
   118  		1: "ASCENDING",
   119  		2: "DESCENDING",
   120  	}
   121  	PropertyOrder_Direction_value = map[string]int32{
   122  		"DIRECTION_UNSPECIFIED": 0,
   123  		"ASCENDING":             1,
   124  		"DESCENDING":            2,
   125  	}
   126  )
   127  
   128  func (x PropertyOrder_Direction) Enum() *PropertyOrder_Direction {
   129  	p := new(PropertyOrder_Direction)
   130  	*p = x
   131  	return p
   132  }
   133  
   134  func (x PropertyOrder_Direction) String() string {
   135  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   136  }
   137  
   138  func (PropertyOrder_Direction) Descriptor() protoreflect.EnumDescriptor {
   139  	return file_google_datastore_v1_query_proto_enumTypes[1].Descriptor()
   140  }
   141  
   142  func (PropertyOrder_Direction) Type() protoreflect.EnumType {
   143  	return &file_google_datastore_v1_query_proto_enumTypes[1]
   144  }
   145  
   146  func (x PropertyOrder_Direction) Number() protoreflect.EnumNumber {
   147  	return protoreflect.EnumNumber(x)
   148  }
   149  
   150  // Deprecated: Use PropertyOrder_Direction.Descriptor instead.
   151  func (PropertyOrder_Direction) EnumDescriptor() ([]byte, []int) {
   152  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{6, 0}
   153  }
   154  
   155  // A composite filter operator.
   156  type CompositeFilter_Operator int32
   157  
   158  const (
   159  	// Unspecified. This value must not be used.
   160  	CompositeFilter_OPERATOR_UNSPECIFIED CompositeFilter_Operator = 0
   161  	// The results are required to satisfy each of the combined filters.
   162  	CompositeFilter_AND CompositeFilter_Operator = 1
   163  	// Documents are required to satisfy at least one of the combined filters.
   164  	CompositeFilter_OR CompositeFilter_Operator = 2
   165  )
   166  
   167  // Enum value maps for CompositeFilter_Operator.
   168  var (
   169  	CompositeFilter_Operator_name = map[int32]string{
   170  		0: "OPERATOR_UNSPECIFIED",
   171  		1: "AND",
   172  		2: "OR",
   173  	}
   174  	CompositeFilter_Operator_value = map[string]int32{
   175  		"OPERATOR_UNSPECIFIED": 0,
   176  		"AND":                  1,
   177  		"OR":                   2,
   178  	}
   179  )
   180  
   181  func (x CompositeFilter_Operator) Enum() *CompositeFilter_Operator {
   182  	p := new(CompositeFilter_Operator)
   183  	*p = x
   184  	return p
   185  }
   186  
   187  func (x CompositeFilter_Operator) String() string {
   188  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   189  }
   190  
   191  func (CompositeFilter_Operator) Descriptor() protoreflect.EnumDescriptor {
   192  	return file_google_datastore_v1_query_proto_enumTypes[2].Descriptor()
   193  }
   194  
   195  func (CompositeFilter_Operator) Type() protoreflect.EnumType {
   196  	return &file_google_datastore_v1_query_proto_enumTypes[2]
   197  }
   198  
   199  func (x CompositeFilter_Operator) Number() protoreflect.EnumNumber {
   200  	return protoreflect.EnumNumber(x)
   201  }
   202  
   203  // Deprecated: Use CompositeFilter_Operator.Descriptor instead.
   204  func (CompositeFilter_Operator) EnumDescriptor() ([]byte, []int) {
   205  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{8, 0}
   206  }
   207  
   208  // A property filter operator.
   209  type PropertyFilter_Operator int32
   210  
   211  const (
   212  	// Unspecified. This value must not be used.
   213  	PropertyFilter_OPERATOR_UNSPECIFIED PropertyFilter_Operator = 0
   214  	// The given `property` is less than the given `value`.
   215  	//
   216  	// Requires:
   217  	//
   218  	// * That `property` comes first in `order_by`.
   219  	PropertyFilter_LESS_THAN PropertyFilter_Operator = 1
   220  	// The given `property` is less than or equal to the given `value`.
   221  	//
   222  	// Requires:
   223  	//
   224  	// * That `property` comes first in `order_by`.
   225  	PropertyFilter_LESS_THAN_OR_EQUAL PropertyFilter_Operator = 2
   226  	// The given `property` is greater than the given `value`.
   227  	//
   228  	// Requires:
   229  	//
   230  	// * That `property` comes first in `order_by`.
   231  	PropertyFilter_GREATER_THAN PropertyFilter_Operator = 3
   232  	// The given `property` is greater than or equal to the given `value`.
   233  	//
   234  	// Requires:
   235  	//
   236  	// * That `property` comes first in `order_by`.
   237  	PropertyFilter_GREATER_THAN_OR_EQUAL PropertyFilter_Operator = 4
   238  	// The given `property` is equal to the given `value`.
   239  	PropertyFilter_EQUAL PropertyFilter_Operator = 5
   240  	// The given `property` is equal to at least one value in the given array.
   241  	//
   242  	// Requires:
   243  	//
   244  	//   - That `value` is a non-empty `ArrayValue`, subject to disjunction
   245  	//     limits.
   246  	//   - No `NOT_IN` is in the same query.
   247  	PropertyFilter_IN PropertyFilter_Operator = 6
   248  	// The given `property` is not equal to the given `value`.
   249  	//
   250  	// Requires:
   251  	//
   252  	// * No other `NOT_EQUAL` or `NOT_IN` is in the same query.
   253  	// * That `property` comes first in the `order_by`.
   254  	PropertyFilter_NOT_EQUAL PropertyFilter_Operator = 9
   255  	// Limit the result set to the given entity and its descendants.
   256  	//
   257  	// Requires:
   258  	//
   259  	// * That `value` is an entity key.
   260  	// * All evaluated disjunctions must have the same `HAS_ANCESTOR` filter.
   261  	PropertyFilter_HAS_ANCESTOR PropertyFilter_Operator = 11
   262  	// The value of the `property` is not in the given array.
   263  	//
   264  	// Requires:
   265  	//
   266  	// * That `value` is a non-empty `ArrayValue` with at most 10 values.
   267  	// * No other `OR`, `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query.
   268  	// * That `field` comes first in the `order_by`.
   269  	PropertyFilter_NOT_IN PropertyFilter_Operator = 13
   270  )
   271  
   272  // Enum value maps for PropertyFilter_Operator.
   273  var (
   274  	PropertyFilter_Operator_name = map[int32]string{
   275  		0:  "OPERATOR_UNSPECIFIED",
   276  		1:  "LESS_THAN",
   277  		2:  "LESS_THAN_OR_EQUAL",
   278  		3:  "GREATER_THAN",
   279  		4:  "GREATER_THAN_OR_EQUAL",
   280  		5:  "EQUAL",
   281  		6:  "IN",
   282  		9:  "NOT_EQUAL",
   283  		11: "HAS_ANCESTOR",
   284  		13: "NOT_IN",
   285  	}
   286  	PropertyFilter_Operator_value = map[string]int32{
   287  		"OPERATOR_UNSPECIFIED":  0,
   288  		"LESS_THAN":             1,
   289  		"LESS_THAN_OR_EQUAL":    2,
   290  		"GREATER_THAN":          3,
   291  		"GREATER_THAN_OR_EQUAL": 4,
   292  		"EQUAL":                 5,
   293  		"IN":                    6,
   294  		"NOT_EQUAL":             9,
   295  		"HAS_ANCESTOR":          11,
   296  		"NOT_IN":                13,
   297  	}
   298  )
   299  
   300  func (x PropertyFilter_Operator) Enum() *PropertyFilter_Operator {
   301  	p := new(PropertyFilter_Operator)
   302  	*p = x
   303  	return p
   304  }
   305  
   306  func (x PropertyFilter_Operator) String() string {
   307  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   308  }
   309  
   310  func (PropertyFilter_Operator) Descriptor() protoreflect.EnumDescriptor {
   311  	return file_google_datastore_v1_query_proto_enumTypes[3].Descriptor()
   312  }
   313  
   314  func (PropertyFilter_Operator) Type() protoreflect.EnumType {
   315  	return &file_google_datastore_v1_query_proto_enumTypes[3]
   316  }
   317  
   318  func (x PropertyFilter_Operator) Number() protoreflect.EnumNumber {
   319  	return protoreflect.EnumNumber(x)
   320  }
   321  
   322  // Deprecated: Use PropertyFilter_Operator.Descriptor instead.
   323  func (PropertyFilter_Operator) EnumDescriptor() ([]byte, []int) {
   324  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{9, 0}
   325  }
   326  
   327  // The possible values for the `more_results` field.
   328  type QueryResultBatch_MoreResultsType int32
   329  
   330  const (
   331  	// Unspecified. This value is never used.
   332  	QueryResultBatch_MORE_RESULTS_TYPE_UNSPECIFIED QueryResultBatch_MoreResultsType = 0
   333  	// There may be additional batches to fetch from this query.
   334  	QueryResultBatch_NOT_FINISHED QueryResultBatch_MoreResultsType = 1
   335  	// The query is finished, but there may be more results after the limit.
   336  	QueryResultBatch_MORE_RESULTS_AFTER_LIMIT QueryResultBatch_MoreResultsType = 2
   337  	// The query is finished, but there may be more results after the end
   338  	// cursor.
   339  	QueryResultBatch_MORE_RESULTS_AFTER_CURSOR QueryResultBatch_MoreResultsType = 4
   340  	// The query is finished, and there are no more results.
   341  	QueryResultBatch_NO_MORE_RESULTS QueryResultBatch_MoreResultsType = 3
   342  )
   343  
   344  // Enum value maps for QueryResultBatch_MoreResultsType.
   345  var (
   346  	QueryResultBatch_MoreResultsType_name = map[int32]string{
   347  		0: "MORE_RESULTS_TYPE_UNSPECIFIED",
   348  		1: "NOT_FINISHED",
   349  		2: "MORE_RESULTS_AFTER_LIMIT",
   350  		4: "MORE_RESULTS_AFTER_CURSOR",
   351  		3: "NO_MORE_RESULTS",
   352  	}
   353  	QueryResultBatch_MoreResultsType_value = map[string]int32{
   354  		"MORE_RESULTS_TYPE_UNSPECIFIED": 0,
   355  		"NOT_FINISHED":                  1,
   356  		"MORE_RESULTS_AFTER_LIMIT":      2,
   357  		"MORE_RESULTS_AFTER_CURSOR":     4,
   358  		"NO_MORE_RESULTS":               3,
   359  	}
   360  )
   361  
   362  func (x QueryResultBatch_MoreResultsType) Enum() *QueryResultBatch_MoreResultsType {
   363  	p := new(QueryResultBatch_MoreResultsType)
   364  	*p = x
   365  	return p
   366  }
   367  
   368  func (x QueryResultBatch_MoreResultsType) String() string {
   369  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   370  }
   371  
   372  func (QueryResultBatch_MoreResultsType) Descriptor() protoreflect.EnumDescriptor {
   373  	return file_google_datastore_v1_query_proto_enumTypes[4].Descriptor()
   374  }
   375  
   376  func (QueryResultBatch_MoreResultsType) Type() protoreflect.EnumType {
   377  	return &file_google_datastore_v1_query_proto_enumTypes[4]
   378  }
   379  
   380  func (x QueryResultBatch_MoreResultsType) Number() protoreflect.EnumNumber {
   381  	return protoreflect.EnumNumber(x)
   382  }
   383  
   384  // Deprecated: Use QueryResultBatch_MoreResultsType.Descriptor instead.
   385  func (QueryResultBatch_MoreResultsType) EnumDescriptor() ([]byte, []int) {
   386  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{12, 0}
   387  }
   388  
   389  // The result of fetching an entity from Datastore.
   390  type EntityResult struct {
   391  	state         protoimpl.MessageState
   392  	sizeCache     protoimpl.SizeCache
   393  	unknownFields protoimpl.UnknownFields
   394  
   395  	// The resulting entity.
   396  	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
   397  	// The version of the entity, a strictly positive number that monotonically
   398  	// increases with changes to the entity.
   399  	//
   400  	// This field is set for
   401  	// [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity results.
   402  	//
   403  	// For [missing][google.datastore.v1.LookupResponse.missing] entities in
   404  	// `LookupResponse`, this is the version of the snapshot that was used to look
   405  	// up the entity, and it is always set except for eventually consistent reads.
   406  	Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
   407  	// The time at which the entity was created.
   408  	// This field is set for
   409  	// [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity results.
   410  	// If this entity is missing, this field will not be set.
   411  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
   412  	// The time at which the entity was last changed.
   413  	// This field is set for
   414  	// [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity results.
   415  	// If this entity is missing, this field will not be set.
   416  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
   417  	// A cursor that points to the position after the result entity.
   418  	// Set only when the `EntityResult` is part of a `QueryResultBatch` message.
   419  	Cursor []byte `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
   420  }
   421  
   422  func (x *EntityResult) Reset() {
   423  	*x = EntityResult{}
   424  	if protoimpl.UnsafeEnabled {
   425  		mi := &file_google_datastore_v1_query_proto_msgTypes[0]
   426  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   427  		ms.StoreMessageInfo(mi)
   428  	}
   429  }
   430  
   431  func (x *EntityResult) String() string {
   432  	return protoimpl.X.MessageStringOf(x)
   433  }
   434  
   435  func (*EntityResult) ProtoMessage() {}
   436  
   437  func (x *EntityResult) ProtoReflect() protoreflect.Message {
   438  	mi := &file_google_datastore_v1_query_proto_msgTypes[0]
   439  	if protoimpl.UnsafeEnabled && x != nil {
   440  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   441  		if ms.LoadMessageInfo() == nil {
   442  			ms.StoreMessageInfo(mi)
   443  		}
   444  		return ms
   445  	}
   446  	return mi.MessageOf(x)
   447  }
   448  
   449  // Deprecated: Use EntityResult.ProtoReflect.Descriptor instead.
   450  func (*EntityResult) Descriptor() ([]byte, []int) {
   451  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{0}
   452  }
   453  
   454  func (x *EntityResult) GetEntity() *Entity {
   455  	if x != nil {
   456  		return x.Entity
   457  	}
   458  	return nil
   459  }
   460  
   461  func (x *EntityResult) GetVersion() int64 {
   462  	if x != nil {
   463  		return x.Version
   464  	}
   465  	return 0
   466  }
   467  
   468  func (x *EntityResult) GetCreateTime() *timestamppb.Timestamp {
   469  	if x != nil {
   470  		return x.CreateTime
   471  	}
   472  	return nil
   473  }
   474  
   475  func (x *EntityResult) GetUpdateTime() *timestamppb.Timestamp {
   476  	if x != nil {
   477  		return x.UpdateTime
   478  	}
   479  	return nil
   480  }
   481  
   482  func (x *EntityResult) GetCursor() []byte {
   483  	if x != nil {
   484  		return x.Cursor
   485  	}
   486  	return nil
   487  }
   488  
   489  // A query for entities.
   490  type Query struct {
   491  	state         protoimpl.MessageState
   492  	sizeCache     protoimpl.SizeCache
   493  	unknownFields protoimpl.UnknownFields
   494  
   495  	// The projection to return. Defaults to returning all properties.
   496  	Projection []*Projection `protobuf:"bytes,2,rep,name=projection,proto3" json:"projection,omitempty"`
   497  	// The kinds to query (if empty, returns entities of all kinds).
   498  	// Currently at most 1 kind may be specified.
   499  	Kind []*KindExpression `protobuf:"bytes,3,rep,name=kind,proto3" json:"kind,omitempty"`
   500  	// The filter to apply.
   501  	Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
   502  	// The order to apply to the query results (if empty, order is unspecified).
   503  	Order []*PropertyOrder `protobuf:"bytes,5,rep,name=order,proto3" json:"order,omitempty"`
   504  	// The properties to make distinct. The query results will contain the first
   505  	// result for each distinct combination of values for the given properties
   506  	// (if empty, all results are returned).
   507  	//
   508  	// Requires:
   509  	//
   510  	// * If `order` is specified, the set of distinct on properties must appear
   511  	// before the non-distinct on properties in `order`.
   512  	DistinctOn []*PropertyReference `protobuf:"bytes,6,rep,name=distinct_on,json=distinctOn,proto3" json:"distinct_on,omitempty"`
   513  	// A starting point for the query results. Query cursors are
   514  	// returned in query result batches and
   515  	// [can only be used to continue the same
   516  	// query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
   517  	StartCursor []byte `protobuf:"bytes,7,opt,name=start_cursor,json=startCursor,proto3" json:"start_cursor,omitempty"`
   518  	// An ending point for the query results. Query cursors are
   519  	// returned in query result batches and
   520  	// [can only be used to limit the same
   521  	// query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
   522  	EndCursor []byte `protobuf:"bytes,8,opt,name=end_cursor,json=endCursor,proto3" json:"end_cursor,omitempty"`
   523  	// The number of results to skip. Applies before limit, but after all other
   524  	// constraints. Optional. Must be >= 0 if specified.
   525  	Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"`
   526  	// The maximum number of results to return. Applies after all other
   527  	// constraints. Optional.
   528  	// Unspecified is interpreted as no limit.
   529  	// Must be >= 0 if specified.
   530  	Limit *wrapperspb.Int32Value `protobuf:"bytes,12,opt,name=limit,proto3" json:"limit,omitempty"`
   531  }
   532  
   533  func (x *Query) Reset() {
   534  	*x = Query{}
   535  	if protoimpl.UnsafeEnabled {
   536  		mi := &file_google_datastore_v1_query_proto_msgTypes[1]
   537  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   538  		ms.StoreMessageInfo(mi)
   539  	}
   540  }
   541  
   542  func (x *Query) String() string {
   543  	return protoimpl.X.MessageStringOf(x)
   544  }
   545  
   546  func (*Query) ProtoMessage() {}
   547  
   548  func (x *Query) ProtoReflect() protoreflect.Message {
   549  	mi := &file_google_datastore_v1_query_proto_msgTypes[1]
   550  	if protoimpl.UnsafeEnabled && x != nil {
   551  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   552  		if ms.LoadMessageInfo() == nil {
   553  			ms.StoreMessageInfo(mi)
   554  		}
   555  		return ms
   556  	}
   557  	return mi.MessageOf(x)
   558  }
   559  
   560  // Deprecated: Use Query.ProtoReflect.Descriptor instead.
   561  func (*Query) Descriptor() ([]byte, []int) {
   562  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{1}
   563  }
   564  
   565  func (x *Query) GetProjection() []*Projection {
   566  	if x != nil {
   567  		return x.Projection
   568  	}
   569  	return nil
   570  }
   571  
   572  func (x *Query) GetKind() []*KindExpression {
   573  	if x != nil {
   574  		return x.Kind
   575  	}
   576  	return nil
   577  }
   578  
   579  func (x *Query) GetFilter() *Filter {
   580  	if x != nil {
   581  		return x.Filter
   582  	}
   583  	return nil
   584  }
   585  
   586  func (x *Query) GetOrder() []*PropertyOrder {
   587  	if x != nil {
   588  		return x.Order
   589  	}
   590  	return nil
   591  }
   592  
   593  func (x *Query) GetDistinctOn() []*PropertyReference {
   594  	if x != nil {
   595  		return x.DistinctOn
   596  	}
   597  	return nil
   598  }
   599  
   600  func (x *Query) GetStartCursor() []byte {
   601  	if x != nil {
   602  		return x.StartCursor
   603  	}
   604  	return nil
   605  }
   606  
   607  func (x *Query) GetEndCursor() []byte {
   608  	if x != nil {
   609  		return x.EndCursor
   610  	}
   611  	return nil
   612  }
   613  
   614  func (x *Query) GetOffset() int32 {
   615  	if x != nil {
   616  		return x.Offset
   617  	}
   618  	return 0
   619  }
   620  
   621  func (x *Query) GetLimit() *wrapperspb.Int32Value {
   622  	if x != nil {
   623  		return x.Limit
   624  	}
   625  	return nil
   626  }
   627  
   628  // Datastore query for running an aggregation over a
   629  // [Query][google.datastore.v1.Query].
   630  type AggregationQuery struct {
   631  	state         protoimpl.MessageState
   632  	sizeCache     protoimpl.SizeCache
   633  	unknownFields protoimpl.UnknownFields
   634  
   635  	// The base query to aggregate over.
   636  	//
   637  	// Types that are assignable to QueryType:
   638  	//
   639  	//	*AggregationQuery_NestedQuery
   640  	QueryType isAggregationQuery_QueryType `protobuf_oneof:"query_type"`
   641  	// Optional. Series of aggregations to apply over the results of the
   642  	// `nested_query`.
   643  	//
   644  	// Requires:
   645  	//
   646  	// * A minimum of one and maximum of five aggregations per query.
   647  	Aggregations []*AggregationQuery_Aggregation `protobuf:"bytes,3,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
   648  }
   649  
   650  func (x *AggregationQuery) Reset() {
   651  	*x = AggregationQuery{}
   652  	if protoimpl.UnsafeEnabled {
   653  		mi := &file_google_datastore_v1_query_proto_msgTypes[2]
   654  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   655  		ms.StoreMessageInfo(mi)
   656  	}
   657  }
   658  
   659  func (x *AggregationQuery) String() string {
   660  	return protoimpl.X.MessageStringOf(x)
   661  }
   662  
   663  func (*AggregationQuery) ProtoMessage() {}
   664  
   665  func (x *AggregationQuery) ProtoReflect() protoreflect.Message {
   666  	mi := &file_google_datastore_v1_query_proto_msgTypes[2]
   667  	if protoimpl.UnsafeEnabled && x != nil {
   668  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   669  		if ms.LoadMessageInfo() == nil {
   670  			ms.StoreMessageInfo(mi)
   671  		}
   672  		return ms
   673  	}
   674  	return mi.MessageOf(x)
   675  }
   676  
   677  // Deprecated: Use AggregationQuery.ProtoReflect.Descriptor instead.
   678  func (*AggregationQuery) Descriptor() ([]byte, []int) {
   679  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{2}
   680  }
   681  
   682  func (m *AggregationQuery) GetQueryType() isAggregationQuery_QueryType {
   683  	if m != nil {
   684  		return m.QueryType
   685  	}
   686  	return nil
   687  }
   688  
   689  func (x *AggregationQuery) GetNestedQuery() *Query {
   690  	if x, ok := x.GetQueryType().(*AggregationQuery_NestedQuery); ok {
   691  		return x.NestedQuery
   692  	}
   693  	return nil
   694  }
   695  
   696  func (x *AggregationQuery) GetAggregations() []*AggregationQuery_Aggregation {
   697  	if x != nil {
   698  		return x.Aggregations
   699  	}
   700  	return nil
   701  }
   702  
   703  type isAggregationQuery_QueryType interface {
   704  	isAggregationQuery_QueryType()
   705  }
   706  
   707  type AggregationQuery_NestedQuery struct {
   708  	// Nested query for aggregation
   709  	NestedQuery *Query `protobuf:"bytes,1,opt,name=nested_query,json=nestedQuery,proto3,oneof"`
   710  }
   711  
   712  func (*AggregationQuery_NestedQuery) isAggregationQuery_QueryType() {}
   713  
   714  // A representation of a kind.
   715  type KindExpression struct {
   716  	state         protoimpl.MessageState
   717  	sizeCache     protoimpl.SizeCache
   718  	unknownFields protoimpl.UnknownFields
   719  
   720  	// The name of the kind.
   721  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   722  }
   723  
   724  func (x *KindExpression) Reset() {
   725  	*x = KindExpression{}
   726  	if protoimpl.UnsafeEnabled {
   727  		mi := &file_google_datastore_v1_query_proto_msgTypes[3]
   728  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   729  		ms.StoreMessageInfo(mi)
   730  	}
   731  }
   732  
   733  func (x *KindExpression) String() string {
   734  	return protoimpl.X.MessageStringOf(x)
   735  }
   736  
   737  func (*KindExpression) ProtoMessage() {}
   738  
   739  func (x *KindExpression) ProtoReflect() protoreflect.Message {
   740  	mi := &file_google_datastore_v1_query_proto_msgTypes[3]
   741  	if protoimpl.UnsafeEnabled && x != nil {
   742  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   743  		if ms.LoadMessageInfo() == nil {
   744  			ms.StoreMessageInfo(mi)
   745  		}
   746  		return ms
   747  	}
   748  	return mi.MessageOf(x)
   749  }
   750  
   751  // Deprecated: Use KindExpression.ProtoReflect.Descriptor instead.
   752  func (*KindExpression) Descriptor() ([]byte, []int) {
   753  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{3}
   754  }
   755  
   756  func (x *KindExpression) GetName() string {
   757  	if x != nil {
   758  		return x.Name
   759  	}
   760  	return ""
   761  }
   762  
   763  // A reference to a property relative to the kind expressions.
   764  type PropertyReference struct {
   765  	state         protoimpl.MessageState
   766  	sizeCache     protoimpl.SizeCache
   767  	unknownFields protoimpl.UnknownFields
   768  
   769  	// A reference to a property.
   770  	//
   771  	// Requires:
   772  	//
   773  	// * MUST be a dot-delimited (`.`) string of segments, where each segment
   774  	// conforms to [entity property name][google.datastore.v1.Entity.properties]
   775  	// limitations.
   776  	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
   777  }
   778  
   779  func (x *PropertyReference) Reset() {
   780  	*x = PropertyReference{}
   781  	if protoimpl.UnsafeEnabled {
   782  		mi := &file_google_datastore_v1_query_proto_msgTypes[4]
   783  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   784  		ms.StoreMessageInfo(mi)
   785  	}
   786  }
   787  
   788  func (x *PropertyReference) String() string {
   789  	return protoimpl.X.MessageStringOf(x)
   790  }
   791  
   792  func (*PropertyReference) ProtoMessage() {}
   793  
   794  func (x *PropertyReference) ProtoReflect() protoreflect.Message {
   795  	mi := &file_google_datastore_v1_query_proto_msgTypes[4]
   796  	if protoimpl.UnsafeEnabled && x != nil {
   797  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   798  		if ms.LoadMessageInfo() == nil {
   799  			ms.StoreMessageInfo(mi)
   800  		}
   801  		return ms
   802  	}
   803  	return mi.MessageOf(x)
   804  }
   805  
   806  // Deprecated: Use PropertyReference.ProtoReflect.Descriptor instead.
   807  func (*PropertyReference) Descriptor() ([]byte, []int) {
   808  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{4}
   809  }
   810  
   811  func (x *PropertyReference) GetName() string {
   812  	if x != nil {
   813  		return x.Name
   814  	}
   815  	return ""
   816  }
   817  
   818  // A representation of a property in a projection.
   819  type Projection struct {
   820  	state         protoimpl.MessageState
   821  	sizeCache     protoimpl.SizeCache
   822  	unknownFields protoimpl.UnknownFields
   823  
   824  	// The property to project.
   825  	Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
   826  }
   827  
   828  func (x *Projection) Reset() {
   829  	*x = Projection{}
   830  	if protoimpl.UnsafeEnabled {
   831  		mi := &file_google_datastore_v1_query_proto_msgTypes[5]
   832  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   833  		ms.StoreMessageInfo(mi)
   834  	}
   835  }
   836  
   837  func (x *Projection) String() string {
   838  	return protoimpl.X.MessageStringOf(x)
   839  }
   840  
   841  func (*Projection) ProtoMessage() {}
   842  
   843  func (x *Projection) ProtoReflect() protoreflect.Message {
   844  	mi := &file_google_datastore_v1_query_proto_msgTypes[5]
   845  	if protoimpl.UnsafeEnabled && x != nil {
   846  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   847  		if ms.LoadMessageInfo() == nil {
   848  			ms.StoreMessageInfo(mi)
   849  		}
   850  		return ms
   851  	}
   852  	return mi.MessageOf(x)
   853  }
   854  
   855  // Deprecated: Use Projection.ProtoReflect.Descriptor instead.
   856  func (*Projection) Descriptor() ([]byte, []int) {
   857  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{5}
   858  }
   859  
   860  func (x *Projection) GetProperty() *PropertyReference {
   861  	if x != nil {
   862  		return x.Property
   863  	}
   864  	return nil
   865  }
   866  
   867  // The desired order for a specific property.
   868  type PropertyOrder struct {
   869  	state         protoimpl.MessageState
   870  	sizeCache     protoimpl.SizeCache
   871  	unknownFields protoimpl.UnknownFields
   872  
   873  	// The property to order by.
   874  	Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
   875  	// The direction to order by. Defaults to `ASCENDING`.
   876  	Direction PropertyOrder_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=google.datastore.v1.PropertyOrder_Direction" json:"direction,omitempty"`
   877  }
   878  
   879  func (x *PropertyOrder) Reset() {
   880  	*x = PropertyOrder{}
   881  	if protoimpl.UnsafeEnabled {
   882  		mi := &file_google_datastore_v1_query_proto_msgTypes[6]
   883  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   884  		ms.StoreMessageInfo(mi)
   885  	}
   886  }
   887  
   888  func (x *PropertyOrder) String() string {
   889  	return protoimpl.X.MessageStringOf(x)
   890  }
   891  
   892  func (*PropertyOrder) ProtoMessage() {}
   893  
   894  func (x *PropertyOrder) ProtoReflect() protoreflect.Message {
   895  	mi := &file_google_datastore_v1_query_proto_msgTypes[6]
   896  	if protoimpl.UnsafeEnabled && x != nil {
   897  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   898  		if ms.LoadMessageInfo() == nil {
   899  			ms.StoreMessageInfo(mi)
   900  		}
   901  		return ms
   902  	}
   903  	return mi.MessageOf(x)
   904  }
   905  
   906  // Deprecated: Use PropertyOrder.ProtoReflect.Descriptor instead.
   907  func (*PropertyOrder) Descriptor() ([]byte, []int) {
   908  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{6}
   909  }
   910  
   911  func (x *PropertyOrder) GetProperty() *PropertyReference {
   912  	if x != nil {
   913  		return x.Property
   914  	}
   915  	return nil
   916  }
   917  
   918  func (x *PropertyOrder) GetDirection() PropertyOrder_Direction {
   919  	if x != nil {
   920  		return x.Direction
   921  	}
   922  	return PropertyOrder_DIRECTION_UNSPECIFIED
   923  }
   924  
   925  // A holder for any type of filter.
   926  type Filter struct {
   927  	state         protoimpl.MessageState
   928  	sizeCache     protoimpl.SizeCache
   929  	unknownFields protoimpl.UnknownFields
   930  
   931  	// The type of filter.
   932  	//
   933  	// Types that are assignable to FilterType:
   934  	//
   935  	//	*Filter_CompositeFilter
   936  	//	*Filter_PropertyFilter
   937  	FilterType isFilter_FilterType `protobuf_oneof:"filter_type"`
   938  }
   939  
   940  func (x *Filter) Reset() {
   941  	*x = Filter{}
   942  	if protoimpl.UnsafeEnabled {
   943  		mi := &file_google_datastore_v1_query_proto_msgTypes[7]
   944  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   945  		ms.StoreMessageInfo(mi)
   946  	}
   947  }
   948  
   949  func (x *Filter) String() string {
   950  	return protoimpl.X.MessageStringOf(x)
   951  }
   952  
   953  func (*Filter) ProtoMessage() {}
   954  
   955  func (x *Filter) ProtoReflect() protoreflect.Message {
   956  	mi := &file_google_datastore_v1_query_proto_msgTypes[7]
   957  	if protoimpl.UnsafeEnabled && x != nil {
   958  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   959  		if ms.LoadMessageInfo() == nil {
   960  			ms.StoreMessageInfo(mi)
   961  		}
   962  		return ms
   963  	}
   964  	return mi.MessageOf(x)
   965  }
   966  
   967  // Deprecated: Use Filter.ProtoReflect.Descriptor instead.
   968  func (*Filter) Descriptor() ([]byte, []int) {
   969  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{7}
   970  }
   971  
   972  func (m *Filter) GetFilterType() isFilter_FilterType {
   973  	if m != nil {
   974  		return m.FilterType
   975  	}
   976  	return nil
   977  }
   978  
   979  func (x *Filter) GetCompositeFilter() *CompositeFilter {
   980  	if x, ok := x.GetFilterType().(*Filter_CompositeFilter); ok {
   981  		return x.CompositeFilter
   982  	}
   983  	return nil
   984  }
   985  
   986  func (x *Filter) GetPropertyFilter() *PropertyFilter {
   987  	if x, ok := x.GetFilterType().(*Filter_PropertyFilter); ok {
   988  		return x.PropertyFilter
   989  	}
   990  	return nil
   991  }
   992  
   993  type isFilter_FilterType interface {
   994  	isFilter_FilterType()
   995  }
   996  
   997  type Filter_CompositeFilter struct {
   998  	// A composite filter.
   999  	CompositeFilter *CompositeFilter `protobuf:"bytes,1,opt,name=composite_filter,json=compositeFilter,proto3,oneof"`
  1000  }
  1001  
  1002  type Filter_PropertyFilter struct {
  1003  	// A filter on a property.
  1004  	PropertyFilter *PropertyFilter `protobuf:"bytes,2,opt,name=property_filter,json=propertyFilter,proto3,oneof"`
  1005  }
  1006  
  1007  func (*Filter_CompositeFilter) isFilter_FilterType() {}
  1008  
  1009  func (*Filter_PropertyFilter) isFilter_FilterType() {}
  1010  
  1011  // A filter that merges multiple other filters using the given operator.
  1012  type CompositeFilter struct {
  1013  	state         protoimpl.MessageState
  1014  	sizeCache     protoimpl.SizeCache
  1015  	unknownFields protoimpl.UnknownFields
  1016  
  1017  	// The operator for combining multiple filters.
  1018  	Op CompositeFilter_Operator `protobuf:"varint,1,opt,name=op,proto3,enum=google.datastore.v1.CompositeFilter_Operator" json:"op,omitempty"`
  1019  	// The list of filters to combine.
  1020  	//
  1021  	// Requires:
  1022  	//
  1023  	// * At least one filter is present.
  1024  	Filters []*Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
  1025  }
  1026  
  1027  func (x *CompositeFilter) Reset() {
  1028  	*x = CompositeFilter{}
  1029  	if protoimpl.UnsafeEnabled {
  1030  		mi := &file_google_datastore_v1_query_proto_msgTypes[8]
  1031  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1032  		ms.StoreMessageInfo(mi)
  1033  	}
  1034  }
  1035  
  1036  func (x *CompositeFilter) String() string {
  1037  	return protoimpl.X.MessageStringOf(x)
  1038  }
  1039  
  1040  func (*CompositeFilter) ProtoMessage() {}
  1041  
  1042  func (x *CompositeFilter) ProtoReflect() protoreflect.Message {
  1043  	mi := &file_google_datastore_v1_query_proto_msgTypes[8]
  1044  	if protoimpl.UnsafeEnabled && x != nil {
  1045  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1046  		if ms.LoadMessageInfo() == nil {
  1047  			ms.StoreMessageInfo(mi)
  1048  		}
  1049  		return ms
  1050  	}
  1051  	return mi.MessageOf(x)
  1052  }
  1053  
  1054  // Deprecated: Use CompositeFilter.ProtoReflect.Descriptor instead.
  1055  func (*CompositeFilter) Descriptor() ([]byte, []int) {
  1056  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{8}
  1057  }
  1058  
  1059  func (x *CompositeFilter) GetOp() CompositeFilter_Operator {
  1060  	if x != nil {
  1061  		return x.Op
  1062  	}
  1063  	return CompositeFilter_OPERATOR_UNSPECIFIED
  1064  }
  1065  
  1066  func (x *CompositeFilter) GetFilters() []*Filter {
  1067  	if x != nil {
  1068  		return x.Filters
  1069  	}
  1070  	return nil
  1071  }
  1072  
  1073  // A filter on a specific property.
  1074  type PropertyFilter struct {
  1075  	state         protoimpl.MessageState
  1076  	sizeCache     protoimpl.SizeCache
  1077  	unknownFields protoimpl.UnknownFields
  1078  
  1079  	// The property to filter by.
  1080  	Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
  1081  	// The operator to filter by.
  1082  	Op PropertyFilter_Operator `protobuf:"varint,2,opt,name=op,proto3,enum=google.datastore.v1.PropertyFilter_Operator" json:"op,omitempty"`
  1083  	// The value to compare the property to.
  1084  	Value *Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
  1085  }
  1086  
  1087  func (x *PropertyFilter) Reset() {
  1088  	*x = PropertyFilter{}
  1089  	if protoimpl.UnsafeEnabled {
  1090  		mi := &file_google_datastore_v1_query_proto_msgTypes[9]
  1091  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1092  		ms.StoreMessageInfo(mi)
  1093  	}
  1094  }
  1095  
  1096  func (x *PropertyFilter) String() string {
  1097  	return protoimpl.X.MessageStringOf(x)
  1098  }
  1099  
  1100  func (*PropertyFilter) ProtoMessage() {}
  1101  
  1102  func (x *PropertyFilter) ProtoReflect() protoreflect.Message {
  1103  	mi := &file_google_datastore_v1_query_proto_msgTypes[9]
  1104  	if protoimpl.UnsafeEnabled && x != nil {
  1105  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1106  		if ms.LoadMessageInfo() == nil {
  1107  			ms.StoreMessageInfo(mi)
  1108  		}
  1109  		return ms
  1110  	}
  1111  	return mi.MessageOf(x)
  1112  }
  1113  
  1114  // Deprecated: Use PropertyFilter.ProtoReflect.Descriptor instead.
  1115  func (*PropertyFilter) Descriptor() ([]byte, []int) {
  1116  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{9}
  1117  }
  1118  
  1119  func (x *PropertyFilter) GetProperty() *PropertyReference {
  1120  	if x != nil {
  1121  		return x.Property
  1122  	}
  1123  	return nil
  1124  }
  1125  
  1126  func (x *PropertyFilter) GetOp() PropertyFilter_Operator {
  1127  	if x != nil {
  1128  		return x.Op
  1129  	}
  1130  	return PropertyFilter_OPERATOR_UNSPECIFIED
  1131  }
  1132  
  1133  func (x *PropertyFilter) GetValue() *Value {
  1134  	if x != nil {
  1135  		return x.Value
  1136  	}
  1137  	return nil
  1138  }
  1139  
  1140  // A [GQL
  1141  // query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
  1142  type GqlQuery struct {
  1143  	state         protoimpl.MessageState
  1144  	sizeCache     protoimpl.SizeCache
  1145  	unknownFields protoimpl.UnknownFields
  1146  
  1147  	// A string of the format described
  1148  	// [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
  1149  	QueryString string `protobuf:"bytes,1,opt,name=query_string,json=queryString,proto3" json:"query_string,omitempty"`
  1150  	// When false, the query string must not contain any literals and instead must
  1151  	// bind all values. For example,
  1152  	// `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while
  1153  	// `SELECT * FROM Kind WHERE a = @value` is.
  1154  	AllowLiterals bool `protobuf:"varint,2,opt,name=allow_literals,json=allowLiterals,proto3" json:"allow_literals,omitempty"`
  1155  	// For each non-reserved named binding site in the query string, there must be
  1156  	// a named parameter with that name, but not necessarily the inverse.
  1157  	//
  1158  	// Key must match regex `[A-Za-z_$][A-Za-z_$0-9]*`, must not match regex
  1159  	// `__.*__`, and must not be `""`.
  1160  	NamedBindings map[string]*GqlQueryParameter `protobuf:"bytes,5,rep,name=named_bindings,json=namedBindings,proto3" json:"named_bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1161  	// Numbered binding site @1 references the first numbered parameter,
  1162  	// effectively using 1-based indexing, rather than the usual 0.
  1163  	//
  1164  	// For each binding site numbered i in `query_string`, there must be an i-th
  1165  	// numbered parameter. The inverse must also be true.
  1166  	PositionalBindings []*GqlQueryParameter `protobuf:"bytes,4,rep,name=positional_bindings,json=positionalBindings,proto3" json:"positional_bindings,omitempty"`
  1167  }
  1168  
  1169  func (x *GqlQuery) Reset() {
  1170  	*x = GqlQuery{}
  1171  	if protoimpl.UnsafeEnabled {
  1172  		mi := &file_google_datastore_v1_query_proto_msgTypes[10]
  1173  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1174  		ms.StoreMessageInfo(mi)
  1175  	}
  1176  }
  1177  
  1178  func (x *GqlQuery) String() string {
  1179  	return protoimpl.X.MessageStringOf(x)
  1180  }
  1181  
  1182  func (*GqlQuery) ProtoMessage() {}
  1183  
  1184  func (x *GqlQuery) ProtoReflect() protoreflect.Message {
  1185  	mi := &file_google_datastore_v1_query_proto_msgTypes[10]
  1186  	if protoimpl.UnsafeEnabled && x != nil {
  1187  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1188  		if ms.LoadMessageInfo() == nil {
  1189  			ms.StoreMessageInfo(mi)
  1190  		}
  1191  		return ms
  1192  	}
  1193  	return mi.MessageOf(x)
  1194  }
  1195  
  1196  // Deprecated: Use GqlQuery.ProtoReflect.Descriptor instead.
  1197  func (*GqlQuery) Descriptor() ([]byte, []int) {
  1198  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{10}
  1199  }
  1200  
  1201  func (x *GqlQuery) GetQueryString() string {
  1202  	if x != nil {
  1203  		return x.QueryString
  1204  	}
  1205  	return ""
  1206  }
  1207  
  1208  func (x *GqlQuery) GetAllowLiterals() bool {
  1209  	if x != nil {
  1210  		return x.AllowLiterals
  1211  	}
  1212  	return false
  1213  }
  1214  
  1215  func (x *GqlQuery) GetNamedBindings() map[string]*GqlQueryParameter {
  1216  	if x != nil {
  1217  		return x.NamedBindings
  1218  	}
  1219  	return nil
  1220  }
  1221  
  1222  func (x *GqlQuery) GetPositionalBindings() []*GqlQueryParameter {
  1223  	if x != nil {
  1224  		return x.PositionalBindings
  1225  	}
  1226  	return nil
  1227  }
  1228  
  1229  // A binding parameter for a GQL query.
  1230  type GqlQueryParameter struct {
  1231  	state         protoimpl.MessageState
  1232  	sizeCache     protoimpl.SizeCache
  1233  	unknownFields protoimpl.UnknownFields
  1234  
  1235  	// The type of parameter.
  1236  	//
  1237  	// Types that are assignable to ParameterType:
  1238  	//
  1239  	//	*GqlQueryParameter_Value
  1240  	//	*GqlQueryParameter_Cursor
  1241  	ParameterType isGqlQueryParameter_ParameterType `protobuf_oneof:"parameter_type"`
  1242  }
  1243  
  1244  func (x *GqlQueryParameter) Reset() {
  1245  	*x = GqlQueryParameter{}
  1246  	if protoimpl.UnsafeEnabled {
  1247  		mi := &file_google_datastore_v1_query_proto_msgTypes[11]
  1248  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1249  		ms.StoreMessageInfo(mi)
  1250  	}
  1251  }
  1252  
  1253  func (x *GqlQueryParameter) String() string {
  1254  	return protoimpl.X.MessageStringOf(x)
  1255  }
  1256  
  1257  func (*GqlQueryParameter) ProtoMessage() {}
  1258  
  1259  func (x *GqlQueryParameter) ProtoReflect() protoreflect.Message {
  1260  	mi := &file_google_datastore_v1_query_proto_msgTypes[11]
  1261  	if protoimpl.UnsafeEnabled && x != nil {
  1262  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1263  		if ms.LoadMessageInfo() == nil {
  1264  			ms.StoreMessageInfo(mi)
  1265  		}
  1266  		return ms
  1267  	}
  1268  	return mi.MessageOf(x)
  1269  }
  1270  
  1271  // Deprecated: Use GqlQueryParameter.ProtoReflect.Descriptor instead.
  1272  func (*GqlQueryParameter) Descriptor() ([]byte, []int) {
  1273  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{11}
  1274  }
  1275  
  1276  func (m *GqlQueryParameter) GetParameterType() isGqlQueryParameter_ParameterType {
  1277  	if m != nil {
  1278  		return m.ParameterType
  1279  	}
  1280  	return nil
  1281  }
  1282  
  1283  func (x *GqlQueryParameter) GetValue() *Value {
  1284  	if x, ok := x.GetParameterType().(*GqlQueryParameter_Value); ok {
  1285  		return x.Value
  1286  	}
  1287  	return nil
  1288  }
  1289  
  1290  func (x *GqlQueryParameter) GetCursor() []byte {
  1291  	if x, ok := x.GetParameterType().(*GqlQueryParameter_Cursor); ok {
  1292  		return x.Cursor
  1293  	}
  1294  	return nil
  1295  }
  1296  
  1297  type isGqlQueryParameter_ParameterType interface {
  1298  	isGqlQueryParameter_ParameterType()
  1299  }
  1300  
  1301  type GqlQueryParameter_Value struct {
  1302  	// A value parameter.
  1303  	Value *Value `protobuf:"bytes,2,opt,name=value,proto3,oneof"`
  1304  }
  1305  
  1306  type GqlQueryParameter_Cursor struct {
  1307  	// A query cursor. Query cursors are returned in query
  1308  	// result batches.
  1309  	Cursor []byte `protobuf:"bytes,3,opt,name=cursor,proto3,oneof"`
  1310  }
  1311  
  1312  func (*GqlQueryParameter_Value) isGqlQueryParameter_ParameterType() {}
  1313  
  1314  func (*GqlQueryParameter_Cursor) isGqlQueryParameter_ParameterType() {}
  1315  
  1316  // A batch of results produced by a query.
  1317  type QueryResultBatch struct {
  1318  	state         protoimpl.MessageState
  1319  	sizeCache     protoimpl.SizeCache
  1320  	unknownFields protoimpl.UnknownFields
  1321  
  1322  	// The number of results skipped, typically because of an offset.
  1323  	SkippedResults int32 `protobuf:"varint,6,opt,name=skipped_results,json=skippedResults,proto3" json:"skipped_results,omitempty"`
  1324  	// A cursor that points to the position after the last skipped result.
  1325  	// Will be set when `skipped_results` != 0.
  1326  	SkippedCursor []byte `protobuf:"bytes,3,opt,name=skipped_cursor,json=skippedCursor,proto3" json:"skipped_cursor,omitempty"`
  1327  	// The result type for every entity in `entity_results`.
  1328  	EntityResultType EntityResult_ResultType `protobuf:"varint,1,opt,name=entity_result_type,json=entityResultType,proto3,enum=google.datastore.v1.EntityResult_ResultType" json:"entity_result_type,omitempty"`
  1329  	// The results for this batch.
  1330  	EntityResults []*EntityResult `protobuf:"bytes,2,rep,name=entity_results,json=entityResults,proto3" json:"entity_results,omitempty"`
  1331  	// A cursor that points to the position after the last result in the batch.
  1332  	EndCursor []byte `protobuf:"bytes,4,opt,name=end_cursor,json=endCursor,proto3" json:"end_cursor,omitempty"`
  1333  	// The state of the query after the current batch.
  1334  	MoreResults QueryResultBatch_MoreResultsType `protobuf:"varint,5,opt,name=more_results,json=moreResults,proto3,enum=google.datastore.v1.QueryResultBatch_MoreResultsType" json:"more_results,omitempty"`
  1335  	// The version number of the snapshot this batch was returned from.
  1336  	// This applies to the range of results from the query's `start_cursor` (or
  1337  	// the beginning of the query if no cursor was given) to this batch's
  1338  	// `end_cursor` (not the query's `end_cursor`).
  1339  	//
  1340  	// In a single transaction, subsequent query result batches for the same query
  1341  	// can have a greater snapshot version number. Each batch's snapshot version
  1342  	// is valid for all preceding batches.
  1343  	// The value will be zero for eventually consistent queries.
  1344  	SnapshotVersion int64 `protobuf:"varint,7,opt,name=snapshot_version,json=snapshotVersion,proto3" json:"snapshot_version,omitempty"`
  1345  	// Read timestamp this batch was returned from.
  1346  	// This applies to the range of results from the query's `start_cursor` (or
  1347  	// the beginning of the query if no cursor was given) to this batch's
  1348  	// `end_cursor` (not the query's `end_cursor`).
  1349  	//
  1350  	// In a single transaction, subsequent query result batches for the same query
  1351  	// can have a greater timestamp. Each batch's read timestamp
  1352  	// is valid for all preceding batches.
  1353  	// This value will not be set for eventually consistent queries in Cloud
  1354  	// Datastore.
  1355  	ReadTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
  1356  }
  1357  
  1358  func (x *QueryResultBatch) Reset() {
  1359  	*x = QueryResultBatch{}
  1360  	if protoimpl.UnsafeEnabled {
  1361  		mi := &file_google_datastore_v1_query_proto_msgTypes[12]
  1362  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1363  		ms.StoreMessageInfo(mi)
  1364  	}
  1365  }
  1366  
  1367  func (x *QueryResultBatch) String() string {
  1368  	return protoimpl.X.MessageStringOf(x)
  1369  }
  1370  
  1371  func (*QueryResultBatch) ProtoMessage() {}
  1372  
  1373  func (x *QueryResultBatch) ProtoReflect() protoreflect.Message {
  1374  	mi := &file_google_datastore_v1_query_proto_msgTypes[12]
  1375  	if protoimpl.UnsafeEnabled && x != nil {
  1376  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1377  		if ms.LoadMessageInfo() == nil {
  1378  			ms.StoreMessageInfo(mi)
  1379  		}
  1380  		return ms
  1381  	}
  1382  	return mi.MessageOf(x)
  1383  }
  1384  
  1385  // Deprecated: Use QueryResultBatch.ProtoReflect.Descriptor instead.
  1386  func (*QueryResultBatch) Descriptor() ([]byte, []int) {
  1387  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{12}
  1388  }
  1389  
  1390  func (x *QueryResultBatch) GetSkippedResults() int32 {
  1391  	if x != nil {
  1392  		return x.SkippedResults
  1393  	}
  1394  	return 0
  1395  }
  1396  
  1397  func (x *QueryResultBatch) GetSkippedCursor() []byte {
  1398  	if x != nil {
  1399  		return x.SkippedCursor
  1400  	}
  1401  	return nil
  1402  }
  1403  
  1404  func (x *QueryResultBatch) GetEntityResultType() EntityResult_ResultType {
  1405  	if x != nil {
  1406  		return x.EntityResultType
  1407  	}
  1408  	return EntityResult_RESULT_TYPE_UNSPECIFIED
  1409  }
  1410  
  1411  func (x *QueryResultBatch) GetEntityResults() []*EntityResult {
  1412  	if x != nil {
  1413  		return x.EntityResults
  1414  	}
  1415  	return nil
  1416  }
  1417  
  1418  func (x *QueryResultBatch) GetEndCursor() []byte {
  1419  	if x != nil {
  1420  		return x.EndCursor
  1421  	}
  1422  	return nil
  1423  }
  1424  
  1425  func (x *QueryResultBatch) GetMoreResults() QueryResultBatch_MoreResultsType {
  1426  	if x != nil {
  1427  		return x.MoreResults
  1428  	}
  1429  	return QueryResultBatch_MORE_RESULTS_TYPE_UNSPECIFIED
  1430  }
  1431  
  1432  func (x *QueryResultBatch) GetSnapshotVersion() int64 {
  1433  	if x != nil {
  1434  		return x.SnapshotVersion
  1435  	}
  1436  	return 0
  1437  }
  1438  
  1439  func (x *QueryResultBatch) GetReadTime() *timestamppb.Timestamp {
  1440  	if x != nil {
  1441  		return x.ReadTime
  1442  	}
  1443  	return nil
  1444  }
  1445  
  1446  // Defines an aggregation that produces a single result.
  1447  type AggregationQuery_Aggregation struct {
  1448  	state         protoimpl.MessageState
  1449  	sizeCache     protoimpl.SizeCache
  1450  	unknownFields protoimpl.UnknownFields
  1451  
  1452  	// The type of aggregation to perform, required.
  1453  	//
  1454  	// Types that are assignable to Operator:
  1455  	//
  1456  	//	*AggregationQuery_Aggregation_Count_
  1457  	//	*AggregationQuery_Aggregation_Sum_
  1458  	//	*AggregationQuery_Aggregation_Avg_
  1459  	Operator isAggregationQuery_Aggregation_Operator `protobuf_oneof:"operator"`
  1460  	// Optional. Optional name of the property to store the result of the
  1461  	// aggregation.
  1462  	//
  1463  	// If not provided, Datastore will pick a default name following the format
  1464  	// `property_<incremental_id++>`. For example:
  1465  	//
  1466  	// ```
  1467  	// AGGREGATE
  1468  	//
  1469  	//	COUNT_UP_TO(1) AS count_up_to_1,
  1470  	//	COUNT_UP_TO(2),
  1471  	//	COUNT_UP_TO(3) AS count_up_to_3,
  1472  	//	COUNT(*)
  1473  	//
  1474  	// OVER (
  1475  	//
  1476  	//	...
  1477  	//
  1478  	// );
  1479  	// ```
  1480  	//
  1481  	// becomes:
  1482  	//
  1483  	// ```
  1484  	// AGGREGATE
  1485  	//
  1486  	//	COUNT_UP_TO(1) AS count_up_to_1,
  1487  	//	COUNT_UP_TO(2) AS property_1,
  1488  	//	COUNT_UP_TO(3) AS count_up_to_3,
  1489  	//	COUNT(*) AS property_2
  1490  	//
  1491  	// OVER (
  1492  	//
  1493  	//	...
  1494  	//
  1495  	// );
  1496  	// ```
  1497  	//
  1498  	// Requires:
  1499  	//
  1500  	// * Must be unique across all aggregation aliases.
  1501  	// * Conform to [entity property
  1502  	// name][google.datastore.v1.Entity.properties] limitations.
  1503  	Alias string `protobuf:"bytes,7,opt,name=alias,proto3" json:"alias,omitempty"`
  1504  }
  1505  
  1506  func (x *AggregationQuery_Aggregation) Reset() {
  1507  	*x = AggregationQuery_Aggregation{}
  1508  	if protoimpl.UnsafeEnabled {
  1509  		mi := &file_google_datastore_v1_query_proto_msgTypes[13]
  1510  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1511  		ms.StoreMessageInfo(mi)
  1512  	}
  1513  }
  1514  
  1515  func (x *AggregationQuery_Aggregation) String() string {
  1516  	return protoimpl.X.MessageStringOf(x)
  1517  }
  1518  
  1519  func (*AggregationQuery_Aggregation) ProtoMessage() {}
  1520  
  1521  func (x *AggregationQuery_Aggregation) ProtoReflect() protoreflect.Message {
  1522  	mi := &file_google_datastore_v1_query_proto_msgTypes[13]
  1523  	if protoimpl.UnsafeEnabled && x != nil {
  1524  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1525  		if ms.LoadMessageInfo() == nil {
  1526  			ms.StoreMessageInfo(mi)
  1527  		}
  1528  		return ms
  1529  	}
  1530  	return mi.MessageOf(x)
  1531  }
  1532  
  1533  // Deprecated: Use AggregationQuery_Aggregation.ProtoReflect.Descriptor instead.
  1534  func (*AggregationQuery_Aggregation) Descriptor() ([]byte, []int) {
  1535  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{2, 0}
  1536  }
  1537  
  1538  func (m *AggregationQuery_Aggregation) GetOperator() isAggregationQuery_Aggregation_Operator {
  1539  	if m != nil {
  1540  		return m.Operator
  1541  	}
  1542  	return nil
  1543  }
  1544  
  1545  func (x *AggregationQuery_Aggregation) GetCount() *AggregationQuery_Aggregation_Count {
  1546  	if x, ok := x.GetOperator().(*AggregationQuery_Aggregation_Count_); ok {
  1547  		return x.Count
  1548  	}
  1549  	return nil
  1550  }
  1551  
  1552  func (x *AggregationQuery_Aggregation) GetSum() *AggregationQuery_Aggregation_Sum {
  1553  	if x, ok := x.GetOperator().(*AggregationQuery_Aggregation_Sum_); ok {
  1554  		return x.Sum
  1555  	}
  1556  	return nil
  1557  }
  1558  
  1559  func (x *AggregationQuery_Aggregation) GetAvg() *AggregationQuery_Aggregation_Avg {
  1560  	if x, ok := x.GetOperator().(*AggregationQuery_Aggregation_Avg_); ok {
  1561  		return x.Avg
  1562  	}
  1563  	return nil
  1564  }
  1565  
  1566  func (x *AggregationQuery_Aggregation) GetAlias() string {
  1567  	if x != nil {
  1568  		return x.Alias
  1569  	}
  1570  	return ""
  1571  }
  1572  
  1573  type isAggregationQuery_Aggregation_Operator interface {
  1574  	isAggregationQuery_Aggregation_Operator()
  1575  }
  1576  
  1577  type AggregationQuery_Aggregation_Count_ struct {
  1578  	// Count aggregator.
  1579  	Count *AggregationQuery_Aggregation_Count `protobuf:"bytes,1,opt,name=count,proto3,oneof"`
  1580  }
  1581  
  1582  type AggregationQuery_Aggregation_Sum_ struct {
  1583  	// Sum aggregator.
  1584  	Sum *AggregationQuery_Aggregation_Sum `protobuf:"bytes,2,opt,name=sum,proto3,oneof"`
  1585  }
  1586  
  1587  type AggregationQuery_Aggregation_Avg_ struct {
  1588  	// Average aggregator.
  1589  	Avg *AggregationQuery_Aggregation_Avg `protobuf:"bytes,3,opt,name=avg,proto3,oneof"`
  1590  }
  1591  
  1592  func (*AggregationQuery_Aggregation_Count_) isAggregationQuery_Aggregation_Operator() {}
  1593  
  1594  func (*AggregationQuery_Aggregation_Sum_) isAggregationQuery_Aggregation_Operator() {}
  1595  
  1596  func (*AggregationQuery_Aggregation_Avg_) isAggregationQuery_Aggregation_Operator() {}
  1597  
  1598  // Count of entities that match the query.
  1599  //
  1600  // The `COUNT(*)` aggregation function operates on the entire entity
  1601  // so it does not require a field reference.
  1602  type AggregationQuery_Aggregation_Count struct {
  1603  	state         protoimpl.MessageState
  1604  	sizeCache     protoimpl.SizeCache
  1605  	unknownFields protoimpl.UnknownFields
  1606  
  1607  	// Optional. Optional constraint on the maximum number of entities to
  1608  	// count.
  1609  	//
  1610  	// This provides a way to set an upper bound on the number of entities
  1611  	// to scan, limiting latency, and cost.
  1612  	//
  1613  	// Unspecified is interpreted as no bound.
  1614  	//
  1615  	// If a zero value is provided, a count result of zero should always be
  1616  	// expected.
  1617  	//
  1618  	// High-Level Example:
  1619  	//
  1620  	// ```
  1621  	// AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
  1622  	// ```
  1623  	//
  1624  	// Requires:
  1625  	//
  1626  	// * Must be non-negative when present.
  1627  	UpTo *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=up_to,json=upTo,proto3" json:"up_to,omitempty"`
  1628  }
  1629  
  1630  func (x *AggregationQuery_Aggregation_Count) Reset() {
  1631  	*x = AggregationQuery_Aggregation_Count{}
  1632  	if protoimpl.UnsafeEnabled {
  1633  		mi := &file_google_datastore_v1_query_proto_msgTypes[14]
  1634  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1635  		ms.StoreMessageInfo(mi)
  1636  	}
  1637  }
  1638  
  1639  func (x *AggregationQuery_Aggregation_Count) String() string {
  1640  	return protoimpl.X.MessageStringOf(x)
  1641  }
  1642  
  1643  func (*AggregationQuery_Aggregation_Count) ProtoMessage() {}
  1644  
  1645  func (x *AggregationQuery_Aggregation_Count) ProtoReflect() protoreflect.Message {
  1646  	mi := &file_google_datastore_v1_query_proto_msgTypes[14]
  1647  	if protoimpl.UnsafeEnabled && x != nil {
  1648  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1649  		if ms.LoadMessageInfo() == nil {
  1650  			ms.StoreMessageInfo(mi)
  1651  		}
  1652  		return ms
  1653  	}
  1654  	return mi.MessageOf(x)
  1655  }
  1656  
  1657  // Deprecated: Use AggregationQuery_Aggregation_Count.ProtoReflect.Descriptor instead.
  1658  func (*AggregationQuery_Aggregation_Count) Descriptor() ([]byte, []int) {
  1659  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{2, 0, 0}
  1660  }
  1661  
  1662  func (x *AggregationQuery_Aggregation_Count) GetUpTo() *wrapperspb.Int64Value {
  1663  	if x != nil {
  1664  		return x.UpTo
  1665  	}
  1666  	return nil
  1667  }
  1668  
  1669  // Sum of the values of the requested property.
  1670  //
  1671  // * Only numeric values will be aggregated. All non-numeric values
  1672  // including `NULL` are skipped.
  1673  //
  1674  // * If the aggregated values contain `NaN`, returns `NaN`. Infinity math
  1675  // follows IEEE-754 standards.
  1676  //
  1677  // * If the aggregated value set is empty, returns 0.
  1678  //
  1679  // * Returns a 64-bit integer if all aggregated numbers are integers and the
  1680  // sum result does not overflow. Otherwise, the result is returned as a
  1681  // double. Note that even if all the aggregated values are integers, the
  1682  // result is returned as a double if it cannot fit within a 64-bit signed
  1683  // integer. When this occurs, the returned value will lose precision.
  1684  //
  1685  // * When underflow occurs, floating-point aggregation is non-deterministic.
  1686  // This means that running the same query repeatedly without any changes to
  1687  // the underlying values could produce slightly different results each
  1688  // time. In those cases, values should be stored as integers over
  1689  // floating-point numbers.
  1690  type AggregationQuery_Aggregation_Sum struct {
  1691  	state         protoimpl.MessageState
  1692  	sizeCache     protoimpl.SizeCache
  1693  	unknownFields protoimpl.UnknownFields
  1694  
  1695  	// The property to aggregate on.
  1696  	Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
  1697  }
  1698  
  1699  func (x *AggregationQuery_Aggregation_Sum) Reset() {
  1700  	*x = AggregationQuery_Aggregation_Sum{}
  1701  	if protoimpl.UnsafeEnabled {
  1702  		mi := &file_google_datastore_v1_query_proto_msgTypes[15]
  1703  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1704  		ms.StoreMessageInfo(mi)
  1705  	}
  1706  }
  1707  
  1708  func (x *AggregationQuery_Aggregation_Sum) String() string {
  1709  	return protoimpl.X.MessageStringOf(x)
  1710  }
  1711  
  1712  func (*AggregationQuery_Aggregation_Sum) ProtoMessage() {}
  1713  
  1714  func (x *AggregationQuery_Aggregation_Sum) ProtoReflect() protoreflect.Message {
  1715  	mi := &file_google_datastore_v1_query_proto_msgTypes[15]
  1716  	if protoimpl.UnsafeEnabled && x != nil {
  1717  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1718  		if ms.LoadMessageInfo() == nil {
  1719  			ms.StoreMessageInfo(mi)
  1720  		}
  1721  		return ms
  1722  	}
  1723  	return mi.MessageOf(x)
  1724  }
  1725  
  1726  // Deprecated: Use AggregationQuery_Aggregation_Sum.ProtoReflect.Descriptor instead.
  1727  func (*AggregationQuery_Aggregation_Sum) Descriptor() ([]byte, []int) {
  1728  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{2, 0, 1}
  1729  }
  1730  
  1731  func (x *AggregationQuery_Aggregation_Sum) GetProperty() *PropertyReference {
  1732  	if x != nil {
  1733  		return x.Property
  1734  	}
  1735  	return nil
  1736  }
  1737  
  1738  // Average of the values of the requested property.
  1739  //
  1740  // * Only numeric values will be aggregated. All non-numeric values
  1741  // including `NULL` are skipped.
  1742  //
  1743  // * If the aggregated values contain `NaN`, returns `NaN`. Infinity math
  1744  // follows IEEE-754 standards.
  1745  //
  1746  // * If the aggregated value set is empty, returns `NULL`.
  1747  //
  1748  // * Always returns the result as a double.
  1749  type AggregationQuery_Aggregation_Avg struct {
  1750  	state         protoimpl.MessageState
  1751  	sizeCache     protoimpl.SizeCache
  1752  	unknownFields protoimpl.UnknownFields
  1753  
  1754  	// The property to aggregate on.
  1755  	Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
  1756  }
  1757  
  1758  func (x *AggregationQuery_Aggregation_Avg) Reset() {
  1759  	*x = AggregationQuery_Aggregation_Avg{}
  1760  	if protoimpl.UnsafeEnabled {
  1761  		mi := &file_google_datastore_v1_query_proto_msgTypes[16]
  1762  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1763  		ms.StoreMessageInfo(mi)
  1764  	}
  1765  }
  1766  
  1767  func (x *AggregationQuery_Aggregation_Avg) String() string {
  1768  	return protoimpl.X.MessageStringOf(x)
  1769  }
  1770  
  1771  func (*AggregationQuery_Aggregation_Avg) ProtoMessage() {}
  1772  
  1773  func (x *AggregationQuery_Aggregation_Avg) ProtoReflect() protoreflect.Message {
  1774  	mi := &file_google_datastore_v1_query_proto_msgTypes[16]
  1775  	if protoimpl.UnsafeEnabled && x != nil {
  1776  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1777  		if ms.LoadMessageInfo() == nil {
  1778  			ms.StoreMessageInfo(mi)
  1779  		}
  1780  		return ms
  1781  	}
  1782  	return mi.MessageOf(x)
  1783  }
  1784  
  1785  // Deprecated: Use AggregationQuery_Aggregation_Avg.ProtoReflect.Descriptor instead.
  1786  func (*AggregationQuery_Aggregation_Avg) Descriptor() ([]byte, []int) {
  1787  	return file_google_datastore_v1_query_proto_rawDescGZIP(), []int{2, 0, 2}
  1788  }
  1789  
  1790  func (x *AggregationQuery_Aggregation_Avg) GetProperty() *PropertyReference {
  1791  	if x != nil {
  1792  		return x.Property
  1793  	}
  1794  	return nil
  1795  }
  1796  
  1797  var File_google_datastore_v1_query_proto protoreflect.FileDescriptor
  1798  
  1799  var file_google_datastore_v1_query_proto_rawDesc = []byte{
  1800  	0x0a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f,
  1801  	0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1802  	0x6f, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74,
  1803  	0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
  1804  	0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
  1805  	0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
  1806  	0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x74,
  1807  	0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  1808  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
  1809  	0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67,
  1810  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70,
  1811  	0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x02, 0x0a, 0x0c, 0x45,
  1812  	0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x33, 0x0a, 0x06, 0x65,
  1813  	0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
  1814  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
  1815  	0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
  1816  	0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
  1817  	0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72,
  1818  	0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1819  	0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  1820  	0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65,
  1821  	0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
  1822  	0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  1823  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  1824  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
  1825  	0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x03,
  1826  	0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x22, 0x51, 0x0a, 0x0a,
  1827  	0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45,
  1828  	0x53, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
  1829  	0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10,
  1830  	0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10,
  1831  	0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4b, 0x45, 0x59, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x22,
  1832  	0xc6, 0x03, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3f, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
  1833  	0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
  1834  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65,
  1835  	0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a,
  1836  	0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x04, 0x6b, 0x69,
  1837  	0x6e, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  1838  	0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b,
  1839  	0x69, 0x6e, 0x64, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6b,
  1840  	0x69, 0x6e, 0x64, 0x12, 0x33, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20,
  1841  	0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74,
  1842  	0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
  1843  	0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65,
  1844  	0x72, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1845  	0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
  1846  	0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64,
  1847  	0x65, 0x72, 0x12, 0x47, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x63, 0x74, 0x5f, 0x6f,
  1848  	0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1849  	0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
  1850  	0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52,
  1851  	0x0a, 0x64, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x63, 0x74, 0x4f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x73,
  1852  	0x74, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28,
  1853  	0x0c, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x1d,
  1854  	0x0a, 0x0a, 0x65, 0x6e, 0x64, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01,
  1855  	0x28, 0x0c, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x16, 0x0a,
  1856  	0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f,
  1857  	0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x31, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0c,
  1858  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  1859  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75,
  1860  	0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xb1, 0x05, 0x0a, 0x10, 0x41, 0x67, 0x67,
  1861  	0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3f, 0x0a,
  1862  	0x0c, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20,
  1863  	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74,
  1864  	0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48,
  1865  	0x00, 0x52, 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5a,
  1866  	0x0a, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03,
  1867  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61,
  1868  	0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65,
  1869  	0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x41, 0x67, 0x67, 0x72,
  1870  	0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x61, 0x67,
  1871  	0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xf1, 0x03, 0x0a, 0x0b, 0x41,
  1872  	0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x05, 0x63, 0x6f,
  1873  	0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  1874  	0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e,
  1875  	0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79,
  1876  	0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x75,
  1877  	0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x03, 0x73,
  1878  	0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  1879  	0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
  1880  	0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e,
  1881  	0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x6d, 0x48,
  1882  	0x00, 0x52, 0x03, 0x73, 0x75, 0x6d, 0x12, 0x49, 0x0a, 0x03, 0x61, 0x76, 0x67, 0x18, 0x03, 0x20,
  1883  	0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74,
  1884  	0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67,
  1885  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65,
  1886  	0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x76, 0x67, 0x48, 0x00, 0x52, 0x03, 0x61, 0x76,
  1887  	0x67, 0x12, 0x19, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
  1888  	0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x1a, 0x3e, 0x0a, 0x05,
  1889  	0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x05, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x18, 0x01,
  1890  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  1891  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
  1892  	0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x75, 0x70, 0x54, 0x6f, 0x1a, 0x49, 0x0a, 0x03,
  1893  	0x53, 0x75, 0x6d, 0x12, 0x42, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18,
  1894  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
  1895  	0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70,
  1896  	0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x70,
  1897  	0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x1a, 0x49, 0x0a, 0x03, 0x41, 0x76, 0x67, 0x12, 0x42,
  1898  	0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  1899  	0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74,
  1900  	0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52,
  1901  	0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
  1902  	0x74, 0x79, 0x42, 0x0a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x0c,
  1903  	0x0a, 0x0a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x24, 0x0a, 0x0e,
  1904  	0x4b, 0x69, 0x6e, 0x64, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12,
  1905  	0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  1906  	0x6d, 0x65, 0x22, 0x27, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65,
  1907  	0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  1908  	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x50, 0x0a, 0x0a, 0x50,
  1909  	0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x08, 0x70, 0x72, 0x6f,
  1910  	0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f,
  1911  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
  1912  	0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65,
  1913  	0x6e, 0x63, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x22, 0xe6, 0x01,
  1914  	0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12,
  1915  	0x42, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  1916  	0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73,
  1917  	0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
  1918  	0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65,
  1919  	0x72, 0x74, 0x79, 0x12, 0x4a, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1920  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  1921  	0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f,
  1922  	0x70, 0x65, 0x72, 0x74, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63,
  1923  	0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  1924  	0x45, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x15,
  1925  	0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
  1926  	0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x43, 0x45, 0x4e,
  1927  	0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x53, 0x43, 0x45, 0x4e,
  1928  	0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x22, 0xba, 0x01, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65,
  1929  	0x72, 0x12, 0x51, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x5f, 0x66,
  1930  	0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f,
  1931  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
  1932  	0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65,
  1933  	0x72, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x46, 0x69,
  1934  	0x6c, 0x74, 0x65, 0x72, 0x12, 0x4e, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
  1935  	0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e,
  1936  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65,
  1937  	0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74,
  1938  	0x65, 0x72, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69,
  1939  	0x6c, 0x74, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74,
  1940  	0x79, 0x70, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74,
  1941  	0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x01, 0x20,
  1942  	0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74,
  1943  	0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73,
  1944  	0x69, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1945  	0x6f, 0x72, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x35, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
  1946  	0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1947  	0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69,
  1948  	0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0x35, 0x0a,
  1949  	0x08, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45,
  1950  	0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
  1951  	0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02,
  1952  	0x4f, 0x52, 0x10, 0x02, 0x22, 0xff, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
  1953  	0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65,
  1954  	0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  1955  	0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e,
  1956  	0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
  1957  	0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x3c, 0x0a, 0x02, 0x6f,
  1958  	0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1959  	0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
  1960  	0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4f, 0x70, 0x65,
  1961  	0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c,
  1962  	0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  1963  	0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56,
  1964  	0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x08,
  1965  	0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52,
  1966  	0x41, 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
  1967  	0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x10,
  1968  	0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x5f, 0x4f,
  1969  	0x52, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x52, 0x45,
  1970  	0x41, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x47,
  1971  	0x52, 0x45, 0x41, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x5f, 0x4f, 0x52, 0x5f, 0x45,
  1972  	0x51, 0x55, 0x41, 0x4c, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10,
  1973  	0x05, 0x12, 0x06, 0x0a, 0x02, 0x49, 0x4e, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x54,
  1974  	0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x09, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x41, 0x53, 0x5f,
  1975  	0x41, 0x4e, 0x43, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f,
  1976  	0x54, 0x5f, 0x49, 0x4e, 0x10, 0x0d, 0x22, 0xf0, 0x02, 0x0a, 0x08, 0x47, 0x71, 0x6c, 0x51, 0x75,
  1977  	0x65, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72,
  1978  	0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79,
  1979  	0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f,
  1980  	0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
  1981  	0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x12, 0x57, 0x0a,
  1982  	0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18,
  1983  	0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
  1984  	0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x71, 0x6c, 0x51,
  1985  	0x75, 0x65, 0x72, 0x79, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e,
  1986  	0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x42, 0x69,
  1987  	0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x57, 0x0a, 0x13, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69,
  1988  	0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20,
  1989  	0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74,
  1990  	0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x71, 0x6c, 0x51, 0x75, 0x65,
  1991  	0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x12, 0x70, 0x6f, 0x73,
  1992  	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x1a,
  1993  	0x68, 0x0a, 0x12, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73,
  1994  	0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  1995  	0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1996  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  1997  	0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x71, 0x6c,
  1998  	0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x05,
  1999  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x73, 0x0a, 0x11, 0x47, 0x71, 0x6c,
  2000  	0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x32,
  2001  	0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
  2002  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65,
  2003  	0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c,
  2004  	0x75, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01,
  2005  	0x28, 0x0c, 0x48, 0x00, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x42, 0x10, 0x0a, 0x0e,
  2006  	0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x80,
  2007  	0x05, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x61,
  2008  	0x74, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x72,
  2009  	0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x73, 0x6b,
  2010  	0x69, 0x70, 0x70, 0x65, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e,
  2011  	0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x03,
  2012  	0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x43, 0x75, 0x72,
  2013  	0x73, 0x6f, 0x72, 0x12, 0x5a, 0x0a, 0x12, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65,
  2014  	0x73, 0x75, 0x6c, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
  2015  	0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f,
  2016  	0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x75,
  2017  	0x6c, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x65,
  2018  	0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12,
  2019  	0x48, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
  2020  	0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  2021  	0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e,
  2022  	0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x65, 0x6e, 0x74, 0x69,
  2023  	0x74, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x64,
  2024  	0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65,
  2025  	0x6e, 0x64, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x58, 0x0a, 0x0c, 0x6d, 0x6f, 0x72, 0x65,
  2026  	0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35,
  2027  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72,
  2028  	0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
  2029  	0x42, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x4d, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
  2030  	0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c,
  2031  	0x74, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x76,
  2032  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x6e,
  2033  	0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a,
  2034  	0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
  2035  	0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  2036  	0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x65,
  2037  	0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x0f, 0x4d, 0x6f, 0x72, 0x65, 0x52,
  2038  	0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x4d, 0x4f,
  2039  	0x52, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
  2040  	0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a,
  2041  	0x0c, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12,
  2042  	0x1c, 0x0a, 0x18, 0x4d, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x53, 0x5f,
  2043  	0x41, 0x46, 0x54, 0x45, 0x52, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x02, 0x12, 0x1d, 0x0a,
  2044  	0x19, 0x4d, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x53, 0x5f, 0x41, 0x46,
  2045  	0x54, 0x45, 0x52, 0x5f, 0x43, 0x55, 0x52, 0x53, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f,
  2046  	0x4e, 0x4f, 0x5f, 0x4d, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x53, 0x10,
  2047  	0x03, 0x42, 0xbc, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  2048  	0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51,
  2049  	0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x6f, 0x6f,
  2050  	0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
  2051  	0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
  2052  	0x69, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x3b,
  2053  	0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67,
  2054  	0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f,
  2055  	0x72, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43,
  2056  	0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x56,
  2057  	0x31, 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
  2058  	0x64, 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31,
  2059  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  2060  }
  2061  
  2062  var (
  2063  	file_google_datastore_v1_query_proto_rawDescOnce sync.Once
  2064  	file_google_datastore_v1_query_proto_rawDescData = file_google_datastore_v1_query_proto_rawDesc
  2065  )
  2066  
  2067  func file_google_datastore_v1_query_proto_rawDescGZIP() []byte {
  2068  	file_google_datastore_v1_query_proto_rawDescOnce.Do(func() {
  2069  		file_google_datastore_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_datastore_v1_query_proto_rawDescData)
  2070  	})
  2071  	return file_google_datastore_v1_query_proto_rawDescData
  2072  }
  2073  
  2074  var file_google_datastore_v1_query_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
  2075  var file_google_datastore_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
  2076  var file_google_datastore_v1_query_proto_goTypes = []interface{}{
  2077  	(EntityResult_ResultType)(0),               // 0: google.datastore.v1.EntityResult.ResultType
  2078  	(PropertyOrder_Direction)(0),               // 1: google.datastore.v1.PropertyOrder.Direction
  2079  	(CompositeFilter_Operator)(0),              // 2: google.datastore.v1.CompositeFilter.Operator
  2080  	(PropertyFilter_Operator)(0),               // 3: google.datastore.v1.PropertyFilter.Operator
  2081  	(QueryResultBatch_MoreResultsType)(0),      // 4: google.datastore.v1.QueryResultBatch.MoreResultsType
  2082  	(*EntityResult)(nil),                       // 5: google.datastore.v1.EntityResult
  2083  	(*Query)(nil),                              // 6: google.datastore.v1.Query
  2084  	(*AggregationQuery)(nil),                   // 7: google.datastore.v1.AggregationQuery
  2085  	(*KindExpression)(nil),                     // 8: google.datastore.v1.KindExpression
  2086  	(*PropertyReference)(nil),                  // 9: google.datastore.v1.PropertyReference
  2087  	(*Projection)(nil),                         // 10: google.datastore.v1.Projection
  2088  	(*PropertyOrder)(nil),                      // 11: google.datastore.v1.PropertyOrder
  2089  	(*Filter)(nil),                             // 12: google.datastore.v1.Filter
  2090  	(*CompositeFilter)(nil),                    // 13: google.datastore.v1.CompositeFilter
  2091  	(*PropertyFilter)(nil),                     // 14: google.datastore.v1.PropertyFilter
  2092  	(*GqlQuery)(nil),                           // 15: google.datastore.v1.GqlQuery
  2093  	(*GqlQueryParameter)(nil),                  // 16: google.datastore.v1.GqlQueryParameter
  2094  	(*QueryResultBatch)(nil),                   // 17: google.datastore.v1.QueryResultBatch
  2095  	(*AggregationQuery_Aggregation)(nil),       // 18: google.datastore.v1.AggregationQuery.Aggregation
  2096  	(*AggregationQuery_Aggregation_Count)(nil), // 19: google.datastore.v1.AggregationQuery.Aggregation.Count
  2097  	(*AggregationQuery_Aggregation_Sum)(nil),   // 20: google.datastore.v1.AggregationQuery.Aggregation.Sum
  2098  	(*AggregationQuery_Aggregation_Avg)(nil),   // 21: google.datastore.v1.AggregationQuery.Aggregation.Avg
  2099  	nil,                                        // 22: google.datastore.v1.GqlQuery.NamedBindingsEntry
  2100  	(*Entity)(nil),                             // 23: google.datastore.v1.Entity
  2101  	(*timestamppb.Timestamp)(nil),              // 24: google.protobuf.Timestamp
  2102  	(*wrapperspb.Int32Value)(nil),              // 25: google.protobuf.Int32Value
  2103  	(*Value)(nil),                              // 26: google.datastore.v1.Value
  2104  	(*wrapperspb.Int64Value)(nil),              // 27: google.protobuf.Int64Value
  2105  }
  2106  var file_google_datastore_v1_query_proto_depIdxs = []int32{
  2107  	23, // 0: google.datastore.v1.EntityResult.entity:type_name -> google.datastore.v1.Entity
  2108  	24, // 1: google.datastore.v1.EntityResult.create_time:type_name -> google.protobuf.Timestamp
  2109  	24, // 2: google.datastore.v1.EntityResult.update_time:type_name -> google.protobuf.Timestamp
  2110  	10, // 3: google.datastore.v1.Query.projection:type_name -> google.datastore.v1.Projection
  2111  	8,  // 4: google.datastore.v1.Query.kind:type_name -> google.datastore.v1.KindExpression
  2112  	12, // 5: google.datastore.v1.Query.filter:type_name -> google.datastore.v1.Filter
  2113  	11, // 6: google.datastore.v1.Query.order:type_name -> google.datastore.v1.PropertyOrder
  2114  	9,  // 7: google.datastore.v1.Query.distinct_on:type_name -> google.datastore.v1.PropertyReference
  2115  	25, // 8: google.datastore.v1.Query.limit:type_name -> google.protobuf.Int32Value
  2116  	6,  // 9: google.datastore.v1.AggregationQuery.nested_query:type_name -> google.datastore.v1.Query
  2117  	18, // 10: google.datastore.v1.AggregationQuery.aggregations:type_name -> google.datastore.v1.AggregationQuery.Aggregation
  2118  	9,  // 11: google.datastore.v1.Projection.property:type_name -> google.datastore.v1.PropertyReference
  2119  	9,  // 12: google.datastore.v1.PropertyOrder.property:type_name -> google.datastore.v1.PropertyReference
  2120  	1,  // 13: google.datastore.v1.PropertyOrder.direction:type_name -> google.datastore.v1.PropertyOrder.Direction
  2121  	13, // 14: google.datastore.v1.Filter.composite_filter:type_name -> google.datastore.v1.CompositeFilter
  2122  	14, // 15: google.datastore.v1.Filter.property_filter:type_name -> google.datastore.v1.PropertyFilter
  2123  	2,  // 16: google.datastore.v1.CompositeFilter.op:type_name -> google.datastore.v1.CompositeFilter.Operator
  2124  	12, // 17: google.datastore.v1.CompositeFilter.filters:type_name -> google.datastore.v1.Filter
  2125  	9,  // 18: google.datastore.v1.PropertyFilter.property:type_name -> google.datastore.v1.PropertyReference
  2126  	3,  // 19: google.datastore.v1.PropertyFilter.op:type_name -> google.datastore.v1.PropertyFilter.Operator
  2127  	26, // 20: google.datastore.v1.PropertyFilter.value:type_name -> google.datastore.v1.Value
  2128  	22, // 21: google.datastore.v1.GqlQuery.named_bindings:type_name -> google.datastore.v1.GqlQuery.NamedBindingsEntry
  2129  	16, // 22: google.datastore.v1.GqlQuery.positional_bindings:type_name -> google.datastore.v1.GqlQueryParameter
  2130  	26, // 23: google.datastore.v1.GqlQueryParameter.value:type_name -> google.datastore.v1.Value
  2131  	0,  // 24: google.datastore.v1.QueryResultBatch.entity_result_type:type_name -> google.datastore.v1.EntityResult.ResultType
  2132  	5,  // 25: google.datastore.v1.QueryResultBatch.entity_results:type_name -> google.datastore.v1.EntityResult
  2133  	4,  // 26: google.datastore.v1.QueryResultBatch.more_results:type_name -> google.datastore.v1.QueryResultBatch.MoreResultsType
  2134  	24, // 27: google.datastore.v1.QueryResultBatch.read_time:type_name -> google.protobuf.Timestamp
  2135  	19, // 28: google.datastore.v1.AggregationQuery.Aggregation.count:type_name -> google.datastore.v1.AggregationQuery.Aggregation.Count
  2136  	20, // 29: google.datastore.v1.AggregationQuery.Aggregation.sum:type_name -> google.datastore.v1.AggregationQuery.Aggregation.Sum
  2137  	21, // 30: google.datastore.v1.AggregationQuery.Aggregation.avg:type_name -> google.datastore.v1.AggregationQuery.Aggregation.Avg
  2138  	27, // 31: google.datastore.v1.AggregationQuery.Aggregation.Count.up_to:type_name -> google.protobuf.Int64Value
  2139  	9,  // 32: google.datastore.v1.AggregationQuery.Aggregation.Sum.property:type_name -> google.datastore.v1.PropertyReference
  2140  	9,  // 33: google.datastore.v1.AggregationQuery.Aggregation.Avg.property:type_name -> google.datastore.v1.PropertyReference
  2141  	16, // 34: google.datastore.v1.GqlQuery.NamedBindingsEntry.value:type_name -> google.datastore.v1.GqlQueryParameter
  2142  	35, // [35:35] is the sub-list for method output_type
  2143  	35, // [35:35] is the sub-list for method input_type
  2144  	35, // [35:35] is the sub-list for extension type_name
  2145  	35, // [35:35] is the sub-list for extension extendee
  2146  	0,  // [0:35] is the sub-list for field type_name
  2147  }
  2148  
  2149  func init() { file_google_datastore_v1_query_proto_init() }
  2150  func file_google_datastore_v1_query_proto_init() {
  2151  	if File_google_datastore_v1_query_proto != nil {
  2152  		return
  2153  	}
  2154  	file_google_datastore_v1_entity_proto_init()
  2155  	if !protoimpl.UnsafeEnabled {
  2156  		file_google_datastore_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2157  			switch v := v.(*EntityResult); i {
  2158  			case 0:
  2159  				return &v.state
  2160  			case 1:
  2161  				return &v.sizeCache
  2162  			case 2:
  2163  				return &v.unknownFields
  2164  			default:
  2165  				return nil
  2166  			}
  2167  		}
  2168  		file_google_datastore_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2169  			switch v := v.(*Query); i {
  2170  			case 0:
  2171  				return &v.state
  2172  			case 1:
  2173  				return &v.sizeCache
  2174  			case 2:
  2175  				return &v.unknownFields
  2176  			default:
  2177  				return nil
  2178  			}
  2179  		}
  2180  		file_google_datastore_v1_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2181  			switch v := v.(*AggregationQuery); i {
  2182  			case 0:
  2183  				return &v.state
  2184  			case 1:
  2185  				return &v.sizeCache
  2186  			case 2:
  2187  				return &v.unknownFields
  2188  			default:
  2189  				return nil
  2190  			}
  2191  		}
  2192  		file_google_datastore_v1_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2193  			switch v := v.(*KindExpression); i {
  2194  			case 0:
  2195  				return &v.state
  2196  			case 1:
  2197  				return &v.sizeCache
  2198  			case 2:
  2199  				return &v.unknownFields
  2200  			default:
  2201  				return nil
  2202  			}
  2203  		}
  2204  		file_google_datastore_v1_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2205  			switch v := v.(*PropertyReference); i {
  2206  			case 0:
  2207  				return &v.state
  2208  			case 1:
  2209  				return &v.sizeCache
  2210  			case 2:
  2211  				return &v.unknownFields
  2212  			default:
  2213  				return nil
  2214  			}
  2215  		}
  2216  		file_google_datastore_v1_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2217  			switch v := v.(*Projection); i {
  2218  			case 0:
  2219  				return &v.state
  2220  			case 1:
  2221  				return &v.sizeCache
  2222  			case 2:
  2223  				return &v.unknownFields
  2224  			default:
  2225  				return nil
  2226  			}
  2227  		}
  2228  		file_google_datastore_v1_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2229  			switch v := v.(*PropertyOrder); i {
  2230  			case 0:
  2231  				return &v.state
  2232  			case 1:
  2233  				return &v.sizeCache
  2234  			case 2:
  2235  				return &v.unknownFields
  2236  			default:
  2237  				return nil
  2238  			}
  2239  		}
  2240  		file_google_datastore_v1_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2241  			switch v := v.(*Filter); i {
  2242  			case 0:
  2243  				return &v.state
  2244  			case 1:
  2245  				return &v.sizeCache
  2246  			case 2:
  2247  				return &v.unknownFields
  2248  			default:
  2249  				return nil
  2250  			}
  2251  		}
  2252  		file_google_datastore_v1_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2253  			switch v := v.(*CompositeFilter); i {
  2254  			case 0:
  2255  				return &v.state
  2256  			case 1:
  2257  				return &v.sizeCache
  2258  			case 2:
  2259  				return &v.unknownFields
  2260  			default:
  2261  				return nil
  2262  			}
  2263  		}
  2264  		file_google_datastore_v1_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2265  			switch v := v.(*PropertyFilter); i {
  2266  			case 0:
  2267  				return &v.state
  2268  			case 1:
  2269  				return &v.sizeCache
  2270  			case 2:
  2271  				return &v.unknownFields
  2272  			default:
  2273  				return nil
  2274  			}
  2275  		}
  2276  		file_google_datastore_v1_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2277  			switch v := v.(*GqlQuery); i {
  2278  			case 0:
  2279  				return &v.state
  2280  			case 1:
  2281  				return &v.sizeCache
  2282  			case 2:
  2283  				return &v.unknownFields
  2284  			default:
  2285  				return nil
  2286  			}
  2287  		}
  2288  		file_google_datastore_v1_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2289  			switch v := v.(*GqlQueryParameter); i {
  2290  			case 0:
  2291  				return &v.state
  2292  			case 1:
  2293  				return &v.sizeCache
  2294  			case 2:
  2295  				return &v.unknownFields
  2296  			default:
  2297  				return nil
  2298  			}
  2299  		}
  2300  		file_google_datastore_v1_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2301  			switch v := v.(*QueryResultBatch); i {
  2302  			case 0:
  2303  				return &v.state
  2304  			case 1:
  2305  				return &v.sizeCache
  2306  			case 2:
  2307  				return &v.unknownFields
  2308  			default:
  2309  				return nil
  2310  			}
  2311  		}
  2312  		file_google_datastore_v1_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2313  			switch v := v.(*AggregationQuery_Aggregation); i {
  2314  			case 0:
  2315  				return &v.state
  2316  			case 1:
  2317  				return &v.sizeCache
  2318  			case 2:
  2319  				return &v.unknownFields
  2320  			default:
  2321  				return nil
  2322  			}
  2323  		}
  2324  		file_google_datastore_v1_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2325  			switch v := v.(*AggregationQuery_Aggregation_Count); i {
  2326  			case 0:
  2327  				return &v.state
  2328  			case 1:
  2329  				return &v.sizeCache
  2330  			case 2:
  2331  				return &v.unknownFields
  2332  			default:
  2333  				return nil
  2334  			}
  2335  		}
  2336  		file_google_datastore_v1_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2337  			switch v := v.(*AggregationQuery_Aggregation_Sum); i {
  2338  			case 0:
  2339  				return &v.state
  2340  			case 1:
  2341  				return &v.sizeCache
  2342  			case 2:
  2343  				return &v.unknownFields
  2344  			default:
  2345  				return nil
  2346  			}
  2347  		}
  2348  		file_google_datastore_v1_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2349  			switch v := v.(*AggregationQuery_Aggregation_Avg); i {
  2350  			case 0:
  2351  				return &v.state
  2352  			case 1:
  2353  				return &v.sizeCache
  2354  			case 2:
  2355  				return &v.unknownFields
  2356  			default:
  2357  				return nil
  2358  			}
  2359  		}
  2360  	}
  2361  	file_google_datastore_v1_query_proto_msgTypes[2].OneofWrappers = []interface{}{
  2362  		(*AggregationQuery_NestedQuery)(nil),
  2363  	}
  2364  	file_google_datastore_v1_query_proto_msgTypes[7].OneofWrappers = []interface{}{
  2365  		(*Filter_CompositeFilter)(nil),
  2366  		(*Filter_PropertyFilter)(nil),
  2367  	}
  2368  	file_google_datastore_v1_query_proto_msgTypes[11].OneofWrappers = []interface{}{
  2369  		(*GqlQueryParameter_Value)(nil),
  2370  		(*GqlQueryParameter_Cursor)(nil),
  2371  	}
  2372  	file_google_datastore_v1_query_proto_msgTypes[13].OneofWrappers = []interface{}{
  2373  		(*AggregationQuery_Aggregation_Count_)(nil),
  2374  		(*AggregationQuery_Aggregation_Sum_)(nil),
  2375  		(*AggregationQuery_Aggregation_Avg_)(nil),
  2376  	}
  2377  	type x struct{}
  2378  	out := protoimpl.TypeBuilder{
  2379  		File: protoimpl.DescBuilder{
  2380  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2381  			RawDescriptor: file_google_datastore_v1_query_proto_rawDesc,
  2382  			NumEnums:      5,
  2383  			NumMessages:   18,
  2384  			NumExtensions: 0,
  2385  			NumServices:   0,
  2386  		},
  2387  		GoTypes:           file_google_datastore_v1_query_proto_goTypes,
  2388  		DependencyIndexes: file_google_datastore_v1_query_proto_depIdxs,
  2389  		EnumInfos:         file_google_datastore_v1_query_proto_enumTypes,
  2390  		MessageInfos:      file_google_datastore_v1_query_proto_msgTypes,
  2391  	}.Build()
  2392  	File_google_datastore_v1_query_proto = out.File
  2393  	file_google_datastore_v1_query_proto_rawDesc = nil
  2394  	file_google_datastore_v1_query_proto_goTypes = nil
  2395  	file_google_datastore_v1_query_proto_depIdxs = nil
  2396  }
  2397  

View as plain text