Documentation ¶
Index ¶
- Variables
- type Model
- func (*Model) Descriptor() ([]byte, []int)deprecated
- func (x *Model) GetArchived() bool
- func (x *Model) GetCreationTime() *timestamp.Timestamp
- func (x *Model) GetDescription() string
- func (x *Model) GetId() int32
- func (x *Model) GetLabels() []string
- func (x *Model) GetLastUpdatedTime() *timestamp.Timestamp
- func (x *Model) GetMetadata() *_struct.Struct
- func (x *Model) GetName() string
- func (x *Model) GetNotes() string
- func (x *Model) GetNumVersions() int32
- func (x *Model) GetUserId() int32
- func (x *Model) GetUsername() string
- func (x *Model) GetWorkspaceId() int32
- func (*Model) ProtoMessage()
- func (x *Model) ProtoReflect() protoreflect.Message
- func (x *Model) Reset()
- func (x *Model) String() string
- type ModelVersion
- func (*ModelVersion) Descriptor() ([]byte, []int)deprecated
- func (x *ModelVersion) GetCheckpoint() *checkpointv1.Checkpoint
- func (x *ModelVersion) GetComment() string
- func (x *ModelVersion) GetCreationTime() *timestamp.Timestamp
- func (x *ModelVersion) GetId() int32
- func (x *ModelVersion) GetLabels() []string
- func (x *ModelVersion) GetLastUpdatedTime() *timestamp.Timestamp
- func (x *ModelVersion) GetMetadata() *_struct.Struct
- func (x *ModelVersion) GetModel() *Model
- func (x *ModelVersion) GetName() string
- func (x *ModelVersion) GetNotes() string
- func (x *ModelVersion) GetUserId() int32
- func (x *ModelVersion) GetUsername() string
- func (x *ModelVersion) GetVersion() int32
- func (*ModelVersion) ProtoMessage()
- func (x *ModelVersion) ProtoReflect() protoreflect.Message
- func (x *ModelVersion) Reset()
- func (x *ModelVersion) String() string
- type PatchModel
- func (*PatchModel) Descriptor() ([]byte, []int)deprecated
- func (x *PatchModel) GetDescription() *wrappers.StringValue
- func (x *PatchModel) GetLabels() *_struct.ListValue
- func (x *PatchModel) GetMetadata() *_struct.Struct
- func (x *PatchModel) GetName() *wrappers.StringValue
- func (x *PatchModel) GetNotes() *wrappers.StringValue
- func (x *PatchModel) GetWorkspaceId() int32
- func (x *PatchModel) GetWorkspaceName() string
- func (*PatchModel) ProtoMessage()
- func (x *PatchModel) ProtoReflect() protoreflect.Message
- func (x *PatchModel) Reset()
- func (x *PatchModel) String() string
- type PatchModelVersion
- func (*PatchModelVersion) Descriptor() ([]byte, []int)deprecated
- func (x *PatchModelVersion) GetCheckpoint() *checkpointv1.Checkpoint
- func (x *PatchModelVersion) GetComment() *wrappers.StringValue
- func (x *PatchModelVersion) GetLabels() *_struct.ListValue
- func (x *PatchModelVersion) GetMetadata() *_struct.Struct
- func (x *PatchModelVersion) GetName() *wrappers.StringValue
- func (x *PatchModelVersion) GetNotes() *wrappers.StringValue
- func (*PatchModelVersion) ProtoMessage()
- func (x *PatchModelVersion) ProtoReflect() protoreflect.Message
- func (x *PatchModelVersion) Reset()
- func (x *PatchModelVersion) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_determined_model_v1_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { // The name of the model. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The description of the model. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The user-defined metadata of the model. Metadata *_struct.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // The time the model was created. CreationTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` // The time the model was last updated. LastUpdatedTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_updated_time,json=lastUpdatedTime,proto3" json:"last_updated_time,omitempty"` // The id of this model. Id int32 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"` // The number of versions associated with this model. NumVersions int32 `protobuf:"varint,7,opt,name=num_versions,json=numVersions,proto3" json:"num_versions,omitempty"` // Labels associated with this model. Labels []string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty"` // Username of the user who created this model. Username string `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"` // The id of the workspace associated with this model. WorkspaceId int32 `protobuf:"varint,14,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` // Id of the user who created this model. UserId int32 `protobuf:"varint,13,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Whether this model is archived or not. Archived bool `protobuf:"varint,11,opt,name=archived,proto3" json:"archived,omitempty"` // Notes associated with this model. Notes string `protobuf:"bytes,12,opt,name=notes,proto3" json:"notes,omitempty"` // contains filtered or unexported fields }
Model is a named collection of model versions.
func (*Model) Descriptor
deprecated
func (*Model) GetArchived ¶
func (*Model) GetCreationTime ¶
func (*Model) GetDescription ¶
func (*Model) GetLastUpdatedTime ¶
func (*Model) GetMetadata ¶
func (*Model) GetNumVersions ¶
func (*Model) GetUsername ¶
func (*Model) GetWorkspaceId ¶
func (*Model) ProtoMessage ¶
func (*Model) ProtoMessage()
func (*Model) ProtoReflect ¶
func (x *Model) ProtoReflect() protoreflect.Message
type ModelVersion ¶
type ModelVersion struct { // The model the version is related to. Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // The checkpoint of the model version. Checkpoint *checkpointv1.Checkpoint `protobuf:"bytes,2,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` // The version number. Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // The time the model version was created. CreationTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` // Unique id for each model version. Id int32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` // Name for this model version. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // Metadata associated with this model version. Metadata *_struct.Struct `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` // The time this model version was last updated. LastUpdatedTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=last_updated_time,json=lastUpdatedTime,proto3" json:"last_updated_time,omitempty"` // Comment associated with this model version. Comment string `protobuf:"bytes,9,opt,name=comment,proto3" json:"comment,omitempty"` // Username of the user who created this model version. Username string `protobuf:"bytes,11,opt,name=username,proto3" json:"username,omitempty"` // Id of the user who created this model version. UserId int32 `protobuf:"varint,14,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Labels associated with this model version. Labels []string `protobuf:"bytes,12,rep,name=labels,proto3" json:"labels,omitempty"` // Notes associated with this model version. Notes string `protobuf:"bytes,13,opt,name=notes,proto3" json:"notes,omitempty"` // contains filtered or unexported fields }
A version of a model containing a checkpoint. Users can label checkpoints as a version of a model and use the model name and version to locate a checkpoint.
func (*ModelVersion) Descriptor
deprecated
func (*ModelVersion) Descriptor() ([]byte, []int)
Deprecated: Use ModelVersion.ProtoReflect.Descriptor instead.
func (*ModelVersion) GetCheckpoint ¶
func (x *ModelVersion) GetCheckpoint() *checkpointv1.Checkpoint
func (*ModelVersion) GetComment ¶
func (x *ModelVersion) GetComment() string
func (*ModelVersion) GetCreationTime ¶
func (x *ModelVersion) GetCreationTime() *timestamp.Timestamp
func (*ModelVersion) GetId ¶
func (x *ModelVersion) GetId() int32
func (*ModelVersion) GetLabels ¶
func (x *ModelVersion) GetLabels() []string
func (*ModelVersion) GetLastUpdatedTime ¶
func (x *ModelVersion) GetLastUpdatedTime() *timestamp.Timestamp
func (*ModelVersion) GetMetadata ¶
func (x *ModelVersion) GetMetadata() *_struct.Struct
func (*ModelVersion) GetModel ¶
func (x *ModelVersion) GetModel() *Model
func (*ModelVersion) GetName ¶
func (x *ModelVersion) GetName() string
func (*ModelVersion) GetNotes ¶
func (x *ModelVersion) GetNotes() string
func (*ModelVersion) GetUserId ¶
func (x *ModelVersion) GetUserId() int32
func (*ModelVersion) GetUsername ¶
func (x *ModelVersion) GetUsername() string
func (*ModelVersion) GetVersion ¶
func (x *ModelVersion) GetVersion() int32
func (*ModelVersion) ProtoMessage ¶
func (*ModelVersion) ProtoMessage()
func (*ModelVersion) ProtoReflect ¶
func (x *ModelVersion) ProtoReflect() protoreflect.Message
func (*ModelVersion) Reset ¶
func (x *ModelVersion) Reset()
func (*ModelVersion) String ¶
func (x *ModelVersion) String() string
type PatchModel ¶
type PatchModel struct { // An updated name for the model. Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // An updated description for the model. Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // An updated metadata object for the model. Metadata *_struct.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // An updated label list for the model. Labels *_struct.ListValue `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"` // Updated notes associated with this model. Notes *wrappers.StringValue `protobuf:"bytes,6,opt,name=notes,proto3" json:"notes,omitempty"` // The name of the workspace associated with this model. WorkspaceName *string `protobuf:"bytes,7,opt,name=workspace_name,json=workspaceName,proto3,oneof" json:"workspace_name,omitempty"` // The id of the workspace associated with this model. WorkspaceId *int32 `protobuf:"varint,8,opt,name=workspace_id,json=workspaceId,proto3,oneof" json:"workspace_id,omitempty"` // contains filtered or unexported fields }
PatchModel is a partial update to a model with only name required.
func (*PatchModel) Descriptor
deprecated
func (*PatchModel) Descriptor() ([]byte, []int)
Deprecated: Use PatchModel.ProtoReflect.Descriptor instead.
func (*PatchModel) GetDescription ¶
func (x *PatchModel) GetDescription() *wrappers.StringValue
func (*PatchModel) GetLabels ¶
func (x *PatchModel) GetLabels() *_struct.ListValue
func (*PatchModel) GetMetadata ¶
func (x *PatchModel) GetMetadata() *_struct.Struct
func (*PatchModel) GetName ¶
func (x *PatchModel) GetName() *wrappers.StringValue
func (*PatchModel) GetNotes ¶
func (x *PatchModel) GetNotes() *wrappers.StringValue
func (*PatchModel) GetWorkspaceId ¶
func (x *PatchModel) GetWorkspaceId() int32
func (*PatchModel) GetWorkspaceName ¶
func (x *PatchModel) GetWorkspaceName() string
func (*PatchModel) ProtoMessage ¶
func (*PatchModel) ProtoMessage()
func (*PatchModel) ProtoReflect ¶
func (x *PatchModel) ProtoReflect() protoreflect.Message
func (*PatchModel) Reset ¶
func (x *PatchModel) Reset()
func (*PatchModel) String ¶
func (x *PatchModel) String() string
type PatchModelVersion ¶
type PatchModelVersion struct { // An updated checkpoint to associate with the model version. Checkpoint *checkpointv1.Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` // An updated name for the model version. Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // An updated metadata object for the model version. Metadata *_struct.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // An updated comment for the model version. Comment *wrappers.StringValue `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` // An updated label list for the model version. Labels *_struct.ListValue `protobuf:"bytes,6,opt,name=labels,proto3" json:"labels,omitempty"` // Updated text notes for the model version. Notes *wrappers.StringValue `protobuf:"bytes,7,opt,name=notes,proto3" json:"notes,omitempty"` // contains filtered or unexported fields }
PatchModel is a partial update to a ModelVersion with only id required
func (*PatchModelVersion) Descriptor
deprecated
func (*PatchModelVersion) Descriptor() ([]byte, []int)
Deprecated: Use PatchModelVersion.ProtoReflect.Descriptor instead.
func (*PatchModelVersion) GetCheckpoint ¶
func (x *PatchModelVersion) GetCheckpoint() *checkpointv1.Checkpoint
func (*PatchModelVersion) GetComment ¶
func (x *PatchModelVersion) GetComment() *wrappers.StringValue
func (*PatchModelVersion) GetLabels ¶
func (x *PatchModelVersion) GetLabels() *_struct.ListValue
func (*PatchModelVersion) GetMetadata ¶
func (x *PatchModelVersion) GetMetadata() *_struct.Struct
func (*PatchModelVersion) GetName ¶
func (x *PatchModelVersion) GetName() *wrappers.StringValue
func (*PatchModelVersion) GetNotes ¶
func (x *PatchModelVersion) GetNotes() *wrappers.StringValue
func (*PatchModelVersion) ProtoMessage ¶
func (*PatchModelVersion) ProtoMessage()
func (*PatchModelVersion) ProtoReflect ¶
func (x *PatchModelVersion) ProtoReflect() protoreflect.Message
func (*PatchModelVersion) Reset ¶
func (x *PatchModelVersion) Reset()
func (*PatchModelVersion) String ¶
func (x *PatchModelVersion) String() string
Click to show internal directories.
Click to hide internal directories.