// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.31.0
// 	protoc        v3.19.4
// source: service_ns_plan.proto

package pb

import (
	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)
)

// 创建DNS套餐
type CreateNSPlanRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Name         string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	MonthlyPrice float32 `protobuf:"fixed32,2,opt,name=monthlyPrice,proto3" json:"monthlyPrice,omitempty"`
	YearlyPrice  float32 `protobuf:"fixed32,3,opt,name=yearlyPrice,proto3" json:"yearlyPrice,omitempty"`
	ConfigJSON   []byte  `protobuf:"bytes,4,opt,name=configJSON,proto3" json:"configJSON,omitempty"`
}

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

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

func (*CreateNSPlanRequest) ProtoMessage() {}

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

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

func (x *CreateNSPlanRequest) GetMonthlyPrice() float32 {
	if x != nil {
		return x.MonthlyPrice
	}
	return 0
}

func (x *CreateNSPlanRequest) GetYearlyPrice() float32 {
	if x != nil {
		return x.YearlyPrice
	}
	return 0
}

func (x *CreateNSPlanRequest) GetConfigJSON() []byte {
	if x != nil {
		return x.ConfigJSON
	}
	return nil
}

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

	NsPlanId int64 `protobuf:"varint,1,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"`
}

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

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

func (*CreateNSPlanResponse) ProtoMessage() {}

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

func (x *CreateNSPlanResponse) GetNsPlanId() int64 {
	if x != nil {
		return x.NsPlanId
	}
	return 0
}

// 修改DNS套餐
type UpdateNSPlanRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	NsPlanId     int64   `protobuf:"varint,1,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"`
	Name         string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	IsOn         bool    `protobuf:"varint,3,opt,name=isOn,proto3" json:"isOn,omitempty"`
	MonthlyPrice float32 `protobuf:"fixed32,4,opt,name=monthlyPrice,proto3" json:"monthlyPrice,omitempty"`
	YearlyPrice  float32 `protobuf:"fixed32,5,opt,name=yearlyPrice,proto3" json:"yearlyPrice,omitempty"`
	ConfigJSON   []byte  `protobuf:"bytes,6,opt,name=configJSON,proto3" json:"configJSON,omitempty"`
}

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

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

func (*UpdateNSPlanRequest) ProtoMessage() {}

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

func (x *UpdateNSPlanRequest) GetNsPlanId() int64 {
	if x != nil {
		return x.NsPlanId
	}
	return 0
}

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

func (x *UpdateNSPlanRequest) GetIsOn() bool {
	if x != nil {
		return x.IsOn
	}
	return false
}

func (x *UpdateNSPlanRequest) GetMonthlyPrice() float32 {
	if x != nil {
		return x.MonthlyPrice
	}
	return 0
}

func (x *UpdateNSPlanRequest) GetYearlyPrice() float32 {
	if x != nil {
		return x.YearlyPrice
	}
	return 0
}

func (x *UpdateNSPlanRequest) GetConfigJSON() []byte {
	if x != nil {
		return x.ConfigJSON
	}
	return nil
}

// 修改DNS套餐顺序
type SortNSPlansRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	NsPlanIds []int64 `protobuf:"varint,1,rep,packed,name=nsPlanIds,proto3" json:"nsPlanIds,omitempty"`
}

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

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

func (*SortNSPlansRequest) ProtoMessage() {}

func (x *SortNSPlansRequest) ProtoReflect() protoreflect.Message {
	mi := &file_service_ns_plan_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 SortNSPlansRequest.ProtoReflect.Descriptor instead.
func (*SortNSPlansRequest) Descriptor() ([]byte, []int) {
	return file_service_ns_plan_proto_rawDescGZIP(), []int{3}
}

func (x *SortNSPlansRequest) GetNsPlanIds() []int64 {
	if x != nil {
		return x.NsPlanIds
	}
	return nil
}

// 查找所有DNS套餐
type FindAllNSPlansRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *FindAllNSPlansRequest) Reset() {
	*x = FindAllNSPlansRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_ns_plan_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*FindAllNSPlansRequest) ProtoMessage() {}

func (x *FindAllNSPlansRequest) ProtoReflect() protoreflect.Message {
	mi := &file_service_ns_plan_proto_msgTypes[4]
	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 FindAllNSPlansRequest.ProtoReflect.Descriptor instead.
func (*FindAllNSPlansRequest) Descriptor() ([]byte, []int) {
	return file_service_ns_plan_proto_rawDescGZIP(), []int{4}
}

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

	NsPlans []*NSPlan `protobuf:"bytes,1,rep,name=nsPlans,proto3" json:"nsPlans,omitempty"`
}

