api

package
v0.1.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package api is a generated protocol buffer package.

It is generated from these files:

api.proto

It has these top-level messages:

FeasibleSpace
ParameterConfig
Parameter
MetricsLogSet
Metrics
MetricsLog
SuggestionParameter
EarlyStoppingParameter
Tag
MountConf
StudyOverview
Trial
WorkerConfig
Worker
StudyConfig
CreateStudyRequest
CreateStudyReply
StopStudyRequest
StopStudyReply
GetStudyRequest
GetStudyReply
GetStudyListRequest
GetStudyListReply
CreateTrialRequest
CreateTrialReply
GetTrialsRequest
GetTrialsReply
RunTrialRequest
RunTrialReply
StopWorkersRequest
StopWorkersReply
GetWorkersRequest
GetWorkersReply
GetSuggestionsRequest
GetSuggestionsReply
GetShouldStopWorkersRequest
GetShouldStopWorkersReply
GetMetricsRequest
GetMetricsReply
ModelInfo
DataSetInfo
SaveStudyRequest
SaveStudyReply
SaveModelRequest
SaveModelReply
GetSavedStudiesRequest
GetSavedStudiesReply
GetSavedModelsRequest
GetSavedModelsReply
GetSavedModelRequest
GetSavedModelReply
SetSuggestionParametersRequest
SetSuggestionParametersReply
GetSuggestionParametersRequest
GetSuggestionParametersReply
GetSuggestionParameterListRequest
SuggestionParameterSet
GetSuggestionParameterListReply
StopSuggestionRequest
StopSuggestionReply
SetEarlyStoppingParametersRequest
SetEarlyStoppingParametersReply
GetEarlyStoppingParametersRequest
GetEarlyStoppingParametersReply
GetEarlyStoppingParameterListRequest
EarlyStoppingParameterSet
GetEarlyStoppingParameterListReply

Index

Constants

This section is empty.

Variables

View Source
var OptimizationType_name = map[int32]string{
	0: "UNKNOWN_OPTIMIZATION",
	1: "MINIMIZE",
	2: "MAXIMIZE",
}
View Source
var OptimizationType_value = map[string]int32{
	"UNKNOWN_OPTIMIZATION": 0,
	"MINIMIZE":             1,
	"MAXIMIZE":             2,
}
View Source
var ParameterType_name = map[int32]string{
	0: "UNKNOWN_TYPE",
	1: "DOUBLE",
	2: "INT",
	3: "DISCRETE",
	4: "CATEGORICAL",
}
View Source
var ParameterType_value = map[string]int32{
	"UNKNOWN_TYPE": 0,
	"DOUBLE":       1,
	"INT":          2,
	"DISCRETE":     3,
	"CATEGORICAL":  4,
}
View Source
var State_name = map[int32]string{
	0:   "PENDING",
	1:   "RUNNING",
	2:   "COMPLETED",
	3:   "KILLED",
	120: "ERROR",
}
View Source
var State_value = map[string]int32{
	"PENDING":   0,
	"RUNNING":   1,
	"COMPLETED": 2,
	"KILLED":    3,
	"ERROR":     120,
}

Functions

func RegisterEarlyStoppingServer

func RegisterEarlyStoppingServer(s *grpc.Server, srv EarlyStoppingServer)

func RegisterManagerServer

func RegisterManagerServer(s *grpc.Server, srv ManagerServer)

func RegisterSuggestionServer

func RegisterSuggestionServer(s *grpc.Server, srv SuggestionServer)

Types

type CreateStudyReply

type CreateStudyReply struct {
	StudyId string `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
}

func (*CreateStudyReply) Descriptor

func (*CreateStudyReply) Descriptor() ([]byte, []int)

func (*CreateStudyReply) GetStudyId

func (m *CreateStudyReply) GetStudyId() string

func (*CreateStudyReply) ProtoMessage

func (*CreateStudyReply) ProtoMessage()

func (*CreateStudyReply) Reset

func (m *CreateStudyReply) Reset()

func (*CreateStudyReply) String

func (m *CreateStudyReply) String() string

type CreateStudyRequest

type CreateStudyRequest struct {
	StudyConfig *StudyConfig `protobuf:"bytes,1,opt,name=study_config,json=studyConfig" json:"study_config,omitempty"`
}

func (*CreateStudyRequest) Descriptor

func (*CreateStudyRequest) Descriptor() ([]byte, []int)

func (*CreateStudyRequest) GetStudyConfig

func (m *CreateStudyRequest) GetStudyConfig() *StudyConfig

func (*CreateStudyRequest) ProtoMessage

func (*CreateStudyRequest) ProtoMessage()

func (*CreateStudyRequest) Reset

func (m *CreateStudyRequest) Reset()

func (*CreateStudyRequest) String

func (m *CreateStudyRequest) String() string

type CreateTrialReply

type CreateTrialReply struct {
	TrialId string `protobuf:"bytes,1,opt,name=trial_id,json=trialId" json:"trial_id,omitempty"`
}

func (*CreateTrialReply) Descriptor

func (*CreateTrialReply) Descriptor() ([]byte, []int)

func (*CreateTrialReply) GetTrialId

func (m *CreateTrialReply) GetTrialId() string

func (*CreateTrialReply) ProtoMessage

func (*CreateTrialReply) ProtoMessage()

func (*CreateTrialReply) Reset

func (m *CreateTrialReply) Reset()

func (*CreateTrialReply) String

func (m *CreateTrialReply) String() string

type CreateTrialRequest

type CreateTrialRequest struct {
	Trial *Trial `protobuf:"bytes,1,opt,name=trial" json:"trial,omitempty"`
}

func (*CreateTrialRequest) Descriptor

func (*CreateTrialRequest) Descriptor() ([]byte, []int)

func (*CreateTrialRequest) GetTrial

func (m *CreateTrialRequest) GetTrial() *Trial

func (*CreateTrialRequest) ProtoMessage

func (*CreateTrialRequest) ProtoMessage()

func (*CreateTrialRequest) Reset

func (m *CreateTrialRequest) Reset()

func (*CreateTrialRequest) String

func (m *CreateTrialRequest) String() string

type DataSetInfo

type DataSetInfo struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
}

func (*DataSetInfo) Descriptor

func (*DataSetInfo) Descriptor() ([]byte, []int)

func (*DataSetInfo) GetName

func (m *DataSetInfo) GetName() string

func (*DataSetInfo) GetPath

func (m *DataSetInfo) GetPath() string

func (*DataSetInfo) ProtoMessage

func (*DataSetInfo) ProtoMessage()

func (*DataSetInfo) Reset

func (m *DataSetInfo) Reset()

func (*DataSetInfo) String

func (m *DataSetInfo) String() string

type EarlyStoppingClient

type EarlyStoppingClient interface {
	GetShouldStopWorkers(ctx context.Context, in *GetShouldStopWorkersRequest, opts ...grpc.CallOption) (*GetShouldStopWorkersReply, error)
}

func NewEarlyStoppingClient

func NewEarlyStoppingClient(cc *grpc.ClientConn) EarlyStoppingClient

type EarlyStoppingParameter

type EarlyStoppingParameter struct {
	Name  string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

func (*EarlyStoppingParameter) Descriptor

func (*EarlyStoppingParameter) Descriptor() ([]byte, []int)

func (*EarlyStoppingParameter) GetName

func (m *EarlyStoppingParameter) GetName() string

func (*EarlyStoppingParameter) GetValue

func (m *EarlyStoppingParameter) GetValue() string

func (*EarlyStoppingParameter) ProtoMessage

func (*EarlyStoppingParameter) ProtoMessage()

func (*EarlyStoppingParameter) Reset

func (m *EarlyStoppingParameter) Reset()

func (*EarlyStoppingParameter) String

func (m *EarlyStoppingParameter) String() string

type EarlyStoppingParameterSet

type EarlyStoppingParameterSet struct {
	ParamId                 string                    `protobuf:"bytes,1,opt,name=param_id,json=paramId" json:"param_id,omitempty"`
	EarlyStoppingAlgorithm  string                    `protobuf:"bytes,2,opt,name=early_stopping_algorithm,json=earlyStoppingAlgorithm" json:"early_stopping_algorithm,omitempty"`
	EarlyStoppingParameters []*EarlyStoppingParameter `protobuf:"bytes,3,rep,name=early_stopping_parameters,json=earlyStoppingParameters" json:"early_stopping_parameters,omitempty"`
}

func (*EarlyStoppingParameterSet) Descriptor

func (*EarlyStoppingParameterSet) Descriptor() ([]byte, []int)

func (*EarlyStoppingParameterSet) GetEarlyStoppingAlgorithm

func (m *EarlyStoppingParameterSet) GetEarlyStoppingAlgorithm() string

func (*EarlyStoppingParameterSet) GetEarlyStoppingParameters

func (m *EarlyStoppingParameterSet) GetEarlyStoppingParameters() []*EarlyStoppingParameter

func (*EarlyStoppingParameterSet) GetParamId

func (m *EarlyStoppingParameterSet) GetParamId() string

func (*EarlyStoppingParameterSet) ProtoMessage

func (*EarlyStoppingParameterSet) ProtoMessage()

func (*EarlyStoppingParameterSet) Reset

func (m *EarlyStoppingParameterSet) Reset()

func (*EarlyStoppingParameterSet) String

func (m *EarlyStoppingParameterSet) String() string

type EarlyStoppingServer

type EarlyStoppingServer interface {
	GetShouldStopWorkers(context.Context, *GetShouldStopWorkersRequest) (*GetShouldStopWorkersReply, error)
}

type FeasibleSpace

type FeasibleSpace struct {
	Max  string   `protobuf:"bytes,1,opt,name=max" json:"max,omitempty"`
	Min  string   `protobuf:"bytes,2,opt,name=min" json:"min,omitempty"`
	List []string `protobuf:"bytes,3,rep,name=list" json:"list,omitempty"`
}

func (*FeasibleSpace) Descriptor

func (*FeasibleSpace) Descriptor() ([]byte, []int)

func (*FeasibleSpace) GetList

func (m *FeasibleSpace) GetList() []string

func (*FeasibleSpace) GetMax

func (m *FeasibleSpace) GetMax() string

func (*FeasibleSpace) GetMin

func (m *FeasibleSpace) GetMin() string

func (*FeasibleSpace) ProtoMessage

func (*FeasibleSpace) ProtoMessage()

func (*FeasibleSpace) Reset

func (m *FeasibleSpace) Reset()

func (*FeasibleSpace) String

func (m *FeasibleSpace) String() string

type GetEarlyStoppingParameterListReply

type GetEarlyStoppingParameterListReply struct {
	EarlyStoppingParameterSets []*EarlyStoppingParameterSet `` /* 136-byte string literal not displayed */
}

func (*GetEarlyStoppingParameterListReply) Descriptor

func (*GetEarlyStoppingParameterListReply) Descriptor() ([]byte, []int)

func (*GetEarlyStoppingParameterListReply) GetEarlyStoppingParameterSets

func (m *GetEarlyStoppingParameterListReply) GetEarlyStoppingParameterSets() []*EarlyStoppingParameterSet

func (*GetEarlyStoppingParameterListReply) ProtoMessage

func (*GetEarlyStoppingParameterListReply) ProtoMessage()

func (*GetEarlyStoppingParameterListReply) Reset

func (*GetEarlyStoppingParameterListReply) String

type GetEarlyStoppingParameterListRequest

type GetEarlyStoppingParameterListRequest struct {
	StudyId string `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
}

