memcache

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2015 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package memcache is a generated protocol buffer package.

It is generated from these files:

google.golang.org/appengine/internal/memcache/memcache_service.proto

It has these top-level messages:

MemcacheServiceError
AppOverride
MemcacheGetRequest
MemcacheGetResponse
MemcacheSetRequest
MemcacheSetResponse
MemcacheDeleteRequest
MemcacheDeleteResponse
MemcacheIncrementRequest
MemcacheIncrementResponse
MemcacheBatchIncrementRequest
MemcacheBatchIncrementResponse
MemcacheFlushRequest
MemcacheFlushResponse
MemcacheStatsRequest
MergedNamespaceStats
MemcacheStatsResponse
MemcacheGrabTailRequest
MemcacheGrabTailResponse

Index

Constants

View Source
const Default_MemcacheDeleteRequest_Item_DeleteTime uint32 = 0
View Source
const Default_MemcacheIncrementRequest_Delta uint64 = 1
View Source
const Default_MemcacheSetRequest_Item_ExpirationTime uint32 = 0

Variables

View Source
var MemcacheDeleteResponse_DeleteStatusCode_name = map[int32]string{
	1: "DELETED",
	2: "NOT_FOUND",
}
View Source
var MemcacheDeleteResponse_DeleteStatusCode_value = map[string]int32{
	"DELETED":   1,
	"NOT_FOUND": 2,
}
View Source
var MemcacheIncrementRequest_Direction_name = map[int32]string{
	1: "INCREMENT",
	2: "DECREMENT",
}
View Source
var MemcacheIncrementRequest_Direction_value = map[string]int32{
	"INCREMENT": 1,
	"DECREMENT": 2,
}
View Source
var MemcacheIncrementResponse_IncrementStatusCode_name = map[int32]string{
	1: "OK",
	2: "NOT_CHANGED",
	3: "ERROR",
}
View Source
var MemcacheIncrementResponse_IncrementStatusCode_value = map[string]int32{
	"OK":          1,
	"NOT_CHANGED": 2,
	"ERROR":       3,
}
View Source
var MemcacheServiceError_ErrorCode_name = map[int32]string{
	0: "OK",
	1: "UNSPECIFIED_ERROR",
	2: "NAMESPACE_NOT_SET",
	3: "PERMISSION_DENIED",
	6: "INVALID_VALUE",
}
View Source
var MemcacheServiceError_ErrorCode_value = map[string]int32{
	"OK":                0,
	"UNSPECIFIED_ERROR": 1,
	"NAMESPACE_NOT_SET": 2,
	"PERMISSION_DENIED": 3,
	"INVALID_VALUE":     6,
}
View Source
var MemcacheSetRequest_SetPolicy_name = map[int32]string{
	1: "SET",
	2: "ADD",
	3: "REPLACE",
	4: "CAS",
}
View Source
var MemcacheSetRequest_SetPolicy_value = map[string]int32{
	"SET":     1,
	"ADD":     2,
	"REPLACE": 3,
	"CAS":     4,
}
View Source
var MemcacheSetResponse_SetStatusCode_name = map[int32]string{
	1: "STORED",
	2: "NOT_STORED",
	3: "ERROR",
	4: "EXISTS",
}
View Source
var MemcacheSetResponse_SetStatusCode_value = map[string]int32{
	"STORED":     1,
	"NOT_STORED": 2,
	"ERROR":      3,
	"EXISTS":     4,
}

Functions

This section is empty.

Types

type AppOverride

type AppOverride struct {
	AppId                    *string `protobuf:"bytes,1,req,name=app_id" json:"app_id,omitempty"`
	NumMemcachegBackends     *int32  `protobuf:"varint,2,opt,name=num_memcacheg_backends" json:"num_memcacheg_backends,omitempty"`
	IgnoreShardlock          *bool   `protobuf:"varint,3,opt,name=ignore_shardlock" json:"ignore_shardlock,omitempty"`
	MemcachePoolHint         *string `protobuf:"bytes,4,opt,name=memcache_pool_hint" json:"memcache_pool_hint,omitempty"`
	MemcacheShardingStrategy []byte  `protobuf:"bytes,5,opt,name=memcache_sharding_strategy" json:"memcache_sharding_strategy,omitempty"`
	XXX_unrecognized         []byte  `json:"-"`
}