func (x *FindAllNSPlansResponse) Reset() {
	*x = FindAllNSPlansResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_ns_plan_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*FindAllNSPlansResponse) ProtoMessage() {}

func (x *FindAllNSPlansResponse) ProtoReflect() protoreflect.Message {
	mi := &file_service_ns_plan_proto_msgTypes[5]
	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 FindAllNSPlansResponse.ProtoReflect.Descriptor instead.
func (*FindAllNSPlansResponse) Descriptor() ([]byte, []int) {
	return file_service_ns_plan_proto_rawDescGZIP(), []int{5}
}

func (x *FindAllNSPlansResponse) GetNsPlans() []*NSPlan {
	if x != nil {
		return x.NsPlans
	}
	return nil
}

// 查找所有可用DNS套餐
type FindAllEnabledNSPlansRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *FindAllEnabledNSPlansRequest) Reset() {
	*x = FindAllEnabledNSPlansRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_ns_plan_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*FindAllEnabledNSPlansRequest) ProtoMessage() {}

func (x *FindAllEnabledNSPlansRequest) ProtoReflect() protoreflect.Message {
	mi := &file_service_ns_plan_proto_msgTypes[6]
	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 FindAllEnabledNSPlansRequest.ProtoReflect.Descriptor instead.
func (*FindAllEnabledNSPlansRequest) Descriptor() ([]byte, []int) {
	return file_service_ns_plan_proto_rawDescGZIP(), []int{6}
}

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

	NsPlans []*NSPlan `protobuf:"bytes,1,rep,name=nsPlans,proto3" json:"nsPlans,omitempty"`
}

func (x *FindAllEnabledNSPlansResponse) Reset() {
	*x = FindAllEnabledNSPlansResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_ns_plan_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*FindAllEnabledNSPlansResponse) ProtoMessage() {}

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

func (x *FindAllEnabledNSPlansResponse) GetNsPlans() []*NSPlan {
	if x != nil {
		return x.NsPlans
	}
	return nil
}

// 查找DNS套餐
type FindNSPlanRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	NsPlanId int64 `protobuf:"varint,1,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"`
}

func (x *FindNSPlanRequest) Reset() {
	*x = FindNSPlanRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_ns_plan_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*FindNSPlanRequest) ProtoMessage() {}

func (x *FindNSPlanRequest) ProtoReflect() protoreflect.Message {
	mi := &file_service_ns_plan_proto_msgTypes[8]
	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 FindNSPlanRequest.ProtoReflect.Descriptor instead.
func (*FindNSPlanRequest) Descriptor() ([]byte, []int) {
	return file_service_ns_plan_proto_rawDescGZIP(), []int{8}
}

func (x *FindNSPlanRequest) GetNsPlanId() int64 {
	if x != nil {
		return x.NsPlanId
	}
	return 0
}

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

	NsPlan *NSPlan `protobuf:"bytes,1,opt,name=nsPlan,proto3" json:"nsPlan,omitempty"`
}

func (x *FindNSPlanResponse) Reset() {
	*x = FindNSPlanResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_ns_plan_proto_msgTypes[9]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*FindNSPlanResponse) ProtoMessage() {}

func (x *FindNSPlanResponse) ProtoReflect() protoreflect.Message {
	mi := &file_service_ns_plan_proto_msgTypes[9]
	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 FindNSPlanResponse.ProtoReflect.Descriptor instead.
func (*FindNSPlanResponse) Descriptor() ([]byte, []int) {
	return file_service_ns_plan_proto_rawDescGZIP(), []int{9}
}

func (x *FindNSPlanResponse) GetNsPlan() *NSPlan {
	if x != nil {
		return x.NsPlan
	}
	return nil
}

// 删除DNS套餐
type DeleteNSPlanRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	NsPlanId int64 `protobuf:"varint,1,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"`
}

func (x *DeleteNSPlanRequest) Reset() {
	*x = DeleteNSPlanRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_ns_plan_proto_msgTypes[10]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*DeleteNSPlanRequest) ProtoMessage() {}