func (*GetEarlyStoppingParameterListRequest) Descriptor

func (*GetEarlyStoppingParameterListRequest) Descriptor() ([]byte, []int)

func (*GetEarlyStoppingParameterListRequest) GetStudyId

func (*GetEarlyStoppingParameterListRequest) ProtoMessage

func (*GetEarlyStoppingParameterListRequest) ProtoMessage()

func (*GetEarlyStoppingParameterListRequest) Reset

func (*GetEarlyStoppingParameterListRequest) String

type GetEarlyStoppingParametersReply

type GetEarlyStoppingParametersReply struct {
	EarlyStoppingParameters []*EarlyStoppingParameter `protobuf:"bytes,1,rep,name=early_stopping_parameters,json=earlyStoppingParameters" json:"early_stopping_parameters,omitempty"`
}

func (*GetEarlyStoppingParametersReply) Descriptor

func (*GetEarlyStoppingParametersReply) Descriptor() ([]byte, []int)

func (*GetEarlyStoppingParametersReply) GetEarlyStoppingParameters

func (m *GetEarlyStoppingParametersReply) GetEarlyStoppingParameters() []*EarlyStoppingParameter

func (*GetEarlyStoppingParametersReply) ProtoMessage

func (*GetEarlyStoppingParametersReply) ProtoMessage()

func (*GetEarlyStoppingParametersReply) Reset

func (*GetEarlyStoppingParametersReply) String

type GetEarlyStoppingParametersRequest

type GetEarlyStoppingParametersRequest struct {
	ParamId string `protobuf:"bytes,1,opt,name=param_id,json=paramId" json:"param_id,omitempty"`
}

func (*GetEarlyStoppingParametersRequest) Descriptor

func (*GetEarlyStoppingParametersRequest) Descriptor() ([]byte, []int)

func (*GetEarlyStoppingParametersRequest) GetParamId

func (m *GetEarlyStoppingParametersRequest) GetParamId() string

func (*GetEarlyStoppingParametersRequest) ProtoMessage

func (*GetEarlyStoppingParametersRequest) ProtoMessage()

func (*GetEarlyStoppingParametersRequest) Reset

func (*GetEarlyStoppingParametersRequest) String

type GetMetricsReply

type GetMetricsReply struct {
	MetricsLogSets []*MetricsLogSet `protobuf:"bytes,1,rep,name=metrics_log_sets,json=metricsLogSets" json:"metrics_log_sets,omitempty"`
}

func (*GetMetricsReply) Descriptor

func (*GetMetricsReply) Descriptor() ([]byte, []int)

func (*GetMetricsReply) GetMetricsLogSets

func (m *GetMetricsReply) GetMetricsLogSets() []*MetricsLogSet

func (*GetMetricsReply) ProtoMessage

func (*GetMetricsReply) ProtoMessage()

func (*GetMetricsReply) Reset

func (m *GetMetricsReply) Reset()

func (*GetMetricsReply) String

func (m *GetMetricsReply) String() string

type GetMetricsRequest

