// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/datasphere/v1/project.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"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	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)
)

// A Project resource.
type Project struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the project.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the project belongs to.
	FolderId  string                 `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the project. 1-63 characters long.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the project. 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Settings of the project.
	Settings *Project_Settings `protobuf:"bytes,6,opt,name=settings,proto3" json:"settings,omitempty"`
	// Limits of the project.
	Limits        *Project_Limits `protobuf:"bytes,7,opt,name=limits,proto3" json:"limits,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Project) Reset() {
	*x = Project{}
	mi := &file_yandex_cloud_datasphere_v1_project_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Project) ProtoMessage() {}

func (x *Project) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datasphere_v1_project_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 Project.ProtoReflect.Descriptor instead.
func (*Project) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datasphere_v1_project_proto_rawDescGZIP(), []int{0}
}

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

func (x *Project) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

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

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

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

func (x *Project) GetSettings() *Project_Settings {
	if x != nil {
		return x.Settings
	}
	return nil
}

func (x *Project) GetLimits() *Project_Limits {
	if x != nil {
		return x.Limits
	}
	return nil
}

type Project_Settings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the service account, on whose behalf all operations with clusters will be performed.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// ID of the subnet where the DataProc cluster resides.
	// Currently only subnets created in the availability zone ru-central1-a are supported.
	SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// ID of the DataProc cluster.
	DataProcClusterId string `protobuf:"bytes,3,opt,name=data_proc_cluster_id,json=dataProcClusterId,proto3" json:"data_proc_cluster_id,omitempty"`
	// Network interfaces security groups.
	SecurityGroupIds []string `protobuf:"bytes,5,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*Project_Settings) ProtoMessage() {}

func (x *Project_Settings) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datasphere_v1_project_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 Project_Settings.ProtoReflect.Descriptor instead.
func (*Project_Settings) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datasphere_v1_project_proto_rawDescGZIP(), []int{0, 0}
}

func (x *Project_Settings) GetServiceAccountId() string {
	if x != nil {
		return x.ServiceAccountId
	}
	return ""
}

func (x *Project_Settings) GetSubnetId() string {
	if x != nil {
		return x.SubnetId
	}
	return ""
}

func (x *Project_Settings) GetDataProcClusterId() string {
	if x != nil {
		return x.DataProcClusterId
	}
	return ""
}

func (x *Project_Settings) GetSecurityGroupIds() []string {
	if x != nil {
		return x.SecurityGroupIds
	}
	return nil
}

type Project_Limits struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The number of units that can be spent per hour.
	MaxUnitsPerHour *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=max_units_per_hour,json=maxUnitsPerHour,proto3" json:"max_units_per_hour,omitempty"`
	// The number of units that can be spent on the one execution.
	MaxUnitsPerExecution *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=max_units_per_execution,json=maxUnitsPerExecution,proto3" json:"max_units_per_execution,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *Project_Limits) Reset() {
	*x = Project_Limits{}
	mi := &file_yandex_cloud_datasphere_v1_project_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Project_Limits) ProtoMessage() {}

func (x *Project_Limits) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datasphere_v1_project_proto_msgTypes[2]
	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 Project_Limits.ProtoReflect.Descriptor instead.
func (*Project_Limits) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datasphere_v1_project_proto_rawDescGZIP(), []int{0, 1}
}

func (x *Project_Limits) GetMaxUnitsPerHour() *wrapperspb.Int64Value {
	if x != nil {
		return x.MaxUnitsPerHour
	}
	return nil
}

func (x *Project_Limits) GetMaxUnitsPerExecution() *wrapperspb.Int64Value {
	if x != nil {
		return x.MaxUnitsPerExecution
	}
	return nil
}

var File_yandex_cloud_datasphere_v1_project_proto protoreflect.FileDescriptor

