Documentation
¶
Index ¶
- Variables
- func RegisterOomDServer(s grpc.ServiceRegistrar, srv OomDServer)
- type ChannelExportRequest
- func (*ChannelExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelExportRequest) GetFeatureNames() []string
- func (x *ChannelExportRequest) GetLimit() uint64
- func (x *ChannelExportRequest) GetRevisionId() int32
- 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 (x *ChannelExportResponse) GetStatus() *status.Status
- 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) GetGroupName() 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) GetFeatureNames() []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 (x *ChannelJoinResponse) GetStatus() *status.Status
- func (*ChannelJoinResponse) ProtoMessage()
- func (x *ChannelJoinResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelJoinResponse) Reset()
- func (x *ChannelJoinResponse) String() string
- type EntityRow
- type ExportRequest
- func (*ExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportRequest) GetFeatureNames() []string
- func (x *ExportRequest) GetLimit() uint64
- func (x *ExportRequest) GetOutputFilePath() string
- func (x *ExportRequest) GetRevisionId() int32
- func (*ExportRequest) ProtoMessage()
- func (x *ExportRequest) ProtoReflect() protoreflect.Message
- func (x *ExportRequest) Reset()
- func (x *ExportRequest) String() string
- type ExportResponse
- type FeatureValueMap
- type ImportRequest
- func (*ImportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportRequest) GetDelimiter() string
- func (x *ImportRequest) GetDescription() string
- func (x *ImportRequest) GetGroupName() string
- func (x *ImportRequest) GetInputFilePath() 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
- func (*ImportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportResponse) GetRevisionId() int64
- func (x *ImportResponse) GetStatus() *status.Status
- func (*ImportResponse) ProtoMessage()
- func (x *ImportResponse) ProtoReflect() protoreflect.Message
- func (x *ImportResponse) Reset()
- func (x *ImportResponse) String() string
- type JoinRequest
- func (*JoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinRequest) GetFeatureNames() []string
- func (x *JoinRequest) GetInputFilePath() string
- func (x *JoinRequest) GetOutputFilePath() 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) GetFeatureNames() []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 (x *OnlineGetResponse) GetStatus() *status.Status
- 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) GetFeatureNames() []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 (x *OnlineMultiGetResponse) GetStatus() *status.Status
- func (*OnlineMultiGetResponse) ProtoMessage()
- func (x *OnlineMultiGetResponse) ProtoReflect() protoreflect.Message
- func (x *OnlineMultiGetResponse) Reset()
- func (x *OnlineMultiGetResponse) String() string
- type OomDClient
- type OomDServer
- type OomD_ChannelExportClient
- type OomD_ChannelExportServer
- type OomD_ChannelImportClient
- type OomD_ChannelImportServer
- type OomD_ChannelJoinClient
- type OomD_ChannelJoinServer
- type SyncRequest
- func (*SyncRequest) Descriptor() ([]byte, []int)deprecated
- 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 UnimplementedOomDServer
- func (UnimplementedOomDServer) ChannelExport(*ChannelExportRequest, OomD_ChannelExportServer) error
- func (UnimplementedOomDServer) ChannelImport(OomD_ChannelImportServer) error
- func (UnimplementedOomDServer) ChannelJoin(OomD_ChannelJoinServer) error
- func (UnimplementedOomDServer) Export(context.Context, *ExportRequest) (*ExportResponse, error)
- func (UnimplementedOomDServer) Import(context.Context, *ImportRequest) (*ImportResponse, error)
- func (UnimplementedOomDServer) Join(context.Context, *JoinRequest) (*JoinResponse, error)
- func (UnimplementedOomDServer) OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
- func (UnimplementedOomDServer) OnlineMultiGet(context.Context, *OnlineMultiGetRequest) (*OnlineMultiGetResponse, error)
- func (UnimplementedOomDServer) Sync(context.Context, *SyncRequest) (*SyncResponse, error)
- type UnsafeOomDServer
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetBytesValue() []byte
- func (x *Value) GetDoubleValue() float64
- func (x *Value) GetInt64Value() int64
- func (m *Value) GetKind() isValue_Kind
- func (x *Value) GetStringValue() string
- func (x *Value) GetUnixTimestampValue() int64
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_BoolValue
- type Value_BytesValue
- type Value_DoubleValue
- type Value_Int64Value
- type Value_StringValue
- type Value_UnixTimestampValue
Constants ¶
This section is empty.
Variables ¶
var File_oomd_proto protoreflect.FileDescriptor
var OomD_ServiceDesc = grpc.ServiceDesc{ ServiceName: "oomd.OomD", HandlerType: (*OomDServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "OnlineGet", Handler: _OomD_OnlineGet_Handler, }, { MethodName: "OnlineMultiGet", Handler: _OomD_OnlineMultiGet_Handler, }, { MethodName: "Sync", Handler: _OomD_Sync_Handler, }, { MethodName: "Import", Handler: _OomD_Import_Handler, }, { MethodName: "Join", Handler: _OomD_Join_Handler, }, { MethodName: "Export", Handler: _OomD_Export_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ChannelImport", Handler: _OomD_ChannelImport_Handler, ClientStreams: true, }, { StreamName: "ChannelJoin", Handler: _OomD_ChannelJoin_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "ChannelExport", Handler: _OomD_ChannelExport_Handler, ServerStreams: true, }, }, Metadata: "oomd.proto", }
OomD_ServiceDesc is the grpc.ServiceDesc for OomD service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOomDServer ¶
func RegisterOomDServer(s grpc.ServiceRegistrar, srv OomDServer)
Types ¶
type ChannelExportRequest ¶
type ChannelExportRequest struct {
FeatureNames []string `protobuf:"bytes,1,rep,name=feature_names,json=featureNames,proto3" json:"feature_names,omitempty"`
RevisionId int32 `protobuf:"varint,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
Limit *uint64 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*ChannelExportRequest) Descriptor
deprecated
func (*ChannelExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelExportRequest.ProtoReflect.Descriptor instead.
func (*ChannelExportRequest) GetFeatureNames ¶
func (x *ChannelExportRequest) GetFeatureNames() []string
func (*ChannelExportRequest) GetLimit ¶
func (x *ChannelExportRequest) GetLimit() uint64
func (*ChannelExportRequest) GetRevisionId ¶
func (x *ChannelExportRequest) GetRevisionId() int32
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 {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Header []string `protobuf:"bytes,2,rep,name=header,proto3" json:"header,omitempty"`
Row []*Value `protobuf:"bytes,3,rep,name=row,proto3" json:"row,omitempty"`
// contains filtered or unexported fields
}
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) GetStatus ¶
func (x *ChannelExportResponse) GetStatus() *status.Status
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 {
GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Revision *int64 `protobuf:"varint,3,opt,name=revision,proto3,oneof" json:"revision,omitempty"`
Row []byte `protobuf:"bytes,4,opt,name=row,proto3" json:"row,omitempty"`
// contains filtered or unexported fields
}
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) GetGroupName ¶
func (x *ChannelImportRequest) GetGroupName() 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 {
FeatureNames []string `protobuf:"bytes,1,rep,name=feature_names,json=featureNames,proto3" json:"feature_names,omitempty"`
EntityRow *EntityRow `protobuf:"bytes,2,opt,name=entity_row,json=entityRow,proto3" json:"entity_row,omitempty"`
// contains filtered or unexported fields
}
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) GetFeatureNames ¶
func (x *ChannelJoinRequest) GetFeatureNames() []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 {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Header []string `protobuf:"bytes,2,rep,name=header,proto3" json:"header,omitempty"`
JoinedRow []*Value `protobuf:"bytes,3,rep,name=joined_row,json=joinedRow,proto3" json:"joined_row,omitempty"`
// contains filtered or unexported fields
}
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) GetStatus ¶
func (x *ChannelJoinResponse) GetStatus() *status.Status
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 {
EntityKey string `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
UnixTime int64 `protobuf:"varint,2,opt,name=unix_time,json=unixTime,proto3" json:"unix_time,omitempty"`
// contains filtered or unexported fields
}
func (*EntityRow) Descriptor
deprecated
func (*EntityRow) GetEntityKey ¶
func (*EntityRow) GetUnixTime ¶
func (*EntityRow) ProtoMessage ¶
func (*EntityRow) ProtoMessage()
func (*EntityRow) ProtoReflect ¶
func (x *EntityRow) ProtoReflect() protoreflect.Message
type ExportRequest ¶
type ExportRequest struct {
FeatureNames []string `protobuf:"bytes,1,rep,name=feature_names,json=featureNames,proto3" json:"feature_names,omitempty"`
RevisionId int32 `protobuf:"varint,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
Limit *uint64 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
OutputFilePath string `protobuf:"bytes,4,opt,name=output_file_path,json=outputFilePath,proto3" json:"output_file_path,omitempty"`
// contains filtered or unexported fields
}
func (*ExportRequest) Descriptor
deprecated
func (*ExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportRequest.ProtoReflect.Descriptor instead.
func (*ExportRequest) GetFeatureNames ¶
func (x *ExportRequest) GetFeatureNames() []string
func (*ExportRequest) GetLimit ¶
func (x *ExportRequest) GetLimit() uint64
func (*ExportRequest) GetOutputFilePath ¶
func (x *ExportRequest) GetOutputFilePath() string
func (*ExportRequest) GetRevisionId ¶
func (x *ExportRequest) GetRevisionId() int32
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 {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*ExportResponse) Descriptor
deprecated
func (*ExportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportResponse.ProtoReflect.Descriptor instead.
func (*ExportResponse) GetStatus ¶
func (x *ExportResponse) GetStatus() *status.Status
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
}
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 ImportRequest ¶
type ImportRequest struct {
GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Revision *int64 `protobuf:"varint,3,opt,name=revision,proto3,oneof" json:"revision,omitempty"`
InputFilePath string `protobuf:"bytes,4,opt,name=input_file_path,json=inputFilePath,proto3" json:"input_file_path,omitempty"`
Delimiter string `protobuf:"bytes,5,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
// contains filtered or unexported fields
}
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) GetGroupName ¶
func (x *ImportRequest) GetGroupName() string
func (*ImportRequest) GetInputFilePath ¶
func (x *ImportRequest) GetInputFilePath() 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 {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
RevisionId int64 `protobuf:"varint,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
// contains filtered or unexported fields
}
func (*ImportResponse) Descriptor
deprecated
func (*ImportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportResponse.ProtoReflect.Descriptor instead.
func (*ImportResponse) GetRevisionId ¶
func (x *ImportResponse) GetRevisionId() int64
func (*ImportResponse) GetStatus ¶
func (x *ImportResponse) GetStatus() *status.Status
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 {
FeatureNames []string `protobuf:"bytes,1,rep,name=feature_names,json=featureNames,proto3" json:"feature_names,omitempty"`
InputFilePath string `protobuf:"bytes,2,opt,name=input_file_path,json=inputFilePath,proto3" json:"input_file_path,omitempty"`
OutputFilePath string `protobuf:"bytes,3,opt,name=output_file_path,json=outputFilePath,proto3" json:"output_file_path,omitempty"`
// contains filtered or unexported fields
}
func (*JoinRequest) Descriptor
deprecated
func (*JoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead.
func (*JoinRequest) GetFeatureNames ¶
func (x *JoinRequest) GetFeatureNames() []string
func (*JoinRequest) GetInputFilePath ¶
func (x *JoinRequest) GetInputFilePath() string
func (*JoinRequest) GetOutputFilePath ¶
func (x *JoinRequest) GetOutputFilePath() 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 {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*JoinResponse) Descriptor
deprecated
func (*JoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use JoinResponse.ProtoReflect.Descriptor instead.
func (*JoinResponse) GetStatus ¶
func (x *JoinResponse) GetStatus() *status.Status
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 {
EntityKey string `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
FeatureNames []string `protobuf:"bytes,2,rep,name=feature_names,json=featureNames,proto3" json:"feature_names,omitempty"`
// contains filtered or unexported fields
}
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) GetFeatureNames ¶
func (x *OnlineGetRequest) GetFeatureNames() []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 {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Result *FeatureValueMap `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
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) GetStatus ¶
func (x *OnlineGetResponse) GetStatus() *status.Status
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 {
EntityKeys []string `protobuf:"bytes,1,rep,name=entity_keys,json=entityKeys,proto3" json:"entity_keys,omitempty"`
FeatureNames []string `protobuf:"bytes,2,rep,name=feature_names,json=featureNames,proto3" json:"feature_names,omitempty"`
// contains filtered or unexported fields
}
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) GetFeatureNames ¶
func (x *OnlineMultiGetRequest) GetFeatureNames() []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 {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Result map[string]*FeatureValueMap `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
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) GetStatus ¶
func (x *OnlineMultiGetResponse) GetStatus() *status.Status
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 OomDClient ¶
type OomDClient interface {
OnlineGet(ctx context.Context, in *OnlineGetRequest, opts ...grpc.CallOption) (*OnlineGetResponse, error)
OnlineMultiGet(ctx context.Context, in *OnlineMultiGetRequest, opts ...grpc.CallOption) (*OnlineMultiGetResponse, error)
Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error)
ChannelImport(ctx context.Context, opts ...grpc.CallOption) (OomD_ChannelImportClient, error)
Import(ctx context.Context, in *ImportRequest, opts ...grpc.CallOption) (*ImportResponse, error)
ChannelJoin(ctx context.Context, opts ...grpc.CallOption) (OomD_ChannelJoinClient, error)
Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*JoinResponse, error)
ChannelExport(ctx context.Context, in *ChannelExportRequest, opts ...grpc.CallOption) (OomD_ChannelExportClient, error)
Export(ctx context.Context, in *ExportRequest, opts ...grpc.CallOption) (*ExportResponse, error)
}
OomDClient is the client API for OomD 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 NewOomDClient ¶
func NewOomDClient(cc grpc.ClientConnInterface) OomDClient
type OomDServer ¶
type OomDServer interface {
OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
OnlineMultiGet(context.Context, *OnlineMultiGetRequest) (*OnlineMultiGetResponse, error)
Sync(context.Context, *SyncRequest) (*SyncResponse, error)
ChannelImport(OomD_ChannelImportServer) error
Import(context.Context, *ImportRequest) (*ImportResponse, error)
ChannelJoin(OomD_ChannelJoinServer) error
Join(context.Context, *JoinRequest) (*JoinResponse, error)
ChannelExport(*ChannelExportRequest, OomD_ChannelExportServer) error
Export(context.Context, *ExportRequest) (*ExportResponse, error)
// contains filtered or unexported methods
}
OomDServer is the server API for OomD service. All implementations must embed UnimplementedOomDServer for forward compatibility
type OomD_ChannelExportClient ¶
type OomD_ChannelExportClient interface {
Recv() (*ChannelExportResponse, error)
grpc.ClientStream
}
type OomD_ChannelExportServer ¶
type OomD_ChannelExportServer interface {
Send(*ChannelExportResponse) error
grpc.ServerStream
}
type OomD_ChannelImportClient ¶
type OomD_ChannelImportClient interface {
Send(*ChannelImportRequest) error
CloseAndRecv() (*ImportResponse, error)
grpc.ClientStream
}
type OomD_ChannelImportServer ¶
type OomD_ChannelImportServer interface {
SendAndClose(*ImportResponse) error
Recv() (*ChannelImportRequest, error)
grpc.ServerStream
}
type OomD_ChannelJoinClient ¶
type OomD_ChannelJoinClient interface {
Send(*ChannelJoinRequest) error
Recv() (*ChannelJoinResponse, error)
grpc.ClientStream
}
type OomD_ChannelJoinServer ¶
type OomD_ChannelJoinServer interface {
Send(*ChannelJoinResponse) error
Recv() (*ChannelJoinRequest, error)
grpc.ServerStream
}
type SyncRequest ¶
type SyncRequest struct {
RevisionId int32 `protobuf:"varint,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
PurgeDelay int32 `protobuf:"varint,2,opt,name=purge_delay,json=purgeDelay,proto3" json:"purge_delay,omitempty"`
// contains filtered or unexported fields
}
func (*SyncRequest) Descriptor
deprecated
func (*SyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.
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 {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*SyncResponse) Descriptor
deprecated
func (*SyncResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncResponse.ProtoReflect.Descriptor instead.
func (*SyncResponse) GetStatus ¶
func (x *SyncResponse) GetStatus() *status.Status
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 UnimplementedOomDServer ¶
type UnimplementedOomDServer struct {
}
UnimplementedOomDServer must be embedded to have forward compatible implementations.
func (UnimplementedOomDServer) ChannelExport ¶
func (UnimplementedOomDServer) ChannelExport(*ChannelExportRequest, OomD_ChannelExportServer) error
func (UnimplementedOomDServer) ChannelImport ¶
func (UnimplementedOomDServer) ChannelImport(OomD_ChannelImportServer) error
func (UnimplementedOomDServer) ChannelJoin ¶
func (UnimplementedOomDServer) ChannelJoin(OomD_ChannelJoinServer) error
func (UnimplementedOomDServer) Export ¶
func (UnimplementedOomDServer) Export(context.Context, *ExportRequest) (*ExportResponse, error)
func (UnimplementedOomDServer) Import ¶
func (UnimplementedOomDServer) Import(context.Context, *ImportRequest) (*ImportResponse, error)
func (UnimplementedOomDServer) Join ¶
func (UnimplementedOomDServer) Join(context.Context, *JoinRequest) (*JoinResponse, error)
func (UnimplementedOomDServer) OnlineGet ¶
func (UnimplementedOomDServer) OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
func (UnimplementedOomDServer) OnlineMultiGet ¶
func (UnimplementedOomDServer) OnlineMultiGet(context.Context, *OnlineMultiGetRequest) (*OnlineMultiGetResponse, error)
func (UnimplementedOomDServer) Sync ¶
func (UnimplementedOomDServer) Sync(context.Context, *SyncRequest) (*SyncResponse, error)
type UnsafeOomDServer ¶
type UnsafeOomDServer interface {
// contains filtered or unexported methods
}
UnsafeOomDServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OomDServer will result in compilation errors.
type Value ¶
type Value struct {
// The kind of value.
//
// Types that are assignable to Kind:
// *Value_Int64Value
// *Value_DoubleValue
// *Value_StringValue
// *Value_BoolValue
// *Value_UnixTimestampValue
// *Value_BytesValue
Kind isValue_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
func (*Value) Descriptor
deprecated
func (*Value) GetBoolValue ¶
func (*Value) GetBytesValue ¶
func (*Value) GetDoubleValue ¶
func (*Value) GetInt64Value ¶
func (*Value) GetStringValue ¶
func (*Value) GetUnixTimestampValue ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Value_BoolValue ¶
type Value_BoolValue struct {
// Represents a boolean value.
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Value_BytesValue ¶
type Value_BytesValue struct {
// Represents a bytes value.
BytesValue []byte `protobuf:"bytes,6,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type Value_DoubleValue ¶
type Value_DoubleValue struct {
// Represents a double value.
DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type Value_Int64Value ¶
type Value_Int64Value struct {
// Represents a int64 value.
Int64Value int64 `protobuf:"varint,1,opt,name=int64_value,json=int64Value,proto3,oneof"`
}
type Value_StringValue ¶
type Value_StringValue struct {
// Represents a string value.
StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Value_UnixTimestampValue ¶
type Value_UnixTimestampValue struct {
// Represents a unix milliseconds value.
UnixTimestampValue int64 `protobuf:"varint,5,opt,name=unix_timestamp_value,json=unixTimestampValue,proto3,oneof"`
}