type GetMetricsRequest struct {
	StudyId      string   `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
	WorkerIds    []string `protobuf:"bytes,2,rep,name=worker_ids,json=workerIds" json:"worker_ids,omitempty"`
	MetricsNames []string `protobuf:"bytes,3,rep,name=metrics_names,json=metricsNames" json:"metrics_names,omitempty"`
}

func (*GetMetricsRequest) Descriptor

func (*GetMetricsRequest) Descriptor() ([]byte, []int)

func (*GetMetricsRequest) GetMetricsNames

func (m *GetMetricsRequest) GetMetricsNames() []string

func (*GetMetricsRequest) GetStudyId

func (m *GetMetricsRequest) GetStudyId() string

func (*GetMetricsRequest) GetWorkerIds

func (m *GetMetricsRequest) GetWorkerIds() []string

func (*GetMetricsRequest) ProtoMessage

func (*GetMetricsRequest) ProtoMessage()

func (*GetMetricsRequest) Reset

func (m *GetMetricsRequest) Reset()

func (*GetMetricsRequest) String

func (m *GetMetricsRequest) String() string

type GetSavedModelReply

type GetSavedModelReply struct {
	Model *ModelInfo `protobuf:"bytes,1,opt,name=model" json:"model,omitempty"`
}

func (*GetSavedModelReply) Descriptor

func (*GetSavedModelReply) Descriptor() ([]byte, []int)

func (*GetSavedModelReply) GetModel

func (m *GetSavedModelReply) GetModel() *ModelInfo

func (*GetSavedModelReply) ProtoMessage

func (*GetSavedModelReply) ProtoMessage()

func (*GetSavedModelReply) Reset

func (m *GetSavedModelReply) Reset()

func (*GetSavedModelReply) String

func (m *GetSavedModelReply) String() string

type GetSavedModelRequest

type GetSavedModelRequest struct {
	StudyName string `protobuf:"bytes,1,opt,name=study_name,json=studyName" json:"study_name,omitempty"`
	WorkerId  string `protobuf:"bytes,2,opt,name=worker_id,json=workerId" json:"worker_id,omitempty"`
}

func (*GetSavedModelRequest) Descriptor

func (*GetSavedModelRequest) Descriptor() ([]byte, []int)

func (*GetSavedModelRequest) GetStudyName

func (m *GetSavedModelRequest) GetStudyName() string

func (*GetSavedModelRequest) GetWorkerId

func (m *GetSavedModelRequest) GetWorkerId() string

func (*GetSavedModelRequest) ProtoMessage

func (*GetSavedModelRequest) ProtoMessage()

func (*GetSavedModelRequest) Reset

func (m *GetSavedModelRequest) Reset()

func (*GetSavedModelRequest) String

func (m *GetSavedModelRequest) String() string

type GetSavedModelsReply

type GetSavedModelsReply struct {
	Models []*ModelInfo `protobuf:"bytes,1,rep,name=models" json:"models,omitempty"`
}

func (*GetSavedModelsReply) Descriptor

func (*GetSavedModelsReply) Descriptor() ([]byte, []int)

func (*GetSavedModelsReply) GetModels

func (m *GetSavedModelsReply) GetModels() []*ModelInfo

func (*GetSavedModelsReply) ProtoMessage

func (*GetSavedModelsReply) ProtoMessage()

func (*GetSavedModelsReply) Reset

func (m *GetSavedModelsReply) Reset()

func (*GetSavedModelsReply) String

func (m *GetSavedModelsReply) String() string

type GetSavedModelsRequest

type GetSavedModelsRequest struct {
	StudyName string `protobuf:"bytes,1,opt,name=study_name,json=studyName" json:"study_name,omitempty"`
}

func (*GetSavedModelsRequest) Descriptor

func (*GetSavedModelsRequest) Descriptor() ([]byte, []int)

func (*GetSavedModelsRequest) GetStudyName

func (m *GetSavedModelsRequest) GetStudyName() string

func (*GetSavedModelsRequest) ProtoMessage

func (*GetSavedModelsRequest) ProtoMessage()

func (*GetSavedModelsRequest) Reset

func (m *GetSavedModelsRequest) Reset()

func (*GetSavedModelsRequest) String

func (m *GetSavedModelsRequest) String() string

type GetSavedStudiesReply

type GetSavedStudiesReply struct {
	Studies []*StudyOverview `protobuf:"bytes,1,rep,name=studies" json:"studies,omitempty"`
}

func (*GetSavedStudiesReply) Descriptor

func (*GetSavedStudiesReply) Descriptor() ([]byte, []int)

func (*GetSavedStudiesReply) GetStudies

func (m *GetSavedStudiesReply) GetStudies() []*StudyOverview

func (*GetSavedStudiesReply) ProtoMessage

func (*GetSavedStudiesReply) ProtoMessage()

func (*GetSavedStudiesReply) Reset

func (m *GetSavedStudiesReply) Reset()

func (*GetSavedStudiesReply) String

func (m *GetSavedStudiesReply) String() string

type GetSavedStudiesRequest

type GetSavedStudiesRequest struct {
}

func (*GetSavedStudiesRequest) Descriptor

func (*GetSavedStudiesRequest) Descriptor() ([]byte, []int)

func (*GetSavedStudiesRequest) ProtoMessage

func (*GetSavedStudiesRequest) ProtoMessage()

func (*GetSavedStudiesRequest) Reset

func (m *GetSavedStudiesRequest) Reset()

func (*GetSavedStudiesRequest) String

func (m *GetSavedStudiesRequest) String() string

type GetShouldStopWorkersReply

type GetShouldStopWorkersReply struct {
	ShouldStopWorkerIds []string `protobuf:"bytes,1,rep,name=should_stop_worker_ids,json=shouldStopWorkerIds" json:"should_stop_worker_ids,omitempty"`
}

func (*GetShouldStopWorkersReply) Descriptor

func (*GetShouldStopWorkersReply) Descriptor() ([]byte, []int)

func (*GetShouldStopWorkersReply) GetShouldStopWorkerIds

func (m *GetShouldStopWorkersReply) GetShouldStopWorkerIds() []string

func (*GetShouldStopWorkersReply) ProtoMessage

func (*GetShouldStopWorkersReply) ProtoMessage()

func (*GetShouldStopWorkersReply) Reset

func (m *GetShouldStopWorkersReply) Reset()

func (*GetShouldStopWorkersReply) String

func (m *GetShouldStopWorkersReply) String() string

type GetShouldStopWorkersRequest

type GetShouldStopWorkersRequest struct {
	StudyId                string `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
	EarlyStoppingAlgorithm string `protobuf:"bytes,2,opt,name=early_stopping_algorithm,json=earlyStoppingAlgorithm" json:"early_stopping_algorithm,omitempty"`
	ParamId                string `protobuf:"bytes,5,opt,name=param_id,json=paramId" json:"param_id,omitempty"`
}

func (*GetShouldStopWorkersRequest) Descriptor

func (*GetShouldStopWorkersRequest) Descriptor() ([]byte, []int)

func (*GetShouldStopWorkersRequest) GetEarlyStoppingAlgorithm

func (m *GetShouldStopWorkersRequest) GetEarlyStoppingAlgorithm() string

func (*GetShouldStopWorkersRequest) GetParamId

func (m *GetShouldStopWorkersRequest) GetParamId() string

func (*GetShouldStopWorkersRequest) GetStudyId

func (m *GetShouldStopWorkersRequest) GetStudyId() string

func (*GetShouldStopWorkersRequest) ProtoMessage

func (*GetShouldStopWorkersRequest) ProtoMessage()

func (*GetShouldStopWorkersRequest) Reset

func (m *GetShouldStopWorkersRequest) Reset()

func (*GetShouldStopWorkersRequest) String

func (m *GetShouldStopWorkersRequest) String() string

type GetStudyListReply

type GetStudyListReply struct {
	StudyOverviews []*StudyOverview `protobuf:"bytes,1,rep,name=study_overviews,json=studyOverviews" json:"study_overviews,omitempty"`
}

func (*GetStudyListReply) Descriptor

func (*GetStudyListReply) Descriptor() ([]byte, []int)

func (*GetStudyListReply) GetStudyOverviews

func (m *GetStudyListReply) GetStudyOverviews() []*StudyOverview

func (*GetStudyListReply) ProtoMessage

func (*GetStudyListReply) ProtoMessage()

func (*GetStudyListReply) Reset

func (m *GetStudyListReply) Reset()

func (*GetStudyListReply) String

func (m *GetStudyListReply) String() string

type GetStudyListRequest

type GetStudyListRequest struct {
}

func (*GetStudyListRequest) Descriptor

func (*GetStudyListRequest) Descriptor() ([]byte, []int)

func (*GetStudyListRequest) ProtoMessage

func (*GetStudyListRequest) ProtoMessage()

func (*GetStudyListRequest) Reset

func (m *GetStudyListRequest) Reset()

func (*GetStudyListRequest) String

func (m *GetStudyListRequest) String() string

type GetStudyReply

type GetStudyReply struct {
	StudyConfig *StudyConfig `protobuf:"bytes,1,opt,name=study_config,json=studyConfig" json:"study_config,omitempty"`
}

func (*GetStudyReply) Descriptor

func (*GetStudyReply) Descriptor() ([]byte, []int)

func (*GetStudyReply) GetStudyConfig

func (m *GetStudyReply) GetStudyConfig() *StudyConfig

func (*GetStudyReply) ProtoMessage

func (*GetStudyReply) ProtoMessage()

func (*GetStudyReply) Reset

func (m *GetStudyReply) Reset()

func (*GetStudyReply) String

func (m *GetStudyReply) String() string

type GetStudyRequest

type GetStudyRequest struct {
	StudyId string `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
}

func (*GetStudyRequest) Descriptor

func (*GetStudyRequest) Descriptor() ([]byte, []int)

func (*GetStudyRequest) GetStudyId

func (m *GetStudyRequest) GetStudyId() string

func (*GetStudyRequest) ProtoMessage

func (*GetStudyRequest) ProtoMessage()

func (*GetStudyRequest) Reset

func (m *GetStudyRequest) Reset()

func (*GetStudyRequest) String

func (m *GetStudyRequest) String() string

type GetSuggestionParameterListReply

type GetSuggestionParameterListReply struct {
	SuggestionParameterSets []*SuggestionParameterSet `protobuf:"bytes,1,rep,name=suggestion_parameter_sets,json=suggestionParameterSets" json:"suggestion_parameter_sets,omitempty"`
}

func (*GetSuggestionParameterListReply) Descriptor

func (*GetSuggestionParameterListReply) Descriptor() ([]byte, []int)

func (*GetSuggestionParameterListReply) GetSuggestionParameterSets

func (m *GetSuggestionParameterListReply) GetSuggestionParameterSets() []*SuggestionParameterSet

func (*GetSuggestionParameterListReply) ProtoMessage

func (*GetSuggestionParameterListReply) ProtoMessage()

func (*GetSuggestionParameterListReply) Reset

func (*GetSuggestionParameterListReply) String

type GetSuggestionParameterListRequest

type GetSuggestionParameterListRequest struct {
	StudyId string `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
}

func (*GetSuggestionParameterListRequest) Descriptor

func (*GetSuggestionParameterListRequest) Descriptor() ([]byte, []int)

func (*GetSuggestionParameterListRequest) GetStudyId

func (m *GetSuggestionParameterListRequest) GetStudyId() string

func (*GetSuggestionParameterListRequest) ProtoMessage

func (*GetSuggestionParameterListRequest) ProtoMessage()

func (*GetSuggestionParameterListRequest) Reset

func (*GetSuggestionParameterListRequest) String

type GetSuggestionParametersReply

type GetSuggestionParametersReply struct {
	SuggestionParameters []*SuggestionParameter `protobuf:"bytes,1,rep,name=suggestion_parameters,json=suggestionParameters" json:"suggestion_parameters,omitempty"`
}

func (*GetSuggestionParametersReply) Descriptor

func (*GetSuggestionParametersReply) Descriptor() ([]byte, []int)

func (*GetSuggestionParametersReply) GetSuggestionParameters

func (m *GetSuggestionParametersReply) GetSuggestionParameters() []*SuggestionParameter

func (*GetSuggestionParametersReply) ProtoMessage

func (*GetSuggestionParametersReply) ProtoMessage()

