// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.34.2
// 	protoc        (unknown)
// source: global/nextgen/v1/node_spec.proto

package nextgenv1

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

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 NodeSpecComponentType int32

const (
	NodeSpecComponentType_NODE_SPEC_COMPONENT_TYPE_UNSPECIFIED NodeSpecComponentType = 0
	NodeSpecComponentType_NODE_SPEC_COMPONENT_TYPE_TIKV        NodeSpecComponentType = 1
	NodeSpecComponentType_NODE_SPEC_COMPONENT_TYPE_TIFLASH     NodeSpecComponentType = 2
)

// Enum value maps for NodeSpecComponentType.
var (
	NodeSpecComponentType_name = map[int32]string{
		0: "NODE_SPEC_COMPONENT_TYPE_UNSPECIFIED",
		1: "NODE_SPEC_COMPONENT_TYPE_TIKV",
		2: "NODE_SPEC_COMPONENT_TYPE_TIFLASH",
	}
	NodeSpecComponentType_value = map[string]int32{
		"NODE_SPEC_COMPONENT_TYPE_UNSPECIFIED": 0,
		"NODE_SPEC_COMPONENT_TYPE_TIKV":        1,
		"NODE_SPEC_COMPONENT_TYPE_TIFLASH":     2,
	}
)

func (x NodeSpecComponentType) Enum() *NodeSpecComponentType {
	p := new(NodeSpecComponentType)
	*p = x
	return p
}

