// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/datasphere/v2/dataset.proto

package datasphere

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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 Dataset struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the dataset.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the project.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Time the dataset was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the dataset.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the dataset.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Labels of the dataset.
	Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// ID of the user who created the dataset.
	CreatedById string `protobuf:"bytes,7,opt,name=created_by_id,json=createdById,proto3" json:"created_by_id,omitempty"`
	// Code used to create dataset.
	Code string `protobuf:"bytes,8,opt,name=code,proto3" json:"code,omitempty"`
	// Size of the dataset, Gb.
	SizeGb int64 `protobuf:"varint,9,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
	// Zone IDs where dataset is available.
	ZoneIds []string `protobuf:"bytes,10,rep,name=zone_ids,json=zoneIds,proto3" json:"zone_ids,omitempty"`
	// Dataset mount path.
	MountPath string `protobuf:"bytes,11,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// ID of the data capsule object, storing information about dataset storage.
	DataCapsuleId string `protobuf:"bytes,12,opt,name=data_capsule_id,json=dataCapsuleId,proto3" json:"data_capsule_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Dataset) Reset() {
	*x = Dataset{}
	mi := &file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[0]
	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_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[0]
	if 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_yandex_cloud_datasphere_v2_dataset_proto_rawDescGZIP(), []int{0}
}

func (x *Dataset) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *Dataset) GetProjectId() string {
	if x != nil {
		return x.ProjectId
	}
	return ""
}

func (x *Dataset) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *Dataset) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Dataset) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *Dataset) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *Dataset) GetCreatedById() string {
	if x != nil {
		return x.CreatedById
	}
	return ""
}

func (x *Dataset) GetCode() string {
	if x != nil {
		return x.Code
	}
	return ""
}

func (x *Dataset) GetSizeGb() int64 {
	if x != nil {
		return x.SizeGb
	}
	return 0
}

func (x *Dataset) GetZoneIds() []string {
	if x != nil {
		return x.ZoneIds
	}
	return nil
}

func (x *Dataset) GetMountPath() string {
	if x != nil {
		return x.MountPath
	}
	return ""
}

func (x *Dataset) GetDataCapsuleId() string {
	if x != nil {
		return x.DataCapsuleId
	}
	return ""
}

type DatasetStatus struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Status:
	//
	//	*DatasetStatus_StatusActive_
	//	*DatasetStatus_StatusInactive_
	//	*DatasetStatus_StatusError_
	Status        isDatasetStatus_Status `protobuf_oneof:"status"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DatasetStatus) Reset() {
	*x = DatasetStatus{}
	mi := &file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DatasetStatus) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DatasetStatus) ProtoMessage() {}

func (x *DatasetStatus) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DatasetStatus.ProtoReflect.Descriptor instead.
func (*DatasetStatus) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datasphere_v2_dataset_proto_rawDescGZIP(), []int{1}
}

func (x *DatasetStatus) GetStatus() isDatasetStatus_Status {
	if x != nil {
		return x.Status
	}
	return nil
}

func (x *DatasetStatus) GetStatusActive() *DatasetStatus_StatusActive {
	if x != nil {
		if x, ok := x.Status.(*DatasetStatus_StatusActive_); ok {
			return x.StatusActive
		}
	}
	return nil
}

func (x *DatasetStatus) GetStatusInactive() *DatasetStatus_StatusInactive {
	if x != nil {
		if x, ok := x.Status.(*DatasetStatus_StatusInactive_); ok {
			return x.StatusInactive
		}
	}
	return nil
}

func (x *DatasetStatus) GetStatusError() *DatasetStatus_StatusError {
	if x != nil {
		if x, ok := x.Status.(*DatasetStatus_StatusError_); ok {
			return x.StatusError
		}
	}
	return nil
}

type isDatasetStatus_Status interface {
	isDatasetStatus_Status()
}

type DatasetStatus_StatusActive_ struct {
	// Dataset is activated.
	StatusActive *DatasetStatus_StatusActive `protobuf:"bytes,1,opt,name=status_active,json=statusActive,proto3,oneof"`
}

