Debian Codegraph @

googleapis/datastore/v1beta3/query.pb.go

raw
1 // Copyright 2018 Google Inc.
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 v3.12.2
19 // source: google/datastore/v1beta3/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 _ "google.golang.org/genproto/googleapis/type/latlng"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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_v1beta3_query_proto_enumTypes[0].Descriptor()
87 }
88
89 func (EntityResult_ResultType) Type() protoreflect.EnumType {
90 return &file_google_datastore_v1beta3_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_v1beta3_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_v1beta3_query_proto_enumTypes[1].Descriptor()
140 }
141
142 func (PropertyOrder_Direction) Type() protoreflect.EnumType {
143 return &file_google_datastore_v1beta3_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_v1beta3_query_proto_rawDescGZIP(), []int{5, 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 )
164
165 // Enum value maps for CompositeFilter_Operator.
166 var (
167 CompositeFilter_Operator_name = map[int32]string{
168 0: "OPERATOR_UNSPECIFIED",
169 1: "AND",
170 }
171 CompositeFilter_Operator_value = map[string]int32{
172 "OPERATOR_UNSPECIFIED": 0,
173 "AND": 1,
174 }
175 )
176
177 func (x CompositeFilter_Operator) Enum() *CompositeFilter_Operator {
178 p := new(CompositeFilter_Operator)
179 *p = x
180 return p
181 }
182
183 func (x CompositeFilter_Operator) String() string {
184 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
185 }
186
187 func (CompositeFilter_Operator) Descriptor() protoreflect.EnumDescriptor {
188 return file_google_datastore_v1beta3_query_proto_enumTypes[2].Descriptor()
189 }
190
191 func (CompositeFilter_Operator) Type() protoreflect.EnumType {
192 return &file_google_datastore_v1beta3_query_proto_enumTypes[2]
193 }
194
195 func (x CompositeFilter_Operator) Number() protoreflect.EnumNumber {
196 return protoreflect.EnumNumber(x)
197 }
198
199 // Deprecated: Use CompositeFilter_Operator.Descriptor instead.
200 func (CompositeFilter_Operator) EnumDescriptor() ([]byte, []int) {
201 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{7, 0}
202 }
203
204 // A property filter operator.
205 type PropertyFilter_Operator int32
206
207 const (
208 // Unspecified. This value must not be used.
209 PropertyFilter_OPERATOR_UNSPECIFIED PropertyFilter_Operator = 0
210 // Less than.
211 PropertyFilter_LESS_THAN PropertyFilter_Operator = 1
212 // Less than or equal.
213 PropertyFilter_LESS_THAN_OR_EQUAL PropertyFilter_Operator = 2
214 // Greater than.
215 PropertyFilter_GREATER_THAN PropertyFilter_Operator = 3
216 // Greater than or equal.
217 PropertyFilter_GREATER_THAN_OR_EQUAL PropertyFilter_Operator = 4
218 // Equal.
219 PropertyFilter_EQUAL PropertyFilter_Operator = 5
220 // Has ancestor.
221 PropertyFilter_HAS_ANCESTOR PropertyFilter_Operator = 11
222 )
223
224 // Enum value maps for PropertyFilter_Operator.
225 var (
226 PropertyFilter_Operator_name = map[int32]string{
227 0: "OPERATOR_UNSPECIFIED",
228 1: "LESS_THAN",
229 2: "LESS_THAN_OR_EQUAL",
230 3: "GREATER_THAN",
231 4: "GREATER_THAN_OR_EQUAL",
232 5: "EQUAL",
233 11: "HAS_ANCESTOR",
234 }
235 PropertyFilter_Operator_value = map[string]int32{
236 "OPERATOR_UNSPECIFIED": 0,
237 "LESS_THAN": 1,
238 "LESS_THAN_OR_EQUAL": 2,
239 "GREATER_THAN": 3,
240 "GREATER_THAN_OR_EQUAL": 4,
241 "EQUAL": 5,
242 "HAS_ANCESTOR": 11,
243 }
244 )
245
246 func (x PropertyFilter_Operator) Enum() *PropertyFilter_Operator {
247 p := new(PropertyFilter_Operator)
248 *p = x
249 return p
250 }
251
252 func (x PropertyFilter_Operator) String() string {
253 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
254 }
255
256 func (PropertyFilter_Operator) Descriptor() protoreflect.EnumDescriptor {
257 return file_google_datastore_v1beta3_query_proto_enumTypes[3].Descriptor()
258 }
259
260 func (PropertyFilter_Operator) Type() protoreflect.EnumType {
261 return &file_google_datastore_v1beta3_query_proto_enumTypes[3]
262 }
263
264 func (x PropertyFilter_Operator) Number() protoreflect.EnumNumber {
265 return protoreflect.EnumNumber(x)
266 }
267
268 // Deprecated: Use PropertyFilter_Operator.Descriptor instead.
269 func (PropertyFilter_Operator) EnumDescriptor() ([]byte, []int) {
270 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{8, 0}
271 }
272
273 // The possible values for the `more_results` field.
274 type QueryResultBatch_MoreResultsType int32
275
276 const (
277 // Unspecified. This value is never used.
278 QueryResultBatch_MORE_RESULTS_TYPE_UNSPECIFIED QueryResultBatch_MoreResultsType = 0
279 // There may be additional batches to fetch from this query.
280 QueryResultBatch_NOT_FINISHED QueryResultBatch_MoreResultsType = 1
281 // The query is finished, but there may be more results after the limit.
282 QueryResultBatch_MORE_RESULTS_AFTER_LIMIT QueryResultBatch_MoreResultsType = 2
283 // The query is finished, but there may be more results after the end
284 // cursor.
285 QueryResultBatch_MORE_RESULTS_AFTER_CURSOR QueryResultBatch_MoreResultsType = 4
286 // The query is finished, and there are no more results.
287 QueryResultBatch_NO_MORE_RESULTS QueryResultBatch_MoreResultsType = 3
288 )
289
290 // Enum value maps for QueryResultBatch_MoreResultsType.
291 var (
292 QueryResultBatch_MoreResultsType_name = map[int32]string{
293 0: "MORE_RESULTS_TYPE_UNSPECIFIED",
294 1: "NOT_FINISHED",
295 2: "MORE_RESULTS_AFTER_LIMIT",
296 4: "MORE_RESULTS_AFTER_CURSOR",
297 3: "NO_MORE_RESULTS",
298 }
299 QueryResultBatch_MoreResultsType_value = map[string]int32{
300 "MORE_RESULTS_TYPE_UNSPECIFIED": 0,
301 "NOT_FINISHED": 1,
302 "MORE_RESULTS_AFTER_LIMIT": 2,
303 "MORE_RESULTS_AFTER_CURSOR": 4,
304 "NO_MORE_RESULTS": 3,
305 }
306 )
307
308 func (x QueryResultBatch_MoreResultsType) Enum() *QueryResultBatch_MoreResultsType {
309 p := new(QueryResultBatch_MoreResultsType)
310 *p = x
311 return p
312 }
313
314 func (x QueryResultBatch_MoreResultsType) String() string {
315 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
316 }
317
318 func (QueryResultBatch_MoreResultsType) Descriptor() protoreflect.EnumDescriptor {
319 return file_google_datastore_v1beta3_query_proto_enumTypes[4].Descriptor()
320 }
321
322 func (QueryResultBatch_MoreResultsType) Type() protoreflect.EnumType {
323 return &file_google_datastore_v1beta3_query_proto_enumTypes[4]
324 }
325
326 func (x QueryResultBatch_MoreResultsType) Number() protoreflect.EnumNumber {
327 return protoreflect.EnumNumber(x)
328 }
329
330 // Deprecated: Use QueryResultBatch_MoreResultsType.Descriptor instead.
331 func (QueryResultBatch_MoreResultsType) EnumDescriptor() ([]byte, []int) {
332 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{11, 0}
333 }
334
335 // The result of fetching an entity from Datastore.
336 type EntityResult struct {
337 state protoimpl.MessageState
338 sizeCache protoimpl.SizeCache
339 unknownFields protoimpl.UnknownFields
340
341 // The resulting entity.
342 Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
343 // The version of the entity, a strictly positive number that monotonically
344 // increases with changes to the entity.
345 //
346 // This field is set for
347 // [`FULL`][google.datastore.v1beta3.EntityResult.ResultType.FULL] entity
348 // results.
349 //
350 // For [missing][google.datastore.v1beta3.LookupResponse.missing] entities in
351 // `LookupResponse`, this is the version of the snapshot that was used to look
352 // up the entity, and it is always set except for eventually consistent reads.
353 Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
354 // A cursor that points to the position after the result entity.
355 // Set only when the `EntityResult` is part of a `QueryResultBatch` message.
356 Cursor []byte `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
357 }
358
359 func (x *EntityResult) Reset() {
360 *x = EntityResult{}
361 if protoimpl.UnsafeEnabled {
362 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[0]
363 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
364 ms.StoreMessageInfo(mi)
365 }
366 }
367
368 func (x *EntityResult) String() string {
369 return protoimpl.X.MessageStringOf(x)
370 }
371
372 func (*EntityResult) ProtoMessage() {}
373
374 func (x *EntityResult) ProtoReflect() protoreflect.Message {
375 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[0]
376 if protoimpl.UnsafeEnabled && x != nil {
377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
378 if ms.LoadMessageInfo() == nil {
379 ms.StoreMessageInfo(mi)
380 }
381 return ms
382 }
383 return mi.MessageOf(x)
384 }
385
386 // Deprecated: Use EntityResult.ProtoReflect.Descriptor instead.
387 func (*EntityResult) Descriptor() ([]byte, []int) {
388 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{0}
389 }
390
391 func (x *EntityResult) GetEntity() *Entity {
392 if x != nil {
393 return x.Entity
394 }
395 return nil
396 }
397
398 func (x *EntityResult) GetVersion() int64 {
399 if x != nil {
400 return x.Version
401 }
402 return 0
403 }
404
405 func (x *EntityResult) GetCursor() []byte {
406 if x != nil {
407 return x.Cursor
408 }
409 return nil
410 }
411
412 // A query for entities.
413 type Query struct {
414 state protoimpl.MessageState
415 sizeCache protoimpl.SizeCache
416 unknownFields protoimpl.UnknownFields
417
418 // The projection to return. Defaults to returning all properties.
419 Projection []*Projection `protobuf:"bytes,2,rep,name=projection,proto3" json:"projection,omitempty"`
420 // The kinds to query (if empty, returns entities of all kinds).
421 // Currently at most 1 kind may be specified.
422 Kind []*KindExpression `protobuf:"bytes,3,rep,name=kind,proto3" json:"kind,omitempty"`
423 // The filter to apply.
424 Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
425 // The order to apply to the query results (if empty, order is unspecified).
426 Order []*PropertyOrder `protobuf:"bytes,5,rep,name=order,proto3" json:"order,omitempty"`
427 // The properties to make distinct. The query results will contain the first
428 // result for each distinct combination of values for the given properties
429 // (if empty, all results are returned).
430 DistinctOn []*PropertyReference `protobuf:"bytes,6,rep,name=distinct_on,json=distinctOn,proto3" json:"distinct_on,omitempty"`
431 // A starting point for the query results. Query cursors are
432 // returned in query result batches and
433 // [can only be used to continue the same
434 // query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
435 StartCursor []byte `protobuf:"bytes,7,opt,name=start_cursor,json=startCursor,proto3" json:"start_cursor,omitempty"`
436 // An ending point for the query results. Query cursors are
437 // returned in query result batches and
438 // [can only be used to limit the same
439 // query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
440 EndCursor []byte `protobuf:"bytes,8,opt,name=end_cursor,json=endCursor,proto3" json:"end_cursor,omitempty"`
441 // The number of results to skip. Applies before limit, but after all other
442 // constraints. Optional. Must be >= 0 if specified.
443 Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"`
444 // The maximum number of results to return. Applies after all other
445 // constraints. Optional.
446 // Unspecified is interpreted as no limit.
447 // Must be >= 0 if specified.
448 Limit *wrapperspb.Int32Value `protobuf:"bytes,12,opt,name=limit,proto3" json:"limit,omitempty"`
449 }
450
451 func (x *Query) Reset() {
452 *x = Query{}
453 if protoimpl.UnsafeEnabled {
454 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[1]
455 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
456 ms.StoreMessageInfo(mi)
457 }
458 }
459
460 func (x *Query) String() string {
461 return protoimpl.X.MessageStringOf(x)
462 }
463
464 func (*Query) ProtoMessage() {}
465
466 func (x *Query) ProtoReflect() protoreflect.Message {
467 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[1]
468 if protoimpl.UnsafeEnabled && x != nil {
469 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
470 if ms.LoadMessageInfo() == nil {
471 ms.StoreMessageInfo(mi)
472 }
473 return ms
474 }
475 return mi.MessageOf(x)
476 }
477
478 // Deprecated: Use Query.ProtoReflect.Descriptor instead.
479 func (*Query) Descriptor() ([]byte, []int) {
480 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{1}
481 }
482
483 func (x *Query) GetProjection() []*Projection {
484 if x != nil {
485 return x.Projection
486 }
487 return nil
488 }
489
490 func (x *Query) GetKind() []*KindExpression {
491 if x != nil {
492 return x.Kind
493 }
494 return nil
495 }
496
497 func (x *Query) GetFilter() *Filter {
498 if x != nil {
499 return x.Filter
500 }
501 return nil
502 }
503
504 func (x *Query) GetOrder() []*PropertyOrder {
505 if x != nil {
506 return x.Order
507 }
508 return nil
509 }
510
511 func (x *Query) GetDistinctOn() []*PropertyReference {
512 if x != nil {
513 return x.DistinctOn
514 }
515 return nil
516 }
517
518 func (x *Query) GetStartCursor() []byte {
519 if x != nil {
520 return x.StartCursor
521 }
522 return nil
523 }
524
525 func (x *Query) GetEndCursor() []byte {
526 if x != nil {
527 return x.EndCursor
528 }
529 return nil
530 }
531
532 func (x *Query) GetOffset() int32 {
533 if x != nil {
534 return x.Offset
535 }
536 return 0
537 }
538
539 func (x *Query) GetLimit() *wrapperspb.Int32Value {
540 if x != nil {
541 return x.Limit
542 }
543 return nil
544 }
545
546 // A representation of a kind.
547 type KindExpression struct {
548 state protoimpl.MessageState
549 sizeCache protoimpl.SizeCache
550 unknownFields protoimpl.UnknownFields
551
552 // The name of the kind.
553 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
554 }
555
556 func (x *KindExpression) Reset() {
557 *x = KindExpression{}
558 if protoimpl.UnsafeEnabled {
559 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[2]
560 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
561 ms.StoreMessageInfo(mi)
562 }
563 }
564
565 func (x *KindExpression) String() string {
566 return protoimpl.X.MessageStringOf(x)
567 }
568
569 func (*KindExpression) ProtoMessage() {}
570
571 func (x *KindExpression) ProtoReflect() protoreflect.Message {
572 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[2]
573 if protoimpl.UnsafeEnabled && x != nil {
574 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
575 if ms.LoadMessageInfo() == nil {
576 ms.StoreMessageInfo(mi)
577 }
578 return ms
579 }
580 return mi.MessageOf(x)
581 }
582
583 // Deprecated: Use KindExpression.ProtoReflect.Descriptor instead.
584 func (*KindExpression) Descriptor() ([]byte, []int) {
585 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{2}
586 }
587
588 func (x *KindExpression) GetName() string {
589 if x != nil {
590 return x.Name
591 }
592 return ""
593 }
594
595 // A reference to a property relative to the kind expressions.
596 type PropertyReference struct {
597 state protoimpl.MessageState
598 sizeCache protoimpl.SizeCache
599 unknownFields protoimpl.UnknownFields
600
601 // The name of the property.
602 // If name includes "."s, it may be interpreted as a property name path.
603 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
604 }
605
606 func (x *PropertyReference) Reset() {
607 *x = PropertyReference{}
608 if protoimpl.UnsafeEnabled {
609 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[3]
610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
611 ms.StoreMessageInfo(mi)
612 }
613 }
614
615 func (x *PropertyReference) String() string {
616 return protoimpl.X.MessageStringOf(x)
617 }
618
619 func (*PropertyReference) ProtoMessage() {}
620
621 func (x *PropertyReference) ProtoReflect() protoreflect.Message {
622 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[3]
623 if protoimpl.UnsafeEnabled && x != nil {
624 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
625 if ms.LoadMessageInfo() == nil {
626 ms.StoreMessageInfo(mi)
627 }
628 return ms
629 }
630 return mi.MessageOf(x)
631 }
632
633 // Deprecated: Use PropertyReference.ProtoReflect.Descriptor instead.
634 func (*PropertyReference) Descriptor() ([]byte, []int) {
635 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{3}
636 }
637
638 func (x *PropertyReference) GetName() string {
639 if x != nil {
640 return x.Name
641 }
642 return ""
643 }
644
645 // A representation of a property in a projection.
646 type Projection struct {
647 state protoimpl.MessageState
648 sizeCache protoimpl.SizeCache
649 unknownFields protoimpl.UnknownFields
650
651 // The property to project.
652 Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
653 }
654
655 func (x *Projection) Reset() {
656 *x = Projection{}
657 if protoimpl.UnsafeEnabled {
658 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[4]
659 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
660 ms.StoreMessageInfo(mi)
661 }
662 }
663
664 func (x *Projection) String() string {
665 return protoimpl.X.MessageStringOf(x)
666 }
667
668 func (*Projection) ProtoMessage() {}
669
670 func (x *Projection) ProtoReflect() protoreflect.Message {
671 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[4]
672 if protoimpl.UnsafeEnabled && x != nil {
673 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
674 if ms.LoadMessageInfo() == nil {
675 ms.StoreMessageInfo(mi)
676 }
677 return ms
678 }
679 return mi.MessageOf(x)
680 }
681
682 // Deprecated: Use Projection.ProtoReflect.Descriptor instead.
683 func (*Projection) Descriptor() ([]byte, []int) {
684 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{4}
685 }
686
687 func (x *Projection) GetProperty() *PropertyReference {
688 if x != nil {
689 return x.Property
690 }
691 return nil
692 }
693
694 // The desired order for a specific property.
695 type PropertyOrder struct {
696 state protoimpl.MessageState
697 sizeCache protoimpl.SizeCache
698 unknownFields protoimpl.UnknownFields
699
700 // The property to order by.
701 Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
702 // The direction to order by. Defaults to `ASCENDING`.
703 Direction PropertyOrder_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=google.datastore.v1beta3.PropertyOrder_Direction" json:"direction,omitempty"`
704 }
705
706 func (x *PropertyOrder) Reset() {
707 *x = PropertyOrder{}
708 if protoimpl.UnsafeEnabled {
709 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[5]
710 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
711 ms.StoreMessageInfo(mi)
712 }
713 }
714
715 func (x *PropertyOrder) String() string {
716 return protoimpl.X.MessageStringOf(x)
717 }
718
719 func (*PropertyOrder) ProtoMessage() {}
720
721 func (x *PropertyOrder) ProtoReflect() protoreflect.Message {
722 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[5]
723 if protoimpl.UnsafeEnabled && x != nil {
724 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
725 if ms.LoadMessageInfo() == nil {
726 ms.StoreMessageInfo(mi)
727 }
728 return ms
729 }
730 return mi.MessageOf(x)
731 }
732
733 // Deprecated: Use PropertyOrder.ProtoReflect.Descriptor instead.
734 func (*PropertyOrder) Descriptor() ([]byte, []int) {
735 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{5}
736 }
737
738 func (x *PropertyOrder) GetProperty() *PropertyReference {
739 if x != nil {
740 return x.Property
741 }
742 return nil
743 }
744
745 func (x *PropertyOrder) GetDirection() PropertyOrder_Direction {
746 if x != nil {
747 return x.Direction
748 }
749 return PropertyOrder_DIRECTION_UNSPECIFIED
750 }
751
752 // A holder for any type of filter.
753 type Filter struct {
754 state protoimpl.MessageState
755 sizeCache protoimpl.SizeCache
756 unknownFields protoimpl.UnknownFields
757
758 // The type of filter.
759 //
760 // Types that are assignable to FilterType:
761 // *Filter_CompositeFilter
762 // *Filter_PropertyFilter
763 FilterType isFilter_FilterType `protobuf_oneof:"filter_type"`
764 }
765
766 func (x *Filter) Reset() {
767 *x = Filter{}
768 if protoimpl.UnsafeEnabled {
769 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[6]
770 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
771 ms.StoreMessageInfo(mi)
772 }
773 }
774
775 func (x *Filter) String() string {
776 return protoimpl.X.MessageStringOf(x)
777 }
778
779 func (*Filter) ProtoMessage() {}
780
781 func (x *Filter) ProtoReflect() protoreflect.Message {
782 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[6]
783 if protoimpl.UnsafeEnabled && x != nil {
784 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
785 if ms.LoadMessageInfo() == nil {
786 ms.StoreMessageInfo(mi)
787 }
788 return ms
789 }
790 return mi.MessageOf(x)
791 }
792
793 // Deprecated: Use Filter.ProtoReflect.Descriptor instead.
794 func (*Filter) Descriptor() ([]byte, []int) {
795 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{6}
796 }
797
798 func (m *Filter) GetFilterType() isFilter_FilterType {
799 if m != nil {
800 return m.FilterType
801 }
802 return nil
803 }
804
805 func (x *Filter) GetCompositeFilter() *CompositeFilter {
806 if x, ok := x.GetFilterType().(*Filter_CompositeFilter); ok {
807 return x.CompositeFilter
808 }
809 return nil
810 }
811
812 func (x *Filter) GetPropertyFilter() *PropertyFilter {
813 if x, ok := x.GetFilterType().(*Filter_PropertyFilter); ok {
814 return x.PropertyFilter
815 }
816 return nil
817 }
818
819 type isFilter_FilterType interface {
820 isFilter_FilterType()
821 }
822
823 type Filter_CompositeFilter struct {
824 // A composite filter.
825 CompositeFilter *CompositeFilter `protobuf:"bytes,1,opt,name=composite_filter,json=compositeFilter,proto3,oneof"`
826 }
827
828 type Filter_PropertyFilter struct {
829 // A filter on a property.
830 PropertyFilter *PropertyFilter `protobuf:"bytes,2,opt,name=property_filter,json=propertyFilter,proto3,oneof"`
831 }
832
833 func (*Filter_CompositeFilter) isFilter_FilterType() {}
834
835 func (*Filter_PropertyFilter) isFilter_FilterType() {}
836
837 // A filter that merges multiple other filters using the given operator.
838 type CompositeFilter struct {
839 state protoimpl.MessageState
840 sizeCache protoimpl.SizeCache
841 unknownFields protoimpl.UnknownFields
842
843 // The operator for combining multiple filters.
844 Op CompositeFilter_Operator `protobuf:"varint,1,opt,name=op,proto3,enum=google.datastore.v1beta3.CompositeFilter_Operator" json:"op,omitempty"`
845 // The list of filters to combine.
846 // Must contain at least one filter.
847 Filters []*Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
848 }
849
850 func (x *CompositeFilter) Reset() {
851 *x = CompositeFilter{}
852 if protoimpl.UnsafeEnabled {
853 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[7]
854 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
855 ms.StoreMessageInfo(mi)
856 }
857 }
858
859 func (x *CompositeFilter) String() string {
860 return protoimpl.X.MessageStringOf(x)
861 }
862
863 func (*CompositeFilter) ProtoMessage() {}
864
865 func (x *CompositeFilter) ProtoReflect() protoreflect.Message {
866 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[7]
867 if protoimpl.UnsafeEnabled && x != nil {
868 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
869 if ms.LoadMessageInfo() == nil {
870 ms.StoreMessageInfo(mi)
871 }
872 return ms
873 }
874 return mi.MessageOf(x)
875 }
876
877 // Deprecated: Use CompositeFilter.ProtoReflect.Descriptor instead.
878 func (*CompositeFilter) Descriptor() ([]byte, []int) {
879 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{7}
880 }
881
882 func (x *CompositeFilter) GetOp() CompositeFilter_Operator {
883 if x != nil {
884 return x.Op
885 }
886 return CompositeFilter_OPERATOR_UNSPECIFIED
887 }
888
889 func (x *CompositeFilter) GetFilters() []*Filter {
890 if x != nil {
891 return x.Filters
892 }
893 return nil
894 }
895
896 // A filter on a specific property.
897 type PropertyFilter struct {
898 state protoimpl.MessageState
899 sizeCache protoimpl.SizeCache
900 unknownFields protoimpl.UnknownFields
901
902 // The property to filter by.
903 Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
904 // The operator to filter by.
905 Op PropertyFilter_Operator `protobuf:"varint,2,opt,name=op,proto3,enum=google.datastore.v1beta3.PropertyFilter_Operator" json:"op,omitempty"`
906 // The value to compare the property to.
907 Value *Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
908 }
909
910 func (x *PropertyFilter) Reset() {
911 *x = PropertyFilter{}
912 if protoimpl.UnsafeEnabled {
913 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[8]
914 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
915 ms.StoreMessageInfo(mi)
916 }
917 }
918
919 func (x *PropertyFilter) String() string {
920 return protoimpl.X.MessageStringOf(x)
921 }
922
923 func (*PropertyFilter) ProtoMessage() {}
924
925 func (x *PropertyFilter) ProtoReflect() protoreflect.Message {
926 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[8]
927 if protoimpl.UnsafeEnabled && x != nil {
928 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
929 if ms.LoadMessageInfo() == nil {
930 ms.StoreMessageInfo(mi)
931 }
932 return ms
933 }
934 return mi.MessageOf(x)
935 }
936
937 // Deprecated: Use PropertyFilter.ProtoReflect.Descriptor instead.
938 func (*PropertyFilter) Descriptor() ([]byte, []int) {
939 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{8}
940 }
941
942 func (x *PropertyFilter) GetProperty() *PropertyReference {
943 if x != nil {
944 return x.Property
945 }
946 return nil
947 }
948
949 func (x *PropertyFilter) GetOp() PropertyFilter_Operator {
950 if x != nil {
951 return x.Op
952 }
953 return PropertyFilter_OPERATOR_UNSPECIFIED
954 }
955
956 func (x *PropertyFilter) GetValue() *Value {
957 if x != nil {
958 return x.Value
959 }
960 return nil
961 }
962
963 // A [GQL
964 // query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
965 type GqlQuery struct {
966 state protoimpl.MessageState
967 sizeCache protoimpl.SizeCache
968 unknownFields protoimpl.UnknownFields
969
970 // A string of the format described
971 // [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
972 QueryString string `protobuf:"bytes,1,opt,name=query_string,json=queryString,proto3" json:"query_string,omitempty"`
973 // When false, the query string must not contain any literals and instead must
974 // bind all values. For example,
975 // `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while
976 // `SELECT * FROM Kind WHERE a = @value` is.
977 AllowLiterals bool `protobuf:"varint,2,opt,name=allow_literals,json=allowLiterals,proto3" json:"allow_literals,omitempty"`
978 // For each non-reserved named binding site in the query string, there must be
979 // a named parameter with that name, but not necessarily the inverse.
980 //
981 // Key must match regex `[A-Za-z_$][A-Za-z_$0-9]*`, must not match regex
982 // `__.*__`, and must not be `""`.
983 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"`
984 // Numbered binding site @1 references the first numbered parameter,
985 // effectively using 1-based indexing, rather than the usual 0.
986 //
987 // For each binding site numbered i in `query_string`, there must be an i-th
988 // numbered parameter. The inverse must also be true.
989 PositionalBindings []*GqlQueryParameter `protobuf:"bytes,4,rep,name=positional_bindings,json=positionalBindings,proto3" json:"positional_bindings,omitempty"`
990 }
991
992 func (x *GqlQuery) Reset() {
993 *x = GqlQuery{}
994 if protoimpl.UnsafeEnabled {
995 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[9]
996 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
997 ms.StoreMessageInfo(mi)
998 }
999 }
1000
1001 func (x *GqlQuery) String() string {
1002 return protoimpl.X.MessageStringOf(x)
1003 }
1004
1005 func (*GqlQuery) ProtoMessage() {}
1006
1007 func (x *GqlQuery) ProtoReflect() protoreflect.Message {
1008 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[9]
1009 if protoimpl.UnsafeEnabled && x != nil {
1010 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1011 if ms.LoadMessageInfo() == nil {
1012 ms.StoreMessageInfo(mi)
1013 }
1014 return ms
1015 }
1016 return mi.MessageOf(x)
1017 }
1018
1019 // Deprecated: Use GqlQuery.ProtoReflect.Descriptor instead.
1020 func (*GqlQuery) Descriptor() ([]byte, []int) {
1021 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{9}
1022 }
1023
1024 func (x *GqlQuery) GetQueryString() string {
1025 if x != nil {
1026 return x.QueryString
1027 }
1028 return ""
1029 }
1030
1031 func (x *GqlQuery) GetAllowLiterals() bool {
1032 if x != nil {
1033 return x.AllowLiterals
1034 }
1035 return false
1036 }
1037
1038 func (x *GqlQuery) GetNamedBindings() map[string]*GqlQueryParameter {
1039 if x != nil {
1040 return x.NamedBindings
1041 }
1042 return nil
1043 }
1044
1045 func (x *GqlQuery) GetPositionalBindings() []*GqlQueryParameter {
1046 if x != nil {
1047 return x.PositionalBindings
1048 }
1049 return nil
1050 }
1051
1052 // A binding parameter for a GQL query.
1053 type GqlQueryParameter struct {
1054 state protoimpl.MessageState
1055 sizeCache protoimpl.SizeCache
1056 unknownFields protoimpl.UnknownFields
1057
1058 // The type of parameter.
1059 //
1060 // Types that are assignable to ParameterType:
1061 // *GqlQueryParameter_Value
1062 // *GqlQueryParameter_Cursor
1063 ParameterType isGqlQueryParameter_ParameterType `protobuf_oneof:"parameter_type"`
1064 }
1065
1066 func (x *GqlQueryParameter) Reset() {
1067 *x = GqlQueryParameter{}
1068 if protoimpl.UnsafeEnabled {
1069 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[10]
1070 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1071 ms.StoreMessageInfo(mi)
1072 }
1073 }
1074
1075 func (x *GqlQueryParameter) String() string {
1076 return protoimpl.X.MessageStringOf(x)
1077 }
1078
1079 func (*GqlQueryParameter) ProtoMessage() {}
1080
1081 func (x *GqlQueryParameter) ProtoReflect() protoreflect.Message {
1082 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[10]
1083 if protoimpl.UnsafeEnabled && x != nil {
1084 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1085 if ms.LoadMessageInfo() == nil {
1086 ms.StoreMessageInfo(mi)
1087 }
1088 return ms
1089 }
1090 return mi.MessageOf(x)
1091 }
1092
1093 // Deprecated: Use GqlQueryParameter.ProtoReflect.Descriptor instead.
1094 func (*GqlQueryParameter) Descriptor() ([]byte, []int) {
1095 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{10}
1096 }
1097
1098 func (m *GqlQueryParameter) GetParameterType() isGqlQueryParameter_ParameterType {
1099 if m != nil {
1100 return m.ParameterType
1101 }
1102 return nil
1103 }
1104
1105 func (x *GqlQueryParameter) GetValue() *Value {
1106 if x, ok := x.GetParameterType().(*GqlQueryParameter_Value); ok {
1107 return x.Value
1108 }
1109 return nil
1110 }
1111
1112 func (x *GqlQueryParameter) GetCursor() []byte {
1113 if x, ok := x.GetParameterType().(*GqlQueryParameter_Cursor); ok {
1114 return x.Cursor
1115 }
1116 return nil
1117 }
1118
1119 type isGqlQueryParameter_ParameterType interface {
1120 isGqlQueryParameter_ParameterType()
1121 }
1122
1123 type GqlQueryParameter_Value struct {
1124 // A value parameter.
1125 Value *Value `protobuf:"bytes,2,opt,name=value,proto3,oneof"`
1126 }
1127
1128 type GqlQueryParameter_Cursor struct {
1129 // A query cursor. Query cursors are returned in query
1130 // result batches.
1131 Cursor []byte `protobuf:"bytes,3,opt,name=cursor,proto3,oneof"`
1132 }
1133
1134 func (*GqlQueryParameter_Value) isGqlQueryParameter_ParameterType() {}
1135
1136 func (*GqlQueryParameter_Cursor) isGqlQueryParameter_ParameterType() {}
1137
1138 // A batch of results produced by a query.
1139 type QueryResultBatch struct {
1140 state protoimpl.MessageState
1141 sizeCache protoimpl.SizeCache
1142 unknownFields protoimpl.UnknownFields
1143
1144 // The number of results skipped, typically because of an offset.
1145 SkippedResults int32 `protobuf:"varint,6,opt,name=skipped_results,json=skippedResults,proto3" json:"skipped_results,omitempty"`
1146 // A cursor that points to the position after the last skipped result.
1147 // Will be set when `skipped_results` != 0.
1148 SkippedCursor []byte `protobuf:"bytes,3,opt,name=skipped_cursor,json=skippedCursor,proto3" json:"skipped_cursor,omitempty"`
1149 // The result type for every entity in `entity_results`.
1150 EntityResultType EntityResult_ResultType `protobuf:"varint,1,opt,name=entity_result_type,json=entityResultType,proto3,enum=google.datastore.v1beta3.EntityResult_ResultType" json:"entity_result_type,omitempty"`
1151 // The results for this batch.
1152 EntityResults []*EntityResult `protobuf:"bytes,2,rep,name=entity_results,json=entityResults,proto3" json:"entity_results,omitempty"`
1153 // A cursor that points to the position after the last result in the batch.
1154 EndCursor []byte `protobuf:"bytes,4,opt,name=end_cursor,json=endCursor,proto3" json:"end_cursor,omitempty"`
1155 // The state of the query after the current batch.
1156 MoreResults QueryResultBatch_MoreResultsType `protobuf:"varint,5,opt,name=more_results,json=moreResults,proto3,enum=google.datastore.v1beta3.QueryResultBatch_MoreResultsType" json:"more_results,omitempty"`
1157 // The version number of the snapshot this batch was returned from.
1158 // This applies to the range of results from the query's `start_cursor` (or
1159 // the beginning of the query if no cursor was given) to this batch's
1160 // `end_cursor` (not the query's `end_cursor`).
1161 //
1162 // In a single transaction, subsequent query result batches for the same query
1163 // can have a greater snapshot version number. Each batch's snapshot version
1164 // is valid for all preceding batches.
1165 // The value will be zero for eventually consistent queries.
1166 SnapshotVersion int64 `protobuf:"varint,7,opt,name=snapshot_version,json=snapshotVersion,proto3" json:"snapshot_version,omitempty"`
1167 }
1168
1169 func (x *QueryResultBatch) Reset() {
1170 *x = QueryResultBatch{}
1171 if protoimpl.UnsafeEnabled {
1172 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[11]
1173 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1174 ms.StoreMessageInfo(mi)
1175 }
1176 }
1177
1178 func (x *QueryResultBatch) String() string {
1179 return protoimpl.X.MessageStringOf(x)
1180 }
1181
1182 func (*QueryResultBatch) ProtoMessage() {}
1183
1184 func (x *QueryResultBatch) ProtoReflect() protoreflect.Message {
1185 mi := &file_google_datastore_v1beta3_query_proto_msgTypes[11]
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 QueryResultBatch.ProtoReflect.Descriptor instead.
1197 func (*QueryResultBatch) Descriptor() ([]byte, []int) {
1198 return file_google_datastore_v1beta3_query_proto_rawDescGZIP(), []int{11}
1199 }
1200
1201 func (x *QueryResultBatch) GetSkippedResults() int32 {
1202 if x != nil {
1203 return x.SkippedResults
1204 }
1205 return 0
1206 }
1207
1208 func (x *QueryResultBatch) GetSkippedCursor() []byte {
1209 if x != nil {
1210 return x.SkippedCursor
1211 }
1212 return nil
1213 }
1214
1215 func (x *QueryResultBatch) GetEntityResultType() EntityResult_ResultType {
1216 if x != nil {
1217 return x.EntityResultType
1218 }
1219 return EntityResult_RESULT_TYPE_UNSPECIFIED
1220 }
1221
1222 func (x *QueryResultBatch) GetEntityResults() []*EntityResult {
1223 if x != nil {
1224 return x.EntityResults
1225 }
1226 return nil
1227 }
1228
1229 func (x *QueryResultBatch) GetEndCursor() []byte {
1230 if x != nil {
1231 return x.EndCursor
1232 }
1233 return nil
1234 }
1235
1236 func (x *QueryResultBatch) GetMoreResults() QueryResultBatch_MoreResultsType {
1237 if x != nil {
1238 return x.MoreResults
1239 }
1240 return QueryResultBatch_MORE_RESULTS_TYPE_UNSPECIFIED
1241 }
1242
1243 func (x *QueryResultBatch) GetSnapshotVersion() int64 {
1244 if x != nil {
1245 return x.SnapshotVersion
1246 }
1247 return 0
1248 }
1249
1250 var File_google_datastore_v1beta3_query_proto protoreflect.FileDescriptor
1251
1252 var file_google_datastore_v1beta3_query_proto_rawDesc = []byte{
1253 0x0a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f,
1254 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79,
1255 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
1256 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33,
1257 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
1258 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25,
1259 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65,
1260 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e,
1261 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1262 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e,
1263 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79,
1264 0x70, 0x65, 0x2f, 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
1265 0xcd, 0x01, 0x0a, 0x0c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
1266 0x12, 0x38, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
1267 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74,
1268 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x45, 0x6e, 0x74, 0x69,
1269 0x74, 0x79, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,
1270 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72,
1271 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x03,
1272 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x22, 0x51, 0x0a, 0x0a,
1273 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45,
1274 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
1275 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10,
1276 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10,
1277 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4b, 0x45, 0x59, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x22,
1278 0xdf, 0x03, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x44, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
1279 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
1280 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65,
1281 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
1282 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
1283 0x3c, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
1284 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65,
1285 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x45, 0x78, 0x70,
1286 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x38, 0x0a,
1287 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
1288 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65,
1289 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52,
1290 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72,
1291 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1292 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
1293 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52,
1294 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x74, 0x69, 0x6e,
1295 0x63, 0x74, 0x5f, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f,
1296 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
1297 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52,
1298 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x74, 0x69, 0x6e,
1299 0x63, 0x74, 0x4f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x75,
1300 0x72, 0x73, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72,
1301 0x74, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x64, 0x5f, 0x63,
1302 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, 0x6e, 0x64,
1303 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
1304 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x31,
1305 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
1306 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1307 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69,
1308 0x74, 0x22, 0x24, 0x0a, 0x0e, 0x4b, 0x69, 0x6e, 0x64, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,
1309 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1310 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x27, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x65,
1311 0x72, 0x74, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04,
1312 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1313 0x22, 0x55, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47,
1314 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
1315 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74,
1316 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x70,
1317 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x70,
1318 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x22, 0xf0, 0x01, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x70,
1319 0x65, 0x72, 0x74, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x08, 0x70, 0x72, 0x6f,
1320 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f,
1321 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
1322 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52,
1323 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
1324 0x74, 0x79, 0x12, 0x4f, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
1325 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
1326 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33,
1327 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x44,
1328 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
1329 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1330 0x12, 0x19, 0x0a, 0x15, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e,
1331 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41,
1332 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45,
1333 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x22, 0xc4, 0x01, 0x0a, 0x06, 0x46,
1334 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x56, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69,
1335 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
1336 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f,
1337 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f,
1338 0x73, 0x69, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x6f,
1339 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x53, 0x0a,
1340 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
1341 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1342 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
1343 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
1344 0x48, 0x00, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74,
1345 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70,
1346 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x46,
1347 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
1348 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73,
1349 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x43, 0x6f, 0x6d,
1350 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4f, 0x70, 0x65,
1351 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x3a, 0x0a, 0x07, 0x66, 0x69, 0x6c,
1352 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f,
1353 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
1354 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69,
1355 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0x2d, 0x0a, 0x08, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f,
1356 0x72, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e,
1357 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41,
1358 0x4e, 0x44, 0x10, 0x01, 0x22, 0xeb, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
1359 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65,
1360 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1361 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62,
1362 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x66,
1363 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
1364 0x12, 0x41, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67,
1365 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
1366 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
1367 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52,
1368 0x02, 0x6f, 0x70, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01,
1369 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61,
1370 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x56, 0x61,
1371 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x95, 0x01, 0x0a, 0x08, 0x4f,
1372 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52, 0x41,
1373 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
1374 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x10, 0x01,
1375 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x5f, 0x4f, 0x52,
1376 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x52, 0x45, 0x41,
1377 0x54, 0x45, 0x52, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x52,
1378 0x45, 0x41, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x5f, 0x4f, 0x52, 0x5f, 0x45, 0x51,
1379 0x55, 0x41, 0x4c, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x05,
1380 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x41, 0x53, 0x5f, 0x41, 0x4e, 0x43, 0x45, 0x53, 0x54, 0x4f, 0x52,
1381 0x10, 0x0b, 0x22, 0xff, 0x02, 0x0a, 0x08, 0x47, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12,
1382 0x21, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18,
1383 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x69,
1384 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6c, 0x69, 0x74, 0x65,
1385 0x72, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f,
1386 0x77, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x12, 0x5c, 0x0a, 0x0e, 0x6e, 0x61, 0x6d,
1387 0x65, 0x64, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
1388 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73,
1389 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x47, 0x71, 0x6c,
1390 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x42, 0x69, 0x6e, 0x64, 0x69,
1391 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x42,
1392 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x73, 0x69, 0x74,
1393 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04,
1394 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61,
1395 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e,
1396 0x47, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
1397 0x72, 0x52, 0x12, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x69, 0x6e,
1398 0x64, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x6d, 0x0a, 0x12, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x42, 0x69,
1399 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
1400 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x41, 0x0a,
1401 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67,
1402 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
1403 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x47, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79,
1404 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
1405 0x3a, 0x02, 0x38, 0x01, 0x22, 0x78, 0x0a, 0x11, 0x47, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79,
1406 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c,
1407 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1408 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
1409 0x74, 0x61, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c,
1410 0x75, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01,
1411 0x28, 0x0c, 0x48, 0x00, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x42, 0x10, 0x0a, 0x0e,
1412 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xd6,
1413 0x04, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x61,
1414 0x74, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x72,
1415 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x73, 0x6b,
1416 0x69, 0x70, 0x70, 0x65, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e,
1417 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x03,
1418 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x43, 0x75, 0x72,
1419 0x73, 0x6f, 0x72, 0x12, 0x5f, 0x0a, 0x12, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65,
1420 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
1421 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f,
1422 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74,
1423 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79,
1424 0x70, 0x65, 0x52, 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
1425 0x54, 0x79, 0x70, 0x65, 0x12, 0x4d, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72,
1426 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67,
1427 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
1428 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65,
1429 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x75,
1430 0x6c, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x64, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f,
1431 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x73,
1432 0x6f, 0x72, 0x12, 0x5d, 0x0a, 0x0c, 0x6d, 0x6f, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c,
1433 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1434 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
1435 0x74, 0x61, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42,
1436 0x61, 0x74, 0x63, 0x68, 0x2e, 0x4d, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
1437 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
1438 0x73, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x76, 0x65,
1439 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x6e, 0x61,
1440 0x70, 0x73, 0x68, 0x6f, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x98, 0x01, 0x0a,
1441 0x0f, 0x4d, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x54, 0x79, 0x70, 0x65,
1442 0x12, 0x21, 0x0a, 0x1d, 0x4d, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x53,
1443 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
1444 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53,
1445 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45,
1446 0x53, 0x55, 0x4c, 0x54, 0x53, 0x5f, 0x41, 0x46, 0x54, 0x45, 0x52, 0x5f, 0x4c, 0x49, 0x4d, 0x49,
1447 0x54, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55,
1448 0x4c, 0x54, 0x53, 0x5f, 0x41, 0x46, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x55, 0x52, 0x53, 0x4f, 0x52,
1449 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x4f, 0x5f, 0x4d, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45,
1450 0x53, 0x55, 0x4c, 0x54, 0x53, 0x10, 0x03, 0x42, 0xd5, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e,
1451 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65,
1452 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50,
1453 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
1454 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
1455 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61,
1456 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x3b,
1457 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67,
1458 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f,
1459 0x72, 0x65, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x33, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f,
1460 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74,
1461 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0xea, 0x02, 0x21, 0x47, 0x6f,
1462 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x61, 0x74,
1463 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x62,
1464 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1465 }
1466
1467 var (
1468 file_google_datastore_v1beta3_query_proto_rawDescOnce sync.Once
1469 file_google_datastore_v1beta3_query_proto_rawDescData = file_google_datastore_v1beta3_query_proto_rawDesc
1470 )
1471
1472 func file_google_datastore_v1beta3_query_proto_rawDescGZIP() []byte {
1473 file_google_datastore_v1beta3_query_proto_rawDescOnce.Do(func() {
1474 file_google_datastore_v1beta3_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_datastore_v1beta3_query_proto_rawDescData)
1475 })
1476 return file_google_datastore_v1beta3_query_proto_rawDescData
1477 }
1478
1479 var file_google_datastore_v1beta3_query_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
1480 var file_google_datastore_v1beta3_query_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
1481 var file_google_datastore_v1beta3_query_proto_goTypes = []interface{}{
1482 (EntityResult_ResultType)(0), // 0: google.datastore.v1beta3.EntityResult.ResultType
1483 (PropertyOrder_Direction)(0), // 1: google.datastore.v1beta3.PropertyOrder.Direction
1484 (CompositeFilter_Operator)(0), // 2: google.datastore.v1beta3.CompositeFilter.Operator
1485 (PropertyFilter_Operator)(0), // 3: google.datastore.v1beta3.PropertyFilter.Operator
1486 (QueryResultBatch_MoreResultsType)(0), // 4: google.datastore.v1beta3.QueryResultBatch.MoreResultsType
1487 (*EntityResult)(nil), // 5: google.datastore.v1beta3.EntityResult
1488 (*Query)(nil), // 6: google.datastore.v1beta3.Query
1489 (*KindExpression)(nil), // 7: google.datastore.v1beta3.KindExpression
1490 (*PropertyReference)(nil), // 8: google.datastore.v1beta3.PropertyReference
1491 (*Projection)(nil), // 9: google.datastore.v1beta3.Projection
1492 (*PropertyOrder)(nil), // 10: google.datastore.v1beta3.PropertyOrder
1493 (*Filter)(nil), // 11: google.datastore.v1beta3.Filter
1494 (*CompositeFilter)(nil), // 12: google.datastore.v1beta3.CompositeFilter
1495 (*PropertyFilter)(nil), // 13: google.datastore.v1beta3.PropertyFilter
1496 (*GqlQuery)(nil), // 14: google.datastore.v1beta3.GqlQuery
1497 (*GqlQueryParameter)(nil), // 15: google.datastore.v1beta3.GqlQueryParameter
1498 (*QueryResultBatch)(nil), // 16: google.datastore.v1beta3.QueryResultBatch
1499 nil, // 17: google.datastore.v1beta3.GqlQuery.NamedBindingsEntry
1500 (*Entity)(nil), // 18: google.datastore.v1beta3.Entity
1501 (*wrapperspb.Int32Value)(nil), // 19: google.protobuf.Int32Value
1502 (*Value)(nil), // 20: google.datastore.v1beta3.Value
1503 }
1504 var file_google_datastore_v1beta3_query_proto_depIdxs = []int32{
1505 18, // 0: google.datastore.v1beta3.EntityResult.entity:type_name -> google.datastore.v1beta3.Entity
1506 9, // 1: google.datastore.v1beta3.Query.projection:type_name -> google.datastore.v1beta3.Projection
1507 7, // 2: google.datastore.v1beta3.Query.kind:type_name -> google.datastore.v1beta3.KindExpression
1508 11, // 3: google.datastore.v1beta3.Query.filter:type_name -> google.datastore.v1beta3.Filter
1509 10, // 4: google.datastore.v1beta3.Query.order:type_name -> google.datastore.v1beta3.PropertyOrder
1510 8, // 5: google.datastore.v1beta3.Query.distinct_on:type_name -> google.datastore.v1beta3.PropertyReference
1511 19, // 6: google.datastore.v1beta3.Query.limit:type_name -> google.protobuf.Int32Value
1512 8, // 7: google.datastore.v1beta3.Projection.property:type_name -> google.datastore.v1beta3.PropertyReference
1513 8, // 8: google.datastore.v1beta3.PropertyOrder.property:type_name -> google.datastore.v1beta3.PropertyReference
1514 1, // 9: google.datastore.v1beta3.PropertyOrder.direction:type_name -> google.datastore.v1beta3.PropertyOrder.Direction
1515 12, // 10: google.datastore.v1beta3.Filter.composite_filter:type_name -> google.datastore.v1beta3.CompositeFilter
1516 13, // 11: google.datastore.v1beta3.Filter.property_filter:type_name -> google.datastore.v1beta3.PropertyFilter
1517 2, // 12: google.datastore.v1beta3.CompositeFilter.op:type_name -> google.datastore.v1beta3.CompositeFilter.Operator
1518 11, // 13: google.datastore.v1beta3.CompositeFilter.filters:type_name -> google.datastore.v1beta3.Filter
1519 8, // 14: google.datastore.v1beta3.PropertyFilter.property:type_name -> google.datastore.v1beta3.PropertyReference
1520 3, // 15: google.datastore.v1beta3.PropertyFilter.op:type_name -> google.datastore.v1beta3.PropertyFilter.Operator
1521 20, // 16: google.datastore.v1beta3.PropertyFilter.value:type_name -> google.datastore.v1beta3.Value
1522 17, // 17: google.datastore.v1beta3.GqlQuery.named_bindings:type_name -> google.datastore.v1beta3.GqlQuery.NamedBindingsEntry
1523 15, // 18: google.datastore.v1beta3.GqlQuery.positional_bindings:type_name -> google.datastore.v1beta3.GqlQueryParameter
1524 20, // 19: google.datastore.v1beta3.GqlQueryParameter.value:type_name -> google.datastore.v1beta3.Value
1525 0, // 20: google.datastore.v1beta3.QueryResultBatch.entity_result_type:type_name -> google.datastore.v1beta3.EntityResult.ResultType
1526 5, // 21: google.datastore.v1beta3.QueryResultBatch.entity_results:type_name -> google.datastore.v1beta3.EntityResult
1527 4, // 22: google.datastore.v1beta3.QueryResultBatch.more_results:type_name -> google.datastore.v1beta3.QueryResultBatch.MoreResultsType
1528 15, // 23: google.datastore.v1beta3.GqlQuery.NamedBindingsEntry.value:type_name -> google.datastore.v1beta3.GqlQueryParameter
1529 24, // [24:24] is the sub-list for method output_type
1530 24, // [24:24] is the sub-list for method input_type
1531 24, // [24:24] is the sub-list for extension type_name
1532 24, // [24:24] is the sub-list for extension extendee
1533 0, // [0:24] is the sub-list for field type_name
1534 }
1535
1536 func init() { file_google_datastore_v1beta3_query_proto_init() }
1537 func file_google_datastore_v1beta3_query_proto_init() {
1538 if File_google_datastore_v1beta3_query_proto != nil {
1539 return
1540 }
1541 file_google_datastore_v1beta3_entity_proto_init()
1542 if !protoimpl.UnsafeEnabled {
1543 file_google_datastore_v1beta3_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1544 switch v := v.(*EntityResult); i {
1545 case 0:
1546 return &v.state
1547 case 1:
1548 return &v.sizeCache
1549 case 2:
1550 return &v.unknownFields
1551 default:
1552 return nil
1553 }
1554 }
1555 file_google_datastore_v1beta3_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1556 switch v := v.(*Query); i {
1557 case 0:
1558 return &v.state
1559 case 1:
1560 return &v.sizeCache
1561 case 2:
1562 return &v.unknownFields
1563 default:
1564 return nil
1565 }
1566 }
1567 file_google_datastore_v1beta3_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1568 switch v := v.(*KindExpression); i {
1569 case 0:
1570 return &v.state
1571 case 1:
1572 return &v.sizeCache
1573 case 2:
1574 return &v.unknownFields
1575 default:
1576 return nil
1577 }
1578 }
1579 file_google_datastore_v1beta3_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1580 switch v := v.(*PropertyReference); i {
1581 case 0:
1582 return &v.state
1583 case 1:
1584 return &v.sizeCache
1585 case 2:
1586 return &v.unknownFields
1587 default:
1588 return nil
1589 }
1590 }
1591 file_google_datastore_v1beta3_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1592 switch v := v.(*Projection); i {
1593 case 0:
1594 return &v.state
1595 case 1:
1596 return &v.sizeCache
1597 case 2:
1598 return &v.unknownFields
1599 default:
1600 return nil
1601 }
1602 }
1603 file_google_datastore_v1beta3_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1604 switch v := v.(*PropertyOrder); i {
1605 case 0:
1606 return &v.state
1607 case 1:
1608 return &v.sizeCache
1609 case 2:
1610 return &v.unknownFields
1611 default:
1612 return nil
1613 }
1614 }
1615 file_google_datastore_v1beta3_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1616 switch v := v.(*Filter); i {
1617 case 0:
1618 return &v.state
1619 case 1:
1620 return &v.sizeCache
1621 case 2:
1622 return &v.unknownFields
1623 default:
1624 return nil
1625 }
1626 }
1627 file_google_datastore_v1beta3_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1628 switch v := v.(*CompositeFilter); i {
1629 case 0:
1630 return &v.state
1631 case 1:
1632 return &v.sizeCache
1633 case 2:
1634 return &v.unknownFields
1635 default:
1636 return nil
1637 }
1638 }
1639 file_google_datastore_v1beta3_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1640 switch v := v.(*PropertyFilter); i {
1641 case 0:
1642 return &v.state
1643 case 1:
1644 return &v.sizeCache
1645 case 2:
1646 return &v.unknownFields
1647 default:
1648 return nil
1649 }
1650 }
1651 file_google_datastore_v1beta3_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1652 switch v := v.(*GqlQuery); i {
1653 case 0:
1654 return &v.state
1655 case 1:
1656 return &v.sizeCache
1657 case 2:
1658 return &v.unknownFields
1659 default:
1660 return nil
1661 }
1662 }
1663 file_google_datastore_v1beta3_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1664 switch v := v.(*GqlQueryParameter); i {
1665 case 0:
1666 return &v.state
1667 case 1:
1668 return &v.sizeCache
1669 case 2:
1670 return &v.unknownFields
1671 default:
1672 return nil
1673 }
1674 }
1675 file_google_datastore_v1beta3_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1676 switch v := v.(*QueryResultBatch); i {
1677 case 0:
1678 return &v.state
1679 case 1:
1680 return &v.sizeCache
1681 case 2:
1682 return &v.unknownFields
1683 default:
1684 return nil
1685 }
1686 }
1687 }
1688 file_google_datastore_v1beta3_query_proto_msgTypes[6].OneofWrappers = []interface{}{
1689 (*Filter_CompositeFilter)(nil),
1690 (*Filter_PropertyFilter)(nil),
1691 }
1692 file_google_datastore_v1beta3_query_proto_msgTypes[10].OneofWrappers = []interface{}{
1693 (*GqlQueryParameter_Value)(nil),
1694 (*GqlQueryParameter_Cursor)(nil),
1695 }
1696 type x struct{}
1697 out := protoimpl.TypeBuilder{
1698 File: protoimpl.DescBuilder{
1699 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1700 RawDescriptor: file_google_datastore_v1beta3_query_proto_rawDesc,
1701 NumEnums: 5,
1702 NumMessages: 13,
1703 NumExtensions: 0,
1704 NumServices: 0,
1705 },
1706 GoTypes: file_google_datastore_v1beta3_query_proto_goTypes,
1707 DependencyIndexes: file_google_datastore_v1beta3_query_proto_depIdxs,
1708 EnumInfos: file_google_datastore_v1beta3_query_proto_enumTypes,
1709 MessageInfos: file_google_datastore_v1beta3_query_proto_msgTypes,
1710 }.Build()
1711 File_google_datastore_v1beta3_query_proto = out.File
1712 file_google_datastore_v1beta3_query_proto_rawDesc = nil
1713 file_google_datastore_v1beta3_query_proto_goTypes = nil
1714 file_google_datastore_v1beta3_query_proto_depIdxs = nil
1715 }