func (*GetSuggestionParametersReply) Reset

func (m *GetSuggestionParametersReply) Reset()

func (*GetSuggestionParametersReply) String

type GetSuggestionParametersRequest

type GetSuggestionParametersRequest struct {
	ParamId string `protobuf:"bytes,1,opt,name=param_id,json=paramId" json:"param_id,omitempty"`
}

func (*GetSuggestionParametersRequest) Descriptor

func (*GetSuggestionParametersRequest) Descriptor() ([]byte, []int)

func (*GetSuggestionParametersRequest) GetParamId

func (m *GetSuggestionParametersRequest) GetParamId() string

func (*GetSuggestionParametersRequest) ProtoMessage

func (*GetSuggestionParametersRequest) ProtoMessage()

func (*GetSuggestionParametersRequest) Reset

func (m *GetSuggestionParametersRequest) Reset()

func (*GetSuggestionParametersRequest) String

type GetSuggestionsReply

type GetSuggestionsReply struct {
	Trials []*Trial `protobuf:"bytes,1,rep,name=trials" json:"trials,omitempty"`
}

func (*GetSuggestionsReply) Descriptor

func (*GetSuggestionsReply) Descriptor() ([]byte, []int)

func (*GetSuggestionsReply) GetTrials

func (m *GetSuggestionsReply) GetTrials() []*Trial

func (*GetSuggestionsReply) ProtoMessage

func (*GetSuggestionsReply) ProtoMessage()

func (*GetSuggestionsReply) Reset

func (m *GetSuggestionsReply) Reset()

func (*GetSuggestionsReply) String

func (m *GetSuggestionsReply) String() string

type GetSuggestionsRequest

type GetSuggestionsRequest struct {
	StudyId             string   `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
	SuggestionAlgorithm string   `protobuf:"bytes,2,opt,name=suggestion_algorithm,json=suggestionAlgorithm" json:"suggestion_algorithm,omitempty"`
	RequestNumber       int32    `protobuf:"varint,3,opt,name=request_number,json=requestNumber" json:"request_number,omitempty"`
	LogWorkerIds        []string `protobuf:"bytes,4,rep,name=log_worker_ids,json=logWorkerIds" json:"log_worker_ids,omitempty"`
	ParamId             string   `protobuf:"bytes,5,opt,name=param_id,json=paramId" json:"param_id,omitempty"`
}

func (*GetSuggestionsRequest) Descriptor

func (*GetSuggestionsRequest) Descriptor() ([]byte, []int)

func (*GetSuggestionsRequest) GetLogWorkerIds

func (m *GetSuggestionsRequest) GetLogWorkerIds() []string

func (*GetSuggestionsRequest) GetParamId

func (m *GetSuggestionsRequest) GetParamId() string

func (*GetSuggestionsRequest) GetRequestNumber

func (m *GetSuggestionsRequest) GetRequestNumber() int32

func (*GetSuggestionsRequest) GetStudyId

func (m *GetSuggestionsRequest) GetStudyId() string

func (*GetSuggestionsRequest) GetSuggestionAlgorithm

func (m *GetSuggestionsRequest) GetSuggestionAlgorithm() string

func (*GetSuggestionsRequest) ProtoMessage

func (*GetSuggestionsRequest) ProtoMessage()

func (*GetSuggestionsRequest) Reset

func (m *GetSuggestionsRequest) Reset()

func (*GetSuggestionsRequest) String

func (m *GetSuggestionsRequest) String() string

type GetTrialsReply

type GetTrialsReply struct {
	Trials []*Trial `protobuf:"bytes,1,rep,name=trials" json:"trials,omitempty"`
}

func (*GetTrialsReply) Descriptor

func (*GetTrialsReply) Descriptor() ([]byte, []int)

func (*GetTrialsReply) GetTrials

func (m *GetTrialsReply) GetTrials() []*Trial

func (*GetTrialsReply) ProtoMessage

func (*GetTrialsReply) ProtoMessage()

func (*GetTrialsReply) Reset

func (m *GetTrialsReply) Reset()

func (*GetTrialsReply) String

func (m *GetTrialsReply) String() string

type GetTrialsRequest

type GetTrialsRequest struct {
	StudyId string `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
}

func (*GetTrialsRequest) Descriptor

func (*GetTrialsRequest) Descriptor() ([]byte, []int)

func (*GetTrialsRequest) GetStudyId

func (m *GetTrialsRequest) GetStudyId() string

func (*GetTrialsRequest) ProtoMessage

func (*GetTrialsRequest) ProtoMessage()

func (*GetTrialsRequest) Reset

func (m *GetTrialsRequest) Reset()

func (*GetTrialsRequest) String

func (m *GetTrialsRequest) String() string

type GetWorkersReply

type GetWorkersReply struct {
	Workers []*Worker `protobuf:"bytes,1,rep,name=workers" json:"workers,omitempty"`
}

func (*GetWorkersReply) Descriptor

func (*GetWorkersReply) Descriptor() ([]byte, []int)

func (*GetWorkersReply) GetWorkers

func (m *GetWorkersReply) GetWorkers() []*Worker

func (*GetWorkersReply) ProtoMessage

func (*GetWorkersReply) ProtoMessage()

func (*GetWorkersReply) Reset

func (m *GetWorkersReply) Reset()

func (*GetWorkersReply) String

func (m *GetWorkersReply) String() string

type GetWorkersRequest

