// 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/folder_budget_service.proto

package datasphere

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	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)
)

type GetFolderBudgetRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder to get a budget for.
	FolderId      string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetFolderBudgetRequest) ProtoMessage() {}

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

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

type GetFolderBudgetResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The number of units available in the folder.
	UnitBalance *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=unit_balance,json=unitBalance,proto3" json:"unit_balance,omitempty"`
	// 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 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 *GetFolderBudgetResponse) Reset() {
	*x = GetFolderBudgetResponse{}
	mi := &file_yandex_cloud_datasphere_v1_folder_budget_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetFolderBudgetResponse) ProtoMessage() {}

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

func (x *GetFolderBudgetResponse) GetUnitBalance() *wrapperspb.Int64Value {
	if x != nil {
		return x.UnitBalance
	}
	return nil
}

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

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

type SetFolderBudgetRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder to set a budget for.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Field mask that specifies which fields of the budget are going to be set.
	SetMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=set_mask,json=setMask,proto3" json:"set_mask,omitempty"`
	// The number of units available in the folder.
	UnitBalance *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=unit_balance,json=unitBalance,proto3" json:"unit_balance,omitempty"`
	// The number of units that can be spent per hour.
	MaxUnitsPerHour *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=max_units_per_hour,json=maxUnitsPerHour,proto3" json:"max_units_per_hour,omitempty"`
	// The number of units that can be spent on one execution.
	MaxUnitsPerExecution *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=max_units_per_execution,json=maxUnitsPerExecution,proto3" json:"max_units_per_execution,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*SetFolderBudgetRequest) ProtoMessage() {}

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

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

func (x *SetFolderBudgetRequest) GetSetMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.SetMask
	}
	return nil
}

func (x *SetFolderBudgetRequest) GetUnitBalance() *wrapperspb.Int64Value {
	if x != nil {
		return x.UnitBalance
	}
	return nil
}

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

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

var File_yandex_cloud_datasphere_v1_folder_budget_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_datasphere_v1_folder_budget_service_proto_rawDesc = "" +
	"\n" +
	"6yandex/cloud/datasphere/v1/folder_budget_service.proto\x12\x1ayandex.cloud.datasphere.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"C\n" +
	"\x16GetFolderBudgetRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\"\xf7\x01\n" +
	"\x17GetFolderBudgetResponse\x12>\n" +
	"\funit_balance\x18\x01 \x01(\v2\x1b.google.protobuf.Int64ValueR\vunitBalance\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\x14maxUnitsPerExecution\"\xd8\x02\n" +
	"\x16SetFolderBudgetRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x125\n" +
	"\bset_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskR\asetMask\x12>\n" +
	"\funit_balance\x18\x03 \x01(\v2\x1b.google.protobuf.Int64ValueR\vunitBalance\x12H\n" +
	"\x12max_units_per_hour\x18\x04 \x01(\v2\x1b.google.protobuf.Int64ValueR\x0fmaxUnitsPerHour\x12R\n" +
	"\x17max_units_per_execution\x18\x05 \x01(\v2\x1b.google.protobuf.Int64ValueR\x14maxUnitsPerExecution2\xc3\x02\n" +
	"\x13FolderBudgetService\x12\xa1\x01\n" +
	"\x03Get\x122.yandex.cloud.datasphere.v1.GetFolderBudgetRequest\x1a3.yandex.cloud.datasphere.v1.GetFolderBudgetResponse\"1\x82\xd3\xe4\x93\x02+\x12)/datasphere/v1/folders/{folder_id}:budget\x12\x87\x01\n" +
	"\x03Set\x122.yandex.cloud.datasphere.v1.SetFolderBudgetRequest\x1a\x16.google.protobuf.Empty\"4\x82\xd3\xe4\x93\x02.:\x01*\")/datasphere/v1/folders/{folder_id}:budgetBk\n" +
	"\x1eyandex.cloud.api.datasphere.v1ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/datasphere/v1;datasphereb\x06proto3"

var (
	file_yandex_cloud_datasphere_v1_folder_budget_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_datasphere_v1_folder_budget_service_proto_rawDescData []byte
)

