Documentation
¶
Overview ¶
Package datastore is a generated protocol buffer package.
It is generated from these files:
google.golang.org/appengine/internal/datastore/datastore_v3.proto
It has these top-level messages:
Action PropertyValue Property Path Reference User EntityProto CompositeProperty Index CompositeIndex IndexPostfix IndexPosition Snapshot InternalHeader Transaction Query CompiledQuery CompiledCursor Cursor Error Cost GetRequest GetResponse PutRequest PutResponse TouchRequest TouchResponse DeleteRequest DeleteResponse NextRequest QueryResult AllocateIdsRequest AllocateIdsResponse CompositeIndices AddActionsRequest AddActionsResponse BeginTransactionRequest CommitResponse
Index ¶
- Constants
- Variables
- type Action
- type AddActionsRequest
- type AddActionsResponse
- type AllocateIdsRequest
- func (m *AllocateIdsRequest) GetHeader() *InternalHeader
- func (m *AllocateIdsRequest) GetMax() int64
- func (m *AllocateIdsRequest) GetModelKey() *Reference
- func (m *AllocateIdsRequest) GetReserve() []*Reference
- func (m *AllocateIdsRequest) GetSize() int64
- func (*AllocateIdsRequest) ProtoMessage()
- func (m *AllocateIdsRequest) Reset()
- func (m *AllocateIdsRequest) String() string
- type AllocateIdsResponse
- type BeginTransactionRequest
- func (m *BeginTransactionRequest) GetAllowMultipleEg() bool
- func (m *BeginTransactionRequest) GetApp() string
- func (m *BeginTransactionRequest) GetHeader() *InternalHeader
- func (*BeginTransactionRequest) ProtoMessage()
- func (m *BeginTransactionRequest) Reset()
- func (m *BeginTransactionRequest) String() string
- type CommitResponse
- type CommitResponse_Version
- type CompiledCursor
- type CompiledCursor_Position
- func (m *CompiledCursor_Position) GetIndexvalue() []*CompiledCursor_Position_IndexValue
- func (m *CompiledCursor_Position) GetKey() *Reference
- func (m *CompiledCursor_Position) GetStartInclusive() bool
- func (m *CompiledCursor_Position) GetStartKey() string
- func (*CompiledCursor_Position) ProtoMessage()
- func (m *CompiledCursor_Position) Reset()
- func (m *CompiledCursor_Position) String() string
- type CompiledCursor_Position_IndexValue
- func (m *CompiledCursor_Position_IndexValue) GetProperty() string
- func (m *CompiledCursor_Position_IndexValue) GetValue() *PropertyValue
- func (*CompiledCursor_Position_IndexValue) ProtoMessage()
- func (m *CompiledCursor_Position_IndexValue) Reset()
- func (m *CompiledCursor_Position_IndexValue) String() string
- type CompiledQuery
- func (m *CompiledQuery) GetDistinctInfixSize() int32
- func (m *CompiledQuery) GetEntityfilter() *CompiledQuery_EntityFilter
- func (m *CompiledQuery) GetIndexDef() *Index
- func (m *CompiledQuery) GetKeysOnly() bool
- func (m *CompiledQuery) GetLimit() int32
- func (m *CompiledQuery) GetMergejoinscan() []*CompiledQuery_MergeJoinScan
- func (m *CompiledQuery) GetOffset() int32
- func (m *CompiledQuery) GetPrimaryscan() *CompiledQuery_PrimaryScan
- func (m *CompiledQuery) GetPropertyName() []string
- func (*CompiledQuery) ProtoMessage()
- func (m *CompiledQuery) Reset()
- func (m *CompiledQuery) String() string
- type CompiledQuery_EntityFilter
- func (m *CompiledQuery_EntityFilter) GetAncestor() *Reference
- func (m *CompiledQuery_EntityFilter) GetDistinct() bool
- func (m *CompiledQuery_EntityFilter) GetKind() string
- func (*CompiledQuery_EntityFilter) ProtoMessage()
- func (m *CompiledQuery_EntityFilter) Reset()
- func (m *CompiledQuery_EntityFilter) String() string
- type CompiledQuery_MergeJoinScan
- func (m *CompiledQuery_MergeJoinScan) GetIndexName() string
- func (m *CompiledQuery_MergeJoinScan) GetPrefixValue() []string
- func (m *CompiledQuery_MergeJoinScan) GetValuePrefix() bool
- func (*CompiledQuery_MergeJoinScan) ProtoMessage()
- func (m *CompiledQuery_MergeJoinScan) Reset()
- func (m *CompiledQuery_MergeJoinScan) String() string
- type CompiledQuery_PrimaryScan
- func (m *CompiledQuery_PrimaryScan) GetEndInclusive() bool
- func (m *CompiledQuery_PrimaryScan) GetEndKey() string
- func (m *CompiledQuery_PrimaryScan) GetEndPostfixValue() []string
- func (m *CompiledQuery_PrimaryScan) GetEndUnappliedLogTimestampUs() int64
- func (m *CompiledQuery_PrimaryScan) GetIndexName() string
- func (m *CompiledQuery_PrimaryScan) GetStartInclusive() bool
- func (m *CompiledQuery_PrimaryScan) GetStartKey() string
- func (m *CompiledQuery_PrimaryScan) GetStartPostfixValue() []string
- func (*CompiledQuery_PrimaryScan) ProtoMessage()
- func (m *CompiledQuery_PrimaryScan) Reset()
- func (m *CompiledQuery_PrimaryScan) String() string
- type CompositeIndex
- func (m *CompositeIndex) GetAppId() string
- func (m *CompositeIndex) GetDefinition() *Index
- func (m *CompositeIndex) GetId() int64
- func (m *CompositeIndex) GetOnlyUseIfRequired() bool
- func (m *CompositeIndex) GetState() CompositeIndex_State
- func (*CompositeIndex) ProtoMessage()
- func (m *CompositeIndex) Reset()
- func (m *CompositeIndex) String() string
- type CompositeIndex_State
- type CompositeIndices
- type CompositeProperty
- type Cost
- func (m *Cost) GetApproximateStorageDelta() int32
- func (m *Cost) GetCommitcost() *Cost_CommitCost
- func (m *Cost) GetEntityWriteBytes() int32
- func (m *Cost) GetEntityWrites() int32
- func (m *Cost) GetIdSequenceUpdates() int32
- func (m *Cost) GetIndexWriteBytes() int32
- func (m *Cost) GetIndexWrites() int32
- func (*Cost) ProtoMessage()
- func (m *Cost) Reset()
- func (m *Cost) String() string
- type Cost_CommitCost
- type Cursor
- type DeleteRequest
- func (m *DeleteRequest) GetForce() bool
- func (m *DeleteRequest) GetHeader() *InternalHeader
- func (m *DeleteRequest) GetKey() []*Reference
- func (m *DeleteRequest) GetMarkChanges() bool
- func (m *DeleteRequest) GetSnapshot() []*Snapshot
- func (m *DeleteRequest) GetTransaction() *Transaction
- func (m *DeleteRequest) GetTrusted() bool
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) String() string
- type DeleteResponse
- type EntityProto
- func (m *EntityProto) GetEntityGroup() *Path
- func (m *EntityProto) GetKey() *Reference
- func (m *EntityProto) GetKind() EntityProto_Kind
- func (m *EntityProto) GetKindUri() string
- func (m *EntityProto) GetOwner() *User
- func (m *EntityProto) GetProperty() []*Property
- func (m *EntityProto) GetRank() int32
- func (m *EntityProto) GetRawProperty() []*Property
- func (*EntityProto) ProtoMessage()
- func (m *EntityProto) Reset()
- func (m *EntityProto) String() string
- type EntityProto_Kind
- type Error
- type Error_ErrorCode
- type GetRequest
- func (m *GetRequest) GetAllowDeferred() bool
- func (m *GetRequest) GetFailoverMs() int64
- func (m *GetRequest) GetHeader() *InternalHeader
- func (m *GetRequest) GetKey() []*Reference
- func (m *GetRequest) GetStrong() bool
- func (m *GetRequest) GetTransaction() *Transaction
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- type GetResponse
- type GetResponse_Entity
- type Index
- type IndexPosition
- type IndexPostfix
- type IndexPostfix_IndexValue
- type Index_Property
- type Index_Property_Direction
- type InternalHeader
- type NextRequest
- func (m *NextRequest) GetCompile() bool
- func (m *NextRequest) GetCount() int32
- func (m *NextRequest) GetCursor() *Cursor
- func (m *NextRequest) GetHeader() *InternalHeader
- func (m *NextRequest) GetOffset() int32
- func (*NextRequest) ProtoMessage()
- func (m *NextRequest) Reset()
- func (m *NextRequest) String() string
- type Path
- type Path_Element
- type Property
- func (m *Property) GetFtsTokenizationOption() Property_FtsTokenizationOption
- func (m *Property) GetLocale() string
- func (m *Property) GetMeaning() Property_Meaning
- func (m *Property) GetMeaningUri() string
- func (m *Property) GetMultiple() bool
- func (m *Property) GetName() string
- func (m *Property) GetSearchable() bool
- func (m *Property) GetValue() *PropertyValue
- func (*Property) ProtoMessage()
- func (m *Property) Reset()
- func (m *Property) String() string
- type PropertyValue
- func (m *PropertyValue) GetBooleanValue() bool
- func (m *PropertyValue) GetDoubleValue() float64
- func (m *PropertyValue) GetInt64Value() int64
- func (m *PropertyValue) GetPointvalue() *PropertyValue_PointValue
- func (m *PropertyValue) GetReferencevalue() *PropertyValue_ReferenceValue
- func (m *PropertyValue) GetStringValue() string
- func (m *PropertyValue) GetUservalue() *PropertyValue_UserValue
- func (*PropertyValue) ProtoMessage()
- func (m *PropertyValue) Reset()
- func (m *PropertyValue) String() string
- type PropertyValue_PointValue
- type PropertyValue_ReferenceValue
- func (m *PropertyValue_ReferenceValue) GetApp() string
- func (m *PropertyValue_ReferenceValue) GetNameSpace() string
- func (m *PropertyValue_ReferenceValue) GetPathelement() []*PropertyValue_ReferenceValue_PathElement
- func (*PropertyValue_ReferenceValue) ProtoMessage()
- func (m *PropertyValue_ReferenceValue) Reset()
- func (m *PropertyValue_ReferenceValue) String() string
- type PropertyValue_ReferenceValue_PathElement
- func (m *PropertyValue_ReferenceValue_PathElement) GetId() int64
- func (m *PropertyValue_ReferenceValue_PathElement) GetName() string
- func (m *PropertyValue_ReferenceValue_PathElement) GetType() string
- func (*PropertyValue_ReferenceValue_PathElement) ProtoMessage()
- func (m *PropertyValue_ReferenceValue_PathElement) Reset()
- func (m *PropertyValue_ReferenceValue_PathElement) String() string
- type PropertyValue_UserValue
- func (m *PropertyValue_UserValue) GetAuthDomain() string
- func (m *PropertyValue_UserValue) GetEmail() string
- func (m *PropertyValue_UserValue) GetFederatedIdentity() string
- func (m *PropertyValue_UserValue) GetFederatedProvider() string
- func (m *PropertyValue_UserValue) GetNickname() string
- func (*PropertyValue_UserValue) ProtoMessage()
- func (m *PropertyValue_UserValue) Reset()
- func (m *PropertyValue_UserValue) String() string
- type Property_FtsTokenizationOption
- type Property_Meaning
- type PutRequest
- func (m *PutRequest) GetAutoIdPolicy() PutRequest_AutoIdPolicy
- func (m *PutRequest) GetCompositeIndex() []*CompositeIndex
- func (m *PutRequest) GetEntity() []*EntityProto
- func (m *PutRequest) GetForce() bool
- func (m *PutRequest) GetHeader() *InternalHeader
- func (m *PutRequest) GetMarkChanges() bool
- func (m *PutRequest) GetSnapshot() []*Snapshot
- func (m *PutRequest) GetTransaction() *Transaction
- func (m *PutRequest) GetTrusted() bool
- func (*PutRequest) ProtoMessage()
- func (m *PutRequest) Reset()
- func (m *PutRequest) String() string
- type PutRequest_AutoIdPolicy
- type PutResponse
- type Query
- func (m *Query) GetAncestor() *Reference
- func (m *Query) GetApp() string
- func (m *Query) GetCompile() bool
- func (m *Query) GetCompiledCursor() *CompiledCursor
- func (m *Query) GetCompositeIndex() []*CompositeIndex
- func (m *Query) GetCount() int32
- func (m *Query) GetDistinct() bool
- func (m *Query) GetEndCompiledCursor() *CompiledCursor
- func (m *Query) GetFailoverMs() int64
- func (m *Query) GetFilter() []*Query_Filter
- func (m *Query) GetGroupByPropertyName() []string
- func (m *Query) GetHeader() *InternalHeader
- func (m *Query) GetHint() Query_Hint
- func (m *Query) GetKeysOnly() bool
- func (m *Query) GetKind() string
- func (m *Query) GetLimit() int32
- func (m *Query) GetMinSafeTimeSeconds() int64
- func (m *Query) GetNameSpace() string
- func (m *Query) GetOffset() int32
- func (m *Query) GetOrder() []*Query_Order
- func (m *Query) GetPersistOffset() bool
- func (m *Query) GetPropertyName() []string
- func (m *Query) GetRequirePerfectPlan() bool
- func (m *Query) GetSafeReplicaName() []string
- func (m *Query) GetSearchQuery() string
- func (m *Query) GetStrong() bool
- func (m *Query) GetTransaction() *Transaction
- func (*Query) ProtoMessage()
- func (m *Query) Reset()
- func (m *Query) String() string
- type QueryResult
- func (m *QueryResult) GetCompiledCursor() *CompiledCursor
- func (m *QueryResult) GetCompiledQuery() *CompiledQuery
- func (m *QueryResult) GetCursor() *Cursor
- func (m *QueryResult) GetIndex() []*CompositeIndex
- func (m *QueryResult) GetIndexOnly() bool
- func (m *QueryResult) GetKeysOnly() bool
- func (m *QueryResult) GetMoreResults() bool
- func (m *QueryResult) GetResult() []*EntityProto
- func (m *QueryResult) GetSkippedResults() int32
- func (m *QueryResult) GetSmallOps() bool
- func (m *QueryResult) GetVersion() []int64
- func (*QueryResult) ProtoMessage()
- func (m *QueryResult) Reset()
- func (m *QueryResult) String() string
- type Query_Filter
- type Query_Filter_Operator
- type Query_Hint
- type Query_Order
- type Query_Order_Direction
- type Reference
- type Snapshot
- type Snapshot_Status
- type TouchRequest
- func (m *TouchRequest) GetCompositeIndex() []*CompositeIndex
- func (m *TouchRequest) GetForce() bool
- func (m *TouchRequest) GetHeader() *InternalHeader
- func (m *TouchRequest) GetKey() []*Reference
- func (m *TouchRequest) GetSnapshot() []*Snapshot
- func (*TouchRequest) ProtoMessage()
- func (m *TouchRequest) Reset()
- func (m *TouchRequest) String() string
- type TouchResponse
- type Transaction
- type User
Constants ¶
View Source
const Default_BeginTransactionRequest_AllowMultipleEg bool = false
View Source
const Default_CompiledCursor_Position_StartInclusive bool = true
View Source
const Default_CompiledQuery_EntityFilter_Distinct bool = false
View Source
const Default_CompiledQuery_MergeJoinScan_ValuePrefix bool = false
View Source
const Default_CompiledQuery_Offset int32 = 0
View Source
const Default_CompositeIndex_OnlyUseIfRequired bool = false
View Source
const Default_DeleteRequest_Force bool = false
View Source
const Default_DeleteRequest_MarkChanges bool = false
View Source
const Default_DeleteRequest_Trusted bool = false
View Source
const Default_GetRequest_AllowDeferred bool = false
View Source
const Default_GetResponse_InOrder bool = true
View Source
const Default_IndexPosition_Before bool = true
View Source
const Default_IndexPostfix_Before bool = true
View Source
const Default_NextRequest_Compile bool = false
View Source
const Default_NextRequest_Offset int32 = 0
View Source
const Default_Property_Locale string = "en"
View Source
const Default_Property_Searchable bool = false
View Source
const Default_PutRequest_Force bool = false
View Source
const Default_PutRequest_MarkChanges bool = false
View Source
const Default_PutRequest_Trusted bool = false
View Source
const Default_Query_Compile bool = false
View Source
const Default_Query_KeysOnly bool = false
View Source
const Default_Query_Offset int32 = 0
View Source
const Default_Query_PersistOffset bool = false
View Source
const Default_Query_RequirePerfectPlan bool = false
View Source
const Default_TouchRequest_Force bool = false
View Source
const Default_Transaction_MarkChanges bool = false
Variables ¶
View Source
var CompositeIndex_State_name = map[int32]string{
1: "WRITE_ONLY",
2: "READ_WRITE",
3: "DELETED",
4: "ERROR",
}
View Source
var CompositeIndex_State_value = map[string]int32{
"WRITE_ONLY": 1,
"READ_WRITE": 2,
"DELETED": 3,
"ERROR": 4,
}
View Source
var EntityProto_Kind_name = map[int32]string{
1: "GD_CONTACT",
2: "GD_EVENT",
3: "GD_MESSAGE",
}
View Source
var EntityProto_Kind_value = map[string]int32{
"GD_CONTACT": 1,
"GD_EVENT": 2,
"GD_MESSAGE": 3,
}
View Source
var Error_ErrorCode_name = map[int32]string{
1: "BAD_REQUEST",
2: "CONCURRENT_TRANSACTION",
3: "INTERNAL_ERROR",
4: "NEED_INDEX",
5: "TIMEOUT",
6: "PERMISSION_DENIED",
7: "BIGTABLE_ERROR",
8: "COMMITTED_BUT_STILL_APPLYING",
9: "CAPABILITY_DISABLED",
10: "TRY_ALTERNATE_BACKEND",
11: "SAFE_TIME_TOO_OLD",
}
View Source
var Error_ErrorCode_value = map[string]int32{
"BAD_REQUEST": 1,
"CONCURRENT_TRANSACTION": 2,
"INTERNAL_ERROR": 3,
"NEED_INDEX": 4,
"TIMEOUT": 5,
"PERMISSION_DENIED": 6,
"BIGTABLE_ERROR": 7,
"COMMITTED_BUT_STILL_APPLYING": 8,
"CAPABILITY_DISABLED": 9,
"TRY_ALTERNATE_BACKEND": 10,
"SAFE_TIME_TOO_OLD": 11,
}
View Source
var Index_Property_Direction_name = map[int32]string{
1: "ASCENDING",
2: "DESCENDING",
}
View Source
var Index_Property_Direction_value = map[string]int32{
"ASCENDING": 1,
"DESCENDING": 2,
}
View Source
var Property_FtsTokenizationOption_name = map[int32]string{
1: "HTML",
2: "ATOM",
}
View Source
var Property_FtsTokenizationOption_value = map[string]int32{
"HTML": 1,
"ATOM": 2,
}
View Source
var Property_Meaning_name = map[int32]string{
0: "NO_MEANING",
14: "BLOB",
15: "TEXT",
16: "BYTESTRING",
1: "ATOM_CATEGORY",
2: "ATOM_LINK",
3: "ATOM_TITLE",
4: "ATOM_CONTENT",
5: "ATOM_SUMMARY",
6: "ATOM_AUTHOR",
7: "GD_WHEN",
8: "GD_EMAIL",
9: "GEORSS_POINT",
10: "GD_IM",
11: "GD_PHONENUMBER",
12: "GD_POSTALADDRESS",
13: "GD_RATING",
17: "BLOBKEY",
19: "ENTITY_PROTO",
18: "INDEX_VALUE",
}
View Source
var Property_Meaning_value = map[string]int32{
"NO_MEANING": 0,
"BLOB": 14,
"TEXT": 15,
"BYTESTRING": 16,
"ATOM_CATEGORY": 1,
"ATOM_LINK": 2,
"ATOM_TITLE": 3,
"ATOM_CONTENT": 4,
"ATOM_SUMMARY": 5,
"ATOM_AUTHOR": 6,
"GD_WHEN": 7,
"GD_EMAIL": 8,
"GEORSS_POINT": 9,
"GD_IM": 10,
"GD_PHONENUMBER": 11,
"GD_POSTALADDRESS": 12,
"GD_RATING": 13,
"BLOBKEY": 17,
"ENTITY_PROTO": 19,
"INDEX_VALUE": 18,
}
View Source
var PutRequest_AutoIdPolicy_name = map[int32]string{
0: "CURRENT",
1: "SEQUENTIAL",
}
View Source
var PutRequest_AutoIdPolicy_value = map[string]int32{
"CURRENT": 0,
"SEQUENTIAL": 1,
}
View Source
var Query_Filter_Operator_name = map[int32]string{
1: "LESS_THAN",
2: "LESS_THAN_OR_EQUAL",
3: "GREATER_THAN",
4: "GREATER_THAN_OR_EQUAL",
5: "EQUAL",
6: "IN",
7: "EXISTS",
}
View Source
var Query_Filter_Operator_value = map[string]int32{
"LESS_THAN": 1,
"LESS_THAN_OR_EQUAL": 2,
"GREATER_THAN": 3,
"GREATER_THAN_OR_EQUAL": 4,
"EQUAL": 5,
"IN": 6,
"EXISTS": 7,
}
View Source
var Query_Hint_name = map[int32]string{
1: "ORDER_FIRST",
2: "ANCESTOR_FIRST",
3: "FILTER_FIRST",
}
View Source
var Query_Hint_value = map[string]int32{
"ORDER_FIRST": 1,
"ANCESTOR_FIRST": 2,
"FILTER_FIRST": 3,
}
View Source
var Query_Order_Direction_name = map[int32]string{
1: "ASCENDING",
2: "DESCENDING",
}
View Source
var Query_Order_Direction_value = map[string]int32{
"ASCENDING": 1,
"DESCENDING": 2,
}
View Source
var Snapshot_Status_name = map[int32]string{
0: "INACTIVE",
1: "ACTIVE",
}
View Source
var Snapshot_Status_value = map[string]int32{
"INACTIVE": 0,
"ACTIVE": 1,
}
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
XXX_unrecognized []byte `json:"-"`
}
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
type AddActionsRequest ¶
type AddActionsRequest struct {
Header *InternalHeader `protobuf:"bytes,3,opt,name=header" json:"header,omitempty"`
Transaction *Transaction `protobuf:"bytes,1,req,name=transaction" json:"transaction,omitempty"`
Action []*Action `protobuf:"bytes,2,rep,name=action" json:"action,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*AddActionsRequest) GetTransaction ¶
func (m *AddActionsRequest) GetTransaction() *Transaction
func (*AddActionsRequest) ProtoMessage ¶
func (*AddActionsRequest) ProtoMessage()
type AddActionsResponse ¶
type AddActionsResponse struct {
XXX_unrecognized []byte `json:"-"`
}
func (*AddActionsResponse) ProtoMessage ¶
func (*AddActionsResponse) ProtoMessage()
type AllocateIdsRequest ¶
type AllocateIdsRequest struct {
Header *InternalHeader `protobuf:"bytes,4,opt,name=header" json:"header,omitempty"`
ModelKey *Reference `protobuf:"bytes,1,opt,name=model_key" json:"model_key,omitempty"`
Size *int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
Max *int64 `protobuf:"varint,3,opt,name=max" json:"max,omitempty"`
Reserve []*Reference `protobuf:"bytes,5,rep,name=reserve" json:"reserve,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*AllocateIdsRequest) GetModelKey ¶
func (m *AllocateIdsRequest) GetModelKey() *Reference
func (*AllocateIdsRequest) GetReserve ¶
func (m *AllocateIdsRequest) GetReserve() []*Reference
func (*AllocateIdsRequest) ProtoMessage ¶
func (*AllocateIdsRequest) ProtoMessage()
type AllocateIdsResponse ¶
type AllocateIdsResponse struct {
Start *int64 `protobuf:"varint,1,req,name=start" json:"start,omitempty"`
End *int64 `protobuf:"varint,2,req,name=end" json:"end,omitempty"`
Cost *Cost `protobuf:"bytes,3,opt,name=cost" json:"cost,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*AllocateIdsResponse) ProtoMessage ¶
func (*AllocateIdsResponse) ProtoMessage()
type BeginTransactionRequest ¶
type BeginTransactionRequest struct {
Header *InternalHeader `protobuf:"bytes,3,opt,name=header" json:"header,omitempty"`
App *string `protobuf:"bytes,1,req,name=app" json:"app,omitempty"`
AllowMultipleEg *bool `protobuf:"varint,2,opt,name=allow_multiple_eg,def=0" json:"allow_multiple_eg,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*BeginTransactionRequest) GetAllowMultipleEg ¶
func (m *BeginTransactionRequest) GetAllowMultipleEg() bool
func (*BeginTransactionRequest) GetHeader ¶
func (m *BeginTransactionRequest) GetHeader() *InternalHeader
func (*BeginTransactionRequest) ProtoMessage ¶
func (*BeginTransactionRequest) ProtoMessage()
type CommitResponse ¶
type CommitResponse struct {
Cost *Cost `protobuf:"bytes,1,opt,name=cost" json:"cost,omitempty"`
Version []*CommitResponse_Version `protobuf:"group,3,rep" json:"version,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CommitResponse) GetVersion ¶
func (m *CommitResponse) GetVersion() []*CommitResponse_Version
func (*CommitResponse) ProtoMessage ¶
func (*CommitResponse) ProtoMessage()
type CommitResponse_Version ¶
type CommitResponse_Version struct {
RootEntityKey *Reference `protobuf:"bytes,4,req,name=root_entity_key" json:"root_entity_key,omitempty"`
Version *int64 `protobuf:"varint,5,req,name=version" json:"version,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CommitResponse_Version) GetRootEntityKey ¶
func (m *CommitResponse_Version) GetRootEntityKey() *Reference
func (*CommitResponse_Version) GetVersion ¶
func (m *CommitResponse_Version) GetVersion() int64
func (*CommitResponse_Version) ProtoMessage ¶
func (*CommitResponse_Version) ProtoMessage()
type CompiledCursor ¶
type CompiledCursor struct {
Position *CompiledCursor_Position `protobuf:"group,2,opt" json:"position,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CompiledCursor) GetPosition ¶
func (m *CompiledCursor) GetPosition() *CompiledCursor_Position
func (*CompiledCursor) ProtoMessage ¶
func (*CompiledCursor) ProtoMessage()
type CompiledCursor_Position ¶
type CompiledCursor_Position struct {
StartKey *string `protobuf:"bytes,27,opt,name=start_key" json:"start_key,omitempty"`
Indexvalue []*CompiledCursor_Position_IndexValue `protobuf:"group,29,rep,name=IndexValue" json:"indexvalue,omitempty"`
Key *Reference `protobuf:"bytes,32,opt,name=key" json:"key,omitempty"`
StartInclusive *bool `protobuf:"varint,28,opt,name=start_inclusive,def=1" json:"start_inclusive,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CompiledCursor_Position) GetIndexvalue ¶
func (m *CompiledCursor_Position) GetIndexvalue() []*CompiledCursor_Position_IndexValue
func (*CompiledCursor_Position) GetStartInclusive ¶
func (m *CompiledCursor_Position) GetStartInclusive() bool
func (*CompiledCursor_Position) GetStartKey ¶
func (m *CompiledCursor_Position) GetStartKey() string
func (*CompiledCursor_Position) ProtoMessage ¶
func (*CompiledCursor_Position) ProtoMessage()
type CompiledCursor_Position_IndexValue ¶
type CompiledCursor_Position_IndexValue struct {
Property *string `protobuf:"bytes,30,opt,name=property" json:"property,omitempty"`
Value *PropertyValue `protobuf:"bytes,31,req,name=value" json:"value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CompiledCursor_Position_IndexValue) GetProperty ¶
func (m *CompiledCursor_Position_IndexValue) GetProperty() string
func (*CompiledCursor_Position_IndexValue) GetValue ¶
func (m *CompiledCursor_Position_IndexValue) GetValue() *PropertyValue
func (*CompiledCursor_Position_IndexValue) ProtoMessage ¶
func (*CompiledCursor_Position_IndexValue) ProtoMessage()
type CompiledQuery ¶
type CompiledQuery struct {
Primaryscan *CompiledQuery_PrimaryScan `protobuf:"group,1,req,name=PrimaryScan" json:"primaryscan,omitempty"`
Mergejoinscan []*CompiledQuery_MergeJoinScan `protobuf:"group,7,rep,name=MergeJoinScan" json:"mergejoinscan,omitempty"`
IndexDef *Index `protobuf:"bytes,21,opt,name=index_def" json:"index_def,omitempty"`
Offset *int32 `protobuf:"varint,10,opt,name=offset,def=0" json:"offset,omitempty"`
Limit *int32 `protobuf:"varint,11,opt,name=limit" json:"limit,omitempty"`
KeysOnly *bool `protobuf:"varint,12,req,name=keys_only" json:"keys_only,omitempty"`
PropertyName []string `protobuf:"bytes,24,rep,name=property_name" json:"property_name,omitempty"`
DistinctInfixSize *int32 `protobuf:"varint,25,opt,name=distinct_infix_size" json:"distinct_infix_size,omitempty"`
Entityfilter *CompiledQuery_EntityFilter `protobuf:"group,13,opt,name=EntityFilter" json:"entityfilter,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CompiledQuery) GetDistinctInfixSize ¶
func (m *CompiledQuery) GetDistinctInfixSize() int32
func (*CompiledQuery) GetEntityfilter ¶
func (m *CompiledQuery) GetEntityfilter() *CompiledQuery_EntityFilter
func (*CompiledQuery) GetIndexDef ¶
func (m *CompiledQuery) GetIndexDef() *Index
func (*CompiledQuery) GetKeysOnly ¶
func (m *CompiledQuery) GetKeysOnly() bool
func (*CompiledQuery) GetMergejoinscan ¶
func (m *CompiledQuery) GetMergejoinscan() []*CompiledQuery_MergeJoinScan
func (*CompiledQuery) GetPrimaryscan ¶
func (m *CompiledQuery) GetPrimaryscan() *CompiledQuery_PrimaryScan
func (*CompiledQuery) GetPropertyName ¶
func (m *CompiledQuery) GetPropertyName() []string
func (*CompiledQuery) ProtoMessage ¶
func (*CompiledQuery) ProtoMessage()
type CompiledQuery_EntityFilter ¶
type CompiledQuery_EntityFilter struct {
Distinct *bool `protobuf:"varint,14,opt,name=distinct,def=0" json:"distinct,omitempty"`
Kind *string `protobuf:"bytes,17,opt,name=kind" json:"kind,omitempty"`
Ancestor *Reference `protobuf:"bytes,18,opt,name=ancestor" json:"ancestor,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CompiledQuery_EntityFilter) GetAncestor ¶
func (m *CompiledQuery_EntityFilter) GetAncestor() *Reference
func (*CompiledQuery_EntityFilter) GetDistinct ¶
func (m *CompiledQuery_EntityFilter) GetDistinct() bool
func (*CompiledQuery_EntityFilter) ProtoMessage ¶
func (*CompiledQuery_EntityFilter) ProtoMessage()
type CompiledQuery_MergeJoinScan ¶
type CompiledQuery_MergeJoinScan struct {
IndexName *string `protobuf:"bytes,8,req,name=index_name" json:"index_name,omitempty"`
PrefixValue []string `protobuf:"bytes,9,rep,name=prefix_value" json:"prefix_value,omitempty"`
ValuePrefix *bool `protobuf:"varint,20,opt,name=value_prefix,def=0" json:"value_prefix,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CompiledQuery_MergeJoinScan) GetIndexName ¶
func (m *CompiledQuery_MergeJoinScan) GetIndexName() string
func (*CompiledQuery_MergeJoinScan) GetPrefixValue ¶
func (m *CompiledQuery_MergeJoinScan) GetPrefixValue() []string
func (*CompiledQuery_MergeJoinScan) GetValuePrefix ¶
func (m *CompiledQuery_MergeJoinScan) GetValuePrefix() bool
func (*CompiledQuery_MergeJoinScan) ProtoMessage ¶
func (*CompiledQuery_MergeJoinScan) ProtoMessage()
type CompiledQuery_PrimaryScan ¶
type CompiledQuery_PrimaryScan struct {
IndexName *string `protobuf:"bytes,2,opt,name=index_name" json:"index_name,omitempty"`
StartKey *string `protobuf:"bytes,3,opt,name=start_key" json:"start_key,omitempty"`
StartInclusive *bool `protobuf:"varint,4,opt,name=start_inclusive" json:"start_inclusive,omitempty"`
EndKey *string `protobuf:"bytes,5,opt,name=end_key" json:"end_key,omitempty"`
EndInclusive *bool `protobuf:"varint,6,opt,name=end_inclusive" json:"end_inclusive,omitempty"`
StartPostfixValue []string `protobuf:"bytes,22,rep,name=start_postfix_value" json:"start_postfix_value,omitempty"`
EndPostfixValue []string `protobuf:"bytes,23,rep,name=end_postfix_value" json:"end_postfix_value,omitempty"`
EndUnappliedLogTimestampUs *int64 `protobuf:"varint,19,opt,name=end_unapplied_log_timestamp_us" json:"end_unapplied_log_timestamp_us,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CompiledQuery_PrimaryScan) GetEndInclusive ¶
func (m *CompiledQuery_PrimaryScan) GetEndInclusive() bool
func (*CompiledQuery_PrimaryScan) GetEndKey ¶
func (m *CompiledQuery_PrimaryScan) GetEndKey() string
func (*CompiledQuery_PrimaryScan) GetEndPostfixValue ¶
func (m *CompiledQuery_PrimaryScan) GetEndPostfixValue() []string
func (*CompiledQuery_PrimaryScan) GetEndUnappliedLogTimestampUs ¶
func (m *CompiledQuery_PrimaryScan) GetEndUnappliedLogTimestampUs() int64
func (*CompiledQuery_PrimaryScan) GetIndexName ¶
func (m *CompiledQuery_PrimaryScan) GetIndexName() string
func (*CompiledQuery_PrimaryScan) GetStartInclusive ¶
func (m *CompiledQuery_PrimaryScan) GetStartInclusive() bool
func (*CompiledQuery_PrimaryScan) GetStartKey ¶
func (m *CompiledQuery_PrimaryScan) GetStartKey() string
func (*CompiledQuery_PrimaryScan) GetStartPostfixValue ¶
func (m *CompiledQuery_PrimaryScan) GetStartPostfixValue() []string
func (*CompiledQuery_PrimaryScan) ProtoMessage ¶
func (*CompiledQuery_PrimaryScan) ProtoMessage()
type CompositeIndex ¶
type CompositeIndex struct {
AppId *string `protobuf:"bytes,1,req,name=app_id" json:"app_id,omitempty"`
Id *int64 `protobuf:"varint,2,req,name=id" json:"id,omitempty"`
Definition *Index `protobuf:"bytes,3,req,name=definition" json:"definition,omitempty"`
State *CompositeIndex_State `protobuf:"varint,4,req,name=state,enum=appengine.CompositeIndex_State" json:"state,omitempty"`
OnlyUseIfRequired *bool `protobuf:"varint,6,opt,name=only_use_if_required,def=0" json:"only_use_if_required,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CompositeIndex) GetDefinition ¶
func (m *CompositeIndex) GetDefinition() *Index
func (*CompositeIndex) GetOnlyUseIfRequired ¶
func (m *CompositeIndex) GetOnlyUseIfRequired() bool
func (*CompositeIndex) ProtoMessage ¶
func (*CompositeIndex) ProtoMessage()
type CompositeIndex_State ¶
type CompositeIndex_State int32
const (
CompositeIndex_WRITE_ONLY CompositeIndex_State = 1
CompositeIndex_READ_WRITE CompositeIndex_State = 2
CompositeIndex_DELETED CompositeIndex_State = 3
CompositeIndex_ERROR CompositeIndex_State = 4
)
func (*CompositeIndex_State) UnmarshalJSON ¶
func (x *CompositeIndex_State) UnmarshalJSON(data []byte) error
type CompositeIndices ¶
type CompositeIndices struct {
Index []*CompositeIndex `protobuf:"bytes,1,rep,name=index" json:"index,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CompositeIndices) ProtoMessage ¶
func (*CompositeIndices) ProtoMessage()
type CompositeProperty ¶
type CompositeProperty struct {
IndexId *int64 `protobuf:"varint,1,req,name=index_id" json:"index_id,omitempty"`
Value []string `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CompositeProperty) GetIndexId ¶
func (m *CompositeProperty) GetIndexId() int64
func (*CompositeProperty) ProtoMessage ¶
func (*CompositeProperty) ProtoMessage()
type Cost ¶
type Cost struct {
IndexWrites *int32 `protobuf:"varint,1,opt,name=index_writes" json:"index_writes,omitempty"`
IndexWriteBytes *int32 `protobuf:"varint,2,opt,name=index_write_bytes" json:"index_write_bytes,omitempty"`
EntityWrites *int32 `protobuf:"varint,3,opt,name=entity_writes" json:"entity_writes,omitempty"`
EntityWriteBytes *int32 `protobuf:"varint,4,opt,name=entity_write_bytes" json:"entity_write_bytes,omitempty"`
Commitcost *Cost_CommitCost `protobuf:"group,5,opt,name=CommitCost" json:"commitcost,omitempty"`
ApproximateStorageDelta *int32 `protobuf:"varint,8,opt,name=approximate_storage_delta" json:"approximate_storage_delta,omitempty"`
IdSequenceUpdates *int32 `protobuf:"varint,9,opt,name=id_sequence_updates" json:"id_sequence_updates,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Cost) GetApproximateStorageDelta ¶
func (m *Cost) GetApproximateStorageDelta() int32
func (*Cost) GetCommitcost ¶
func (m *Cost) GetCommitcost() *Cost_CommitCost
func (*Cost) GetEntityWriteBytes ¶
func (m *Cost) GetEntityWriteBytes() int32
func (*Cost) GetEntityWrites ¶
func (m *Cost) GetEntityWrites() int32
func (*Cost) GetIdSequenceUpdates ¶
func (m *Cost) GetIdSequenceUpdates() int32
func (*Cost) GetIndexWriteBytes ¶
func (m *Cost) GetIndexWriteBytes() int32
func (*Cost) GetIndexWrites ¶
func (m *Cost) GetIndexWrites() int32
func (*Cost) ProtoMessage ¶
func (*Cost) ProtoMessage()
type Cost_CommitCost ¶
type Cost_CommitCost struct {
RequestedEntityPuts *int32 `protobuf:"varint,6,opt,name=requested_entity_puts" json:"requested_entity_puts,omitempty"`
RequestedEntityDeletes *int32 `protobuf:"varint,7,opt,name=requested_entity_deletes" json:"requested_entity_deletes,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Cost_CommitCost) GetRequestedEntityDeletes ¶
func (m *Cost_CommitCost) GetRequestedEntityDeletes() int32
func (*Cost_CommitCost) GetRequestedEntityPuts ¶
func (m *Cost_CommitCost) GetRequestedEntityPuts() int32
func (*Cost_CommitCost) ProtoMessage ¶
func (*Cost_CommitCost) ProtoMessage()
type Cursor ¶
type Cursor struct {
Cursor *uint64 `protobuf:"fixed64,1,req,name=cursor" json:"cursor,omitempty"`
App *string `protobuf:"bytes,2,opt,name=app" json:"app,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Cursor) ProtoMessage ¶
func (*Cursor) ProtoMessage()
type DeleteRequest ¶
type DeleteRequest struct {
Header *InternalHeader `protobuf:"bytes,10,opt,name=header" json:"header,omitempty"`
Key []*Reference `protobuf:"bytes,6,rep,name=key" json:"key,omitempty"`
Transaction *Transaction `protobuf:"bytes,5,opt,name=transaction" json:"transaction,omitempty"`
Trusted *bool `protobuf:"varint,4,opt,name=trusted,def=0" json:"trusted,omitempty"`
Force *bool `protobuf:"varint,7,opt,name=force,def=0" json:"force,omitempty"`
MarkChanges *bool `protobuf:"varint,8,opt,name=mark_changes,def=0" json:"mark_changes,omitempty"`
Snapshot []*Snapshot `protobuf:"bytes,9,rep,name=snapshot" json:"snapshot,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*DeleteRequest) GetMarkChanges ¶
func (m *DeleteRequest) GetMarkChanges() bool
func (*DeleteRequest) GetSnapshot ¶
func (m *DeleteRequest) GetSnapshot() []*Snapshot
func (*DeleteRequest) GetTransaction ¶
func (m *DeleteRequest) GetTransaction() *Transaction
func (*DeleteRequest) GetTrusted ¶
func (m *DeleteRequest) GetTrusted() bool
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
type DeleteResponse ¶
type DeleteResponse struct {
Cost *Cost `protobuf:"bytes,1,opt,name=cost" json:"cost,omitempty"`
Version []int64 `protobuf:"varint,3,rep,name=version" json:"version,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*DeleteResponse) GetVersion ¶
func (m *DeleteResponse) GetVersion() []int64
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
type EntityProto ¶
type EntityProto struct {
Key *Reference `protobuf:"bytes,13,req,name=key" json:"key,omitempty"`
EntityGroup *Path `protobuf:"bytes,16,req,name=entity_group" json:"entity_group,omitempty"`
Owner *User `protobuf:"bytes,17,opt,name=owner" json:"owner,omitempty"`
Kind *EntityProto_Kind `protobuf:"varint,4,opt,name=kind,enum=appengine.EntityProto_Kind" json:"kind,omitempty"`
KindUri *string `protobuf:"bytes,5,opt,name=kind_uri" json:"kind_uri,omitempty"`
Property []*Property `protobuf:"bytes,14,rep,name=property" json:"property,omitempty"`
RawProperty []*Property `protobuf:"bytes,15,rep,name=raw_property" json:"raw_property,omitempty"`
Rank *int32 `protobuf:"varint,18,opt,name=rank" json:"rank,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*EntityProto) GetEntityGroup ¶
func (m *EntityProto) GetEntityGroup() *Path
func (*EntityProto) GetKindUri ¶
func (m *EntityProto) GetKindUri() string
func (*EntityProto) GetProperty ¶
func (m *EntityProto) GetProperty() []*Property
func (*EntityProto) GetRawProperty ¶
func (m *EntityProto) GetRawProperty() []*Property
func (*EntityProto) ProtoMessage ¶
func (*EntityProto) ProtoMessage()
type EntityProto_Kind ¶
type EntityProto_Kind int32
const (
EntityProto_GD_CONTACT EntityProto_Kind = 1
EntityProto_GD_EVENT EntityProto_Kind = 2
EntityProto_GD_MESSAGE EntityProto_Kind = 3
)
func (*EntityProto_Kind) UnmarshalJSON ¶
func (x *EntityProto_Kind) UnmarshalJSON(data []byte) error
type Error ¶
type Error struct {
XXX_unrecognized []byte `json:"-"`
}
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
type Error_ErrorCode ¶
type Error_ErrorCode int32
const (
Error_BAD_REQUEST Error_ErrorCode = 1
Error_CONCURRENT_TRANSACTION Error_ErrorCode = 2
Error_INTERNAL_ERROR Error_ErrorCode = 3
Error_NEED_INDEX Error_ErrorCode = 4
Error_TIMEOUT Error_ErrorCode = 5
Error_PERMISSION_DENIED Error_ErrorCode = 6
Error_BIGTABLE_ERROR Error_ErrorCode = 7
Error_COMMITTED_BUT_STILL_APPLYING Error_ErrorCode = 8
Error_CAPABILITY_DISABLED Error_ErrorCode = 9
Error_TRY_ALTERNATE_BACKEND Error_ErrorCode = 10
Error_SAFE_TIME_TOO_OLD Error_ErrorCode = 11
)
func (*Error_ErrorCode) UnmarshalJSON ¶
func (x *Error_ErrorCode) UnmarshalJSON(data []byte) error
type GetRequest ¶
type GetRequest struct {
Header *InternalHeader `protobuf:"bytes,6,opt,name=header" json:"header,omitempty"`
Key []*Reference `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"`
Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction" json:"transaction,omitempty"`
FailoverMs *int64 `protobuf:"varint,3,opt,name=failover_ms" json:"failover_ms,omitempty"`
Strong *bool `protobuf:"varint,4,opt,name=strong" json:"strong,omitempty"`
AllowDeferred *bool `protobuf:"varint,5,opt,name=allow_deferred,def=0" json:"allow_deferred,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetRequest) GetAllowDeferred ¶
func (m *GetRequest) GetAllowDeferred() bool
func (*GetRequest) GetFailoverMs ¶
func (m *GetRequest) GetFailoverMs() int64
func (*GetRequest) GetTransaction ¶
func (m *GetRequest) GetTransaction() *Transaction
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
type GetResponse ¶
type GetResponse struct {
Entity []*GetResponse_Entity `protobuf:"group,1,rep" json:"entity,omitempty"`
Deferred []*Reference `protobuf:"bytes,5,rep,name=deferred" json:"deferred,omitempty"`
InOrder *bool `protobuf:"varint,6,opt,name=in_order,def=1" json:"in_order,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetResponse) GetDeferred ¶
func (m *GetResponse) GetDeferred() []*Reference
func (*GetResponse) GetInOrder ¶
func (m *GetResponse) GetInOrder() bool
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
type GetResponse_Entity ¶
type GetResponse_Entity struct {
Entity *EntityProto `protobuf:"bytes,2,opt,name=entity" json:"entity,omitempty"`
Key *Reference `protobuf:"bytes,4,opt,name=key" json:"key,omitempty"`
Version *int64 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetResponse_Entity) GetVersion ¶
func (m *GetResponse_Entity) GetVersion() int64
func (*GetResponse_Entity) ProtoMessage ¶
func (*GetResponse_Entity) ProtoMessage()
type Index ¶
type Index struct {
EntityType *string `protobuf:"bytes,1,req,name=entity_type" json:"entity_type,omitempty"`
Ancestor *bool `protobuf:"varint,5,req,name=ancestor" json:"ancestor,omitempty"`
Property []*Index_Property `protobuf:"group,2,rep" json:"property,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Index) GetAncestor ¶
func (m *Index) GetAncestor() bool
func (*Index) GetEntityType ¶
func (m *Index) GetEntityType() string
func (*Index) GetProperty ¶
func (m *Index) GetProperty() []*Index_Property
func (*Index) ProtoMessage ¶
func (*Index) ProtoMessage()
type IndexPosition ¶
type IndexPosition struct {
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
Before *bool `protobuf:"varint,2,opt,name=before,def=1" json:"before,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*IndexPosition) ProtoMessage ¶
func (*IndexPosition) ProtoMessage()
type IndexPostfix ¶
type IndexPostfix struct {
IndexValue []*IndexPostfix_IndexValue `protobuf:"bytes,1,rep,name=index_value" json:"index_value,omitempty"`
Key *Reference `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
Before *bool `protobuf:"varint,3,opt,name=before,def=1" json:"before,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*IndexPostfix) GetIndexValue ¶
func (m *IndexPostfix) GetIndexValue() []*IndexPostfix_IndexValue
func (*IndexPostfix) ProtoMessage ¶
func (*IndexPostfix) ProtoMessage()
type IndexPostfix_IndexValue ¶
type IndexPostfix_IndexValue struct {
PropertyName *string `protobuf:"bytes,1,req,name=property_name" json:"property_name,omitempty"`
Value *PropertyValue `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*IndexPostfix_IndexValue) GetPropertyName ¶
func (m *IndexPostfix_IndexValue) GetPropertyName() string
func (*IndexPostfix_IndexValue) GetValue ¶
func (m *IndexPostfix_IndexValue) GetValue() *PropertyValue
func (*IndexPostfix_IndexValue) ProtoMessage ¶
func (*IndexPostfix_IndexValue) ProtoMessage()
type Index_Property ¶
type Index_Property struct {
Name *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"`
Direction *Index_Property_Direction `protobuf:"varint,4,opt,name=direction,enum=appengine.Index_Property_Direction,def=1" json:"direction,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Index_Property) GetDirection ¶
func (m *Index_Property) GetDirection() Index_Property_Direction
func (*Index_Property) ProtoMessage ¶
func (*Index_Property) ProtoMessage()
type Index_Property_Direction ¶
type Index_Property_Direction int32
const (
Index_Property_ASCENDING Index_Property_Direction = 1
Index_Property_DESCENDING Index_Property_Direction = 2
)
const Default_Index_Property_Direction Index_Property_Direction = Index_Property_ASCENDING
func (Index_Property_Direction) Enum ¶
func (x Index_Property_Direction) Enum() *Index_Property_Direction
func (*Index_Property_Direction) UnmarshalJSON ¶
func (x *Index_Property_Direction) UnmarshalJSON(data []byte) error
type InternalHeader ¶
type InternalHeader struct {
Qos *string `protobuf:"bytes,1,opt,name=qos" json:"qos,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*InternalHeader) ProtoMessage ¶
func (*InternalHeader) ProtoMessage()
type NextRequest ¶
type NextRequest struct {
Header *InternalHeader `protobuf:"bytes,5,opt,name=header" json:"header,omitempty"`
Cursor *Cursor `protobuf:"bytes,1,req,name=cursor" json:"cursor,omitempty"`
Count *int32 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
Offset *int32 `protobuf:"varint,4,opt,name=offset,def=0" json:"offset,omitempty"`
Compile *bool `protobuf:"varint,3,opt,name=compile,def=0" json:"compile,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*NextRequest) GetCompile ¶
func (m *NextRequest) GetCompile() bool
func (*NextRequest) ProtoMessage ¶
func (*NextRequest) ProtoMessage()
type Path ¶
type Path struct {
Element []*Path_Element `protobuf:"group,1,rep" json:"element,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Path) GetElement ¶
func (m *Path) GetElement() []*Path_Element
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
type Path_Element ¶
type Path_Element struct {
Type *string `protobuf:"bytes,2,req,name=type" json:"type,omitempty"`
Id *int64 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"`
Name *string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Path_Element) ProtoMessage ¶
func (*Path_Element) ProtoMessage()
type Property ¶
type Property struct {
Meaning *Property_Meaning `protobuf:"varint,1,opt,name=meaning,enum=appengine.Property_Meaning,def=0" json:"meaning,omitempty"`
MeaningUri *string `protobuf:"bytes,2,opt,name=meaning_uri" json:"meaning_uri,omitempty"`
Name *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"`
Value *PropertyValue `protobuf:"bytes,5,req,name=value" json:"value,omitempty"`
Multiple *bool `protobuf:"varint,4,req,name=multiple" json:"multiple,omitempty"`
Searchable *bool `protobuf:"varint,6,opt,name=searchable,def=0" json:"searchable,omitempty"`
FtsTokenizationOption *Property_FtsTokenizationOption `` /* 139-byte string literal not displayed */
Locale *string `protobuf:"bytes,9,opt,name=locale,def=en" json:"locale,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Property) GetFtsTokenizationOption ¶
func (m *Property) GetFtsTokenizationOption() Property_FtsTokenizationOption
func (*Property) GetMeaning ¶
func (m *Property) GetMeaning() Property_Meaning
func (*Property) GetMeaningUri ¶
func (m *Property) GetMeaningUri() string
func (*Property) GetMultiple ¶
func (m *Property) GetMultiple() bool
func (*Property) GetSearchable ¶
func (m *Property) GetSearchable() bool
func (*Property) ProtoMessage ¶
func (*Property) ProtoMessage()
type PropertyValue ¶
type PropertyValue struct {
Int64Value *int64 `protobuf:"varint,1,opt,name=int64Value" json:"int64Value,omitempty"`
BooleanValue *bool `protobuf:"varint,2,opt,name=booleanValue" json:"booleanValue,omitempty"`
StringValue *string `protobuf:"bytes,3,opt,name=stringValue" json:"stringValue,omitempty"`
DoubleValue *float64 `protobuf:"fixed64,4,opt,name=doubleValue" json:"doubleValue,omitempty"`
Pointvalue *PropertyValue_PointValue `protobuf:"group,5,opt,name=PointValue" json:"pointvalue,omitempty"`
Uservalue *PropertyValue_UserValue `protobuf:"group,8,opt,name=UserValue" json:"uservalue,omitempty"`
Referencevalue *PropertyValue_ReferenceValue `protobuf:"group,12,opt,name=ReferenceValue" json:"referencevalue,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*PropertyValue) GetBooleanValue ¶
func (m *PropertyValue) GetBooleanValue() bool
func (*PropertyValue) GetDoubleValue ¶
func (m *PropertyValue) GetDoubleValue() float64
func (*PropertyValue) GetInt64Value ¶
func (m *PropertyValue) GetInt64Value() int64
func (*PropertyValue) GetPointvalue ¶
func (m *PropertyValue) GetPointvalue() *PropertyValue_PointValue
func (*PropertyValue) GetReferencevalue ¶
func (m *PropertyValue) GetReferencevalue() *PropertyValue_ReferenceValue
func (*PropertyValue) GetStringValue ¶
func (m *PropertyValue) GetStringValue() string
func (*PropertyValue) GetUservalue ¶
func (m *PropertyValue) GetUservalue() *PropertyValue_UserValue
func (*PropertyValue) ProtoMessage ¶
func (*PropertyValue) ProtoMessage()
type PropertyValue_PointValue ¶
type PropertyValue_PointValue struct {
X *float64 `protobuf:"fixed64,6,req,name=x" json:"x,omitempty"`
Y *float64 `protobuf:"fixed64,7,req,name=y" json:"y,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*PropertyValue_PointValue) ProtoMessage ¶
func (*PropertyValue_PointValue) ProtoMessage()
type PropertyValue_ReferenceValue ¶
type PropertyValue_ReferenceValue struct {
App *string `protobuf:"bytes,13,req,name=app" json:"app,omitempty"`
NameSpace *string `protobuf:"bytes,20,opt,name=name_space" json:"name_space,omitempty"`
Pathelement []*PropertyValue_ReferenceValue_PathElement `protobuf:"group,14,rep,name=PathElement" json:"pathelement,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*PropertyValue_ReferenceValue) GetApp ¶
func (m *PropertyValue_ReferenceValue) GetApp() string
func (*PropertyValue_ReferenceValue) GetNameSpace ¶
func (m *PropertyValue_ReferenceValue) GetNameSpace() string
func (*PropertyValue_ReferenceValue) GetPathelement ¶
func (m *PropertyValue_ReferenceValue) GetPathelement() []*PropertyValue_ReferenceValue_PathElement
func (*PropertyValue_ReferenceValue) ProtoMessage ¶
func (*PropertyValue_ReferenceValue) ProtoMessage()
type PropertyValue_ReferenceValue_PathElement ¶
type PropertyValue_ReferenceValue_PathElement struct {
Type *string `protobuf:"bytes,15,req,name=type" json:"type,omitempty"`
Id *int64 `protobuf:"varint,16,opt,name=id" json:"id,omitempty"`
Name *string `protobuf:"bytes,17,opt,name=name" json:"name,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*PropertyValue_ReferenceValue_PathElement) GetId ¶
func (m *PropertyValue_ReferenceValue_PathElement) GetId() int64
func (*PropertyValue_ReferenceValue_PathElement) GetName ¶
func (m *PropertyValue_ReferenceValue_PathElement) GetName() string
func (*PropertyValue_ReferenceValue_PathElement) GetType ¶
func (m *PropertyValue_ReferenceValue_PathElement) GetType() string
func (*PropertyValue_ReferenceValue_PathElement) ProtoMessage ¶
func (*PropertyValue_ReferenceValue_PathElement) ProtoMessage()
type PropertyValue_UserValue ¶
type PropertyValue_UserValue struct {
Email *string `protobuf:"bytes,9,req,name=email" json:"email,omitempty"`
AuthDomain *string `protobuf:"bytes,10,req,name=auth_domain" json:"auth_domain,omitempty"`
Nickname *string `protobuf:"bytes,11,opt,name=nickname" json:"nickname,omitempty"`
FederatedIdentity *string `protobuf:"bytes,21,opt,name=federated_identity" json:"federated_identity,omitempty"`
FederatedProvider *string `protobuf:"bytes,22,opt,name=federated_provider" json:"federated_provider,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*PropertyValue_UserValue) GetAuthDomain ¶
func (m *PropertyValue_UserValue) GetAuthDomain() string
func (*PropertyValue_UserValue) GetFederatedIdentity ¶
func (m *PropertyValue_UserValue) GetFederatedIdentity() string
func (*PropertyValue_UserValue) GetFederatedProvider ¶
func (m *PropertyValue_UserValue) GetFederatedProvider() string
func (*PropertyValue_UserValue) GetNickname ¶
func (m *PropertyValue_UserValue) GetNickname() string
func (*PropertyValue_UserValue) ProtoMessage ¶
func (*PropertyValue_UserValue) ProtoMessage()
type Property_FtsTokenizationOption ¶
type Property_FtsTokenizationOption int32
const (
Property_HTML Property_FtsTokenizationOption = 1
Property_ATOM Property_FtsTokenizationOption = 2
)
func (Property_FtsTokenizationOption) Enum ¶
func (x Property_FtsTokenizationOption) Enum() *Property_FtsTokenizationOption
func (Property_FtsTokenizationOption) String ¶
func (x Property_FtsTokenizationOption) String() string
func (*Property_FtsTokenizationOption) UnmarshalJSON ¶
func (x *Property_FtsTokenizationOption) UnmarshalJSON(data []byte) error
type Property_Meaning ¶
type Property_Meaning int32
const (
Property_NO_MEANING Property_Meaning = 0
Property_BLOB Property_Meaning = 14
Property_TEXT Property_Meaning = 15
Property_BYTESTRING Property_Meaning = 16
Property_ATOM_CATEGORY Property_Meaning = 1
Property_ATOM_LINK Property_Meaning = 2
Property_ATOM_TITLE Property_Meaning = 3
Property_ATOM_CONTENT Property_Meaning = 4
Property_ATOM_SUMMARY Property_Meaning = 5
Property_ATOM_AUTHOR Property_Meaning = 6
Property_GD_WHEN Property_Meaning = 7
Property_GD_EMAIL Property_Meaning = 8
Property_GEORSS_POINT Property_Meaning = 9
Property_GD_IM Property_Meaning = 10
Property_GD_PHONENUMBER Property_Meaning = 11
Property_GD_POSTALADDRESS Property_Meaning = 12
Property_GD_RATING Property_Meaning = 13
Property_BLOBKEY Property_Meaning = 17
Property_ENTITY_PROTO Property_Meaning = 19
Property_INDEX_VALUE Property_Meaning = 18
)
const Default_Property_Meaning Property_Meaning = Property_NO_MEANING
func (*Property_Meaning) UnmarshalJSON ¶
func (x *Property_Meaning) UnmarshalJSON(data []byte) error
type PutRequest ¶
type PutRequest struct {
Header *InternalHeader `protobuf:"bytes,11,opt,name=header" json:"header,omitempty"`
Entity []*EntityProto `protobuf:"bytes,1,rep,name=entity" json:"entity,omitempty"`
Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction" json:"transaction,omitempty"`
CompositeIndex []*CompositeIndex `protobuf:"bytes,3,rep,name=composite_index" json:"composite_index,omitempty"`
Trusted *bool `protobuf:"varint,4,opt,name=trusted,def=0" json:"trusted,omitempty"`
Force *bool `protobuf:"varint,7,opt,name=force,def=0" json:"force,omitempty"`
MarkChanges *bool `protobuf:"varint,8,opt,name=mark_changes,def=0" json:"mark_changes,omitempty"`
Snapshot []*Snapshot `protobuf:"bytes,9,rep,name=snapshot" json:"snapshot,omitempty"`
AutoIdPolicy *PutRequest_AutoIdPolicy `protobuf:"varint,10,opt,name=auto_id_policy,enum=appengine.PutRequest_AutoIdPolicy,def=0" json:"auto_id_policy,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*PutRequest) GetAutoIdPolicy ¶
func (m *PutRequest) GetAutoIdPolicy() PutRequest_AutoIdPolicy
func (*PutRequest) GetCompositeIndex ¶
func (m *PutRequest) GetCompositeIndex() []*CompositeIndex
func (*PutRequest) GetMarkChanges ¶
func (m *PutRequest) GetMarkChanges() bool
func (*PutRequest) GetSnapshot ¶
func (m *PutRequest) GetSnapshot() []*Snapshot
func (*PutRequest) GetTransaction ¶
func (m *PutRequest) GetTransaction() *Transaction
func (*PutRequest) GetTrusted ¶
func (m *PutRequest) GetTrusted() bool
func (*PutRequest) ProtoMessage ¶
func (*PutRequest) ProtoMessage()
type PutRequest_AutoIdPolicy ¶
type PutRequest_AutoIdPolicy int32
const (
PutRequest_CURRENT PutRequest_AutoIdPolicy = 0
PutRequest_SEQUENTIAL PutRequest_AutoIdPolicy = 1
)
const Default_PutRequest_AutoIdPolicy PutRequest_AutoIdPolicy = PutRequest_CURRENT
func (PutRequest_AutoIdPolicy) Enum ¶
func (x PutRequest_AutoIdPolicy) Enum() *PutRequest_AutoIdPolicy
func (*PutRequest_AutoIdPolicy) UnmarshalJSON ¶
func (x *PutRequest_AutoIdPolicy) UnmarshalJSON(data []byte) error
type PutResponse ¶
type PutResponse struct {
Key []*Reference `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"`
Cost *Cost `protobuf:"bytes,2,opt,name=cost" json:"cost,omitempty"`
Version []int64 `protobuf:"varint,3,rep,name=version" json:"version,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*PutResponse) GetVersion ¶
func (m *PutResponse) GetVersion() []int64
func (*PutResponse) ProtoMessage ¶
func (*PutResponse) ProtoMessage()
type Query ¶
type Query struct {
Header *InternalHeader `protobuf:"bytes,39,opt,name=header" json:"header,omitempty"`
App *string `protobuf:"bytes,1,req,name=app" json:"app,omitempty"`
NameSpace *string `protobuf:"bytes,29,opt,name=name_space" json:"name_space,omitempty"`
Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
Ancestor *Reference `protobuf:"bytes,17,opt,name=ancestor" json:"ancestor,omitempty"`
Filter []*Query_Filter `protobuf:"group,4,rep" json:"filter,omitempty"`
SearchQuery *string `protobuf:"bytes,8,opt,name=search_query" json:"search_query,omitempty"`
Order []*Query_Order `protobuf:"group,9,rep" json:"order,omitempty"`
Hint *Query_Hint `protobuf:"varint,18,opt,name=hint,enum=appengine.Query_Hint" json:"hint,omitempty"`
Count *int32 `protobuf:"varint,23,opt,name=count" json:"count,omitempty"`
Offset *int32 `protobuf:"varint,12,opt,name=offset,def=0" json:"offset,omitempty"`
Limit *int32 `protobuf:"varint,16,opt,name=limit" json:"limit,omitempty"`
CompiledCursor *CompiledCursor `protobuf:"bytes,30,opt,name=compiled_cursor" json:"compiled_cursor,omitempty"`
EndCompiledCursor *CompiledCursor `protobuf:"bytes,31,opt,name=end_compiled_cursor" json:"end_compiled_cursor,omitempty"`
CompositeIndex []*CompositeIndex `protobuf:"bytes,19,rep,name=composite_index" json:"composite_index,omitempty"`
RequirePerfectPlan *bool `protobuf:"varint,20,opt,name=require_perfect_plan,def=0" json:"require_perfect_plan,omitempty"`
KeysOnly *bool `protobuf:"varint,21,opt,name=keys_only,def=0" json:"keys_only,omitempty"`
Transaction *Transaction `protobuf:"bytes,22,opt,name=transaction" json:"transaction,omitempty"`
Compile *bool `protobuf:"varint,25,opt,name=compile,def=0" json:"compile,omitempty"`
FailoverMs *int64 `protobuf:"varint,26,opt,name=failover_ms" json:"failover_ms,omitempty"`
Strong *bool `protobuf:"varint,32,opt,name=strong" json:"strong,omitempty"`
PropertyName []string `protobuf:"bytes,33,rep,name=property_name" json:"property_name,omitempty"`
GroupByPropertyName []string `protobuf:"bytes,34,rep,name=group_by_property_name" json:"group_by_property_name,omitempty"`
Distinct *bool `protobuf:"varint,24,opt,name=distinct" json:"distinct,omitempty"`
MinSafeTimeSeconds *int64 `protobuf:"varint,35,opt,name=min_safe_time_seconds" json:"min_safe_time_seconds,omitempty"`
SafeReplicaName []string `protobuf:"bytes,36,rep,name=safe_replica_name" json:"safe_replica_name,omitempty"`
PersistOffset *bool `protobuf:"varint,37,opt,name=persist_offset,def=0" json:"persist_offset,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Query) GetAncestor ¶
func (m *Query) GetAncestor() *Reference
func (*Query) GetCompile ¶
func (m *Query) GetCompile() bool
func (*Query) GetCompiledCursor ¶
func (m *Query) GetCompiledCursor() *CompiledCursor
func (*Query) GetCompositeIndex ¶
func (m *Query) GetCompositeIndex() []*CompositeIndex
func (*Query) GetDistinct ¶
func (m *Query) GetDistinct() bool
func (*Query) GetEndCompiledCursor ¶
func (m *Query) GetEndCompiledCursor() *CompiledCursor
func (*Query) GetFailoverMs ¶
func (m *Query) GetFailoverMs() int64
func (*Query) GetGroupByPropertyName ¶
func (m *Query) GetGroupByPropertyName() []string
func (*Query) GetKeysOnly ¶
func (m *Query) GetKeysOnly() bool
func (*Query) GetMinSafeTimeSeconds ¶
func (m *Query) GetMinSafeTimeSeconds() int64
func (*Query) GetNameSpace ¶
func (m *Query) GetNameSpace() string
func (*Query) GetPersistOffset ¶
func (m *Query) GetPersistOffset() bool
func (*Query) GetPropertyName ¶
func (m *Query) GetPropertyName() []string
func (*Query) GetRequirePerfectPlan ¶
func (m *Query) GetRequirePerfectPlan() bool
func (*Query) GetSafeReplicaName ¶
func (m *Query) GetSafeReplicaName() []string
func (*Query) GetSearchQuery ¶
func (m *Query) GetSearchQuery() string
func (*Query) GetTransaction ¶
func (m *Query) GetTransaction() *Transaction
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
type QueryResult ¶
type QueryResult struct {
Cursor *Cursor `protobuf:"bytes,1,opt,name=cursor" json:"cursor,omitempty"`
Result []*EntityProto `protobuf:"bytes,2,rep,name=result" json:"result,omitempty"`
SkippedResults *int32 `protobuf:"varint,7,opt,name=skipped_results" json:"skipped_results,omitempty"`
MoreResults *bool `protobuf:"varint,3,req,name=more_results" json:"more_results,omitempty"`
KeysOnly *bool `protobuf:"varint,4,opt,name=keys_only" json:"keys_only,omitempty"`
IndexOnly *bool `protobuf:"varint,9,opt,name=index_only" json:"index_only,omitempty"`
SmallOps *bool `protobuf:"varint,10,opt,name=small_ops" json:"small_ops,omitempty"`
CompiledQuery *CompiledQuery `protobuf:"bytes,5,opt,name=compiled_query" json:"compiled_query,omitempty"`
CompiledCursor *CompiledCursor `protobuf:"bytes,6,opt,name=compiled_cursor" json:"compiled_cursor,omitempty"`
Index []*CompositeIndex `protobuf:"bytes,8,rep,name=index" json:"index,omitempty"`
Version []int64 `protobuf:"varint,11,rep,name=version" json:"version,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*QueryResult) GetCompiledCursor ¶
func (m *QueryResult) GetCompiledCursor() *CompiledCursor
func (*QueryResult) GetCompiledQuery ¶
func (m *QueryResult) GetCompiledQuery() *CompiledQuery
func (*QueryResult) GetIndexOnly ¶
func (m *QueryResult) GetIndexOnly() bool
func (*QueryResult) GetKeysOnly ¶
func (m *QueryResult) GetKeysOnly() bool
func (*QueryResult) GetMoreResults ¶
func (m *QueryResult) GetMoreResults() bool
func (*QueryResult) GetSkippedResults ¶
func (m *QueryResult) GetSkippedResults() int32
func (*QueryResult) GetSmallOps ¶
func (m *QueryResult) GetSmallOps() bool
func (*QueryResult) GetVersion ¶
func (m *QueryResult) GetVersion() []int64
func (*QueryResult) ProtoMessage ¶
func (*QueryResult) ProtoMessage()
type Query_Filter ¶
type Query_Filter struct {
Op *Query_Filter_Operator `protobuf:"varint,6,req,name=op,enum=appengine.Query_Filter_Operator" json:"op,omitempty"`
Property []*Property `protobuf:"bytes,14,rep,name=property" json:"property,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Query_Filter) GetProperty ¶
func (m *Query_Filter) GetProperty() []*Property
func (*Query_Filter) ProtoMessage ¶
func (*Query_Filter) ProtoMessage()
type Query_Filter_Operator ¶
type Query_Filter_Operator int32
const (
Query_Filter_LESS_THAN Query_Filter_Operator = 1
Query_Filter_LESS_THAN_OR_EQUAL Query_Filter_Operator = 2
Query_Filter_GREATER_THAN Query_Filter_Operator = 3
Query_Filter_GREATER_THAN_OR_EQUAL Query_Filter_Operator = 4
Query_Filter_EQUAL Query_Filter_Operator = 5
Query_Filter_IN Query_Filter_Operator = 6
Query_Filter_EXISTS Query_Filter_Operator = 7
)
func (*Query_Filter_Operator) UnmarshalJSON ¶
func (x *Query_Filter_Operator) UnmarshalJSON(data []byte) error
type Query_Hint ¶
type Query_Hint int32
const (
Query_ORDER_FIRST Query_Hint = 1
Query_ANCESTOR_FIRST Query_Hint = 2
Query_FILTER_FIRST Query_Hint = 3
)
func (*Query_Hint) UnmarshalJSON ¶
func (x *Query_Hint) UnmarshalJSON(data []byte) error
type Query_Order ¶
type Query_Order struct {
Property *string `protobuf:"bytes,10,req,name=property" json:"property,omitempty"`
Direction *Query_Order_Direction `protobuf:"varint,11,opt,name=direction,enum=appengine.Query_Order_Direction,def=1" json:"direction,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Query_Order) GetDirection ¶
func (m *Query_Order) GetDirection() Query_Order_Direction
func (*Query_Order) GetProperty ¶
func (m *Query_Order) GetProperty() string
func (*Query_Order) ProtoMessage ¶
func (*Query_Order) ProtoMessage()
type Query_Order_Direction ¶
type Query_Order_Direction int32
const (
Query_Order_ASCENDING Query_Order_Direction = 1
Query_Order_DESCENDING Query_Order_Direction = 2
)
const Default_Query_Order_Direction Query_Order_Direction = Query_Order_ASCENDING
func (*Query_Order_Direction) UnmarshalJSON ¶
func (x *Query_Order_Direction) UnmarshalJSON(data []byte) error
type Reference ¶
type Reference struct {
App *string `protobuf:"bytes,13,req,name=app" json:"app,omitempty"`
NameSpace *string `protobuf:"bytes,20,opt,name=name_space" json:"name_space,omitempty"`
Path *Path `protobuf:"bytes,14,req,name=path" json:"path,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Reference) GetNameSpace ¶
func (m *Reference) GetNameSpace() string
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
type Snapshot ¶
type Snapshot struct {
Ts *int64 `protobuf:"varint,1,req,name=ts" json:"ts,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
type Snapshot_Status ¶
type Snapshot_Status int32
const (
Snapshot_INACTIVE Snapshot_Status = 0
Snapshot_ACTIVE Snapshot_Status = 1
)
func (*Snapshot_Status) UnmarshalJSON ¶
func (x *Snapshot_Status) UnmarshalJSON(data []byte) error
type TouchRequest ¶
type TouchRequest struct {
Header *InternalHeader `protobuf:"bytes,10,opt,name=header" json:"header,omitempty"`
Key []*Reference `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"`
CompositeIndex []*CompositeIndex `protobuf:"bytes,2,rep,name=composite_index" json:"composite_index,omitempty"`
Force *bool `protobuf:"varint,3,opt,name=force,def=0" json:"force,omitempty"`
Snapshot []*Snapshot `protobuf:"bytes,9,rep,name=snapshot" json:"snapshot,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*TouchRequest) GetCompositeIndex ¶
func (m *TouchRequest) GetCompositeIndex() []*CompositeIndex
func (*TouchRequest) GetSnapshot ¶
func (m *TouchRequest) GetSnapshot() []*Snapshot
func (*TouchRequest) ProtoMessage ¶
func (*TouchRequest) ProtoMessage()
type TouchResponse ¶
type TouchResponse struct {
Cost *Cost `protobuf:"bytes,1,opt,name=cost" json:"cost,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*TouchResponse) ProtoMessage ¶
func (*TouchResponse) ProtoMessage()
type Transaction ¶
type Transaction struct {
Header *InternalHeader `protobuf:"bytes,4,opt,name=header" json:"header,omitempty"`
Handle *uint64 `protobuf:"fixed64,1,req,name=handle" json:"handle,omitempty"`
App *string `protobuf:"bytes,2,req,name=app" json:"app,omitempty"`
MarkChanges *bool `protobuf:"varint,3,opt,name=mark_changes,def=0" json:"mark_changes,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Transaction) GetMarkChanges ¶
func (m *Transaction) GetMarkChanges() bool
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
type User ¶
type User struct {
Email *string `protobuf:"bytes,1,req,name=email" json:"email,omitempty"`
AuthDomain *string `protobuf:"bytes,2,req,name=auth_domain" json:"auth_domain,omitempty"`
Nickname *string `protobuf:"bytes,3,opt,name=nickname" json:"nickname,omitempty"`
FederatedIdentity *string `protobuf:"bytes,6,opt,name=federated_identity" json:"federated_identity,omitempty"`
FederatedProvider *string `protobuf:"bytes,7,opt,name=federated_provider" json:"federated_provider,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*User) GetAuthDomain ¶
func (m *User) GetAuthDomain() string
func (*User) GetFederatedIdentity ¶
func (m *User) GetFederatedIdentity() string
func (*User) GetFederatedProvider ¶
func (m *User) GetFederatedProvider() string
func (*User) GetNickname ¶
func (m *User) GetNickname() string
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.