func (x *DeleteNSPlanRequest) ProtoReflect() protoreflect.Message {
	mi := &file_service_ns_plan_proto_msgTypes[10]
	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 DeleteNSPlanRequest.ProtoReflect.Descriptor instead.
func (*DeleteNSPlanRequest) Descriptor() ([]byte, []int) {
	return file_service_ns_plan_proto_rawDescGZIP(), []int{10}
}

func (x *DeleteNSPlanRequest) GetNsPlanId() int64 {
	if x != nil {
		return x.NsPlanId
	}
	return 0
}

var File_service_ns_plan_proto protoreflect.FileDescriptor

var file_service_ns_plan_proto_rawDesc = []byte{
	0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x73, 0x5f, 0x70, 0x6c, 0x61,
	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1a, 0x6d, 0x6f, 0x64,
	0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x73, 0x5f, 0x70, 0x6c, 0x61,
	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f,
	0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x50,
	0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
	0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22,
	0x0a, 0x0c, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02,
	0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x50, 0x72, 0x69,
	0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x79, 0x65, 0x61, 0x72, 0x6c, 0x79, 0x50, 0x72, 0x69, 0x63,
	0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x79, 0x65, 0x61, 0x72, 0x6c, 0x79, 0x50,
	0x72, 0x69, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x53,
	0x4f, 0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
	0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x32, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53,
	0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08,
	0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
	0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x22, 0xbf, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64,
	0x61, 0x74, 0x65, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x03, 0x52, 0x08, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04,
	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
	0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04,
	0x69, 0x73, 0x4f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x50,
	0x72, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x6d, 0x6f, 0x6e, 0x74,
	0x68, 0x6c, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x79, 0x65, 0x61, 0x72,
	0x6c, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x79,
	0x65, 0x61, 0x72, 0x6c, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f,
	0x6e, 0x66, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a,
	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x32, 0x0a, 0x12, 0x53, 0x6f,
	0x72, 0x74, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20,
	0x03, 0x28, 0x03, 0x52, 0x09, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x17,
	0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x73,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3e, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x41,
	0x6c, 0x6c, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x12, 0x24, 0x0a, 0x07, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03,
	0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x07,
	0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x22, 0x1e, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x41,
	0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x73,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x45, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x41,
	0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x73,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x6e, 0x73, 0x50, 0x6c,
	0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x4e,
	0x53, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x07, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x22, 0x2f,
	0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75,
	0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x22,
	0x38, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73,
	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x50, 0x6c, 0x61,
	0x6e, 0x52, 0x06, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x31, 0x0a, 0x13, 0x44, 0x65, 0x6c,
	0x65, 0x74, 0x65, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x03, 0x52, 0x08, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x32, 0xe4, 0x03, 0x0a,
	0x0d, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41,
	0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x17,
	0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
	0x61, 0x74, 0x65, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x12, 0x37, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x50, 0x6c, 0x61,
	0x6e, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x50,
	0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
	0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x10, 0x73, 0x6f,
	0x72, 0x74, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x16,
	0x2e, 0x70, 0x62, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53,
	0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c,
	0x6c, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
	0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,
	0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
	0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
	0x5c, 0x0a, 0x15, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
	0x64, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
	0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x50, 0x6c,
	0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e,
	0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53,
	0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a,
	0x0a, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x62,
	0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x50, 0x6c,
	0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0c, 0x64, 0x65,
	0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e,
	0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75,
	0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63,
	0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x33,
}

var (
	file_service_ns_plan_proto_rawDescOnce sync.Once
	file_service_ns_plan_proto_rawDescData = file_service_ns_plan_proto_rawDesc
)

func file_service_ns_plan_proto_rawDescGZIP() []byte {
	file_service_ns_plan_proto_rawDescOnce.Do(func() {
		file_service_ns_plan_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_ns_plan_proto_rawDescData)
	})
	return file_service_ns_plan_proto_rawDescData
}