func file_yandex_cloud_datasphere_v1_folder_budget_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_datasphere_v1_folder_budget_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_datasphere_v1_folder_budget_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_datasphere_v1_folder_budget_service_proto_rawDesc), len(file_yandex_cloud_datasphere_v1_folder_budget_service_proto_rawDesc)))
	})
	return file_yandex_cloud_datasphere_v1_folder_budget_service_proto_rawDescData
}

var file_yandex_cloud_datasphere_v1_folder_budget_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_datasphere_v1_folder_budget_service_proto_goTypes = []any{
	(*GetFolderBudgetRequest)(nil),  // 0: yandex.cloud.datasphere.v1.GetFolderBudgetRequest
	(*GetFolderBudgetResponse)(nil), // 1: yandex.cloud.datasphere.v1.GetFolderBudgetResponse
	(*SetFolderBudgetRequest)(nil),  // 2: yandex.cloud.datasphere.v1.SetFolderBudgetRequest
	(*wrapperspb.Int64Value)(nil),   // 3: google.protobuf.Int64Value
	(*fieldmaskpb.FieldMask)(nil),   // 4: google.protobuf.FieldMask
	(*emptypb.Empty)(nil),           // 5: google.protobuf.Empty
}
var file_yandex_cloud_datasphere_v1_folder_budget_service_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.datasphere.v1.GetFolderBudgetResponse.unit_balance:type_name -> google.protobuf.Int64Value
	3, // 1: yandex.cloud.datasphere.v1.GetFolderBudgetResponse.max_units_per_hour:type_name -> google.protobuf.Int64Value
	3, // 2: yandex.cloud.datasphere.v1.GetFolderBudgetResponse.max_units_per_execution:type_name -> google.protobuf.Int64Value
	4, // 3: yandex.cloud.datasphere.v1.SetFolderBudgetRequest.set_mask:type_name -> google.protobuf.FieldMask
	3, // 4: yandex.cloud.datasphere.v1.SetFolderBudgetRequest.unit_balance:type_name -> google.protobuf.Int64Value
	3, // 5: yandex.cloud.datasphere.v1.SetFolderBudgetRequest.max_units_per_hour:type_name -> google.protobuf.Int64Value
	3, // 6: yandex.cloud.datasphere.v1.SetFolderBudgetRequest.max_units_per_execution:type_name -> google.protobuf.Int64Value
	0, // 7: yandex.cloud.datasphere.v1.FolderBudgetService.Get:input_type -> yandex.cloud.datasphere.v1.GetFolderBudgetRequest
	2, // 8: yandex.cloud.datasphere.v1.FolderBudgetService.Set:input_type -> yandex.cloud.datasphere.v1.SetFolderBudgetRequest
	1, // 9: yandex.cloud.datasphere.v1.FolderBudgetService.Get:output_type -> yandex.cloud.datasphere.v1.GetFolderBudgetResponse
	5, // 10: yandex.cloud.datasphere.v1.FolderBudgetService.Set:output_type -> google.protobuf.Empty
	9, // [9:11] is the sub-list for method output_type
	7, // [7:9] is the sub-list for method input_type
	7, // [7:7] is the sub-list for extension type_name
	7, // [7:7] is the sub-list for extension extendee
	0, // [0:7] is the sub-list for field type_name
}

func init() { file_yandex_cloud_datasphere_v1_folder_budget_service_proto_init() }
func file_yandex_cloud_datasphere_v1_folder_budget_service_proto_init() {
	if File_yandex_cloud_datasphere_v1_folder_budget_service_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_folder_budget_service_proto_rawDesc), len(file_yandex_cloud_datasphere_v1_folder_budget_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_datasphere_v1_folder_budget_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_datasphere_v1_folder_budget_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_datasphere_v1_folder_budget_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_datasphere_v1_folder_budget_service_proto = out.File
	file_yandex_cloud_datasphere_v1_folder_budget_service_proto_goTypes = nil
	file_yandex_cloud_datasphere_v1_folder_budget_service_proto_depIdxs = nil
}