type DatasetStatus_StatusInactive_ struct {
	// Dataset is inactive.
	StatusInactive *DatasetStatus_StatusInactive `protobuf:"bytes,2,opt,name=status_inactive,json=statusInactive,proto3,oneof"`
}

type DatasetStatus_StatusError_ struct {
	// Error while activating dataset.
	StatusError *DatasetStatus_StatusError `protobuf:"bytes,3,opt,name=status_error,json=statusError,proto3,oneof"`
}

func (*DatasetStatus_StatusActive_) isDatasetStatus_Status() {}

func (*DatasetStatus_StatusInactive_) isDatasetStatus_Status() {}

func (*DatasetStatus_StatusError_) isDatasetStatus_Status() {}

type DatasetStatus_StatusActive struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DatasetStatus_StatusActive) Reset() {
	*x = DatasetStatus_StatusActive{}
	mi := &file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DatasetStatus_StatusActive) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DatasetStatus_StatusActive) ProtoMessage() {}

func (x *DatasetStatus_StatusActive) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DatasetStatus_StatusActive.ProtoReflect.Descriptor instead.
func (*DatasetStatus_StatusActive) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datasphere_v2_dataset_proto_rawDescGZIP(), []int{1, 0}
}

type DatasetStatus_StatusInactive struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DatasetStatus_StatusInactive) Reset() {
	*x = DatasetStatus_StatusInactive{}
	mi := &file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DatasetStatus_StatusInactive) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DatasetStatus_StatusInactive) ProtoMessage() {}

func (x *DatasetStatus_StatusInactive) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DatasetStatus_StatusInactive.ProtoReflect.Descriptor instead.
func (*DatasetStatus_StatusInactive) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datasphere_v2_dataset_proto_rawDescGZIP(), []int{1, 1}
}

type DatasetStatus_StatusError struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Text of the error.
	Error         string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DatasetStatus_StatusError) Reset() {
	*x = DatasetStatus_StatusError{}
	mi := &file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DatasetStatus_StatusError) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DatasetStatus_StatusError) ProtoMessage() {}

func (x *DatasetStatus_StatusError) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DatasetStatus_StatusError.ProtoReflect.Descriptor instead.
func (*DatasetStatus_StatusError) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datasphere_v2_dataset_proto_rawDescGZIP(), []int{1, 2}
}

func (x *DatasetStatus_StatusError) GetError() string {
	if x != nil {
		return x.Error
	}
	return ""
}

var File_yandex_cloud_datasphere_v2_dataset_proto protoreflect.FileDescriptor

const file_yandex_cloud_datasphere_v2_dataset_proto_rawDesc = "" +
	"\n" +
	"(yandex/cloud/datasphere/v2/dataset.proto\x12\x1ayandex.cloud.datasphere.v2\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe0\x03\n" +
	"\aDataset\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tR\tprojectId\x129\n" +
	"\n" +
	"created_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x12\n" +
	"\x04name\x18\x04 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x05 \x01(\tR\vdescription\x12G\n" +
	"\x06labels\x18\x06 \x03(\v2/.yandex.cloud.datasphere.v2.Dataset.LabelsEntryR\x06labels\x12\"\n" +
	"\rcreated_by_id\x18\a \x01(\tR\vcreatedById\x12\x12\n" +
	"\x04code\x18\b \x01(\tR\x04code\x12\x17\n" +
	"\asize_gb\x18\t \x01(\x03R\x06sizeGb\x12\x19\n" +
	"\bzone_ids\x18\n" +
	" \x03(\tR\azoneIds\x12\x1d\n" +
	"\n" +
	"mount_path\x18\v \x01(\tR\tmountPath\x12&\n" +
	"\x0fdata_capsule_id\x18\f \x01(\tR\rdataCapsuleId\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x80\x03\n" +
	"\rDatasetStatus\x12]\n" +
	"\rstatus_active\x18\x01 \x01(\v26.yandex.cloud.datasphere.v2.DatasetStatus.StatusActiveH\x00R\fstatusActive\x12c\n" +
	"\x0fstatus_inactive\x18\x02 \x01(\v28.yandex.cloud.datasphere.v2.DatasetStatus.StatusInactiveH\x00R\x0estatusInactive\x12Z\n" +
	"\fstatus_error\x18\x03 \x01(\v25.yandex.cloud.datasphere.v2.DatasetStatus.StatusErrorH\x00R\vstatusError\x1a\x0e\n" +
	"\fStatusActive\x1a\x10\n" +
	"\x0eStatusInactive\x1a#\n" +
	"\vStatusError\x12\x14\n" +
	"\x05error\x18\x01 \x01(\tR\x05errorB\b\n" +
	"\x06statusBk\n" +
	"\x1eyandex.cloud.api.datasphere.v2ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/datasphere/v2;datasphereb\x06proto3"