func (x NodeSpecComponentType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (NodeSpecComponentType) Descriptor() protoreflect.EnumDescriptor {
	return file_global_nextgen_v1_node_spec_proto_enumTypes[0].Descriptor()
}

func (NodeSpecComponentType) Type() protoreflect.EnumType {
	return &file_global_nextgen_v1_node_spec_proto_enumTypes[0]
}

func (x NodeSpecComponentType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use NodeSpecComponentType.Descriptor instead.
func (NodeSpecComponentType) EnumDescriptor() ([]byte, []int) {
	return file_global_nextgen_v1_node_spec_proto_rawDescGZIP(), []int{0}
}

type NodeCountRuleType int32

const (
	NodeCountRuleType_NODE_COUNT_RULE_TYPE_UNSPECIFIED NodeCountRuleType = 0
	NodeCountRuleType_NODE_COUNT_RULE_TYPE_NONE        NodeCountRuleType = 1
	NodeCountRuleType_NODE_COUNT_RULE_TYPE_MULTIPLE_OF NodeCountRuleType = 2
	NodeCountRuleType_NODE_COUNT_RULE_TYPE_FIXED       NodeCountRuleType = 3
)

// Enum value maps for NodeCountRuleType.
var (
	NodeCountRuleType_name = map[int32]string{
		0: "NODE_COUNT_RULE_TYPE_UNSPECIFIED",
		1: "NODE_COUNT_RULE_TYPE_NONE",
		2: "NODE_COUNT_RULE_TYPE_MULTIPLE_OF",
		3: "NODE_COUNT_RULE_TYPE_FIXED",
	}
	NodeCountRuleType_value = map[string]int32{
		"NODE_COUNT_RULE_TYPE_UNSPECIFIED": 0,
		"NODE_COUNT_RULE_TYPE_NONE":        1,
		"NODE_COUNT_RULE_TYPE_MULTIPLE_OF": 2,
		"NODE_COUNT_RULE_TYPE_FIXED":       3,
	}
)

func (x NodeCountRuleType) Enum() *NodeCountRuleType {
	p := new(NodeCountRuleType)
	*p = x
	return p
}

func (x NodeCountRuleType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (NodeCountRuleType) Descriptor() protoreflect.EnumDescriptor {
	return file_global_nextgen_v1_node_spec_proto_enumTypes[1].Descriptor()
}

func (NodeCountRuleType) Type() protoreflect.EnumType {
	return &file_global_nextgen_v1_node_spec_proto_enumTypes[1]
}

func (x NodeCountRuleType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use NodeCountRuleType.Descriptor instead.
func (NodeCountRuleType) EnumDescriptor() ([]byte, []int) {
	return file_global_nextgen_v1_node_spec_proto_rawDescGZIP(), []int{1}
}

type ResourcePoolNodeSpec struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	NodeSpecKey   string                `protobuf:"bytes,1,opt,name=node_spec_key,json=nodeSpecKey,proto3" json:"node_spec_key,omitempty"`
	DisplayName   string                `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	ComponentType NodeSpecComponentType `protobuf:"varint,3,opt,name=component_type,json=componentType,proto3,enum=global.nextgen.v1.NodeSpecComponentType" json:"component_type,omitempty"`
	Cpu           int64                 `protobuf:"varint,4,opt,name=cpu,proto3" json:"cpu,omitempty"`
	MemoryGi      int64                 `protobuf:"varint,5,opt,name=memory_gi,json=memoryGi,proto3" json:"memory_gi,omitempty"`
	IsDefault     bool                  `protobuf:"varint,6,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	Storages      []*NodeSpecStorage    `protobuf:"bytes,7,rep,name=storages,proto3" json:"storages,omitempty"`
}

func (x *ResourcePoolNodeSpec) Reset() {
	*x = ResourcePoolNodeSpec{}
	if protoimpl.UnsafeEnabled {
		mi := &file_global_nextgen_v1_node_spec_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*ResourcePoolNodeSpec) ProtoMessage() {}

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

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

func (x *ResourcePoolNodeSpec) GetNodeSpecKey() string {
	if x != nil {
		return x.NodeSpecKey
	}
	return ""
}

func (x *ResourcePoolNodeSpec) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}

func (x *ResourcePoolNodeSpec) GetComponentType() NodeSpecComponentType {
	if x != nil {
		return x.ComponentType
	}
	return NodeSpecComponentType_NODE_SPEC_COMPONENT_TYPE_UNSPECIFIED
}

func (x *ResourcePoolNodeSpec) GetCpu() int64 {
	if x != nil {
		return x.Cpu
	}
	return 0
}

func (x *ResourcePoolNodeSpec) GetMemoryGi() int64 {
	if x != nil {
		return x.MemoryGi
	}
	return 0
}

func (x *ResourcePoolNodeSpec) GetIsDefault() bool {
	if x != nil {
		return x.IsDefault
	}
	return false
}

func (x *ResourcePoolNodeSpec) GetStorages() []*NodeSpecStorage {
	if x != nil {
		return x.Storages
	}
	return nil
}

type NodeSpecStorage struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DefaultSizeGi int64  `protobuf:"varint,2,opt,name=default_size_gi,json=defaultSizeGi,proto3" json:"default_size_gi,omitempty"`
	MinSizeGi     int64  `protobuf:"varint,3,opt,name=min_size_gi,json=minSizeGi,proto3" json:"min_size_gi,omitempty"`
	MaxSizeGi     int64  `protobuf:"varint,4,opt,name=max_size_gi,json=maxSizeGi,proto3" json:"max_size_gi,omitempty"`
	Resizable     *bool  `protobuf:"varint,5,opt,name=resizable,proto3,oneof" json:"resizable,omitempty"`
	CurrentSizeGi *int64 `protobuf:"varint,6,opt,name=current_size_gi,json=currentSizeGi,proto3,oneof" json:"current_size_gi,omitempty"`
}

func (x *NodeSpecStorage) Reset() {
	*x = NodeSpecStorage{}
	if protoimpl.UnsafeEnabled {
		mi := &file_global_nextgen_v1_node_spec_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*NodeSpecStorage) ProtoMessage() {}

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

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

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

func (x *NodeSpecStorage) GetDefaultSizeGi() int64 {
	if x != nil {
		return x.DefaultSizeGi
	}
	return 0
}

func (x *NodeSpecStorage) GetMinSizeGi() int64 {
	if x != nil {
		return x.MinSizeGi
	}
	return 0
}

func (x *NodeSpecStorage) GetMaxSizeGi() int64 {
	if x != nil {
		return x.MaxSizeGi
	}
	return 0
}

func (x *NodeSpecStorage) GetResizable() bool {
	if x != nil && x.Resizable != nil {
		return *x.Resizable
	}
	return false
}

func (x *NodeSpecStorage) GetCurrentSizeGi() int64 {
	if x != nil && x.CurrentSizeGi != nil {
		return *x.CurrentSizeGi
	}
	return 0
}

type NodeCountOptions struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	DefaultNodeCount int64          `protobuf:"varint,1,opt,name=default_node_count,json=defaultNodeCount,proto3" json:"default_node_count,omitempty"`
	MinNodeCount     int64          `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"`
	MaxNodeCount     int64          `protobuf:"varint,3,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"`
	Rule             *NodeCountRule `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty"`
}

func (x *NodeCountOptions) Reset() {
	*x = NodeCountOptions{}
	if protoimpl.UnsafeEnabled {
		mi := &file_global_nextgen_v1_node_spec_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*NodeCountOptions) ProtoMessage() {}

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

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

func (x *NodeCountOptions) GetDefaultNodeCount() int64 {
	if x != nil {
		return x.DefaultNodeCount
	}
	return 0
}

func (x *NodeCountOptions) GetMinNodeCount() int64 {
	if x != nil {
		return x.MinNodeCount
	}
	return 0
}

func (x *NodeCountOptions) GetMaxNodeCount() int64 {
	if x != nil {
		return x.MaxNodeCount
	}
	return 0
}

func (x *NodeCountOptions) GetRule() *NodeCountRule {
	if x != nil {
		return x.Rule
	}
	return nil
}

type NodeCountRule struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Type  NodeCountRuleType `protobuf:"varint,1,opt,name=type,proto3,enum=global.nextgen.v1.NodeCountRuleType" json:"type,omitempty"`
	Value int64             `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (x *NodeCountRule) Reset() {
	*x = NodeCountRule{}
	if protoimpl.UnsafeEnabled {
		mi := &file_global_nextgen_v1_node_spec_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*NodeCountRule) ProtoMessage() {}

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

// Deprecated: Use NodeCountRule.ProtoReflect.Descriptor instead.
func (*NodeCountRule) Descriptor() ([]byte, []int) {
	return file_global_nextgen_v1_node_spec_proto_rawDescGZIP(), []int{3}
}

func (x *NodeCountRule) GetType() NodeCountRuleType {
	if x != nil {
		return x.Type
	}
	return NodeCountRuleType_NODE_COUNT_RULE_TYPE_UNSPECIFIED
}

func (x *NodeCountRule) GetValue() int64 {
	if x != nil {
		return x.Value
	}
	return 0
}

var File_global_nextgen_v1_node_spec_proto protoreflect.FileDescriptor

var file_global_nextgen_v1_node_spec_proto_rawDesc = []byte{
	0x0a, 0x21, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x6e, 0x65, 0x78, 0x74, 0x67, 0x65, 0x6e,
	0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6e, 0x65, 0x78, 0x74,
	0x67, 0x65, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
	0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
	0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdf, 0x02, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f,
	0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x70, 0x65, 0x63,
	0x12, 0x27, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x6b, 0x65,
	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x6e, 0x6f,
	0x64, 0x65, 0x53, 0x70, 0x65, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73,
	0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
	0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d,
	0x65, 0x12, 0x54, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74,
	0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6c, 0x6f, 0x62,
	0x61, 0x6c, 0x2e, 0x6e, 0x65, 0x78, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f,
	0x64, 0x65, 0x53, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54,
	0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e,
	0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x63, 0x70, 0x75, 0x18, 0x04,
	0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x20,
	0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x67, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28,
	0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x47, 0x69,
	0x12, 0x22, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x06,
	0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66,
	0x61, 0x75, 0x6c, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73,
	0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e,
	0x6e, 0x65, 0x78, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53,
	0x70, 0x65, 0x63, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
	0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, 0x22, 0x9d, 0x02, 0x0a, 0x0f, 0x4e, 0x6f,
	0x64, 0x65, 0x53, 0x70, 0x65, 0x63, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a,
	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
	0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
	0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42,
	0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x69, 0x7a,
	0x65, 0x47, 0x69, 0x12, 0x23, 0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f,
	0x67, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x6d,
	0x69, 0x6e, 0x53, 0x69, 0x7a, 0x65, 0x47, 0x69, 0x12, 0x23, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f,
	0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0,
	0x41, 0x03, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x47, 0x69, 0x12, 0x26, 0x0a,
	0x09, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
	0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x61, 0x62,
	0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
	0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03,
	0xe0, 0x41, 0x03, 0x48, 0x01, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x69,
	0x7a, 0x65, 0x47, 0x69, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x72, 0x65, 0x73, 0x69,
	0x7a, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
	0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x69, 0x22, 0xd6, 0x01, 0x0a, 0x10, 0x4e, 0x6f,
	0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x31,
	0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63,
	0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
	0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e,
	0x74, 0x12, 0x29, 0x0a, 0x0e, 0x6d, 0x69, 0x6e, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f,
	0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c,
	0x6d, 0x69, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x0e,
	0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
	0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x4e, 0x6f,
	0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18,
	0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6e,
	0x65, 0x78, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f,
	0x75, 0x6e, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x72, 0x75,
	0x6c, 0x65, 0x22, 0x69, 0x0a, 0x0d, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52,
	0x75, 0x6c, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6e, 0x65, 0x78, 0x74, 0x67,
	0x65, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52,
	0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x74, 0x79,
	0x70, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
	0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, 0x8a, 0x01,
	0x0a, 0x15, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e,
	0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x24, 0x4e, 0x4f, 0x44, 0x45, 0x5f,
	0x53, 0x50, 0x45, 0x43, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x54,
	0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
	0x00, 0x12, 0x21, 0x0a, 0x1d, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x50, 0x45, 0x43, 0x5f, 0x43,
	0x4f, 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x49,
	0x4b, 0x56, 0x10, 0x01, 0x12, 0x24, 0x0a, 0x20, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x50, 0x45,
	0x43, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45,
	0x5f, 0x54, 0x49, 0x46, 0x4c, 0x41, 0x53, 0x48, 0x10, 0x02, 0x2a, 0x9e, 0x01, 0x0a, 0x11, 0x4e,
	0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65,
	0x12, 0x24, 0x0a, 0x20, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x52,
	0x55, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
	0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x43,
	0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x52, 0x55, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e,
	0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x24, 0x0a, 0x20, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x43, 0x4f,
	0x55, 0x4e, 0x54, 0x5f, 0x52, 0x55, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x55,
	0x4c, 0x54, 0x49, 0x50, 0x4c, 0x45, 0x5f, 0x4f, 0x46, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x4e,
	0x4f, 0x44, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x52, 0x55, 0x4c, 0x45, 0x5f, 0x54,
	0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x10, 0x03, 0x42, 0xe1, 0x01, 0x0a, 0x15,
	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6e, 0x65, 0x78, 0x74, 0x67,
	0x65, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x70, 0x65, 0x63, 0x50,
	0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
	0x6f, 0x6d, 0x2f, 0x74, 0x69, 0x64, 0x62, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, 0x69, 0x64,
	0x62, 0x2d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2d, 0x73, 0x65, 0x72,
	0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x67, 0x6c,
	0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x6e, 0x65, 0x78, 0x74, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x31, 0x3b,
	0x6e, 0x65, 0x78, 0x74, 0x67, 0x65, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x47, 0x4e, 0x58, 0xaa,
	0x02, 0x11, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x4e, 0x65, 0x78, 0x74, 0x67, 0x65, 0x6e,
	0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x5c, 0x4e, 0x65,
	0x78, 0x74, 0x67, 0x65, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x47, 0x6c, 0x6f, 0x62, 0x61,
	0x6c, 0x5f, 0x5c, 0x4e, 0x65, 0x78, 0x74, 0x67, 0x65, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50,
	0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x47, 0x6c, 0x6f, 0x62,
	0x61, 0x6c, 0x3a, 0x3a, 0x4e, 0x65, 0x78, 0x74, 0x67, 0x65, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62,
	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_global_nextgen_v1_node_spec_proto_rawDescOnce sync.Once
	file_global_nextgen_v1_node_spec_proto_rawDescData = file_global_nextgen_v1_node_spec_proto_rawDesc
)

func file_global_nextgen_v1_node_spec_proto_rawDescGZIP() []byte {
	file_global_nextgen_v1_node_spec_proto_rawDescOnce.Do(func() {
		file_global_nextgen_v1_node_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_global_nextgen_v1_node_spec_proto_rawDescData)
	})
	return file_global_nextgen_v1_node_spec_proto_rawDescData
}

var file_global_nextgen_v1_node_spec_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_global_nextgen_v1_node_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_global_nextgen_v1_node_spec_proto_goTypes = []any{
	(NodeSpecComponentType)(0),   // 0: global.nextgen.v1.NodeSpecComponentType
	(NodeCountRuleType)(0),       // 1: global.nextgen.v1.NodeCountRuleType
	(*ResourcePoolNodeSpec)(nil), // 2: global.nextgen.v1.ResourcePoolNodeSpec
	(*NodeSpecStorage)(nil),      // 3: global.nextgen.v1.NodeSpecStorage
	(*NodeCountOptions)(nil),     // 4: global.nextgen.v1.NodeCountOptions
	(*NodeCountRule)(nil),        // 5: global.nextgen.v1.NodeCountRule
}
var file_global_nextgen_v1_node_spec_proto_depIdxs = []int32{
	0, // 0: global.nextgen.v1.ResourcePoolNodeSpec.component_type:type_name -> global.nextgen.v1.NodeSpecComponentType
	3, // 1: global.nextgen.v1.ResourcePoolNodeSpec.storages:type_name -> global.nextgen.v1.NodeSpecStorage
	5, // 2: global.nextgen.v1.NodeCountOptions.rule:type_name -> global.nextgen.v1.NodeCountRule
	1, // 3: global.nextgen.v1.NodeCountRule.type:type_name -> global.nextgen.v1.NodeCountRuleType
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_global_nextgen_v1_node_spec_proto_init() }
func file_global_nextgen_v1_node_spec_proto_init() {
	if File_global_nextgen_v1_node_spec_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_global_nextgen_v1_node_spec_proto_msgTypes[0].Exporter = func(v any, i int) any {
			switch v := v.(*ResourcePoolNodeSpec); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_global_nextgen_v1_node_spec_proto_msgTypes[1].Exporter = func(v any, i int) any {
			switch v := v.(*NodeSpecStorage); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_global_nextgen_v1_node_spec_proto_msgTypes[2].Exporter = func(v any, i int) any {
			switch v := v.(*NodeCountOptions); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_global_nextgen_v1_node_spec_proto_msgTypes[3].Exporter = func(v any, i int) any {
			switch v := v.(*NodeCountRule); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_global_nextgen_v1_node_spec_proto_msgTypes[1].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_global_nextgen_v1_node_spec_proto_rawDesc,
			NumEnums:      2,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_global_nextgen_v1_node_spec_proto_goTypes,
		DependencyIndexes: file_global_nextgen_v1_node_spec_proto_depIdxs,
		EnumInfos:         file_global_nextgen_v1_node_spec_proto_enumTypes,
		MessageInfos:      file_global_nextgen_v1_node_spec_proto_msgTypes,
	}.Build()
	File_global_nextgen_v1_node_spec_proto = out.File
	file_global_nextgen_v1_node_spec_proto_rawDesc = nil
	file_global_nextgen_v1_node_spec_proto_goTypes = nil
	file_global_nextgen_v1_node_spec_proto_depIdxs = nil
}