func (*AppOverride) GetAppId

func (m *AppOverride) GetAppId() string

func (*AppOverride) GetIgnoreShardlock

func (m *AppOverride) GetIgnoreShardlock() bool

func (*AppOverride) GetMemcachePoolHint

func (m *AppOverride) GetMemcachePoolHint() string

func (*AppOverride) GetMemcacheShardingStrategy

func (m *AppOverride) GetMemcacheShardingStrategy() []byte

func (*AppOverride) GetNumMemcachegBackends

func (m *AppOverride) GetNumMemcachegBackends() int32

func (*AppOverride) ProtoMessage

func (*AppOverride) ProtoMessage()

func (*AppOverride) Reset

func (m *AppOverride) Reset()

func (*AppOverride) String

func (m *AppOverride) String() string

type MemcacheBatchIncrementRequest

type MemcacheBatchIncrementRequest struct {
	NameSpace        *string                     `protobuf:"bytes,1,opt,name=name_space,def=" json:"name_space,omitempty"`
	Item             []*MemcacheIncrementRequest `protobuf:"bytes,2,rep,name=item" json:"item,omitempty"`
	Override         *AppOverride                `protobuf:"bytes,3,opt,name=override" json:"override,omitempty"`
	XXX_unrecognized []byte                      `json:"-"`
}

func (*MemcacheBatchIncrementRequest) GetItem

func (*MemcacheBatchIncrementRequest) GetNameSpace

func (m *MemcacheBatchIncrementRequest) GetNameSpace() string

func (*MemcacheBatchIncrementRequest) GetOverride

func (m *MemcacheBatchIncrementRequest) GetOverride() *AppOverride

func (*MemcacheBatchIncrementRequest) ProtoMessage

func (*MemcacheBatchIncrementRequest) ProtoMessage()

func (*MemcacheBatchIncrementRequest) Reset

func (m *MemcacheBatchIncrementRequest) Reset()

func (*MemcacheBatchIncrementRequest) String

type MemcacheBatchIncrementResponse

type MemcacheBatchIncrementResponse struct {
	Item             []*MemcacheIncrementResponse `protobuf:"bytes,1,rep,name=item" json:"item,omitempty"`
	XXX_unrecognized []byte                       `json:"-"`
}

func (*MemcacheBatchIncrementResponse) GetItem

func (*MemcacheBatchIncrementResponse) ProtoMessage

func (*MemcacheBatchIncrementResponse) ProtoMessage()

func (*MemcacheBatchIncrementResponse) Reset

func (m *MemcacheBatchIncrementResponse) Reset()

func (*MemcacheBatchIncrementResponse) String

type MemcacheDeleteRequest

type MemcacheDeleteRequest struct {
	Item             []*MemcacheDeleteRequest_Item `protobuf:"group,1,rep" json:"item,omitempty"`
	NameSpace        *string                       `protobuf:"bytes,4,opt,name=name_space,def=" json:"name_space,omitempty"`
	Override         *AppOverride                  `protobuf:"bytes,5,opt,name=override" json:"override,omitempty"`
	XXX_unrecognized []byte                        `json:"-"`
}

func (*MemcacheDeleteRequest) GetItem

func (*MemcacheDeleteRequest) GetNameSpace

func (m *MemcacheDeleteRequest) GetNameSpace() string

func (*MemcacheDeleteRequest) GetOverride

func (m *MemcacheDeleteRequest) GetOverride() *AppOverride

func (*MemcacheDeleteRequest) ProtoMessage

func (*MemcacheDeleteRequest) ProtoMessage()

func (*MemcacheDeleteRequest) Reset

func (m *MemcacheDeleteRequest) Reset()

