|
|
@@ -1,1951 +0,0 @@ |
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT. |
|
|
|
// versions: |
|
|
|
// protoc-gen-go v1.26.0 |
|
|
|
// protoc v3.15.8 |
|
|
|
// source: server/platform-server/api/v1/trainJob.proto |
|
|
|
|
|
|
|
package v1 |
|
|
|
|
|
|
|
import ( |
|
|
|
_ "github.com/envoyproxy/protoc-gen-validate/validate" |
|
|
|
_ "google.golang.org/genproto/googleapis/api/annotations" |
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
|
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb" |
|
|
|
reflect "reflect" |
|
|
|
sync "sync" |
|
|
|
) |
|
|
|
|
|
|
|
const ( |
|
|
|
// Verify that this generated code is sufficiently up-to-date. |
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date. |
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
|
|
|
) |
|
|
|
|
|
|
|
type TrainJobRequest struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//训练任务名称,必填,长度1-30 |
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` |
|
|
|
//训练任务描述,非必填 |
|
|
|
Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc"` |
|
|
|
//镜像信息 |
|
|
|
Image *Image `protobuf:"bytes,3,opt,name=image,proto3" json:"image"` |
|
|
|
//输出路径信息 |
|
|
|
Output *Output `protobuf:"bytes,4,opt,name=output,proto3" json:"output"` |
|
|
|
//数据集信息 |
|
|
|
Datasets []*Dataset `protobuf:"bytes,5,rep,name=datasets,proto3" json:"datasets"` |
|
|
|
//子任务信息 |
|
|
|
Tasks []*Task `protobuf:"bytes,6,rep,name=tasks,proto3" json:"tasks"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobRequest) Reset() { |
|
|
|
*x = TrainJobRequest{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[0] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobRequest) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*TrainJobRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *TrainJobRequest) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[0] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use TrainJobRequest.ProtoReflect.Descriptor instead. |
|
|
|
func (*TrainJobRequest) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{0} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobRequest) GetName() string { |
|
|
|
if x != nil { |
|
|
|
return x.Name |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobRequest) GetDesc() string { |
|
|
|
if x != nil { |
|
|
|
return x.Desc |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobRequest) GetImage() *Image { |
|
|
|
if x != nil { |
|
|
|
return x.Image |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobRequest) GetOutput() *Output { |
|
|
|
if x != nil { |
|
|
|
return x.Output |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobRequest) GetDatasets() []*Dataset { |
|
|
|
if x != nil { |
|
|
|
return x.Datasets |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobRequest) GetTasks() []*Task { |
|
|
|
if x != nil { |
|
|
|
return x.Tasks |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
type Image struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` |
|
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Image) Reset() { |
|
|
|
*x = Image{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[1] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Image) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*Image) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *Image) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[1] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use Image.ProtoReflect.Descriptor instead. |
|
|
|
func (*Image) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{1} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Image) GetName() string { |
|
|
|
if x != nil { |
|
|
|
return x.Name |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Image) GetVersion() string { |
|
|
|
if x != nil { |
|
|
|
return x.Version |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type Dataset struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//存储配置名称,必填 |
|
|
|
StorageConfigName string `protobuf:"bytes,1,opt,name=storageConfigName,proto3" json:"storageConfigName"` |
|
|
|
//数据集子目录 |
|
|
|
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr"` |
|
|
|
//数据集名称,必填 |
|
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` |
|
|
|
//数据集容器内路径 |
|
|
|
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Dataset) Reset() { |
|
|
|
*x = Dataset{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[2] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Dataset) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*Dataset) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *Dataset) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[2] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use Dataset.ProtoReflect.Descriptor instead. |
|
|
|
func (*Dataset) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{2} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Dataset) GetStorageConfigName() string { |
|
|
|
if x != nil { |
|
|
|
return x.StorageConfigName |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Dataset) GetAddr() string { |
|
|
|
if x != nil { |
|
|
|
return x.Addr |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Dataset) GetName() string { |
|
|
|
if x != nil { |
|
|
|
return x.Name |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Dataset) GetPath() string { |
|
|
|
if x != nil { |
|
|
|
return x.Path |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type Output struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//存储配置名称,必填 |
|
|
|
StorageConfigName string `protobuf:"bytes,1,opt,name=storageConfigName,proto3" json:"storageConfigName"` |
|
|
|
//存储子目录 |
|
|
|
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr"` |
|
|
|
//容器内输出路径 |
|
|
|
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Output) Reset() { |
|
|
|
*x = Output{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[3] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Output) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*Output) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *Output) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[3] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use Output.ProtoReflect.Descriptor instead. |
|
|
|
func (*Output) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{3} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Output) GetStorageConfigName() string { |
|
|
|
if x != nil { |
|
|
|
return x.StorageConfigName |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Output) GetAddr() string { |
|
|
|
if x != nil { |
|
|
|
return x.Addr |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Output) GetPath() string { |
|
|
|
if x != nil { |
|
|
|
return x.Path |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type Task struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//子任务名称,非必填,校验规则"^[0-9a-zA-Z_]*$",最大长度30个字符 |
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` |
|
|
|
//子任务执行命令 |
|
|
|
Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command"` |
|
|
|
//command执行命令参数,key-value,数组 |
|
|
|
Parameters []*Parameter `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters"` |
|
|
|
//资源 |
|
|
|
Resources []*Resource `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources"` |
|
|
|
//副本个数,非必填 |
|
|
|
TaskNumber int64 `protobuf:"varint,5,opt,name=taskNumber,proto3" json:"taskNumber"` |
|
|
|
//子任务最小失败数,非必填 |
|
|
|
MinFailedTaskCount int64 `protobuf:"varint,6,opt,name=minFailedTaskCount,proto3" json:"minFailedTaskCount"` |
|
|
|
//子任务最小成功数,非必填 |
|
|
|
MinSucceededTaskCount int64 `protobuf:"varint,7,opt,name=minSucceededTaskCount,proto3" json:"minSucceededTaskCount"` |
|
|
|
//是否主任务,非必填 |
|
|
|
IsMainRole bool `protobuf:"varint,8,opt,name=isMainRole,proto3" json:"isMainRole"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Task) Reset() { |
|
|
|
*x = Task{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[4] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Task) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*Task) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *Task) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[4] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use Task.ProtoReflect.Descriptor instead. |
|
|
|
func (*Task) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{4} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Task) GetName() string { |
|
|
|
if x != nil { |
|
|
|
return x.Name |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Task) GetCommand() string { |
|
|
|
if x != nil { |
|
|
|
return x.Command |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Task) GetParameters() []*Parameter { |
|
|
|
if x != nil { |
|
|
|
return x.Parameters |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Task) GetResources() []*Resource { |
|
|
|
if x != nil { |
|
|
|
return x.Resources |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Task) GetTaskNumber() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.TaskNumber |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Task) GetMinFailedTaskCount() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.MinFailedTaskCount |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Task) GetMinSucceededTaskCount() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.MinSucceededTaskCount |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Task) GetIsMainRole() bool { |
|
|
|
if x != nil { |
|
|
|
return x.IsMainRole |
|
|
|
} |
|
|
|
return false |
|
|
|
} |
|
|
|
|
|
|
|
type Parameter struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//命令参数key,非必填 |
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key"` |
|
|
|
//命令参数value,非必填 |
|
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Parameter) Reset() { |
|
|
|
*x = Parameter{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[5] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Parameter) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*Parameter) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *Parameter) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[5] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use Parameter.ProtoReflect.Descriptor instead. |
|
|
|
func (*Parameter) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{5} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Parameter) GetKey() string { |
|
|
|
if x != nil { |
|
|
|
return x.Key |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Parameter) GetValue() string { |
|
|
|
if x != nil { |
|
|
|
return x.Value |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type Resource struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//命令参数key,必填 |
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` |
|
|
|
//命令参数value,必填 |
|
|
|
Size string `protobuf:"bytes,2,opt,name=size,proto3" json:"size"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Resource) Reset() { |
|
|
|
*x = Resource{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[6] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Resource) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*Resource) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *Resource) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[6] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use Resource.ProtoReflect.Descriptor instead. |
|
|
|
func (*Resource) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{6} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Resource) GetName() string { |
|
|
|
if x != nil { |
|
|
|
return x.Name |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Resource) GetSize() string { |
|
|
|
if x != nil { |
|
|
|
return x.Size |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type TrainJobReply struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//训练任务ID,必填 |
|
|
|
JobId string `protobuf:"bytes,1,opt,name=jobId,proto3" json:"jobId"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobReply) Reset() { |
|
|
|
*x = TrainJobReply{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[7] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobReply) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*TrainJobReply) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *TrainJobReply) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[7] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use TrainJobReply.ProtoReflect.Descriptor instead. |
|
|
|
func (*TrainJobReply) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{7} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobReply) GetJobId() string { |
|
|
|
if x != nil { |
|
|
|
return x.JobId |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type StopJobRequest struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//任务ID |
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *StopJobRequest) Reset() { |
|
|
|
*x = StopJobRequest{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[8] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *StopJobRequest) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*StopJobRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *StopJobRequest) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[8] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use StopJobRequest.ProtoReflect.Descriptor instead. |
|
|
|
func (*StopJobRequest) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{8} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *StopJobRequest) GetId() string { |
|
|
|
if x != nil { |
|
|
|
return x.Id |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type StopJobReply struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//停止时间 |
|
|
|
StoppedAt int64 `protobuf:"varint,1,opt,name=stoppedAt,proto3" json:"stoppedAt"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *StopJobReply) Reset() { |
|
|
|
*x = StopJobReply{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[9] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *StopJobReply) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*StopJobReply) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *StopJobReply) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[9] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use StopJobReply.ProtoReflect.Descriptor instead. |
|
|
|
func (*StopJobReply) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{9} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *StopJobReply) GetStoppedAt() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.StoppedAt |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
type TrainJobListRequest struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
// 页码,从1开始,必填 |
|
|
|
PageIndex int64 `protobuf:"varint,1,opt,name=pageIndex,proto3" json:"pageIndex"` |
|
|
|
// 页大小,最小1条,最大100条,必填 |
|
|
|
PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize"` |
|
|
|
// 分组依据,非必填 |
|
|
|
SortBy string `protobuf:"bytes,3,opt,name=sortBy,proto3" json:"sortBy"` |
|
|
|
//升序、降序,非必填 |
|
|
|
OrderBy string `protobuf:"bytes,4,opt,name=orderBy,proto3" json:"orderBy"` |
|
|
|
//大于某个时间创建,非必填 |
|
|
|
CreatedAtGte int64 `protobuf:"varint,5,opt,name=createdAtGte,proto3" json:"createdAtGte"` |
|
|
|
//小于某个时间创建,非必填 |
|
|
|
CreatedAtLt int64 `protobuf:"varint,6,opt,name=createdAtLt,proto3" json:"createdAtLt"` |
|
|
|
//状态查询,非必填 |
|
|
|
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status"` |
|
|
|
//模糊查找字段,可用于name等模糊查找,非必填 |
|
|
|
SearchKey string `protobuf:"bytes,8,opt,name=searchKey,proto3" json:"searchKey"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) Reset() { |
|
|
|
*x = TrainJobListRequest{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[10] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*TrainJobListRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[10] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use TrainJobListRequest.ProtoReflect.Descriptor instead. |
|
|
|
func (*TrainJobListRequest) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{10} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) GetPageIndex() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.PageIndex |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) GetPageSize() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.PageSize |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) GetSortBy() string { |
|
|
|
if x != nil { |
|
|
|
return x.SortBy |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) GetOrderBy() string { |
|
|
|
if x != nil { |
|
|
|
return x.OrderBy |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) GetCreatedAtGte() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.CreatedAtGte |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) GetCreatedAtLt() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.CreatedAtLt |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) GetStatus() string { |
|
|
|
if x != nil { |
|
|
|
return x.Status |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListRequest) GetSearchKey() string { |
|
|
|
if x != nil { |
|
|
|
return x.SearchKey |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type TrainJobListReply struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//查询结果总数 |
|
|
|
TotalSize int64 `protobuf:"varint,1,opt,name=totalSize,proto3" json:"totalSize"` |
|
|
|
//任务 |
|
|
|
TrainJobs []*TrainJob `protobuf:"bytes,2,rep,name=trainJobs,proto3" json:"trainJobs"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListReply) Reset() { |
|
|
|
*x = TrainJobListReply{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[11] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListReply) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*TrainJobListReply) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *TrainJobListReply) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[11] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use TrainJobListReply.ProtoReflect.Descriptor instead. |
|
|
|
func (*TrainJobListReply) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{11} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListReply) GetTotalSize() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.TotalSize |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobListReply) GetTrainJobs() []*TrainJob { |
|
|
|
if x != nil { |
|
|
|
return x.TrainJobs |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
type TrainJob struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//任务ID |
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` |
|
|
|
//job名称 |
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` |
|
|
|
//job描述 |
|
|
|
Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc"` |
|
|
|
//数据集 |
|
|
|
Datasets []*Dataset `protobuf:"bytes,4,rep,name=datasets,proto3" json:"datasets"` |
|
|
|
//镜像 |
|
|
|
Image *Image `protobuf:"bytes,5,opt,name=image,proto3" json:"image"` |
|
|
|
//子任务配置信息 |
|
|
|
Tasks []*Task `protobuf:"bytes,6,rep,name=tasks,proto3" json:"tasks"` |
|
|
|
//创建时间 |
|
|
|
CreatedAt int64 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt"` |
|
|
|
//更新时间 |
|
|
|
UpdatedAt int64 `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt"` |
|
|
|
//任务状态 |
|
|
|
Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status"` |
|
|
|
//job完成时间 |
|
|
|
CompletedAt int64 `protobuf:"varint,10,opt,name=completedAt,proto3" json:"completedAt"` |
|
|
|
//运行时 |
|
|
|
RunSec int64 `protobuf:"varint,11,opt,name=runSec,proto3" json:"runSec"` |
|
|
|
//启动时间 |
|
|
|
StartedAt int64 `protobuf:"varint,12,opt,name=startedAt,proto3" json:"startedAt"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) Reset() { |
|
|
|
*x = TrainJob{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[12] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*TrainJob) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *TrainJob) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[12] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use TrainJob.ProtoReflect.Descriptor instead. |
|
|
|
func (*TrainJob) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{12} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetId() string { |
|
|
|
if x != nil { |
|
|
|
return x.Id |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetName() string { |
|
|
|
if x != nil { |
|
|
|
return x.Name |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetDesc() string { |
|
|
|
if x != nil { |
|
|
|
return x.Desc |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetDatasets() []*Dataset { |
|
|
|
if x != nil { |
|
|
|
return x.Datasets |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetImage() *Image { |
|
|
|
if x != nil { |
|
|
|
return x.Image |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetTasks() []*Task { |
|
|
|
if x != nil { |
|
|
|
return x.Tasks |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetCreatedAt() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.CreatedAt |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetUpdatedAt() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.UpdatedAt |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetStatus() string { |
|
|
|
if x != nil { |
|
|
|
return x.Status |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetCompletedAt() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.CompletedAt |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetRunSec() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.RunSec |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJob) GetStartedAt() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.StartedAt |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
type TrainJobInfoRequest struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//任务ID |
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobInfoRequest) Reset() { |
|
|
|
*x = TrainJobInfoRequest{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[13] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobInfoRequest) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*TrainJobInfoRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *TrainJobInfoRequest) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[13] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use TrainJobInfoRequest.ProtoReflect.Descriptor instead. |
|
|
|
func (*TrainJobInfoRequest) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{13} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobInfoRequest) GetId() string { |
|
|
|
if x != nil { |
|
|
|
return x.Id |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type TrainJobInfoReply struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//训练任务 |
|
|
|
TrainJob *TrainJob `protobuf:"bytes,1,opt,name=trainJob,proto3" json:"trainJob"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobInfoReply) Reset() { |
|
|
|
*x = TrainJobInfoReply{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[14] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobInfoReply) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*TrainJobInfoReply) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *TrainJobInfoReply) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[14] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use TrainJobInfoReply.ProtoReflect.Descriptor instead. |
|
|
|
func (*TrainJobInfoReply) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{14} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobInfoReply) GetTrainJob() *TrainJob { |
|
|
|
if x != nil { |
|
|
|
return x.TrainJob |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
type TrainJobStasticsRequest struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//大于某个时间创建,非必填 |
|
|
|
CreatedAtGte int64 `protobuf:"varint,1,opt,name=createdAtGte,proto3" json:"createdAtGte"` |
|
|
|
//小于某个时间创建,非必填 |
|
|
|
CreatedAtLt int64 `protobuf:"varint,2,opt,name=createdAtLt,proto3" json:"createdAtLt"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsRequest) Reset() { |
|
|
|
*x = TrainJobStasticsRequest{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[15] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsRequest) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*TrainJobStasticsRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsRequest) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[15] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use TrainJobStasticsRequest.ProtoReflect.Descriptor instead. |
|
|
|
func (*TrainJobStasticsRequest) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{15} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsRequest) GetCreatedAtGte() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.CreatedAtGte |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsRequest) GetCreatedAtLt() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.CreatedAtLt |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
type TrainJobStasticsReply struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
//任务数量 |
|
|
|
TotalSize int64 `protobuf:"varint,1,opt,name=totalSize,proto3" json:"totalSize"` |
|
|
|
//成功数量 |
|
|
|
SucceededSize int64 `protobuf:"varint,2,opt,name=succeededSize,proto3" json:"succeededSize"` |
|
|
|
//失败数量 |
|
|
|
FailedSize int64 `protobuf:"varint,3,opt,name=failedSize,proto3" json:"failedSize"` |
|
|
|
//停止数量 |
|
|
|
StoppedSize int64 `protobuf:"varint,4,opt,name=stoppedSize,proto3" json:"stoppedSize"` |
|
|
|
//正在运行数量 |
|
|
|
RunningSize int64 `protobuf:"varint,5,opt,name=runningSize,proto3" json:"runningSize"` |
|
|
|
//等待数量 |
|
|
|
WaitingSize int64 `protobuf:"varint,6,opt,name=waitingSize,proto3" json:"waitingSize"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsReply) Reset() { |
|
|
|
*x = TrainJobStasticsReply{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[16] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsReply) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*TrainJobStasticsReply) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsReply) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[16] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use TrainJobStasticsReply.ProtoReflect.Descriptor instead. |
|
|
|
func (*TrainJobStasticsReply) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{16} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsReply) GetTotalSize() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.TotalSize |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsReply) GetSucceededSize() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.SucceededSize |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsReply) GetFailedSize() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.FailedSize |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsReply) GetStoppedSize() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.StoppedSize |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsReply) GetRunningSize() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.RunningSize |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
func (x *TrainJobStasticsReply) GetWaitingSize() int64 { |
|
|
|
if x != nil { |
|
|
|
return x.WaitingSize |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
type Node struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
NodeName string `protobuf:"bytes,1,opt,name=nodeName,proto3" json:"nodeName"` |
|
|
|
Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip"` |
|
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status"` |
|
|
|
Capacity map[string]string `protobuf:"bytes,4,rep,name=capacity,proto3" json:"capacity" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
|
|
|
Allocated map[string]string `protobuf:"bytes,5,rep,name=allocated,proto3" json:"allocated" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Node) Reset() { |
|
|
|
*x = Node{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[17] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Node) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*Node) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *Node) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[17] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use Node.ProtoReflect.Descriptor instead. |
|
|
|
func (*Node) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{17} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Node) GetNodeName() string { |
|
|
|
if x != nil { |
|
|
|
return x.NodeName |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Node) GetIp() string { |
|
|
|
if x != nil { |
|
|
|
return x.Ip |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Node) GetStatus() string { |
|
|
|
if x != nil { |
|
|
|
return x.Status |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Node) GetCapacity() map[string]string { |
|
|
|
if x != nil { |
|
|
|
return x.Capacity |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *Node) GetAllocated() map[string]string { |
|
|
|
if x != nil { |
|
|
|
return x.Allocated |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
type PlatformResourcesReply struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
Resources []*Node `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *PlatformResourcesReply) Reset() { |
|
|
|
*x = PlatformResourcesReply{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[18] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *PlatformResourcesReply) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*PlatformResourcesReply) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *PlatformResourcesReply) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_server_platform_server_api_v1_trainJob_proto_msgTypes[18] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
return ms |
|
|
|
} |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use PlatformResourcesReply.ProtoReflect.Descriptor instead. |
|
|
|
func (*PlatformResourcesReply) Descriptor() ([]byte, []int) { |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP(), []int{18} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *PlatformResourcesReply) GetResources() []*Node { |
|
|
|
if x != nil { |
|
|
|
return x.Resources |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
var File_server_platform_server_api_v1_trainJob_proto protoreflect.FileDescriptor |
|
|
|
|
|
|
|
var file_server_platform_server_api_v1_trainJob_proto_rawDesc = []byte{ |
|
|
|
0x0a, 0x2c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, |
|
|
|
0x6d, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, |
|
|
|
0x74, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, |
|
|
|
0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, |
|
|
|
0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
|
|
|
0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, |
|
|
|
0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, |
|
|
|
0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, |
|
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, |
|
|
|
0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x02, 0x0a, 0x0f, 0x54, 0x72, |
|
|
|
0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, |
|
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, |
|
|
|
0x72, 0x04, 0x10, 0x01, 0x18, 0x1e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x04, |
|
|
|
0x64, 0x65, 0x73, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x72, |
|
|
|
0x03, 0x18, 0xac, 0x02, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x32, 0x0a, 0x05, 0x69, 0x6d, |
|
|
|
0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x6c, 0x61, 0x74, |
|
|
|
0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, |
|
|
|
0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x35, |
|
|
|
0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, |
|
|
|
0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, |
|
|
|
0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x06, 0x6f, |
|
|
|
0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x3a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, |
|
|
|
0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, |
|
|
|
0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, |
|
|
|
0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, |
|
|
|
0x73, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, |
|
|
|
0x32, 0x1b, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, |
|
|
|
0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, |
|
|
|
0x61, 0x73, 0x6b, 0x73, 0x22, 0x4c, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, |
|
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07, |
|
|
|
0x72, 0x05, 0x10, 0x01, 0x18, 0xac, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, |
|
|
|
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, |
|
|
|
0xfa, 0x42, 0x06, 0x72, 0x04, 0x10, 0x01, 0x18, 0x1e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, |
|
|
|
0x6f, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x07, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x35, |
|
|
|
0x0a, 0x11, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, |
|
|
|
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, |
|
|
|
0x18, 0x1e, 0x52, 0x11, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
|
|
|
0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, |
|
|
|
0x01, 0x28, 0x09, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xac, 0x02, 0x52, 0x04, 0x61, |
|
|
|
0x64, 0x64, 0x72, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, |
|
|
|
0x09, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xac, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, |
|
|
|
0x65, 0x12, 0x1c, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, |
|
|
|
0x08, 0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xac, 0x02, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, |
|
|
|
0x7b, 0x0a, 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x35, 0x0a, 0x11, 0x73, 0x74, 0x6f, |
|
|
|
0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, |
|
|
|
0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x18, 0x1e, 0x52, 0x11, 0x73, |
|
|
|
0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x61, 0x6d, 0x65, |
|
|
|
0x12, 0x1c, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, |
|
|
|
0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xac, 0x02, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x1c, |
|
|
|
0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xfa, 0x42, |
|
|
|
0x05, 0x72, 0x03, 0x18, 0xac, 0x02, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x8d, 0x03, 0x0a, |
|
|
|
0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x1d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
|
|
|
0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x72, 0x04, 0x10, 0x01, 0x18, 0x1e, 0x52, 0x04, |
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, |
|
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x00, 0x18, 0xac, |
|
|
|
0x02, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x40, 0x0a, 0x0a, 0x70, 0x61, |
|
|
|
0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, |
|
|
|
0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, |
|
|
|
0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, |
|
|
|
0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, 0x09, |
|
|
|
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, |
|
|
|
0x1f, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, |
|
|
|
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
|
|
|
0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0a, 0x74, |
|
|
|
0x61, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, |
|
|
|
0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x28, 0x01, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x4e, 0x75, |
|
|
|
0x6d, 0x62, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x12, 0x6d, 0x69, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, |
|
|
|
0x64, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, |
|
|
|
0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x28, 0x01, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x46, 0x61, |
|
|
|
0x69, 0x6c, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, |
|
|
|
0x15, 0x6d, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x54, 0x61, 0x73, |
|
|
|
0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xfa, 0x42, |
|
|
|
0x04, 0x22, 0x02, 0x28, 0x01, 0x52, 0x15, 0x6d, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, |
|
|
|
0x64, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, |
|
|
|
0x69, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, |
|
|
|
0x52, 0x0a, 0x69, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x33, 0x0a, 0x09, |
|
|
|
0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, |
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, |
|
|
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, |
|
|
|
0x65, 0x22, 0x32, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, |
|
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, |
|
|
|
0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, |
|
|
|
0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, |
|
|
|
0x62, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x18, |
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x22, 0x29, 0x0a, 0x0e, |
|
|
|
0x53, 0x74, 0x6f, 0x70, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, |
|
|
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, |
|
|
|
0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2c, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x70, 0x4a, |
|
|
|
0x6f, 0x62, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x70, |
|
|
|
0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, |
|
|
|
0x70, 0x65, 0x64, 0x41, 0x74, 0x22, 0xa5, 0x02, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, |
|
|
|
0x6f, 0x62, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, |
|
|
|
0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, |
|
|
|
0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x28, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, |
|
|
|
0x6e, 0x64, 0x65, 0x78, 0x12, 0x25, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, |
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x22, 0x04, 0x10, 0x64, 0x28, |
|
|
|
0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, |
|
|
|
0x6f, 0x72, 0x74, 0x42, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x72, |
|
|
|
0x74, 0x42, 0x79, 0x12, 0x2c, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x18, 0x04, |
|
|
|
0x20, 0x01, 0x28, 0x09, 0x42, 0x12, 0xfa, 0x42, 0x0f, 0x72, 0x0d, 0x52, 0x00, 0x52, 0x03, 0x61, |
|
|
|
0x73, 0x63, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, |
|
|
|
0x79, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x47, 0x74, |
|
|
|
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, |
|
|
|
0x41, 0x74, 0x47, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, |
|
|
|
0x41, 0x74, 0x4c, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, |
|
|
|
0x74, 0x65, 0x64, 0x41, 0x74, 0x4c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, |
|
|
|
0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, |
|
|
|
0x1c, 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x18, 0x08, 0x20, 0x01, |
|
|
|
0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x22, 0x70, 0x0a, |
|
|
|
0x11, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, |
|
|
|
0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x18, |
|
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, |
|
|
|
0x12, 0x3d, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x73, 0x18, 0x02, 0x20, |
|
|
|
0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, |
|
|
|
0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, |
|
|
|
0x6e, 0x4a, 0x6f, 0x62, 0x52, 0x09, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x73, 0x22, |
|
|
|
0x91, 0x03, 0x0a, 0x08, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x12, 0x0e, 0x0a, 0x02, |
|
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, |
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, |
|
|
|
0x64, 0x65, 0x73, 0x63, 0x12, 0x3a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, |
|
|
|
0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, |
|
|
|
0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, |
|
|
|
0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, |
|
|
|
0x12, 0x32, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, |
|
|
|
0x1c, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, |
|
|
|
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x69, |
|
|
|
0x6d, 0x61, 0x67, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, |
|
|
|
0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, |
|
|
|
0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, |
|
|
|
0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, |
|
|
|
0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, |
|
|
|
0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, |
|
|
|
0x41, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, |
|
|
|
0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, |
|
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, |
|
|
|
0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, |
|
|
|
0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, |
|
|
|
0x06, 0x72, 0x75, 0x6e, 0x53, 0x65, 0x63, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, |
|
|
|
0x75, 0x6e, 0x53, 0x65, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, |
|
|
|
0x41, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, |
|
|
|
0x64, 0x41, 0x74, 0x22, 0x2e, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x49, |
|
|
|
0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, |
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, |
|
|
|
0x02, 0x69, 0x64, 0x22, 0x50, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x49, |
|
|
|
0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3b, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, |
|
|
|
0x6e, 0x4a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6c, 0x61, |
|
|
|
0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, |
|
|
|
0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x52, 0x08, 0x74, 0x72, 0x61, |
|
|
|
0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x22, 0x5f, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, |
|
|
|
0x62, 0x53, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
|
|
|
0x12, 0x22, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x47, 0x74, 0x65, |
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, |
|
|
|
0x74, 0x47, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, |
|
|
|
0x74, 0x4c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, |
|
|
|
0x65, 0x64, 0x41, 0x74, 0x4c, 0x74, 0x22, 0xe1, 0x01, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x69, 0x6e, |
|
|
|
0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, |
|
|
|
0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, |
|
|
|
0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x24, |
|
|
|
0x0a, 0x0d, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x18, |
|
|
|
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, |
|
|
|
0x53, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x69, |
|
|
|
0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, |
|
|
|
0x53, 0x69, 0x7a, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x53, |
|
|
|
0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x70, |
|
|
|
0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, |
|
|
|
0x67, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x75, 0x6e, |
|
|
|
0x6e, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x77, 0x61, 0x69, 0x74, |
|
|
|
0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x77, |
|
|
|
0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xd6, 0x02, 0x0a, 0x04, 0x4e, |
|
|
|
0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, |
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, |
|
|
|
0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, |
|
|
|
0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, |
|
|
|
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x45, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, |
|
|
|
0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x6c, 0x61, 0x74, |
|
|
|
0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, |
|
|
|
0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x45, |
|
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x48, |
|
|
|
0x0a, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, |
|
|
|
0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, |
|
|
|
0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x41, |
|
|
|
0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x61, |
|
|
|
0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x3b, 0x0a, 0x0d, 0x43, 0x61, 0x70, 0x61, |
|
|
|
0x63, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, |
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, |
|
|
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, |
|
|
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3c, 0x0a, 0x0e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
|
|
|
0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, |
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, |
|
|
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, |
|
|
|
0x02, 0x38, 0x01, 0x22, 0x53, 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, |
|
|
|
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x39, 0x0a, |
|
|
|
0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, |
|
|
|
0x32, 0x1b, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, |
|
|
|
0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x72, |
|
|
|
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x32, 0xb4, 0x06, 0x0a, 0x0f, 0x54, 0x72, 0x61, |
|
|
|
0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7a, 0x0a, 0x08, |
|
|
|
0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x12, 0x26, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, |
|
|
|
0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, |
|
|
|
0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
|
|
|
0x1a, 0x24, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, |
|
|
|
0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, |
|
|
|
0x62, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x15, |
|
|
|
0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x74, 0x72, 0x61, |
|
|
|
0x69, 0x6e, 0x6a, 0x6f, 0x62, 0x3a, 0x01, 0x2a, 0x12, 0x81, 0x01, 0x0a, 0x07, 0x53, 0x74, 0x6f, |
|
|
|
0x70, 0x4a, 0x6f, 0x62, 0x12, 0x25, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, |
|
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, |
|
|
|
0x70, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x6c, |
|
|
|
0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, |
|
|
|
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x70, 0x6c, 0x79, |
|
|
|
0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, |
|
|
|
0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x6a, 0x6f, 0x62, 0x2f, |
|
|
|
0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x73, 0x74, 0x6f, 0x70, 0x3a, 0x01, 0x2a, 0x12, 0x86, 0x01, 0x0a, |
|
|
|
0x0a, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x2e, 0x70, 0x6c, |
|
|
|
0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, |
|
|
|
0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, |
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, |
|
|
|
0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, |
|
|
|
0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, |
|
|
|
0x79, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x70, |
|
|
|
0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x6a, 0x6f, 0x62, |
|
|
|
0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x83, 0x01, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, |
|
|
|
0x6f, 0x62, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, |
|
|
|
0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x54, |
|
|
|
0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, |
|
|
|
0x73, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, |
|
|
|
0x76, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, |
|
|
|
0x4a, 0x6f, 0x62, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1d, 0x82, 0xd3, |
|
|
|
0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, |
|
|
|
0x72, 0x6d, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x6a, 0x6f, 0x62, 0x12, 0x96, 0x01, 0x0a, 0x10, |
|
|
|
0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x73, |
|
|
|
0x12, 0x2e, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, |
|
|
|
0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, |
|
|
|
0x62, 0x53, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
|
|
|
0x1a, 0x2c, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, 0x65, |
|
|
|
0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, |
|
|
|
0x62, 0x53, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x24, |
|
|
|
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x76, 0x65, 0x72, |
|
|
|
0x61, 0x6c, 0x6c, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x6a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x73, |
|
|
|
0x74, 0x69, 0x63, 0x73, 0x12, 0x79, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, |
|
|
|
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
|
|
|
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, |
|
|
|
0x79, 0x1a, 0x2d, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x65, 0x72, 0x76, |
|
|
|
0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, |
|
|
|
0x72, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, |
|
|
|
0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, |
|
|
|
0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, |
|
|
|
0x22, 0x5a, 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, |
|
|
|
0x72, 0x6d, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, |
|
|
|
0x3b, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
} |
|
|
|
|
|
|
|
var ( |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_rawDescOnce sync.Once |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_rawDescData = file_server_platform_server_api_v1_trainJob_proto_rawDesc |
|
|
|
) |
|
|
|
|
|
|
|
func file_server_platform_server_api_v1_trainJob_proto_rawDescGZIP() []byte { |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_rawDescOnce.Do(func() { |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_rawDescData = protoimpl.X.CompressGZIP(file_server_platform_server_api_v1_trainJob_proto_rawDescData) |
|
|
|
}) |
|
|
|
return file_server_platform_server_api_v1_trainJob_proto_rawDescData |
|
|
|
} |
|
|
|
|
|
|
|
var file_server_platform_server_api_v1_trainJob_proto_msgTypes = make([]protoimpl.MessageInfo, 21) |
|
|
|
var file_server_platform_server_api_v1_trainJob_proto_goTypes = []interface{}{ |
|
|
|
(*TrainJobRequest)(nil), // 0: platformserver.api.v1.TrainJobRequest |
|
|
|
(*Image)(nil), // 1: platformserver.api.v1.Image |
|
|
|
(*Dataset)(nil), // 2: platformserver.api.v1.Dataset |
|
|
|
(*Output)(nil), // 3: platformserver.api.v1.Output |
|
|
|
(*Task)(nil), // 4: platformserver.api.v1.Task |
|
|
|
(*Parameter)(nil), // 5: platformserver.api.v1.Parameter |
|
|
|
(*Resource)(nil), // 6: platformserver.api.v1.Resource |
|
|
|
(*TrainJobReply)(nil), // 7: platformserver.api.v1.TrainJobReply |
|
|
|
(*StopJobRequest)(nil), // 8: platformserver.api.v1.StopJobRequest |
|
|
|
(*StopJobReply)(nil), // 9: platformserver.api.v1.StopJobReply |
|
|
|
(*TrainJobListRequest)(nil), // 10: platformserver.api.v1.TrainJobListRequest |
|
|
|
(*TrainJobListReply)(nil), // 11: platformserver.api.v1.TrainJobListReply |
|
|
|
(*TrainJob)(nil), // 12: platformserver.api.v1.TrainJob |
|
|
|
(*TrainJobInfoRequest)(nil), // 13: platformserver.api.v1.TrainJobInfoRequest |
|
|
|
(*TrainJobInfoReply)(nil), // 14: platformserver.api.v1.TrainJobInfoReply |
|
|
|
(*TrainJobStasticsRequest)(nil), // 15: platformserver.api.v1.TrainJobStasticsRequest |
|
|
|
(*TrainJobStasticsReply)(nil), // 16: platformserver.api.v1.TrainJobStasticsReply |
|
|
|
(*Node)(nil), // 17: platformserver.api.v1.Node |
|
|
|
(*PlatformResourcesReply)(nil), // 18: platformserver.api.v1.PlatformResourcesReply |
|
|
|
nil, // 19: platformserver.api.v1.Node.CapacityEntry |
|
|
|
nil, // 20: platformserver.api.v1.Node.AllocatedEntry |
|
|
|
(*emptypb.Empty)(nil), // 21: google.protobuf.Empty |
|
|
|
} |
|
|
|
var file_server_platform_server_api_v1_trainJob_proto_depIdxs = []int32{ |
|
|
|
1, // 0: platformserver.api.v1.TrainJobRequest.image:type_name -> platformserver.api.v1.Image |
|
|
|
3, // 1: platformserver.api.v1.TrainJobRequest.output:type_name -> platformserver.api.v1.Output |
|
|
|
2, // 2: platformserver.api.v1.TrainJobRequest.datasets:type_name -> platformserver.api.v1.Dataset |
|
|
|
4, // 3: platformserver.api.v1.TrainJobRequest.tasks:type_name -> platformserver.api.v1.Task |
|
|
|
5, // 4: platformserver.api.v1.Task.parameters:type_name -> platformserver.api.v1.Parameter |
|
|
|
6, // 5: platformserver.api.v1.Task.resources:type_name -> platformserver.api.v1.Resource |
|
|
|
12, // 6: platformserver.api.v1.TrainJobListReply.trainJobs:type_name -> platformserver.api.v1.TrainJob |
|
|
|
2, // 7: platformserver.api.v1.TrainJob.datasets:type_name -> platformserver.api.v1.Dataset |
|
|
|
1, // 8: platformserver.api.v1.TrainJob.image:type_name -> platformserver.api.v1.Image |
|
|
|
4, // 9: platformserver.api.v1.TrainJob.tasks:type_name -> platformserver.api.v1.Task |
|
|
|
12, // 10: platformserver.api.v1.TrainJobInfoReply.trainJob:type_name -> platformserver.api.v1.TrainJob |
|
|
|
19, // 11: platformserver.api.v1.Node.capacity:type_name -> platformserver.api.v1.Node.CapacityEntry |
|
|
|
20, // 12: platformserver.api.v1.Node.allocated:type_name -> platformserver.api.v1.Node.AllocatedEntry |
|
|
|
17, // 13: platformserver.api.v1.PlatformResourcesReply.resources:type_name -> platformserver.api.v1.Node |
|
|
|
0, // 14: platformserver.api.v1.TrainJobService.TrainJob:input_type -> platformserver.api.v1.TrainJobRequest |
|
|
|
8, // 15: platformserver.api.v1.TrainJobService.StopJob:input_type -> platformserver.api.v1.StopJobRequest |
|
|
|
13, // 16: platformserver.api.v1.TrainJobService.GetJobInfo:input_type -> platformserver.api.v1.TrainJobInfoRequest |
|
|
|
10, // 17: platformserver.api.v1.TrainJobService.TrainJobList:input_type -> platformserver.api.v1.TrainJobListRequest |
|
|
|
15, // 18: platformserver.api.v1.TrainJobService.TrainJobStastics:input_type -> platformserver.api.v1.TrainJobStasticsRequest |
|
|
|
21, // 19: platformserver.api.v1.TrainJobService.PlatformResources:input_type -> google.protobuf.Empty |
|
|
|
7, // 20: platformserver.api.v1.TrainJobService.TrainJob:output_type -> platformserver.api.v1.TrainJobReply |
|
|
|
9, // 21: platformserver.api.v1.TrainJobService.StopJob:output_type -> platformserver.api.v1.StopJobReply |
|
|
|
14, // 22: platformserver.api.v1.TrainJobService.GetJobInfo:output_type -> platformserver.api.v1.TrainJobInfoReply |
|
|
|
11, // 23: platformserver.api.v1.TrainJobService.TrainJobList:output_type -> platformserver.api.v1.TrainJobListReply |
|
|
|
16, // 24: platformserver.api.v1.TrainJobService.TrainJobStastics:output_type -> platformserver.api.v1.TrainJobStasticsReply |
|
|
|
18, // 25: platformserver.api.v1.TrainJobService.PlatformResources:output_type -> platformserver.api.v1.PlatformResourcesReply |
|
|
|
20, // [20:26] is the sub-list for method output_type |
|
|
|
14, // [14:20] is the sub-list for method input_type |
|
|
|
14, // [14:14] is the sub-list for extension type_name |
|
|
|
14, // [14:14] is the sub-list for extension extendee |
|
|
|
0, // [0:14] is the sub-list for field type_name |
|
|
|
} |
|
|
|
|
|
|
|
func init() { file_server_platform_server_api_v1_trainJob_proto_init() } |
|
|
|
func file_server_platform_server_api_v1_trainJob_proto_init() { |
|
|
|
if File_server_platform_server_api_v1_trainJob_proto != nil { |
|
|
|
return |
|
|
|
} |
|
|
|
if !protoimpl.UnsafeEnabled { |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*TrainJobRequest); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*Image); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*Dataset); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*Output); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*Task); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*Parameter); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*Resource); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*TrainJobReply); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*StopJobRequest); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*StopJobReply); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*TrainJobListRequest); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*TrainJobListReply); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*TrainJob); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*TrainJobInfoRequest); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*TrainJobInfoReply); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*TrainJobStasticsRequest); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*TrainJobStasticsReply); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*Node); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*PlatformResourcesReply); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
type x struct{} |
|
|
|
out := protoimpl.TypeBuilder{ |
|
|
|
File: protoimpl.DescBuilder{ |
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
|
|
|
RawDescriptor: file_server_platform_server_api_v1_trainJob_proto_rawDesc, |
|
|
|
NumEnums: 0, |
|
|
|
NumMessages: 21, |
|
|
|
NumExtensions: 0, |
|
|
|
NumServices: 1, |
|
|
|
}, |
|
|
|
GoTypes: file_server_platform_server_api_v1_trainJob_proto_goTypes, |
|
|
|
DependencyIndexes: file_server_platform_server_api_v1_trainJob_proto_depIdxs, |
|
|
|
MessageInfos: file_server_platform_server_api_v1_trainJob_proto_msgTypes, |
|
|
|
}.Build() |
|
|
|
File_server_platform_server_api_v1_trainJob_proto = out.File |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_rawDesc = nil |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_goTypes = nil |
|
|
|
file_server_platform_server_api_v1_trainJob_proto_depIdxs = nil |
|
|
|
} |