|
|
@ -1,7 +1,7 @@
|
|
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// versions:
|
|
|
|
// - protoc-gen-go-grpc v1.2.0
|
|
|
|
// - protoc-gen-go-grpc v1.3.0
|
|
|
|
// - protoc v3.19.4
|
|
|
|
// - protoc v4.22.2
|
|
|
|
// source: pcm-modelarts.proto
|
|
|
|
// source: pcm-modelarts.proto
|
|
|
|
|
|
|
|
|
|
|
|
package modelarts
|
|
|
|
package modelarts
|
|
|
@ -18,68 +18,109 @@ import (
|
|
|
|
// Requires gRPC-Go v1.32.0 or later.
|
|
|
|
// Requires gRPC-Go v1.32.0 or later.
|
|
|
|
const _ = grpc.SupportPackageIsVersion7
|
|
|
|
const _ = grpc.SupportPackageIsVersion7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
|
|
|
ModelArts_GetToken_FullMethodName = "/modelarts.ModelArts/GetToken"
|
|
|
|
|
|
|
|
ModelArts_GetDatasetList_FullMethodName = "/modelarts.ModelArts/GetDatasetList"
|
|
|
|
|
|
|
|
ModelArts_CreateDataSet_FullMethodName = "/modelarts.ModelArts/CreateDataSet"
|
|
|
|
|
|
|
|
ModelArts_DeleteDataSet_FullMethodName = "/modelarts.ModelArts/DeleteDataSet"
|
|
|
|
|
|
|
|
ModelArts_CreateTask_FullMethodName = "/modelarts.ModelArts/createTask"
|
|
|
|
|
|
|
|
ModelArts_GetImportTaskList_FullMethodName = "/modelarts.ModelArts/GetImportTaskList"
|
|
|
|
|
|
|
|
ModelArts_GetListTrainingJobs_FullMethodName = "/modelarts.ModelArts/GetListTrainingJobs"
|
|
|
|
|
|
|
|
ModelArts_CreateTrainingJob_FullMethodName = "/modelarts.ModelArts/CreateTrainingJob"
|
|
|
|
|
|
|
|
ModelArts_DeleteTrainingJob_FullMethodName = "/modelarts.ModelArts/DeleteTrainingJob"
|
|
|
|
|
|
|
|
ModelArts_CreateTrainingJobConfig_FullMethodName = "/modelarts.ModelArts/CreateTrainingJobConfig"
|
|
|
|
|
|
|
|
ModelArts_DeleteTrainingJobConfig_FullMethodName = "/modelarts.ModelArts/DeleteTrainingJobConfig"
|
|
|
|
|
|
|
|
ModelArts_ListTrainingJobConfig_FullMethodName = "/modelarts.ModelArts/ListTrainingJobConfig"
|
|
|
|
|
|
|
|
ModelArts_CreateAlgorithm_FullMethodName = "/modelarts.ModelArts/CreateAlgorithm"
|
|
|
|
|
|
|
|
ModelArts_ListAlgorithms_FullMethodName = "/modelarts.ModelArts/ListAlgorithms"
|
|
|
|
|
|
|
|
ModelArts_DeleteAlgorithms_FullMethodName = "/modelarts.ModelArts/DeleteAlgorithms"
|
|
|
|
|
|
|
|
ModelArts_ShowAlgorithmByUuid_FullMethodName = "/modelarts.ModelArts/ShowAlgorithmByUuid"
|
|
|
|
|
|
|
|
ModelArts_ExportTask_FullMethodName = "/modelarts.ModelArts/ExportTask"
|
|
|
|
|
|
|
|
ModelArts_GetExportTasksOfDataset_FullMethodName = "/modelarts.ModelArts/GetExportTasksOfDataset"
|
|
|
|
|
|
|
|
ModelArts_GetExportTaskStatusOfDataset_FullMethodName = "/modelarts.ModelArts/GetExportTaskStatusOfDataset"
|
|
|
|
|
|
|
|
ModelArts_CreateProcessorTask_FullMethodName = "/modelarts.ModelArts/CreateProcessorTask"
|
|
|
|
|
|
|
|
ModelArts_DescribeProcessorTask_FullMethodName = "/modelarts.ModelArts/DescribeProcessorTask"
|
|
|
|
|
|
|
|
ModelArts_CreateModel_FullMethodName = "/modelarts.ModelArts/CreateModel"
|
|
|
|
|
|
|
|
ModelArts_DeleteModel_FullMethodName = "/modelarts.ModelArts/DeleteModel"
|
|
|
|
|
|
|
|
ModelArts_ListModels_FullMethodName = "/modelarts.ModelArts/ListModels"
|
|
|
|
|
|
|
|
ModelArts_ShowModels_FullMethodName = "/modelarts.ModelArts/ShowModels"
|
|
|
|
|
|
|
|
ModelArts_CreateService_FullMethodName = "/modelarts.ModelArts/CreateService"
|
|
|
|
|
|
|
|
ModelArts_ListServices_FullMethodName = "/modelarts.ModelArts/ListServices"
|
|
|
|
|
|
|
|
ModelArts_ShowService_FullMethodName = "/modelarts.ModelArts/ShowService"
|
|
|
|
|
|
|
|
ModelArts_DeleteService_FullMethodName = "/modelarts.ModelArts/DeleteService"
|
|
|
|
|
|
|
|
ModelArts_ListClusters_FullMethodName = "/modelarts.ModelArts/ListClusters"
|
|
|
|
|
|
|
|
ModelArts_ListNotebook_FullMethodName = "/modelarts.ModelArts/ListNotebook"
|
|
|
|
|
|
|
|
ModelArts_CreateNotebook_FullMethodName = "/modelarts.ModelArts/CreateNotebook"
|
|
|
|
|
|
|
|
ModelArts_StartNotebook_FullMethodName = "/modelarts.ModelArts/StartNotebook"
|
|
|
|
|
|
|
|
ModelArts_StopNotebook_FullMethodName = "/modelarts.ModelArts/StopNotebook"
|
|
|
|
|
|
|
|
ModelArts_GetNotebookStorage_FullMethodName = "/modelarts.ModelArts/GetNotebookStorage"
|
|
|
|
|
|
|
|
ModelArts_MountNotebookStorage_FullMethodName = "/modelarts.ModelArts/MountNotebookStorage"
|
|
|
|
|
|
|
|
ModelArts_GetVisualizationJob_FullMethodName = "/modelarts.ModelArts/GetVisualizationJob"
|
|
|
|
|
|
|
|
ModelArts_CreateVisualizationJob_FullMethodName = "/modelarts.ModelArts/CreateVisualizationJob"
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// ModelArtsClient is the client API for ModelArts service.
|
|
|
|
// ModelArtsClient is the client API for ModelArts 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.
|
|
|
|
// 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.
|
|
|
|
type ModelArtsClient interface {
|
|
|
|
type ModelArtsClient interface {
|
|
|
|
//get modelarts Token
|
|
|
|
// get modelarts Token
|
|
|
|
GetToken(ctx context.Context, in *TokenReq, opts ...grpc.CallOption) (*TokenResp, error)
|
|
|
|
GetToken(ctx context.Context, in *TokenReq, opts ...grpc.CallOption) (*TokenResp, error)
|
|
|
|
//get modelarts Token
|
|
|
|
// get modelarts Token
|
|
|
|
GetDatasetList(ctx context.Context, in *DataSetReq, opts ...grpc.CallOption) (*DataSetResp, error)
|
|
|
|
GetDatasetList(ctx context.Context, in *DataSetReq, opts ...grpc.CallOption) (*DataSetResp, error)
|
|
|
|
//create DateSet
|
|
|
|
// create DateSet
|
|
|
|
CreateDataSet(ctx context.Context, in *CreateDataSetReq, opts ...grpc.CallOption) (*CreateDataSetResq, error)
|
|
|
|
CreateDataSet(ctx context.Context, in *CreateDataSetReq, opts ...grpc.CallOption) (*CreateDataSetResq, error)
|
|
|
|
//create DateSet
|
|
|
|
// create DateSet
|
|
|
|
DeleteDataSet(ctx context.Context, in *DeleteDataSetReq, opts ...grpc.CallOption) (*DeleteDataSetResq, error)
|
|
|
|
DeleteDataSet(ctx context.Context, in *DeleteDataSetReq, opts ...grpc.CallOption) (*DeleteDataSetResq, error)
|
|
|
|
//creat task 创建导入任务
|
|
|
|
// creat task 创建导入任务
|
|
|
|
CreateTask(ctx context.Context, in *ImportTaskDataReq, opts ...grpc.CallOption) (*ImportTaskDataResp, error)
|
|
|
|
CreateTask(ctx context.Context, in *ImportTaskDataReq, opts ...grpc.CallOption) (*ImportTaskDataResp, error)
|
|
|
|
//get taskList 查询数据集导入任务列表
|
|
|
|
// get taskList 查询数据集导入任务列表
|
|
|
|
GetImportTaskList(ctx context.Context, in *ListImportTasksReq, opts ...grpc.CallOption) (*ListImportTasksResp, error)
|
|
|
|
GetImportTaskList(ctx context.Context, in *ListImportTasksReq, opts ...grpc.CallOption) (*ListImportTasksResp, error)
|
|
|
|
// ListTrainingJobs 查询训练作业列表
|
|
|
|
// ListTrainingJobs 查询训练作业列表
|
|
|
|
GetListTrainingJobs(ctx context.Context, in *ListTrainingJobsreq, opts ...grpc.CallOption) (*ListTrainingJobsresp, error)
|
|
|
|
GetListTrainingJobs(ctx context.Context, in *ListTrainingJobsreq, opts ...grpc.CallOption) (*ListTrainingJobsresp, error)
|
|
|
|
// CreateTrainingJob 创建训练作业
|
|
|
|
// CreateTrainingJob 创建训练作业
|
|
|
|
CreateTrainingJob(ctx context.Context, in *CreateTrainingJobReq, opts ...grpc.CallOption) (*CreateTrainingJobResp, error)
|
|
|
|
CreateTrainingJob(ctx context.Context, in *CreateTrainingJobReq, opts ...grpc.CallOption) (*CreateTrainingJobResp, error)
|
|
|
|
// DeleteTrainingJobConfig 删除训练作业
|
|
|
|
// DeleteTrainingJobConfig 删除训练作业
|
|
|
|
DeleteTrainingJob(ctx context.Context, in *DeleteTrainingJobReq, opts ...grpc.CallOption) (*DeleteTrainingJobResp, error)
|
|
|
|
DeleteTrainingJob(ctx context.Context, in *DeleteTrainingJobReq, opts ...grpc.CallOption) (*DeleteTrainingJobResp, error)
|
|
|
|
// CreateTrainingJobConfig 创建训练作业参数
|
|
|
|
// CreateTrainingJobConfig 创建训练作业参数
|
|
|
|
CreateTrainingJobConfig(ctx context.Context, in *CreateTrainingJobConfigReq, opts ...grpc.CallOption) (*CreateTrainingJobConfigResp, error)
|
|
|
|
CreateTrainingJobConfig(ctx context.Context, in *CreateTrainingJobConfigReq, opts ...grpc.CallOption) (*CreateTrainingJobConfigResp, error)
|
|
|
|
// DeleteTrainingJobConfig 删除训练作业参数
|
|
|
|
// DeleteTrainingJobConfig 删除训练作业参数
|
|
|
|
DeleteTrainingJobConfig(ctx context.Context, in *DeleteTrainingJobConfigReq, opts ...grpc.CallOption) (*DeleteTrainingJobConfigResp, error)
|
|
|
|
DeleteTrainingJobConfig(ctx context.Context, in *DeleteTrainingJobConfigReq, opts ...grpc.CallOption) (*DeleteTrainingJobConfigResp, error)
|
|
|
|
// ListTrainingJobConfig 查询训练作业参数
|
|
|
|
// ListTrainingJobConfig 查询训练作业参数
|
|
|
|
ListTrainingJobConfig(ctx context.Context, in *ListTrainingJobConfigReq, opts ...grpc.CallOption) (*ListTrainingJobConfigResp, error)
|
|
|
|
ListTrainingJobConfig(ctx context.Context, in *ListTrainingJobConfigReq, opts ...grpc.CallOption) (*ListTrainingJobConfigResp, error)
|
|
|
|
// CreateAlgorithm 创建算法
|
|
|
|
// CreateAlgorithm 创建算法
|
|
|
|
CreateAlgorithm(ctx context.Context, in *CreateAlgorithmReq, opts ...grpc.CallOption) (*CreateAlgorithmResp, error)
|
|
|
|
CreateAlgorithm(ctx context.Context, in *CreateAlgorithmReq, opts ...grpc.CallOption) (*CreateAlgorithmResp, error)
|
|
|
|
// ListAlgorithms 查询算法
|
|
|
|
// ListAlgorithms 查询算法
|
|
|
|
ListAlgorithms(ctx context.Context, in *ListAlgorithmsReq, opts ...grpc.CallOption) (*ListAlgorithmsResp, error)
|
|
|
|
ListAlgorithms(ctx context.Context, in *ListAlgorithmsReq, opts ...grpc.CallOption) (*ListAlgorithmsResp, error)
|
|
|
|
// DeleteAlgorithms 删除算法
|
|
|
|
// DeleteAlgorithms 删除算法
|
|
|
|
DeleteAlgorithms(ctx context.Context, in *DeleteAlgorithmsReq, opts ...grpc.CallOption) (*DeleteAlgorithmsResp, error)
|
|
|
|
DeleteAlgorithms(ctx context.Context, in *DeleteAlgorithmsReq, opts ...grpc.CallOption) (*DeleteAlgorithmsResp, error)
|
|
|
|
// ShowAlgorithmByUuid 展示算法详情
|
|
|
|
// ShowAlgorithmByUuid 展示算法详情
|
|
|
|
ShowAlgorithmByUuid(ctx context.Context, in *ShowAlgorithmByUuidReq, opts ...grpc.CallOption) (*ShowAlgorithmByUuidResp, error)
|
|
|
|
ShowAlgorithmByUuid(ctx context.Context, in *ShowAlgorithmByUuidReq, opts ...grpc.CallOption) (*ShowAlgorithmByUuidResp, error)
|
|
|
|
//export task
|
|
|
|
//export task
|
|
|
|
ExportTask(ctx context.Context, in *ExportTaskReq, opts ...grpc.CallOption) (*ExportTaskDataResp, error)
|
|
|
|
ExportTask(ctx context.Context, in *ExportTaskReq, opts ...grpc.CallOption) (*ExportTaskDataResp, error)
|
|
|
|
GetExportTasksOfDataset(ctx context.Context, in *GetExportTasksOfDatasetReq, opts ...grpc.CallOption) (*GetExportTasksOfDatasetResp, error)
|
|
|
|
GetExportTasksOfDataset(ctx context.Context, in *GetExportTasksOfDatasetReq, opts ...grpc.CallOption) (*GetExportTasksOfDatasetResp, error)
|
|
|
|
GetExportTaskStatusOfDataset(ctx context.Context, in *GetExportTaskStatusOfDatasetReq, opts ...grpc.CallOption) (*GetExportTaskStatusOfDatasetResp, error)
|
|
|
|
GetExportTaskStatusOfDataset(ctx context.Context, in *GetExportTaskStatusOfDatasetReq, opts ...grpc.CallOption) (*GetExportTaskStatusOfDatasetResp, error)
|
|
|
|
//processor task
|
|
|
|
// processor task
|
|
|
|
CreateProcessorTask(ctx context.Context, in *CreateProcessorTaskReq, opts ...grpc.CallOption) (*CreateProcessorTaskResp, error)
|
|
|
|
CreateProcessorTask(ctx context.Context, in *CreateProcessorTaskReq, opts ...grpc.CallOption) (*CreateProcessorTaskResp, error)
|
|
|
|
DescribeProcessorTask(ctx context.Context, in *DescribeProcessorTaskReq, opts ...grpc.CallOption) (*DescribeProcessorTaskResp, error)
|
|
|
|
DescribeProcessorTask(ctx context.Context, in *DescribeProcessorTaskReq, opts ...grpc.CallOption) (*DescribeProcessorTaskResp, error)
|
|
|
|
//model management
|
|
|
|
// model management
|
|
|
|
CreateModel(ctx context.Context, in *CreateModelReq, opts ...grpc.CallOption) (*CreateModelResp, error)
|
|
|
|
CreateModel(ctx context.Context, in *CreateModelReq, opts ...grpc.CallOption) (*CreateModelResp, error)
|
|
|
|
DeleteModel(ctx context.Context, in *DeleteModelReq, opts ...grpc.CallOption) (*DeleteModelResp, error)
|
|
|
|
DeleteModel(ctx context.Context, in *DeleteModelReq, opts ...grpc.CallOption) (*DeleteModelResp, error)
|
|
|
|
ListModels(ctx context.Context, in *ListModelReq, opts ...grpc.CallOption) (*ListModelResp, error)
|
|
|
|
ListModels(ctx context.Context, in *ListModelReq, opts ...grpc.CallOption) (*ListModelResp, error)
|
|
|
|
ShowModels(ctx context.Context, in *ShowModelReq, opts ...grpc.CallOption) (*ShowModelResp, error)
|
|
|
|
ShowModels(ctx context.Context, in *ShowModelReq, opts ...grpc.CallOption) (*ShowModelResp, error)
|
|
|
|
//service management
|
|
|
|
// service management
|
|
|
|
CreateService(ctx context.Context, in *CreateServiceReq, opts ...grpc.CallOption) (*CreateServiceResp, error)
|
|
|
|
CreateService(ctx context.Context, in *CreateServiceReq, opts ...grpc.CallOption) (*CreateServiceResp, error)
|
|
|
|
ListServices(ctx context.Context, in *ListServicesReq, opts ...grpc.CallOption) (*ListServicesResp, error)
|
|
|
|
ListServices(ctx context.Context, in *ListServicesReq, opts ...grpc.CallOption) (*ListServicesResp, error)
|
|
|
|
ShowService(ctx context.Context, in *ShowServiceReq, opts ...grpc.CallOption) (*ShowServiceResp, error)
|
|
|
|
ShowService(ctx context.Context, in *ShowServiceReq, opts ...grpc.CallOption) (*ShowServiceResp, error)
|
|
|
|
DeleteService(ctx context.Context, in *DeleteServiceReq, opts ...grpc.CallOption) (*DeleteServiceResp, error)
|
|
|
|
DeleteService(ctx context.Context, in *DeleteServiceReq, opts ...grpc.CallOption) (*DeleteServiceResp, error)
|
|
|
|
ListClusters(ctx context.Context, in *ListClustersReq, opts ...grpc.CallOption) (*ListClustersResp, error)
|
|
|
|
ListClusters(ctx context.Context, in *ListClustersReq, opts ...grpc.CallOption) (*ListClustersResp, error)
|
|
|
|
//notebook task
|
|
|
|
// notebook task
|
|
|
|
ListNotebook(ctx context.Context, in *ListNotebookReq, opts ...grpc.CallOption) (*ListNotebookResp, error)
|
|
|
|
ListNotebook(ctx context.Context, in *ListNotebookReq, opts ...grpc.CallOption) (*ListNotebookResp, error)
|
|
|
|
CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error)
|
|
|
|
CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error)
|
|
|
|
StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error)
|
|
|
|
StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error)
|
|
|
|
StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error)
|
|
|
|
StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error)
|
|
|
|
GetNotebookStorage(ctx context.Context, in *GetNotebookStorageReq, opts ...grpc.CallOption) (*GetNotebookStorageResp, error)
|
|
|
|
GetNotebookStorage(ctx context.Context, in *GetNotebookStorageReq, opts ...grpc.CallOption) (*GetNotebookStorageResp, error)
|
|
|
|
MountNotebookStorage(ctx context.Context, in *MountNotebookStorageReq, opts ...grpc.CallOption) (*MountNotebookStorageResp, error)
|
|
|
|
MountNotebookStorage(ctx context.Context, in *MountNotebookStorageReq, opts ...grpc.CallOption) (*MountNotebookStorageResp, error)
|
|
|
|
//visualization-jobs
|
|
|
|
// visualization-jobs
|
|
|
|
GetVisualizationJob(ctx context.Context, in *GetVisualizationJobReq, opts ...grpc.CallOption) (*GetVisualizationJobResp, error)
|
|
|
|
GetVisualizationJob(ctx context.Context, in *GetVisualizationJobReq, opts ...grpc.CallOption) (*GetVisualizationJobResp, error)
|
|
|
|
CreateVisualizationJob(ctx context.Context, in *CreateVisualizationJobReq, opts ...grpc.CallOption) (*CreateVisualizationJobResp, error)
|
|
|
|
CreateVisualizationJob(ctx context.Context, in *CreateVisualizationJobReq, opts ...grpc.CallOption) (*CreateVisualizationJobResp, error)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -94,7 +135,7 @@ func NewModelArtsClient(cc grpc.ClientConnInterface) ModelArtsClient {
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) GetToken(ctx context.Context, in *TokenReq, opts ...grpc.CallOption) (*TokenResp, error) {
|
|
|
|
func (c *modelArtsClient) GetToken(ctx context.Context, in *TokenReq, opts ...grpc.CallOption) (*TokenResp, error) {
|
|
|
|
out := new(TokenResp)
|
|
|
|
out := new(TokenResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/GetToken", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_GetToken_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -103,7 +144,7 @@ func (c *modelArtsClient) GetToken(ctx context.Context, in *TokenReq, opts ...gr
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) GetDatasetList(ctx context.Context, in *DataSetReq, opts ...grpc.CallOption) (*DataSetResp, error) {
|
|
|
|
func (c *modelArtsClient) GetDatasetList(ctx context.Context, in *DataSetReq, opts ...grpc.CallOption) (*DataSetResp, error) {
|
|
|
|
out := new(DataSetResp)
|
|
|
|
out := new(DataSetResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/GetDatasetList", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_GetDatasetList_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -112,7 +153,7 @@ func (c *modelArtsClient) GetDatasetList(ctx context.Context, in *DataSetReq, op
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) CreateDataSet(ctx context.Context, in *CreateDataSetReq, opts ...grpc.CallOption) (*CreateDataSetResq, error) {
|
|
|
|
func (c *modelArtsClient) CreateDataSet(ctx context.Context, in *CreateDataSetReq, opts ...grpc.CallOption) (*CreateDataSetResq, error) {
|
|
|
|
out := new(CreateDataSetResq)
|
|
|
|
out := new(CreateDataSetResq)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/CreateDataSet", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_CreateDataSet_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -121,7 +162,7 @@ func (c *modelArtsClient) CreateDataSet(ctx context.Context, in *CreateDataSetRe
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) DeleteDataSet(ctx context.Context, in *DeleteDataSetReq, opts ...grpc.CallOption) (*DeleteDataSetResq, error) {
|
|
|
|
func (c *modelArtsClient) DeleteDataSet(ctx context.Context, in *DeleteDataSetReq, opts ...grpc.CallOption) (*DeleteDataSetResq, error) {
|
|
|
|
out := new(DeleteDataSetResq)
|
|
|
|
out := new(DeleteDataSetResq)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/DeleteDataSet", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_DeleteDataSet_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -130,7 +171,7 @@ func (c *modelArtsClient) DeleteDataSet(ctx context.Context, in *DeleteDataSetRe
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) CreateTask(ctx context.Context, in *ImportTaskDataReq, opts ...grpc.CallOption) (*ImportTaskDataResp, error) {
|
|
|
|
func (c *modelArtsClient) CreateTask(ctx context.Context, in *ImportTaskDataReq, opts ...grpc.CallOption) (*ImportTaskDataResp, error) {
|
|
|
|
out := new(ImportTaskDataResp)
|
|
|
|
out := new(ImportTaskDataResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/createTask", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_CreateTask_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -139,7 +180,7 @@ func (c *modelArtsClient) CreateTask(ctx context.Context, in *ImportTaskDataReq,
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) GetImportTaskList(ctx context.Context, in *ListImportTasksReq, opts ...grpc.CallOption) (*ListImportTasksResp, error) {
|
|
|
|
func (c *modelArtsClient) GetImportTaskList(ctx context.Context, in *ListImportTasksReq, opts ...grpc.CallOption) (*ListImportTasksResp, error) {
|
|
|
|
out := new(ListImportTasksResp)
|
|
|
|
out := new(ListImportTasksResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/GetImportTaskList", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_GetImportTaskList_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -148,7 +189,7 @@ func (c *modelArtsClient) GetImportTaskList(ctx context.Context, in *ListImportT
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) GetListTrainingJobs(ctx context.Context, in *ListTrainingJobsreq, opts ...grpc.CallOption) (*ListTrainingJobsresp, error) {
|
|
|
|
func (c *modelArtsClient) GetListTrainingJobs(ctx context.Context, in *ListTrainingJobsreq, opts ...grpc.CallOption) (*ListTrainingJobsresp, error) {
|
|
|
|
out := new(ListTrainingJobsresp)
|
|
|
|
out := new(ListTrainingJobsresp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/GetListTrainingJobs", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_GetListTrainingJobs_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -157,7 +198,7 @@ func (c *modelArtsClient) GetListTrainingJobs(ctx context.Context, in *ListTrain
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) CreateTrainingJob(ctx context.Context, in *CreateTrainingJobReq, opts ...grpc.CallOption) (*CreateTrainingJobResp, error) {
|
|
|
|
func (c *modelArtsClient) CreateTrainingJob(ctx context.Context, in *CreateTrainingJobReq, opts ...grpc.CallOption) (*CreateTrainingJobResp, error) {
|
|
|
|
out := new(CreateTrainingJobResp)
|
|
|
|
out := new(CreateTrainingJobResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/CreateTrainingJob", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_CreateTrainingJob_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -166,7 +207,7 @@ func (c *modelArtsClient) CreateTrainingJob(ctx context.Context, in *CreateTrain
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) DeleteTrainingJob(ctx context.Context, in *DeleteTrainingJobReq, opts ...grpc.CallOption) (*DeleteTrainingJobResp, error) {
|
|
|
|
func (c *modelArtsClient) DeleteTrainingJob(ctx context.Context, in *DeleteTrainingJobReq, opts ...grpc.CallOption) (*DeleteTrainingJobResp, error) {
|
|
|
|
out := new(DeleteTrainingJobResp)
|
|
|
|
out := new(DeleteTrainingJobResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/DeleteTrainingJob", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_DeleteTrainingJob_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -175,7 +216,7 @@ func (c *modelArtsClient) DeleteTrainingJob(ctx context.Context, in *DeleteTrain
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) CreateTrainingJobConfig(ctx context.Context, in *CreateTrainingJobConfigReq, opts ...grpc.CallOption) (*CreateTrainingJobConfigResp, error) {
|
|
|
|
func (c *modelArtsClient) CreateTrainingJobConfig(ctx context.Context, in *CreateTrainingJobConfigReq, opts ...grpc.CallOption) (*CreateTrainingJobConfigResp, error) {
|
|
|
|
out := new(CreateTrainingJobConfigResp)
|
|
|
|
out := new(CreateTrainingJobConfigResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/CreateTrainingJobConfig", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_CreateTrainingJobConfig_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -184,7 +225,7 @@ func (c *modelArtsClient) CreateTrainingJobConfig(ctx context.Context, in *Creat
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) DeleteTrainingJobConfig(ctx context.Context, in *DeleteTrainingJobConfigReq, opts ...grpc.CallOption) (*DeleteTrainingJobConfigResp, error) {
|
|
|
|
func (c *modelArtsClient) DeleteTrainingJobConfig(ctx context.Context, in *DeleteTrainingJobConfigReq, opts ...grpc.CallOption) (*DeleteTrainingJobConfigResp, error) {
|
|
|
|
out := new(DeleteTrainingJobConfigResp)
|
|
|
|
out := new(DeleteTrainingJobConfigResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/DeleteTrainingJobConfig", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_DeleteTrainingJobConfig_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -193,7 +234,7 @@ func (c *modelArtsClient) DeleteTrainingJobConfig(ctx context.Context, in *Delet
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) ListTrainingJobConfig(ctx context.Context, in *ListTrainingJobConfigReq, opts ...grpc.CallOption) (*ListTrainingJobConfigResp, error) {
|
|
|
|
func (c *modelArtsClient) ListTrainingJobConfig(ctx context.Context, in *ListTrainingJobConfigReq, opts ...grpc.CallOption) (*ListTrainingJobConfigResp, error) {
|
|
|
|
out := new(ListTrainingJobConfigResp)
|
|
|
|
out := new(ListTrainingJobConfigResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/ListTrainingJobConfig", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_ListTrainingJobConfig_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -202,7 +243,7 @@ func (c *modelArtsClient) ListTrainingJobConfig(ctx context.Context, in *ListTra
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) CreateAlgorithm(ctx context.Context, in *CreateAlgorithmReq, opts ...grpc.CallOption) (*CreateAlgorithmResp, error) {
|
|
|
|
func (c *modelArtsClient) CreateAlgorithm(ctx context.Context, in *CreateAlgorithmReq, opts ...grpc.CallOption) (*CreateAlgorithmResp, error) {
|
|
|
|
out := new(CreateAlgorithmResp)
|
|
|
|
out := new(CreateAlgorithmResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/CreateAlgorithm", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_CreateAlgorithm_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -211,7 +252,7 @@ func (c *modelArtsClient) CreateAlgorithm(ctx context.Context, in *CreateAlgorit
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) ListAlgorithms(ctx context.Context, in *ListAlgorithmsReq, opts ...grpc.CallOption) (*ListAlgorithmsResp, error) {
|
|
|
|
func (c *modelArtsClient) ListAlgorithms(ctx context.Context, in *ListAlgorithmsReq, opts ...grpc.CallOption) (*ListAlgorithmsResp, error) {
|
|
|
|
out := new(ListAlgorithmsResp)
|
|
|
|
out := new(ListAlgorithmsResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/ListAlgorithms", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_ListAlgorithms_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -220,7 +261,7 @@ func (c *modelArtsClient) ListAlgorithms(ctx context.Context, in *ListAlgorithms
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) DeleteAlgorithms(ctx context.Context, in *DeleteAlgorithmsReq, opts ...grpc.CallOption) (*DeleteAlgorithmsResp, error) {
|
|
|
|
func (c *modelArtsClient) DeleteAlgorithms(ctx context.Context, in *DeleteAlgorithmsReq, opts ...grpc.CallOption) (*DeleteAlgorithmsResp, error) {
|
|
|
|
out := new(DeleteAlgorithmsResp)
|
|
|
|
out := new(DeleteAlgorithmsResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/DeleteAlgorithms", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_DeleteAlgorithms_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -229,7 +270,7 @@ func (c *modelArtsClient) DeleteAlgorithms(ctx context.Context, in *DeleteAlgori
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) ShowAlgorithmByUuid(ctx context.Context, in *ShowAlgorithmByUuidReq, opts ...grpc.CallOption) (*ShowAlgorithmByUuidResp, error) {
|
|
|
|
func (c *modelArtsClient) ShowAlgorithmByUuid(ctx context.Context, in *ShowAlgorithmByUuidReq, opts ...grpc.CallOption) (*ShowAlgorithmByUuidResp, error) {
|
|
|
|
out := new(ShowAlgorithmByUuidResp)
|
|
|
|
out := new(ShowAlgorithmByUuidResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/ShowAlgorithmByUuid", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_ShowAlgorithmByUuid_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -238,7 +279,7 @@ func (c *modelArtsClient) ShowAlgorithmByUuid(ctx context.Context, in *ShowAlgor
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) ExportTask(ctx context.Context, in *ExportTaskReq, opts ...grpc.CallOption) (*ExportTaskDataResp, error) {
|
|
|
|
func (c *modelArtsClient) ExportTask(ctx context.Context, in *ExportTaskReq, opts ...grpc.CallOption) (*ExportTaskDataResp, error) {
|
|
|
|
out := new(ExportTaskDataResp)
|
|
|
|
out := new(ExportTaskDataResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/ExportTask", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_ExportTask_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -247,7 +288,7 @@ func (c *modelArtsClient) ExportTask(ctx context.Context, in *ExportTaskReq, opt
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) GetExportTasksOfDataset(ctx context.Context, in *GetExportTasksOfDatasetReq, opts ...grpc.CallOption) (*GetExportTasksOfDatasetResp, error) {
|
|
|
|
func (c *modelArtsClient) GetExportTasksOfDataset(ctx context.Context, in *GetExportTasksOfDatasetReq, opts ...grpc.CallOption) (*GetExportTasksOfDatasetResp, error) {
|
|
|
|
out := new(GetExportTasksOfDatasetResp)
|
|
|
|
out := new(GetExportTasksOfDatasetResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/GetExportTasksOfDataset", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_GetExportTasksOfDataset_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -256,7 +297,7 @@ func (c *modelArtsClient) GetExportTasksOfDataset(ctx context.Context, in *GetEx
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) GetExportTaskStatusOfDataset(ctx context.Context, in *GetExportTaskStatusOfDatasetReq, opts ...grpc.CallOption) (*GetExportTaskStatusOfDatasetResp, error) {
|
|
|
|
func (c *modelArtsClient) GetExportTaskStatusOfDataset(ctx context.Context, in *GetExportTaskStatusOfDatasetReq, opts ...grpc.CallOption) (*GetExportTaskStatusOfDatasetResp, error) {
|
|
|
|
out := new(GetExportTaskStatusOfDatasetResp)
|
|
|
|
out := new(GetExportTaskStatusOfDatasetResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/GetExportTaskStatusOfDataset", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_GetExportTaskStatusOfDataset_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -265,7 +306,7 @@ func (c *modelArtsClient) GetExportTaskStatusOfDataset(ctx context.Context, in *
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) CreateProcessorTask(ctx context.Context, in *CreateProcessorTaskReq, opts ...grpc.CallOption) (*CreateProcessorTaskResp, error) {
|
|
|
|
func (c *modelArtsClient) CreateProcessorTask(ctx context.Context, in *CreateProcessorTaskReq, opts ...grpc.CallOption) (*CreateProcessorTaskResp, error) {
|
|
|
|
out := new(CreateProcessorTaskResp)
|
|
|
|
out := new(CreateProcessorTaskResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/CreateProcessorTask", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_CreateProcessorTask_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -274,7 +315,7 @@ func (c *modelArtsClient) CreateProcessorTask(ctx context.Context, in *CreatePro
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) DescribeProcessorTask(ctx context.Context, in *DescribeProcessorTaskReq, opts ...grpc.CallOption) (*DescribeProcessorTaskResp, error) {
|
|
|
|
func (c *modelArtsClient) DescribeProcessorTask(ctx context.Context, in *DescribeProcessorTaskReq, opts ...grpc.CallOption) (*DescribeProcessorTaskResp, error) {
|
|
|
|
out := new(DescribeProcessorTaskResp)
|
|
|
|
out := new(DescribeProcessorTaskResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/DescribeProcessorTask", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_DescribeProcessorTask_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -283,7 +324,7 @@ func (c *modelArtsClient) DescribeProcessorTask(ctx context.Context, in *Describ
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) CreateModel(ctx context.Context, in *CreateModelReq, opts ...grpc.CallOption) (*CreateModelResp, error) {
|
|
|
|
func (c *modelArtsClient) CreateModel(ctx context.Context, in *CreateModelReq, opts ...grpc.CallOption) (*CreateModelResp, error) {
|
|
|
|
out := new(CreateModelResp)
|
|
|
|
out := new(CreateModelResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/CreateModel", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_CreateModel_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -292,7 +333,7 @@ func (c *modelArtsClient) CreateModel(ctx context.Context, in *CreateModelReq, o
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) DeleteModel(ctx context.Context, in *DeleteModelReq, opts ...grpc.CallOption) (*DeleteModelResp, error) {
|
|
|
|
func (c *modelArtsClient) DeleteModel(ctx context.Context, in *DeleteModelReq, opts ...grpc.CallOption) (*DeleteModelResp, error) {
|
|
|
|
out := new(DeleteModelResp)
|
|
|
|
out := new(DeleteModelResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/DeleteModel", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_DeleteModel_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -301,7 +342,7 @@ func (c *modelArtsClient) DeleteModel(ctx context.Context, in *DeleteModelReq, o
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) ListModels(ctx context.Context, in *ListModelReq, opts ...grpc.CallOption) (*ListModelResp, error) {
|
|
|
|
func (c *modelArtsClient) ListModels(ctx context.Context, in *ListModelReq, opts ...grpc.CallOption) (*ListModelResp, error) {
|
|
|
|
out := new(ListModelResp)
|
|
|
|
out := new(ListModelResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/ListModels", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_ListModels_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -310,7 +351,7 @@ func (c *modelArtsClient) ListModels(ctx context.Context, in *ListModelReq, opts
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) ShowModels(ctx context.Context, in *ShowModelReq, opts ...grpc.CallOption) (*ShowModelResp, error) {
|
|
|
|
func (c *modelArtsClient) ShowModels(ctx context.Context, in *ShowModelReq, opts ...grpc.CallOption) (*ShowModelResp, error) {
|
|
|
|
out := new(ShowModelResp)
|
|
|
|
out := new(ShowModelResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/ShowModels", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_ShowModels_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -319,7 +360,7 @@ func (c *modelArtsClient) ShowModels(ctx context.Context, in *ShowModelReq, opts
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) CreateService(ctx context.Context, in *CreateServiceReq, opts ...grpc.CallOption) (*CreateServiceResp, error) {
|
|
|
|
func (c *modelArtsClient) CreateService(ctx context.Context, in *CreateServiceReq, opts ...grpc.CallOption) (*CreateServiceResp, error) {
|
|
|
|
out := new(CreateServiceResp)
|
|
|
|
out := new(CreateServiceResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/CreateService", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_CreateService_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -328,7 +369,7 @@ func (c *modelArtsClient) CreateService(ctx context.Context, in *CreateServiceRe
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) ListServices(ctx context.Context, in *ListServicesReq, opts ...grpc.CallOption) (*ListServicesResp, error) {
|
|
|
|
func (c *modelArtsClient) ListServices(ctx context.Context, in *ListServicesReq, opts ...grpc.CallOption) (*ListServicesResp, error) {
|
|
|
|
out := new(ListServicesResp)
|
|
|
|
out := new(ListServicesResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/ListServices", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_ListServices_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -337,7 +378,7 @@ func (c *modelArtsClient) ListServices(ctx context.Context, in *ListServicesReq,
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) ShowService(ctx context.Context, in *ShowServiceReq, opts ...grpc.CallOption) (*ShowServiceResp, error) {
|
|
|
|
func (c *modelArtsClient) ShowService(ctx context.Context, in *ShowServiceReq, opts ...grpc.CallOption) (*ShowServiceResp, error) {
|
|
|
|
out := new(ShowServiceResp)
|
|
|
|
out := new(ShowServiceResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/ShowService", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_ShowService_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -346,7 +387,7 @@ func (c *modelArtsClient) ShowService(ctx context.Context, in *ShowServiceReq, o
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) DeleteService(ctx context.Context, in *DeleteServiceReq, opts ...grpc.CallOption) (*DeleteServiceResp, error) {
|
|
|
|
func (c *modelArtsClient) DeleteService(ctx context.Context, in *DeleteServiceReq, opts ...grpc.CallOption) (*DeleteServiceResp, error) {
|
|
|
|
out := new(DeleteServiceResp)
|
|
|
|
out := new(DeleteServiceResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/DeleteService", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_DeleteService_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -355,7 +396,7 @@ func (c *modelArtsClient) DeleteService(ctx context.Context, in *DeleteServiceRe
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) ListClusters(ctx context.Context, in *ListClustersReq, opts ...grpc.CallOption) (*ListClustersResp, error) {
|
|
|
|
func (c *modelArtsClient) ListClusters(ctx context.Context, in *ListClustersReq, opts ...grpc.CallOption) (*ListClustersResp, error) {
|
|
|
|
out := new(ListClustersResp)
|
|
|
|
out := new(ListClustersResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/ListClusters", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_ListClusters_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -364,7 +405,7 @@ func (c *modelArtsClient) ListClusters(ctx context.Context, in *ListClustersReq,
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) ListNotebook(ctx context.Context, in *ListNotebookReq, opts ...grpc.CallOption) (*ListNotebookResp, error) {
|
|
|
|
func (c *modelArtsClient) ListNotebook(ctx context.Context, in *ListNotebookReq, opts ...grpc.CallOption) (*ListNotebookResp, error) {
|
|
|
|
out := new(ListNotebookResp)
|
|
|
|
out := new(ListNotebookResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/ListNotebook", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_ListNotebook_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -373,7 +414,7 @@ func (c *modelArtsClient) ListNotebook(ctx context.Context, in *ListNotebookReq,
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error) {
|
|
|
|
func (c *modelArtsClient) CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error) {
|
|
|
|
out := new(CreateNotebookResp)
|
|
|
|
out := new(CreateNotebookResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/CreateNotebook", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_CreateNotebook_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -382,7 +423,7 @@ func (c *modelArtsClient) CreateNotebook(ctx context.Context, in *CreateNotebook
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error) {
|
|
|
|
func (c *modelArtsClient) StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error) {
|
|
|
|
out := new(StartNotebookResp)
|
|
|
|
out := new(StartNotebookResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/StartNotebook", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_StartNotebook_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -391,7 +432,7 @@ func (c *modelArtsClient) StartNotebook(ctx context.Context, in *StartNotebookRe
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error) {
|
|
|
|
func (c *modelArtsClient) StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error) {
|
|
|
|
out := new(StopNotebookResp)
|
|
|
|
out := new(StopNotebookResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/StopNotebook", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_StopNotebook_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -400,7 +441,7 @@ func (c *modelArtsClient) StopNotebook(ctx context.Context, in *StopNotebookReq,
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) GetNotebookStorage(ctx context.Context, in *GetNotebookStorageReq, opts ...grpc.CallOption) (*GetNotebookStorageResp, error) {
|
|
|
|
func (c *modelArtsClient) GetNotebookStorage(ctx context.Context, in *GetNotebookStorageReq, opts ...grpc.CallOption) (*GetNotebookStorageResp, error) {
|
|
|
|
out := new(GetNotebookStorageResp)
|
|
|
|
out := new(GetNotebookStorageResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/GetNotebookStorage", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_GetNotebookStorage_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -409,7 +450,7 @@ func (c *modelArtsClient) GetNotebookStorage(ctx context.Context, in *GetNoteboo
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) MountNotebookStorage(ctx context.Context, in *MountNotebookStorageReq, opts ...grpc.CallOption) (*MountNotebookStorageResp, error) {
|
|
|
|
func (c *modelArtsClient) MountNotebookStorage(ctx context.Context, in *MountNotebookStorageReq, opts ...grpc.CallOption) (*MountNotebookStorageResp, error) {
|
|
|
|
out := new(MountNotebookStorageResp)
|
|
|
|
out := new(MountNotebookStorageResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/MountNotebookStorage", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_MountNotebookStorage_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -418,7 +459,7 @@ func (c *modelArtsClient) MountNotebookStorage(ctx context.Context, in *MountNot
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) GetVisualizationJob(ctx context.Context, in *GetVisualizationJobReq, opts ...grpc.CallOption) (*GetVisualizationJobResp, error) {
|
|
|
|
func (c *modelArtsClient) GetVisualizationJob(ctx context.Context, in *GetVisualizationJobReq, opts ...grpc.CallOption) (*GetVisualizationJobResp, error) {
|
|
|
|
out := new(GetVisualizationJobResp)
|
|
|
|
out := new(GetVisualizationJobResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/GetVisualizationJob", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_GetVisualizationJob_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -427,7 +468,7 @@ func (c *modelArtsClient) GetVisualizationJob(ctx context.Context, in *GetVisual
|
|
|
|
|
|
|
|
|
|
|
|
func (c *modelArtsClient) CreateVisualizationJob(ctx context.Context, in *CreateVisualizationJobReq, opts ...grpc.CallOption) (*CreateVisualizationJobResp, error) {
|
|
|
|
func (c *modelArtsClient) CreateVisualizationJob(ctx context.Context, in *CreateVisualizationJobReq, opts ...grpc.CallOption) (*CreateVisualizationJobResp, error) {
|
|
|
|
out := new(CreateVisualizationJobResp)
|
|
|
|
out := new(CreateVisualizationJobResp)
|
|
|
|
err := c.cc.Invoke(ctx, "/modelarts.ModelArts/CreateVisualizationJob", in, out, opts...)
|
|
|
|
err := c.cc.Invoke(ctx, ModelArts_CreateVisualizationJob_FullMethodName, in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -438,64 +479,64 @@ func (c *modelArtsClient) CreateVisualizationJob(ctx context.Context, in *Create
|
|
|
|
// All implementations must embed UnimplementedModelArtsServer
|
|
|
|
// All implementations must embed UnimplementedModelArtsServer
|
|
|
|
// for forward compatibility
|
|
|
|
// for forward compatibility
|
|
|
|
type ModelArtsServer interface {
|
|
|
|
type ModelArtsServer interface {
|
|
|
|
//get modelarts Token
|
|
|
|
// get modelarts Token
|
|
|
|
GetToken(context.Context, *TokenReq) (*TokenResp, error)
|
|
|
|
GetToken(context.Context, *TokenReq) (*TokenResp, error)
|
|
|
|
//get modelarts Token
|
|
|
|
// get modelarts Token
|
|
|
|
GetDatasetList(context.Context, *DataSetReq) (*DataSetResp, error)
|
|
|
|
GetDatasetList(context.Context, *DataSetReq) (*DataSetResp, error)
|
|
|
|
//create DateSet
|
|
|
|
// create DateSet
|
|
|
|
CreateDataSet(context.Context, *CreateDataSetReq) (*CreateDataSetResq, error)
|
|
|
|
CreateDataSet(context.Context, *CreateDataSetReq) (*CreateDataSetResq, error)
|
|
|
|
//create DateSet
|
|
|
|
// create DateSet
|
|
|
|
DeleteDataSet(context.Context, *DeleteDataSetReq) (*DeleteDataSetResq, error)
|
|
|
|
DeleteDataSet(context.Context, *DeleteDataSetReq) (*DeleteDataSetResq, error)
|
|
|
|
//creat task 创建导入任务
|
|
|
|
// creat task 创建导入任务
|
|
|
|
CreateTask(context.Context, *ImportTaskDataReq) (*ImportTaskDataResp, error)
|
|
|
|
CreateTask(context.Context, *ImportTaskDataReq) (*ImportTaskDataResp, error)
|
|
|
|
//get taskList 查询数据集导入任务列表
|
|
|
|
// get taskList 查询数据集导入任务列表
|
|
|
|
GetImportTaskList(context.Context, *ListImportTasksReq) (*ListImportTasksResp, error)
|
|
|
|
GetImportTaskList(context.Context, *ListImportTasksReq) (*ListImportTasksResp, error)
|
|
|
|
// ListTrainingJobs 查询训练作业列表
|
|
|
|
// ListTrainingJobs 查询训练作业列表
|
|
|
|
GetListTrainingJobs(context.Context, *ListTrainingJobsreq) (*ListTrainingJobsresp, error)
|
|
|
|
GetListTrainingJobs(context.Context, *ListTrainingJobsreq) (*ListTrainingJobsresp, error)
|
|
|
|
// CreateTrainingJob 创建训练作业
|
|
|
|
// CreateTrainingJob 创建训练作业
|
|
|
|
CreateTrainingJob(context.Context, *CreateTrainingJobReq) (*CreateTrainingJobResp, error)
|
|
|
|
CreateTrainingJob(context.Context, *CreateTrainingJobReq) (*CreateTrainingJobResp, error)
|
|
|
|
// DeleteTrainingJobConfig 删除训练作业
|
|
|
|
// DeleteTrainingJobConfig 删除训练作业
|
|
|
|
DeleteTrainingJob(context.Context, *DeleteTrainingJobReq) (*DeleteTrainingJobResp, error)
|
|
|
|
DeleteTrainingJob(context.Context, *DeleteTrainingJobReq) (*DeleteTrainingJobResp, error)
|
|
|
|
// CreateTrainingJobConfig 创建训练作业参数
|
|
|
|
// CreateTrainingJobConfig 创建训练作业参数
|
|
|
|
CreateTrainingJobConfig(context.Context, *CreateTrainingJobConfigReq) (*CreateTrainingJobConfigResp, error)
|
|
|
|
CreateTrainingJobConfig(context.Context, *CreateTrainingJobConfigReq) (*CreateTrainingJobConfigResp, error)
|
|
|
|
// DeleteTrainingJobConfig 删除训练作业参数
|
|
|
|
// DeleteTrainingJobConfig 删除训练作业参数
|
|
|
|
DeleteTrainingJobConfig(context.Context, *DeleteTrainingJobConfigReq) (*DeleteTrainingJobConfigResp, error)
|
|
|
|
DeleteTrainingJobConfig(context.Context, *DeleteTrainingJobConfigReq) (*DeleteTrainingJobConfigResp, error)
|
|
|
|
// ListTrainingJobConfig 查询训练作业参数
|
|
|
|
// ListTrainingJobConfig 查询训练作业参数
|
|
|
|
ListTrainingJobConfig(context.Context, *ListTrainingJobConfigReq) (*ListTrainingJobConfigResp, error)
|
|
|
|
ListTrainingJobConfig(context.Context, *ListTrainingJobConfigReq) (*ListTrainingJobConfigResp, error)
|
|
|
|
// CreateAlgorithm 创建算法
|
|
|
|
// CreateAlgorithm 创建算法
|
|
|
|
CreateAlgorithm(context.Context, *CreateAlgorithmReq) (*CreateAlgorithmResp, error)
|
|
|
|
CreateAlgorithm(context.Context, *CreateAlgorithmReq) (*CreateAlgorithmResp, error)
|
|
|
|
// ListAlgorithms 查询算法
|
|
|
|
// ListAlgorithms 查询算法
|
|
|
|
ListAlgorithms(context.Context, *ListAlgorithmsReq) (*ListAlgorithmsResp, error)
|
|
|
|
ListAlgorithms(context.Context, *ListAlgorithmsReq) (*ListAlgorithmsResp, error)
|
|
|
|
// DeleteAlgorithms 删除算法
|
|
|
|
// DeleteAlgorithms 删除算法
|
|
|
|
DeleteAlgorithms(context.Context, *DeleteAlgorithmsReq) (*DeleteAlgorithmsResp, error)
|
|
|
|
DeleteAlgorithms(context.Context, *DeleteAlgorithmsReq) (*DeleteAlgorithmsResp, error)
|
|
|
|
// ShowAlgorithmByUuid 展示算法详情
|
|
|
|
// ShowAlgorithmByUuid 展示算法详情
|
|
|
|
ShowAlgorithmByUuid(context.Context, *ShowAlgorithmByUuidReq) (*ShowAlgorithmByUuidResp, error)
|
|
|
|
ShowAlgorithmByUuid(context.Context, *ShowAlgorithmByUuidReq) (*ShowAlgorithmByUuidResp, error)
|
|
|
|
//export task
|
|
|
|
//export task
|
|
|
|
ExportTask(context.Context, *ExportTaskReq) (*ExportTaskDataResp, error)
|
|
|
|
ExportTask(context.Context, *ExportTaskReq) (*ExportTaskDataResp, error)
|
|
|
|
GetExportTasksOfDataset(context.Context, *GetExportTasksOfDatasetReq) (*GetExportTasksOfDatasetResp, error)
|
|
|
|
GetExportTasksOfDataset(context.Context, *GetExportTasksOfDatasetReq) (*GetExportTasksOfDatasetResp, error)
|
|
|
|
GetExportTaskStatusOfDataset(context.Context, *GetExportTaskStatusOfDatasetReq) (*GetExportTaskStatusOfDatasetResp, error)
|
|
|
|
GetExportTaskStatusOfDataset(context.Context, *GetExportTaskStatusOfDatasetReq) (*GetExportTaskStatusOfDatasetResp, error)
|
|
|
|
//processor task
|
|
|
|
// processor task
|
|
|
|
CreateProcessorTask(context.Context, *CreateProcessorTaskReq) (*CreateProcessorTaskResp, error)
|
|
|
|
CreateProcessorTask(context.Context, *CreateProcessorTaskReq) (*CreateProcessorTaskResp, error)
|
|
|
|
DescribeProcessorTask(context.Context, *DescribeProcessorTaskReq) (*DescribeProcessorTaskResp, error)
|
|
|
|
DescribeProcessorTask(context.Context, *DescribeProcessorTaskReq) (*DescribeProcessorTaskResp, error)
|
|
|
|
//model management
|
|
|
|
// model management
|
|
|
|
CreateModel(context.Context, *CreateModelReq) (*CreateModelResp, error)
|
|
|
|
CreateModel(context.Context, *CreateModelReq) (*CreateModelResp, error)
|
|
|
|
DeleteModel(context.Context, *DeleteModelReq) (*DeleteModelResp, error)
|
|
|
|
DeleteModel(context.Context, *DeleteModelReq) (*DeleteModelResp, error)
|
|
|
|
ListModels(context.Context, *ListModelReq) (*ListModelResp, error)
|
|
|
|
ListModels(context.Context, *ListModelReq) (*ListModelResp, error)
|
|
|
|
ShowModels(context.Context, *ShowModelReq) (*ShowModelResp, error)
|
|
|
|
ShowModels(context.Context, *ShowModelReq) (*ShowModelResp, error)
|
|
|
|
//service management
|
|
|
|
// service management
|
|
|
|
CreateService(context.Context, *CreateServiceReq) (*CreateServiceResp, error)
|
|
|
|
CreateService(context.Context, *CreateServiceReq) (*CreateServiceResp, error)
|
|
|
|
ListServices(context.Context, *ListServicesReq) (*ListServicesResp, error)
|
|
|
|
ListServices(context.Context, *ListServicesReq) (*ListServicesResp, error)
|
|
|
|
ShowService(context.Context, *ShowServiceReq) (*ShowServiceResp, error)
|
|
|
|
ShowService(context.Context, *ShowServiceReq) (*ShowServiceResp, error)
|
|
|
|
DeleteService(context.Context, *DeleteServiceReq) (*DeleteServiceResp, error)
|
|
|
|
DeleteService(context.Context, *DeleteServiceReq) (*DeleteServiceResp, error)
|
|
|
|
ListClusters(context.Context, *ListClustersReq) (*ListClustersResp, error)
|
|
|
|
ListClusters(context.Context, *ListClustersReq) (*ListClustersResp, error)
|
|
|
|
//notebook task
|
|
|
|
// notebook task
|
|
|
|
ListNotebook(context.Context, *ListNotebookReq) (*ListNotebookResp, error)
|
|
|
|
ListNotebook(context.Context, *ListNotebookReq) (*ListNotebookResp, error)
|
|
|
|
CreateNotebook(context.Context, *CreateNotebookReq) (*CreateNotebookResp, error)
|
|
|
|
CreateNotebook(context.Context, *CreateNotebookReq) (*CreateNotebookResp, error)
|
|
|
|
StartNotebook(context.Context, *StartNotebookReq) (*StartNotebookResp, error)
|
|
|
|
StartNotebook(context.Context, *StartNotebookReq) (*StartNotebookResp, error)
|
|
|
|
StopNotebook(context.Context, *StopNotebookReq) (*StopNotebookResp, error)
|
|
|
|
StopNotebook(context.Context, *StopNotebookReq) (*StopNotebookResp, error)
|
|
|
|
GetNotebookStorage(context.Context, *GetNotebookStorageReq) (*GetNotebookStorageResp, error)
|
|
|
|
GetNotebookStorage(context.Context, *GetNotebookStorageReq) (*GetNotebookStorageResp, error)
|
|
|
|
MountNotebookStorage(context.Context, *MountNotebookStorageReq) (*MountNotebookStorageResp, error)
|
|
|
|
MountNotebookStorage(context.Context, *MountNotebookStorageReq) (*MountNotebookStorageResp, error)
|
|
|
|
//visualization-jobs
|
|
|
|
// visualization-jobs
|
|
|
|
GetVisualizationJob(context.Context, *GetVisualizationJobReq) (*GetVisualizationJobResp, error)
|
|
|
|
GetVisualizationJob(context.Context, *GetVisualizationJobReq) (*GetVisualizationJobResp, error)
|
|
|
|
CreateVisualizationJob(context.Context, *CreateVisualizationJobReq) (*CreateVisualizationJobResp, error)
|
|
|
|
CreateVisualizationJob(context.Context, *CreateVisualizationJobReq) (*CreateVisualizationJobResp, error)
|
|
|
|
mustEmbedUnimplementedModelArtsServer()
|
|
|
|
mustEmbedUnimplementedModelArtsServer()
|
|
|
@ -642,7 +683,7 @@ func _ModelArts_GetToken_Handler(srv interface{}, ctx context.Context, dec func(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/GetToken",
|
|
|
|
FullMethod: ModelArts_GetToken_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).GetToken(ctx, req.(*TokenReq))
|
|
|
|
return srv.(ModelArtsServer).GetToken(ctx, req.(*TokenReq))
|
|
|
@ -660,7 +701,7 @@ func _ModelArts_GetDatasetList_Handler(srv interface{}, ctx context.Context, dec
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/GetDatasetList",
|
|
|
|
FullMethod: ModelArts_GetDatasetList_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).GetDatasetList(ctx, req.(*DataSetReq))
|
|
|
|
return srv.(ModelArtsServer).GetDatasetList(ctx, req.(*DataSetReq))
|
|
|
@ -678,7 +719,7 @@ func _ModelArts_CreateDataSet_Handler(srv interface{}, ctx context.Context, dec
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/CreateDataSet",
|
|
|
|
FullMethod: ModelArts_CreateDataSet_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).CreateDataSet(ctx, req.(*CreateDataSetReq))
|
|
|
|
return srv.(ModelArtsServer).CreateDataSet(ctx, req.(*CreateDataSetReq))
|
|
|
@ -696,7 +737,7 @@ func _ModelArts_DeleteDataSet_Handler(srv interface{}, ctx context.Context, dec
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/DeleteDataSet",
|
|
|
|
FullMethod: ModelArts_DeleteDataSet_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).DeleteDataSet(ctx, req.(*DeleteDataSetReq))
|
|
|
|
return srv.(ModelArtsServer).DeleteDataSet(ctx, req.(*DeleteDataSetReq))
|
|
|
@ -714,7 +755,7 @@ func _ModelArts_CreateTask_Handler(srv interface{}, ctx context.Context, dec fun
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/createTask",
|
|
|
|
FullMethod: ModelArts_CreateTask_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).CreateTask(ctx, req.(*ImportTaskDataReq))
|
|
|
|
return srv.(ModelArtsServer).CreateTask(ctx, req.(*ImportTaskDataReq))
|
|
|
@ -732,7 +773,7 @@ func _ModelArts_GetImportTaskList_Handler(srv interface{}, ctx context.Context,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/GetImportTaskList",
|
|
|
|
FullMethod: ModelArts_GetImportTaskList_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).GetImportTaskList(ctx, req.(*ListImportTasksReq))
|
|
|
|
return srv.(ModelArtsServer).GetImportTaskList(ctx, req.(*ListImportTasksReq))
|
|
|
@ -750,7 +791,7 @@ func _ModelArts_GetListTrainingJobs_Handler(srv interface{}, ctx context.Context
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/GetListTrainingJobs",
|
|
|
|
FullMethod: ModelArts_GetListTrainingJobs_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).GetListTrainingJobs(ctx, req.(*ListTrainingJobsreq))
|
|
|
|
return srv.(ModelArtsServer).GetListTrainingJobs(ctx, req.(*ListTrainingJobsreq))
|
|
|
@ -768,7 +809,7 @@ func _ModelArts_CreateTrainingJob_Handler(srv interface{}, ctx context.Context,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/CreateTrainingJob",
|
|
|
|
FullMethod: ModelArts_CreateTrainingJob_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).CreateTrainingJob(ctx, req.(*CreateTrainingJobReq))
|
|
|
|
return srv.(ModelArtsServer).CreateTrainingJob(ctx, req.(*CreateTrainingJobReq))
|
|
|
@ -786,7 +827,7 @@ func _ModelArts_DeleteTrainingJob_Handler(srv interface{}, ctx context.Context,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/DeleteTrainingJob",
|
|
|
|
FullMethod: ModelArts_DeleteTrainingJob_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).DeleteTrainingJob(ctx, req.(*DeleteTrainingJobReq))
|
|
|
|
return srv.(ModelArtsServer).DeleteTrainingJob(ctx, req.(*DeleteTrainingJobReq))
|
|
|
@ -804,7 +845,7 @@ func _ModelArts_CreateTrainingJobConfig_Handler(srv interface{}, ctx context.Con
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/CreateTrainingJobConfig",
|
|
|
|
FullMethod: ModelArts_CreateTrainingJobConfig_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).CreateTrainingJobConfig(ctx, req.(*CreateTrainingJobConfigReq))
|
|
|
|
return srv.(ModelArtsServer).CreateTrainingJobConfig(ctx, req.(*CreateTrainingJobConfigReq))
|
|
|
@ -822,7 +863,7 @@ func _ModelArts_DeleteTrainingJobConfig_Handler(srv interface{}, ctx context.Con
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/DeleteTrainingJobConfig",
|
|
|
|
FullMethod: ModelArts_DeleteTrainingJobConfig_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).DeleteTrainingJobConfig(ctx, req.(*DeleteTrainingJobConfigReq))
|
|
|
|
return srv.(ModelArtsServer).DeleteTrainingJobConfig(ctx, req.(*DeleteTrainingJobConfigReq))
|
|
|
@ -840,7 +881,7 @@ func _ModelArts_ListTrainingJobConfig_Handler(srv interface{}, ctx context.Conte
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/ListTrainingJobConfig",
|
|
|
|
FullMethod: ModelArts_ListTrainingJobConfig_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).ListTrainingJobConfig(ctx, req.(*ListTrainingJobConfigReq))
|
|
|
|
return srv.(ModelArtsServer).ListTrainingJobConfig(ctx, req.(*ListTrainingJobConfigReq))
|
|
|
@ -858,7 +899,7 @@ func _ModelArts_CreateAlgorithm_Handler(srv interface{}, ctx context.Context, de
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/CreateAlgorithm",
|
|
|
|
FullMethod: ModelArts_CreateAlgorithm_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).CreateAlgorithm(ctx, req.(*CreateAlgorithmReq))
|
|
|
|
return srv.(ModelArtsServer).CreateAlgorithm(ctx, req.(*CreateAlgorithmReq))
|
|
|
@ -876,7 +917,7 @@ func _ModelArts_ListAlgorithms_Handler(srv interface{}, ctx context.Context, dec
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/ListAlgorithms",
|
|
|
|
FullMethod: ModelArts_ListAlgorithms_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).ListAlgorithms(ctx, req.(*ListAlgorithmsReq))
|
|
|
|
return srv.(ModelArtsServer).ListAlgorithms(ctx, req.(*ListAlgorithmsReq))
|
|
|
@ -894,7 +935,7 @@ func _ModelArts_DeleteAlgorithms_Handler(srv interface{}, ctx context.Context, d
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/DeleteAlgorithms",
|
|
|
|
FullMethod: ModelArts_DeleteAlgorithms_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).DeleteAlgorithms(ctx, req.(*DeleteAlgorithmsReq))
|
|
|
|
return srv.(ModelArtsServer).DeleteAlgorithms(ctx, req.(*DeleteAlgorithmsReq))
|
|
|
@ -912,7 +953,7 @@ func _ModelArts_ShowAlgorithmByUuid_Handler(srv interface{}, ctx context.Context
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/ShowAlgorithmByUuid",
|
|
|
|
FullMethod: ModelArts_ShowAlgorithmByUuid_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).ShowAlgorithmByUuid(ctx, req.(*ShowAlgorithmByUuidReq))
|
|
|
|
return srv.(ModelArtsServer).ShowAlgorithmByUuid(ctx, req.(*ShowAlgorithmByUuidReq))
|
|
|
@ -930,7 +971,7 @@ func _ModelArts_ExportTask_Handler(srv interface{}, ctx context.Context, dec fun
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/ExportTask",
|
|
|
|
FullMethod: ModelArts_ExportTask_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).ExportTask(ctx, req.(*ExportTaskReq))
|
|
|
|
return srv.(ModelArtsServer).ExportTask(ctx, req.(*ExportTaskReq))
|
|
|
@ -948,7 +989,7 @@ func _ModelArts_GetExportTasksOfDataset_Handler(srv interface{}, ctx context.Con
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/GetExportTasksOfDataset",
|
|
|
|
FullMethod: ModelArts_GetExportTasksOfDataset_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).GetExportTasksOfDataset(ctx, req.(*GetExportTasksOfDatasetReq))
|
|
|
|
return srv.(ModelArtsServer).GetExportTasksOfDataset(ctx, req.(*GetExportTasksOfDatasetReq))
|
|
|
@ -966,7 +1007,7 @@ func _ModelArts_GetExportTaskStatusOfDataset_Handler(srv interface{}, ctx contex
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/GetExportTaskStatusOfDataset",
|
|
|
|
FullMethod: ModelArts_GetExportTaskStatusOfDataset_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).GetExportTaskStatusOfDataset(ctx, req.(*GetExportTaskStatusOfDatasetReq))
|
|
|
|
return srv.(ModelArtsServer).GetExportTaskStatusOfDataset(ctx, req.(*GetExportTaskStatusOfDatasetReq))
|
|
|
@ -984,7 +1025,7 @@ func _ModelArts_CreateProcessorTask_Handler(srv interface{}, ctx context.Context
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/CreateProcessorTask",
|
|
|
|
FullMethod: ModelArts_CreateProcessorTask_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).CreateProcessorTask(ctx, req.(*CreateProcessorTaskReq))
|
|
|
|
return srv.(ModelArtsServer).CreateProcessorTask(ctx, req.(*CreateProcessorTaskReq))
|
|
|
@ -1002,7 +1043,7 @@ func _ModelArts_DescribeProcessorTask_Handler(srv interface{}, ctx context.Conte
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/DescribeProcessorTask",
|
|
|
|
FullMethod: ModelArts_DescribeProcessorTask_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).DescribeProcessorTask(ctx, req.(*DescribeProcessorTaskReq))
|
|
|
|
return srv.(ModelArtsServer).DescribeProcessorTask(ctx, req.(*DescribeProcessorTaskReq))
|
|
|
@ -1020,7 +1061,7 @@ func _ModelArts_CreateModel_Handler(srv interface{}, ctx context.Context, dec fu
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/CreateModel",
|
|
|
|
FullMethod: ModelArts_CreateModel_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).CreateModel(ctx, req.(*CreateModelReq))
|
|
|
|
return srv.(ModelArtsServer).CreateModel(ctx, req.(*CreateModelReq))
|
|
|
@ -1038,7 +1079,7 @@ func _ModelArts_DeleteModel_Handler(srv interface{}, ctx context.Context, dec fu
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/DeleteModel",
|
|
|
|
FullMethod: ModelArts_DeleteModel_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).DeleteModel(ctx, req.(*DeleteModelReq))
|
|
|
|
return srv.(ModelArtsServer).DeleteModel(ctx, req.(*DeleteModelReq))
|
|
|
@ -1056,7 +1097,7 @@ func _ModelArts_ListModels_Handler(srv interface{}, ctx context.Context, dec fun
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/ListModels",
|
|
|
|
FullMethod: ModelArts_ListModels_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).ListModels(ctx, req.(*ListModelReq))
|
|
|
|
return srv.(ModelArtsServer).ListModels(ctx, req.(*ListModelReq))
|
|
|
@ -1074,7 +1115,7 @@ func _ModelArts_ShowModels_Handler(srv interface{}, ctx context.Context, dec fun
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/ShowModels",
|
|
|
|
FullMethod: ModelArts_ShowModels_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).ShowModels(ctx, req.(*ShowModelReq))
|
|
|
|
return srv.(ModelArtsServer).ShowModels(ctx, req.(*ShowModelReq))
|
|
|
@ -1092,7 +1133,7 @@ func _ModelArts_CreateService_Handler(srv interface{}, ctx context.Context, dec
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/CreateService",
|
|
|
|
FullMethod: ModelArts_CreateService_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).CreateService(ctx, req.(*CreateServiceReq))
|
|
|
|
return srv.(ModelArtsServer).CreateService(ctx, req.(*CreateServiceReq))
|
|
|
@ -1110,7 +1151,7 @@ func _ModelArts_ListServices_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/ListServices",
|
|
|
|
FullMethod: ModelArts_ListServices_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).ListServices(ctx, req.(*ListServicesReq))
|
|
|
|
return srv.(ModelArtsServer).ListServices(ctx, req.(*ListServicesReq))
|
|
|
@ -1128,7 +1169,7 @@ func _ModelArts_ShowService_Handler(srv interface{}, ctx context.Context, dec fu
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/ShowService",
|
|
|
|
FullMethod: ModelArts_ShowService_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).ShowService(ctx, req.(*ShowServiceReq))
|
|
|
|
return srv.(ModelArtsServer).ShowService(ctx, req.(*ShowServiceReq))
|
|
|
@ -1146,7 +1187,7 @@ func _ModelArts_DeleteService_Handler(srv interface{}, ctx context.Context, dec
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/DeleteService",
|
|
|
|
FullMethod: ModelArts_DeleteService_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).DeleteService(ctx, req.(*DeleteServiceReq))
|
|
|
|
return srv.(ModelArtsServer).DeleteService(ctx, req.(*DeleteServiceReq))
|
|
|
@ -1164,7 +1205,7 @@ func _ModelArts_ListClusters_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/ListClusters",
|
|
|
|
FullMethod: ModelArts_ListClusters_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).ListClusters(ctx, req.(*ListClustersReq))
|
|
|
|
return srv.(ModelArtsServer).ListClusters(ctx, req.(*ListClustersReq))
|
|
|
@ -1182,7 +1223,7 @@ func _ModelArts_ListNotebook_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/ListNotebook",
|
|
|
|
FullMethod: ModelArts_ListNotebook_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).ListNotebook(ctx, req.(*ListNotebookReq))
|
|
|
|
return srv.(ModelArtsServer).ListNotebook(ctx, req.(*ListNotebookReq))
|
|
|
@ -1200,7 +1241,7 @@ func _ModelArts_CreateNotebook_Handler(srv interface{}, ctx context.Context, dec
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/CreateNotebook",
|
|
|
|
FullMethod: ModelArts_CreateNotebook_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).CreateNotebook(ctx, req.(*CreateNotebookReq))
|
|
|
|
return srv.(ModelArtsServer).CreateNotebook(ctx, req.(*CreateNotebookReq))
|
|
|
@ -1218,7 +1259,7 @@ func _ModelArts_StartNotebook_Handler(srv interface{}, ctx context.Context, dec
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/StartNotebook",
|
|
|
|
FullMethod: ModelArts_StartNotebook_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).StartNotebook(ctx, req.(*StartNotebookReq))
|
|
|
|
return srv.(ModelArtsServer).StartNotebook(ctx, req.(*StartNotebookReq))
|
|
|
@ -1236,7 +1277,7 @@ func _ModelArts_StopNotebook_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/StopNotebook",
|
|
|
|
FullMethod: ModelArts_StopNotebook_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).StopNotebook(ctx, req.(*StopNotebookReq))
|
|
|
|
return srv.(ModelArtsServer).StopNotebook(ctx, req.(*StopNotebookReq))
|
|
|
@ -1254,7 +1295,7 @@ func _ModelArts_GetNotebookStorage_Handler(srv interface{}, ctx context.Context,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/GetNotebookStorage",
|
|
|
|
FullMethod: ModelArts_GetNotebookStorage_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).GetNotebookStorage(ctx, req.(*GetNotebookStorageReq))
|
|
|
|
return srv.(ModelArtsServer).GetNotebookStorage(ctx, req.(*GetNotebookStorageReq))
|
|
|
@ -1272,7 +1313,7 @@ func _ModelArts_MountNotebookStorage_Handler(srv interface{}, ctx context.Contex
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/MountNotebookStorage",
|
|
|
|
FullMethod: ModelArts_MountNotebookStorage_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).MountNotebookStorage(ctx, req.(*MountNotebookStorageReq))
|
|
|
|
return srv.(ModelArtsServer).MountNotebookStorage(ctx, req.(*MountNotebookStorageReq))
|
|
|
@ -1290,7 +1331,7 @@ func _ModelArts_GetVisualizationJob_Handler(srv interface{}, ctx context.Context
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/GetVisualizationJob",
|
|
|
|
FullMethod: ModelArts_GetVisualizationJob_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).GetVisualizationJob(ctx, req.(*GetVisualizationJobReq))
|
|
|
|
return srv.(ModelArtsServer).GetVisualizationJob(ctx, req.(*GetVisualizationJobReq))
|
|
|
@ -1308,7 +1349,7 @@ func _ModelArts_CreateVisualizationJob_Handler(srv interface{}, ctx context.Cont
|
|
|
|
}
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/modelarts.ModelArts/CreateVisualizationJob",
|
|
|
|
FullMethod: ModelArts_CreateVisualizationJob_FullMethodName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ModelArtsServer).CreateVisualizationJob(ctx, req.(*CreateVisualizationJobReq))
|
|
|
|
return srv.(ModelArtsServer).CreateVisualizationJob(ctx, req.(*CreateVisualizationJobReq))
|
|
|
|