type GetWorkersRequest struct {
	StudyId  string `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
	TrialId  string `protobuf:"bytes,2,opt,name=trial_id,json=trialId" json:"trial_id,omitempty"`
	WorkerId string `protobuf:"bytes,3,opt,name=worker_id,json=workerId" json:"worker_id,omitempty"`
}

func (*GetWorkersRequest) Descriptor

func (*GetWorkersRequest) Descriptor() ([]byte, []int)

func (*GetWorkersRequest) GetStudyId

func (m *GetWorkersRequest) GetStudyId() string

func (*GetWorkersRequest) GetTrialId

func (m *GetWorkersRequest) GetTrialId() string

func (*GetWorkersRequest) GetWorkerId

func (m *GetWorkersRequest) GetWorkerId() string

func (*GetWorkersRequest) ProtoMessage

func (*GetWorkersRequest) ProtoMessage()

func (*GetWorkersRequest) Reset

func (m *GetWorkersRequest) Reset()

func (*GetWorkersRequest) String

func (m *GetWorkersRequest) String() string

type ManagerClient

type ManagerClient interface {
	CreateStudy(ctx context.Context, in *CreateStudyRequest, opts ...grpc.CallOption) (*CreateStudyReply, error)
	StopStudy(ctx context.Context, in *StopStudyRequest, opts ...grpc.CallOption) (*StopStudyReply, error)
	GetStudy(ctx context.Context, in *GetStudyRequest, opts ...grpc.CallOption) (*GetStudyReply, error)
	GetStudyList(ctx context.Context, in *GetStudyListRequest, opts ...grpc.CallOption) (*GetStudyListReply, error)
	CreateTrial(ctx context.Context, in *CreateTrialRequest, opts ...grpc.CallOption) (*CreateTrialReply, error)
	GetTrials(ctx context.Context, in *GetTrialsRequest, opts ...grpc.CallOption) (*GetTrialsReply, error)
	RunTrial(ctx context.Context, in *RunTrialRequest, opts ...grpc.CallOption) (*RunTrialReply, error)
	StopWorkers(ctx context.Context, in *StopWorkersRequest, opts ...grpc.CallOption) (*StopWorkersReply, error)
	GetWorkers(ctx context.Context, in *GetWorkersRequest, opts ...grpc.CallOption) (*GetWorkersReply, error)
	GetSuggestions(ctx context.Context, in *GetSuggestionsRequest, opts ...grpc.CallOption) (*GetSuggestionsReply, error)
	GetShouldStopWorkers(ctx context.Context, in *GetShouldStopWorkersRequest, opts ...grpc.CallOption) (*GetShouldStopWorkersReply, error)
	GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsReply, error)
	SetSuggestionParameters(ctx context.Context, in *SetSuggestionParametersRequest, opts ...grpc.CallOption) (*SetSuggestionParametersReply, error)
	GetSuggestionParameters(ctx context.Context, in *GetSuggestionParametersRequest, opts ...grpc.CallOption) (*GetSuggestionParametersReply, error)
	GetSuggestionParameterList(ctx context.Context, in *GetSuggestionParameterListRequest, opts ...grpc.CallOption) (*GetSuggestionParameterListReply, error)
	SetEarlyStoppingParameters(ctx context.Context, in *SetEarlyStoppingParametersRequest, opts ...grpc.CallOption) (*SetEarlyStoppingParametersReply, error)
	GetEarlyStoppingParameters(ctx context.Context, in *GetEarlyStoppingParametersRequest, opts ...grpc.CallOption) (*GetEarlyStoppingParametersReply, error)
	GetEarlyStoppingParameterList(ctx context.Context, in *GetEarlyStoppingParameterListRequest, opts ...grpc.CallOption) (*GetEarlyStoppingParameterListReply, error)
	SaveStudy(ctx context.Context, in *SaveStudyRequest, opts ...grpc.CallOption) (*SaveStudyReply, error)
	SaveModel(ctx context.Context, in *SaveModelRequest, opts ...grpc.CallOption) (*SaveModelReply, error)
	GetSavedStudies(ctx context.Context, in *GetSavedStudiesRequest, opts ...grpc.CallOption) (*GetSavedStudiesReply, error)
	GetSavedModels(ctx context.Context, in *GetSavedModelsRequest, opts ...grpc.CallOption) (*GetSavedModelsReply, error)
}

func NewManagerClient

func NewManagerClient(cc *grpc.ClientConn) ManagerClient

type ManagerServer

type ManagerServer interface {
	CreateStudy(context.Context, *CreateStudyRequest) (*CreateStudyReply, error)
	StopStudy(context.Context, *StopStudyRequest) (*StopStudyReply, error)
	GetStudy(context.Context, *GetStudyRequest) (*GetStudyReply, error)
	GetStudyList(context.Context, *GetStudyListRequest) (*GetStudyListReply, error)
	CreateTrial(context.Context, *CreateTrialRequest) (*CreateTrialReply, error)
	GetTrials(context.Context, *GetTrialsRequest) (*GetTrialsReply, error)
	RunTrial(context.Context, *RunTrialRequest) (*RunTrialReply, error)
	StopWorkers(context.Context, *StopWorkersRequest) (*StopWorkersReply, error)
	GetWorkers(context.Context, *GetWorkersRequest) (*GetWorkersReply, error)
	GetSuggestions(context.Context, *GetSuggestionsRequest) (*GetSuggestionsReply, error)
	GetShouldStopWorkers(context.Context, *GetShouldStopWorkersRequest) (*GetShouldStopWorkersReply, error)
	GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsReply, error)
	SetSuggestionParameters(context.Context, *SetSuggestionParametersRequest) (*SetSuggestionParametersReply, error)
	GetSuggestionParameters(context.Context, *GetSuggestionParametersRequest) (*GetSuggestionParametersReply, error)
	GetSuggestionParameterList(context.Context, *GetSuggestionParameterListRequest) (*GetSuggestionParameterListReply, error)
	SetEarlyStoppingParameters(context.Context, *SetEarlyStoppingParametersRequest) (*SetEarlyStoppingParametersReply, error)
	GetEarlyStoppingParameters(context.Context, *GetEarlyStoppingParametersRequest) (*GetEarlyStoppingParametersReply, error)
	GetEarlyStoppingParameterList(context.Context, *GetEarlyStoppingParameterListRequest) (*GetEarlyStoppingParameterListReply, error)
	SaveStudy(context.Context, *SaveStudyRequest) (*SaveStudyReply, error)
	SaveModel(context.Context, *SaveModelRequest) (*SaveModelReply, error)
	GetSavedStudies(context.Context, *GetSavedStudiesRequest) (*GetSavedStudiesReply, error)
	GetSavedModels(context.Context, *GetSavedModelsRequest) (*GetSavedModelsReply, error)
}

type Metrics

type Metrics struct {
	Name  string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

func (*Metrics) Descriptor

func (*Metrics) Descriptor() ([]byte, []int)

func (*Metrics) GetName

func (m *Metrics) GetName() string

func (*Metrics) GetValue

func (m *Metrics) GetValue() string

func (*Metrics) ProtoMessage

func (*Metrics) ProtoMessage()

func (*Metrics) Reset

func (m *Metrics) Reset()

func (*Metrics) String

func (m *Metrics) String() string

type MetricsLog

type MetricsLog struct {
	Name   string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Values []string `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"`
}

func (*MetricsLog) Descriptor

func (*MetricsLog) Descriptor() ([]byte, []int)

func (*MetricsLog) GetName

func (m *MetricsLog) GetName() string

func (*MetricsLog) GetValues

func (m *MetricsLog) GetValues() []string

func (*MetricsLog) ProtoMessage

func (*MetricsLog) ProtoMessage()

func (*MetricsLog) Reset

func (m *MetricsLog) Reset()

func (*MetricsLog) String

func (m *MetricsLog) String() string

type MetricsLogSet

type MetricsLogSet struct {
	WorkerId    string        `protobuf:"bytes,1,opt,name=worker_id,json=workerId" json:"worker_id,omitempty"`
	MetricsLogs []*MetricsLog `protobuf:"bytes,2,rep,name=metrics_logs,json=metricsLogs" json:"metrics_logs,omitempty"`
}

func (*MetricsLogSet) Descriptor

func (*MetricsLogSet) Descriptor() ([]byte, []int)

func (*MetricsLogSet) GetMetricsLogs

func (m *MetricsLogSet) GetMetricsLogs() []*MetricsLog

func (*MetricsLogSet) GetWorkerId

func (m *MetricsLogSet) GetWorkerId() string

func (*MetricsLogSet) ProtoMessage

func (*MetricsLogSet) ProtoMessage()

func (*MetricsLogSet) Reset

func (m *MetricsLogSet) Reset()

func (*MetricsLogSet) String

func (m *MetricsLogSet) String() string

type ModelInfo

type ModelInfo struct {
	StudyName  string       `protobuf:"bytes,1,opt,name=study_name,json=studyName" json:"study_name,omitempty"`
	WorkerId   string       `protobuf:"bytes,2,opt,name=worker_id,json=workerId" json:"worker_id,omitempty"`
	Parameters []*Parameter `protobuf:"bytes,3,rep,name=parameters" json:"parameters,omitempty"`
	Metrics    []*Metrics   `protobuf:"bytes,4,rep,name=metrics" json:"metrics,omitempty"`
	ModelPath  string       `protobuf:"bytes,5,opt,name=model_path,json=modelPath" json:"model_path,omitempty"`
}

func (*ModelInfo) Descriptor

func (*ModelInfo) Descriptor() ([]byte, []int)

func (*ModelInfo) GetMetrics

func (m *ModelInfo) GetMetrics() []*Metrics

func (*ModelInfo) GetModelPath

func (m *ModelInfo) GetModelPath() string

func (*ModelInfo) GetParameters

func (m *ModelInfo) GetParameters() []*Parameter

func (*ModelInfo) GetStudyName

func (m *ModelInfo) GetStudyName() string

func (*ModelInfo) GetWorkerId

func (m *ModelInfo) GetWorkerId() string

func (*ModelInfo) ProtoMessage

func (*ModelInfo) ProtoMessage()

func (*ModelInfo) Reset

func (m *ModelInfo) Reset()

func (*ModelInfo) String

func (m *ModelInfo) String() string

type MountConf

type MountConf struct {
	Pvc  string `protobuf:"bytes,1,opt,name=pvc" json:"pvc,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
}

func (*MountConf) Descriptor

func (*MountConf) Descriptor() ([]byte, []int)

func (*MountConf) GetPath

func (m *MountConf) GetPath() string

func (*MountConf) GetPvc

func (m *MountConf) GetPvc() string

func (*MountConf) ProtoMessage

func (*MountConf) ProtoMessage()

func (*MountConf) Reset

func (m *MountConf) Reset()

func (*MountConf) String

func (m *MountConf) String() string

type OptimizationType

type OptimizationType int32
const (
	// Not used
	OptimizationType_UNKNOWN_OPTIMIZATION OptimizationType = 0
	OptimizationType_MINIMIZE             OptimizationType = 1
	OptimizationType_MAXIMIZE             OptimizationType = 2
)

func (OptimizationType) EnumDescriptor

func (OptimizationType) EnumDescriptor() ([]byte, []int)

func (OptimizationType) String

func (x OptimizationType) String() string

type Parameter

type Parameter struct {
	Name          string        `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	ParameterType ParameterType `protobuf:"varint,2,opt,name=parameter_type,json=parameterType,enum=api.ParameterType" json:"parameter_type,omitempty"`
	Value         string        `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
}

func (*Parameter) Descriptor

func (*Parameter) Descriptor() ([]byte, []int)

func (*Parameter) GetName

func (m *Parameter) GetName() string

func (*Parameter) GetParameterType

func (m *Parameter) GetParameterType() ParameterType

func (*Parameter) GetValue

func (m *Parameter) GetValue() string

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) String

func (m *Parameter) String() string

type ParameterConfig

type ParameterConfig struct {
	Name          string        `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	ParameterType ParameterType `protobuf:"varint,2,opt,name=parameter_type,json=parameterType,enum=api.ParameterType" json:"parameter_type,omitempty"`
	// The following values defines a feasible parameter space.
	Feasible *FeasibleSpace `protobuf:"bytes,3,opt,name=feasible" json:"feasible,omitempty"`
}

func (*ParameterConfig) Descriptor

func (*ParameterConfig) Descriptor() ([]byte, []int)

func (*ParameterConfig) GetFeasible

func (m *ParameterConfig) GetFeasible() *FeasibleSpace

