Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Side by Side Diff: service/rawdatastore/internal/protos/datastore/datastore_v3.pb.go

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

Powered by Google App Engine
This is Rietveld 408576698