func (*MemcacheDeleteRequest) String

func (m *MemcacheDeleteRequest) String() string

type MemcacheDeleteRequest_Item

type MemcacheDeleteRequest_Item struct {
	Key              []byte  `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
	DeleteTime       *uint32 `protobuf:"fixed32,3,opt,name=delete_time,def=0" json:"delete_time,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*MemcacheDeleteRequest_Item) GetDeleteTime

func (m *MemcacheDeleteRequest_Item) GetDeleteTime() uint32

func (*MemcacheDeleteRequest_Item) GetKey

func (m *MemcacheDeleteRequest_Item) GetKey() []byte

func (*MemcacheDeleteRequest_Item) ProtoMessage

func (*MemcacheDeleteRequest_Item) ProtoMessage()

func (*MemcacheDeleteRequest_Item) Reset

func (m *MemcacheDeleteRequest_Item) Reset()

func (*MemcacheDeleteRequest_Item) String

func (m *MemcacheDeleteRequest_Item) String() string

type MemcacheDeleteResponse

type MemcacheDeleteResponse struct {
	DeleteStatus     []MemcacheDeleteResponse_DeleteStatusCode `` /* 128-byte string literal not displayed */
	XXX_unrecognized []byte                                    `json:"-"`
}

func (*MemcacheDeleteResponse) GetDeleteStatus

func (*MemcacheDeleteResponse) ProtoMessage

func (*MemcacheDeleteResponse) ProtoMessage()

func (*MemcacheDeleteResponse) Reset

func (m *MemcacheDeleteResponse) Reset()

func (*MemcacheDeleteResponse) String

func (m *MemcacheDeleteResponse) String() string

type MemcacheDeleteResponse_DeleteStatusCode

type MemcacheDeleteResponse_DeleteStatusCode int32
const (
	MemcacheDeleteResponse_DELETED   MemcacheDeleteResponse_DeleteStatusCode = 1
	MemcacheDeleteResponse_NOT_FOUND MemcacheDeleteResponse_DeleteStatusCode = 2
)

func (MemcacheDeleteResponse_DeleteStatusCode) Enum

func (MemcacheDeleteResponse_DeleteStatusCode) String

func (*MemcacheDeleteResponse_DeleteStatusCode) UnmarshalJSON

func (x *MemcacheDeleteResponse_DeleteStatusCode) UnmarshalJSON(data []byte) error

type MemcacheFlushRequest

type MemcacheFlushRequest struct {
	Override         *AppOverride `protobuf:"bytes,1,opt,name=override" json:"override,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

func (*MemcacheFlushRequest) GetOverride

func (m *MemcacheFlushRequest) GetOverride() *AppOverride

func (*MemcacheFlushRequest) ProtoMessage

func (*MemcacheFlushRequest) ProtoMessage()

func (*MemcacheFlushRequest) Reset

func (m *MemcacheFlushRequest) Reset()

func (*MemcacheFlushRequest) String

func (m *MemcacheFlushRequest) String() string

type MemcacheFlushResponse

type MemcacheFlushResponse struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*MemcacheFlushResponse) ProtoMessage

func (*MemcacheFlushResponse) ProtoMessage()

func (*MemcacheFlushResponse) Reset

func (m *MemcacheFlushResponse) Reset()

func (*MemcacheFlushResponse) String

func (m *MemcacheFlushResponse) String() string

type MemcacheGetRequest

type MemcacheGetRequest struct {
	Key              [][]byte     `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"`
	NameSpace        *string      `protobuf:"bytes,2,opt,name=name_space,def=" json:"name_space,omitempty"`
	ForCas           *bool        `protobuf:"varint,4,opt,name=for_cas" json:"for_cas,omitempty"`
	Override         *AppOverride `protobuf:"bytes,5,opt,name=override" json:"override,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

func (*MemcacheGetRequest) GetForCas

func (m *MemcacheGetRequest) GetForCas() bool

func (*MemcacheGetRequest) GetKey

func (m *MemcacheGetRequest) GetKey() [][]byte

func (*MemcacheGetRequest) GetNameSpace

func (m *MemcacheGetRequest) GetNameSpace() string

func (*MemcacheGetRequest) GetOverride

func (m *MemcacheGetRequest) GetOverride() *AppOverride

func (*MemcacheGetRequest) ProtoMessage

func (*MemcacheGetRequest) ProtoMessage()

func (*MemcacheGetRequest) Reset

func (m *MemcacheGetRequest) Reset()

func (*MemcacheGetRequest) String

func (m *MemcacheGetRequest) String() string

type MemcacheGetResponse

type MemcacheGetResponse struct {
	Item             []*MemcacheGetResponse_Item `protobuf:"group,1,rep" json:"item,omitempty"`
	XXX_unrecognized []byte                      `json:"-"`
}

func (*MemcacheGetResponse) GetItem

func (*MemcacheGetResponse) ProtoMessage

func (*MemcacheGetResponse) ProtoMessage()

func (*MemcacheGetResponse) Reset

func (m *MemcacheGetResponse) Reset()

func (*MemcacheGetResponse) String

func (m *MemcacheGetResponse) String() string

type MemcacheGetResponse_Item

type MemcacheGetResponse_Item struct {
	Key              []byte  `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
	Value            []byte  `protobuf:"bytes,3,req,name=value" json:"value,omitempty"`
	Flags            *uint32 `protobuf:"fixed32,4,opt,name=flags" json:"flags,omitempty"`
	CasId            *uint64 `protobuf:"fixed64,5,opt,name=cas_id" json:"cas_id,omitempty"`
	ExpiresInSeconds *int32  `protobuf:"varint,6,opt,name=expires_in_seconds" json:"expires_in_seconds,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*MemcacheGetResponse_Item) GetCasId

func (m *MemcacheGetResponse_Item) GetCasId() uint64

func (*MemcacheGetResponse_Item) GetExpiresInSeconds

func (m *MemcacheGetResponse_Item) GetExpiresInSeconds() int32

func (*MemcacheGetResponse_Item) GetFlags

func (m *MemcacheGetResponse_Item) GetFlags() uint32

func (*MemcacheGetResponse_Item) GetKey

func (m *MemcacheGetResponse_Item) GetKey() []byte

func (*MemcacheGetResponse_Item) GetValue

func (m *MemcacheGetResponse_Item) GetValue() []byte

func (*MemcacheGetResponse_Item) ProtoMessage

func (*MemcacheGetResponse_Item) ProtoMessage()

func (*MemcacheGetResponse_Item) Reset

func (m *MemcacheGetResponse_Item) Reset()

func (*MemcacheGetResponse_Item) String

func (m *MemcacheGetResponse_Item) String() string

type MemcacheGrabTailRequest

type MemcacheGrabTailRequest struct {
	ItemCount        *int32       `protobuf:"varint,1,req,name=item_count" json:"item_count,omitempty"`
	NameSpace        *string      `protobuf:"bytes,2,opt,name=name_space,def=" json:"name_space,omitempty"`
	Override         *AppOverride `protobuf:"bytes,3,opt,name=override" json:"override,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

func (*MemcacheGrabTailRequest) GetItemCount

func (m *MemcacheGrabTailRequest) GetItemCount() int32

func (*MemcacheGrabTailRequest) GetNameSpace

func (m *MemcacheGrabTailRequest) GetNameSpace() string

func (*MemcacheGrabTailRequest) GetOverride

func (m *MemcacheGrabTailRequest) GetOverride() *AppOverride

func (*MemcacheGrabTailRequest) ProtoMessage

func (*MemcacheGrabTailRequest) ProtoMessage()

func (*MemcacheGrabTailRequest) Reset

func (m *MemcacheGrabTailRequest) Reset()

func (*MemcacheGrabTailRequest) String

func (m *MemcacheGrabTailRequest) String() string

type MemcacheGrabTailResponse

type MemcacheGrabTailResponse struct {
	Item             []*MemcacheGrabTailResponse_Item `protobuf:"group,1,rep" json:"item,omitempty"`
	XXX_unrecognized []byte                           `json:"-"`
}

func (*MemcacheGrabTailResponse) GetItem

func (*MemcacheGrabTailResponse) ProtoMessage

func (*MemcacheGrabTailResponse) ProtoMessage()

func (*MemcacheGrabTailResponse) Reset

func (m *MemcacheGrabTailResponse) Reset()

func (*MemcacheGrabTailResponse) String

func (m *MemcacheGrabTailResponse) String() string

type MemcacheGrabTailResponse_Item

type MemcacheGrabTailResponse_Item struct {
	Value            []byte  `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	Flags            *uint32 `protobuf:"fixed32,3,opt,name=flags" json:"flags,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*MemcacheGrabTailResponse_Item) GetFlags

func (m *MemcacheGrabTailResponse_Item) GetFlags() uint32

func (*MemcacheGrabTailResponse_Item) GetValue

func (m *MemcacheGrabTailResponse_Item) GetValue() []byte

func (*MemcacheGrabTailResponse_Item) ProtoMessage

func (*MemcacheGrabTailResponse_Item) ProtoMessage()

func (*MemcacheGrabTailResponse_Item) Reset

func (m *MemcacheGrabTailResponse_Item) Reset()

func (*MemcacheGrabTailResponse_Item) String

type MemcacheIncrementRequest

type MemcacheIncrementRequest struct {
	Key              []byte                              `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
	NameSpace        *string                             `protobuf:"bytes,4,opt,name=name_space,def=" json:"name_space,omitempty"`
	Delta            *uint64                             `protobuf:"varint,2,opt,name=delta,def=1" json:"delta,omitempty"`
	Direction        *MemcacheIncrementRequest_Direction `protobuf:"varint,3,opt,name=direction,enum=appengine.MemcacheIncrementRequest_Direction,def=1" json:"direction,omitempty"`
	InitialValue     *uint64                             `protobuf:"varint,5,opt,name=initial_value" json:"initial_value,omitempty"`
	InitialFlags     *uint32                             `protobuf:"fixed32,6,opt,name=initial_flags" json:"initial_flags,omitempty"`
	Override         *AppOverride                        `protobuf:"bytes,7,opt,name=override" json:"override,omitempty"`
	XXX_unrecognized []byte                              `json:"-"`
}

func (*MemcacheIncrementRequest) GetDelta

func (m *MemcacheIncrementRequest) GetDelta() uint64

func (*MemcacheIncrementRequest) GetDirection

func (*MemcacheIncrementRequest) GetInitialFlags

func (m *MemcacheIncrementRequest) GetInitialFlags() uint32

func (*MemcacheIncrementRequest) GetInitialValue

func (m *MemcacheIncrementRequest) GetInitialValue() uint64

func (*MemcacheIncrementRequest) GetKey

func (m *MemcacheIncrementRequest) GetKey() []byte

func (*MemcacheIncrementRequest) GetNameSpace

func (m *MemcacheIncrementRequest) GetNameSpace() string

func (*MemcacheIncrementRequest) GetOverride

func (m *MemcacheIncrementRequest) GetOverride() *AppOverride

func (*MemcacheIncrementRequest) ProtoMessage

func (*MemcacheIncrementRequest) ProtoMessage()

func (*MemcacheIncrementRequest) Reset

func (m *MemcacheIncrementRequest) Reset()

func (*MemcacheIncrementRequest) String

func (m *MemcacheIncrementRequest) String() string

type MemcacheIncrementRequest_Direction

type MemcacheIncrementRequest_Direction int32
const (
	MemcacheIncrementRequest_INCREMENT MemcacheIncrementRequest_Direction = 1
	MemcacheIncrementRequest_DECREMENT MemcacheIncrementRequest_Direction = 2
)
const Default_MemcacheIncrementRequest_Direction MemcacheIncrementRequest_Direction = MemcacheIncrementRequest_INCREMENT

func (MemcacheIncrementRequest_Direction) Enum

func (MemcacheIncrementRequest_Direction) String

func (*MemcacheIncrementRequest_Direction) UnmarshalJSON

func (x *MemcacheIncrementRequest_Direction) UnmarshalJSON(data []byte) error

type MemcacheIncrementResponse

type MemcacheIncrementResponse struct {
	NewValue         *uint64                                        `protobuf:"varint,1,opt,name=new_value" json:"new_value,omitempty"`
	IncrementStatus  *MemcacheIncrementResponse_IncrementStatusCode `` /* 140-byte string literal not displayed */
	XXX_unrecognized []byte                                         `json:"-"`
}

func (*MemcacheIncrementResponse) GetIncrementStatus

func (*MemcacheIncrementResponse) GetNewValue

func (m *MemcacheIncrementResponse) GetNewValue() uint64

func (*MemcacheIncrementResponse) ProtoMessage

func (*MemcacheIncrementResponse) ProtoMessage()

func (*MemcacheIncrementResponse) Reset

func (m *MemcacheIncrementResponse) Reset()

func (*MemcacheIncrementResponse) String

func (m *MemcacheIncrementResponse) String() string

type MemcacheIncrementResponse_IncrementStatusCode

type MemcacheIncrementResponse_IncrementStatusCode int32
const (
	MemcacheIncrementResponse_OK          MemcacheIncrementResponse_IncrementStatusCode = 1
	MemcacheIncrementResponse_NOT_CHANGED MemcacheIncrementResponse_IncrementStatusCode = 2
	MemcacheIncrementResponse_ERROR       MemcacheIncrementResponse_IncrementStatusCode = 3
)

func (MemcacheIncrementResponse_IncrementStatusCode) Enum

func (MemcacheIncrementResponse_IncrementStatusCode) String

func (*MemcacheIncrementResponse_IncrementStatusCode) UnmarshalJSON

func (x *MemcacheIncrementResponse_IncrementStatusCode) UnmarshalJSON(data []byte) error

type MemcacheServiceError

type MemcacheServiceError struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*MemcacheServiceError) ProtoMessage

func (*MemcacheServiceError) ProtoMessage()

func (*MemcacheServiceError) Reset

func (m *MemcacheServiceError) Reset()

func (*MemcacheServiceError) String

func (m *MemcacheServiceError) String() string

type MemcacheServiceError_ErrorCode

type MemcacheServiceError_ErrorCode int32
const (
	MemcacheServiceError_OK                MemcacheServiceError_ErrorCode = 0
	MemcacheServiceError_UNSPECIFIED_ERROR MemcacheServiceError_ErrorCode = 1
	MemcacheServiceError_NAMESPACE_NOT_SET MemcacheServiceError_ErrorCode = 2
	MemcacheServiceError_PERMISSION_DENIED MemcacheServiceError_ErrorCode = 3
	MemcacheServiceError_INVALID_VALUE     MemcacheServiceError_ErrorCode = 6
)

func (MemcacheServiceError_ErrorCode) Enum

func (MemcacheServiceError_ErrorCode) String

func (*MemcacheServiceError_ErrorCode) UnmarshalJSON

func (x *MemcacheServiceError_ErrorCode) UnmarshalJSON(data []byte) error

type MemcacheSetRequest

type MemcacheSetRequest struct {
	Item             []*MemcacheSetRequest_Item `protobuf:"group,1,rep" json:"item,omitempty"`
	NameSpace        *string                    `protobuf:"bytes,7,opt,name=name_space,def=" json:"name_space,omitempty"`
	Override         *AppOverride               `protobuf:"bytes,10,opt,name=override" json:"override,omitempty"`
	XXX_unrecognized []byte                     `json:"-"`
}

func (*MemcacheSetRequest) GetItem

func (*MemcacheSetRequest) GetNameSpace

func (m *MemcacheSetRequest) GetNameSpace() string

func (*MemcacheSetRequest) GetOverride

func (m *MemcacheSetRequest) GetOverride() *AppOverride

func (*MemcacheSetRequest) ProtoMessage

func (*MemcacheSetRequest) ProtoMessage()

func (*MemcacheSetRequest) Reset

func (m *MemcacheSetRequest) Reset()

func (*MemcacheSetRequest) String

func (m *MemcacheSetRequest) String() string

type MemcacheSetRequest_Item

type MemcacheSetRequest_Item struct {
	Key              []byte                        `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
	Value            []byte                        `protobuf:"bytes,3,req,name=value" json:"value,omitempty"`
	Flags            *uint32                       `protobuf:"fixed32,4,opt,name=flags" json:"flags,omitempty"`
	SetPolicy        *MemcacheSetRequest_SetPolicy `protobuf:"varint,5,opt,name=set_policy,enum=appengine.MemcacheSetRequest_SetPolicy,def=1" json:"set_policy,omitempty"`
	ExpirationTime   *uint32                       `protobuf:"fixed32,6,opt,name=expiration_time,def=0" json:"expiration_time,omitempty"`
	CasId            *uint64                       `protobuf:"fixed64,8,opt,name=cas_id" json:"cas_id,omitempty"`
	ForCas           *bool                         `protobuf:"varint,9,opt,name=for_cas" json:"for_cas,omitempty"`
	XXX_unrecognized []byte                        `json:"-"`
}

func (*MemcacheSetRequest_Item) GetCasId

func (m *MemcacheSetRequest_Item) GetCasId() uint64

func (*MemcacheSetRequest_Item) GetExpirationTime

func (m *MemcacheSetRequest_Item) GetExpirationTime() uint32

func (*MemcacheSetRequest_Item) GetFlags

func (m *MemcacheSetRequest_Item) GetFlags() uint32

func (*MemcacheSetRequest_Item) GetForCas

func (m *MemcacheSetRequest_Item) GetForCas() bool

func (*MemcacheSetRequest_Item) GetKey

func (m *MemcacheSetRequest_Item) GetKey() []byte

func (*MemcacheSetRequest_Item) GetSetPolicy

func (*MemcacheSetRequest_Item) GetValue

func (m *MemcacheSetRequest_Item) GetValue() []byte

func (*MemcacheSetRequest_Item) ProtoMessage

func (*MemcacheSetRequest_Item) ProtoMessage()

func (*MemcacheSetRequest_Item) Reset

func (m *MemcacheSetRequest_Item) Reset()

func (*MemcacheSetRequest_Item) String

func (m *MemcacheSetRequest_Item) String() string

type MemcacheSetRequest_SetPolicy

type MemcacheSetRequest_SetPolicy int32
const (
	MemcacheSetRequest_SET     MemcacheSetRequest_SetPolicy = 1
	MemcacheSetRequest_ADD     MemcacheSetRequest_SetPolicy = 2
	MemcacheSetRequest_REPLACE MemcacheSetRequest_SetPolicy = 3
	MemcacheSetRequest_CAS     MemcacheSetRequest_SetPolicy = 4
)
const Default_MemcacheSetRequest_Item_SetPolicy MemcacheSetRequest_SetPolicy = MemcacheSetRequest_SET

func (MemcacheSetRequest_SetPolicy) Enum

func (MemcacheSetRequest_SetPolicy) String

func (*MemcacheSetRequest_SetPolicy) UnmarshalJSON

func (x *MemcacheSetRequest_SetPolicy) UnmarshalJSON(data []byte) error

type MemcacheSetResponse

type MemcacheSetResponse struct {
	SetStatus        []MemcacheSetResponse_SetStatusCode `protobuf:"varint,1,rep,name=set_status,enum=appengine.MemcacheSetResponse_SetStatusCode" json:"set_status,omitempty"`
	XXX_unrecognized []byte                              `json:"-"`
}

func (*MemcacheSetResponse) GetSetStatus

func (*MemcacheSetResponse) ProtoMessage

func (*MemcacheSetResponse) ProtoMessage()

func (*MemcacheSetResponse) Reset

func (m *MemcacheSetResponse) Reset()

func (*MemcacheSetResponse) String

func (m *MemcacheSetResponse) String() string

type MemcacheSetResponse_SetStatusCode

type MemcacheSetResponse_SetStatusCode int32
const (
	MemcacheSetResponse_STORED     MemcacheSetResponse_SetStatusCode = 1
	MemcacheSetResponse_NOT_STORED MemcacheSetResponse_SetStatusCode = 2
	MemcacheSetResponse_ERROR      MemcacheSetResponse_SetStatusCode = 3
	MemcacheSetResponse_EXISTS     MemcacheSetResponse_SetStatusCode = 4
)

func (MemcacheSetResponse_SetStatusCode) Enum

func (MemcacheSetResponse_SetStatusCode) String

func (*MemcacheSetResponse_SetStatusCode) UnmarshalJSON

func (x *MemcacheSetResponse_SetStatusCode) UnmarshalJSON(data []byte) error

type MemcacheStatsRequest

type MemcacheStatsRequest struct {
	Override         *AppOverride `protobuf:"bytes,1,opt,name=override" json:"override,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

func (*MemcacheStatsRequest) GetOverride

func (m *MemcacheStatsRequest) GetOverride() *AppOverride

func (*MemcacheStatsRequest) ProtoMessage

func (*MemcacheStatsRequest) ProtoMessage()

func (*MemcacheStatsRequest) Reset

func (m *MemcacheStatsRequest) Reset()

func (*MemcacheStatsRequest) String

func (m *MemcacheStatsRequest) String() string

type MemcacheStatsResponse

type MemcacheStatsResponse struct {
	Stats            *MergedNamespaceStats `protobuf:"bytes,1,opt,name=stats" json:"stats,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

func (*MemcacheStatsResponse) GetStats

func (*MemcacheStatsResponse) ProtoMessage

func (*MemcacheStatsResponse) ProtoMessage()

func (*MemcacheStatsResponse) Reset

func (m *MemcacheStatsResponse) Reset()

func (*MemcacheStatsResponse) String

func (m *MemcacheStatsResponse) String() string

type MergedNamespaceStats

type MergedNamespaceStats struct {
	Hits             *uint64 `protobuf:"varint,1,req,name=hits" json:"hits,omitempty"`
	Misses           *uint64 `protobuf:"varint,2,req,name=misses" json:"misses,omitempty"`
	ByteHits         *uint64 `protobuf:"varint,3,req,name=byte_hits" json:"byte_hits,omitempty"`
	Items            *uint64 `protobuf:"varint,4,req,name=items" json:"items,omitempty"`
	Bytes            *uint64 `protobuf:"varint,5,req,name=bytes" json:"bytes,omitempty"`
	OldestItemAge    *uint32 `protobuf:"fixed32,6,req,name=oldest_item_age" json:"oldest_item_age,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*MergedNamespaceStats) GetByteHits

func (m *MergedNamespaceStats) GetByteHits() uint64

func (*MergedNamespaceStats) GetBytes

func (m *MergedNamespaceStats) GetBytes() uint64

func (*MergedNamespaceStats) GetHits

func (m *MergedNamespaceStats) GetHits() uint64

func (*MergedNamespaceStats) GetItems

func (m *MergedNamespaceStats) GetItems() uint64

func (*MergedNamespaceStats) GetMisses

func (m *MergedNamespaceStats) GetMisses() uint64

func (*MergedNamespaceStats) GetOldestItemAge

func (m *MergedNamespaceStats) GetOldestItemAge() uint32

func (*MergedNamespaceStats) ProtoMessage

func (*MergedNamespaceStats) ProtoMessage()

func (*MergedNamespaceStats) Reset

func (m *MergedNamespaceStats) Reset()

func (*MergedNamespaceStats) String

func (m *MergedNamespaceStats) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL