datasetentrymodels

package
v0.1.8-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Status_name = map[int32]string{
		0: "Initiating",
		1: "Available",
		2: "Updating",
		3: "Archived",
		4: "Deleting",
	}
	Status_value = map[string]int32{
		"Initiating": 0,
		"Available":  1,
		"Updating":   2,
		"Archived":   3,
		"Deleting":   4,
	}
)

Enum value maps for Status.

View Source
var File_proto_DatasetEntryModels_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DatasetEntry

type DatasetEntry struct {
	ID                 string               `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Datasetname        string               `protobuf:"bytes,2,opt,name=Datasetname,proto3" json:"Datasetname,omitempty"` // Name of the dataset
	Datasettype        string               `protobuf:"bytes,3,opt,name=Datasettype,proto3" json:"Datasettype,omitempty"` // Type of the stored data in the dataset
	IsPublic           bool                 `protobuf:"varint,4,opt,name=IsPublic,proto3" json:"IsPublic,omitempty"`      //Indicates if the dataset if publicly available
	Created            *timestamp.Timestamp `protobuf:"bytes,5,opt,name=Created,proto3" json:"Created,omitempty"`         // When the datasets was created
	CurrentVersion     string               `protobuf:"bytes,6,opt,name=CurrentVersion,proto3" json:"CurrentVersion,omitempty"`
	Status             Status               `protobuf:"varint,7,opt,name=Status,proto3,enum=Status" json:"Status,omitempty"`
	OwnerProjectID     string               `protobuf:"bytes,8,opt,name=OwnerProjectID,proto3" json:"OwnerProjectID,omitempty"`
	BurrowedProjectIDs []string             `protobuf:"bytes,9,rep,name=BurrowedProjectIDs,proto3" json:"BurrowedProjectIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*DatasetEntry) Descriptor deprecated

func (*DatasetEntry) Descriptor() ([]byte, []int)

Deprecated: Use DatasetEntry.ProtoReflect.Descriptor instead.

func (*DatasetEntry) GetBurrowedProjectIDs

func (x *DatasetEntry) GetBurrowedProjectIDs() []string

func (*DatasetEntry) GetCreated

func (x *DatasetEntry) GetCreated() *timestamp.Timestamp

func (*DatasetEntry) GetCurrentVersion

func (x *DatasetEntry) GetCurrentVersion() string

func (*DatasetEntry) GetDatasetname

func (x *DatasetEntry) GetDatasetname() string

func (*DatasetEntry) GetDatasettype

func (x *DatasetEntry) GetDatasettype() string

func (*DatasetEntry) GetID

func (x *DatasetEntry) GetID() string

func (*DatasetEntry) GetIsPublic

func (x *DatasetEntry) GetIsPublic() bool

func (*DatasetEntry) GetOwnerProjectID

func (x *DatasetEntry) GetOwnerProjectID() string

func (*DatasetEntry) GetStatus

func (x *DatasetEntry) GetStatus() Status

func (*DatasetEntry) ProtoMessage

func (*DatasetEntry) ProtoMessage()

func (*DatasetEntry) ProtoReflect

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

func (*DatasetEntry) Reset

func (x *DatasetEntry) Reset()

func (*DatasetEntry) String

func (x *DatasetEntry) String() string

type DatasetGroupHistory

type DatasetGroupHistory struct {
	ID                          string            `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	CurrentStableVersionID      string            `protobuf:"bytes,2,opt,name=CurrentStableVersionID,proto3" json:"CurrentStableVersionID,omitempty"`
	CurrentDevelopmentVersionID string            `protobuf:"bytes,3,opt,name=CurrentDevelopmentVersionID,proto3" json:"CurrentDevelopmentVersionID,omitempty"`
	CurrentHead                 string            `protobuf:"bytes,4,opt,name=CurrentHead,proto3" json:"CurrentHead,omitempty"`
	Name                        string            `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"` // Name: Name of the dataset entity e.g.: mydata
	Fileformat                  []string          `protobuf:"bytes,6,rep,name=Fileformat,proto3" json:"Fileformat,omitempty"`
	Filetype                    []string          `protobuf:"bytes,7,rep,name=Filetype,proto3" json:"Filetype,omitempty"`
	Labels                      map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DatasetGroupHistory) Descriptor deprecated

func (*DatasetGroupHistory) Descriptor() ([]byte, []int)

Deprecated: Use DatasetGroupHistory.ProtoReflect.Descriptor instead.

func (*DatasetGroupHistory) GetCurrentDevelopmentVersionID

func (x *DatasetGroupHistory) GetCurrentDevelopmentVersionID() string

func (*DatasetGroupHistory) GetCurrentHead

func (x *DatasetGroupHistory) GetCurrentHead() string

func (*DatasetGroupHistory) GetCurrentStableVersionID

func (x *DatasetGroupHistory) GetCurrentStableVersionID() string

func (*DatasetGroupHistory) GetFileformat

func (x *DatasetGroupHistory) GetFileformat() []string

func (*DatasetGroupHistory) GetFiletype

func (x *DatasetGroupHistory) GetFiletype() []string

func (*DatasetGroupHistory) GetID

func (x *DatasetGroupHistory) GetID() string

func (*DatasetGroupHistory) GetLabels

func (x *DatasetGroupHistory) GetLabels() map[string]string

func (*DatasetGroupHistory) GetName

func (x *DatasetGroupHistory) GetName() string

func (*DatasetGroupHistory) ProtoMessage

func (*DatasetGroupHistory) ProtoMessage()

func (*DatasetGroupHistory) ProtoReflect

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

func (*DatasetGroupHistory) Reset

func (x *DatasetGroupHistory) Reset()

func (*DatasetGroupHistory) String

func (x *DatasetGroupHistory) String() string

type DatasetObjectEntry

type DatasetObjectEntry struct {
	ID                 string                 `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`                                 //ID of the entity
	Filename           string                 `protobuf:"bytes,2,opt,name=Filename,proto3" json:"Filename,omitempty"`                     // Filename: Name of the original file e.g.: mydata.json
	Filetype           string                 `protobuf:"bytes,3,opt,name=Filetype,proto3" json:"Filetype,omitempty"`                     // Filetype: Type of the stored file, e.g.: json, gbff,...
	Origin             *commonmodels.Origin   `protobuf:"bytes,4,opt,name=Origin,proto3" json:"Origin,omitempty"`                         // Origin: Source of the dataset
	ContentLen         int64                  `protobuf:"varint,5,opt,name=ContentLen,proto3" json:"ContentLen,omitempty"`                // ContentLen: Lenght of the stored dataset
	Location           *commonmodels.Location `protobuf:"bytes,6,opt,name=Location,proto3" json:"Location,omitempty"`                     // Location: Location of the data
	Created            *timestamp.Timestamp   `protobuf:"bytes,7,opt,name=Created,proto3" json:"Created,omitempty"`                       // When the data object was created
	AdditionalMetadata *_struct.Struct        `protobuf:"bytes,8,opt,name=AdditionalMetadata,proto3" json:"AdditionalMetadata,omitempty"` // Additional metadata of the object
	UploadID           string                 `protobuf:"bytes,9,opt,name=UploadID,proto3" json:"UploadID,omitempty"`
	Status             Status                 `protobuf:"varint,10,opt,name=Status,proto3,enum=Status" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*DatasetObjectEntry) Descriptor deprecated

func (*DatasetObjectEntry) Descriptor() ([]byte, []int)

Deprecated: Use DatasetObjectEntry.ProtoReflect.Descriptor instead.

func (*DatasetObjectEntry) GetAdditionalMetadata

func (x *DatasetObjectEntry) GetAdditionalMetadata() *_struct.Struct

func (*DatasetObjectEntry) GetContentLen

func (x *DatasetObjectEntry) GetContentLen() int64

func (*DatasetObjectEntry) GetCreated

func (x *DatasetObjectEntry) GetCreated() *timestamp.Timestamp

func (*DatasetObjectEntry) GetFilename

func (x *DatasetObjectEntry) GetFilename() string

func (*DatasetObjectEntry) GetFiletype

func (x *DatasetObjectEntry) GetFiletype() string

func (*DatasetObjectEntry) GetID

func (x *DatasetObjectEntry) GetID() string

func (*DatasetObjectEntry) GetLocation

func (x *DatasetObjectEntry) GetLocation() *commonmodels.Location

func (*DatasetObjectEntry) GetOrigin

func (x *DatasetObjectEntry) GetOrigin() *commonmodels.Origin

func (*DatasetObjectEntry) GetStatus

func (x *DatasetObjectEntry) GetStatus() Status

func (*DatasetObjectEntry) GetUploadID

func (x *DatasetObjectEntry) GetUploadID() string

func (*DatasetObjectEntry) ProtoMessage

func (*DatasetObjectEntry) ProtoMessage()

func (*DatasetObjectEntry) ProtoReflect

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

func (*DatasetObjectEntry) Reset

func (x *DatasetObjectEntry) Reset()

func (*DatasetObjectEntry) String

func (x *DatasetObjectEntry) String() string

type DatasetObjectGroup

type DatasetObjectGroup struct {
	ID                    string                `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	DatasetGroupHistoryID string                `protobuf:"bytes,2,opt,name=DatasetGroupHistoryID,proto3" json:"DatasetGroupHistoryID,omitempty"`
	Name                  string                `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
	Version               *commonmodels.Version `protobuf:"bytes,4,opt,name=Version,proto3" json:"Version,omitempty"`
	DatasetID             string                `protobuf:"bytes,5,opt,name=DatasetID,proto3" json:"DatasetID,omitempty"`               // DatasetID: ID of the parent dataset
	DatasetVersionID      []string              `protobuf:"bytes,6,rep,name=DatasetVersionID,proto3" json:"DatasetVersionID,omitempty"` // DatasetVersionID: ID of the parent dataset version
	Objects               []*DatasetObjectEntry `protobuf:"bytes,7,rep,name=Objects,proto3" json:"Objects,omitempty"`
	AdditionalMetadata    *_struct.Struct       `protobuf:"bytes,8,opt,name=AdditionalMetadata,proto3" json:"AdditionalMetadata,omitempty"` // Additional metadata of the object
	// contains filtered or unexported fields
}

func (*DatasetObjectGroup) Descriptor deprecated

func (*DatasetObjectGroup) Descriptor() ([]byte, []int)

Deprecated: Use DatasetObjectGroup.ProtoReflect.Descriptor instead.

func (*DatasetObjectGroup) GetAdditionalMetadata

func (x *DatasetObjectGroup) GetAdditionalMetadata() *_struct.Struct

func (*DatasetObjectGroup) GetDatasetGroupHistoryID

func (x *DatasetObjectGroup) GetDatasetGroupHistoryID() string

func (*DatasetObjectGroup) GetDatasetID

func (x *DatasetObjectGroup) GetDatasetID() string

func (*DatasetObjectGroup) GetDatasetVersionID

func (x *DatasetObjectGroup) GetDatasetVersionID() []string

func (*DatasetObjectGroup) GetID

func (x *DatasetObjectGroup) GetID() string

func (*DatasetObjectGroup) GetName

func (x *DatasetObjectGroup) GetName() string

func (*DatasetObjectGroup) GetObjects

func (x *DatasetObjectGroup) GetObjects() []*DatasetObjectEntry

func (*DatasetObjectGroup) GetVersion

func (x *DatasetObjectGroup) GetVersion() *commonmodels.Version

func (*DatasetObjectGroup) ProtoMessage

func (*DatasetObjectGroup) ProtoMessage()

func (*DatasetObjectGroup) ProtoReflect

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

func (*DatasetObjectGroup) Reset

func (x *DatasetObjectGroup) Reset()

func (*DatasetObjectGroup) String

func (x *DatasetObjectGroup) String() string

type DatasetVersionEntry

type DatasetVersionEntry struct {
	ID                                 string                `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	DatasetID                          string                `protobuf:"bytes,2,opt,name=DatasetID,proto3" json:"DatasetID,omitempty"`
	Datasetname                        string                `protobuf:"bytes,3,opt,name=Datasetname,proto3" json:"Datasetname,omitempty"`
	Version                            *commonmodels.Version `protobuf:"bytes,4,opt,name=Version,proto3" json:"Version,omitempty"`
	Created                            *timestamp.Timestamp  `protobuf:"bytes,5,opt,name=Created,proto3" json:"Created,omitempty"`                                                       // When the datasets version was created
	AdditionalMetadata                 *_struct.Struct       `protobuf:"bytes,56,opt,name=AdditionalMetadata,proto3" json:"AdditionalMetadata,omitempty"`                                // Additional metadata for the dataset version
	AdditionalMetadataMessageRef       string                `protobuf:"bytes,7,opt,name=AdditionalMetadataMessageRef,proto3" json:"AdditionalMetadataMessageRef,omitempty"`             // Message reference for the metadata
	AdditionalObjectMetadataMessageRef string                `protobuf:"bytes,8,opt,name=AdditionalObjectMetadataMessageRef,proto3" json:"AdditionalObjectMetadataMessageRef,omitempty"` // Message reference for the metadata of the objects associated with this DatasetVersion
	ObjectCount                        int64                 `protobuf:"varint,9,opt,name=ObjectCount,proto3" json:"ObjectCount,omitempty"`                                              // Number of objects registered with this dataset version
	ObjectLinkCount                    int64                 `protobuf:"varint,10,opt,name=ObjectLinkCount,proto3" json:"ObjectLinkCount,omitempty"`                                     // Number of requested links to upload objects
	ExpectedObjectCount                int64                 `protobuf:"varint,11,opt,name=ExpectedObjectCount,proto3" json:"ExpectedObjectCount,omitempty"`                             // Number of objects that is expected to be registered in this dataset
	Status                             Status                `protobuf:"varint,12,opt,name=Status,proto3,enum=Status" json:"Status,omitempty"`                                           // Indicates the status of a dataset
	// contains filtered or unexported fields
}

func (*DatasetVersionEntry) Descriptor deprecated

func (*DatasetVersionEntry) Descriptor() ([]byte, []int)

Deprecated: Use DatasetVersionEntry.ProtoReflect.Descriptor instead.

func (*DatasetVersionEntry) GetAdditionalMetadata

func (x *DatasetVersionEntry) GetAdditionalMetadata() *_struct.Struct

func (*DatasetVersionEntry) GetAdditionalMetadataMessageRef

func (x *DatasetVersionEntry) GetAdditionalMetadataMessageRef() string

func (*DatasetVersionEntry) GetAdditionalObjectMetadataMessageRef

func (x *DatasetVersionEntry) GetAdditionalObjectMetadataMessageRef() string

func (*DatasetVersionEntry) GetCreated

func (x *DatasetVersionEntry) GetCreated() *timestamp.Timestamp

func (*DatasetVersionEntry) GetDatasetID

func (x *DatasetVersionEntry) GetDatasetID() string

func (*DatasetVersionEntry) GetDatasetname

func (x *DatasetVersionEntry) GetDatasetname() string

func (*DatasetVersionEntry) GetExpectedObjectCount

func (x *DatasetVersionEntry) GetExpectedObjectCount() int64

func (*DatasetVersionEntry) GetID

func (x *DatasetVersionEntry) GetID() string

func (*DatasetVersionEntry) GetObjectCount

func (x *DatasetVersionEntry) GetObjectCount() int64

func (*DatasetVersionEntry) GetObjectLinkCount

func (x *DatasetVersionEntry) GetObjectLinkCount() int64

func (*DatasetVersionEntry) GetStatus

func (x *DatasetVersionEntry) GetStatus() Status

func (*DatasetVersionEntry) GetVersion

func (x *DatasetVersionEntry) GetVersion() *commonmodels.Version

func (*DatasetVersionEntry) ProtoMessage

func (*DatasetVersionEntry) ProtoMessage()

func (*DatasetVersionEntry) ProtoReflect

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

func (*DatasetVersionEntry) Reset

func (x *DatasetVersionEntry) Reset()

func (*DatasetVersionEntry) String

func (x *DatasetVersionEntry) String() string

type Status

type Status int32
const (
	Status_Initiating Status = 0
	Status_Available  Status = 1
	Status_Updating   Status = 2
	Status_Archived   Status = 3
	Status_Deleting   Status = 4
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

func (Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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