Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterMLTrainingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMLTrainingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MLTrainingServiceClient) error
- func RegisterMLTrainingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMLTrainingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MLTrainingServiceServer) error
- func RegisterMLTrainingServiceServer(s grpc.ServiceRegistrar, srv MLTrainingServiceServer)
- type CancelTrainingJobRequest
- func (*CancelTrainingJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelTrainingJobRequest) GetId() string
- func (*CancelTrainingJobRequest) ProtoMessage()
- func (x *CancelTrainingJobRequest) ProtoReflect() protoreflect.Message
- func (x *CancelTrainingJobRequest) Reset()
- func (x *CancelTrainingJobRequest) String() string
- type CancelTrainingJobResponse
- type DeleteCompletedTrainingJobRequest
- func (*DeleteCompletedTrainingJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCompletedTrainingJobRequest) GetId() string
- func (*DeleteCompletedTrainingJobRequest) ProtoMessage()
- func (x *DeleteCompletedTrainingJobRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCompletedTrainingJobRequest) Reset()
- func (x *DeleteCompletedTrainingJobRequest) String() string
- type DeleteCompletedTrainingJobResponse
- func (*DeleteCompletedTrainingJobResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteCompletedTrainingJobResponse) ProtoMessage()
- func (x *DeleteCompletedTrainingJobResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteCompletedTrainingJobResponse) Reset()
- func (x *DeleteCompletedTrainingJobResponse) String() string
- type GetTrainingJobLogsRequest
- func (*GetTrainingJobLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTrainingJobLogsRequest) GetId() string
- func (x *GetTrainingJobLogsRequest) GetPageToken() string
- func (*GetTrainingJobLogsRequest) ProtoMessage()
- func (x *GetTrainingJobLogsRequest) ProtoReflect() protoreflect.Message
- func (x *GetTrainingJobLogsRequest) Reset()
- func (x *GetTrainingJobLogsRequest) String() string
- type GetTrainingJobLogsResponse
- func (*GetTrainingJobLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTrainingJobLogsResponse) GetLogs() []*TrainingJobLogEntry
- func (x *GetTrainingJobLogsResponse) GetNextPageToken() string
- func (*GetTrainingJobLogsResponse) ProtoMessage()
- func (x *GetTrainingJobLogsResponse) ProtoReflect() protoreflect.Message
- func (x *GetTrainingJobLogsResponse) Reset()
- func (x *GetTrainingJobLogsResponse) String() string
- type GetTrainingJobRequest
- func (*GetTrainingJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTrainingJobRequest) GetId() string
- func (*GetTrainingJobRequest) ProtoMessage()
- func (x *GetTrainingJobRequest) ProtoReflect() protoreflect.Message
- func (x *GetTrainingJobRequest) Reset()
- func (x *GetTrainingJobRequest) String() string
- type GetTrainingJobResponse
- func (*GetTrainingJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTrainingJobResponse) GetMetadata() *TrainingJobMetadata
- func (*GetTrainingJobResponse) ProtoMessage()
- func (x *GetTrainingJobResponse) ProtoReflect() protoreflect.Message
- func (x *GetTrainingJobResponse) Reset()
- func (x *GetTrainingJobResponse) String() string
- type ListTrainingJobsRequest
- func (*ListTrainingJobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrainingJobsRequest) GetOrganizationId() string
- func (x *ListTrainingJobsRequest) GetStatus() TrainingStatus
- func (*ListTrainingJobsRequest) ProtoMessage()
- func (x *ListTrainingJobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTrainingJobsRequest) Reset()
- func (x *ListTrainingJobsRequest) String() string
- type ListTrainingJobsResponse
- func (*ListTrainingJobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrainingJobsResponse) GetJobs() []*TrainingJobMetadata
- func (*ListTrainingJobsResponse) ProtoMessage()
- func (x *ListTrainingJobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTrainingJobsResponse) Reset()
- func (x *ListTrainingJobsResponse) String() string
- type MLTrainingServiceClient
- type MLTrainingServiceServer
- type ModelFramework
- func (ModelFramework) Descriptor() protoreflect.EnumDescriptor
- func (x ModelFramework) Enum() *ModelFramework
- func (ModelFramework) EnumDescriptor() ([]byte, []int)deprecated
- func (x ModelFramework) Number() protoreflect.EnumNumber
- func (x ModelFramework) String() string
- func (ModelFramework) Type() protoreflect.EnumType
- type ModelType
- type SubmitCustomTrainingJobRequest
- func (*SubmitCustomTrainingJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitCustomTrainingJobRequest) GetDatasetId() string
- func (x *SubmitCustomTrainingJobRequest) GetModelName() string
- func (x *SubmitCustomTrainingJobRequest) GetModelVersion() string
- func (x *SubmitCustomTrainingJobRequest) GetOrganizationId() string
- func (x *SubmitCustomTrainingJobRequest) GetRegistryItemId() string
- func (x *SubmitCustomTrainingJobRequest) GetRegistryItemVersion() string
- func (*SubmitCustomTrainingJobRequest) ProtoMessage()
- func (x *SubmitCustomTrainingJobRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitCustomTrainingJobRequest) Reset()
- func (x *SubmitCustomTrainingJobRequest) String() string
- type SubmitCustomTrainingJobResponse
- func (*SubmitCustomTrainingJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitCustomTrainingJobResponse) GetId() string
- func (*SubmitCustomTrainingJobResponse) ProtoMessage()
- func (x *SubmitCustomTrainingJobResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitCustomTrainingJobResponse) Reset()
- func (x *SubmitCustomTrainingJobResponse) String() string
- type SubmitTrainingJobRequest
- func (*SubmitTrainingJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTrainingJobRequest) GetDatasetId() string
- func (x *SubmitTrainingJobRequest) GetModelName() string
- func (x *SubmitTrainingJobRequest) GetModelType() ModelType
- func (x *SubmitTrainingJobRequest) GetModelVersion() string
- func (x *SubmitTrainingJobRequest) GetOrganizationId() string
- func (x *SubmitTrainingJobRequest) GetTags() []string
- func (*SubmitTrainingJobRequest) ProtoMessage()
- func (x *SubmitTrainingJobRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitTrainingJobRequest) Reset()
- func (x *SubmitTrainingJobRequest) String() string
- type SubmitTrainingJobResponse
- func (*SubmitTrainingJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTrainingJobResponse) GetId() string
- func (*SubmitTrainingJobResponse) ProtoMessage()
- func (x *SubmitTrainingJobResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitTrainingJobResponse) Reset()
- func (x *SubmitTrainingJobResponse) String() string
- type TrainingJobLogEntry
- func (*TrainingJobLogEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TrainingJobLogEntry) GetLevel() string
- func (x *TrainingJobLogEntry) GetMessage() string
- func (x *TrainingJobLogEntry) GetTime() *timestamppb.Timestamp
- func (*TrainingJobLogEntry) ProtoMessage()
- func (x *TrainingJobLogEntry) ProtoReflect() protoreflect.Message
- func (x *TrainingJobLogEntry) Reset()
- func (x *TrainingJobLogEntry) String() string
- type TrainingJobMetadata
- func (*TrainingJobMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *TrainingJobMetadata) GetCreatedOn() *timestamppb.Timestamp
- func (x *TrainingJobMetadata) GetDatasetId() string
- func (x *TrainingJobMetadata) GetErrorStatus() *status.Status
- func (x *TrainingJobMetadata) GetId() string
- func (x *TrainingJobMetadata) GetIsCustomJob() bool
- func (x *TrainingJobMetadata) GetLastModified() *timestamppb.Timestamp
- func (x *TrainingJobMetadata) GetModelFramework() ModelFramework
- func (x *TrainingJobMetadata) GetModelName() string
- func (x *TrainingJobMetadata) GetModelType() ModelType
- func (x *TrainingJobMetadata) GetModelVersion() string
- func (x *TrainingJobMetadata) GetOrganizationId() string
- func (x *TrainingJobMetadata) GetRegistryItemId() string
- func (x *TrainingJobMetadata) GetRegistryItemVersion() string
- func (x *TrainingJobMetadata) GetStatus() TrainingStatus
- func (x *TrainingJobMetadata) GetSyncedModelId() string
- func (x *TrainingJobMetadata) GetTags() []string
- func (x *TrainingJobMetadata) GetTrainingEnded() *timestamppb.Timestamp
- func (x *TrainingJobMetadata) GetTrainingStarted() *timestamppb.Timestamp
- func (*TrainingJobMetadata) ProtoMessage()
- func (x *TrainingJobMetadata) ProtoReflect() protoreflect.Message
- func (x *TrainingJobMetadata) Reset()
- func (x *TrainingJobMetadata) String() string
- type TrainingStatus
- func (TrainingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x TrainingStatus) Enum() *TrainingStatus
- func (TrainingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x TrainingStatus) Number() protoreflect.EnumNumber
- func (x TrainingStatus) String() string
- func (TrainingStatus) Type() protoreflect.EnumType
- type UnimplementedMLTrainingServiceServer
- func (UnimplementedMLTrainingServiceServer) CancelTrainingJob(context.Context, *CancelTrainingJobRequest) (*CancelTrainingJobResponse, error)
- func (UnimplementedMLTrainingServiceServer) DeleteCompletedTrainingJob(context.Context, *DeleteCompletedTrainingJobRequest) (*DeleteCompletedTrainingJobResponse, error)
- func (UnimplementedMLTrainingServiceServer) GetTrainingJob(context.Context, *GetTrainingJobRequest) (*GetTrainingJobResponse, error)
- func (UnimplementedMLTrainingServiceServer) GetTrainingJobLogs(context.Context, *GetTrainingJobLogsRequest) (*GetTrainingJobLogsResponse, error)
- func (UnimplementedMLTrainingServiceServer) ListTrainingJobs(context.Context, *ListTrainingJobsRequest) (*ListTrainingJobsResponse, error)
- func (UnimplementedMLTrainingServiceServer) SubmitCustomTrainingJob(context.Context, *SubmitCustomTrainingJobRequest) (*SubmitCustomTrainingJobResponse, error)
- func (UnimplementedMLTrainingServiceServer) SubmitTrainingJob(context.Context, *SubmitTrainingJobRequest) (*SubmitTrainingJobResponse, error)
- type UnsafeMLTrainingServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ModelType_name = map[int32]string{ 0: "MODEL_TYPE_UNSPECIFIED", 1: "MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION", 2: "MODEL_TYPE_MULTI_LABEL_CLASSIFICATION", 3: "MODEL_TYPE_OBJECT_DETECTION", } ModelType_value = map[string]int32{ "MODEL_TYPE_UNSPECIFIED": 0, "MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION": 1, "MODEL_TYPE_MULTI_LABEL_CLASSIFICATION": 2, "MODEL_TYPE_OBJECT_DETECTION": 3, } )
Enum value maps for ModelType.
var ( ModelFramework_name = map[int32]string{ 0: "MODEL_FRAMEWORK_UNSPECIFIED", 1: "MODEL_FRAMEWORK_TFLITE", 2: "MODEL_FRAMEWORK_TENSORFLOW", 3: "MODEL_FRAMEWORK_PYTORCH", 4: "MODEL_FRAMEWORK_ONNX", } ModelFramework_value = map[string]int32{ "MODEL_FRAMEWORK_UNSPECIFIED": 0, "MODEL_FRAMEWORK_TFLITE": 1, "MODEL_FRAMEWORK_TENSORFLOW": 2, "MODEL_FRAMEWORK_PYTORCH": 3, "MODEL_FRAMEWORK_ONNX": 4, } )
Enum value maps for ModelFramework.
var ( TrainingStatus_name = map[int32]string{ 0: "TRAINING_STATUS_UNSPECIFIED", 1: "TRAINING_STATUS_PENDING", 2: "TRAINING_STATUS_IN_PROGRESS", 3: "TRAINING_STATUS_COMPLETED", 4: "TRAINING_STATUS_FAILED", 5: "TRAINING_STATUS_CANCELED", 6: "TRAINING_STATUS_CANCELING", } TrainingStatus_value = map[string]int32{ "TRAINING_STATUS_UNSPECIFIED": 0, "TRAINING_STATUS_PENDING": 1, "TRAINING_STATUS_IN_PROGRESS": 2, "TRAINING_STATUS_COMPLETED": 3, "TRAINING_STATUS_FAILED": 4, "TRAINING_STATUS_CANCELED": 5, "TRAINING_STATUS_CANCELING": 6, } )
Enum value maps for TrainingStatus.
var File_app_mltraining_v1_ml_training_proto protoreflect.FileDescriptor
var MLTrainingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "viam.app.mltraining.v1.MLTrainingService", HandlerType: (*MLTrainingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SubmitTrainingJob", Handler: _MLTrainingService_SubmitTrainingJob_Handler, }, { MethodName: "SubmitCustomTrainingJob", Handler: _MLTrainingService_SubmitCustomTrainingJob_Handler, }, { MethodName: "GetTrainingJob", Handler: _MLTrainingService_GetTrainingJob_Handler, }, { MethodName: "ListTrainingJobs", Handler: _MLTrainingService_ListTrainingJobs_Handler, }, { MethodName: "CancelTrainingJob", Handler: _MLTrainingService_CancelTrainingJob_Handler, }, { MethodName: "DeleteCompletedTrainingJob", Handler: _MLTrainingService_DeleteCompletedTrainingJob_Handler, }, { MethodName: "GetTrainingJobLogs", Handler: _MLTrainingService_GetTrainingJobLogs_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "app/mltraining/v1/ml_training.proto", }
MLTrainingService_ServiceDesc is the grpc.ServiceDesc for MLTrainingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMLTrainingServiceHandler ¶
func RegisterMLTrainingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMLTrainingServiceHandler registers the http handlers for service MLTrainingService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMLTrainingServiceHandlerClient ¶
func RegisterMLTrainingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MLTrainingServiceClient) error
RegisterMLTrainingServiceHandlerClient registers the http handlers for service MLTrainingService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MLTrainingServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MLTrainingServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MLTrainingServiceClient" to call the correct interceptors.
func RegisterMLTrainingServiceHandlerFromEndpoint ¶
func RegisterMLTrainingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMLTrainingServiceHandlerFromEndpoint is same as RegisterMLTrainingServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMLTrainingServiceHandlerServer ¶
func RegisterMLTrainingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MLTrainingServiceServer) error
RegisterMLTrainingServiceHandlerServer registers the http handlers for service MLTrainingService to "mux". UnaryRPC :call MLTrainingServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMLTrainingServiceHandlerFromEndpoint instead.
func RegisterMLTrainingServiceServer ¶
func RegisterMLTrainingServiceServer(s grpc.ServiceRegistrar, srv MLTrainingServiceServer)
Types ¶
type CancelTrainingJobRequest ¶ added in v0.1.86
type CancelTrainingJobRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CancelTrainingJobRequest) Descriptor
deprecated
added in
v0.1.86
func (*CancelTrainingJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelTrainingJobRequest.ProtoReflect.Descriptor instead.
func (*CancelTrainingJobRequest) GetId ¶ added in v0.1.86
func (x *CancelTrainingJobRequest) GetId() string
func (*CancelTrainingJobRequest) ProtoMessage ¶ added in v0.1.86
func (*CancelTrainingJobRequest) ProtoMessage()
func (*CancelTrainingJobRequest) ProtoReflect ¶ added in v0.1.86
func (x *CancelTrainingJobRequest) ProtoReflect() protoreflect.Message
func (*CancelTrainingJobRequest) Reset ¶ added in v0.1.86
func (x *CancelTrainingJobRequest) Reset()
func (*CancelTrainingJobRequest) String ¶ added in v0.1.86
func (x *CancelTrainingJobRequest) String() string
type CancelTrainingJobResponse ¶ added in v0.1.86
type CancelTrainingJobResponse struct {
// contains filtered or unexported fields
}
func (*CancelTrainingJobResponse) Descriptor
deprecated
added in
v0.1.86
func (*CancelTrainingJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelTrainingJobResponse.ProtoReflect.Descriptor instead.
func (*CancelTrainingJobResponse) ProtoMessage ¶ added in v0.1.86
func (*CancelTrainingJobResponse) ProtoMessage()
func (*CancelTrainingJobResponse) ProtoReflect ¶ added in v0.1.86
func (x *CancelTrainingJobResponse) ProtoReflect() protoreflect.Message
func (*CancelTrainingJobResponse) Reset ¶ added in v0.1.86
func (x *CancelTrainingJobResponse) Reset()
func (*CancelTrainingJobResponse) String ¶ added in v0.1.86
func (x *CancelTrainingJobResponse) String() string
type DeleteCompletedTrainingJobRequest ¶ added in v0.1.222
type DeleteCompletedTrainingJobRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCompletedTrainingJobRequest) Descriptor
deprecated
added in
v0.1.222
func (*DeleteCompletedTrainingJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCompletedTrainingJobRequest.ProtoReflect.Descriptor instead.
func (*DeleteCompletedTrainingJobRequest) GetId ¶ added in v0.1.222
func (x *DeleteCompletedTrainingJobRequest) GetId() string
func (*DeleteCompletedTrainingJobRequest) ProtoMessage ¶ added in v0.1.222
func (*DeleteCompletedTrainingJobRequest) ProtoMessage()
func (*DeleteCompletedTrainingJobRequest) ProtoReflect ¶ added in v0.1.222
func (x *DeleteCompletedTrainingJobRequest) ProtoReflect() protoreflect.Message
func (*DeleteCompletedTrainingJobRequest) Reset ¶ added in v0.1.222
func (x *DeleteCompletedTrainingJobRequest) Reset()
func (*DeleteCompletedTrainingJobRequest) String ¶ added in v0.1.222
func (x *DeleteCompletedTrainingJobRequest) String() string
type DeleteCompletedTrainingJobResponse ¶ added in v0.1.222
type DeleteCompletedTrainingJobResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCompletedTrainingJobResponse) Descriptor
deprecated
added in
v0.1.222
func (*DeleteCompletedTrainingJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCompletedTrainingJobResponse.ProtoReflect.Descriptor instead.
func (*DeleteCompletedTrainingJobResponse) ProtoMessage ¶ added in v0.1.222
func (*DeleteCompletedTrainingJobResponse) ProtoMessage()
func (*DeleteCompletedTrainingJobResponse) ProtoReflect ¶ added in v0.1.222
func (x *DeleteCompletedTrainingJobResponse) ProtoReflect() protoreflect.Message
func (*DeleteCompletedTrainingJobResponse) Reset ¶ added in v0.1.222
func (x *DeleteCompletedTrainingJobResponse) Reset()
func (*DeleteCompletedTrainingJobResponse) String ¶ added in v0.1.222
func (x *DeleteCompletedTrainingJobResponse) String() string
type GetTrainingJobLogsRequest ¶ added in v0.1.327
type GetTrainingJobLogsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PageToken *string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*GetTrainingJobLogsRequest) Descriptor
deprecated
added in
v0.1.327
func (*GetTrainingJobLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTrainingJobLogsRequest.ProtoReflect.Descriptor instead.
func (*GetTrainingJobLogsRequest) GetId ¶ added in v0.1.327
func (x *GetTrainingJobLogsRequest) GetId() string
func (*GetTrainingJobLogsRequest) GetPageToken ¶ added in v0.1.327
func (x *GetTrainingJobLogsRequest) GetPageToken() string
func (*GetTrainingJobLogsRequest) ProtoMessage ¶ added in v0.1.327
func (*GetTrainingJobLogsRequest) ProtoMessage()
func (*GetTrainingJobLogsRequest) ProtoReflect ¶ added in v0.1.327
func (x *GetTrainingJobLogsRequest) ProtoReflect() protoreflect.Message
func (*GetTrainingJobLogsRequest) Reset ¶ added in v0.1.327
func (x *GetTrainingJobLogsRequest) Reset()
func (*GetTrainingJobLogsRequest) String ¶ added in v0.1.327
func (x *GetTrainingJobLogsRequest) String() string
type GetTrainingJobLogsResponse ¶ added in v0.1.327
type GetTrainingJobLogsResponse struct { Logs []*TrainingJobLogEntry `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*GetTrainingJobLogsResponse) Descriptor
deprecated
added in
v0.1.327
func (*GetTrainingJobLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTrainingJobLogsResponse.ProtoReflect.Descriptor instead.
func (*GetTrainingJobLogsResponse) GetLogs ¶ added in v0.1.327
func (x *GetTrainingJobLogsResponse) GetLogs() []*TrainingJobLogEntry
func (*GetTrainingJobLogsResponse) GetNextPageToken ¶ added in v0.1.327
func (x *GetTrainingJobLogsResponse) GetNextPageToken() string
func (*GetTrainingJobLogsResponse) ProtoMessage ¶ added in v0.1.327
func (*GetTrainingJobLogsResponse) ProtoMessage()
func (*GetTrainingJobLogsResponse) ProtoReflect ¶ added in v0.1.327
func (x *GetTrainingJobLogsResponse) ProtoReflect() protoreflect.Message
func (*GetTrainingJobLogsResponse) Reset ¶ added in v0.1.327
func (x *GetTrainingJobLogsResponse) Reset()
func (*GetTrainingJobLogsResponse) String ¶ added in v0.1.327
func (x *GetTrainingJobLogsResponse) String() string
type GetTrainingJobRequest ¶
type GetTrainingJobRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTrainingJobRequest) Descriptor
deprecated
func (*GetTrainingJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTrainingJobRequest.ProtoReflect.Descriptor instead.
func (*GetTrainingJobRequest) GetId ¶
func (x *GetTrainingJobRequest) GetId() string
func (*GetTrainingJobRequest) ProtoMessage ¶
func (*GetTrainingJobRequest) ProtoMessage()
func (*GetTrainingJobRequest) ProtoReflect ¶
func (x *GetTrainingJobRequest) ProtoReflect() protoreflect.Message
func (*GetTrainingJobRequest) Reset ¶
func (x *GetTrainingJobRequest) Reset()
func (*GetTrainingJobRequest) String ¶
func (x *GetTrainingJobRequest) String() string
type GetTrainingJobResponse ¶
type GetTrainingJobResponse struct { Metadata *TrainingJobMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*GetTrainingJobResponse) Descriptor
deprecated
func (*GetTrainingJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTrainingJobResponse.ProtoReflect.Descriptor instead.
func (*GetTrainingJobResponse) GetMetadata ¶
func (x *GetTrainingJobResponse) GetMetadata() *TrainingJobMetadata
func (*GetTrainingJobResponse) ProtoMessage ¶
func (*GetTrainingJobResponse) ProtoMessage()
func (*GetTrainingJobResponse) ProtoReflect ¶
func (x *GetTrainingJobResponse) ProtoReflect() protoreflect.Message
func (*GetTrainingJobResponse) Reset ¶
func (x *GetTrainingJobResponse) Reset()
func (*GetTrainingJobResponse) String ¶
func (x *GetTrainingJobResponse) String() string
type ListTrainingJobsRequest ¶ added in v0.1.75
type ListTrainingJobsRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` Status TrainingStatus `protobuf:"varint,2,opt,name=status,proto3,enum=viam.app.mltraining.v1.TrainingStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListTrainingJobsRequest) Descriptor
deprecated
added in
v0.1.75
func (*ListTrainingJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTrainingJobsRequest.ProtoReflect.Descriptor instead.
func (*ListTrainingJobsRequest) GetOrganizationId ¶ added in v0.1.75
func (x *ListTrainingJobsRequest) GetOrganizationId() string
func (*ListTrainingJobsRequest) GetStatus ¶ added in v0.1.75
func (x *ListTrainingJobsRequest) GetStatus() TrainingStatus
func (*ListTrainingJobsRequest) ProtoMessage ¶ added in v0.1.75
func (*ListTrainingJobsRequest) ProtoMessage()
func (*ListTrainingJobsRequest) ProtoReflect ¶ added in v0.1.75
func (x *ListTrainingJobsRequest) ProtoReflect() protoreflect.Message
func (*ListTrainingJobsRequest) Reset ¶ added in v0.1.75
func (x *ListTrainingJobsRequest) Reset()
func (*ListTrainingJobsRequest) String ¶ added in v0.1.75
func (x *ListTrainingJobsRequest) String() string
type ListTrainingJobsResponse ¶ added in v0.1.75
type ListTrainingJobsResponse struct { Jobs []*TrainingJobMetadata `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` // contains filtered or unexported fields }
func (*ListTrainingJobsResponse) Descriptor
deprecated
added in
v0.1.75
func (*ListTrainingJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTrainingJobsResponse.ProtoReflect.Descriptor instead.
func (*ListTrainingJobsResponse) GetJobs ¶ added in v0.1.75
func (x *ListTrainingJobsResponse) GetJobs() []*TrainingJobMetadata
func (*ListTrainingJobsResponse) ProtoMessage ¶ added in v0.1.75
func (*ListTrainingJobsResponse) ProtoMessage()
func (*ListTrainingJobsResponse) ProtoReflect ¶ added in v0.1.75
func (x *ListTrainingJobsResponse) ProtoReflect() protoreflect.Message
func (*ListTrainingJobsResponse) Reset ¶ added in v0.1.75
func (x *ListTrainingJobsResponse) Reset()
func (*ListTrainingJobsResponse) String ¶ added in v0.1.75
func (x *ListTrainingJobsResponse) String() string
type MLTrainingServiceClient ¶
type MLTrainingServiceClient interface { // SubmitTrainingJob submits a training job request. SubmitTrainingJob(ctx context.Context, in *SubmitTrainingJobRequest, opts ...grpc.CallOption) (*SubmitTrainingJobResponse, error) // SubmitCustomTrainingJob submits a custom training job request. SubmitCustomTrainingJob(ctx context.Context, in *SubmitCustomTrainingJobRequest, opts ...grpc.CallOption) (*SubmitCustomTrainingJobResponse, error) // GetTrainingJob retrieves a training job by its ID. GetTrainingJob(ctx context.Context, in *GetTrainingJobRequest, opts ...grpc.CallOption) (*GetTrainingJobResponse, error) // ListTrainingJobs lists training jobs for a given organization ID and training status. ListTrainingJobs(ctx context.Context, in *ListTrainingJobsRequest, opts ...grpc.CallOption) (*ListTrainingJobsResponse, error) // CancelTrainingJob cancels a training job that has not yet completed. CancelTrainingJob(ctx context.Context, in *CancelTrainingJobRequest, opts ...grpc.CallOption) (*CancelTrainingJobResponse, error) // DeleteCompletedTrainingJob removes a completed training job from the database, whether the job succeeded or failed. DeleteCompletedTrainingJob(ctx context.Context, in *DeleteCompletedTrainingJobRequest, opts ...grpc.CallOption) (*DeleteCompletedTrainingJobResponse, error) // GetTrainingJobLogs gets the logs for a given custom training job. GetTrainingJobLogs(ctx context.Context, in *GetTrainingJobLogsRequest, opts ...grpc.CallOption) (*GetTrainingJobLogsResponse, error) }
MLTrainingServiceClient is the client API for MLTrainingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMLTrainingServiceClient ¶
func NewMLTrainingServiceClient(cc grpc.ClientConnInterface) MLTrainingServiceClient
type MLTrainingServiceServer ¶
type MLTrainingServiceServer interface { // SubmitTrainingJob submits a training job request. SubmitTrainingJob(context.Context, *SubmitTrainingJobRequest) (*SubmitTrainingJobResponse, error) // SubmitCustomTrainingJob submits a custom training job request. SubmitCustomTrainingJob(context.Context, *SubmitCustomTrainingJobRequest) (*SubmitCustomTrainingJobResponse, error) // GetTrainingJob retrieves a training job by its ID. GetTrainingJob(context.Context, *GetTrainingJobRequest) (*GetTrainingJobResponse, error) // ListTrainingJobs lists training jobs for a given organization ID and training status. ListTrainingJobs(context.Context, *ListTrainingJobsRequest) (*ListTrainingJobsResponse, error) // CancelTrainingJob cancels a training job that has not yet completed. CancelTrainingJob(context.Context, *CancelTrainingJobRequest) (*CancelTrainingJobResponse, error) // DeleteCompletedTrainingJob removes a completed training job from the database, whether the job succeeded or failed. DeleteCompletedTrainingJob(context.Context, *DeleteCompletedTrainingJobRequest) (*DeleteCompletedTrainingJobResponse, error) // GetTrainingJobLogs gets the logs for a given custom training job. GetTrainingJobLogs(context.Context, *GetTrainingJobLogsRequest) (*GetTrainingJobLogsResponse, error) // contains filtered or unexported methods }
MLTrainingServiceServer is the server API for MLTrainingService service. All implementations must embed UnimplementedMLTrainingServiceServer for forward compatibility
type ModelFramework ¶ added in v0.1.284
type ModelFramework int32
const ( ModelFramework_MODEL_FRAMEWORK_UNSPECIFIED ModelFramework = 0 ModelFramework_MODEL_FRAMEWORK_TFLITE ModelFramework = 1 ModelFramework_MODEL_FRAMEWORK_TENSORFLOW ModelFramework = 2 ModelFramework_MODEL_FRAMEWORK_PYTORCH ModelFramework = 3 ModelFramework_MODEL_FRAMEWORK_ONNX ModelFramework = 4 )
func (ModelFramework) Descriptor ¶ added in v0.1.284
func (ModelFramework) Descriptor() protoreflect.EnumDescriptor
func (ModelFramework) Enum ¶ added in v0.1.284
func (x ModelFramework) Enum() *ModelFramework
func (ModelFramework) EnumDescriptor
deprecated
added in
v0.1.284
func (ModelFramework) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModelFramework.Descriptor instead.
func (ModelFramework) Number ¶ added in v0.1.284
func (x ModelFramework) Number() protoreflect.EnumNumber
func (ModelFramework) String ¶ added in v0.1.284
func (x ModelFramework) String() string
func (ModelFramework) Type ¶ added in v0.1.284
func (ModelFramework) Type() protoreflect.EnumType
type ModelType ¶
type ModelType int32
func (ModelType) Descriptor ¶
func (ModelType) Descriptor() protoreflect.EnumDescriptor
func (ModelType) EnumDescriptor
deprecated
func (ModelType) Number ¶
func (x ModelType) Number() protoreflect.EnumNumber
func (ModelType) Type ¶
func (ModelType) Type() protoreflect.EnumType
type SubmitCustomTrainingJobRequest ¶ added in v0.1.287
type SubmitCustomTrainingJobRequest struct { DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id" bson:"dataset_id"` RegistryItemId string `protobuf:"bytes,2,opt,name=registry_item_id,json=registryItemId,proto3" json:"registry_item_id" bson:"registry_item_id"` RegistryItemVersion string `` /* 139-byte string literal not displayed */ OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id" bson:"organization_id"` ModelName string `protobuf:"bytes,4,opt,name=model_name,json=modelName,proto3" json:"model_name" bson:"model_name"` ModelVersion string `protobuf:"bytes,5,opt,name=model_version,json=modelVersion,proto3" json:"model_version" bson:"model_version"` // contains filtered or unexported fields }
func (*SubmitCustomTrainingJobRequest) Descriptor
deprecated
added in
v0.1.287
func (*SubmitCustomTrainingJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitCustomTrainingJobRequest.ProtoReflect.Descriptor instead.
func (*SubmitCustomTrainingJobRequest) GetDatasetId ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobRequest) GetDatasetId() string
func (*SubmitCustomTrainingJobRequest) GetModelName ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobRequest) GetModelName() string
func (*SubmitCustomTrainingJobRequest) GetModelVersion ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobRequest) GetModelVersion() string
func (*SubmitCustomTrainingJobRequest) GetOrganizationId ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobRequest) GetOrganizationId() string
func (*SubmitCustomTrainingJobRequest) GetRegistryItemId ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobRequest) GetRegistryItemId() string
func (*SubmitCustomTrainingJobRequest) GetRegistryItemVersion ¶ added in v0.1.302
func (x *SubmitCustomTrainingJobRequest) GetRegistryItemVersion() string
func (*SubmitCustomTrainingJobRequest) ProtoMessage ¶ added in v0.1.287
func (*SubmitCustomTrainingJobRequest) ProtoMessage()
func (*SubmitCustomTrainingJobRequest) ProtoReflect ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobRequest) ProtoReflect() protoreflect.Message
func (*SubmitCustomTrainingJobRequest) Reset ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobRequest) Reset()
func (*SubmitCustomTrainingJobRequest) String ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobRequest) String() string
type SubmitCustomTrainingJobResponse ¶ added in v0.1.287
type SubmitCustomTrainingJobResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SubmitCustomTrainingJobResponse) Descriptor
deprecated
added in
v0.1.287
func (*SubmitCustomTrainingJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitCustomTrainingJobResponse.ProtoReflect.Descriptor instead.
func (*SubmitCustomTrainingJobResponse) GetId ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobResponse) GetId() string
func (*SubmitCustomTrainingJobResponse) ProtoMessage ¶ added in v0.1.287
func (*SubmitCustomTrainingJobResponse) ProtoMessage()
func (*SubmitCustomTrainingJobResponse) ProtoReflect ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobResponse) ProtoReflect() protoreflect.Message
func (*SubmitCustomTrainingJobResponse) Reset ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobResponse) Reset()
func (*SubmitCustomTrainingJobResponse) String ¶ added in v0.1.287
func (x *SubmitCustomTrainingJobResponse) String() string
type SubmitTrainingJobRequest ¶
type SubmitTrainingJobRequest struct { DatasetId string `protobuf:"bytes,7,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id" bson:"dataset_id"` OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id" bson:"organization_id"` ModelName string `protobuf:"bytes,3,opt,name=model_name,json=modelName,proto3" json:"model_name" bson:"model_name"` ModelVersion string `protobuf:"bytes,4,opt,name=model_version,json=modelVersion,proto3" json:"model_version" bson:"model_version"` ModelType ModelType `` /* 135-byte string literal not displayed */ Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags" bson:"tags"` // contains filtered or unexported fields }
func (*SubmitTrainingJobRequest) Descriptor
deprecated
func (*SubmitTrainingJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTrainingJobRequest.ProtoReflect.Descriptor instead.
func (*SubmitTrainingJobRequest) GetDatasetId ¶ added in v0.1.218
func (x *SubmitTrainingJobRequest) GetDatasetId() string
func (*SubmitTrainingJobRequest) GetModelName ¶
func (x *SubmitTrainingJobRequest) GetModelName() string
func (*SubmitTrainingJobRequest) GetModelType ¶
func (x *SubmitTrainingJobRequest) GetModelType() ModelType
func (*SubmitTrainingJobRequest) GetModelVersion ¶
func (x *SubmitTrainingJobRequest) GetModelVersion() string
func (*SubmitTrainingJobRequest) GetOrganizationId ¶
func (x *SubmitTrainingJobRequest) GetOrganizationId() string
func (*SubmitTrainingJobRequest) GetTags ¶
func (x *SubmitTrainingJobRequest) GetTags() []string
func (*SubmitTrainingJobRequest) ProtoMessage ¶
func (*SubmitTrainingJobRequest) ProtoMessage()
func (*SubmitTrainingJobRequest) ProtoReflect ¶
func (x *SubmitTrainingJobRequest) ProtoReflect() protoreflect.Message
func (*SubmitTrainingJobRequest) Reset ¶
func (x *SubmitTrainingJobRequest) Reset()
func (*SubmitTrainingJobRequest) String ¶
func (x *SubmitTrainingJobRequest) String() string
type SubmitTrainingJobResponse ¶
type SubmitTrainingJobResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SubmitTrainingJobResponse) Descriptor
deprecated
func (*SubmitTrainingJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTrainingJobResponse.ProtoReflect.Descriptor instead.
func (*SubmitTrainingJobResponse) GetId ¶
func (x *SubmitTrainingJobResponse) GetId() string
func (*SubmitTrainingJobResponse) ProtoMessage ¶
func (*SubmitTrainingJobResponse) ProtoMessage()
func (*SubmitTrainingJobResponse) ProtoReflect ¶
func (x *SubmitTrainingJobResponse) ProtoReflect() protoreflect.Message
func (*SubmitTrainingJobResponse) Reset ¶
func (x *SubmitTrainingJobResponse) Reset()
func (*SubmitTrainingJobResponse) String ¶
func (x *SubmitTrainingJobResponse) String() string
type TrainingJobLogEntry ¶ added in v0.1.327
type TrainingJobLogEntry struct { Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*TrainingJobLogEntry) Descriptor
deprecated
added in
v0.1.327
func (*TrainingJobLogEntry) Descriptor() ([]byte, []int)
Deprecated: Use TrainingJobLogEntry.ProtoReflect.Descriptor instead.
func (*TrainingJobLogEntry) GetLevel ¶ added in v0.1.327
func (x *TrainingJobLogEntry) GetLevel() string
func (*TrainingJobLogEntry) GetMessage ¶ added in v0.1.327
func (x *TrainingJobLogEntry) GetMessage() string
func (*TrainingJobLogEntry) GetTime ¶ added in v0.1.327
func (x *TrainingJobLogEntry) GetTime() *timestamppb.Timestamp
func (*TrainingJobLogEntry) ProtoMessage ¶ added in v0.1.327
func (*TrainingJobLogEntry) ProtoMessage()
func (*TrainingJobLogEntry) ProtoReflect ¶ added in v0.1.327
func (x *TrainingJobLogEntry) ProtoReflect() protoreflect.Message
func (*TrainingJobLogEntry) Reset ¶ added in v0.1.327
func (x *TrainingJobLogEntry) Reset()
func (*TrainingJobLogEntry) String ¶ added in v0.1.327
func (x *TrainingJobLogEntry) String() string
type TrainingJobMetadata ¶
type TrainingJobMetadata struct { Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty" bson:"_id"` DatasetId string `protobuf:"bytes,11,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id" bson:"dataset_id"` OrganizationId string `protobuf:"bytes,12,opt,name=organization_id,json=organizationId,proto3" json:"organization_id" bson:"organization_id"` ModelName string `protobuf:"bytes,13,opt,name=model_name,json=modelName,proto3" json:"model_name" bson:"model_name"` ModelVersion string `protobuf:"bytes,14,opt,name=model_version,json=modelVersion,proto3" json:"model_version" bson:"model_version"` ModelType ModelType `` /* 136-byte string literal not displayed */ ModelFramework ModelFramework `` /* 161-byte string literal not displayed */ IsCustomJob bool `protobuf:"varint,18,opt,name=is_custom_job,json=isCustomJob,proto3" json:"is_custom_job" bson:"is_custom_job"` RegistryItemId string `protobuf:"bytes,19,opt,name=registry_item_id,json=registryItemId,proto3" json:"registry_item_id" bson:"registry_item_id"` RegistryItemVersion string `` /* 140-byte string literal not displayed */ Status TrainingStatus `protobuf:"varint,2,opt,name=status,proto3,enum=viam.app.mltraining.v1.TrainingStatus" json:"status" bson:"status"` ErrorStatus *status.Status `protobuf:"bytes,8,opt,name=error_status,json=errorStatus,proto3" json:"error_status" bson:"error_status"` CreatedOn *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_on,json=createdOn,proto3" json:"created_on" bson:"created_on"` LastModified *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_modified,json=lastModified,proto3" json:"last_modified" bson:"last_modified"` TrainingStarted *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=training_started,json=trainingStarted,proto3" json:"training_started" bson:"training_started"` TrainingEnded *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=training_ended,json=trainingEnded,proto3" json:"training_ended" bson:"training_ended"` SyncedModelId string `protobuf:"bytes,5,opt,name=synced_model_id,json=syncedModelId,proto3" json:"synced_model_id" bson:"synced_model_id"` Tags []string `protobuf:"bytes,16,rep,name=tags,proto3" json:"tags" bson:"tags"` // contains filtered or unexported fields }
func (*TrainingJobMetadata) Descriptor
deprecated
func (*TrainingJobMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TrainingJobMetadata.ProtoReflect.Descriptor instead.
func (*TrainingJobMetadata) GetCreatedOn ¶
func (x *TrainingJobMetadata) GetCreatedOn() *timestamppb.Timestamp
func (*TrainingJobMetadata) GetDatasetId ¶ added in v0.1.280
func (x *TrainingJobMetadata) GetDatasetId() string
func (*TrainingJobMetadata) GetErrorStatus ¶ added in v0.1.130
func (x *TrainingJobMetadata) GetErrorStatus() *status.Status
func (*TrainingJobMetadata) GetId ¶ added in v0.1.75
func (x *TrainingJobMetadata) GetId() string
func (*TrainingJobMetadata) GetIsCustomJob ¶ added in v0.1.287
func (x *TrainingJobMetadata) GetIsCustomJob() bool
func (*TrainingJobMetadata) GetLastModified ¶
func (x *TrainingJobMetadata) GetLastModified() *timestamppb.Timestamp
func (*TrainingJobMetadata) GetModelFramework ¶ added in v0.1.287
func (x *TrainingJobMetadata) GetModelFramework() ModelFramework
func (*TrainingJobMetadata) GetModelName ¶ added in v0.1.280
func (x *TrainingJobMetadata) GetModelName() string
func (*TrainingJobMetadata) GetModelType ¶ added in v0.1.280
func (x *TrainingJobMetadata) GetModelType() ModelType
func (*TrainingJobMetadata) GetModelVersion ¶ added in v0.1.280
func (x *TrainingJobMetadata) GetModelVersion() string
func (*TrainingJobMetadata) GetOrganizationId ¶ added in v0.1.280
func (x *TrainingJobMetadata) GetOrganizationId() string
func (*TrainingJobMetadata) GetRegistryItemId ¶ added in v0.1.287
func (x *TrainingJobMetadata) GetRegistryItemId() string
func (*TrainingJobMetadata) GetRegistryItemVersion ¶ added in v0.1.302
func (x *TrainingJobMetadata) GetRegistryItemVersion() string
func (*TrainingJobMetadata) GetStatus ¶
func (x *TrainingJobMetadata) GetStatus() TrainingStatus
func (*TrainingJobMetadata) GetSyncedModelId ¶
func (x *TrainingJobMetadata) GetSyncedModelId() string
func (*TrainingJobMetadata) GetTags ¶ added in v0.1.280
func (x *TrainingJobMetadata) GetTags() []string
func (*TrainingJobMetadata) GetTrainingEnded ¶ added in v0.1.225
func (x *TrainingJobMetadata) GetTrainingEnded() *timestamppb.Timestamp
func (*TrainingJobMetadata) GetTrainingStarted ¶ added in v0.1.225
func (x *TrainingJobMetadata) GetTrainingStarted() *timestamppb.Timestamp
func (*TrainingJobMetadata) ProtoMessage ¶
func (*TrainingJobMetadata) ProtoMessage()
func (*TrainingJobMetadata) ProtoReflect ¶
func (x *TrainingJobMetadata) ProtoReflect() protoreflect.Message
func (*TrainingJobMetadata) Reset ¶
func (x *TrainingJobMetadata) Reset()
func (*TrainingJobMetadata) String ¶
func (x *TrainingJobMetadata) String() string
type TrainingStatus ¶
type TrainingStatus int32
const ( TrainingStatus_TRAINING_STATUS_UNSPECIFIED TrainingStatus = 0 TrainingStatus_TRAINING_STATUS_PENDING TrainingStatus = 1 TrainingStatus_TRAINING_STATUS_IN_PROGRESS TrainingStatus = 2 TrainingStatus_TRAINING_STATUS_COMPLETED TrainingStatus = 3 TrainingStatus_TRAINING_STATUS_FAILED TrainingStatus = 4 TrainingStatus_TRAINING_STATUS_CANCELED TrainingStatus = 5 TrainingStatus_TRAINING_STATUS_CANCELING TrainingStatus = 6 )
func (TrainingStatus) Descriptor ¶
func (TrainingStatus) Descriptor() protoreflect.EnumDescriptor
func (TrainingStatus) Enum ¶
func (x TrainingStatus) Enum() *TrainingStatus
func (TrainingStatus) EnumDescriptor
deprecated
func (TrainingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use TrainingStatus.Descriptor instead.
func (TrainingStatus) Number ¶
func (x TrainingStatus) Number() protoreflect.EnumNumber
func (TrainingStatus) String ¶
func (x TrainingStatus) String() string
func (TrainingStatus) Type ¶
func (TrainingStatus) Type() protoreflect.EnumType
type UnimplementedMLTrainingServiceServer ¶
type UnimplementedMLTrainingServiceServer struct { }
UnimplementedMLTrainingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMLTrainingServiceServer) CancelTrainingJob ¶ added in v0.1.86
func (UnimplementedMLTrainingServiceServer) CancelTrainingJob(context.Context, *CancelTrainingJobRequest) (*CancelTrainingJobResponse, error)
func (UnimplementedMLTrainingServiceServer) DeleteCompletedTrainingJob ¶ added in v0.1.222
func (UnimplementedMLTrainingServiceServer) DeleteCompletedTrainingJob(context.Context, *DeleteCompletedTrainingJobRequest) (*DeleteCompletedTrainingJobResponse, error)
func (UnimplementedMLTrainingServiceServer) GetTrainingJob ¶
func (UnimplementedMLTrainingServiceServer) GetTrainingJob(context.Context, *GetTrainingJobRequest) (*GetTrainingJobResponse, error)
func (UnimplementedMLTrainingServiceServer) GetTrainingJobLogs ¶ added in v0.1.327
func (UnimplementedMLTrainingServiceServer) GetTrainingJobLogs(context.Context, *GetTrainingJobLogsRequest) (*GetTrainingJobLogsResponse, error)
func (UnimplementedMLTrainingServiceServer) ListTrainingJobs ¶ added in v0.1.75
func (UnimplementedMLTrainingServiceServer) ListTrainingJobs(context.Context, *ListTrainingJobsRequest) (*ListTrainingJobsResponse, error)
func (UnimplementedMLTrainingServiceServer) SubmitCustomTrainingJob ¶ added in v0.1.287
func (UnimplementedMLTrainingServiceServer) SubmitCustomTrainingJob(context.Context, *SubmitCustomTrainingJobRequest) (*SubmitCustomTrainingJobResponse, error)
func (UnimplementedMLTrainingServiceServer) SubmitTrainingJob ¶
func (UnimplementedMLTrainingServiceServer) SubmitTrainingJob(context.Context, *SubmitTrainingJobRequest) (*SubmitTrainingJobResponse, error)
type UnsafeMLTrainingServiceServer ¶
type UnsafeMLTrainingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMLTrainingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MLTrainingServiceServer will result in compilation errors.