var (
	file_yandex_cloud_datasphere_v2_dataset_proto_rawDescOnce sync.Once
	file_yandex_cloud_datasphere_v2_dataset_proto_rawDescData []byte
)

func file_yandex_cloud_datasphere_v2_dataset_proto_rawDescGZIP() []byte {
	file_yandex_cloud_datasphere_v2_dataset_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_datasphere_v2_dataset_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_datasphere_v2_dataset_proto_rawDesc), len(file_yandex_cloud_datasphere_v2_dataset_proto_rawDesc)))
	})
	return file_yandex_cloud_datasphere_v2_dataset_proto_rawDescData
}

var file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_yandex_cloud_datasphere_v2_dataset_proto_goTypes = []any{
	(*Dataset)(nil),                      // 0: yandex.cloud.datasphere.v2.Dataset
	(*DatasetStatus)(nil),                // 1: yandex.cloud.datasphere.v2.DatasetStatus
	nil,                                  // 2: yandex.cloud.datasphere.v2.Dataset.LabelsEntry
	(*DatasetStatus_StatusActive)(nil),   // 3: yandex.cloud.datasphere.v2.DatasetStatus.StatusActive
	(*DatasetStatus_StatusInactive)(nil), // 4: yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive
	(*DatasetStatus_StatusError)(nil),    // 5: yandex.cloud.datasphere.v2.DatasetStatus.StatusError
	(*timestamppb.Timestamp)(nil),        // 6: google.protobuf.Timestamp
}
var file_yandex_cloud_datasphere_v2_dataset_proto_depIdxs = []int32{
	6, // 0: yandex.cloud.datasphere.v2.Dataset.created_at:type_name -> google.protobuf.Timestamp
	2, // 1: yandex.cloud.datasphere.v2.Dataset.labels:type_name -> yandex.cloud.datasphere.v2.Dataset.LabelsEntry
	3, // 2: yandex.cloud.datasphere.v2.DatasetStatus.status_active:type_name -> yandex.cloud.datasphere.v2.DatasetStatus.StatusActive
	4, // 3: yandex.cloud.datasphere.v2.DatasetStatus.status_inactive:type_name -> yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive
	5, // 4: yandex.cloud.datasphere.v2.DatasetStatus.status_error:type_name -> yandex.cloud.datasphere.v2.DatasetStatus.StatusError
	5, // [5:5] is the sub-list for method output_type
	5, // [5:5] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_yandex_cloud_datasphere_v2_dataset_proto_init() }
func file_yandex_cloud_datasphere_v2_dataset_proto_init() {
	if File_yandex_cloud_datasphere_v2_dataset_proto != nil {
		return
	}
	file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes[1].OneofWrappers = []any{
		(*DatasetStatus_StatusActive_)(nil),
		(*DatasetStatus_StatusInactive_)(nil),
		(*DatasetStatus_StatusError_)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_datasphere_v2_dataset_proto_rawDesc), len(file_yandex_cloud_datasphere_v2_dataset_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_datasphere_v2_dataset_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_datasphere_v2_dataset_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_datasphere_v2_dataset_proto_msgTypes,
	}.Build()
	File_yandex_cloud_datasphere_v2_dataset_proto = out.File
	file_yandex_cloud_datasphere_v2_dataset_proto_goTypes = nil
	file_yandex_cloud_datasphere_v2_dataset_proto_depIdxs = nil
}
