1// Code generated by protoc-gen-go. 2// source: google.golang.org/appengine/internal/datastore/datastore_v3.proto 3// DO NOT EDIT! 4 5/* 6Package datastore is a generated protocol buffer package. 7 8It is generated from these files: 9 google.golang.org/appengine/internal/datastore/datastore_v3.proto 10 11It has these top-level messages: 12 Action 13 PropertyValue 14 Property 15 Path 16 Reference 17 User 18 EntityProto 19 CompositeProperty 20 Index 21 CompositeIndex 22 IndexPostfix 23 IndexPosition 24 Snapshot 25 InternalHeader 26 Transaction 27 Query 28 CompiledQuery 29 CompiledCursor 30 Cursor 31 Error 32 Cost 33 GetRequest 34 GetResponse 35 PutRequest 36 PutResponse 37 TouchRequest 38 TouchResponse 39 DeleteRequest 40 DeleteResponse 41 NextRequest 42 QueryResult 43 AllocateIdsRequest 44 AllocateIdsResponse 45 CompositeIndices 46 AddActionsRequest 47 AddActionsResponse 48 BeginTransactionRequest 49 CommitResponse 50*/ 51package datastore 52 53import proto "github.com/golang/protobuf/proto" 54import fmt "fmt" 55import math "math" 56 57// Reference imports to suppress errors if they are not otherwise used. 58var _ = proto.Marshal 59var _ = fmt.Errorf 60var _ = math.Inf 61 62type Property_Meaning int32 63 64const ( 65 Property_NO_MEANING Property_Meaning = 0 66 Property_BLOB Property_Meaning = 14 67 Property_TEXT Property_Meaning = 15 68 Property_BYTESTRING Property_Meaning = 16 69 Property_ATOM_CATEGORY Property_Meaning = 1 70 Property_ATOM_LINK Property_Meaning = 2 71 Property_ATOM_TITLE Property_Meaning = 3 72 Property_ATOM_CONTENT Property_Meaning = 4 73 Property_ATOM_SUMMARY Property_Meaning = 5 74 Property_ATOM_AUTHOR Property_Meaning = 6 75 Property_GD_WHEN Property_Meaning = 7 76 Property_GD_EMAIL Property_Meaning = 8 77 Property_GEORSS_POINT Property_Meaning = 9 78 Property_GD_IM Property_Meaning = 10 79 Property_GD_PHONENUMBER Property_Meaning = 11 80 Property_GD_POSTALADDRESS Property_Meaning = 12 81 Property_GD_RATING Property_Meaning = 13 82 Property_BLOBKEY Property_Meaning = 17 83 Property_ENTITY_PROTO Property_Meaning = 19 84 Property_INDEX_VALUE Property_Meaning = 18 85) 86 87var Property_Meaning_name = map[int32]string{ 88 0: "NO_MEANING", 89 14: "BLOB", 90 15: "TEXT", 91 16: "BYTESTRING", 92 1: "ATOM_CATEGORY", 93 2: "ATOM_LINK", 94 3: "ATOM_TITLE", 95 4: "ATOM_CONTENT", 96 5: "ATOM_SUMMARY", 97 6: "ATOM_AUTHOR", 98 7: "GD_WHEN", 99 8: "GD_EMAIL", 100 9: "GEORSS_POINT", 101 10: "GD_IM", 102 11: "GD_PHONENUMBER", 103 12: "GD_POSTALADDRESS", 104 13: "GD_RATING", 105 17: "BLOBKEY", 106 19: "ENTITY_PROTO", 107 18: "INDEX_VALUE", 108} 109var Property_Meaning_value = map[string]int32{ 110 "NO_MEANING": 0, 111 "BLOB": 14, 112 "TEXT": 15, 113 "BYTESTRING": 16, 114 "ATOM_CATEGORY": 1, 115 "ATOM_LINK": 2, 116 "ATOM_TITLE": 3, 117 "ATOM_CONTENT": 4, 118 "ATOM_SUMMARY": 5, 119 "ATOM_AUTHOR": 6, 120 "GD_WHEN": 7, 121 "GD_EMAIL": 8, 122 "GEORSS_POINT": 9, 123 "GD_IM": 10, 124 "GD_PHONENUMBER": 11, 125 "GD_POSTALADDRESS": 12, 126 "GD_RATING": 13, 127 "BLOBKEY": 17, 128 "ENTITY_PROTO": 19, 129 "INDEX_VALUE": 18, 130} 131 132func (x Property_Meaning) Enum() *Property_Meaning { 133 p := new(Property_Meaning) 134 *p = x 135 return p 136} 137func (x Property_Meaning) String() string { 138 return proto.EnumName(Property_Meaning_name, int32(x)) 139} 140func (x *Property_Meaning) UnmarshalJSON(data []byte) error { 141 value, err := proto.UnmarshalJSONEnum(Property_Meaning_value, data, "Property_Meaning") 142 if err != nil { 143 return err 144 } 145 *x = Property_Meaning(value) 146 return nil 147} 148 149type Property_FtsTokenizationOption int32 150 151const ( 152 Property_HTML Property_FtsTokenizationOption = 1 153 Property_ATOM Property_FtsTokenizationOption = 2 154) 155 156var Property_FtsTokenizationOption_name = map[int32]string{ 157 1: "HTML", 158 2: "ATOM", 159} 160var Property_FtsTokenizationOption_value = map[string]int32{ 161 "HTML": 1, 162 "ATOM": 2, 163} 164 165func (x Property_FtsTokenizationOption) Enum() *Property_FtsTokenizationOption { 166 p := new(Property_FtsTokenizationOption) 167 *p = x 168 return p 169} 170func (x Property_FtsTokenizationOption) String() string { 171 return proto.EnumName(Property_FtsTokenizationOption_name, int32(x)) 172} 173func (x *Property_FtsTokenizationOption) UnmarshalJSON(data []byte) error { 174 value, err := proto.UnmarshalJSONEnum(Property_FtsTokenizationOption_value, data, "Property_FtsTokenizationOption") 175 if err != nil { 176 return err 177 } 178 *x = Property_FtsTokenizationOption(value) 179 return nil 180} 181 182type EntityProto_Kind int32 183 184const ( 185 EntityProto_GD_CONTACT EntityProto_Kind = 1 186 EntityProto_GD_EVENT EntityProto_Kind = 2 187 EntityProto_GD_MESSAGE EntityProto_Kind = 3 188) 189 190var EntityProto_Kind_name = map[int32]string{ 191 1: "GD_CONTACT", 192 2: "GD_EVENT", 193 3: "GD_MESSAGE", 194} 195var EntityProto_Kind_value = map[string]int32{ 196 "GD_CONTACT": 1, 197 "GD_EVENT": 2, 198 "GD_MESSAGE": 3, 199} 200 201func (x EntityProto_Kind) Enum() *EntityProto_Kind { 202 p := new(EntityProto_Kind) 203 *p = x 204 return p 205} 206func (x EntityProto_Kind) String() string { 207 return proto.EnumName(EntityProto_Kind_name, int32(x)) 208} 209func (x *EntityProto_Kind) UnmarshalJSON(data []byte) error { 210 value, err := proto.UnmarshalJSONEnum(EntityProto_Kind_value, data, "EntityProto_Kind") 211 if err != nil { 212 return err 213 } 214 *x = EntityProto_Kind(value) 215 return nil 216} 217 218type Index_Property_Direction int32 219 220const ( 221 Index_Property_ASCENDING Index_Property_Direction = 1 222 Index_Property_DESCENDING Index_Property_Direction = 2 223) 224 225var Index_Property_Direction_name = map[int32]string{ 226 1: "ASCENDING", 227 2: "DESCENDING", 228} 229var Index_Property_Direction_value = map[string]int32{ 230 "ASCENDING": 1, 231 "DESCENDING": 2, 232} 233 234func (x Index_Property_Direction) Enum() *Index_Property_Direction { 235 p := new(Index_Property_Direction) 236 *p = x 237 return p 238} 239func (x Index_Property_Direction) String() string { 240 return proto.EnumName(Index_Property_Direction_name, int32(x)) 241} 242func (x *Index_Property_Direction) UnmarshalJSON(data []byte) error { 243 value, err := proto.UnmarshalJSONEnum(Index_Property_Direction_value, data, "Index_Property_Direction") 244 if err != nil { 245 return err 246 } 247 *x = Index_Property_Direction(value) 248 return nil 249} 250 251type CompositeIndex_State int32 252 253const ( 254 CompositeIndex_WRITE_ONLY CompositeIndex_State = 1 255 CompositeIndex_READ_WRITE CompositeIndex_State = 2 256 CompositeIndex_DELETED CompositeIndex_State = 3 257 CompositeIndex_ERROR CompositeIndex_State = 4 258) 259 260var CompositeIndex_State_name = map[int32]string{ 261 1: "WRITE_ONLY", 262 2: "READ_WRITE", 263 3: "DELETED", 264 4: "ERROR", 265} 266var CompositeIndex_State_value = map[string]int32{ 267 "WRITE_ONLY": 1, 268 "READ_WRITE": 2, 269 "DELETED": 3, 270 "ERROR": 4, 271} 272 273func (x CompositeIndex_State) Enum() *CompositeIndex_State { 274 p := new(CompositeIndex_State) 275 *p = x 276 return p 277} 278func (x CompositeIndex_State) String() string { 279 return proto.EnumName(CompositeIndex_State_name, int32(x)) 280} 281func (x *CompositeIndex_State) UnmarshalJSON(data []byte) error { 282 value, err := proto.UnmarshalJSONEnum(CompositeIndex_State_value, data, "CompositeIndex_State") 283 if err != nil { 284 return err 285 } 286 *x = CompositeIndex_State(value) 287 return nil 288} 289 290type Snapshot_Status int32 291 292const ( 293 Snapshot_INACTIVE Snapshot_Status = 0 294 Snapshot_ACTIVE Snapshot_Status = 1 295) 296 297var Snapshot_Status_name = map[int32]string{ 298 0: "INACTIVE", 299 1: "ACTIVE", 300} 301var Snapshot_Status_value = map[string]int32{ 302 "INACTIVE": 0, 303 "ACTIVE": 1, 304} 305 306func (x Snapshot_Status) Enum() *Snapshot_Status { 307 p := new(Snapshot_Status) 308 *p = x 309 return p 310} 311func (x Snapshot_Status) String() string { 312 return proto.EnumName(Snapshot_Status_name, int32(x)) 313} 314func (x *Snapshot_Status) UnmarshalJSON(data []byte) error { 315 value, err := proto.UnmarshalJSONEnum(Snapshot_Status_value, data, "Snapshot_Status") 316 if err != nil { 317 return err 318 } 319 *x = Snapshot_Status(value) 320 return nil 321} 322 323type Query_Hint int32 324 325const ( 326 Query_ORDER_FIRST Query_Hint = 1 327 Query_ANCESTOR_FIRST Query_Hint = 2 328 Query_FILTER_FIRST Query_Hint = 3 329) 330 331var Query_Hint_name = map[int32]string{ 332 1: "ORDER_FIRST", 333 2: "ANCESTOR_FIRST", 334 3: "FILTER_FIRST", 335} 336var Query_Hint_value = map[string]int32{ 337 "ORDER_FIRST": 1, 338 "ANCESTOR_FIRST": 2, 339 "FILTER_FIRST": 3, 340} 341 342func (x Query_Hint) Enum() *Query_Hint { 343 p := new(Query_Hint) 344 *p = x 345 return p 346} 347func (x Query_Hint) String() string { 348 return proto.EnumName(Query_Hint_name, int32(x)) 349} 350func (x *Query_Hint) UnmarshalJSON(data []byte) error { 351 value, err := proto.UnmarshalJSONEnum(Query_Hint_value, data, "Query_Hint") 352 if err != nil { 353 return err 354 } 355 *x = Query_Hint(value) 356 return nil 357} 358 359type Query_Filter_Operator int32 360 361const ( 362 Query_Filter_LESS_THAN Query_Filter_Operator = 1 363 Query_Filter_LESS_THAN_OR_EQUAL Query_Filter_Operator = 2 364 Query_Filter_GREATER_THAN Query_Filter_Operator = 3 365 Query_Filter_GREATER_THAN_OR_EQUAL Query_Filter_Operator = 4 366 Query_Filter_EQUAL Query_Filter_Operator = 5 367 Query_Filter_IN Query_Filter_Operator = 6 368 Query_Filter_EXISTS Query_Filter_Operator = 7 369) 370 371var Query_Filter_Operator_name = map[int32]string{ 372 1: "LESS_THAN", 373 2: "LESS_THAN_OR_EQUAL", 374 3: "GREATER_THAN", 375 4: "GREATER_THAN_OR_EQUAL", 376 5: "EQUAL", 377 6: "IN", 378 7: "EXISTS", 379} 380var Query_Filter_Operator_value = map[string]int32{ 381 "LESS_THAN": 1, 382 "LESS_THAN_OR_EQUAL": 2, 383 "GREATER_THAN": 3, 384 "GREATER_THAN_OR_EQUAL": 4, 385 "EQUAL": 5, 386 "IN": 6, 387 "EXISTS": 7, 388} 389 390func (x Query_Filter_Operator) Enum() *Query_Filter_Operator { 391 p := new(Query_Filter_Operator) 392 *p = x 393 return p 394} 395func (x Query_Filter_Operator) String() string { 396 return proto.EnumName(Query_Filter_Operator_name, int32(x)) 397} 398func (x *Query_Filter_Operator) UnmarshalJSON(data []byte) error { 399 value, err := proto.UnmarshalJSONEnum(Query_Filter_Operator_value, data, "Query_Filter_Operator") 400 if err != nil { 401 return err 402 } 403 *x = Query_Filter_Operator(value) 404 return nil 405} 406 407type Query_Order_Direction int32 408 409const ( 410 Query_Order_ASCENDING Query_Order_Direction = 1 411 Query_Order_DESCENDING Query_Order_Direction = 2 412) 413 414var Query_Order_Direction_name = map[int32]string{ 415 1: "ASCENDING", 416 2: "DESCENDING", 417} 418var Query_Order_Direction_value = map[string]int32{ 419 "ASCENDING": 1, 420 "DESCENDING": 2, 421} 422 423func (x Query_Order_Direction) Enum() *Query_Order_Direction { 424 p := new(Query_Order_Direction) 425 *p = x 426 return p 427} 428func (x Query_Order_Direction) String() string { 429 return proto.EnumName(Query_Order_Direction_name, int32(x)) 430} 431func (x *Query_Order_Direction) UnmarshalJSON(data []byte) error { 432 value, err := proto.UnmarshalJSONEnum(Query_Order_Direction_value, data, "Query_Order_Direction") 433 if err != nil { 434 return err 435 } 436 *x = Query_Order_Direction(value) 437 return nil 438} 439 440type Error_ErrorCode int32 441 442const ( 443 Error_BAD_REQUEST Error_ErrorCode = 1 444 Error_CONCURRENT_TRANSACTION Error_ErrorCode = 2 445 Error_INTERNAL_ERROR Error_ErrorCode = 3 446 Error_NEED_INDEX Error_ErrorCode = 4 447 Error_TIMEOUT Error_ErrorCode = 5 448 Error_PERMISSION_DENIED Error_ErrorCode = 6 449 Error_BIGTABLE_ERROR Error_ErrorCode = 7 450 Error_COMMITTED_BUT_STILL_APPLYING Error_ErrorCode = 8 451 Error_CAPABILITY_DISABLED Error_ErrorCode = 9 452 Error_TRY_ALTERNATE_BACKEND Error_ErrorCode = 10 453 Error_SAFE_TIME_TOO_OLD Error_ErrorCode = 11 454) 455 456var Error_ErrorCode_name = map[int32]string{ 457 1: "BAD_REQUEST", 458 2: "CONCURRENT_TRANSACTION", 459 3: "INTERNAL_ERROR", 460 4: "NEED_INDEX", 461 5: "TIMEOUT", 462 6: "PERMISSION_DENIED", 463 7: "BIGTABLE_ERROR", 464 8: "COMMITTED_BUT_STILL_APPLYING", 465 9: "CAPABILITY_DISABLED", 466 10: "TRY_ALTERNATE_BACKEND", 467 11: "SAFE_TIME_TOO_OLD", 468} 469var Error_ErrorCode_value = map[string]int32{ 470 "BAD_REQUEST": 1, 471 "CONCURRENT_TRANSACTION": 2, 472 "INTERNAL_ERROR": 3, 473 "NEED_INDEX": 4, 474 "TIMEOUT": 5, 475 "PERMISSION_DENIED": 6, 476 "BIGTABLE_ERROR": 7, 477 "COMMITTED_BUT_STILL_APPLYING": 8, 478 "CAPABILITY_DISABLED": 9, 479 "TRY_ALTERNATE_BACKEND": 10, 480 "SAFE_TIME_TOO_OLD": 11, 481} 482 483func (x Error_ErrorCode) Enum() *Error_ErrorCode { 484 p := new(Error_ErrorCode) 485 *p = x 486 return p 487} 488func (x Error_ErrorCode) String() string { 489 return proto.EnumName(Error_ErrorCode_name, int32(x)) 490} 491func (x *Error_ErrorCode) UnmarshalJSON(data []byte) error { 492 value, err := proto.UnmarshalJSONEnum(Error_ErrorCode_value, data, "Error_ErrorCode") 493 if err != nil { 494 return err 495 } 496 *x = Error_ErrorCode(value) 497 return nil 498} 499 500type PutRequest_AutoIdPolicy int32 501 502const ( 503 PutRequest_CURRENT PutRequest_AutoIdPolicy = 0 504 PutRequest_SEQUENTIAL PutRequest_AutoIdPolicy = 1 505) 506 507var PutRequest_AutoIdPolicy_name = map[int32]string{ 508 0: "CURRENT", 509 1: "SEQUENTIAL", 510} 511var PutRequest_AutoIdPolicy_value = map[string]int32{ 512 "CURRENT": 0, 513 "SEQUENTIAL": 1, 514} 515 516func (x PutRequest_AutoIdPolicy) Enum() *PutRequest_AutoIdPolicy { 517 p := new(PutRequest_AutoIdPolicy) 518 *p = x 519 return p 520} 521func (x PutRequest_AutoIdPolicy) String() string { 522 return proto.EnumName(PutRequest_AutoIdPolicy_name, int32(x)) 523} 524func (x *PutRequest_AutoIdPolicy) UnmarshalJSON(data []byte) error { 525 value, err := proto.UnmarshalJSONEnum(PutRequest_AutoIdPolicy_value, data, "PutRequest_AutoIdPolicy") 526 if err != nil { 527 return err 528 } 529 *x = PutRequest_AutoIdPolicy(value) 530 return nil 531} 532 533type Action struct { 534 XXX_unrecognized []byte `json:"-"` 535} 536 537func (m *Action) Reset() { *m = Action{} } 538func (m *Action) String() string { return proto.CompactTextString(m) } 539func (*Action) ProtoMessage() {} 540 541type PropertyValue struct { 542 Int64Value *int64 `protobuf:"varint,1,opt,name=int64Value" json:"int64Value,omitempty"` 543 BooleanValue *bool `protobuf:"varint,2,opt,name=booleanValue" json:"booleanValue,omitempty"` 544 StringValue *string `protobuf:"bytes,3,opt,name=stringValue" json:"stringValue,omitempty"` 545 DoubleValue *float64 `protobuf:"fixed64,4,opt,name=doubleValue" json:"doubleValue,omitempty"` 546 Pointvalue *PropertyValue_PointValue `protobuf:"group,5,opt,name=PointValue" json:"pointvalue,omitempty"` 547 Uservalue *PropertyValue_UserValue `protobuf:"group,8,opt,name=UserValue" json:"uservalue,omitempty"` 548 Referencevalue *PropertyValue_ReferenceValue `protobuf:"group,12,opt,name=ReferenceValue" json:"referencevalue,omitempty"` 549 XXX_unrecognized []byte `json:"-"` 550} 551 552func (m *PropertyValue) Reset() { *m = PropertyValue{} } 553func (m *PropertyValue) String() string { return proto.CompactTextString(m) } 554func (*PropertyValue) ProtoMessage() {} 555 556func (m *PropertyValue) GetInt64Value() int64 { 557 if m != nil && m.Int64Value != nil { 558 return *m.Int64Value 559 } 560 return 0 561} 562 563func (m *PropertyValue) GetBooleanValue() bool { 564 if m != nil && m.BooleanValue != nil { 565 return *m.BooleanValue 566 } 567 return false 568} 569 570func (m *PropertyValue) GetStringValue() string { 571 if m != nil && m.StringValue != nil { 572 return *m.StringValue 573 } 574 return "" 575} 576 577func (m *PropertyValue) GetDoubleValue() float64 { 578 if m != nil && m.DoubleValue != nil { 579 return *m.DoubleValue 580 } 581 return 0 582} 583 584func (m *PropertyValue) GetPointvalue() *PropertyValue_PointValue { 585 if m != nil { 586 return m.Pointvalue 587 } 588 return nil 589} 590 591func (m *PropertyValue) GetUservalue() *PropertyValue_UserValue { 592 if m != nil { 593 return m.Uservalue 594 } 595 return nil 596} 597 598func (m *PropertyValue) GetReferencevalue() *PropertyValue_ReferenceValue { 599 if m != nil { 600 return m.Referencevalue 601 } 602 return nil 603} 604 605type PropertyValue_PointValue struct { 606 X *float64 `protobuf:"fixed64,6,req,name=x" json:"x,omitempty"` 607 Y *float64 `protobuf:"fixed64,7,req,name=y" json:"y,omitempty"` 608 XXX_unrecognized []byte `json:"-"` 609} 610 611func (m *PropertyValue_PointValue) Reset() { *m = PropertyValue_PointValue{} } 612func (m *PropertyValue_PointValue) String() string { return proto.CompactTextString(m) } 613func (*PropertyValue_PointValue) ProtoMessage() {} 614 615func (m *PropertyValue_PointValue) GetX() float64 { 616 if m != nil && m.X != nil { 617 return *m.X 618 } 619 return 0 620} 621 622func (m *PropertyValue_PointValue) GetY() float64 { 623 if m != nil && m.Y != nil { 624 return *m.Y 625 } 626 return 0 627} 628 629type PropertyValue_UserValue struct { 630 Email *string `protobuf:"bytes,9,req,name=email" json:"email,omitempty"` 631 AuthDomain *string `protobuf:"bytes,10,req,name=auth_domain" json:"auth_domain,omitempty"` 632 Nickname *string `protobuf:"bytes,11,opt,name=nickname" json:"nickname,omitempty"` 633 FederatedIdentity *string `protobuf:"bytes,21,opt,name=federated_identity" json:"federated_identity,omitempty"` 634 FederatedProvider *string `protobuf:"bytes,22,opt,name=federated_provider" json:"federated_provider,omitempty"` 635 XXX_unrecognized []byte `json:"-"` 636} 637 638func (m *PropertyValue_UserValue) Reset() { *m = PropertyValue_UserValue{} } 639func (m *PropertyValue_UserValue) String() string { return proto.CompactTextString(m) } 640func (*PropertyValue_UserValue) ProtoMessage() {} 641 642func (m *PropertyValue_UserValue) GetEmail() string { 643 if m != nil && m.Email != nil { 644 return *m.Email 645 } 646 return "" 647} 648 649func (m *PropertyValue_UserValue) GetAuthDomain() string { 650 if m != nil && m.AuthDomain != nil { 651 return *m.AuthDomain 652 } 653 return "" 654} 655 656func (m *PropertyValue_UserValue) GetNickname() string { 657 if m != nil && m.Nickname != nil { 658 return *m.Nickname 659 } 660 return "" 661} 662 663func (m *PropertyValue_UserValue) GetFederatedIdentity() string { 664 if m != nil && m.FederatedIdentity != nil { 665 return *m.FederatedIdentity 666 } 667 return "" 668} 669 670func (m *PropertyValue_UserValue) GetFederatedProvider() string { 671 if m != nil && m.FederatedProvider != nil { 672 return *m.FederatedProvider 673 } 674 return "" 675} 676 677type PropertyValue_ReferenceValue struct { 678 App *string `protobuf:"bytes,13,req,name=app" json:"app,omitempty"` 679 NameSpace *string `protobuf:"bytes,20,opt,name=name_space" json:"name_space,omitempty"` 680 Pathelement []*PropertyValue_ReferenceValue_PathElement `protobuf:"group,14,rep,name=PathElement" json:"pathelement,omitempty"` 681 XXX_unrecognized []byte `json:"-"` 682} 683 684func (m *PropertyValue_ReferenceValue) Reset() { *m = PropertyValue_ReferenceValue{} } 685func (m *PropertyValue_ReferenceValue) String() string { return proto.CompactTextString(m) } 686func (*PropertyValue_ReferenceValue) ProtoMessage() {} 687 688func (m *PropertyValue_ReferenceValue) GetApp() string { 689 if m != nil && m.App != nil { 690 return *m.App 691 } 692 return "" 693} 694 695func (m *PropertyValue_ReferenceValue) GetNameSpace() string { 696 if m != nil && m.NameSpace != nil { 697 return *m.NameSpace 698 } 699 return "" 700} 701 702func (m *PropertyValue_ReferenceValue) GetPathelement() []*PropertyValue_ReferenceValue_PathElement { 703 if m != nil { 704 return m.Pathelement 705 } 706 return nil 707} 708 709type PropertyValue_ReferenceValue_PathElement struct { 710 Type *string `protobuf:"bytes,15,req,name=type" json:"type,omitempty"` 711 Id *int64 `protobuf:"varint,16,opt,name=id" json:"id,omitempty"` 712 Name *string `protobuf:"bytes,17,opt,name=name" json:"name,omitempty"` 713 XXX_unrecognized []byte `json:"-"` 714} 715 716func (m *PropertyValue_ReferenceValue_PathElement) Reset() { 717 *m = PropertyValue_ReferenceValue_PathElement{} 718} 719func (m *PropertyValue_ReferenceValue_PathElement) String() string { return proto.CompactTextString(m) } 720func (*PropertyValue_ReferenceValue_PathElement) ProtoMessage() {} 721 722func (m *PropertyValue_ReferenceValue_PathElement) GetType() string { 723 if m != nil && m.Type != nil { 724 return *m.Type 725 } 726 return "" 727} 728 729func (m *PropertyValue_ReferenceValue_PathElement) GetId() int64 { 730 if m != nil && m.Id != nil { 731 return *m.Id 732 } 733 return 0 734} 735 736func (m *PropertyValue_ReferenceValue_PathElement) GetName() string { 737 if m != nil && m.Name != nil { 738 return *m.Name 739 } 740 return "" 741} 742 743type Property struct { 744 Meaning *Property_Meaning `protobuf:"varint,1,opt,name=meaning,enum=appengine.Property_Meaning,def=0" json:"meaning,omitempty"` 745 MeaningUri *string `protobuf:"bytes,2,opt,name=meaning_uri" json:"meaning_uri,omitempty"` 746 Name *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"` 747 Value *PropertyValue `protobuf:"bytes,5,req,name=value" json:"value,omitempty"` 748 Multiple *bool `protobuf:"varint,4,req,name=multiple" json:"multiple,omitempty"` 749 Searchable *bool `protobuf:"varint,6,opt,name=searchable,def=0" json:"searchable,omitempty"` 750 FtsTokenizationOption *Property_FtsTokenizationOption `protobuf:"varint,8,opt,name=fts_tokenization_option,enum=appengine.Property_FtsTokenizationOption" json:"fts_tokenization_option,omitempty"` 751 Locale *string `protobuf:"bytes,9,opt,name=locale,def=en" json:"locale,omitempty"` 752 XXX_unrecognized []byte `json:"-"` 753} 754 755func (m *Property) Reset() { *m = Property{} } 756func (m *Property) String() string { return proto.CompactTextString(m) } 757func (*Property) ProtoMessage() {} 758 759const Default_Property_Meaning Property_Meaning = Property_NO_MEANING 760const Default_Property_Searchable bool = false 761const Default_Property_Locale string = "en" 762 763func (m *Property) GetMeaning() Property_Meaning { 764 if m != nil && m.Meaning != nil { 765 return *m.Meaning 766 } 767 return Default_Property_Meaning 768} 769 770func (m *Property) GetMeaningUri() string { 771 if m != nil && m.MeaningUri != nil { 772 return *m.MeaningUri 773 } 774 return "" 775} 776 777func (m *Property) GetName() string { 778 if m != nil && m.Name != nil { 779 return *m.Name 780 } 781 return "" 782} 783 784func (m *Property) GetValue() *PropertyValue { 785 if m != nil { 786 return m.Value 787 } 788 return nil 789} 790 791func (m *Property) GetMultiple() bool { 792 if m != nil && m.Multiple != nil { 793 return *m.Multiple 794 } 795 return false 796} 797 798func (m *Property) GetSearchable() bool { 799 if m != nil && m.Searchable != nil { 800 return *m.Searchable 801 } 802 return Default_Property_Searchable 803} 804 805func (m *Property) GetFtsTokenizationOption() Property_FtsTokenizationOption { 806 if m != nil && m.FtsTokenizationOption != nil { 807 return *m.FtsTokenizationOption 808 } 809 return Property_HTML 810} 811 812func (m *Property) GetLocale() string { 813 if m != nil && m.Locale != nil { 814 return *m.Locale 815 } 816 return Default_Property_Locale 817} 818 819type Path struct { 820 Element []*Path_Element `protobuf:"group,1,rep,name=Element" json:"element,omitempty"` 821 XXX_unrecognized []byte `json:"-"` 822} 823 824func (m *Path) Reset() { *m = Path{} } 825func (m *Path) String() string { return proto.CompactTextString(m) } 826func (*Path) ProtoMessage() {} 827 828func (m *Path) GetElement() []*Path_Element { 829 if m != nil { 830 return m.Element 831 } 832 return nil 833} 834 835type Path_Element struct { 836 Type *string `protobuf:"bytes,2,req,name=type" json:"type,omitempty"` 837 Id *int64 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"` 838 Name *string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` 839 XXX_unrecognized []byte `json:"-"` 840} 841 842func (m *Path_Element) Reset() { *m = Path_Element{} } 843func (m *Path_Element) String() string { return proto.CompactTextString(m) } 844func (*Path_Element) ProtoMessage() {} 845 846func (m *Path_Element) GetType() string { 847 if m != nil && m.Type != nil { 848 return *m.Type 849 } 850 return "" 851} 852 853func (m *Path_Element) GetId() int64 { 854 if m != nil && m.Id != nil { 855 return *m.Id 856 } 857 return 0 858} 859 860func (m *Path_Element) GetName() string { 861 if m != nil && m.Name != nil { 862 return *m.Name 863 } 864 return "" 865} 866 867type Reference struct { 868 App *string `protobuf:"bytes,13,req,name=app" json:"app,omitempty"` 869 NameSpace *string `protobuf:"bytes,20,opt,name=name_space" json:"name_space,omitempty"` 870 Path *Path `protobuf:"bytes,14,req,name=path" json:"path,omitempty"` 871 XXX_unrecognized []byte `json:"-"` 872} 873 874func (m *Reference) Reset() { *m = Reference{} } 875func (m *Reference) String() string { return proto.CompactTextString(m) } 876func (*Reference) ProtoMessage() {} 877 878func (m *Reference) GetApp() string { 879 if m != nil && m.App != nil { 880 return *m.App 881 } 882 return "" 883} 884 885func (m *Reference) GetNameSpace() string { 886 if m != nil && m.NameSpace != nil { 887 return *m.NameSpace 888 } 889 return "" 890} 891 892func (m *Reference) GetPath() *Path { 893 if m != nil { 894 return m.Path 895 } 896 return nil 897} 898 899type User struct { 900 Email *string `protobuf:"bytes,1,req,name=email" json:"email,omitempty"` 901 AuthDomain *string `protobuf:"bytes,2,req,name=auth_domain" json:"auth_domain,omitempty"` 902 Nickname *string `protobuf:"bytes,3,opt,name=nickname" json:"nickname,omitempty"` 903 FederatedIdentity *string `protobuf:"bytes,6,opt,name=federated_identity" json:"federated_identity,omitempty"` 904 FederatedProvider *string `protobuf:"bytes,7,opt,name=federated_provider" json:"federated_provider,omitempty"` 905 XXX_unrecognized []byte `json:"-"` 906} 907 908func (m *User) Reset() { *m = User{} } 909func (m *User) String() string { return proto.CompactTextString(m) } 910func (*User) ProtoMessage() {} 911 912func (m *User) GetEmail() string { 913 if m != nil && m.Email != nil { 914 return *m.Email 915 } 916 return "" 917} 918 919func (m *User) GetAuthDomain() string { 920 if m != nil && m.AuthDomain != nil { 921 return *m.AuthDomain 922 } 923 return "" 924} 925 926func (m *User) GetNickname() string { 927 if m != nil && m.Nickname != nil { 928 return *m.Nickname 929 } 930 return "" 931} 932 933func (m *User) GetFederatedIdentity() string { 934 if m != nil && m.FederatedIdentity != nil { 935 return *m.FederatedIdentity 936 } 937 return "" 938} 939 940func (m *User) GetFederatedProvider() string { 941 if m != nil && m.FederatedProvider != nil { 942 return *m.FederatedProvider 943 } 944 return "" 945} 946 947type EntityProto struct { 948 Key *Reference `protobuf:"bytes,13,req,name=key" json:"key,omitempty"` 949 EntityGroup *Path `protobuf:"bytes,16,req,name=entity_group" json:"entity_group,omitempty"` 950 Owner *User `protobuf:"bytes,17,opt,name=owner" json:"owner,omitempty"` 951 Kind *EntityProto_Kind `protobuf:"varint,4,opt,name=kind,enum=appengine.EntityProto_Kind" json:"kind,omitempty"` 952 KindUri *string `protobuf:"bytes,5,opt,name=kind_uri" json:"kind_uri,omitempty"` 953 Property []*Property `protobuf:"bytes,14,rep,name=property" json:"property,omitempty"` 954 RawProperty []*Property `protobuf:"bytes,15,rep,name=raw_property" json:"raw_property,omitempty"` 955 Rank *int32 `protobuf:"varint,18,opt,name=rank" json:"rank,omitempty"` 956 XXX_unrecognized []byte `json:"-"` 957} 958 959func (m *EntityProto) Reset() { *m = EntityProto{} } 960func (m *EntityProto) String() string { return proto.CompactTextString(m) } 961func (*EntityProto) ProtoMessage() {} 962 963func (m *EntityProto) GetKey() *Reference { 964 if m != nil { 965 return m.Key 966 } 967 return nil 968} 969 970func (m *EntityProto) GetEntityGroup() *Path { 971 if m != nil { 972 return m.EntityGroup 973 } 974 return nil 975} 976 977func (m *EntityProto) GetOwner() *User { 978 if m != nil { 979 return m.Owner 980 } 981 return nil 982} 983 984func (m *EntityProto) GetKind() EntityProto_Kind { 985 if m != nil && m.Kind != nil { 986 return *m.Kind 987 } 988 return EntityProto_GD_CONTACT 989} 990 991func (m *EntityProto) GetKindUri() string { 992 if m != nil && m.KindUri != nil { 993 return *m.KindUri 994 } 995 return "" 996} 997 998func (m *EntityProto) GetProperty() []*Property { 999 if m != nil { 1000 return m.Property 1001 } 1002 return nil 1003} 1004 1005func (m *EntityProto) GetRawProperty() []*Property { 1006 if m != nil { 1007 return m.RawProperty 1008 } 1009 return nil 1010} 1011 1012func (m *EntityProto) GetRank() int32 { 1013 if m != nil && m.Rank != nil { 1014 return *m.Rank 1015 } 1016 return 0 1017} 1018 1019type CompositeProperty struct { 1020 IndexId *int64 `protobuf:"varint,1,req,name=index_id" json:"index_id,omitempty"` 1021 Value []string `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"` 1022 XXX_unrecognized []byte `json:"-"` 1023} 1024 1025func (m *CompositeProperty) Reset() { *m = CompositeProperty{} } 1026func (m *CompositeProperty) String() string { return proto.CompactTextString(m) } 1027func (*CompositeProperty) ProtoMessage() {} 1028 1029func (m *CompositeProperty) GetIndexId() int64 { 1030 if m != nil && m.IndexId != nil { 1031 return *m.IndexId 1032 } 1033 return 0 1034} 1035 1036func (m *CompositeProperty) GetValue() []string { 1037 if m != nil { 1038 return m.Value 1039 } 1040 return nil 1041} 1042 1043type Index struct { 1044 EntityType *string `protobuf:"bytes,1,req,name=entity_type" json:"entity_type,omitempty"` 1045 Ancestor *bool `protobuf:"varint,5,req,name=ancestor" json:"ancestor,omitempty"` 1046 Property []*Index_Property `protobuf:"group,2,rep,name=Property" json:"property,omitempty"` 1047 XXX_unrecognized []byte `json:"-"` 1048} 1049 1050func (m *Index) Reset() { *m = Index{} } 1051func (m *Index) String() string { return proto.CompactTextString(m) } 1052func (*Index) ProtoMessage() {} 1053 1054func (m *Index) GetEntityType() string { 1055 if m != nil && m.EntityType != nil { 1056 return *m.EntityType 1057 } 1058 return "" 1059} 1060 1061func (m *Index) GetAncestor() bool { 1062 if m != nil && m.Ancestor != nil { 1063 return *m.Ancestor 1064 } 1065 return false 1066} 1067 1068func (m *Index) GetProperty() []*Index_Property { 1069 if m != nil { 1070 return m.Property 1071 } 1072 return nil 1073} 1074 1075type Index_Property struct { 1076 Name *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"` 1077 Direction *Index_Property_Direction `protobuf:"varint,4,opt,name=direction,enum=appengine.Index_Property_Direction,def=1" json:"direction,omitempty"` 1078 XXX_unrecognized []byte `json:"-"` 1079} 1080 1081func (m *Index_Property) Reset() { *m = Index_Property{} } 1082func (m *Index_Property) String() string { return proto.CompactTextString(m) } 1083func (*Index_Property) ProtoMessage() {} 1084 1085const Default_Index_Property_Direction Index_Property_Direction = Index_Property_ASCENDING 1086 1087func (m *Index_Property) GetName() string { 1088 if m != nil && m.Name != nil { 1089 return *m.Name 1090 } 1091 return "" 1092} 1093 1094func (m *Index_Property) GetDirection() Index_Property_Direction { 1095 if m != nil && m.Direction != nil { 1096 return *m.Direction 1097 } 1098 return Default_Index_Property_Direction 1099} 1100 1101type CompositeIndex struct { 1102 AppId *string `protobuf:"bytes,1,req,name=app_id" json:"app_id,omitempty"` 1103 Id *int64 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` 1104 Definition *Index `protobuf:"bytes,3,req,name=definition" json:"definition,omitempty"` 1105 State *CompositeIndex_State `protobuf:"varint,4,req,name=state,enum=appengine.CompositeIndex_State" json:"state,omitempty"` 1106 OnlyUseIfRequired *bool `protobuf:"varint,6,opt,name=only_use_if_required,def=0" json:"only_use_if_required,omitempty"` 1107 XXX_unrecognized []byte `json:"-"` 1108} 1109 1110func (m *CompositeIndex) Reset() { *m = CompositeIndex{} } 1111func (m *CompositeIndex) String() string { return proto.CompactTextString(m) } 1112func (*CompositeIndex) ProtoMessage() {} 1113 1114const Default_CompositeIndex_OnlyUseIfRequired bool = false 1115 1116func (m *CompositeIndex) GetAppId() string { 1117 if m != nil && m.AppId != nil { 1118 return *m.AppId 1119 } 1120 return "" 1121} 1122 1123func (m *CompositeIndex) GetId() int64 { 1124 if m != nil && m.Id != nil { 1125 return *m.Id 1126 } 1127 return 0 1128} 1129 1130func (m *CompositeIndex) GetDefinition() *Index { 1131 if m != nil { 1132 return m.Definition 1133 } 1134 return nil 1135} 1136 1137func (m *CompositeIndex) GetState() CompositeIndex_State { 1138 if m != nil && m.State != nil { 1139 return *m.State 1140 } 1141 return CompositeIndex_WRITE_ONLY 1142} 1143 1144func (m *CompositeIndex) GetOnlyUseIfRequired() bool { 1145 if m != nil && m.OnlyUseIfRequired != nil { 1146 return *m.OnlyUseIfRequired 1147 } 1148 return Default_CompositeIndex_OnlyUseIfRequired 1149} 1150 1151type IndexPostfix struct { 1152 IndexValue []*IndexPostfix_IndexValue `protobuf:"bytes,1,rep,name=index_value" json:"index_value,omitempty"` 1153 Key *Reference `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` 1154 Before *bool `protobuf:"varint,3,opt,name=before,def=1" json:"before,omitempty"` 1155 XXX_unrecognized []byte `json:"-"` 1156} 1157 1158func (m *IndexPostfix) Reset() { *m = IndexPostfix{} } 1159func (m *IndexPostfix) String() string { return proto.CompactTextString(m) } 1160func (*IndexPostfix) ProtoMessage() {} 1161 1162const Default_IndexPostfix_Before bool = true 1163 1164func (m *IndexPostfix) GetIndexValue() []*IndexPostfix_IndexValue { 1165 if m != nil { 1166 return m.IndexValue 1167 } 1168 return nil 1169} 1170 1171func (m *IndexPostfix) GetKey() *Reference { 1172 if m != nil { 1173 return m.Key 1174 } 1175 return nil 1176} 1177 1178func (m *IndexPostfix) GetBefore() bool { 1179 if m != nil && m.Before != nil { 1180 return *m.Before 1181 } 1182 return Default_IndexPostfix_Before 1183} 1184 1185type IndexPostfix_IndexValue struct { 1186 PropertyName *string `protobuf:"bytes,1,req,name=property_name" json:"property_name,omitempty"` 1187 Value *PropertyValue `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` 1188 XXX_unrecognized []byte `json:"-"` 1189} 1190 1191func (m *IndexPostfix_IndexValue) Reset() { *m = IndexPostfix_IndexValue{} } 1192func (m *IndexPostfix_IndexValue) String() string { return proto.CompactTextString(m) } 1193func (*IndexPostfix_IndexValue) ProtoMessage() {} 1194 1195func (m *IndexPostfix_IndexValue) GetPropertyName() string { 1196 if m != nil && m.PropertyName != nil { 1197 return *m.PropertyName 1198 } 1199 return "" 1200} 1201 1202func (m *IndexPostfix_IndexValue) GetValue() *PropertyValue { 1203 if m != nil { 1204 return m.Value 1205 } 1206 return nil 1207} 1208 1209type IndexPosition struct { 1210 Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` 1211 Before *bool `protobuf:"varint,2,opt,name=before,def=1" json:"before,omitempty"` 1212 XXX_unrecognized []byte `json:"-"` 1213} 1214 1215func (m *IndexPosition) Reset() { *m = IndexPosition{} } 1216func (m *IndexPosition) String() string { return proto.CompactTextString(m) } 1217func (*IndexPosition) ProtoMessage() {} 1218 1219const Default_IndexPosition_Before bool = true 1220 1221func (m *IndexPosition) GetKey() string { 1222 if m != nil && m.Key != nil { 1223 return *m.Key 1224 } 1225 return "" 1226} 1227 1228func (m *IndexPosition) GetBefore() bool { 1229 if m != nil && m.Before != nil { 1230 return *m.Before 1231 } 1232 return Default_IndexPosition_Before 1233} 1234 1235type Snapshot struct { 1236 Ts *int64 `protobuf:"varint,1,req,name=ts" json:"ts,omitempty"` 1237 XXX_unrecognized []byte `json:"-"` 1238} 1239 1240func (m *Snapshot) Reset() { *m = Snapshot{} } 1241func (m *Snapshot) String() string { return proto.CompactTextString(m) } 1242func (*Snapshot) ProtoMessage() {} 1243 1244func (m *Snapshot) GetTs() int64 { 1245 if m != nil && m.Ts != nil { 1246 return *m.Ts 1247 } 1248 return 0 1249} 1250 1251type InternalHeader struct { 1252 Qos *string `protobuf:"bytes,1,opt,name=qos" json:"qos,omitempty"` 1253 XXX_unrecognized []byte `json:"-"` 1254} 1255 1256func (m *InternalHeader) Reset() { *m = InternalHeader{} } 1257func (m *InternalHeader) String() string { return proto.CompactTextString(m) } 1258func (*InternalHeader) ProtoMessage() {} 1259 1260func (m *InternalHeader) GetQos() string { 1261 if m != nil && m.Qos != nil { 1262 return *m.Qos 1263 } 1264 return "" 1265} 1266 1267type Transaction struct { 1268 Header *InternalHeader `protobuf:"bytes,4,opt,name=header" json:"header,omitempty"` 1269 Handle *uint64 `protobuf:"fixed64,1,req,name=handle" json:"handle,omitempty"` 1270 App *string `protobuf:"bytes,2,req,name=app" json:"app,omitempty"` 1271 MarkChanges *bool `protobuf:"varint,3,opt,name=mark_changes,def=0" json:"mark_changes,omitempty"` 1272 XXX_unrecognized []byte `json:"-"` 1273} 1274 1275func (m *Transaction) Reset() { *m = Transaction{} } 1276func (m *Transaction) String() string { return proto.CompactTextString(m) } 1277func (*Transaction) ProtoMessage() {} 1278 1279const Default_Transaction_MarkChanges bool = false 1280 1281func (m *Transaction) GetHeader() *InternalHeader { 1282 if m != nil { 1283 return m.Header 1284 } 1285 return nil 1286} 1287 1288func (m *Transaction) GetHandle() uint64 { 1289 if m != nil && m.Handle != nil { 1290 return *m.Handle 1291 } 1292 return 0 1293} 1294 1295func (m *Transaction) GetApp() string { 1296 if m != nil && m.App != nil { 1297 return *m.App 1298 } 1299 return "" 1300} 1301 1302func (m *Transaction) GetMarkChanges() bool { 1303 if m != nil && m.MarkChanges != nil { 1304 return *m.MarkChanges 1305 } 1306 return Default_Transaction_MarkChanges 1307} 1308 1309type Query struct { 1310 Header *InternalHeader `protobuf:"bytes,39,opt,name=header" json:"header,omitempty"` 1311 App *string `protobuf:"bytes,1,req,name=app" json:"app,omitempty"` 1312 NameSpace *string `protobuf:"bytes,29,opt,name=name_space" json:"name_space,omitempty"` 1313 Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` 1314 Ancestor *Reference `protobuf:"bytes,17,opt,name=ancestor" json:"ancestor,omitempty"` 1315 Filter []*Query_Filter `protobuf:"group,4,rep,name=Filter" json:"filter,omitempty"` 1316 SearchQuery *string `protobuf:"bytes,8,opt,name=search_query" json:"search_query,omitempty"` 1317 Order []*Query_Order `protobuf:"group,9,rep,name=Order" json:"order,omitempty"` 1318 Hint *Query_Hint `protobuf:"varint,18,opt,name=hint,enum=appengine.Query_Hint" json:"hint,omitempty"` 1319 Count *int32 `protobuf:"varint,23,opt,name=count" json:"count,omitempty"` 1320 Offset *int32 `protobuf:"varint,12,opt,name=offset,def=0" json:"offset,omitempty"` 1321 Limit *int32 `protobuf:"varint,16,opt,name=limit" json:"limit,omitempty"` 1322 CompiledCursor *CompiledCursor `protobuf:"bytes,30,opt,name=compiled_cursor" json:"compiled_cursor,omitempty"` 1323 EndCompiledCursor *CompiledCursor `protobuf:"bytes,31,opt,name=end_compiled_cursor" json:"end_compiled_cursor,omitempty"` 1324 CompositeIndex []*CompositeIndex `protobuf:"bytes,19,rep,name=composite_index" json:"composite_index,omitempty"` 1325 RequirePerfectPlan *bool `protobuf:"varint,20,opt,name=require_perfect_plan,def=0" json:"require_perfect_plan,omitempty"` 1326 KeysOnly *bool `protobuf:"varint,21,opt,name=keys_only,def=0" json:"keys_only,omitempty"` 1327 Transaction *Transaction `protobuf:"bytes,22,opt,name=transaction" json:"transaction,omitempty"` 1328 Compile *bool `protobuf:"varint,25,opt,name=compile,def=0" json:"compile,omitempty"` 1329 FailoverMs *int64 `protobuf:"varint,26,opt,name=failover_ms" json:"failover_ms,omitempty"` 1330 Strong *bool `protobuf:"varint,32,opt,name=strong" json:"strong,omitempty"` 1331 PropertyName []string `protobuf:"bytes,33,rep,name=property_name" json:"property_name,omitempty"` 1332 GroupByPropertyName []string `protobuf:"bytes,34,rep,name=group_by_property_name" json:"group_by_property_name,omitempty"` 1333 Distinct *bool `protobuf:"varint,24,opt,name=distinct" json:"distinct,omitempty"` 1334 MinSafeTimeSeconds *int64 `protobuf:"varint,35,opt,name=min_safe_time_seconds" json:"min_safe_time_seconds,omitempty"` 1335 SafeReplicaName []string `protobuf:"bytes,36,rep,name=safe_replica_name" json:"safe_replica_name,omitempty"` 1336 PersistOffset *bool `protobuf:"varint,37,opt,name=persist_offset,def=0" json:"persist_offset,omitempty"` 1337 XXX_unrecognized []byte `json:"-"` 1338} 1339 1340func (m *Query) Reset() { *m = Query{} } 1341func (m *Query) String() string { return proto.CompactTextString(m) } 1342func (*Query) ProtoMessage() {} 1343 1344const Default_Query_Offset int32 = 0 1345const Default_Query_RequirePerfectPlan bool = false 1346const Default_Query_KeysOnly bool = false 1347const Default_Query_Compile bool = false 1348const Default_Query_PersistOffset bool = false 1349 1350func (m *Query) GetHeader() *InternalHeader { 1351 if m != nil { 1352 return m.Header 1353 } 1354 return nil 1355} 1356 1357func (m *Query) GetApp() string { 1358 if m != nil && m.App != nil { 1359 return *m.App 1360 } 1361 return "" 1362} 1363 1364func (m *Query) GetNameSpace() string { 1365 if m != nil && m.NameSpace != nil { 1366 return *m.NameSpace 1367 } 1368 return "" 1369} 1370 1371func (m *Query) GetKind() string { 1372 if m != nil && m.Kind != nil { 1373 return *m.Kind 1374 } 1375 return "" 1376} 1377 1378func (m *Query) GetAncestor() *Reference { 1379 if m != nil { 1380 return m.Ancestor 1381 } 1382 return nil 1383} 1384 1385func (m *Query) GetFilter() []*Query_Filter { 1386 if m != nil { 1387 return m.Filter 1388 } 1389 return nil 1390} 1391 1392func (m *Query) GetSearchQuery() string { 1393 if m != nil && m.SearchQuery != nil { 1394 return *m.SearchQuery 1395 } 1396 return "" 1397} 1398 1399func (m *Query) GetOrder() []*Query_Order { 1400 if m != nil { 1401 return m.Order 1402 } 1403 return nil 1404} 1405 1406func (m *Query) GetHint() Query_Hint { 1407 if m != nil && m.Hint != nil { 1408 return *m.Hint 1409 } 1410 return Query_ORDER_FIRST 1411} 1412 1413func (m *Query) GetCount() int32 { 1414 if m != nil && m.Count != nil { 1415 return *m.Count 1416 } 1417 return 0 1418} 1419 1420func (m *Query) GetOffset() int32 { 1421 if m != nil && m.Offset != nil { 1422 return *m.Offset 1423 } 1424 return Default_Query_Offset 1425} 1426 1427func (m *Query) GetLimit() int32 { 1428 if m != nil && m.Limit != nil { 1429 return *m.Limit 1430 } 1431 return 0 1432} 1433 1434func (m *Query) GetCompiledCursor() *CompiledCursor { 1435 if m != nil { 1436 return m.CompiledCursor 1437 } 1438 return nil 1439} 1440 1441func (m *Query) GetEndCompiledCursor() *CompiledCursor { 1442 if m != nil { 1443 return m.EndCompiledCursor 1444 } 1445 return nil 1446} 1447 1448func (m *Query) GetCompositeIndex() []*CompositeIndex { 1449 if m != nil { 1450 return m.CompositeIndex 1451 } 1452 return nil 1453} 1454 1455func (m *Query) GetRequirePerfectPlan() bool { 1456 if m != nil && m.RequirePerfectPlan != nil { 1457 return *m.RequirePerfectPlan 1458 } 1459 return Default_Query_RequirePerfectPlan 1460} 1461 1462func (m *Query) GetKeysOnly() bool { 1463 if m != nil && m.KeysOnly != nil { 1464 return *m.KeysOnly 1465 } 1466 return Default_Query_KeysOnly 1467} 1468 1469func (m *Query) GetTransaction() *Transaction { 1470 if m != nil { 1471 return m.Transaction 1472 } 1473 return nil 1474} 1475 1476func (m *Query) GetCompile() bool { 1477 if m != nil && m.Compile != nil { 1478 return *m.Compile 1479 } 1480 return Default_Query_Compile 1481} 1482 1483func (m *Query) GetFailoverMs() int64 { 1484 if m != nil && m.FailoverMs != nil { 1485 return *m.FailoverMs 1486 } 1487 return 0 1488} 1489 1490func (m *Query) GetStrong() bool { 1491 if m != nil && m.Strong != nil { 1492 return *m.Strong 1493 } 1494 return false 1495} 1496 1497func (m *Query) GetPropertyName() []string { 1498 if m != nil { 1499 return m.PropertyName 1500 } 1501 return nil 1502} 1503 1504func (m *Query) GetGroupByPropertyName() []string { 1505 if m != nil { 1506 return m.GroupByPropertyName 1507 } 1508 return nil 1509} 1510 1511func (m *Query) GetDistinct() bool { 1512 if m != nil && m.Distinct != nil { 1513 return *m.Distinct 1514 } 1515 return false 1516} 1517 1518func (m *Query) GetMinSafeTimeSeconds() int64 { 1519 if m != nil && m.MinSafeTimeSeconds != nil { 1520 return *m.MinSafeTimeSeconds 1521 } 1522 return 0 1523} 1524 1525func (m *Query) GetSafeReplicaName() []string { 1526 if m != nil { 1527 return m.SafeReplicaName 1528 } 1529 return nil 1530} 1531 1532func (m *Query) GetPersistOffset() bool { 1533 if m != nil && m.PersistOffset != nil { 1534 return *m.PersistOffset 1535 } 1536 return Default_Query_PersistOffset 1537} 1538 1539type Query_Filter struct { 1540 Op *Query_Filter_Operator `protobuf:"varint,6,req,name=op,enum=appengine.Query_Filter_Operator" json:"op,omitempty"` 1541 Property []*Property `protobuf:"bytes,14,rep,name=property" json:"property,omitempty"` 1542 XXX_unrecognized []byte `json:"-"` 1543} 1544 1545func (m *Query_Filter) Reset() { *m = Query_Filter{} } 1546func (m *Query_Filter) String() string { return proto.CompactTextString(m) } 1547func (*Query_Filter) ProtoMessage() {} 1548 1549func (m *Query_Filter) GetOp() Query_Filter_Operator { 1550 if m != nil && m.Op != nil { 1551 return *m.Op 1552 } 1553 return Query_Filter_LESS_THAN 1554} 1555 1556func (m *Query_Filter) GetProperty() []*Property { 1557 if m != nil { 1558 return m.Property 1559 } 1560 return nil 1561} 1562 1563type Query_Order struct { 1564 Property *string `protobuf:"bytes,10,req,name=property" json:"property,omitempty"` 1565 Direction *Query_Order_Direction `protobuf:"varint,11,opt,name=direction,enum=appengine.Query_Order_Direction,def=1" json:"direction,omitempty"` 1566 XXX_unrecognized []byte `json:"-"` 1567} 1568 1569func (m *Query_Order) Reset() { *m = Query_Order{} } 1570func (m *Query_Order) String() string { return proto.CompactTextString(m) } 1571func (*Query_Order) ProtoMessage() {} 1572 1573const Default_Query_Order_Direction Query_Order_Direction = Query_Order_ASCENDING 1574 1575func (m *Query_Order) GetProperty() string { 1576 if m != nil && m.Property != nil { 1577 return *m.Property 1578 } 1579 return "" 1580} 1581 1582func (m *Query_Order) GetDirection() Query_Order_Direction { 1583 if m != nil && m.Direction != nil { 1584 return *m.Direction 1585 } 1586 return Default_Query_Order_Direction 1587} 1588 1589type CompiledQuery struct { 1590 Primaryscan *CompiledQuery_PrimaryScan `protobuf:"group,1,req,name=PrimaryScan" json:"primaryscan,omitempty"` 1591 Mergejoinscan []*CompiledQuery_MergeJoinScan `protobuf:"group,7,rep,name=MergeJoinScan" json:"mergejoinscan,omitempty"` 1592 IndexDef *Index `protobuf:"bytes,21,opt,name=index_def" json:"index_def,omitempty"` 1593 Offset *int32 `protobuf:"varint,10,opt,name=offset,def=0" json:"offset,omitempty"` 1594 Limit *int32 `protobuf:"varint,11,opt,name=limit" json:"limit,omitempty"` 1595 KeysOnly *bool `protobuf:"varint,12,req,name=keys_only" json:"keys_only,omitempty"` 1596 PropertyName []string `protobuf:"bytes,24,rep,name=property_name" json:"property_name,omitempty"` 1597 DistinctInfixSize *int32 `protobuf:"varint,25,opt,name=distinct_infix_size" json:"distinct_infix_size,omitempty"` 1598 Entityfilter *CompiledQuery_EntityFilter `protobuf:"group,13,opt,name=EntityFilter" json:"entityfilter,omitempty"` 1599 XXX_unrecognized []byte `json:"-"` 1600} 1601 1602func (m *CompiledQuery) Reset() { *m = CompiledQuery{} } 1603func (m *CompiledQuery) String() string { return proto.CompactTextString(m) } 1604func (*CompiledQuery) ProtoMessage() {} 1605 1606const Default_CompiledQuery_Offset int32 = 0 1607 1608func (m *CompiledQuery) GetPrimaryscan() *CompiledQuery_PrimaryScan { 1609 if m != nil { 1610 return m.Primaryscan 1611 } 1612 return nil 1613} 1614 1615func (m *CompiledQuery) GetMergejoinscan() []*CompiledQuery_MergeJoinScan { 1616 if m != nil { 1617 return m.Mergejoinscan 1618 } 1619 return nil 1620} 1621 1622func (m *CompiledQuery) GetIndexDef() *Index { 1623 if m != nil { 1624 return m.IndexDef 1625 } 1626 return nil 1627} 1628 1629func (m *CompiledQuery) GetOffset() int32 { 1630 if m != nil && m.Offset != nil { 1631 return *m.Offset 1632 } 1633 return Default_CompiledQuery_Offset 1634} 1635 1636func (m *CompiledQuery) GetLimit() int32 { 1637 if m != nil && m.Limit != nil { 1638 return *m.Limit 1639 } 1640 return 0 1641} 1642 1643func (m *CompiledQuery) GetKeysOnly() bool { 1644 if m != nil && m.KeysOnly != nil { 1645 return *m.KeysOnly 1646 } 1647 return false 1648} 1649 1650func (m *CompiledQuery) GetPropertyName() []string { 1651 if m != nil { 1652 return m.PropertyName 1653 } 1654 return nil 1655} 1656 1657func (m *CompiledQuery) GetDistinctInfixSize() int32 { 1658 if m != nil && m.DistinctInfixSize != nil { 1659 return *m.DistinctInfixSize 1660 } 1661 return 0 1662} 1663 1664func (m *CompiledQuery) GetEntityfilter() *CompiledQuery_EntityFilter { 1665 if m != nil { 1666 return m.Entityfilter 1667 } 1668 return nil 1669} 1670 1671type CompiledQuery_PrimaryScan struct { 1672 IndexName *string `protobuf:"bytes,2,opt,name=index_name" json:"index_name,omitempty"` 1673 StartKey *string `protobuf:"bytes,3,opt,name=start_key" json:"start_key,omitempty"` 1674 StartInclusive *bool `protobuf:"varint,4,opt,name=start_inclusive" json:"start_inclusive,omitempty"` 1675 EndKey *string `protobuf:"bytes,5,opt,name=end_key" json:"end_key,omitempty"` 1676 EndInclusive *bool `protobuf:"varint,6,opt,name=end_inclusive" json:"end_inclusive,omitempty"` 1677 StartPostfixValue []string `protobuf:"bytes,22,rep,name=start_postfix_value" json:"start_postfix_value,omitempty"` 1678 EndPostfixValue []string `protobuf:"bytes,23,rep,name=end_postfix_value" json:"end_postfix_value,omitempty"` 1679 EndUnappliedLogTimestampUs *int64 `protobuf:"varint,19,opt,name=end_unapplied_log_timestamp_us" json:"end_unapplied_log_timestamp_us,omitempty"` 1680 XXX_unrecognized []byte `json:"-"` 1681} 1682 1683func (m *CompiledQuery_PrimaryScan) Reset() { *m = CompiledQuery_PrimaryScan{} } 1684func (m *CompiledQuery_PrimaryScan) String() string { return proto.CompactTextString(m) } 1685func (*CompiledQuery_PrimaryScan) ProtoMessage() {} 1686 1687func (m *CompiledQuery_PrimaryScan) GetIndexName() string { 1688 if m != nil && m.IndexName != nil { 1689 return *m.IndexName 1690 } 1691 return "" 1692} 1693 1694func (m *CompiledQuery_PrimaryScan) GetStartKey() string { 1695 if m != nil && m.StartKey != nil { 1696 return *m.StartKey 1697 } 1698 return "" 1699} 1700 1701func (m *CompiledQuery_PrimaryScan) GetStartInclusive() bool { 1702 if m != nil && m.StartInclusive != nil { 1703 return *m.StartInclusive 1704 } 1705 return false 1706} 1707 1708func (m *CompiledQuery_PrimaryScan) GetEndKey() string { 1709 if m != nil && m.EndKey != nil { 1710 return *m.EndKey 1711 } 1712 return "" 1713} 1714 1715func (m *CompiledQuery_PrimaryScan) GetEndInclusive() bool { 1716 if m != nil && m.EndInclusive != nil { 1717 return *m.EndInclusive 1718 } 1719 return false 1720} 1721 1722func (m *CompiledQuery_PrimaryScan) GetStartPostfixValue() []string { 1723 if m != nil { 1724 return m.StartPostfixValue 1725 } 1726 return nil 1727} 1728 1729func (m *CompiledQuery_PrimaryScan) GetEndPostfixValue() []string { 1730 if m != nil { 1731 return m.EndPostfixValue 1732 } 1733 return nil 1734} 1735 1736func (m *CompiledQuery_PrimaryScan) GetEndUnappliedLogTimestampUs() int64 { 1737 if m != nil && m.EndUnappliedLogTimestampUs != nil { 1738 return *m.EndUnappliedLogTimestampUs 1739 } 1740 return 0 1741} 1742 1743type CompiledQuery_MergeJoinScan struct { 1744 IndexName *string `protobuf:"bytes,8,req,name=index_name" json:"index_name,omitempty"` 1745 PrefixValue []string `protobuf:"bytes,9,rep,name=prefix_value" json:"prefix_value,omitempty"` 1746 ValuePrefix *bool `protobuf:"varint,20,opt,name=value_prefix,def=0" json:"value_prefix,omitempty"` 1747 XXX_unrecognized []byte `json:"-"` 1748} 1749 1750func (m *CompiledQuery_MergeJoinScan) Reset() { *m = CompiledQuery_MergeJoinScan{} } 1751func (m *CompiledQuery_MergeJoinScan) String() string { return proto.CompactTextString(m) } 1752func (*CompiledQuery_MergeJoinScan) ProtoMessage() {} 1753 1754const Default_CompiledQuery_MergeJoinScan_ValuePrefix bool = false 1755 1756func (m *CompiledQuery_MergeJoinScan) GetIndexName() string { 1757 if m != nil && m.IndexName != nil { 1758 return *m.IndexName 1759 } 1760 return "" 1761} 1762 1763func (m *CompiledQuery_MergeJoinScan) GetPrefixValue() []string { 1764 if m != nil { 1765 return m.PrefixValue 1766 } 1767 return nil 1768} 1769 1770func (m *CompiledQuery_MergeJoinScan) GetValuePrefix() bool { 1771 if m != nil && m.ValuePrefix != nil { 1772 return *m.ValuePrefix 1773 } 1774 return Default_CompiledQuery_MergeJoinScan_ValuePrefix 1775} 1776 1777type CompiledQuery_EntityFilter struct { 1778 Distinct *bool `protobuf:"varint,14,opt,name=distinct,def=0" json:"distinct,omitempty"` 1779 Kind *string `protobuf:"bytes,17,opt,name=kind" json:"kind,omitempty"` 1780 Ancestor *Reference `protobuf:"bytes,18,opt,name=ancestor" json:"ancestor,omitempty"` 1781 XXX_unrecognized []byte `json:"-"` 1782} 1783 1784func (m *CompiledQuery_EntityFilter) Reset() { *m = CompiledQuery_EntityFilter{} } 1785func (m *CompiledQuery_EntityFilter) String() string { return proto.CompactTextString(m) } 1786func (*CompiledQuery_EntityFilter) ProtoMessage() {} 1787 1788const Default_CompiledQuery_EntityFilter_Distinct bool = false 1789 1790func (m *CompiledQuery_EntityFilter) GetDistinct() bool { 1791 if m != nil && m.Distinct != nil { 1792 return *m.Distinct 1793 } 1794 return Default_CompiledQuery_EntityFilter_Distinct 1795} 1796 1797func (m *CompiledQuery_EntityFilter) GetKind() string { 1798 if m != nil && m.Kind != nil { 1799 return *m.Kind 1800 } 1801 return "" 1802} 1803 1804func (m *CompiledQuery_EntityFilter) GetAncestor() *Reference { 1805 if m != nil { 1806 return m.Ancestor 1807 } 1808 return nil 1809} 1810 1811type CompiledCursor struct { 1812 Position *CompiledCursor_Position `protobuf:"group,2,opt,name=Position" json:"position,omitempty"` 1813 XXX_unrecognized []byte `json:"-"` 1814} 1815 1816func (m *CompiledCursor) Reset() { *m = CompiledCursor{} } 1817func (m *CompiledCursor) String() string { return proto.CompactTextString(m) } 1818func (*CompiledCursor) ProtoMessage() {} 1819 1820func (m *CompiledCursor) GetPosition() *CompiledCursor_Position { 1821 if m != nil { 1822 return m.Position 1823 } 1824 return nil 1825} 1826 1827type CompiledCursor_Position struct { 1828 StartKey *string `protobuf:"bytes,27,opt,name=start_key" json:"start_key,omitempty"` 1829 Indexvalue []*CompiledCursor_Position_IndexValue `protobuf:"group,29,rep,name=IndexValue" json:"indexvalue,omitempty"` 1830 Key *Reference `protobuf:"bytes,32,opt,name=key" json:"key,omitempty"` 1831 StartInclusive *bool `protobuf:"varint,28,opt,name=start_inclusive,def=1" json:"start_inclusive,omitempty"` 1832 XXX_unrecognized []byte `json:"-"` 1833} 1834 1835func (m *CompiledCursor_Position) Reset() { *m = CompiledCursor_Position{} } 1836func (m *CompiledCursor_Position) String() string { return proto.CompactTextString(m) } 1837func (*CompiledCursor_Position) ProtoMessage() {} 1838 1839const Default_CompiledCursor_Position_StartInclusive bool = true 1840 1841func (m *CompiledCursor_Position) GetStartKey() string { 1842 if m != nil && m.StartKey != nil { 1843 return *m.StartKey 1844 } 1845 return "" 1846} 1847 1848func (m *CompiledCursor_Position) GetIndexvalue() []*CompiledCursor_Position_IndexValue { 1849 if m != nil { 1850 return m.Indexvalue 1851 } 1852 return nil 1853} 1854 1855func (m *CompiledCursor_Position) GetKey() *Reference { 1856 if m != nil { 1857 return m.Key 1858 } 1859 return nil 1860} 1861 1862func (m *CompiledCursor_Position) GetStartInclusive() bool { 1863 if m != nil && m.StartInclusive != nil { 1864 return *m.StartInclusive 1865 } 1866 return Default_CompiledCursor_Position_StartInclusive 1867} 1868 1869type CompiledCursor_Position_IndexValue struct { 1870 Property *string `protobuf:"bytes,30,opt,name=property" json:"property,omitempty"` 1871 Value *PropertyValue `protobuf:"bytes,31,req,name=value" json:"value,omitempty"` 1872 XXX_unrecognized []byte `json:"-"` 1873} 1874 1875func (m *CompiledCursor_Position_IndexValue) Reset() { *m = CompiledCursor_Position_IndexValue{} } 1876func (m *CompiledCursor_Position_IndexValue) String() string { return proto.CompactTextString(m) } 1877func (*CompiledCursor_Position_IndexValue) ProtoMessage() {} 1878 1879func (m *CompiledCursor_Position_IndexValue) GetProperty() string { 1880 if m != nil && m.Property != nil { 1881 return *m.Property 1882 } 1883 return "" 1884} 1885 1886func (m *CompiledCursor_Position_IndexValue) GetValue() *PropertyValue { 1887 if m != nil { 1888 return m.Value 1889 } 1890 return nil 1891} 1892 1893type Cursor struct { 1894 Cursor *uint64 `protobuf:"fixed64,1,req,name=cursor" json:"cursor,omitempty"` 1895 App *string `protobuf:"bytes,2,opt,name=app" json:"app,omitempty"` 1896 XXX_unrecognized []byte `json:"-"` 1897} 1898 1899func (m *Cursor) Reset() { *m = Cursor{} } 1900func (m *Cursor) String() string { return proto.CompactTextString(m) } 1901func (*Cursor) ProtoMessage() {} 1902 1903func (m *Cursor) GetCursor() uint64 { 1904 if m != nil && m.Cursor != nil { 1905 return *m.Cursor 1906 } 1907 return 0 1908} 1909 1910func (m *Cursor) GetApp() string { 1911 if m != nil && m.App != nil { 1912 return *m.App 1913 } 1914 return "" 1915} 1916 1917type Error struct { 1918 XXX_unrecognized []byte `json:"-"` 1919} 1920 1921func (m *Error) Reset() { *m = Error{} } 1922func (m *Error) String() string { return proto.CompactTextString(m) } 1923func (*Error) ProtoMessage() {} 1924 1925type Cost struct { 1926 IndexWrites *int32 `protobuf:"varint,1,opt,name=index_writes" json:"index_writes,omitempty"` 1927 IndexWriteBytes *int32 `protobuf:"varint,2,opt,name=index_write_bytes" json:"index_write_bytes,omitempty"` 1928 EntityWrites *int32 `protobuf:"varint,3,opt,name=entity_writes" json:"entity_writes,omitempty"` 1929 EntityWriteBytes *int32 `protobuf:"varint,4,opt,name=entity_write_bytes" json:"entity_write_bytes,omitempty"` 1930 Commitcost *Cost_CommitCost `protobuf:"group,5,opt,name=CommitCost" json:"commitcost,omitempty"` 1931 ApproximateStorageDelta *int32 `protobuf:"varint,8,opt,name=approximate_storage_delta" json:"approximate_storage_delta,omitempty"` 1932 IdSequenceUpdates *int32 `protobuf:"varint,9,opt,name=id_sequence_updates" json:"id_sequence_updates,omitempty"` 1933 XXX_unrecognized []byte `json:"-"` 1934} 1935 1936func (m *Cost) Reset() { *m = Cost{} } 1937func (m *Cost) String() string { return proto.CompactTextString(m) } 1938func (*Cost) ProtoMessage() {} 1939 1940func (m *Cost) GetIndexWrites() int32 { 1941 if m != nil && m.IndexWrites != nil { 1942 return *m.IndexWrites 1943 } 1944 return 0 1945} 1946 1947func (m *Cost) GetIndexWriteBytes() int32 { 1948 if m != nil && m.IndexWriteBytes != nil { 1949 return *m.IndexWriteBytes 1950 } 1951 return 0 1952} 1953 1954func (m *Cost) GetEntityWrites() int32 { 1955 if m != nil && m.EntityWrites != nil { 1956 return *m.EntityWrites 1957 } 1958 return 0 1959} 1960 1961func (m *Cost) GetEntityWriteBytes() int32 { 1962 if m != nil && m.EntityWriteBytes != nil { 1963 return *m.EntityWriteBytes 1964 } 1965 return 0 1966} 1967 1968func (m *Cost) GetCommitcost() *Cost_CommitCost { 1969 if m != nil { 1970 return m.Commitcost 1971 } 1972 return nil 1973} 1974 1975func (m *Cost) GetApproximateStorageDelta() int32 { 1976 if m != nil && m.ApproximateStorageDelta != nil { 1977 return *m.ApproximateStorageDelta 1978 } 1979 return 0 1980} 1981 1982func (m *Cost) GetIdSequenceUpdates() int32 { 1983 if m != nil && m.IdSequenceUpdates != nil { 1984 return *m.IdSequenceUpdates 1985 } 1986 return 0 1987} 1988 1989type Cost_CommitCost struct { 1990 RequestedEntityPuts *int32 `protobuf:"varint,6,opt,name=requested_entity_puts" json:"requested_entity_puts,omitempty"` 1991 RequestedEntityDeletes *int32 `protobuf:"varint,7,opt,name=requested_entity_deletes" json:"requested_entity_deletes,omitempty"` 1992 XXX_unrecognized []byte `json:"-"` 1993} 1994 1995func (m *Cost_CommitCost) Reset() { *m = Cost_CommitCost{} } 1996func (m *Cost_CommitCost) String() string { return proto.CompactTextString(m) } 1997func (*Cost_CommitCost) ProtoMessage() {} 1998 1999func (m *Cost_CommitCost) GetRequestedEntityPuts() int32 { 2000 if m != nil && m.RequestedEntityPuts != nil { 2001 return *m.RequestedEntityPuts 2002 } 2003 return 0 2004} 2005 2006func (m *Cost_CommitCost) GetRequestedEntityDeletes() int32 { 2007 if m != nil && m.RequestedEntityDeletes != nil { 2008 return *m.RequestedEntityDeletes 2009 } 2010 return 0 2011} 2012 2013type GetRequest struct { 2014 Header *InternalHeader `protobuf:"bytes,6,opt,name=header" json:"header,omitempty"` 2015 Key []*Reference `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"` 2016 Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction" json:"transaction,omitempty"` 2017 FailoverMs *int64 `protobuf:"varint,3,opt,name=failover_ms" json:"failover_ms,omitempty"` 2018 Strong *bool `protobuf:"varint,4,opt,name=strong" json:"strong,omitempty"` 2019 AllowDeferred *bool `protobuf:"varint,5,opt,name=allow_deferred,def=0" json:"allow_deferred,omitempty"` 2020 XXX_unrecognized []byte `json:"-"` 2021} 2022 2023func (m *GetRequest) Reset() { *m = GetRequest{} } 2024func (m *GetRequest) String() string { return proto.CompactTextString(m) } 2025func (*GetRequest) ProtoMessage() {} 2026 2027const Default_GetRequest_AllowDeferred bool = false 2028 2029func (m *GetRequest) GetHeader() *InternalHeader { 2030 if m != nil { 2031 return m.Header 2032 } 2033 return nil 2034} 2035 2036func (m *GetRequest) GetKey() []*Reference { 2037 if m != nil { 2038 return m.Key 2039 } 2040 return nil 2041} 2042 2043func (m *GetRequest) GetTransaction() *Transaction { 2044 if m != nil { 2045 return m.Transaction 2046 } 2047 return nil 2048} 2049 2050func (m *GetRequest) GetFailoverMs() int64 { 2051 if m != nil && m.FailoverMs != nil { 2052 return *m.FailoverMs 2053 } 2054 return 0 2055} 2056 2057func (m *GetRequest) GetStrong() bool { 2058 if m != nil && m.Strong != nil { 2059 return *m.Strong 2060 } 2061 return false 2062} 2063 2064func (m *GetRequest) GetAllowDeferred() bool { 2065 if m != nil && m.AllowDeferred != nil { 2066 return *m.AllowDeferred 2067 } 2068 return Default_GetRequest_AllowDeferred 2069} 2070 2071type GetResponse struct { 2072 Entity []*GetResponse_Entity `protobuf:"group,1,rep,name=Entity" json:"entity,omitempty"` 2073 Deferred []*Reference `protobuf:"bytes,5,rep,name=deferred" json:"deferred,omitempty"` 2074 InOrder *bool `protobuf:"varint,6,opt,name=in_order,def=1" json:"in_order,omitempty"` 2075 XXX_unrecognized []byte `json:"-"` 2076} 2077 2078func (m *GetResponse) Reset() { *m = GetResponse{} } 2079func (m *GetResponse) String() string { return proto.CompactTextString(m) } 2080func (*GetResponse) ProtoMessage() {} 2081 2082const Default_GetResponse_InOrder bool = true 2083 2084func (m *GetResponse) GetEntity() []*GetResponse_Entity { 2085 if m != nil { 2086 return m.Entity 2087 } 2088 return nil 2089} 2090 2091func (m *GetResponse) GetDeferred() []*Reference { 2092 if m != nil { 2093 return m.Deferred 2094 } 2095 return nil 2096} 2097 2098func (m *GetResponse) GetInOrder() bool { 2099 if m != nil && m.InOrder != nil { 2100 return *m.InOrder 2101 } 2102 return Default_GetResponse_InOrder 2103} 2104 2105type GetResponse_Entity struct { 2106 Entity *EntityProto `protobuf:"bytes,2,opt,name=entity" json:"entity,omitempty"` 2107 Key *Reference `protobuf:"bytes,4,opt,name=key" json:"key,omitempty"` 2108 Version *int64 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` 2109 XXX_unrecognized []byte `json:"-"` 2110} 2111 2112func (m *GetResponse_Entity) Reset() { *m = GetResponse_Entity{} } 2113func (m *GetResponse_Entity) String() string { return proto.CompactTextString(m) } 2114func (*GetResponse_Entity) ProtoMessage() {} 2115 2116func (m *GetResponse_Entity) GetEntity() *EntityProto { 2117 if m != nil { 2118 return m.Entity 2119 } 2120 return nil 2121} 2122 2123func (m *GetResponse_Entity) GetKey() *Reference { 2124 if m != nil { 2125 return m.Key 2126 } 2127 return nil 2128} 2129 2130func (m *GetResponse_Entity) GetVersion() int64 { 2131 if m != nil && m.Version != nil { 2132 return *m.Version 2133 } 2134 return 0 2135} 2136 2137type PutRequest struct { 2138 Header *InternalHeader `protobuf:"bytes,11,opt,name=header" json:"header,omitempty"` 2139 Entity []*EntityProto `protobuf:"bytes,1,rep,name=entity" json:"entity,omitempty"` 2140 Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction" json:"transaction,omitempty"` 2141 CompositeIndex []*CompositeIndex `protobuf:"bytes,3,rep,name=composite_index" json:"composite_index,omitempty"` 2142 Trusted *bool `protobuf:"varint,4,opt,name=trusted,def=0" json:"trusted,omitempty"` 2143 Force *bool `protobuf:"varint,7,opt,name=force,def=0" json:"force,omitempty"` 2144 MarkChanges *bool `protobuf:"varint,8,opt,name=mark_changes,def=0" json:"mark_changes,omitempty"` 2145 Snapshot []*Snapshot `protobuf:"bytes,9,rep,name=snapshot" json:"snapshot,omitempty"` 2146 AutoIdPolicy *PutRequest_AutoIdPolicy `protobuf:"varint,10,opt,name=auto_id_policy,enum=appengine.PutRequest_AutoIdPolicy,def=0" json:"auto_id_policy,omitempty"` 2147 XXX_unrecognized []byte `json:"-"` 2148} 2149 2150func (m *PutRequest) Reset() { *m = PutRequest{} } 2151func (m *PutRequest) String() string { return proto.CompactTextString(m) } 2152func (*PutRequest) ProtoMessage() {} 2153 2154const Default_PutRequest_Trusted bool = false 2155const Default_PutRequest_Force bool = false 2156const Default_PutRequest_MarkChanges bool = false 2157const Default_PutRequest_AutoIdPolicy PutRequest_AutoIdPolicy = PutRequest_CURRENT 2158 2159func (m *PutRequest) GetHeader() *InternalHeader { 2160 if m != nil { 2161 return m.Header 2162 } 2163 return nil 2164} 2165 2166func (m *PutRequest) GetEntity() []*EntityProto { 2167 if m != nil { 2168 return m.Entity 2169 } 2170 return nil 2171} 2172 2173func (m *PutRequest) GetTransaction() *Transaction { 2174 if m != nil { 2175 return m.Transaction 2176 } 2177 return nil 2178} 2179 2180func (m *PutRequest) GetCompositeIndex() []*CompositeIndex { 2181 if m != nil { 2182 return m.CompositeIndex 2183 } 2184 return nil 2185} 2186 2187func (m *PutRequest) GetTrusted() bool { 2188 if m != nil && m.Trusted != nil { 2189 return *m.Trusted 2190 } 2191 return Default_PutRequest_Trusted 2192} 2193 2194func (m *PutRequest) GetForce() bool { 2195 if m != nil && m.Force != nil { 2196 return *m.Force 2197 } 2198 return Default_PutRequest_Force 2199} 2200 2201func (m *PutRequest) GetMarkChanges() bool { 2202 if m != nil && m.MarkChanges != nil { 2203 return *m.MarkChanges 2204 } 2205 return Default_PutRequest_MarkChanges 2206} 2207 2208func (m *PutRequest) GetSnapshot() []*Snapshot { 2209 if m != nil { 2210 return m.Snapshot 2211 } 2212 return nil 2213} 2214 2215func (m *PutRequest) GetAutoIdPolicy() PutRequest_AutoIdPolicy { 2216 if m != nil && m.AutoIdPolicy != nil { 2217 return *m.AutoIdPolicy 2218 } 2219 return Default_PutRequest_AutoIdPolicy 2220} 2221 2222type PutResponse struct { 2223 Key []*Reference `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"` 2224 Cost *Cost `protobuf:"bytes,2,opt,name=cost" json:"cost,omitempty"` 2225 Version []int64 `protobuf:"varint,3,rep,name=version" json:"version,omitempty"` 2226 XXX_unrecognized []byte `json:"-"` 2227} 2228 2229func (m *PutResponse) Reset() { *m = PutResponse{} } 2230func (m *PutResponse) String() string { return proto.CompactTextString(m) } 2231func (*PutResponse) ProtoMessage() {} 2232 2233func (m *PutResponse) GetKey() []*Reference { 2234 if m != nil { 2235 return m.Key 2236 } 2237 return nil 2238} 2239 2240func (m *PutResponse) GetCost() *Cost { 2241 if m != nil { 2242 return m.Cost 2243 } 2244 return nil 2245} 2246 2247func (m *PutResponse) GetVersion() []int64 { 2248 if m != nil { 2249 return m.Version 2250 } 2251 return nil 2252} 2253 2254type TouchRequest struct { 2255 Header *InternalHeader `protobuf:"bytes,10,opt,name=header" json:"header,omitempty"` 2256 Key []*Reference `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"` 2257 CompositeIndex []*CompositeIndex `protobuf:"bytes,2,rep,name=composite_index" json:"composite_index,omitempty"` 2258 Force *bool `protobuf:"varint,3,opt,name=force,def=0" json:"force,omitempty"` 2259 Snapshot []*Snapshot `protobuf:"bytes,9,rep,name=snapshot" json:"snapshot,omitempty"` 2260 XXX_unrecognized []byte `json:"-"` 2261} 2262 2263func (m *TouchRequest) Reset() { *m = TouchRequest{} } 2264func (m *TouchRequest) String() string { return proto.CompactTextString(m) } 2265func (*TouchRequest) ProtoMessage() {} 2266 2267const Default_TouchRequest_Force bool = false 2268 2269func (m *TouchRequest) GetHeader() *InternalHeader { 2270 if m != nil { 2271 return m.Header 2272 } 2273 return nil 2274} 2275 2276func (m *TouchRequest) GetKey() []*Reference { 2277 if m != nil { 2278 return m.Key 2279 } 2280 return nil 2281} 2282 2283func (m *TouchRequest) GetCompositeIndex() []*CompositeIndex { 2284 if m != nil { 2285 return m.CompositeIndex 2286 } 2287 return nil 2288} 2289 2290func (m *TouchRequest) GetForce() bool { 2291 if m != nil && m.Force != nil { 2292 return *m.Force 2293 } 2294 return Default_TouchRequest_Force 2295} 2296 2297func (m *TouchRequest) GetSnapshot() []*Snapshot { 2298 if m != nil { 2299 return m.Snapshot 2300 } 2301 return nil 2302} 2303 2304type TouchResponse struct { 2305 Cost *Cost `protobuf:"bytes,1,opt,name=cost" json:"cost,omitempty"` 2306 XXX_unrecognized []byte `json:"-"` 2307} 2308 2309func (m *TouchResponse) Reset() { *m = TouchResponse{} } 2310func (m *TouchResponse) String() string { return proto.CompactTextString(m) } 2311func (*TouchResponse) ProtoMessage() {} 2312 2313func (m *TouchResponse) GetCost() *Cost { 2314 if m != nil { 2315 return m.Cost 2316 } 2317 return nil 2318} 2319 2320type DeleteRequest struct { 2321 Header *InternalHeader `protobuf:"bytes,10,opt,name=header" json:"header,omitempty"` 2322 Key []*Reference `protobuf:"bytes,6,rep,name=key" json:"key,omitempty"` 2323 Transaction *Transaction `protobuf:"bytes,5,opt,name=transaction" json:"transaction,omitempty"` 2324 Trusted *bool `protobuf:"varint,4,opt,name=trusted,def=0" json:"trusted,omitempty"` 2325 Force *bool `protobuf:"varint,7,opt,name=force,def=0" json:"force,omitempty"` 2326 MarkChanges *bool `protobuf:"varint,8,opt,name=mark_changes,def=0" json:"mark_changes,omitempty"` 2327 Snapshot []*Snapshot `protobuf:"bytes,9,rep,name=snapshot" json:"snapshot,omitempty"` 2328 XXX_unrecognized []byte `json:"-"` 2329} 2330 2331func (m *DeleteRequest) Reset() { *m = DeleteRequest{} } 2332func (m *DeleteRequest) String() string { return proto.CompactTextString(m) } 2333func (*DeleteRequest) ProtoMessage() {} 2334 2335const Default_DeleteRequest_Trusted bool = false 2336const Default_DeleteRequest_Force bool = false 2337const Default_DeleteRequest_MarkChanges bool = false 2338 2339func (m *DeleteRequest) GetHeader() *InternalHeader { 2340 if m != nil { 2341 return m.Header 2342 } 2343 return nil 2344} 2345 2346func (m *DeleteRequest) GetKey() []*Reference { 2347 if m != nil { 2348 return m.Key 2349 } 2350 return nil 2351} 2352 2353func (m *DeleteRequest) GetTransaction() *Transaction { 2354 if m != nil { 2355 return m.Transaction 2356 } 2357 return nil 2358} 2359 2360func (m *DeleteRequest) GetTrusted() bool { 2361 if m != nil && m.Trusted != nil { 2362 return *m.Trusted 2363 } 2364 return Default_DeleteRequest_Trusted 2365} 2366 2367func (m *DeleteRequest) GetForce() bool { 2368 if m != nil && m.Force != nil { 2369 return *m.Force 2370 } 2371 return Default_DeleteRequest_Force 2372} 2373 2374func (m *DeleteRequest) GetMarkChanges() bool { 2375 if m != nil && m.MarkChanges != nil { 2376 return *m.MarkChanges 2377 } 2378 return Default_DeleteRequest_MarkChanges 2379} 2380 2381func (m *DeleteRequest) GetSnapshot() []*Snapshot { 2382 if m != nil { 2383 return m.Snapshot 2384 } 2385 return nil 2386} 2387 2388type DeleteResponse struct { 2389 Cost *Cost `protobuf:"bytes,1,opt,name=cost" json:"cost,omitempty"` 2390 Version []int64 `protobuf:"varint,3,rep,name=version" json:"version,omitempty"` 2391 XXX_unrecognized []byte `json:"-"` 2392} 2393 2394func (m *DeleteResponse) Reset() { *m = DeleteResponse{} } 2395func (m *DeleteResponse) String() string { return proto.CompactTextString(m) } 2396func (*DeleteResponse) ProtoMessage() {} 2397 2398func (m *DeleteResponse) GetCost() *Cost { 2399 if m != nil { 2400 return m.Cost 2401 } 2402 return nil 2403} 2404 2405func (m *DeleteResponse) GetVersion() []int64 { 2406 if m != nil { 2407 return m.Version 2408 } 2409 return nil 2410} 2411 2412type NextRequest struct { 2413 Header *InternalHeader `protobuf:"bytes,5,opt,name=header" json:"header,omitempty"` 2414 Cursor *Cursor `protobuf:"bytes,1,req,name=cursor" json:"cursor,omitempty"` 2415 Count *int32 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"` 2416 Offset *int32 `protobuf:"varint,4,opt,name=offset,def=0" json:"offset,omitempty"` 2417 Compile *bool `protobuf:"varint,3,opt,name=compile,def=0" json:"compile,omitempty"` 2418 XXX_unrecognized []byte `json:"-"` 2419} 2420 2421func (m *NextRequest) Reset() { *m = NextRequest{} } 2422func (m *NextRequest) String() string { return proto.CompactTextString(m) } 2423func (*NextRequest) ProtoMessage() {} 2424 2425const Default_NextRequest_Offset int32 = 0 2426const Default_NextRequest_Compile bool = false 2427 2428func (m *NextRequest) GetHeader() *InternalHeader { 2429 if m != nil { 2430 return m.Header 2431 } 2432 return nil 2433} 2434 2435func (m *NextRequest) GetCursor() *Cursor { 2436 if m != nil { 2437 return m.Cursor 2438 } 2439 return nil 2440} 2441 2442func (m *NextRequest) GetCount() int32 { 2443 if m != nil && m.Count != nil { 2444 return *m.Count 2445 } 2446 return 0 2447} 2448 2449func (m *NextRequest) GetOffset() int32 { 2450 if m != nil && m.Offset != nil { 2451 return *m.Offset 2452 } 2453 return Default_NextRequest_Offset 2454} 2455 2456func (m *NextRequest) GetCompile() bool { 2457 if m != nil && m.Compile != nil { 2458 return *m.Compile 2459 } 2460 return Default_NextRequest_Compile 2461} 2462 2463type QueryResult struct { 2464 Cursor *Cursor `protobuf:"bytes,1,opt,name=cursor" json:"cursor,omitempty"` 2465 Result []*EntityProto `protobuf:"bytes,2,rep,name=result" json:"result,omitempty"` 2466 SkippedResults *int32 `protobuf:"varint,7,opt,name=skipped_results" json:"skipped_results,omitempty"` 2467 MoreResults *bool `protobuf:"varint,3,req,name=more_results" json:"more_results,omitempty"` 2468 KeysOnly *bool `protobuf:"varint,4,opt,name=keys_only" json:"keys_only,omitempty"` 2469 IndexOnly *bool `protobuf:"varint,9,opt,name=index_only" json:"index_only,omitempty"` 2470 SmallOps *bool `protobuf:"varint,10,opt,name=small_ops" json:"small_ops,omitempty"` 2471 CompiledQuery *CompiledQuery `protobuf:"bytes,5,opt,name=compiled_query" json:"compiled_query,omitempty"` 2472 CompiledCursor *CompiledCursor `protobuf:"bytes,6,opt,name=compiled_cursor" json:"compiled_cursor,omitempty"` 2473 Index []*CompositeIndex `protobuf:"bytes,8,rep,name=index" json:"index,omitempty"` 2474 Version []int64 `protobuf:"varint,11,rep,name=version" json:"version,omitempty"` 2475 XXX_unrecognized []byte `json:"-"` 2476} 2477 2478func (m *QueryResult) Reset() { *m = QueryResult{} } 2479func (m *QueryResult) String() string { return proto.CompactTextString(m) } 2480func (*QueryResult) ProtoMessage() {} 2481 2482func (m *QueryResult) GetCursor() *Cursor { 2483 if m != nil { 2484 return m.Cursor 2485 } 2486 return nil 2487} 2488 2489func (m *QueryResult) GetResult() []*EntityProto { 2490 if m != nil { 2491 return m.Result 2492 } 2493 return nil 2494} 2495 2496func (m *QueryResult) GetSkippedResults() int32 { 2497 if m != nil && m.SkippedResults != nil { 2498 return *m.SkippedResults 2499 } 2500 return 0 2501} 2502 2503func (m *QueryResult) GetMoreResults() bool { 2504 if m != nil && m.MoreResults != nil { 2505 return *m.MoreResults 2506 } 2507 return false 2508} 2509 2510func (m *QueryResult) GetKeysOnly() bool { 2511 if m != nil && m.KeysOnly != nil { 2512 return *m.KeysOnly 2513 } 2514 return false 2515} 2516 2517func (m *QueryResult) GetIndexOnly() bool { 2518 if m != nil && m.IndexOnly != nil { 2519 return *m.IndexOnly 2520 } 2521 return false 2522} 2523 2524func (m *QueryResult) GetSmallOps() bool { 2525 if m != nil && m.SmallOps != nil { 2526 return *m.SmallOps 2527 } 2528 return false 2529} 2530 2531func (m *QueryResult) GetCompiledQuery() *CompiledQuery { 2532 if m != nil { 2533 return m.CompiledQuery 2534 } 2535 return nil 2536} 2537 2538func (m *QueryResult) GetCompiledCursor() *CompiledCursor { 2539 if m != nil { 2540 return m.CompiledCursor 2541 } 2542 return nil 2543} 2544 2545func (m *QueryResult) GetIndex() []*CompositeIndex { 2546 if m != nil { 2547 return m.Index 2548 } 2549 return nil 2550} 2551 2552func (m *QueryResult) GetVersion() []int64 { 2553 if m != nil { 2554 return m.Version 2555 } 2556 return nil 2557} 2558 2559type AllocateIdsRequest struct { 2560 Header *InternalHeader `protobuf:"bytes,4,opt,name=header" json:"header,omitempty"` 2561 ModelKey *Reference `protobuf:"bytes,1,opt,name=model_key" json:"model_key,omitempty"` 2562 Size *int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"` 2563 Max *int64 `protobuf:"varint,3,opt,name=max" json:"max,omitempty"` 2564 Reserve []*Reference `protobuf:"bytes,5,rep,name=reserve" json:"reserve,omitempty"` 2565 XXX_unrecognized []byte `json:"-"` 2566} 2567 2568func (m *AllocateIdsRequest) Reset() { *m = AllocateIdsRequest{} } 2569func (m *AllocateIdsRequest) String() string { return proto.CompactTextString(m) } 2570func (*AllocateIdsRequest) ProtoMessage() {} 2571 2572func (m *AllocateIdsRequest) GetHeader() *InternalHeader { 2573 if m != nil { 2574 return m.Header 2575 } 2576 return nil 2577} 2578 2579func (m *AllocateIdsRequest) GetModelKey() *Reference { 2580 if m != nil { 2581 return m.ModelKey 2582 } 2583 return nil 2584} 2585 2586func (m *AllocateIdsRequest) GetSize() int64 { 2587 if m != nil && m.Size != nil { 2588 return *m.Size 2589 } 2590 return 0 2591} 2592 2593func (m *AllocateIdsRequest) GetMax() int64 { 2594 if m != nil && m.Max != nil { 2595 return *m.Max 2596 } 2597 return 0 2598} 2599 2600func (m *AllocateIdsRequest) GetReserve() []*Reference { 2601 if m != nil { 2602 return m.Reserve 2603 } 2604 return nil 2605} 2606 2607type AllocateIdsResponse struct { 2608 Start *int64 `protobuf:"varint,1,req,name=start" json:"start,omitempty"` 2609 End *int64 `protobuf:"varint,2,req,name=end" json:"end,omitempty"` 2610 Cost *Cost `protobuf:"bytes,3,opt,name=cost" json:"cost,omitempty"` 2611 XXX_unrecognized []byte `json:"-"` 2612} 2613 2614func (m *AllocateIdsResponse) Reset() { *m = AllocateIdsResponse{} } 2615func (m *AllocateIdsResponse) String() string { return proto.CompactTextString(m) } 2616func (*AllocateIdsResponse) ProtoMessage() {} 2617 2618func (m *AllocateIdsResponse) GetStart() int64 { 2619 if m != nil && m.Start != nil { 2620 return *m.Start 2621 } 2622 return 0 2623} 2624 2625func (m *AllocateIdsResponse) GetEnd() int64 { 2626 if m != nil && m.End != nil { 2627 return *m.End 2628 } 2629 return 0 2630} 2631 2632func (m *AllocateIdsResponse) GetCost() *Cost { 2633 if m != nil { 2634 return m.Cost 2635 } 2636 return nil 2637} 2638 2639type CompositeIndices struct { 2640 Index []*CompositeIndex `protobuf:"bytes,1,rep,name=index" json:"index,omitempty"` 2641 XXX_unrecognized []byte `json:"-"` 2642} 2643 2644func (m *CompositeIndices) Reset() { *m = CompositeIndices{} } 2645func (m *CompositeIndices) String() string { return proto.CompactTextString(m) } 2646func (*CompositeIndices) ProtoMessage() {} 2647 2648func (m *CompositeIndices) GetIndex() []*CompositeIndex { 2649 if m != nil { 2650 return m.Index 2651 } 2652 return nil 2653} 2654 2655type AddActionsRequest struct { 2656 Header *InternalHeader `protobuf:"bytes,3,opt,name=header" json:"header,omitempty"` 2657 Transaction *Transaction `protobuf:"bytes,1,req,name=transaction" json:"transaction,omitempty"` 2658 Action []*Action `protobuf:"bytes,2,rep,name=action" json:"action,omitempty"` 2659 XXX_unrecognized []byte `json:"-"` 2660} 2661 2662func (m *AddActionsRequest) Reset() { *m = AddActionsRequest{} } 2663func (m *AddActionsRequest) String() string { return proto.CompactTextString(m) } 2664func (*AddActionsRequest) ProtoMessage() {} 2665 2666func (m *AddActionsRequest) GetHeader() *InternalHeader { 2667 if m != nil { 2668 return m.Header 2669 } 2670 return nil 2671} 2672 2673func (m *AddActionsRequest) GetTransaction() *Transaction { 2674 if m != nil { 2675 return m.Transaction 2676 } 2677 return nil 2678} 2679 2680func (m *AddActionsRequest) GetAction() []*Action { 2681 if m != nil { 2682 return m.Action 2683 } 2684 return nil 2685} 2686 2687type AddActionsResponse struct { 2688 XXX_unrecognized []byte `json:"-"` 2689} 2690 2691func (m *AddActionsResponse) Reset() { *m = AddActionsResponse{} } 2692func (m *AddActionsResponse) String() string { return proto.CompactTextString(m) } 2693func (*AddActionsResponse) ProtoMessage() {} 2694 2695type BeginTransactionRequest struct { 2696 Header *InternalHeader `protobuf:"bytes,3,opt,name=header" json:"header,omitempty"` 2697 App *string `protobuf:"bytes,1,req,name=app" json:"app,omitempty"` 2698 AllowMultipleEg *bool `protobuf:"varint,2,opt,name=allow_multiple_eg,def=0" json:"allow_multiple_eg,omitempty"` 2699 XXX_unrecognized []byte `json:"-"` 2700} 2701 2702func (m *BeginTransactionRequest) Reset() { *m = BeginTransactionRequest{} } 2703func (m *BeginTransactionRequest) String() string { return proto.CompactTextString(m) } 2704func (*BeginTransactionRequest) ProtoMessage() {} 2705 2706const Default_BeginTransactionRequest_AllowMultipleEg bool = false 2707 2708func (m *BeginTransactionRequest) GetHeader() *InternalHeader { 2709 if m != nil { 2710 return m.Header 2711 } 2712 return nil 2713} 2714 2715func (m *BeginTransactionRequest) GetApp() string { 2716 if m != nil && m.App != nil { 2717 return *m.App 2718 } 2719 return "" 2720} 2721 2722func (m *BeginTransactionRequest) GetAllowMultipleEg() bool { 2723 if m != nil && m.AllowMultipleEg != nil { 2724 return *m.AllowMultipleEg 2725 } 2726 return Default_BeginTransactionRequest_AllowMultipleEg 2727} 2728 2729type CommitResponse struct { 2730 Cost *Cost `protobuf:"bytes,1,opt,name=cost" json:"cost,omitempty"` 2731 Version []*CommitResponse_Version `protobuf:"group,3,rep,name=Version" json:"version,omitempty"` 2732 XXX_unrecognized []byte `json:"-"` 2733} 2734 2735func (m *CommitResponse) Reset() { *m = CommitResponse{} } 2736func (m *CommitResponse) String() string { return proto.CompactTextString(m) } 2737func (*CommitResponse) ProtoMessage() {} 2738 2739func (m *CommitResponse) GetCost() *Cost { 2740 if m != nil { 2741 return m.Cost 2742 } 2743 return nil 2744} 2745 2746func (m *CommitResponse) GetVersion() []*CommitResponse_Version { 2747 if m != nil { 2748 return m.Version 2749 } 2750 return nil 2751} 2752 2753type CommitResponse_Version struct { 2754 RootEntityKey *Reference `protobuf:"bytes,4,req,name=root_entity_key" json:"root_entity_key,omitempty"` 2755 Version *int64 `protobuf:"varint,5,req,name=version" json:"version,omitempty"` 2756 XXX_unrecognized []byte `json:"-"` 2757} 2758 2759func (m *CommitResponse_Version) Reset() { *m = CommitResponse_Version{} } 2760func (m *CommitResponse_Version) String() string { return proto.CompactTextString(m) } 2761func (*CommitResponse_Version) ProtoMessage() {} 2762 2763func (m *CommitResponse_Version) GetRootEntityKey() *Reference { 2764 if m != nil { 2765 return m.RootEntityKey 2766 } 2767 return nil 2768} 2769 2770func (m *CommitResponse_Version) GetVersion() int64 { 2771 if m != nil && m.Version != nil { 2772 return *m.Version 2773 } 2774 return 0 2775} 2776 2777func init() { 2778} 2779