const file_yandex_cloud_datasphere_v1_project_proto_rawDesc = "" +
	"\n" +
	"(yandex/cloud/datasphere/v1/project.proto\x12\x1ayandex.cloud.datasphere.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x9b\x05\n" +
	"\aProject\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tfolder_id\x18\x02 \x01(\tR\bfolderId\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\x12H\n" +
	"\bsettings\x18\x06 \x01(\v2,.yandex.cloud.datasphere.v1.Project.SettingsR\bsettings\x12B\n" +
	"\x06limits\x18\a \x01(\v2*.yandex.cloud.datasphere.v1.Project.LimitsR\x06limits\x1a\xba\x01\n" +
	"\bSettings\x12,\n" +
	"\x12service_account_id\x18\x01 \x01(\tR\x10serviceAccountId\x12\x1b\n" +
	"\tsubnet_id\x18\x02 \x01(\tR\bsubnetId\x12/\n" +
	"\x14data_proc_cluster_id\x18\x03 \x01(\tR\x11dataProcClusterId\x12,\n" +
	"\x12security_group_ids\x18\x05 \x03(\tR\x10securityGroupIdsJ\x04\b\x04\x10\x05\x1a\xa6\x01\n" +
	"\x06Limits\x12H\n" +
	"\x12max_units_per_hour\x18\x02 \x01(\v2\x1b.google.protobuf.Int64ValueR\x0fmaxUnitsPerHour\x12R\n" +
	"\x17max_units_per_execution\x18\x03 \x01(\v2\x1b.google.protobuf.Int64ValueR\x14maxUnitsPerExecutionBk\n" +
	"\x1eyandex.cloud.api.datasphere.v1ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/datasphere/v1;datasphereb\x06proto3"

var (
	file_yandex_cloud_datasphere_v1_project_proto_rawDescOnce sync.Once
	file_yandex_cloud_datasphere_v1_project_proto_rawDescData []byte
)

func file_yandex_cloud_datasphere_v1_project_proto_rawDescGZIP() []byte {
	file_yandex_cloud_datasphere_v1_project_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_datasphere_v1_project_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_datasphere_v1_project_proto_rawDesc), len(file_yandex_cloud_datasphere_v1_project_proto_rawDesc)))
	})
	return file_yandex_cloud_datasphere_v1_project_proto_rawDescData
}

var file_yandex_cloud_datasphere_v1_project_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_datasphere_v1_project_proto_goTypes = []any{
	(*Project)(nil),               // 0: yandex.cloud.datasphere.v1.Project
	(*Project_Settings)(nil),      // 1: yandex.cloud.datasphere.v1.Project.Settings
	(*Project_Limits)(nil),        // 2: yandex.cloud.datasphere.v1.Project.Limits
	(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
	(*wrapperspb.Int64Value)(nil), // 4: google.protobuf.Int64Value
}
var file_yandex_cloud_datasphere_v1_project_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.datasphere.v1.Project.created_at:type_name -> google.protobuf.Timestamp
	1, // 1: yandex.cloud.datasphere.v1.Project.settings:type_name -> yandex.cloud.datasphere.v1.Project.Settings
	2, // 2: yandex.cloud.datasphere.v1.Project.limits:type_name -> yandex.cloud.datasphere.v1.Project.Limits
	4, // 3: yandex.cloud.datasphere.v1.Project.Limits.max_units_per_hour:type_name -> google.protobuf.Int64Value
	4, // 4: yandex.cloud.datasphere.v1.Project.Limits.max_units_per_execution:type_name -> google.protobuf.Int64Value
	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_v1_project_proto_init() }
func file_yandex_cloud_datasphere_v1_project_proto_init() {
	if File_yandex_cloud_datasphere_v1_project_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_datasphere_v1_project_proto_rawDesc), len(file_yandex_cloud_datasphere_v1_project_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_datasphere_v1_project_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_datasphere_v1_project_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_datasphere_v1_project_proto_msgTypes,
	}.Build()
	File_yandex_cloud_datasphere_v1_project_proto = out.File
	file_yandex_cloud_datasphere_v1_project_proto_goTypes = nil
	file_yandex_cloud_datasphere_v1_project_proto_depIdxs = nil
}
