modelv1

package
v0.0.0-...-3511abf Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Model.ProtoReflect.Descriptor instead.

func (*Model) GetArchived

func (x *Model) GetArchived() bool

func (*Model) GetCreationTime

func (x *Model) GetCreationTime() *timestamp.Timestamp

func (*Model) GetDescription

func (x *Model) GetDescription() string

func (*Model) GetId

func (x *Model) GetId() int32

func (*Model) GetLabels

func (x *Model) GetLabels() []string

func (*Model) GetLastUpdatedTime

func (x *Model) GetLastUpdatedTime() *timestamp.Timestamp

func (*Model) GetMetadata

func (x *Model) GetMetadata() *_struct.Struct

func (*Model) GetName

func (x *Model) GetName() string

func (*Model) GetNotes

func (x *Model) GetNotes() string

func (*Model) GetNumVersions

func (x *Model) GetNumVersions() int32

func (*Model) GetUserId

func (x *Model) GetUserId() int32

func (*Model) GetUsername

func (x *Model) GetUsername() string

func (*Model) GetWorkspaceId

func (x *Model) GetWorkspaceId() int32

func (*Model) ProtoMessage

func (*Model) ProtoMessage()

func (*Model) ProtoReflect

func (x *Model) ProtoReflect() protoreflect.Message

func (*Model) Reset

func (x *Model) Reset()

func (*Model) String

func (x *Model) String() string

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

Jump to

Keyboard shortcuts

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