func (*ParameterConfig) GetName

func (m *ParameterConfig) GetName() string

func (*ParameterConfig) GetParameterType

func (m *ParameterConfig) GetParameterType() ParameterType

func (*ParameterConfig) ProtoMessage

func (*ParameterConfig) ProtoMessage()

func (*ParameterConfig) Reset

func (m *ParameterConfig) Reset()

func (*ParameterConfig) String

func (m *ParameterConfig) String() string

type ParameterType

type ParameterType int32
const (
	// Not used
	ParameterType_UNKNOWN_TYPE ParameterType = 0
	ParameterType_DOUBLE       ParameterType = 1
	ParameterType_INT          ParameterType = 2
	ParameterType_DISCRETE     ParameterType = 3
	ParameterType_CATEGORICAL  ParameterType = 4
)

func (ParameterType) EnumDescriptor

func (ParameterType) EnumDescriptor() ([]byte, []int)

func (ParameterType) String

func (x ParameterType) String() string

type RunTrialReply

type RunTrialReply struct {
	WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId" json:"worker_id,omitempty"`
}

func (*RunTrialReply) Descriptor

func (*RunTrialReply) Descriptor() ([]byte, []int)

func (*RunTrialReply) GetWorkerId

func (m *RunTrialReply) GetWorkerId() string

func (*RunTrialReply) ProtoMessage

func (*RunTrialReply) ProtoMessage()

func (*RunTrialReply) Reset

func (m *RunTrialReply) Reset()

func (*RunTrialReply) String

func (m *RunTrialReply) String() string

type RunTrialRequest

type RunTrialRequest struct {
	StudyId      string        `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
	TrialId      string        `protobuf:"bytes,2,opt,name=trial_id,json=trialId" json:"trial_id,omitempty"`
	Runtime      string        `protobuf:"bytes,3,opt,name=runtime" json:"runtime,omitempty"`
	WorkerConfig *WorkerConfig `protobuf:"bytes,4,opt,name=worker_config,json=workerConfig" json:"worker_config,omitempty"`
}

func (*RunTrialRequest) Descriptor

func (*RunTrialRequest) Descriptor() ([]byte, []int)

func (*RunTrialRequest) GetRuntime

func (m *RunTrialRequest) GetRuntime() string

func (*RunTrialRequest) GetStudyId

func (m *RunTrialRequest) GetStudyId() string

func (*RunTrialRequest) GetTrialId

func (m *RunTrialRequest) GetTrialId() string

func (*RunTrialRequest) GetWorkerConfig

func (m *RunTrialRequest) GetWorkerConfig() *WorkerConfig

func (*RunTrialRequest) ProtoMessage

func (*RunTrialRequest) ProtoMessage()

func (*RunTrialRequest) Reset

func (m *RunTrialRequest) Reset()

func (*RunTrialRequest) String

func (m *RunTrialRequest) String() string

type SaveModelReply

type SaveModelReply struct {
}

func (*SaveModelReply) Descriptor

func (*SaveModelReply) Descriptor() ([]byte, []int)

func (*SaveModelReply) ProtoMessage

func (*SaveModelReply) ProtoMessage()

func (*SaveModelReply) Reset

func (m *SaveModelReply) Reset()

func (*SaveModelReply) String

func (m *SaveModelReply) String() string

type SaveModelRequest

type SaveModelRequest struct {
	Model       *ModelInfo   `protobuf:"bytes,1,opt,name=model" json:"model,omitempty"`
	DataSet     *DataSetInfo `protobuf:"bytes,2,opt,name=data_set,json=dataSet" json:"data_set,omitempty"`
	TensorBoard bool         `protobuf:"varint,3,opt,name=tensor_board,json=tensorBoard" json:"tensor_board,omitempty"`
}

func (*SaveModelRequest) Descriptor

func (*SaveModelRequest) Descriptor() ([]byte, []int)

func (*SaveModelRequest) GetDataSet

func (m *SaveModelRequest) GetDataSet() *DataSetInfo

func (*SaveModelRequest) GetModel

func (m *SaveModelRequest) GetModel() *ModelInfo

func (*SaveModelRequest) GetTensorBoard

func (m *SaveModelRequest) GetTensorBoard() bool

func (*SaveModelRequest) ProtoMessage

func (*SaveModelRequest) ProtoMessage()

func (*SaveModelRequest) Reset

func (m *SaveModelRequest) Reset()

func (*SaveModelRequest) String

func (m *SaveModelRequest) String() string

type SaveStudyReply

type SaveStudyReply struct {
}

func (*SaveStudyReply) Descriptor

func (*SaveStudyReply) Descriptor() ([]byte, []int)

func (*SaveStudyReply) ProtoMessage

func (*SaveStudyReply) ProtoMessage()

func (*SaveStudyReply) Reset

func (m *SaveStudyReply) Reset()

func (*SaveStudyReply) String

func (m *SaveStudyReply) String() string

type SaveStudyRequest

type SaveStudyRequest struct {
	StudyName   string `protobuf:"bytes,1,opt,name=study_name,json=studyName" json:"study_name,omitempty"`
	Owner       string `protobuf:"bytes,2,opt,name=owner" json:"owner,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
}

func (*SaveStudyRequest) Descriptor

func (*SaveStudyRequest) Descriptor() ([]byte, []int)

func (*SaveStudyRequest) GetDescription

func (m *SaveStudyRequest) GetDescription() string

func (*SaveStudyRequest) GetOwner

func (m *SaveStudyRequest) GetOwner() string

func (*SaveStudyRequest) GetStudyName

func (m *SaveStudyRequest) GetStudyName() string

func (*SaveStudyRequest) ProtoMessage

func (*SaveStudyRequest) ProtoMessage()

func (*SaveStudyRequest) Reset

func (m *SaveStudyRequest) Reset()

func (*SaveStudyRequest) String

func (m *SaveStudyRequest) String() string

type SetEarlyStoppingParametersReply

type SetEarlyStoppingParametersReply struct {
	ParamId string `protobuf:"bytes,1,opt,name=param_id,json=paramId" json:"param_id,omitempty"`
}

func (*SetEarlyStoppingParametersReply) Descriptor

func (*SetEarlyStoppingParametersReply) Descriptor() ([]byte, []int)

func (*SetEarlyStoppingParametersReply) GetParamId

func (m *SetEarlyStoppingParametersReply) GetParamId() string

func (*SetEarlyStoppingParametersReply) ProtoMessage

func (*SetEarlyStoppingParametersReply) ProtoMessage()

func (*SetEarlyStoppingParametersReply) Reset

func (*SetEarlyStoppingParametersReply) String

type SetEarlyStoppingParametersRequest

type SetEarlyStoppingParametersRequest struct {
	StudyId                 string                    `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
	EarlyStoppingAlgorithm  string                    `protobuf:"bytes,2,opt,name=early_stopping_algorithm,json=earlyStoppingAlgorithm" json:"early_stopping_algorithm,omitempty"`
	ParamId                 string                    `protobuf:"bytes,3,opt,name=param_id,json=paramId" json:"param_id,omitempty"`
	EarlyStoppingParameters []*EarlyStoppingParameter `protobuf:"bytes,4,rep,name=early_stopping_parameters,json=earlyStoppingParameters" json:"early_stopping_parameters,omitempty"`
}

func (*SetEarlyStoppingParametersRequest) Descriptor

func (*SetEarlyStoppingParametersRequest) Descriptor() ([]byte, []int)

func (*SetEarlyStoppingParametersRequest) GetEarlyStoppingAlgorithm

func (m *SetEarlyStoppingParametersRequest) GetEarlyStoppingAlgorithm() string

func (*SetEarlyStoppingParametersRequest) GetEarlyStoppingParameters

func (m *SetEarlyStoppingParametersRequest) GetEarlyStoppingParameters() []*EarlyStoppingParameter

func (*SetEarlyStoppingParametersRequest) GetParamId

func (m *SetEarlyStoppingParametersRequest) GetParamId() string

func (*SetEarlyStoppingParametersRequest) GetStudyId

func (m *SetEarlyStoppingParametersRequest) GetStudyId() string

func (*SetEarlyStoppingParametersRequest) ProtoMessage

func (*SetEarlyStoppingParametersRequest) ProtoMessage()

func (*SetEarlyStoppingParametersRequest) Reset

func (*SetEarlyStoppingParametersRequest) String

type SetSuggestionParametersReply

type SetSuggestionParametersReply struct {
	ParamId string `protobuf:"bytes,1,opt,name=param_id,json=paramId" json:"param_id,omitempty"`
}

func (*SetSuggestionParametersReply) Descriptor

func (*SetSuggestionParametersReply) Descriptor() ([]byte, []int)

func (*SetSuggestionParametersReply) GetParamId

func (m *SetSuggestionParametersReply) GetParamId() string

func (*SetSuggestionParametersReply) ProtoMessage

func (*SetSuggestionParametersReply) ProtoMessage()

func (*SetSuggestionParametersReply) Reset

func (m *SetSuggestionParametersReply) Reset()

func (*SetSuggestionParametersReply) String

type SetSuggestionParametersRequest

type SetSuggestionParametersRequest struct {
	StudyId              string                 `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
	SuggestionAlgorithm  string                 `protobuf:"bytes,2,opt,name=suggestion_algorithm,json=suggestionAlgorithm" json:"suggestion_algorithm,omitempty"`
	ParamId              string                 `protobuf:"bytes,3,opt,name=param_id,json=paramId" json:"param_id,omitempty"`
	SuggestionParameters []*SuggestionParameter `protobuf:"bytes,4,rep,name=suggestion_parameters,json=suggestionParameters" json:"suggestion_parameters,omitempty"`
}

func (*SetSuggestionParametersRequest) Descriptor

func (*SetSuggestionParametersRequest) Descriptor() ([]byte, []int)

func (*SetSuggestionParametersRequest) GetParamId

func (m *SetSuggestionParametersRequest) GetParamId() string

func (*SetSuggestionParametersRequest) GetStudyId

func (m *SetSuggestionParametersRequest) GetStudyId() string

func (*SetSuggestionParametersRequest) GetSuggestionAlgorithm

func (m *SetSuggestionParametersRequest) GetSuggestionAlgorithm() string

func (*SetSuggestionParametersRequest) GetSuggestionParameters

func (m *SetSuggestionParametersRequest) GetSuggestionParameters() []*SuggestionParameter

func (*SetSuggestionParametersRequest) ProtoMessage

func (*SetSuggestionParametersRequest) ProtoMessage()

func (*SetSuggestionParametersRequest) Reset

func (m *SetSuggestionParametersRequest) Reset()

func (*SetSuggestionParametersRequest) String

type State

type State int32

This value is stored as TINYINT in MySQL.

const (
	State_PENDING   State = 0
	State_RUNNING   State = 1
	State_COMPLETED State = 2
	State_KILLED    State = 3
	State_ERROR     State = 120
)

func (State) EnumDescriptor

func (State) EnumDescriptor() ([]byte, []int)

func (State) String

func (x State) String() string

type StopStudyReply

type StopStudyReply struct {
}

func (*StopStudyReply) Descriptor

func (*StopStudyReply) Descriptor() ([]byte, []int)

func (*StopStudyReply) ProtoMessage

func (*StopStudyReply) ProtoMessage()

func (*StopStudyReply) Reset

func (m *StopStudyReply) Reset()

func (*StopStudyReply) String

func (m *StopStudyReply) String() string

type StopStudyRequest

type StopStudyRequest struct {
	StudyId string `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
}

func (*StopStudyRequest) Descriptor

func (*StopStudyRequest) Descriptor() ([]byte, []int)

func (*StopStudyRequest) GetStudyId

func (m *StopStudyRequest) GetStudyId() string

func (*StopStudyRequest) ProtoMessage

func (*StopStudyRequest) ProtoMessage()

func (*StopStudyRequest) Reset

func (m *StopStudyRequest) Reset()

func (*StopStudyRequest) String

func (m *StopStudyRequest) String() string

type StopSuggestionReply

type StopSuggestionReply struct {
}

func (*StopSuggestionReply) Descriptor

func (*StopSuggestionReply) Descriptor() ([]byte, []int)

func (*StopSuggestionReply) ProtoMessage

func (*StopSuggestionReply) ProtoMessage()

func (*StopSuggestionReply) Reset

func (m *StopSuggestionReply) Reset()

func (*StopSuggestionReply) String

func (m *StopSuggestionReply) String() string

type StopSuggestionRequest

type StopSuggestionRequest struct {
	StudyId string `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
}

func (*StopSuggestionRequest) Descriptor

func (*StopSuggestionRequest) Descriptor() ([]byte, []int)

func (*StopSuggestionRequest) GetStudyId

func (m *StopSuggestionRequest) GetStudyId() string

func (*StopSuggestionRequest) ProtoMessage

func (*StopSuggestionRequest) ProtoMessage()

func (*StopSuggestionRequest) Reset

func (m *StopSuggestionRequest) Reset()

func (*StopSuggestionRequest) String

func (m *StopSuggestionRequest) String() string

type StopWorkersReply

type StopWorkersReply struct {
}

func (*StopWorkersReply) Descriptor

func (*StopWorkersReply) Descriptor() ([]byte, []int)

func (*StopWorkersReply) ProtoMessage

func (*StopWorkersReply) ProtoMessage()

func (*StopWorkersReply) Reset

func (m *StopWorkersReply) Reset()

func (*StopWorkersReply) String

func (m *StopWorkersReply) String() string

type StopWorkersRequest

type StopWorkersRequest struct {
	StudyId    string   `protobuf:"bytes,1,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
	WorkerIds  []string `protobuf:"bytes,2,rep,name=worker_ids,json=workerIds" json:"worker_ids,omitempty"`
	IsComplete bool     `protobuf:"varint,3,opt,name=is_complete,json=isComplete" json:"is_complete,omitempty"`
}

func (*StopWorkersRequest) Descriptor

func (*StopWorkersRequest) Descriptor() ([]byte, []int)

func (*StopWorkersRequest) GetIsComplete

func (m *StopWorkersRequest) GetIsComplete() bool

func (*StopWorkersRequest) GetStudyId

func (m *StopWorkersRequest) GetStudyId() string

func (*StopWorkersRequest) GetWorkerIds

func (m *StopWorkersRequest) GetWorkerIds() []string

func (*StopWorkersRequest) ProtoMessage

func (*StopWorkersRequest) ProtoMessage()

func (*StopWorkersRequest) Reset

func (m *StopWorkersRequest) Reset()

func (*StopWorkersRequest) String

func (m *StopWorkersRequest) String() string

type StudyConfig

type StudyConfig struct {
	Name                          string                        `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Owner                         string                        `protobuf:"bytes,2,opt,name=owner" json:"owner,omitempty"`
	OptimizationType              OptimizationType              `` /* 129-byte string literal not displayed */
	OptimizationGoal              float64                       `protobuf:"fixed64,4,opt,name=optimization_goal,json=optimizationGoal" json:"optimization_goal,omitempty"`
	ParameterConfigs              *StudyConfig_ParameterConfigs `protobuf:"bytes,5,opt,name=parameter_configs,json=parameterConfigs" json:"parameter_configs,omitempty"`
	AccessPermissions             []string                      `protobuf:"bytes,6,rep,name=access_permissions,json=accessPermissions" json:"access_permissions,omitempty"`
	DefaultSuggestionAlgorithm    string                        `` /* 134-byte string literal not displayed */
	DefaultEarlyStoppingAlgorithm string                        `` /* 145-byte string literal not displayed */
	Tags                          []*Tag                        `protobuf:"bytes,9,rep,name=tags" json:"tags,omitempty"`
	ObjectiveValueName            string                        `protobuf:"bytes,10,opt,name=objective_value_name,json=objectiveValueName" json:"objective_value_name,omitempty"`
	Metrics                       []string                      `protobuf:"bytes,11,rep,name=metrics" json:"metrics,omitempty"`
}

func (*StudyConfig) Descriptor

func (*StudyConfig) Descriptor() ([]byte, []int)

func (*StudyConfig) GetAccessPermissions

func (m *StudyConfig) GetAccessPermissions() []string

func (*StudyConfig) GetDefaultEarlyStoppingAlgorithm

func (m *StudyConfig) GetDefaultEarlyStoppingAlgorithm() string

func (*StudyConfig) GetDefaultSuggestionAlgorithm

func (m *StudyConfig) GetDefaultSuggestionAlgorithm() string

func (*StudyConfig) GetMetrics

func (m *StudyConfig) GetMetrics() []string

func (*StudyConfig) GetName

func (m *StudyConfig) GetName() string

func (*StudyConfig) GetObjectiveValueName

func (m *StudyConfig) GetObjectiveValueName() string

func (*StudyConfig) GetOptimizationGoal

func (m *StudyConfig) GetOptimizationGoal() float64

func (*StudyConfig) GetOptimizationType

func (m *StudyConfig) GetOptimizationType() OptimizationType

func (*StudyConfig) GetOwner

func (m *StudyConfig) GetOwner() string

func (*StudyConfig) GetParameterConfigs

func (m *StudyConfig) GetParameterConfigs() *StudyConfig_ParameterConfigs

func (*StudyConfig) GetTags

func (m *StudyConfig) GetTags() []*Tag

func (*StudyConfig) ProtoMessage

func (*StudyConfig) ProtoMessage()

func (*StudyConfig) Reset

func (m *StudyConfig) Reset()

func (*StudyConfig) String

func (m *StudyConfig) String() string

type StudyConfig_ParameterConfigs

type StudyConfig_ParameterConfigs struct {
	Configs []*ParameterConfig `protobuf:"bytes,1,rep,name=configs" json:"configs,omitempty"`
}

func (*StudyConfig_ParameterConfigs) Descriptor