var file_service_ns_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_service_ns_plan_proto_goTypes = []interface{}{
	(*CreateNSPlanRequest)(nil),           // 0: pb.CreateNSPlanRequest
	(*CreateNSPlanResponse)(nil),          // 1: pb.CreateNSPlanResponse
	(*UpdateNSPlanRequest)(nil),           // 2: pb.UpdateNSPlanRequest
	(*SortNSPlansRequest)(nil),            // 3: pb.SortNSPlansRequest
	(*FindAllNSPlansRequest)(nil),         // 4: pb.FindAllNSPlansRequest
	(*FindAllNSPlansResponse)(nil),        // 5: pb.FindAllNSPlansResponse
	(*FindAllEnabledNSPlansRequest)(nil),  // 6: pb.FindAllEnabledNSPlansRequest
	(*FindAllEnabledNSPlansResponse)(nil), // 7: pb.FindAllEnabledNSPlansResponse
	(*FindNSPlanRequest)(nil),             // 8: pb.FindNSPlanRequest
	(*FindNSPlanResponse)(nil),            // 9: pb.FindNSPlanResponse
	(*DeleteNSPlanRequest)(nil),           // 10: pb.DeleteNSPlanRequest
	(*NSPlan)(nil),                        // 11: pb.NSPlan
	(*RPCSuccess)(nil),                    // 12: pb.RPCSuccess
}
var file_service_ns_plan_proto_depIdxs = []int32{
	11, // 0: pb.FindAllNSPlansResponse.nsPlans:type_name -> pb.NSPlan
	11, // 1: pb.FindAllEnabledNSPlansResponse.nsPlans:type_name -> pb.NSPlan
	11, // 2: pb.FindNSPlanResponse.nsPlan:type_name -> pb.NSPlan
	0,  // 3: pb.NSPlanService.createNSPlan:input_type -> pb.CreateNSPlanRequest
	2,  // 4: pb.NSPlanService.updateNSPlan:input_type -> pb.UpdateNSPlanRequest
	3,  // 5: pb.NSPlanService.sortNSPlanOrders:input_type -> pb.SortNSPlansRequest
	4,  // 6: pb.NSPlanService.findAllNSPlans:input_type -> pb.FindAllNSPlansRequest
	6,  // 7: pb.NSPlanService.findAllEnabledNSPlans:input_type -> pb.FindAllEnabledNSPlansRequest
	8,  // 8: pb.NSPlanService.findNSPlan:input_type -> pb.FindNSPlanRequest
	10, // 9: pb.NSPlanService.deleteNSPlan:input_type -> pb.DeleteNSPlanRequest
	1,  // 10: pb.NSPlanService.createNSPlan:output_type -> pb.CreateNSPlanResponse
	12, // 11: pb.NSPlanService.updateNSPlan:output_type -> pb.RPCSuccess
	12, // 12: pb.NSPlanService.sortNSPlanOrders:output_type -> pb.RPCSuccess
	5,  // 13: pb.NSPlanService.findAllNSPlans:output_type -> pb.FindAllNSPlansResponse
	7,  // 14: pb.NSPlanService.findAllEnabledNSPlans:output_type -> pb.FindAllEnabledNSPlansResponse
	9,  // 15: pb.NSPlanService.findNSPlan:output_type -> pb.FindNSPlanResponse
	12, // 16: pb.NSPlanService.deleteNSPlan:output_type -> pb.RPCSuccess
	10, // [10:17] is the sub-list for method output_type
	3,  // [3:10] is the sub-list for method input_type
	3,  // [3:3] is the sub-list for extension type_name
	3,  // [3:3] is the sub-list for extension extendee
	0,  // [0:3] is the sub-list for field type_name
}

func init() { file_service_ns_plan_proto_init() }
func file_service_ns_plan_proto_init() {
	if File_service_ns_plan_proto != nil {
		return
	}
	file_models_model_ns_plan_proto_init()
	file_models_rpc_messages_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_service_ns_plan_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*CreateNSPlanRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_ns_plan_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*CreateNSPlanResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_ns_plan_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*UpdateNSPlanRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_ns_plan_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SortNSPlansRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_ns_plan_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*FindAllNSPlansRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_ns_plan_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*FindAllNSPlansResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_ns_plan_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*FindAllEnabledNSPlansRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_ns_plan_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*FindAllEnabledNSPlansResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_ns_plan_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*FindNSPlanRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_ns_plan_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*FindNSPlanResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_ns_plan_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteNSPlanRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_service_ns_plan_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   11,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_service_ns_plan_proto_goTypes,
		DependencyIndexes: file_service_ns_plan_proto_depIdxs,
		MessageInfos:      file_service_ns_plan_proto_msgTypes,
	}.Build()
	File_service_ns_plan_proto = out.File
	file_service_ns_plan_proto_rawDesc = nil
	file_service_ns_plan_proto_goTypes = nil
	file_service_ns_plan_proto_depIdxs = nil
}
