Documentation
¶
Index ¶
- Variables
- func RegisterOomAgentServer(s grpc.ServiceRegistrar, srv OomAgentServer)
- type ChannelExportRequest
- func (*ChannelExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelExportRequest) GetFeatures() []string
- func (x *ChannelExportRequest) GetLimit() uint64
- func (x *ChannelExportRequest) GetUnixMilli() int64
- func (*ChannelExportRequest) ProtoMessage()
- func (x *ChannelExportRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelExportRequest) Reset()
- func (x *ChannelExportRequest) String() string
- type ChannelExportResponse
- func (*ChannelExportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelExportResponse) GetHeader() []string
- func (x *ChannelExportResponse) GetRow() []*Value
- func (*ChannelExportResponse) ProtoMessage()
- func (x *ChannelExportResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelExportResponse) Reset()
- func (x *ChannelExportResponse) String() string
- type ChannelImportRequest
- func (*ChannelImportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelImportRequest) GetDescription() string
- func (x *ChannelImportRequest) GetGroup() string
- func (x *ChannelImportRequest) GetRevision() int64
- func (x *ChannelImportRequest) GetRow() []byte
- func (*ChannelImportRequest) ProtoMessage()
- func (x *ChannelImportRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelImportRequest) Reset()
- func (x *ChannelImportRequest) String() string
- type ChannelJoinRequest
- func (*ChannelJoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelJoinRequest) GetEntityRow() *EntityRow
- func (x *ChannelJoinRequest) GetExistedFeatures() []string
- func (x *ChannelJoinRequest) GetJoinFeatures() []string
- func (*ChannelJoinRequest) ProtoMessage()
- func (x *ChannelJoinRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelJoinRequest) Reset()
- func (x *ChannelJoinRequest) String() string
- type ChannelJoinResponse
- func (*ChannelJoinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelJoinResponse) GetHeader() []string
- func (x *ChannelJoinResponse) GetJoinedRow() []*Value
- func (*ChannelJoinResponse) ProtoMessage()
- func (x *ChannelJoinResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelJoinResponse) Reset()
- func (x *ChannelJoinResponse) String() string
- type EntityRow
- func (*EntityRow) Descriptor() ([]byte, []int)deprecated
- func (x *EntityRow) GetEntityKey() string
- func (x *EntityRow) GetUnixMilli() int64
- func (x *EntityRow) GetValues() []string
- func (*EntityRow) ProtoMessage()
- func (x *EntityRow) ProtoReflect() protoreflect.Message
- func (x *EntityRow) Reset()
- func (x *EntityRow) String() string
- type ExportRequest
- func (*ExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportRequest) GetFeatures() []string
- func (x *ExportRequest) GetLimit() uint64
- func (x *ExportRequest) GetOutputFile() string
- func (x *ExportRequest) GetUnixMilli() int64
- func (*ExportRequest) ProtoMessage()
- func (x *ExportRequest) ProtoReflect() protoreflect.Message
- func (x *ExportRequest) Reset()
- func (x *ExportRequest) String() string
- type ExportResponse
- type FeatureValueMap
- type HealthCheckRequest
- type HealthCheckResponse
- type ImportRequest
- func (*ImportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportRequest) GetDelimiter() string
- func (x *ImportRequest) GetDescription() string
- func (x *ImportRequest) GetGroup() string
- func (x *ImportRequest) GetInputFile() string
- func (x *ImportRequest) GetRevision() int64
- func (*ImportRequest) ProtoMessage()
- func (x *ImportRequest) ProtoReflect() protoreflect.Message
- func (x *ImportRequest) Reset()
- func (x *ImportRequest) String() string
- type ImportResponse
- type JoinRequest
- func (*JoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinRequest) GetFeatures() []string
- func (x *JoinRequest) GetInputFile() string
- func (x *JoinRequest) GetOutputFile() string
- func (*JoinRequest) ProtoMessage()
- func (x *JoinRequest) ProtoReflect() protoreflect.Message
- func (x *JoinRequest) Reset()
- func (x *JoinRequest) String() string
- type JoinResponse
- type OnlineGetRequest
- func (*OnlineGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineGetRequest) GetEntityKey() string
- func (x *OnlineGetRequest) GetFeatures() []string
- func (*OnlineGetRequest) ProtoMessage()
- func (x *OnlineGetRequest) ProtoReflect() protoreflect.Message
- func (x *OnlineGetRequest) Reset()
- func (x *OnlineGetRequest) String() string
- type OnlineGetResponse
- func (*OnlineGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineGetResponse) GetResult() *FeatureValueMap
- func (*OnlineGetResponse) ProtoMessage()
- func (x *OnlineGetResponse) ProtoReflect() protoreflect.Message
- func (x *OnlineGetResponse) Reset()
- func (x *OnlineGetResponse) String() string
- type OnlineMultiGetRequest
- func (*OnlineMultiGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineMultiGetRequest) GetEntityKeys() []string
- func (x *OnlineMultiGetRequest) GetFeatures() []string
- func (*OnlineMultiGetRequest) ProtoMessage()
- func (x *OnlineMultiGetRequest) ProtoReflect() protoreflect.Message
- func (x *OnlineMultiGetRequest) Reset()
- func (x *OnlineMultiGetRequest) String() string
- type OnlineMultiGetResponse
- func (*OnlineMultiGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineMultiGetResponse) GetResult() map[string]*FeatureValueMap
- func (*OnlineMultiGetResponse) ProtoMessage()
- func (x *OnlineMultiGetResponse) ProtoReflect() protoreflect.Message
- func (x *OnlineMultiGetResponse) Reset()
- func (x *OnlineMultiGetResponse) String() string
- type OomAgentClient
- type OomAgentServer
- type OomAgent_ChannelExportClient
- type OomAgent_ChannelExportServer
- type OomAgent_ChannelImportClient
- type OomAgent_ChannelImportServer
- type OomAgent_ChannelJoinClient
- type OomAgent_ChannelJoinServer
- type PushRequest
- func (*PushRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushRequest) GetEntityKey() string
- func (x *PushRequest) GetFeatureValues() map[string]*Value
- func (x *PushRequest) GetGroup() string
- func (*PushRequest) ProtoMessage()
- func (x *PushRequest) ProtoReflect() protoreflect.Message
- func (x *PushRequest) Reset()
- func (x *PushRequest) String() string
- type PushResponse
- type SnapshotRequest
- type SnapshotResponse
- type SyncRequest
- func (*SyncRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncRequest) GetGroup() string
- func (x *SyncRequest) GetPurgeDelay() int32
- func (x *SyncRequest) GetRevisionId() int32
- func (*SyncRequest) ProtoMessage()
- func (x *SyncRequest) ProtoReflect() protoreflect.Message
- func (x *SyncRequest) Reset()
- func (x *SyncRequest) String() string
- type SyncResponse
- type UnimplementedOomAgentServer
- func (UnimplementedOomAgentServer) ChannelExport(*ChannelExportRequest, OomAgent_ChannelExportServer) error
- func (UnimplementedOomAgentServer) ChannelImport(OomAgent_ChannelImportServer) error
- func (UnimplementedOomAgentServer) ChannelJoin(OomAgent_ChannelJoinServer) error
- func (UnimplementedOomAgentServer) Export(context.Context, *ExportRequest) (*ExportResponse, error)
- func (UnimplementedOomAgentServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
- func (UnimplementedOomAgentServer) Import(context.Context, *ImportRequest) (*ImportResponse, error)
- func (UnimplementedOomAgentServer) Join(context.Context, *JoinRequest) (*JoinResponse, error)
- func (UnimplementedOomAgentServer) OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
- func (UnimplementedOomAgentServer) OnlineMultiGet(context.Context, *OnlineMultiGetRequest) (*OnlineMultiGetResponse, error)
- func (UnimplementedOomAgentServer) Push(context.Context, *PushRequest) (*PushResponse, error)
- func (UnimplementedOomAgentServer) Snapshot(context.Context, *SnapshotRequest) (*SnapshotResponse, error)
- func (UnimplementedOomAgentServer) Sync(context.Context, *SyncRequest) (*SyncResponse, error)
- type UnsafeOomAgentServer
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBool() bool
- func (x *Value) GetBytes() []byte
- func (x *Value) GetDouble() float64
- func (x *Value) GetInt64() int64
- func (x *Value) GetString_() string
- func (x *Value) GetUnixMilli() int64
- func (m *Value) GetValue() isValue_Value
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_Bool
- type Value_Bytes
- type Value_Double
- type Value_Int64
- type Value_String_
- type Value_UnixMilli
Constants ¶
This section is empty.
Variables ¶
var File_oomagent_proto protoreflect.FileDescriptor
var OomAgent_ServiceDesc = grpc.ServiceDesc{ ServiceName: "oomagent.OomAgent", HandlerType: (*OomAgentServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "OnlineGet", Handler: _OomAgent_OnlineGet_Handler, }, { MethodName: "OnlineMultiGet", Handler: _OomAgent_OnlineMultiGet_Handler, }, { MethodName: "Sync", Handler: _OomAgent_Sync_Handler, }, { MethodName: "Import", Handler: _OomAgent_Import_Handler, }, { MethodName: "Push", Handler: _OomAgent_Push_Handler, }, { MethodName: "Snapshot", Handler: _OomAgent_Snapshot_Handler, }, { MethodName: "Join", Handler: _OomAgent_Join_Handler, }, { MethodName: "Export", Handler: _OomAgent_Export_Handler, }, { MethodName: "HealthCheck", Handler: _OomAgent_HealthCheck_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ChannelImport", Handler: _OomAgent_ChannelImport_Handler, ClientStreams: true, }, { StreamName: "ChannelJoin", Handler: _OomAgent_ChannelJoin_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "ChannelExport", Handler: _OomAgent_ChannelExport_Handler, ServerStreams: true, }, }, Metadata: "oomagent.proto", }
OomAgent_ServiceDesc is the grpc.ServiceDesc for OomAgent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOomAgentServer ¶
func RegisterOomAgentServer(s grpc.ServiceRegistrar, srv OomAgentServer)
Types ¶
type ChannelExportRequest ¶
type ChannelExportRequest struct {
// A list of feature full names.
Features []string `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"`
// A unix milliseconds, export the feature value before this timestamp.
UnixMilli int64 `protobuf:"varint,2,opt,name=unix_milli,json=unixMilli,proto3" json:"unix_milli,omitempty"`
// Limit the size of export data.
Limit *uint64 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// contains filtered or unexported fields
}
`ChannelExportRequest` is a request for `ChannelExport` API.
func (*ChannelExportRequest) Descriptor
deprecated
func (*ChannelExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelExportRequest.ProtoReflect.Descriptor instead.
func (*ChannelExportRequest) GetFeatures ¶ added in v0.1.0
func (x *ChannelExportRequest) GetFeatures() []string
func (*ChannelExportRequest) GetLimit ¶
func (x *ChannelExportRequest) GetLimit() uint64
func (*ChannelExportRequest) GetUnixMilli ¶ added in v0.1.0
func (x *ChannelExportRequest) GetUnixMilli() int64
func (*ChannelExportRequest) ProtoMessage ¶
func (*ChannelExportRequest) ProtoMessage()
func (*ChannelExportRequest) ProtoReflect ¶
func (x *ChannelExportRequest) ProtoReflect() protoreflect.Message
func (*ChannelExportRequest) Reset ¶
func (x *ChannelExportRequest) Reset()
func (*ChannelExportRequest) String ¶
func (x *ChannelExportRequest) String() string
type ChannelExportResponse ¶
type ChannelExportResponse struct {
// Header of export result.
// It only appears in the first request.
Header []string `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"`
// A single row of export result.
Row []*Value `protobuf:"bytes,2,rep,name=row,proto3" json:"row,omitempty"`
// contains filtered or unexported fields
}
`ChannelExportResponse` is a response for `ChannelExport` API.
func (*ChannelExportResponse) Descriptor
deprecated
func (*ChannelExportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelExportResponse.ProtoReflect.Descriptor instead.
func (*ChannelExportResponse) GetHeader ¶
func (x *ChannelExportResponse) GetHeader() []string
func (*ChannelExportResponse) GetRow ¶
func (x *ChannelExportResponse) GetRow() []*Value
func (*ChannelExportResponse) ProtoMessage ¶
func (*ChannelExportResponse) ProtoMessage()
func (*ChannelExportResponse) ProtoReflect ¶
func (x *ChannelExportResponse) ProtoReflect() protoreflect.Message
func (*ChannelExportResponse) Reset ¶
func (x *ChannelExportResponse) Reset()
func (*ChannelExportResponse) String ¶
func (x *ChannelExportResponse) String() string
type ChannelImportRequest ¶
type ChannelImportRequest struct {
// The group to be imported from data source to offline store.
// It only takes effect (and required) on the first request.
Group *string `protobuf:"bytes,1,opt,name=group,proto3,oneof" json:"group,omitempty"`
// The revision of the imported data, it only applies to
// batch feature (not required).
// For batch features, if revision is null, will use the
// timestamp when it starts serving in online store; otherwise,
// use the designated revision.
// It only takes effect on the first request.
Revision *int64 `protobuf:"varint,2,opt,name=revision,proto3,oneof" json:"revision,omitempty"`
// Description of this import.
// It only takes effect on the first request.
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// A single row of channel import.
Row []byte `protobuf:"bytes,4,opt,name=row,proto3" json:"row,omitempty"`
// contains filtered or unexported fields
}
`ChannelImportRequest` is a request for `ChannelImport` API.
func (*ChannelImportRequest) Descriptor
deprecated
func (*ChannelImportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelImportRequest.ProtoReflect.Descriptor instead.
func (*ChannelImportRequest) GetDescription ¶
func (x *ChannelImportRequest) GetDescription() string
func (*ChannelImportRequest) GetGroup ¶ added in v0.1.0
func (x *ChannelImportRequest) GetGroup() string
func (*ChannelImportRequest) GetRevision ¶
func (x *ChannelImportRequest) GetRevision() int64
func (*ChannelImportRequest) GetRow ¶
func (x *ChannelImportRequest) GetRow() []byte
func (*ChannelImportRequest) ProtoMessage ¶
func (*ChannelImportRequest) ProtoMessage()
func (*ChannelImportRequest) ProtoReflect ¶
func (x *ChannelImportRequest) ProtoReflect() protoreflect.Message
func (*ChannelImportRequest) Reset ¶
func (x *ChannelImportRequest) Reset()
func (*ChannelImportRequest) String ¶
func (x *ChannelImportRequest) String() string
type ChannelJoinRequest ¶
type ChannelJoinRequest struct {
// A list of feature full names, their feature values will be
// joined and fetched from offline store.
// It only takes effect (and required) on the first request.
JoinFeatures []string `protobuf:"bytes,1,rep,name=join_features,json=joinFeatures,proto3" json:"join_features,omitempty"`
// A list of names, could be label name or real-time feature names.
// Those feature values will be passed from entity row.
// It only takes effect (and required) on the first request.
ExistedFeatures []string `protobuf:"bytes,2,rep,name=existed_features,json=existedFeatures,proto3" json:"existed_features,omitempty"`
// An entity row.
EntityRow *EntityRow `protobuf:"bytes,3,opt,name=entity_row,json=entityRow,proto3" json:"entity_row,omitempty"`
// contains filtered or unexported fields
}
`ChannelJoinRequest` is a request for `ChannelJoin` API.
func (*ChannelJoinRequest) Descriptor
deprecated
func (*ChannelJoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelJoinRequest.ProtoReflect.Descriptor instead.
func (*ChannelJoinRequest) GetEntityRow ¶
func (x *ChannelJoinRequest) GetEntityRow() *EntityRow
func (*ChannelJoinRequest) GetExistedFeatures ¶ added in v0.1.0
func (x *ChannelJoinRequest) GetExistedFeatures() []string
func (*ChannelJoinRequest) GetJoinFeatures ¶ added in v0.1.0
func (x *ChannelJoinRequest) GetJoinFeatures() []string
func (*ChannelJoinRequest) ProtoMessage ¶
func (*ChannelJoinRequest) ProtoMessage()
func (*ChannelJoinRequest) ProtoReflect ¶
func (x *ChannelJoinRequest) ProtoReflect() protoreflect.Message
func (*ChannelJoinRequest) Reset ¶
func (x *ChannelJoinRequest) Reset()
func (*ChannelJoinRequest) String ¶
func (x *ChannelJoinRequest) String() string
type ChannelJoinResponse ¶
type ChannelJoinResponse struct {
// Header of the `Join` response.
// It only appears in the first request.
Header []string `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"`
// A single row of joined results.
JoinedRow []*Value `protobuf:"bytes,2,rep,name=joined_row,json=joinedRow,proto3" json:"joined_row,omitempty"`
// contains filtered or unexported fields
}
`ChannelJoinResponse` is a response for `ChannelJoin` API.
func (*ChannelJoinResponse) Descriptor
deprecated
func (*ChannelJoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelJoinResponse.ProtoReflect.Descriptor instead.
func (*ChannelJoinResponse) GetHeader ¶
func (x *ChannelJoinResponse) GetHeader() []string
func (*ChannelJoinResponse) GetJoinedRow ¶
func (x *ChannelJoinResponse) GetJoinedRow() []*Value
func (*ChannelJoinResponse) ProtoMessage ¶
func (*ChannelJoinResponse) ProtoMessage()
func (*ChannelJoinResponse) ProtoReflect ¶
func (x *ChannelJoinResponse) ProtoReflect() protoreflect.Message
func (*ChannelJoinResponse) Reset ¶
func (x *ChannelJoinResponse) Reset()
func (*ChannelJoinResponse) String ¶
func (x *ChannelJoinResponse) String() string
type EntityRow ¶
type EntityRow struct {
// An entity identifier, could represents device ID, user ID, etc.
EntityKey string `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
// A unix milliseconds, represents the record timestamp.
UnixMilli int64 `protobuf:"varint,2,opt,name=unix_milli,json=unixMilli,proto3" json:"unix_milli,omitempty"`
// A list of existing values, could be label or real-time features.
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
`EntityRow` represents a row in `Join` request.
func (*EntityRow) Descriptor
deprecated
func (*EntityRow) GetEntityKey ¶
func (*EntityRow) GetUnixMilli ¶
func (*EntityRow) ProtoMessage ¶
func (*EntityRow) ProtoMessage()
func (*EntityRow) ProtoReflect ¶
func (x *EntityRow) ProtoReflect() protoreflect.Message
type ExportRequest ¶
type ExportRequest struct {
// A list of feature full names.
Features []string `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"`
// A unix milliseconds, export the feature value before this timestamp.
UnixMilli int64 `protobuf:"varint,2,opt,name=unix_milli,json=unixMilli,proto3" json:"unix_milli,omitempty"`
// File path of export result.
OutputFile string `protobuf:"bytes,3,opt,name=output_file,json=outputFile,proto3" json:"output_file,omitempty"`
// Limit the size of export data.
Limit *uint64 `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// contains filtered or unexported fields
}
`ExportRequest` is a request for `Export` API.
func (*ExportRequest) Descriptor
deprecated
func (*ExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportRequest.ProtoReflect.Descriptor instead.
func (*ExportRequest) GetFeatures ¶ added in v0.1.0
func (x *ExportRequest) GetFeatures() []string
func (*ExportRequest) GetLimit ¶
func (x *ExportRequest) GetLimit() uint64
func (*ExportRequest) GetOutputFile ¶ added in v0.1.0
func (x *ExportRequest) GetOutputFile() string
func (*ExportRequest) GetUnixMilli ¶ added in v0.1.0
func (x *ExportRequest) GetUnixMilli() int64
func (*ExportRequest) ProtoMessage ¶
func (*ExportRequest) ProtoMessage()
func (*ExportRequest) ProtoReflect ¶
func (x *ExportRequest) ProtoReflect() protoreflect.Message
func (*ExportRequest) Reset ¶
func (x *ExportRequest) Reset()
func (*ExportRequest) String ¶
func (x *ExportRequest) String() string
type ExportResponse ¶
type ExportResponse struct {
// contains filtered or unexported fields
}
`ExportResponse` is a response for `Export` API.
func (*ExportResponse) Descriptor
deprecated
func (*ExportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportResponse.ProtoReflect.Descriptor instead.
func (*ExportResponse) ProtoMessage ¶
func (*ExportResponse) ProtoMessage()
func (*ExportResponse) ProtoReflect ¶
func (x *ExportResponse) ProtoReflect() protoreflect.Message
func (*ExportResponse) Reset ¶
func (x *ExportResponse) Reset()
func (*ExportResponse) String ¶
func (x *ExportResponse) String() string
type FeatureValueMap ¶
type FeatureValueMap struct {
Map map[string]*Value `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
`FeatureValueMap` maps feature full name to feature value.
func (*FeatureValueMap) Descriptor
deprecated
func (*FeatureValueMap) Descriptor() ([]byte, []int)
Deprecated: Use FeatureValueMap.ProtoReflect.Descriptor instead.
func (*FeatureValueMap) GetMap ¶
func (x *FeatureValueMap) GetMap() map[string]*Value
func (*FeatureValueMap) ProtoMessage ¶
func (*FeatureValueMap) ProtoMessage()
func (*FeatureValueMap) ProtoReflect ¶
func (x *FeatureValueMap) ProtoReflect() protoreflect.Message
func (*FeatureValueMap) Reset ¶
func (x *FeatureValueMap) Reset()
func (*FeatureValueMap) String ¶
func (x *FeatureValueMap) String() string
type HealthCheckRequest ¶
type HealthCheckRequest struct {
// contains filtered or unexported fields
}
`HealthCheckRequesst` is a request for `HealthCheck` API.
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
type HealthCheckResponse ¶
type HealthCheckResponse struct {
// contains filtered or unexported fields
}
`HealthCheckResponse` is a response for `HealthCheck` API.
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
type ImportRequest ¶
type ImportRequest struct {
// The group to be imported from data source to offline store.
Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
// The revision of the imported data, it only applies to
// batch feature (not required).
// For batch features, if revision is null, will use the
// timestamp when it starts serving in online store; otherwise,
// use the designated revision.
Revision *int64 `protobuf:"varint,2,opt,name=revision,proto3,oneof" json:"revision,omitempty"`
// Description of this import.
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// The path of data source.
InputFile string `protobuf:"bytes,4,opt,name=input_file,json=inputFile,proto3" json:"input_file,omitempty"`
// Delimiter of data source
Delimiter *string `protobuf:"bytes,5,opt,name=delimiter,proto3,oneof" json:"delimiter,omitempty"`
// contains filtered or unexported fields
}
`ImportRequest` is a request for `Import` API.
func (*ImportRequest) Descriptor
deprecated
func (*ImportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportRequest.ProtoReflect.Descriptor instead.
func (*ImportRequest) GetDelimiter ¶
func (x *ImportRequest) GetDelimiter() string
func (*ImportRequest) GetDescription ¶
func (x *ImportRequest) GetDescription() string
func (*ImportRequest) GetGroup ¶ added in v0.1.0
func (x *ImportRequest) GetGroup() string
func (*ImportRequest) GetInputFile ¶ added in v0.1.0
func (x *ImportRequest) GetInputFile() string
func (*ImportRequest) GetRevision ¶
func (x *ImportRequest) GetRevision() int64
func (*ImportRequest) ProtoMessage ¶
func (*ImportRequest) ProtoMessage()
func (*ImportRequest) ProtoReflect ¶
func (x *ImportRequest) ProtoReflect() protoreflect.Message
func (*ImportRequest) Reset ¶
func (x *ImportRequest) Reset()
func (*ImportRequest) String ¶
func (x *ImportRequest) String() string
type ImportResponse ¶
type ImportResponse struct {
// The revision ID of this import, it only applies to batch feature.
RevisionId int32 `protobuf:"varint,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
// contains filtered or unexported fields
}
`ImportResponse` is a response for `ChannelImport` and `Import` API.
func (*ImportResponse) Descriptor
deprecated
func (*ImportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportResponse.ProtoReflect.Descriptor instead.
func (*ImportResponse) GetRevisionId ¶
func (x *ImportResponse) GetRevisionId() int32
func (*ImportResponse) ProtoMessage ¶
func (*ImportResponse) ProtoMessage()
func (*ImportResponse) ProtoReflect ¶
func (x *ImportResponse) ProtoReflect() protoreflect.Message
func (*ImportResponse) Reset ¶
func (x *ImportResponse) Reset()
func (*ImportResponse) String ¶
func (x *ImportResponse) String() string
type JoinRequest ¶
type JoinRequest struct {
// A list of feature full names, their feature values will be
// joined and fetched from offline store.
Features []string `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"`
// File path of entity rows.
InputFile string `protobuf:"bytes,2,opt,name=input_file,json=inputFile,proto3" json:"input_file,omitempty"`
// File path of joined result.
OutputFile string `protobuf:"bytes,3,opt,name=output_file,json=outputFile,proto3" json:"output_file,omitempty"`
// contains filtered or unexported fields
}
`JoinRequest` is a request for `Join` API.
func (*JoinRequest) Descriptor
deprecated
func (*JoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead.
func (*JoinRequest) GetFeatures ¶ added in v0.1.0
func (x *JoinRequest) GetFeatures() []string
func (*JoinRequest) GetInputFile ¶ added in v0.1.0
func (x *JoinRequest) GetInputFile() string
func (*JoinRequest) GetOutputFile ¶ added in v0.1.0
func (x *JoinRequest) GetOutputFile() string
func (*JoinRequest) ProtoMessage ¶
func (*JoinRequest) ProtoMessage()
func (*JoinRequest) ProtoReflect ¶
func (x *JoinRequest) ProtoReflect() protoreflect.Message
func (*JoinRequest) Reset ¶
func (x *JoinRequest) Reset()
func (*JoinRequest) String ¶
func (x *JoinRequest) String() string
type JoinResponse ¶
type JoinResponse struct {
// contains filtered or unexported fields
}
`JoinResponse` is a response for `Join` API.
func (*JoinResponse) Descriptor
deprecated
func (*JoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use JoinResponse.ProtoReflect.Descriptor instead.
func (*JoinResponse) ProtoMessage ¶
func (*JoinResponse) ProtoMessage()
func (*JoinResponse) ProtoReflect ¶
func (x *JoinResponse) ProtoReflect() protoreflect.Message
func (*JoinResponse) Reset ¶
func (x *JoinResponse) Reset()
func (*JoinResponse) String ¶
func (x *JoinResponse) String() string
type OnlineGetRequest ¶
type OnlineGetRequest struct {
// An entity identifier, could be device ID, user ID, etc.
EntityKey string `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
// A list of feature full names.
// A feature full name has the following format: <feature_group_name>.<feature_name>,
// for example, txn_stats.count_7d
Features []string `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"`
// contains filtered or unexported fields
}
`OnlineGetRequest` is a request for `OnlineGet` API.
func (*OnlineGetRequest) Descriptor
deprecated
func (*OnlineGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use OnlineGetRequest.ProtoReflect.Descriptor instead.
func (*OnlineGetRequest) GetEntityKey ¶
func (x *OnlineGetRequest) GetEntityKey() string
func (*OnlineGetRequest) GetFeatures ¶ added in v0.1.0
func (x *OnlineGetRequest) GetFeatures() []string
func (*OnlineGetRequest) ProtoMessage ¶
func (*OnlineGetRequest) ProtoMessage()
func (*OnlineGetRequest) ProtoReflect ¶
func (x *OnlineGetRequest) ProtoReflect() protoreflect.Message
func (*OnlineGetRequest) Reset ¶
func (x *OnlineGetRequest) Reset()
func (*OnlineGetRequest) String ¶
func (x *OnlineGetRequest) String() string
type OnlineGetResponse ¶
type OnlineGetResponse struct {
// The result of `OnlineGet`.
Result *FeatureValueMap `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
`OnlineGetRequest` is a response for `OnlineGet` API.
func (*OnlineGetResponse) Descriptor
deprecated
func (*OnlineGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use OnlineGetResponse.ProtoReflect.Descriptor instead.
func (*OnlineGetResponse) GetResult ¶
func (x *OnlineGetResponse) GetResult() *FeatureValueMap
func (*OnlineGetResponse) ProtoMessage ¶
func (*OnlineGetResponse) ProtoMessage()
func (*OnlineGetResponse) ProtoReflect ¶
func (x *OnlineGetResponse) ProtoReflect() protoreflect.Message
func (*OnlineGetResponse) Reset ¶
func (x *OnlineGetResponse) Reset()
func (*OnlineGetResponse) String ¶
func (x *OnlineGetResponse) String() string
type OnlineMultiGetRequest ¶
type OnlineMultiGetRequest struct {
// A list of entity identifiers, could be device IDs, user IDs, etc.
EntityKeys []string `protobuf:"bytes,1,rep,name=entity_keys,json=entityKeys,proto3" json:"entity_keys,omitempty"`
// A list of feature full names.
// A feature full name has the following format: <feature_group_name>.<feature_name>,
// for example, txn_stats.count_7d
Features []string `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"`
// contains filtered or unexported fields
}
`OnlineMultiGetRequest` is a request for `OnlineMultiGet` API.
func (*OnlineMultiGetRequest) Descriptor
deprecated
func (*OnlineMultiGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use OnlineMultiGetRequest.ProtoReflect.Descriptor instead.
func (*OnlineMultiGetRequest) GetEntityKeys ¶
func (x *OnlineMultiGetRequest) GetEntityKeys() []string
func (*OnlineMultiGetRequest) GetFeatures ¶ added in v0.1.0
func (x *OnlineMultiGetRequest) GetFeatures() []string
func (*OnlineMultiGetRequest) ProtoMessage ¶
func (*OnlineMultiGetRequest) ProtoMessage()
func (*OnlineMultiGetRequest) ProtoReflect ¶
func (x *OnlineMultiGetRequest) ProtoReflect() protoreflect.Message
func (*OnlineMultiGetRequest) Reset ¶
func (x *OnlineMultiGetRequest) Reset()
func (*OnlineMultiGetRequest) String ¶
func (x *OnlineMultiGetRequest) String() string
type OnlineMultiGetResponse ¶
type OnlineMultiGetResponse struct {
// The result of `OnlineMultiGet`, mapping entity key to FeatureValueMap.
Result map[string]*FeatureValueMap `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
`OnlineMultiGetResponse` is a response for `OnlineMultiGet` API.
func (*OnlineMultiGetResponse) Descriptor
deprecated
func (*OnlineMultiGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use OnlineMultiGetResponse.ProtoReflect.Descriptor instead.
func (*OnlineMultiGetResponse) GetResult ¶
func (x *OnlineMultiGetResponse) GetResult() map[string]*FeatureValueMap
func (*OnlineMultiGetResponse) ProtoMessage ¶
func (*OnlineMultiGetResponse) ProtoMessage()
func (*OnlineMultiGetResponse) ProtoReflect ¶
func (x *OnlineMultiGetResponse) ProtoReflect() protoreflect.Message
func (*OnlineMultiGetResponse) Reset ¶
func (x *OnlineMultiGetResponse) Reset()
func (*OnlineMultiGetResponse) String ¶
func (x *OnlineMultiGetResponse) String() string
type OomAgentClient ¶
type OomAgentClient interface {
// Get online features for an entity.
OnlineGet(ctx context.Context, in *OnlineGetRequest, opts ...grpc.CallOption) (*OnlineGetResponse, error)
// Get online features for multiple entities.
OnlineMultiGet(ctx context.Context, in *OnlineMultiGetRequest, opts ...grpc.CallOption) (*OnlineMultiGetResponse, error)
// Sync a certain revision of batch features from offline to online store.
Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error)
// Import features from external (batch and stream) data sources to offline store through channels.
ChannelImport(ctx context.Context, opts ...grpc.CallOption) (OomAgent_ChannelImportClient, error)
// Import features from external (batch and stream) data sources to offline store through files.
Import(ctx context.Context, in *ImportRequest, opts ...grpc.CallOption) (*ImportResponse, error)
// Push stream features from stream data source to both offline and online stores.
Push(ctx context.Context, in *PushRequest, opts ...grpc.CallOption) (*PushResponse, error)
// Take snapshot for a stream feature group in offline store.
Snapshot(ctx context.Context, in *SnapshotRequest, opts ...grpc.CallOption) (*SnapshotResponse, error)
// Point-in-Time Join features against labeled entity rows through channels.
ChannelJoin(ctx context.Context, opts ...grpc.CallOption) (OomAgent_ChannelJoinClient, error)
// Point-in-Time Join features against labeled entity rows through files.
Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*JoinResponse, error)
// Export certain features to a channel.
ChannelExport(ctx context.Context, in *ChannelExportRequest, opts ...grpc.CallOption) (OomAgent_ChannelExportClient, error)
// Export certain features to a file.
Export(ctx context.Context, in *ExportRequest, opts ...grpc.CallOption) (*ExportResponse, error)
// Check if oomagent is ready to serve requests.
HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}
OomAgentClient is the client API for OomAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOomAgentClient ¶
func NewOomAgentClient(cc grpc.ClientConnInterface) OomAgentClient
type OomAgentServer ¶
type OomAgentServer interface {
// Get online features for an entity.
OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
// Get online features for multiple entities.
OnlineMultiGet(context.Context, *OnlineMultiGetRequest) (*OnlineMultiGetResponse, error)
// Sync a certain revision of batch features from offline to online store.
Sync(context.Context, *SyncRequest) (*SyncResponse, error)
// Import features from external (batch and stream) data sources to offline store through channels.
ChannelImport(OomAgent_ChannelImportServer) error
// Import features from external (batch and stream) data sources to offline store through files.
Import(context.Context, *ImportRequest) (*ImportResponse, error)
// Push stream features from stream data source to both offline and online stores.
Push(context.Context, *PushRequest) (*PushResponse, error)
// Take snapshot for a stream feature group in offline store.
Snapshot(context.Context, *SnapshotRequest) (*SnapshotResponse, error)
// Point-in-Time Join features against labeled entity rows through channels.
ChannelJoin(OomAgent_ChannelJoinServer) error
// Point-in-Time Join features against labeled entity rows through files.
Join(context.Context, *JoinRequest) (*JoinResponse, error)
// Export certain features to a channel.
ChannelExport(*ChannelExportRequest, OomAgent_ChannelExportServer) error
// Export certain features to a file.
Export(context.Context, *ExportRequest) (*ExportResponse, error)
// Check if oomagent is ready to serve requests.
HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
// contains filtered or unexported methods
}
OomAgentServer is the server API for OomAgent service. All implementations must embed UnimplementedOomAgentServer for forward compatibility
type OomAgent_ChannelExportClient ¶
type OomAgent_ChannelExportClient interface {
Recv() (*ChannelExportResponse, error)
grpc.ClientStream
}
type OomAgent_ChannelExportServer ¶
type OomAgent_ChannelExportServer interface {
Send(*ChannelExportResponse) error
grpc.ServerStream
}
type OomAgent_ChannelImportClient ¶
type OomAgent_ChannelImportClient interface {
Send(*ChannelImportRequest) error
CloseAndRecv() (*ImportResponse, error)
grpc.ClientStream
}
type OomAgent_ChannelImportServer ¶
type OomAgent_ChannelImportServer interface {
SendAndClose(*ImportResponse) error
Recv() (*ChannelImportRequest, error)
grpc.ServerStream
}
type OomAgent_ChannelJoinClient ¶
type OomAgent_ChannelJoinClient interface {
Send(*ChannelJoinRequest) error
Recv() (*ChannelJoinResponse, error)
grpc.ClientStream
}
type OomAgent_ChannelJoinServer ¶
type OomAgent_ChannelJoinServer interface {
Send(*ChannelJoinResponse) error
Recv() (*ChannelJoinRequest, error)
grpc.ServerStream
}
type PushRequest ¶ added in v0.1.0
type PushRequest struct {
// An entity identifier.
EntityKey string `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
// A streaming feature group.
Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
// Feature values maps feature name to feature value.
FeatureValues map[string]*Value `` /* 188-byte string literal not displayed */
// contains filtered or unexported fields
}
`PushRequest` is a request for `Push` API.
func (*PushRequest) Descriptor
deprecated
added in
v0.1.0
func (*PushRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushRequest.ProtoReflect.Descriptor instead.
func (*PushRequest) GetEntityKey ¶ added in v0.1.0
func (x *PushRequest) GetEntityKey() string
func (*PushRequest) GetFeatureValues ¶ added in v0.1.0
func (x *PushRequest) GetFeatureValues() map[string]*Value
func (*PushRequest) GetGroup ¶ added in v0.1.0
func (x *PushRequest) GetGroup() string
func (*PushRequest) ProtoMessage ¶ added in v0.1.0
func (*PushRequest) ProtoMessage()
func (*PushRequest) ProtoReflect ¶ added in v0.1.0
func (x *PushRequest) ProtoReflect() protoreflect.Message
func (*PushRequest) Reset ¶ added in v0.1.0
func (x *PushRequest) Reset()
func (*PushRequest) String ¶ added in v0.1.0
func (x *PushRequest) String() string
type PushResponse ¶ added in v0.1.0
type PushResponse struct {
// contains filtered or unexported fields
}
`PushResponse` is a response for `Push` API.
func (*PushResponse) Descriptor
deprecated
added in
v0.1.0
func (*PushResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushResponse.ProtoReflect.Descriptor instead.
func (*PushResponse) ProtoMessage ¶ added in v0.1.0
func (*PushResponse) ProtoMessage()
func (*PushResponse) ProtoReflect ¶ added in v0.1.0
func (x *PushResponse) ProtoReflect() protoreflect.Message
func (*PushResponse) Reset ¶ added in v0.1.0
func (x *PushResponse) Reset()
func (*PushResponse) String ¶ added in v0.1.0
func (x *PushResponse) String() string
type SnapshotRequest ¶ added in v0.1.0
type SnapshotRequest struct {
// A streaming feature group.
Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
// contains filtered or unexported fields
}
`SnapshotRequest` is a request for `Snapshot` API.
func (*SnapshotRequest) Descriptor
deprecated
added in
v0.1.0
func (*SnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotRequest.ProtoReflect.Descriptor instead.
func (*SnapshotRequest) GetGroup ¶ added in v0.1.0
func (x *SnapshotRequest) GetGroup() string
func (*SnapshotRequest) ProtoMessage ¶ added in v0.1.0
func (*SnapshotRequest) ProtoMessage()
func (*SnapshotRequest) ProtoReflect ¶ added in v0.1.0
func (x *SnapshotRequest) ProtoReflect() protoreflect.Message
func (*SnapshotRequest) Reset ¶ added in v0.1.0
func (x *SnapshotRequest) Reset()
func (*SnapshotRequest) String ¶ added in v0.1.0
func (x *SnapshotRequest) String() string
type SnapshotResponse ¶ added in v0.1.0
type SnapshotResponse struct {
// contains filtered or unexported fields
}
`SnapshotResponse` is a response for `Snapshot` API.
func (*SnapshotResponse) Descriptor
deprecated
added in
v0.1.0
func (*SnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotResponse.ProtoReflect.Descriptor instead.
func (*SnapshotResponse) ProtoMessage ¶ added in v0.1.0
func (*SnapshotResponse) ProtoMessage()
func (*SnapshotResponse) ProtoReflect ¶ added in v0.1.0
func (x *SnapshotResponse) ProtoReflect() protoreflect.Message
func (*SnapshotResponse) Reset ¶ added in v0.1.0
func (x *SnapshotResponse) Reset()
func (*SnapshotResponse) String ¶ added in v0.1.0
func (x *SnapshotResponse) String() string
type SyncRequest ¶
type SyncRequest struct {
// The group to sync from offline store to online store.
Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
// The revision to sync, it only applies to batch feature.
// For batch feature: if null, will sync the latest revision;
// otherwise, sync the designated revision.
// For streaming feature, revision ID is not required, will always
// sync the latest values.
RevisionId *int32 `protobuf:"varint,2,opt,name=revision_id,json=revisionId,proto3,oneof" json:"revision_id,omitempty"`
// PurgeDelay represents the seconds to sleep before purging
// the previous revision in online store.
// It only applies to batch feature group.
PurgeDelay int32 `protobuf:"varint,3,opt,name=purge_delay,json=purgeDelay,proto3" json:"purge_delay,omitempty"`
// contains filtered or unexported fields
}
`SyncRequest` is a request for `Sync` API.
func (*SyncRequest) Descriptor
deprecated
func (*SyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.
func (*SyncRequest) GetGroup ¶ added in v0.1.0
func (x *SyncRequest) GetGroup() string
func (*SyncRequest) GetPurgeDelay ¶
func (x *SyncRequest) GetPurgeDelay() int32
func (*SyncRequest) GetRevisionId ¶
func (x *SyncRequest) GetRevisionId() int32
func (*SyncRequest) ProtoMessage ¶
func (*SyncRequest) ProtoMessage()
func (*SyncRequest) ProtoReflect ¶
func (x *SyncRequest) ProtoReflect() protoreflect.Message
func (*SyncRequest) Reset ¶
func (x *SyncRequest) Reset()
func (*SyncRequest) String ¶
func (x *SyncRequest) String() string
type SyncResponse ¶
type SyncResponse struct {
// contains filtered or unexported fields
}
`SyncResponse` is a response for `Sync` API.
func (*SyncResponse) Descriptor
deprecated
func (*SyncResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncResponse.ProtoReflect.Descriptor instead.
func (*SyncResponse) ProtoMessage ¶
func (*SyncResponse) ProtoMessage()
func (*SyncResponse) ProtoReflect ¶
func (x *SyncResponse) ProtoReflect() protoreflect.Message
func (*SyncResponse) Reset ¶
func (x *SyncResponse) Reset()
func (*SyncResponse) String ¶
func (x *SyncResponse) String() string
type UnimplementedOomAgentServer ¶
type UnimplementedOomAgentServer struct {
}
UnimplementedOomAgentServer must be embedded to have forward compatible implementations.
func (UnimplementedOomAgentServer) ChannelExport ¶
func (UnimplementedOomAgentServer) ChannelExport(*ChannelExportRequest, OomAgent_ChannelExportServer) error
func (UnimplementedOomAgentServer) ChannelImport ¶
func (UnimplementedOomAgentServer) ChannelImport(OomAgent_ChannelImportServer) error
func (UnimplementedOomAgentServer) ChannelJoin ¶
func (UnimplementedOomAgentServer) ChannelJoin(OomAgent_ChannelJoinServer) error
func (UnimplementedOomAgentServer) Export ¶
func (UnimplementedOomAgentServer) Export(context.Context, *ExportRequest) (*ExportResponse, error)
func (UnimplementedOomAgentServer) HealthCheck ¶
func (UnimplementedOomAgentServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
func (UnimplementedOomAgentServer) Import ¶
func (UnimplementedOomAgentServer) Import(context.Context, *ImportRequest) (*ImportResponse, error)
func (UnimplementedOomAgentServer) Join ¶
func (UnimplementedOomAgentServer) Join(context.Context, *JoinRequest) (*JoinResponse, error)
func (UnimplementedOomAgentServer) OnlineGet ¶
func (UnimplementedOomAgentServer) OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
func (UnimplementedOomAgentServer) OnlineMultiGet ¶
func (UnimplementedOomAgentServer) OnlineMultiGet(context.Context, *OnlineMultiGetRequest) (*OnlineMultiGetResponse, error)
func (UnimplementedOomAgentServer) Push ¶ added in v0.1.0
func (UnimplementedOomAgentServer) Push(context.Context, *PushRequest) (*PushResponse, error)
func (UnimplementedOomAgentServer) Snapshot ¶ added in v0.1.0
func (UnimplementedOomAgentServer) Snapshot(context.Context, *SnapshotRequest) (*SnapshotResponse, error)
func (UnimplementedOomAgentServer) Sync ¶
func (UnimplementedOomAgentServer) Sync(context.Context, *SyncRequest) (*SyncResponse, error)
type UnsafeOomAgentServer ¶
type UnsafeOomAgentServer interface {
// contains filtered or unexported methods
}
UnsafeOomAgentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OomAgentServer will result in compilation errors.
type Value ¶
type Value struct {
// Types that are assignable to Value:
// *Value_Int64
// *Value_Double
// *Value_String_
// *Value_Bool
// *Value_UnixMilli
// *Value_Bytes
Value isValue_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
`Value` represents a dynamically typed value which can be either
a int64, a double, a string, a bool, a unix milliseconds, or a
bytes. A producer of value is expected to set one of these variants.
func (*Value) Descriptor
deprecated
func (*Value) GetString_ ¶ added in v0.1.0
func (*Value) GetUnixMilli ¶ added in v0.1.0
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Value_Bool ¶ added in v0.1.0
type Value_Bool struct {
// Represents a boolean value.
Bool bool `protobuf:"varint,4,opt,name=bool,proto3,oneof"`
}
type Value_Bytes ¶ added in v0.1.0
type Value_Bytes struct {
// Represents a bytes value.
Bytes []byte `protobuf:"bytes,6,opt,name=bytes,proto3,oneof"`
}
type Value_Double ¶ added in v0.1.0
type Value_Double struct {
// Represents a double value.
Double float64 `protobuf:"fixed64,2,opt,name=double,proto3,oneof"`
}
type Value_Int64 ¶ added in v0.1.0
type Value_Int64 struct {
// Represents a int64 value.
Int64 int64 `protobuf:"varint,1,opt,name=int64,proto3,oneof"`
}
type Value_String_ ¶ added in v0.1.0
type Value_String_ struct {
// Represents a string value.
String_ string `protobuf:"bytes,3,opt,name=string,proto3,oneof"`
}
type Value_UnixMilli ¶ added in v0.1.0
type Value_UnixMilli struct {
// Represents a unix milliseconds value.
UnixMilli int64 `protobuf:"varint,5,opt,name=unix_milli,json=unixMilli,proto3,oneof"`
}