func (*StudyConfig_ParameterConfigs) Descriptor() ([]byte, []int)

func (*StudyConfig_ParameterConfigs) GetConfigs

func (m *StudyConfig_ParameterConfigs) GetConfigs() []*ParameterConfig

func (*StudyConfig_ParameterConfigs) ProtoMessage

func (*StudyConfig_ParameterConfigs) ProtoMessage()

func (*StudyConfig_ParameterConfigs) Reset

func (m *StudyConfig_ParameterConfigs) Reset()

func (*StudyConfig_ParameterConfigs) String

type StudyOverview

type StudyOverview struct {
	Name        string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Owner       string `protobuf:"bytes,2,opt,name=owner" json:"owner,omitempty"`
	Id          string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
}

func (*StudyOverview) Descriptor

func (*StudyOverview) Descriptor() ([]byte, []int)

func (*StudyOverview) GetDescription

func (m *StudyOverview) GetDescription() string

func (*StudyOverview) GetId

func (m *StudyOverview) GetId() string

func (*StudyOverview) GetName

func (m *StudyOverview) GetName() string

func (*StudyOverview) GetOwner

func (m *StudyOverview) GetOwner() string

func (*StudyOverview) ProtoMessage

func (*StudyOverview) ProtoMessage()

func (*StudyOverview) Reset

func (m *StudyOverview) Reset()

func (*StudyOverview) String

func (m *StudyOverview) String() string

type SuggestionClient

type SuggestionClient interface {
	GetSuggestions(ctx context.Context, in *GetSuggestionsRequest, opts ...grpc.CallOption) (*GetSuggestionsReply, error)
}

func NewSuggestionClient

func NewSuggestionClient(cc *grpc.ClientConn) SuggestionClient

type SuggestionParameter

type SuggestionParameter struct {
	Name  string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

func (*SuggestionParameter) Descriptor

func (*SuggestionParameter) Descriptor() ([]byte, []int)

func (*SuggestionParameter) GetName

func (m *SuggestionParameter) GetName() string

func (*SuggestionParameter) GetValue

func (m *SuggestionParameter) GetValue() string

func (*SuggestionParameter) ProtoMessage

func (*SuggestionParameter) ProtoMessage()

func (*SuggestionParameter) Reset

func (m *SuggestionParameter) Reset()

func (*SuggestionParameter) String

func (m *SuggestionParameter) String() string

type SuggestionParameterSet

type SuggestionParameterSet struct {
	ParamId              string                 `protobuf:"bytes,1,opt,name=param_id,json=paramId" json:"param_id,omitempty"`
	SuggestionAlgorithm  string                 `protobuf:"bytes,2,opt,name=suggestion_algorithm,json=suggestionAlgorithm" json:"suggestion_algorithm,omitempty"`
	SuggestionParameters []*SuggestionParameter `protobuf:"bytes,3,rep,name=suggestion_parameters,json=suggestionParameters" json:"suggestion_parameters,omitempty"`
}

func (*SuggestionParameterSet) Descriptor

func (*SuggestionParameterSet) Descriptor() ([]byte, []int)

func (*SuggestionParameterSet) GetParamId

func (m *SuggestionParameterSet) GetParamId() string

func (*SuggestionParameterSet) GetSuggestionAlgorithm

func (m *SuggestionParameterSet) GetSuggestionAlgorithm() string

func (*SuggestionParameterSet) GetSuggestionParameters

func (m *SuggestionParameterSet) GetSuggestionParameters() []*SuggestionParameter

func (*SuggestionParameterSet) ProtoMessage

func (*SuggestionParameterSet) ProtoMessage()

func (*SuggestionParameterSet) Reset

func (m *SuggestionParameterSet) Reset()

func (*SuggestionParameterSet) String

func (m *SuggestionParameterSet) String() string

type SuggestionServer

type SuggestionServer interface {
	GetSuggestions(context.Context, *GetSuggestionsRequest) (*GetSuggestionsReply, error)
}

type Tag

type Tag struct {
	Name  string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

func (*Tag) Descriptor

func (*Tag) Descriptor() ([]byte, []int)

func (*Tag) GetName

func (m *Tag) GetName() string

func (*Tag) GetValue

func (m *Tag) GetValue() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) String

func (m *Tag) String() string

type Trial

type Trial struct {
	TrialId        string       `protobuf:"bytes,1,opt,name=trial_id,json=trialId" json:"trial_id,omitempty"`
	StudyId        string       `protobuf:"bytes,2,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
	ParameterSet   []*Parameter `protobuf:"bytes,3,rep,name=parameter_set,json=parameterSet" json:"parameter_set,omitempty"`
	Status         State        `protobuf:"varint,4,opt,name=status,enum=api.State" json:"status,omitempty"`
	ObjectiveValue string       `protobuf:"bytes,5,opt,name=objective_value,json=objectiveValue" json:"objective_value,omitempty"`
	Tags           []*Tag       `protobuf:"bytes,8,rep,name=tags" json:"tags,omitempty"`
}

func (*Trial) Descriptor

func (*Trial) Descriptor() ([]byte, []int)

func (*Trial) GetObjectiveValue

func (m *Trial) GetObjectiveValue() string

func (*Trial) GetParameterSet

func (m *Trial) GetParameterSet() []*Parameter

func (*Trial) GetStatus

func (m *Trial) GetStatus() State

func (*Trial) GetStudyId

func (m *Trial) GetStudyId() string

func (*Trial) GetTags

func (m *Trial) GetTags() []*Tag

func (*Trial) GetTrialId

func (m *Trial) GetTrialId() string

func (*Trial) ProtoMessage

func (*Trial) ProtoMessage()

func (*Trial) Reset

func (m *Trial) Reset()

func (*Trial) String

func (m *Trial) String() string

type Worker

type Worker struct {
	WorkerId string        `protobuf:"bytes,1,opt,name=worker_id,json=workerId" json:"worker_id,omitempty"`
	StudyId  string        `protobuf:"bytes,2,opt,name=study_id,json=studyId" json:"study_id,omitempty"`
	TrialId  string        `protobuf:"bytes,3,opt,name=trial_id,json=trialId" json:"trial_id,omitempty"`
	Runtime  string        `protobuf:"bytes,4,opt,name=runtime" json:"runtime,omitempty"`
	Status   State         `protobuf:"varint,5,opt,name=status,enum=api.State" json:"status,omitempty"`
	Config   *WorkerConfig `protobuf:"bytes,6,opt,name=config" json:"config,omitempty"`
	Tags     []*Tag        `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"`
}

func (*Worker) Descriptor

func (*Worker) Descriptor() ([]byte, []int)

func (*Worker) GetConfig

func (m *Worker) GetConfig() *WorkerConfig

func (*Worker) GetRuntime

func (m *Worker) GetRuntime() string

func (*Worker) GetStatus

func (m *Worker) GetStatus() State

func (*Worker) GetStudyId

func (m *Worker) GetStudyId() string

func (*Worker) GetTags

func (m *Worker) GetTags() []*Tag

func (*Worker) GetTrialId

func (m *Worker) GetTrialId() string

func (*Worker) GetWorkerId

func (m *Worker) GetWorkerId() string

func (*Worker) ProtoMessage

func (*Worker) ProtoMessage()

func (*Worker) Reset

func (m *Worker) Reset()

func (*Worker) String

func (m *Worker) String() string

type WorkerConfig

type WorkerConfig struct {
	Image      string     `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"`
	Command    []string   `protobuf:"bytes,2,rep,name=command" json:"command,omitempty"`
	Gpu        int32      `protobuf:"varint,3,opt,name=gpu" json:"gpu,omitempty"`
	Scheduler  string     `protobuf:"bytes,4,opt,name=scheduler" json:"scheduler,omitempty"`
	Mount      *MountConf `protobuf:"bytes,5,opt,name=mount" json:"mount,omitempty"`
	PullSecret string     `protobuf:"bytes,6,opt,name=pull_secret,json=pullSecret" json:"pull_secret,omitempty"`
}

func (*WorkerConfig) Descriptor

func (*WorkerConfig) Descriptor() ([]byte, []int)

func (*WorkerConfig) GetCommand

func (m *WorkerConfig) GetCommand() []string

func (*WorkerConfig) GetGpu

func (m *WorkerConfig) GetGpu() int32

func (*WorkerConfig) GetImage

func (m *WorkerConfig) GetImage() string

func (*WorkerConfig) GetMount

func (m *WorkerConfig) GetMount() *MountConf

func (*WorkerConfig) GetPullSecret

func (m *WorkerConfig) GetPullSecret() string

func (*WorkerConfig) GetScheduler

func (m *WorkerConfig) GetScheduler() string

func (*WorkerConfig) ProtoMessage

func (*WorkerConfig) ProtoMessage()

func (*WorkerConfig) Reset

func (m *WorkerConfig) Reset()

func (*WorkerConfig) String

func (m *WorkerConfig) String() string

Jump to

Keyboard shortcuts

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