Files
waf-platform/EdgeCommon/pkg/rpc/pb/service_ns_plan.pb.go
2026-03-22 17:37:40 +08:00

691 lines
21 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v3.19.6
// 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"
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)
)
// 创建DNS套餐
type CreateNSPlanRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateNSPlanRequest) Reset() {
*x = CreateNSPlanRequest{}
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 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 `protogen:"open.v1"`
NsPlanId int64 `protobuf:"varint,1,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateNSPlanResponse) Reset() {
*x = CreateNSPlanResponse{}
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 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 `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateNSPlanRequest) Reset() {
*x = UpdateNSPlanRequest{}
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 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 `protogen:"open.v1"`
NsPlanIds []int64 `protobuf:"varint,1,rep,packed,name=nsPlanIds,proto3" json:"nsPlanIds,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SortNSPlansRequest) Reset() {
*x = SortNSPlansRequest{}
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 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 `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindAllNSPlansRequest) Reset() {
*x = FindAllNSPlansRequest{}
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 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 `protogen:"open.v1"`
NsPlans []*NSPlan `protobuf:"bytes,1,rep,name=nsPlans,proto3" json:"nsPlans,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindAllNSPlansResponse) Reset() {
*x = FindAllNSPlansResponse{}
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 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 `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindAllEnabledNSPlansRequest) Reset() {
*x = FindAllEnabledNSPlansRequest{}
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 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 `protogen:"open.v1"`
NsPlans []*NSPlan `protobuf:"bytes,1,rep,name=nsPlans,proto3" json:"nsPlans,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindAllEnabledNSPlansResponse) Reset() {
*x = FindAllEnabledNSPlansResponse{}
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 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 `protogen:"open.v1"`
NsPlanId int64 `protobuf:"varint,1,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindNSPlanRequest) Reset() {
*x = FindNSPlanRequest{}
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 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 `protogen:"open.v1"`
NsPlan *NSPlan `protobuf:"bytes,1,opt,name=nsPlan,proto3" json:"nsPlan,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindNSPlanResponse) Reset() {
*x = FindNSPlanResponse{}
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 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 `protogen:"open.v1"`
NsPlanId int64 `protobuf:"varint,1,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteNSPlanRequest) Reset() {
*x = DeleteNSPlanRequest{}
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 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
const file_service_ns_plan_proto_rawDesc = "" +
"\n" +
"\x15service_ns_plan.proto\x12\x02pb\x1a\x1amodels/model_ns_plan.proto\x1a\x19models/rpc_messages.proto\"\x8f\x01\n" +
"\x13CreateNSPlanRequest\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\"\n" +
"\fmonthlyPrice\x18\x02 \x01(\x02R\fmonthlyPrice\x12 \n" +
"\vyearlyPrice\x18\x03 \x01(\x02R\vyearlyPrice\x12\x1e\n" +
"\n" +
"configJSON\x18\x04 \x01(\fR\n" +
"configJSON\"2\n" +
"\x14CreateNSPlanResponse\x12\x1a\n" +
"\bnsPlanId\x18\x01 \x01(\x03R\bnsPlanId\"\xbf\x01\n" +
"\x13UpdateNSPlanRequest\x12\x1a\n" +
"\bnsPlanId\x18\x01 \x01(\x03R\bnsPlanId\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\"\n" +
"\fmonthlyPrice\x18\x04 \x01(\x02R\fmonthlyPrice\x12 \n" +
"\vyearlyPrice\x18\x05 \x01(\x02R\vyearlyPrice\x12\x1e\n" +
"\n" +
"configJSON\x18\x06 \x01(\fR\n" +
"configJSON\"2\n" +
"\x12SortNSPlansRequest\x12\x1c\n" +
"\tnsPlanIds\x18\x01 \x03(\x03R\tnsPlanIds\"\x17\n" +
"\x15FindAllNSPlansRequest\">\n" +
"\x16FindAllNSPlansResponse\x12$\n" +
"\ansPlans\x18\x01 \x03(\v2\n" +
".pb.NSPlanR\ansPlans\"\x1e\n" +
"\x1cFindAllEnabledNSPlansRequest\"E\n" +
"\x1dFindAllEnabledNSPlansResponse\x12$\n" +
"\ansPlans\x18\x01 \x03(\v2\n" +
".pb.NSPlanR\ansPlans\"/\n" +
"\x11FindNSPlanRequest\x12\x1a\n" +
"\bnsPlanId\x18\x01 \x01(\x03R\bnsPlanId\"8\n" +
"\x12FindNSPlanResponse\x12\"\n" +
"\x06nsPlan\x18\x01 \x01(\v2\n" +
".pb.NSPlanR\x06nsPlan\"1\n" +
"\x13DeleteNSPlanRequest\x12\x1a\n" +
"\bnsPlanId\x18\x01 \x01(\x03R\bnsPlanId2\xe4\x03\n" +
"\rNSPlanService\x12A\n" +
"\fcreateNSPlan\x12\x17.pb.CreateNSPlanRequest\x1a\x18.pb.CreateNSPlanResponse\x127\n" +
"\fupdateNSPlan\x12\x17.pb.UpdateNSPlanRequest\x1a\x0e.pb.RPCSuccess\x12:\n" +
"\x10sortNSPlanOrders\x12\x16.pb.SortNSPlansRequest\x1a\x0e.pb.RPCSuccess\x12G\n" +
"\x0efindAllNSPlans\x12\x19.pb.FindAllNSPlansRequest\x1a\x1a.pb.FindAllNSPlansResponse\x12\\\n" +
"\x15findAllEnabledNSPlans\x12 .pb.FindAllEnabledNSPlansRequest\x1a!.pb.FindAllEnabledNSPlansResponse\x12;\n" +
"\n" +
"findNSPlan\x12\x15.pb.FindNSPlanRequest\x1a\x16.pb.FindNSPlanResponse\x127\n" +
"\fdeleteNSPlan\x12\x17.pb.DeleteNSPlanRequest\x1a\x0e.pb.RPCSuccessB\x06Z\x04./pbb\x06proto3"
var (
file_service_ns_plan_proto_rawDescOnce sync.Once
file_service_ns_plan_proto_rawDescData []byte
)
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(unsafe.Slice(unsafe.StringData(file_service_ns_plan_proto_rawDesc), len(file_service_ns_plan_proto_rawDesc)))
})
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 = []any{
(*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()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_ns_plan_proto_rawDesc), len(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_goTypes = nil
file_service_ns_plan_proto_depIdxs = nil
}