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