增加DNS套餐相关API

This commit is contained in:
刘祥超
2022-09-13 10:50:26 +08:00
parent da02e6df4a
commit cf4b9a49ed
20 changed files with 7944 additions and 4304 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -6,9 +6,21 @@ type NSPlanConfig struct {
SupportCountryRoutes bool `json:"supportCountryRoutes"` // 支持全球国家/地区线路 SupportCountryRoutes bool `json:"supportCountryRoutes"` // 支持全球国家/地区线路
SupportChinaProvinceRoutes bool `json:"supportChinaProvinceRoutes"` // 支持国内省份线路 SupportChinaProvinceRoutes bool `json:"supportChinaProvinceRoutes"` // 支持国内省份线路
SupportISPRoutes bool `json:"supportISPRoutes"` // 支持ISP运营商线路 SupportISPRoutes bool `json:"supportISPRoutes"` // 支持ISP运营商线路
CountCustomRoutes int `json:"countCustomRoutes"` // 自定义的线路数量 MaxCustomRoutes int32 `json:"maxCustomRoutes"` // 自定义的线路数量
CountLoadBalanceRecords bool `json:"countLoadBalanceRecords"` // 负载均衡条数
MinTTL int32 `json:"minTTL"` // 最小TTL MinTTL int32 `json:"minTTL"` // 最小TTL
MaxDomains int32 `json:"maxDomains"` // 域名数量
MaxRecordsPerDomain int32 `json:"maxRecordsPerDomain"` // 单域名记录数量
MaxLoadBalanceRecordsPerRecord int32 `json:"maxLoadBalanceRecordsPerRecord"` // 单记录负载均衡条数
SupportRecordStats bool `json:"supportRecordStats"` // 支持记录统计
SupportDomainAlias bool `json:"supportDomainAlias"` // 支持域名别名 TODO
SupportAPI bool `json:"supportAPI"` // 是否支持API操作 SupportAPI bool `json:"supportAPI"` // 是否支持API操作 TODO
}
func DefaultNSPlanConfig() *NSPlanConfig {
return &NSPlanConfig{}
}
func (this *NSPlanConfig) Init() error {
return nil
} }

View File

@@ -5,9 +5,27 @@ package dnsconfigs
func DefaultNSUserConfig() *NSUserConfig { func DefaultNSUserConfig() *NSUserConfig {
return &NSUserConfig{ return &NSUserConfig{
DefaultClusterId: 0, DefaultClusterId: 0,
DefaultPlanConfig: DefaultNSUserPlanConfig(),
}
}
func DefaultNSUserPlanConfig() *NSPlanConfig {
return &NSPlanConfig{
SupportCountryRoutes: true,
SupportChinaProvinceRoutes: true,
SupportISPRoutes: true,
MaxCustomRoutes: 0,
MaxLoadBalanceRecordsPerRecord: 100,
MinTTL: 60,
MaxDomains: 100,
MaxRecordsPerDomain: 1000,
SupportRecordStats: true,
SupportDomainAlias: false,
SupportAPI: false,
} }
} }
type NSUserConfig struct { type NSUserConfig struct {
DefaultClusterId int64 `json:"defaultClusterId"` // 默认部署到的集群 DefaultClusterId int64 `json:"defaultClusterId"` // 默认部署到的集群
DefaultPlanConfig *NSPlanConfig `json:"defaultPlanConfig"` // 默认套餐设置
} }

View File

@@ -0,0 +1,195 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.19.4
// source: models/model_ns_plan.proto
package pb
import (
proto "github.com/golang/protobuf/proto"
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)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type NSPlan struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,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 *NSPlan) Reset() {
*x = NSPlan{}
if protoimpl.UnsafeEnabled {
mi := &file_models_model_ns_plan_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NSPlan) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NSPlan) ProtoMessage() {}
func (x *NSPlan) ProtoReflect() protoreflect.Message {
mi := &file_models_model_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 NSPlan.ProtoReflect.Descriptor instead.
func (*NSPlan) Descriptor() ([]byte, []int) {
return file_models_model_ns_plan_proto_rawDescGZIP(), []int{0}
}
func (x *NSPlan) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *NSPlan) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *NSPlan) GetIsOn() bool {
if x != nil {
return x.IsOn
}
return false
}
func (x *NSPlan) GetMonthlyPrice() float32 {
if x != nil {
return x.MonthlyPrice
}
return 0
}
func (x *NSPlan) GetYearlyPrice() float32 {
if x != nil {
return x.YearlyPrice
}
return 0
}
func (x *NSPlan) GetConfigJSON() []byte {
if x != nil {
return x.ConfigJSON
}
return nil
}
var File_models_model_ns_plan_proto protoreflect.FileDescriptor
var file_models_model_ns_plan_proto_rawDesc = []byte{
0x0a, 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, 0x12, 0x02, 0x70, 0x62,
0x22, 0xa6, 0x01, 0x0a, 0x06, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_models_model_ns_plan_proto_rawDescOnce sync.Once
file_models_model_ns_plan_proto_rawDescData = file_models_model_ns_plan_proto_rawDesc
)
func file_models_model_ns_plan_proto_rawDescGZIP() []byte {
file_models_model_ns_plan_proto_rawDescOnce.Do(func() {
file_models_model_ns_plan_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ns_plan_proto_rawDescData)
})
return file_models_model_ns_plan_proto_rawDescData
}
var file_models_model_ns_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_models_model_ns_plan_proto_goTypes = []interface{}{
(*NSPlan)(nil), // 0: pb.NSPlan
}
var file_models_model_ns_plan_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_models_model_ns_plan_proto_init() }
func file_models_model_ns_plan_proto_init() {
if File_models_model_ns_plan_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_models_model_ns_plan_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NSPlan); 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_models_model_ns_plan_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_models_model_ns_plan_proto_goTypes,
DependencyIndexes: file_models_model_ns_plan_proto_depIdxs,
MessageInfos: file_models_model_ns_plan_proto_msgTypes,
}.Build()
File_models_model_ns_plan_proto = out.File
file_models_model_ns_plan_proto_rawDesc = nil
file_models_model_ns_plan_proto_goTypes = nil
file_models_model_ns_plan_proto_depIdxs = nil
}

View File

@@ -0,0 +1,224 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.19.4
// source: models/model_ns_user_plan.proto
package pb
import (
proto "github.com/golang/protobuf/proto"
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)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type NSUserPlan struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
NsPlanId int64 `protobuf:"varint,2,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"`
UserId int64 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"`
DayFrom string `protobuf:"bytes,4,opt,name=dayFrom,proto3" json:"dayFrom,omitempty"`
DayTo string `protobuf:"bytes,5,opt,name=dayTo,proto3" json:"dayTo,omitempty"`
PeriodUnit string `protobuf:"bytes,6,opt,name=periodUnit,proto3" json:"periodUnit,omitempty"`
NsPlan *NSPlan `protobuf:"bytes,30,opt,name=nsPlan,proto3" json:"nsPlan,omitempty"`
User *User `protobuf:"bytes,31,opt,name=user,proto3" json:"user,omitempty"`
}
func (x *NSUserPlan) Reset() {
*x = NSUserPlan{}
if protoimpl.UnsafeEnabled {
mi := &file_models_model_ns_user_plan_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NSUserPlan) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NSUserPlan) ProtoMessage() {}
func (x *NSUserPlan) ProtoReflect() protoreflect.Message {
mi := &file_models_model_ns_user_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 NSUserPlan.ProtoReflect.Descriptor instead.
func (*NSUserPlan) Descriptor() ([]byte, []int) {
return file_models_model_ns_user_plan_proto_rawDescGZIP(), []int{0}
}
func (x *NSUserPlan) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *NSUserPlan) GetNsPlanId() int64 {
if x != nil {
return x.NsPlanId
}
return 0
}
func (x *NSUserPlan) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *NSUserPlan) GetDayFrom() string {
if x != nil {
return x.DayFrom
}
return ""
}
func (x *NSUserPlan) GetDayTo() string {
if x != nil {
return x.DayTo
}
return ""
}
func (x *NSUserPlan) GetPeriodUnit() string {
if x != nil {
return x.PeriodUnit
}
return ""
}
func (x *NSUserPlan) GetNsPlan() *NSPlan {
if x != nil {
return x.NsPlan
}
return nil
}
func (x *NSUserPlan) GetUser() *User {
if x != nil {
return x.User
}
return nil
}
var File_models_model_ns_user_plan_proto protoreflect.FileDescriptor
var file_models_model_ns_user_plan_proto_rawDesc = []byte{
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
0x73, 0x5f, 0x75, 0x73, 0x65, 0x72, 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, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x01, 0x0a, 0x0a, 0x4e,
0x53, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x73, 0x50,
0x6c, 0x61, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x73, 0x50,
0x6c, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18,
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a,
0x07, 0x64, 0x61, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x64, 0x61, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x61, 0x79, 0x54, 0x6f,
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x61, 0x79, 0x54, 0x6f, 0x12, 0x1e, 0x0a,
0x0a, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x22, 0x0a,
0x06, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x6e, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e,
0x70, 0x62, 0x2e, 0x4e, 0x53, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x06, 0x6e, 0x73, 0x50, 0x6c, 0x61,
0x6e, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x42,
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_models_model_ns_user_plan_proto_rawDescOnce sync.Once
file_models_model_ns_user_plan_proto_rawDescData = file_models_model_ns_user_plan_proto_rawDesc
)
func file_models_model_ns_user_plan_proto_rawDescGZIP() []byte {
file_models_model_ns_user_plan_proto_rawDescOnce.Do(func() {
file_models_model_ns_user_plan_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ns_user_plan_proto_rawDescData)
})
return file_models_model_ns_user_plan_proto_rawDescData
}
var file_models_model_ns_user_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_models_model_ns_user_plan_proto_goTypes = []interface{}{
(*NSUserPlan)(nil), // 0: pb.NSUserPlan
(*NSPlan)(nil), // 1: pb.NSPlan
(*User)(nil), // 2: pb.User
}
var file_models_model_ns_user_plan_proto_depIdxs = []int32{
1, // 0: pb.NSUserPlan.nsPlan:type_name -> pb.NSPlan
2, // 1: pb.NSUserPlan.user:type_name -> pb.User
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_models_model_ns_user_plan_proto_init() }
func file_models_model_ns_user_plan_proto_init() {
if File_models_model_ns_user_plan_proto != nil {
return
}
file_models_model_ns_plan_proto_init()
file_models_model_user_proto_init()
if !protoimpl.UnsafeEnabled {
file_models_model_ns_user_plan_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NSUserPlan); 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_models_model_ns_user_plan_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_models_model_ns_user_plan_proto_goTypes,
DependencyIndexes: file_models_model_ns_user_plan_proto_depIdxs,
MessageInfos: file_models_model_ns_user_plan_proto_msgTypes,
}.Build()
File_models_model_ns_user_plan_proto = out.File
file_models_model_ns_user_plan_proto_rawDesc = nil
file_models_model_ns_user_plan_proto_goTypes = nil
file_models_model_ns_user_plan_proto_depIdxs = nil
}

View File

@@ -0,0 +1,201 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.19.4
// source: models/model_server_domain_hourly_stat.proto
package pb
import (
proto "github.com/golang/protobuf/proto"
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)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// 单个小时统计
type ServerDomainHourlyStat struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
CountRequests int64 `protobuf:"varint,3,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
Bytes int64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
}
func (x *ServerDomainHourlyStat) Reset() {
*x = ServerDomainHourlyStat{}
if protoimpl.UnsafeEnabled {
mi := &file_models_model_server_domain_hourly_stat_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ServerDomainHourlyStat) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServerDomainHourlyStat) ProtoMessage() {}
func (x *ServerDomainHourlyStat) ProtoReflect() protoreflect.Message {
mi := &file_models_model_server_domain_hourly_stat_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 ServerDomainHourlyStat.ProtoReflect.Descriptor instead.
func (*ServerDomainHourlyStat) Descriptor() ([]byte, []int) {
return file_models_model_server_domain_hourly_stat_proto_rawDescGZIP(), []int{0}
}
func (x *ServerDomainHourlyStat) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
func (x *ServerDomainHourlyStat) GetDomain() string {
if x != nil {
return x.Domain
}
return ""
}
func (x *ServerDomainHourlyStat) GetCountRequests() int64 {
if x != nil {
return x.CountRequests
}
return 0
}
func (x *ServerDomainHourlyStat) GetBytes() int64 {
if x != nil {
return x.Bytes
}
return 0
}
func (x *ServerDomainHourlyStat) GetCountAttackRequests() int64 {
if x != nil {
return x.CountAttackRequests
}
return 0
}
func (x *ServerDomainHourlyStat) GetAttackBytes() int64 {
if x != nil {
return x.AttackBytes
}
return 0
}
var File_models_model_server_domain_hourly_stat_proto protoreflect.FileDescriptor
var file_models_model_server_domain_hourly_stat_proto_rawDesc = []byte{
0x0a, 0x2c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73,
0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x68, 0x6f, 0x75,
0x72, 0x6c, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
0x70, 0x62, 0x22, 0xdc, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d,
0x61, 0x69, 0x6e, 0x48, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x12, 0x1a, 0x0a,
0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d,
0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69,
0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73,
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x30, 0x0a,
0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12,
0x20, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x07,
0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x42, 0x79, 0x74, 0x65,
0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (
file_models_model_server_domain_hourly_stat_proto_rawDescOnce sync.Once
file_models_model_server_domain_hourly_stat_proto_rawDescData = file_models_model_server_domain_hourly_stat_proto_rawDesc
)
func file_models_model_server_domain_hourly_stat_proto_rawDescGZIP() []byte {
file_models_model_server_domain_hourly_stat_proto_rawDescOnce.Do(func() {
file_models_model_server_domain_hourly_stat_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_server_domain_hourly_stat_proto_rawDescData)
})
return file_models_model_server_domain_hourly_stat_proto_rawDescData
}
var file_models_model_server_domain_hourly_stat_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_models_model_server_domain_hourly_stat_proto_goTypes = []interface{}{
(*ServerDomainHourlyStat)(nil), // 0: pb.ServerDomainHourlyStat
}
var file_models_model_server_domain_hourly_stat_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_models_model_server_domain_hourly_stat_proto_init() }
func file_models_model_server_domain_hourly_stat_proto_init() {
if File_models_model_server_domain_hourly_stat_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_models_model_server_domain_hourly_stat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ServerDomainHourlyStat); 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_models_model_server_domain_hourly_stat_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_models_model_server_domain_hourly_stat_proto_goTypes,
DependencyIndexes: file_models_model_server_domain_hourly_stat_proto_depIdxs,
MessageInfos: file_models_model_server_domain_hourly_stat_proto_msgTypes,
}.Build()
File_models_model_server_domain_hourly_stat_proto = out.File
file_models_model_server_domain_hourly_stat_proto_rawDesc = nil
file_models_model_server_domain_hourly_stat_proto_goTypes = nil
file_models_model_server_domain_hourly_stat_proto_depIdxs = nil
}

View File

@@ -1,200 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.19.4
// source: models/server_domain_hourly_stat.proto
package pb
import (
proto "github.com/golang/protobuf/proto"
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)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// 单个小时统计
type ServerDomainHourlyStat struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
CountRequests int64 `protobuf:"varint,3,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
Bytes int64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
}
func (x *ServerDomainHourlyStat) Reset() {
*x = ServerDomainHourlyStat{}
if protoimpl.UnsafeEnabled {
mi := &file_models_server_domain_hourly_stat_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ServerDomainHourlyStat) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServerDomainHourlyStat) ProtoMessage() {}
func (x *ServerDomainHourlyStat) ProtoReflect() protoreflect.Message {
mi := &file_models_server_domain_hourly_stat_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 ServerDomainHourlyStat.ProtoReflect.Descriptor instead.
func (*ServerDomainHourlyStat) Descriptor() ([]byte, []int) {
return file_models_server_domain_hourly_stat_proto_rawDescGZIP(), []int{0}
}
func (x *ServerDomainHourlyStat) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
func (x *ServerDomainHourlyStat) GetDomain() string {
if x != nil {
return x.Domain
}
return ""
}
func (x *ServerDomainHourlyStat) GetCountRequests() int64 {
if x != nil {
return x.CountRequests
}
return 0
}
func (x *ServerDomainHourlyStat) GetBytes() int64 {
if x != nil {
return x.Bytes
}
return 0
}
func (x *ServerDomainHourlyStat) GetCountAttackRequests() int64 {
if x != nil {
return x.CountAttackRequests
}
return 0
}
func (x *ServerDomainHourlyStat) GetAttackBytes() int64 {
if x != nil {
return x.AttackBytes
}
return 0
}
var File_models_server_domain_hourly_stat_proto protoreflect.FileDescriptor
var file_models_server_domain_hourly_stat_proto_rawDesc = []byte{
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x5f, 0x73, 0x74,
0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xdc, 0x01, 0x0a,
0x16, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x48, 0x6f, 0x75,
0x72, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65,
0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65,
0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01,
0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x06,
0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63,
0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x74, 0x74,
0x61, 0x63, 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e,
0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_models_server_domain_hourly_stat_proto_rawDescOnce sync.Once
file_models_server_domain_hourly_stat_proto_rawDescData = file_models_server_domain_hourly_stat_proto_rawDesc
)
func file_models_server_domain_hourly_stat_proto_rawDescGZIP() []byte {
file_models_server_domain_hourly_stat_proto_rawDescOnce.Do(func() {
file_models_server_domain_hourly_stat_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_server_domain_hourly_stat_proto_rawDescData)
})
return file_models_server_domain_hourly_stat_proto_rawDescData
}
var file_models_server_domain_hourly_stat_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_models_server_domain_hourly_stat_proto_goTypes = []interface{}{
(*ServerDomainHourlyStat)(nil), // 0: pb.ServerDomainHourlyStat
}
var file_models_server_domain_hourly_stat_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_models_server_domain_hourly_stat_proto_init() }
func file_models_server_domain_hourly_stat_proto_init() {
if File_models_server_domain_hourly_stat_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_models_server_domain_hourly_stat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ServerDomainHourlyStat); 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_models_server_domain_hourly_stat_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_models_server_domain_hourly_stat_proto_goTypes,
DependencyIndexes: file_models_server_domain_hourly_stat_proto_depIdxs,
MessageInfos: file_models_server_domain_hourly_stat_proto_msgTypes,
}.Build()
File_models_server_domain_hourly_stat_proto = out.File
file_models_server_domain_hourly_stat_proto_rawDesc = nil
file_models_server_domain_hourly_stat_proto_goTypes = nil
file_models_server_domain_hourly_stat_proto_depIdxs = nil
}

File diff suppressed because it is too large Load Diff

View File

@@ -1009,6 +1009,70 @@ func (x *CountAllNSRecordsRequest) GetKeyword() string {
return "" return ""
} }
// 查询相同记录名的记录数
type CountAllNSRecordsWithNameRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NsDomainId int64 `protobuf:"varint,1,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
}
func (x *CountAllNSRecordsWithNameRequest) Reset() {
*x = CountAllNSRecordsWithNameRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllNSRecordsWithNameRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllNSRecordsWithNameRequest) ProtoMessage() {}
func (x *CountAllNSRecordsWithNameRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[12]
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 CountAllNSRecordsWithNameRequest.ProtoReflect.Descriptor instead.
func (*CountAllNSRecordsWithNameRequest) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{12}
}
func (x *CountAllNSRecordsWithNameRequest) GetNsDomainId() int64 {
if x != nil {
return x.NsDomainId
}
return 0
}
func (x *CountAllNSRecordsWithNameRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CountAllNSRecordsWithNameRequest) GetType() string {
if x != nil {
return x.Type
}
return ""
}
// 读取单页记录 // 读取单页记录
type ListNSRecordsRequest struct { type ListNSRecordsRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
@@ -1034,7 +1098,7 @@ type ListNSRecordsRequest struct {
func (x *ListNSRecordsRequest) Reset() { func (x *ListNSRecordsRequest) Reset() {
*x = ListNSRecordsRequest{} *x = ListNSRecordsRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[12] mi := &file_service_ns_record_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1047,7 +1111,7 @@ func (x *ListNSRecordsRequest) String() string {
func (*ListNSRecordsRequest) ProtoMessage() {} func (*ListNSRecordsRequest) ProtoMessage() {}
func (x *ListNSRecordsRequest) ProtoReflect() protoreflect.Message { func (x *ListNSRecordsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[12] mi := &file_service_ns_record_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1060,7 +1124,7 @@ func (x *ListNSRecordsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListNSRecordsRequest.ProtoReflect.Descriptor instead. // Deprecated: Use ListNSRecordsRequest.ProtoReflect.Descriptor instead.
func (*ListNSRecordsRequest) Descriptor() ([]byte, []int) { func (*ListNSRecordsRequest) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{12} return file_service_ns_record_proto_rawDescGZIP(), []int{13}
} }
func (x *ListNSRecordsRequest) GetNsDomainId() int64 { func (x *ListNSRecordsRequest) GetNsDomainId() int64 {
@@ -1166,7 +1230,7 @@ type ListNSRecordsResponse struct {
func (x *ListNSRecordsResponse) Reset() { func (x *ListNSRecordsResponse) Reset() {
*x = ListNSRecordsResponse{} *x = ListNSRecordsResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[13] mi := &file_service_ns_record_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1179,7 +1243,7 @@ func (x *ListNSRecordsResponse) String() string {
func (*ListNSRecordsResponse) ProtoMessage() {} func (*ListNSRecordsResponse) ProtoMessage() {}
func (x *ListNSRecordsResponse) ProtoReflect() protoreflect.Message { func (x *ListNSRecordsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[13] mi := &file_service_ns_record_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1192,7 +1256,7 @@ func (x *ListNSRecordsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListNSRecordsResponse.ProtoReflect.Descriptor instead. // Deprecated: Use ListNSRecordsResponse.ProtoReflect.Descriptor instead.
func (*ListNSRecordsResponse) Descriptor() ([]byte, []int) { func (*ListNSRecordsResponse) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{13} return file_service_ns_record_proto_rawDescGZIP(), []int{14}
} }
func (x *ListNSRecordsResponse) GetNsRecords() []*NSRecord { func (x *ListNSRecordsResponse) GetNsRecords() []*NSRecord {
@@ -1214,7 +1278,7 @@ type FindNSRecordRequest struct {
func (x *FindNSRecordRequest) Reset() { func (x *FindNSRecordRequest) Reset() {
*x = FindNSRecordRequest{} *x = FindNSRecordRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[14] mi := &file_service_ns_record_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1227,7 +1291,7 @@ func (x *FindNSRecordRequest) String() string {
func (*FindNSRecordRequest) ProtoMessage() {} func (*FindNSRecordRequest) ProtoMessage() {}
func (x *FindNSRecordRequest) ProtoReflect() protoreflect.Message { func (x *FindNSRecordRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[14] mi := &file_service_ns_record_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1240,7 +1304,7 @@ func (x *FindNSRecordRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindNSRecordRequest.ProtoReflect.Descriptor instead. // Deprecated: Use FindNSRecordRequest.ProtoReflect.Descriptor instead.
func (*FindNSRecordRequest) Descriptor() ([]byte, []int) { func (*FindNSRecordRequest) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{14} return file_service_ns_record_proto_rawDescGZIP(), []int{15}
} }
func (x *FindNSRecordRequest) GetNsRecordId() int64 { func (x *FindNSRecordRequest) GetNsRecordId() int64 {
@@ -1261,7 +1325,7 @@ type FindNSRecordResponse struct {
func (x *FindNSRecordResponse) Reset() { func (x *FindNSRecordResponse) Reset() {
*x = FindNSRecordResponse{} *x = FindNSRecordResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[15] mi := &file_service_ns_record_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1274,7 +1338,7 @@ func (x *FindNSRecordResponse) String() string {
func (*FindNSRecordResponse) ProtoMessage() {} func (*FindNSRecordResponse) ProtoMessage() {}
func (x *FindNSRecordResponse) ProtoReflect() protoreflect.Message { func (x *FindNSRecordResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[15] mi := &file_service_ns_record_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1287,7 +1351,7 @@ func (x *FindNSRecordResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindNSRecordResponse.ProtoReflect.Descriptor instead. // Deprecated: Use FindNSRecordResponse.ProtoReflect.Descriptor instead.
func (*FindNSRecordResponse) Descriptor() ([]byte, []int) { func (*FindNSRecordResponse) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{15} return file_service_ns_record_proto_rawDescGZIP(), []int{16}
} }
func (x *FindNSRecordResponse) GetNsRecord() *NSRecord { func (x *FindNSRecordResponse) GetNsRecord() *NSRecord {
@@ -1311,7 +1375,7 @@ type FindNSRecordWithNameAndTypeRequest struct {
func (x *FindNSRecordWithNameAndTypeRequest) Reset() { func (x *FindNSRecordWithNameAndTypeRequest) Reset() {
*x = FindNSRecordWithNameAndTypeRequest{} *x = FindNSRecordWithNameAndTypeRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[16] mi := &file_service_ns_record_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1324,7 +1388,7 @@ func (x *FindNSRecordWithNameAndTypeRequest) String() string {
func (*FindNSRecordWithNameAndTypeRequest) ProtoMessage() {} func (*FindNSRecordWithNameAndTypeRequest) ProtoMessage() {}
func (x *FindNSRecordWithNameAndTypeRequest) ProtoReflect() protoreflect.Message { func (x *FindNSRecordWithNameAndTypeRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[16] mi := &file_service_ns_record_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1337,7 +1401,7 @@ func (x *FindNSRecordWithNameAndTypeRequest) ProtoReflect() protoreflect.Message
// Deprecated: Use FindNSRecordWithNameAndTypeRequest.ProtoReflect.Descriptor instead. // Deprecated: Use FindNSRecordWithNameAndTypeRequest.ProtoReflect.Descriptor instead.
func (*FindNSRecordWithNameAndTypeRequest) Descriptor() ([]byte, []int) { func (*FindNSRecordWithNameAndTypeRequest) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{16} return file_service_ns_record_proto_rawDescGZIP(), []int{17}
} }
func (x *FindNSRecordWithNameAndTypeRequest) GetNsDomainId() int64 { func (x *FindNSRecordWithNameAndTypeRequest) GetNsDomainId() int64 {
@@ -1372,7 +1436,7 @@ type FindNSRecordWithNameAndTypeResponse struct {
func (x *FindNSRecordWithNameAndTypeResponse) Reset() { func (x *FindNSRecordWithNameAndTypeResponse) Reset() {
*x = FindNSRecordWithNameAndTypeResponse{} *x = FindNSRecordWithNameAndTypeResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[17] mi := &file_service_ns_record_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1385,7 +1449,7 @@ func (x *FindNSRecordWithNameAndTypeResponse) String() string {
func (*FindNSRecordWithNameAndTypeResponse) ProtoMessage() {} func (*FindNSRecordWithNameAndTypeResponse) ProtoMessage() {}
func (x *FindNSRecordWithNameAndTypeResponse) ProtoReflect() protoreflect.Message { func (x *FindNSRecordWithNameAndTypeResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[17] mi := &file_service_ns_record_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1398,7 +1462,7 @@ func (x *FindNSRecordWithNameAndTypeResponse) ProtoReflect() protoreflect.Messag
// Deprecated: Use FindNSRecordWithNameAndTypeResponse.ProtoReflect.Descriptor instead. // Deprecated: Use FindNSRecordWithNameAndTypeResponse.ProtoReflect.Descriptor instead.
func (*FindNSRecordWithNameAndTypeResponse) Descriptor() ([]byte, []int) { func (*FindNSRecordWithNameAndTypeResponse) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{17} return file_service_ns_record_proto_rawDescGZIP(), []int{18}
} }
func (x *FindNSRecordWithNameAndTypeResponse) GetNsRecord() *NSRecord { func (x *FindNSRecordWithNameAndTypeResponse) GetNsRecord() *NSRecord {
@@ -1421,7 +1485,7 @@ type ListNSRecordsAfterVersionRequest struct {
func (x *ListNSRecordsAfterVersionRequest) Reset() { func (x *ListNSRecordsAfterVersionRequest) Reset() {
*x = ListNSRecordsAfterVersionRequest{} *x = ListNSRecordsAfterVersionRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[18] mi := &file_service_ns_record_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1434,7 +1498,7 @@ func (x *ListNSRecordsAfterVersionRequest) String() string {
func (*ListNSRecordsAfterVersionRequest) ProtoMessage() {} func (*ListNSRecordsAfterVersionRequest) ProtoMessage() {}
func (x *ListNSRecordsAfterVersionRequest) ProtoReflect() protoreflect.Message { func (x *ListNSRecordsAfterVersionRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[18] mi := &file_service_ns_record_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1447,7 +1511,7 @@ func (x *ListNSRecordsAfterVersionRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListNSRecordsAfterVersionRequest.ProtoReflect.Descriptor instead. // Deprecated: Use ListNSRecordsAfterVersionRequest.ProtoReflect.Descriptor instead.
func (*ListNSRecordsAfterVersionRequest) Descriptor() ([]byte, []int) { func (*ListNSRecordsAfterVersionRequest) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{18} return file_service_ns_record_proto_rawDescGZIP(), []int{19}
} }
func (x *ListNSRecordsAfterVersionRequest) GetVersion() int64 { func (x *ListNSRecordsAfterVersionRequest) GetVersion() int64 {
@@ -1475,7 +1539,7 @@ type ListNSRecordsAfterVersionResponse struct {
func (x *ListNSRecordsAfterVersionResponse) Reset() { func (x *ListNSRecordsAfterVersionResponse) Reset() {
*x = ListNSRecordsAfterVersionResponse{} *x = ListNSRecordsAfterVersionResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[19] mi := &file_service_ns_record_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1488,7 +1552,7 @@ func (x *ListNSRecordsAfterVersionResponse) String() string {
func (*ListNSRecordsAfterVersionResponse) ProtoMessage() {} func (*ListNSRecordsAfterVersionResponse) ProtoMessage() {}
func (x *ListNSRecordsAfterVersionResponse) ProtoReflect() protoreflect.Message { func (x *ListNSRecordsAfterVersionResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[19] mi := &file_service_ns_record_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1501,7 +1565,7 @@ func (x *ListNSRecordsAfterVersionResponse) ProtoReflect() protoreflect.Message
// Deprecated: Use ListNSRecordsAfterVersionResponse.ProtoReflect.Descriptor instead. // Deprecated: Use ListNSRecordsAfterVersionResponse.ProtoReflect.Descriptor instead.
func (*ListNSRecordsAfterVersionResponse) Descriptor() ([]byte, []int) { func (*ListNSRecordsAfterVersionResponse) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{19} return file_service_ns_record_proto_rawDescGZIP(), []int{20}
} }
func (x *ListNSRecordsAfterVersionResponse) GetNsRecords() []*NSRecord { func (x *ListNSRecordsAfterVersionResponse) GetNsRecords() []*NSRecord {
@@ -1526,7 +1590,7 @@ type ImportNSRecordsRequest_Record struct {
func (x *ImportNSRecordsRequest_Record) Reset() { func (x *ImportNSRecordsRequest_Record) Reset() {
*x = ImportNSRecordsRequest_Record{} *x = ImportNSRecordsRequest_Record{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[20] mi := &file_service_ns_record_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1539,7 +1603,7 @@ func (x *ImportNSRecordsRequest_Record) String() string {
func (*ImportNSRecordsRequest_Record) ProtoMessage() {} func (*ImportNSRecordsRequest_Record) ProtoMessage() {}
func (x *ImportNSRecordsRequest_Record) ProtoReflect() protoreflect.Message { func (x *ImportNSRecordsRequest_Record) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[20] mi := &file_service_ns_record_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1748,138 +1812,150 @@ var file_service_ns_record_proto_rawDesc = []byte{
0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f,
0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x22, 0xf2, 0x02, 0x0a, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x6a, 0x0a, 0x20,
0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01,
0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64,
0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
0x52, 0x09, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xf2, 0x02, 0x0a, 0x14, 0x4c, 0x69, 0x73,
0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x52, 0x0b, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18,
0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49,
0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x61, 0x6d, 0x65, 0x41, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x73, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e, 0x61, 0x6d, 0x65, 0x41, 0x73, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65,
0x63, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x65, 0x73, 0x63, 0x18, 0x09, 0x20, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6e, 0x73,
0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x52, 0x6f, 0x75,
0x07, 0x74, 0x79, 0x70, 0x65, 0x41, 0x73, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x73,
0x74, 0x79, 0x70, 0x65, 0x41, 0x73, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x44, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79,
0x65, 0x73, 0x63, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x44, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77,
0x65, 0x73, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x74, 0x6c, 0x41, 0x73, 0x63, 0x18, 0x0c, 0x20, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x61, 0x6d, 0x65, 0x41, 0x73, 0x63, 0x18, 0x08,
0x01, 0x28, 0x08, 0x52, 0x06, 0x74, 0x74, 0x6c, 0x41, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e, 0x61, 0x6d, 0x65, 0x41, 0x73, 0x63, 0x12, 0x1a, 0x0a,
0x74, 0x6c, 0x44, 0x65, 0x73, 0x63, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x74, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x65, 0x73, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52,
0x6c, 0x44, 0x65, 0x73, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x79, 0x70,
0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x65, 0x41, 0x73, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65,
0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x41, 0x73, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x44, 0x65, 0x73, 0x63, 0x18,
0x65, 0x22, 0x43, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12,
0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73, 0x16, 0x0a, 0x06, 0x74, 0x74, 0x6c, 0x41, 0x73, 0x63, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x06, 0x74, 0x74, 0x6c, 0x41, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x74, 0x6c, 0x44, 0x65,
0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x6e, 0x73, 0x52, 0x73, 0x63, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x74, 0x6c, 0x44, 0x65, 0x73,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x22, 0x35, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a,
0x0a, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x43, 0x0a,
0x03, 0x52, 0x0a, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x22, 0x40, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65,
0x14, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x64, 0x73, 0x22, 0x35, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f,
0x6c, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x52,
0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x22, 0x40, 0x0a, 0x14, 0x46, 0x69, 0x6e,
0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d,
0x61, 0x69, 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, 0x74, 0x79, 0x70,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4f, 0x0a,
0x23, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74,
0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x65,
0x63, 0x6f, 0x72, 0x64, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x50,
0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41,
0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65,
0x22, 0x4f, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72,
0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x73, 0x32, 0x87, 0x09, 0x0a, 0x0f, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e,
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a,
0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e,
0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72,
0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1e, 0x63, 0x72,
0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74,
0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70,
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 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, 0x5b, 0x0a, 0x1e, 0x75, 0x70, 0x64, 0x61, 0x74,
0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f,
0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69,
0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 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, 0x5b, 0x0a, 0x1e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69,
0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44,
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 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, 0x63, 0x0a, 0x22, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x73, 0x49, 0x73, 0x4f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61,
0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x49, 0x73, 0x4f, 0x6e,
0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 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, 0x3d, 0x0a, 0x0f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74,
0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x49,
0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 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, 0x3b, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65,
0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 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, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41,
0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x74,
0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4c,
0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41,
0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x17,
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20,
0x64, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72,
0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x64, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x6c, 0x0a, 0x22, 0x46,
0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e,
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18,
0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49,
0x65, 0x12, 0x68, 0x0a, 0x19, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4f, 0x0a, 0x23, 0x46, 0x69, 0x6e,
0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d,
0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x28, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x52, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x50, 0x0a, 0x20, 0x4c, 0x69,
0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72,
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18,
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x4f, 0x0a, 0x21,
0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41, 0x66, 0x74,
0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f,
0x72, 0x64, 0x52, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x32, 0xe0, 0x09,
0x0a, 0x0f, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e,
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a,
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f,
0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72,
0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1a, 0x2e,
0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72,
0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d,
0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74,
0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 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, 0x5b, 0x0a, 0x1e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f,
0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 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, 0x5b, 0x0a, 0x1e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f,
0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d,
0x65, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69,
0x6e, 0x4e, 0x61, 0x6d, 0x65, 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, 0x63, 0x0a,
0x22, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73,
0x49, 0x73, 0x4f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61,
0x6d, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x49, 0x73, 0x4f, 0x6e, 0x57, 0x69, 0x74, 0x68,
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 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, 0x3d, 0x0a, 0x0f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x53, 0x52, 0x65,
0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72,
0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 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, 0x3b, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e,
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3b,
0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65,
0x63, 0x6f, 0x72, 0x64, 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, 0x11, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73,
0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d,
0x65, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e,
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a,
0x0d, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x18,
0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70,
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e,
0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e,
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41,
0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57,
0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x53,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73,
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52,
0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69,
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x4c,
0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41, 0x66, 0x74, 0x65,
0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@@ -1894,7 +1970,7 @@ func file_service_ns_record_proto_rawDescGZIP() []byte {
return file_service_ns_record_proto_rawDescData return file_service_ns_record_proto_rawDescData
} }
var file_service_ns_record_proto_msgTypes = make([]protoimpl.MessageInfo, 21) var file_service_ns_record_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
var file_service_ns_record_proto_goTypes = []interface{}{ var file_service_ns_record_proto_goTypes = []interface{}{
(*CreateNSRecordRequest)(nil), // 0: pb.CreateNSRecordRequest (*CreateNSRecordRequest)(nil), // 0: pb.CreateNSRecordRequest
(*CreateNSRecordResponse)(nil), // 1: pb.CreateNSRecordResponse (*CreateNSRecordResponse)(nil), // 1: pb.CreateNSRecordResponse
@@ -1908,25 +1984,26 @@ var file_service_ns_record_proto_goTypes = []interface{}{
(*UpdateNSRecordRequest)(nil), // 9: pb.UpdateNSRecordRequest (*UpdateNSRecordRequest)(nil), // 9: pb.UpdateNSRecordRequest
(*DeleteNSRecordRequest)(nil), // 10: pb.DeleteNSRecordRequest (*DeleteNSRecordRequest)(nil), // 10: pb.DeleteNSRecordRequest
(*CountAllNSRecordsRequest)(nil), // 11: pb.CountAllNSRecordsRequest (*CountAllNSRecordsRequest)(nil), // 11: pb.CountAllNSRecordsRequest
(*ListNSRecordsRequest)(nil), // 12: pb.ListNSRecordsRequest (*CountAllNSRecordsWithNameRequest)(nil), // 12: pb.CountAllNSRecordsWithNameRequest
(*ListNSRecordsResponse)(nil), // 13: pb.ListNSRecordsResponse (*ListNSRecordsRequest)(nil), // 13: pb.ListNSRecordsRequest
(*FindNSRecordRequest)(nil), // 14: pb.FindNSRecordRequest (*ListNSRecordsResponse)(nil), // 14: pb.ListNSRecordsResponse
(*FindNSRecordResponse)(nil), // 15: pb.FindNSRecordResponse (*FindNSRecordRequest)(nil), // 15: pb.FindNSRecordRequest
(*FindNSRecordWithNameAndTypeRequest)(nil), // 16: pb.FindNSRecordWithNameAndTypeRequest (*FindNSRecordResponse)(nil), // 16: pb.FindNSRecordResponse
(*FindNSRecordWithNameAndTypeResponse)(nil), // 17: pb.FindNSRecordWithNameAndTypeResponse (*FindNSRecordWithNameAndTypeRequest)(nil), // 17: pb.FindNSRecordWithNameAndTypeRequest
(*ListNSRecordsAfterVersionRequest)(nil), // 18: pb.ListNSRecordsAfterVersionRequest (*FindNSRecordWithNameAndTypeResponse)(nil), // 18: pb.FindNSRecordWithNameAndTypeResponse
(*ListNSRecordsAfterVersionResponse)(nil), // 19: pb.ListNSRecordsAfterVersionResponse (*ListNSRecordsAfterVersionRequest)(nil), // 19: pb.ListNSRecordsAfterVersionRequest
(*ImportNSRecordsRequest_Record)(nil), // 20: pb.ImportNSRecordsRequest.Record (*ListNSRecordsAfterVersionResponse)(nil), // 20: pb.ListNSRecordsAfterVersionResponse
(*NSRecord)(nil), // 21: pb.NSRecord (*ImportNSRecordsRequest_Record)(nil), // 21: pb.ImportNSRecordsRequest.Record
(*RPCSuccess)(nil), // 22: pb.RPCSuccess (*NSRecord)(nil), // 22: pb.NSRecord
(*RPCCountResponse)(nil), // 23: pb.RPCCountResponse (*RPCSuccess)(nil), // 23: pb.RPCSuccess
(*RPCCountResponse)(nil), // 24: pb.RPCCountResponse
} }
var file_service_ns_record_proto_depIdxs = []int32{ var file_service_ns_record_proto_depIdxs = []int32{
20, // 0: pb.ImportNSRecordsRequest.nsRecords:type_name -> pb.ImportNSRecordsRequest.Record 21, // 0: pb.ImportNSRecordsRequest.nsRecords:type_name -> pb.ImportNSRecordsRequest.Record
21, // 1: pb.ListNSRecordsResponse.nsRecords:type_name -> pb.NSRecord 22, // 1: pb.ListNSRecordsResponse.nsRecords:type_name -> pb.NSRecord
21, // 2: pb.FindNSRecordResponse.nsRecord:type_name -> pb.NSRecord 22, // 2: pb.FindNSRecordResponse.nsRecord:type_name -> pb.NSRecord
21, // 3: pb.FindNSRecordWithNameAndTypeResponse.nsRecord:type_name -> pb.NSRecord 22, // 3: pb.FindNSRecordWithNameAndTypeResponse.nsRecord:type_name -> pb.NSRecord
21, // 4: pb.ListNSRecordsAfterVersionResponse.nsRecords:type_name -> pb.NSRecord 22, // 4: pb.ListNSRecordsAfterVersionResponse.nsRecords:type_name -> pb.NSRecord
0, // 5: pb.NSRecordService.createNSRecord:input_type -> pb.CreateNSRecordRequest 0, // 5: pb.NSRecordService.createNSRecord:input_type -> pb.CreateNSRecordRequest
2, // 6: pb.NSRecordService.createNSRecords:input_type -> pb.CreateNSRecordsRequest 2, // 6: pb.NSRecordService.createNSRecords:input_type -> pb.CreateNSRecordsRequest
4, // 7: pb.NSRecordService.createNSRecordsWithDomainNames:input_type -> pb.CreateNSRecordsWithDomainNamesRequest 4, // 7: pb.NSRecordService.createNSRecordsWithDomainNames:input_type -> pb.CreateNSRecordsWithDomainNamesRequest
@@ -1937,26 +2014,28 @@ var file_service_ns_record_proto_depIdxs = []int32{
9, // 12: pb.NSRecordService.updateNSRecord:input_type -> pb.UpdateNSRecordRequest 9, // 12: pb.NSRecordService.updateNSRecord:input_type -> pb.UpdateNSRecordRequest
10, // 13: pb.NSRecordService.deleteNSRecord:input_type -> pb.DeleteNSRecordRequest 10, // 13: pb.NSRecordService.deleteNSRecord:input_type -> pb.DeleteNSRecordRequest
11, // 14: pb.NSRecordService.countAllNSRecords:input_type -> pb.CountAllNSRecordsRequest 11, // 14: pb.NSRecordService.countAllNSRecords:input_type -> pb.CountAllNSRecordsRequest
12, // 15: pb.NSRecordService.listNSRecords:input_type -> pb.ListNSRecordsRequest 12, // 15: pb.NSRecordService.countAllNSRecordsWithName:input_type -> pb.CountAllNSRecordsWithNameRequest
14, // 16: pb.NSRecordService.findNSRecord:input_type -> pb.FindNSRecordRequest 13, // 16: pb.NSRecordService.listNSRecords:input_type -> pb.ListNSRecordsRequest
16, // 17: pb.NSRecordService.findNSRecordWithNameAndType:input_type -> pb.FindNSRecordWithNameAndTypeRequest 15, // 17: pb.NSRecordService.findNSRecord:input_type -> pb.FindNSRecordRequest
18, // 18: pb.NSRecordService.listNSRecordsAfterVersion:input_type -> pb.ListNSRecordsAfterVersionRequest 17, // 18: pb.NSRecordService.findNSRecordWithNameAndType:input_type -> pb.FindNSRecordWithNameAndTypeRequest
1, // 19: pb.NSRecordService.createNSRecord:output_type -> pb.CreateNSRecordResponse 19, // 19: pb.NSRecordService.listNSRecordsAfterVersion:input_type -> pb.ListNSRecordsAfterVersionRequest
3, // 20: pb.NSRecordService.createNSRecords:output_type -> pb.CreateNSRecordsResponse 1, // 20: pb.NSRecordService.createNSRecord:output_type -> pb.CreateNSRecordResponse
22, // 21: pb.NSRecordService.createNSRecordsWithDomainNames:output_type -> pb.RPCSuccess 3, // 21: pb.NSRecordService.createNSRecords:output_type -> pb.CreateNSRecordsResponse
22, // 22: pb.NSRecordService.updateNSRecordsWithDomainNames:output_type -> pb.RPCSuccess 23, // 22: pb.NSRecordService.createNSRecordsWithDomainNames:output_type -> pb.RPCSuccess
22, // 23: pb.NSRecordService.deleteNSRecordsWithDomainNames:output_type -> pb.RPCSuccess 23, // 23: pb.NSRecordService.updateNSRecordsWithDomainNames:output_type -> pb.RPCSuccess
22, // 24: pb.NSRecordService.updateNSRecordsIsOnWithDomainNames:output_type -> pb.RPCSuccess 23, // 24: pb.NSRecordService.deleteNSRecordsWithDomainNames:output_type -> pb.RPCSuccess
22, // 25: pb.NSRecordService.importNSRecords:output_type -> pb.RPCSuccess 23, // 25: pb.NSRecordService.updateNSRecordsIsOnWithDomainNames:output_type -> pb.RPCSuccess
22, // 26: pb.NSRecordService.updateNSRecord:output_type -> pb.RPCSuccess 23, // 26: pb.NSRecordService.importNSRecords:output_type -> pb.RPCSuccess
22, // 27: pb.NSRecordService.deleteNSRecord:output_type -> pb.RPCSuccess 23, // 27: pb.NSRecordService.updateNSRecord:output_type -> pb.RPCSuccess
23, // 28: pb.NSRecordService.countAllNSRecords:output_type -> pb.RPCCountResponse 23, // 28: pb.NSRecordService.deleteNSRecord:output_type -> pb.RPCSuccess
13, // 29: pb.NSRecordService.listNSRecords:output_type -> pb.ListNSRecordsResponse 24, // 29: pb.NSRecordService.countAllNSRecords:output_type -> pb.RPCCountResponse
15, // 30: pb.NSRecordService.findNSRecord:output_type -> pb.FindNSRecordResponse 24, // 30: pb.NSRecordService.countAllNSRecordsWithName:output_type -> pb.RPCCountResponse
17, // 31: pb.NSRecordService.findNSRecordWithNameAndType:output_type -> pb.FindNSRecordWithNameAndTypeResponse 14, // 31: pb.NSRecordService.listNSRecords:output_type -> pb.ListNSRecordsResponse
19, // 32: pb.NSRecordService.listNSRecordsAfterVersion:output_type -> pb.ListNSRecordsAfterVersionResponse 16, // 32: pb.NSRecordService.findNSRecord:output_type -> pb.FindNSRecordResponse
19, // [19:33] is the sub-list for method output_type 18, // 33: pb.NSRecordService.findNSRecordWithNameAndType:output_type -> pb.FindNSRecordWithNameAndTypeResponse
5, // [5:19] is the sub-list for method input_type 20, // 34: pb.NSRecordService.listNSRecordsAfterVersion:output_type -> pb.ListNSRecordsAfterVersionResponse
20, // [20:35] is the sub-list for method output_type
5, // [5:20] 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 type_name
5, // [5:5] is the sub-list for extension extendee 5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name 0, // [0:5] is the sub-list for field type_name
@@ -2115,7 +2194,7 @@ func file_service_ns_record_proto_init() {
} }
} }
file_service_ns_record_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { file_service_ns_record_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSRecordsRequest); i { switch v := v.(*CountAllNSRecordsWithNameRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2127,7 +2206,7 @@ func file_service_ns_record_proto_init() {
} }
} }
file_service_ns_record_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { file_service_ns_record_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSRecordsResponse); i { switch v := v.(*ListNSRecordsRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2139,7 +2218,7 @@ func file_service_ns_record_proto_init() {
} }
} }
file_service_ns_record_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { file_service_ns_record_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindNSRecordRequest); i { switch v := v.(*ListNSRecordsResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2151,7 +2230,7 @@ func file_service_ns_record_proto_init() {
} }
} }
file_service_ns_record_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { file_service_ns_record_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindNSRecordResponse); i { switch v := v.(*FindNSRecordRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2163,7 +2242,7 @@ func file_service_ns_record_proto_init() {
} }
} }
file_service_ns_record_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { file_service_ns_record_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindNSRecordWithNameAndTypeRequest); i { switch v := v.(*FindNSRecordResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2175,7 +2254,7 @@ func file_service_ns_record_proto_init() {
} }
} }
file_service_ns_record_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { file_service_ns_record_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindNSRecordWithNameAndTypeResponse); i { switch v := v.(*FindNSRecordWithNameAndTypeRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2187,7 +2266,7 @@ func file_service_ns_record_proto_init() {
} }
} }
file_service_ns_record_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { file_service_ns_record_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSRecordsAfterVersionRequest); i { switch v := v.(*FindNSRecordWithNameAndTypeResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2199,7 +2278,7 @@ func file_service_ns_record_proto_init() {
} }
} }
file_service_ns_record_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { file_service_ns_record_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSRecordsAfterVersionResponse); i { switch v := v.(*ListNSRecordsAfterVersionRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2211,6 +2290,18 @@ func file_service_ns_record_proto_init() {
} }
} }
file_service_ns_record_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { file_service_ns_record_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSRecordsAfterVersionResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_ns_record_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ImportNSRecordsRequest_Record); i { switch v := v.(*ImportNSRecordsRequest_Record); i {
case 0: case 0:
return &v.state return &v.state
@@ -2229,7 +2320,7 @@ func file_service_ns_record_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_service_ns_record_proto_rawDesc, RawDescriptor: file_service_ns_record_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 21, NumMessages: 22,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },
@@ -2275,6 +2366,8 @@ type NSRecordServiceClient interface {
DeleteNSRecord(ctx context.Context, in *DeleteNSRecordRequest, opts ...grpc.CallOption) (*RPCSuccess, error) DeleteNSRecord(ctx context.Context, in *DeleteNSRecordRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
// 计算记录数量 // 计算记录数量
CountAllNSRecords(ctx context.Context, in *CountAllNSRecordsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) CountAllNSRecords(ctx context.Context, in *CountAllNSRecordsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
// 查询相同记录名的记录数
CountAllNSRecordsWithName(ctx context.Context, in *CountAllNSRecordsWithNameRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
// 读取单页记录 // 读取单页记录
ListNSRecords(ctx context.Context, in *ListNSRecordsRequest, opts ...grpc.CallOption) (*ListNSRecordsResponse, error) ListNSRecords(ctx context.Context, in *ListNSRecordsRequest, opts ...grpc.CallOption) (*ListNSRecordsResponse, error)
// 查询单个记录信息 // 查询单个记录信息
@@ -2383,6 +2476,15 @@ func (c *nSRecordServiceClient) CountAllNSRecords(ctx context.Context, in *Count
return out, nil return out, nil
} }
func (c *nSRecordServiceClient) CountAllNSRecordsWithName(ctx context.Context, in *CountAllNSRecordsWithNameRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
err := c.cc.Invoke(ctx, "/pb.NSRecordService/countAllNSRecordsWithName", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nSRecordServiceClient) ListNSRecords(ctx context.Context, in *ListNSRecordsRequest, opts ...grpc.CallOption) (*ListNSRecordsResponse, error) { func (c *nSRecordServiceClient) ListNSRecords(ctx context.Context, in *ListNSRecordsRequest, opts ...grpc.CallOption) (*ListNSRecordsResponse, error) {
out := new(ListNSRecordsResponse) out := new(ListNSRecordsResponse)
err := c.cc.Invoke(ctx, "/pb.NSRecordService/listNSRecords", in, out, opts...) err := c.cc.Invoke(ctx, "/pb.NSRecordService/listNSRecords", in, out, opts...)
@@ -2441,6 +2543,8 @@ type NSRecordServiceServer interface {
DeleteNSRecord(context.Context, *DeleteNSRecordRequest) (*RPCSuccess, error) DeleteNSRecord(context.Context, *DeleteNSRecordRequest) (*RPCSuccess, error)
// 计算记录数量 // 计算记录数量
CountAllNSRecords(context.Context, *CountAllNSRecordsRequest) (*RPCCountResponse, error) CountAllNSRecords(context.Context, *CountAllNSRecordsRequest) (*RPCCountResponse, error)
// 查询相同记录名的记录数
CountAllNSRecordsWithName(context.Context, *CountAllNSRecordsWithNameRequest) (*RPCCountResponse, error)
// 读取单页记录 // 读取单页记录
ListNSRecords(context.Context, *ListNSRecordsRequest) (*ListNSRecordsResponse, error) ListNSRecords(context.Context, *ListNSRecordsRequest) (*ListNSRecordsResponse, error)
// 查询单个记录信息 // 查询单个记录信息
@@ -2485,6 +2589,9 @@ func (*UnimplementedNSRecordServiceServer) DeleteNSRecord(context.Context, *Dele
func (*UnimplementedNSRecordServiceServer) CountAllNSRecords(context.Context, *CountAllNSRecordsRequest) (*RPCCountResponse, error) { func (*UnimplementedNSRecordServiceServer) CountAllNSRecords(context.Context, *CountAllNSRecordsRequest) (*RPCCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSRecords not implemented") return nil, status.Errorf(codes.Unimplemented, "method CountAllNSRecords not implemented")
} }
func (*UnimplementedNSRecordServiceServer) CountAllNSRecordsWithName(context.Context, *CountAllNSRecordsWithNameRequest) (*RPCCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSRecordsWithName not implemented")
}
func (*UnimplementedNSRecordServiceServer) ListNSRecords(context.Context, *ListNSRecordsRequest) (*ListNSRecordsResponse, error) { func (*UnimplementedNSRecordServiceServer) ListNSRecords(context.Context, *ListNSRecordsRequest) (*ListNSRecordsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListNSRecords not implemented") return nil, status.Errorf(codes.Unimplemented, "method ListNSRecords not implemented")
} }
@@ -2682,6 +2789,24 @@ func _NSRecordService_CountAllNSRecords_Handler(srv interface{}, ctx context.Con
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _NSRecordService_CountAllNSRecordsWithName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountAllNSRecordsWithNameRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NSRecordServiceServer).CountAllNSRecordsWithName(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.NSRecordService/CountAllNSRecordsWithName",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NSRecordServiceServer).CountAllNSRecordsWithName(ctx, req.(*CountAllNSRecordsWithNameRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NSRecordService_ListNSRecords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func _NSRecordService_ListNSRecords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListNSRecordsRequest) in := new(ListNSRecordsRequest)
if err := dec(in); err != nil { if err := dec(in); err != nil {
@@ -2798,6 +2923,10 @@ var _NSRecordService_serviceDesc = grpc.ServiceDesc{
MethodName: "countAllNSRecords", MethodName: "countAllNSRecords",
Handler: _NSRecordService_CountAllNSRecords_Handler, Handler: _NSRecordService_CountAllNSRecords_Handler,
}, },
{
MethodName: "countAllNSRecordsWithName",
Handler: _NSRecordService_CountAllNSRecordsWithName_Handler,
},
{ {
MethodName: "listNSRecords", MethodName: "listNSRecords",
Handler: _NSRecordService_ListNSRecords_Handler, Handler: _NSRecordService_ListNSRecords_Handler,

View File

@@ -363,6 +363,70 @@ func (x *FindNSRouteResponse) GetNsRoute() *NSRoute {
return nil return nil
} }
// 查询自定义线路数量
type CountAllNSRoutesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
NsDomainId int64 `protobuf:"varint,2,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"`
UserId int64 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"`
}
func (x *CountAllNSRoutesRequest) Reset() {
*x = CountAllNSRoutesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllNSRoutesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllNSRoutesRequest) ProtoMessage() {}
func (x *CountAllNSRoutesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_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 CountAllNSRoutesRequest.ProtoReflect.Descriptor instead.
func (*CountAllNSRoutesRequest) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{6}
}
func (x *CountAllNSRoutesRequest) GetNsClusterId() int64 {
if x != nil {
return x.NsClusterId
}
return 0
}
func (x *CountAllNSRoutesRequest) GetNsDomainId() int64 {
if x != nil {
return x.NsDomainId
}
return 0
}
func (x *CountAllNSRoutesRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
// 读取所有自定义线路 // 读取所有自定义线路
type FindAllNSRoutesRequest struct { type FindAllNSRoutesRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
@@ -377,7 +441,7 @@ type FindAllNSRoutesRequest struct {
func (x *FindAllNSRoutesRequest) Reset() { func (x *FindAllNSRoutesRequest) Reset() {
*x = FindAllNSRoutesRequest{} *x = FindAllNSRoutesRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[6] mi := &file_service_ns_route_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -390,7 +454,7 @@ func (x *FindAllNSRoutesRequest) String() string {
func (*FindAllNSRoutesRequest) ProtoMessage() {} func (*FindAllNSRoutesRequest) ProtoMessage() {}
func (x *FindAllNSRoutesRequest) ProtoReflect() protoreflect.Message { func (x *FindAllNSRoutesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[6] mi := &file_service_ns_route_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -403,7 +467,7 @@ func (x *FindAllNSRoutesRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindAllNSRoutesRequest.ProtoReflect.Descriptor instead. // Deprecated: Use FindAllNSRoutesRequest.ProtoReflect.Descriptor instead.
func (*FindAllNSRoutesRequest) Descriptor() ([]byte, []int) { func (*FindAllNSRoutesRequest) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{6} return file_service_ns_route_proto_rawDescGZIP(), []int{7}
} }
func (x *FindAllNSRoutesRequest) GetNsClusterId() int64 { func (x *FindAllNSRoutesRequest) GetNsClusterId() int64 {
@@ -438,7 +502,7 @@ type FindAllNSRoutesResponse struct {
func (x *FindAllNSRoutesResponse) Reset() { func (x *FindAllNSRoutesResponse) Reset() {
*x = FindAllNSRoutesResponse{} *x = FindAllNSRoutesResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[7] mi := &file_service_ns_route_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -451,7 +515,7 @@ func (x *FindAllNSRoutesResponse) String() string {
func (*FindAllNSRoutesResponse) ProtoMessage() {} func (*FindAllNSRoutesResponse) ProtoMessage() {}
func (x *FindAllNSRoutesResponse) ProtoReflect() protoreflect.Message { func (x *FindAllNSRoutesResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[7] mi := &file_service_ns_route_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -464,7 +528,7 @@ func (x *FindAllNSRoutesResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindAllNSRoutesResponse.ProtoReflect.Descriptor instead. // Deprecated: Use FindAllNSRoutesResponse.ProtoReflect.Descriptor instead.
func (*FindAllNSRoutesResponse) Descriptor() ([]byte, []int) { func (*FindAllNSRoutesResponse) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{7} return file_service_ns_route_proto_rawDescGZIP(), []int{8}
} }
func (x *FindAllNSRoutesResponse) GetNsRoutes() []*NSRoute { func (x *FindAllNSRoutesResponse) GetNsRoutes() []*NSRoute {
@@ -486,7 +550,7 @@ type UpdateNSRouteOrdersRequest struct {
func (x *UpdateNSRouteOrdersRequest) Reset() { func (x *UpdateNSRouteOrdersRequest) Reset() {
*x = UpdateNSRouteOrdersRequest{} *x = UpdateNSRouteOrdersRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[8] mi := &file_service_ns_route_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -499,7 +563,7 @@ func (x *UpdateNSRouteOrdersRequest) String() string {
func (*UpdateNSRouteOrdersRequest) ProtoMessage() {} func (*UpdateNSRouteOrdersRequest) ProtoMessage() {}
func (x *UpdateNSRouteOrdersRequest) ProtoReflect() protoreflect.Message { func (x *UpdateNSRouteOrdersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[8] mi := &file_service_ns_route_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -512,7 +576,7 @@ func (x *UpdateNSRouteOrdersRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use UpdateNSRouteOrdersRequest.ProtoReflect.Descriptor instead. // Deprecated: Use UpdateNSRouteOrdersRequest.ProtoReflect.Descriptor instead.
func (*UpdateNSRouteOrdersRequest) Descriptor() ([]byte, []int) { func (*UpdateNSRouteOrdersRequest) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{8} return file_service_ns_route_proto_rawDescGZIP(), []int{9}
} }
func (x *UpdateNSRouteOrdersRequest) GetNsRouteIds() []int64 { func (x *UpdateNSRouteOrdersRequest) GetNsRouteIds() []int64 {
@@ -535,7 +599,7 @@ type ListNSRoutesAfterVersionRequest struct {
func (x *ListNSRoutesAfterVersionRequest) Reset() { func (x *ListNSRoutesAfterVersionRequest) Reset() {
*x = ListNSRoutesAfterVersionRequest{} *x = ListNSRoutesAfterVersionRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[9] mi := &file_service_ns_route_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -548,7 +612,7 @@ func (x *ListNSRoutesAfterVersionRequest) String() string {
func (*ListNSRoutesAfterVersionRequest) ProtoMessage() {} func (*ListNSRoutesAfterVersionRequest) ProtoMessage() {}
func (x *ListNSRoutesAfterVersionRequest) ProtoReflect() protoreflect.Message { func (x *ListNSRoutesAfterVersionRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[9] mi := &file_service_ns_route_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -561,7 +625,7 @@ func (x *ListNSRoutesAfterVersionRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListNSRoutesAfterVersionRequest.ProtoReflect.Descriptor instead. // Deprecated: Use ListNSRoutesAfterVersionRequest.ProtoReflect.Descriptor instead.
func (*ListNSRoutesAfterVersionRequest) Descriptor() ([]byte, []int) { func (*ListNSRoutesAfterVersionRequest) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{9} return file_service_ns_route_proto_rawDescGZIP(), []int{10}
} }
func (x *ListNSRoutesAfterVersionRequest) GetVersion() int64 { func (x *ListNSRoutesAfterVersionRequest) GetVersion() int64 {
@@ -589,7 +653,7 @@ type ListNSRoutesAfterVersionResponse struct {
func (x *ListNSRoutesAfterVersionResponse) Reset() { func (x *ListNSRoutesAfterVersionResponse) Reset() {
*x = ListNSRoutesAfterVersionResponse{} *x = ListNSRoutesAfterVersionResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[10] mi := &file_service_ns_route_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -602,7 +666,7 @@ func (x *ListNSRoutesAfterVersionResponse) String() string {
func (*ListNSRoutesAfterVersionResponse) ProtoMessage() {} func (*ListNSRoutesAfterVersionResponse) ProtoMessage() {}
func (x *ListNSRoutesAfterVersionResponse) ProtoReflect() protoreflect.Message { func (x *ListNSRoutesAfterVersionResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[10] mi := &file_service_ns_route_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -615,7 +679,7 @@ func (x *ListNSRoutesAfterVersionResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListNSRoutesAfterVersionResponse.ProtoReflect.Descriptor instead. // Deprecated: Use ListNSRoutesAfterVersionResponse.ProtoReflect.Descriptor instead.
func (*ListNSRoutesAfterVersionResponse) Descriptor() ([]byte, []int) { func (*ListNSRoutesAfterVersionResponse) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{10} return file_service_ns_route_proto_rawDescGZIP(), []int{11}
} }
func (x *ListNSRoutesAfterVersionResponse) GetNsRoutes() []*NSRoute { func (x *ListNSRoutesAfterVersionResponse) GetNsRoutes() []*NSRoute {
@@ -635,7 +699,7 @@ type FindAllDefaultWorldRegionRoutesRequest struct {
func (x *FindAllDefaultWorldRegionRoutesRequest) Reset() { func (x *FindAllDefaultWorldRegionRoutesRequest) Reset() {
*x = FindAllDefaultWorldRegionRoutesRequest{} *x = FindAllDefaultWorldRegionRoutesRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[11] mi := &file_service_ns_route_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -648,7 +712,7 @@ func (x *FindAllDefaultWorldRegionRoutesRequest) String() string {
func (*FindAllDefaultWorldRegionRoutesRequest) ProtoMessage() {} func (*FindAllDefaultWorldRegionRoutesRequest) ProtoMessage() {}
func (x *FindAllDefaultWorldRegionRoutesRequest) ProtoReflect() protoreflect.Message { func (x *FindAllDefaultWorldRegionRoutesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[11] mi := &file_service_ns_route_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -661,7 +725,7 @@ func (x *FindAllDefaultWorldRegionRoutesRequest) ProtoReflect() protoreflect.Mes
// Deprecated: Use FindAllDefaultWorldRegionRoutesRequest.ProtoReflect.Descriptor instead. // Deprecated: Use FindAllDefaultWorldRegionRoutesRequest.ProtoReflect.Descriptor instead.
func (*FindAllDefaultWorldRegionRoutesRequest) Descriptor() ([]byte, []int) { func (*FindAllDefaultWorldRegionRoutesRequest) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{11} return file_service_ns_route_proto_rawDescGZIP(), []int{12}
} }
type FindAllDefaultWorldRegionRoutesResponse struct { type FindAllDefaultWorldRegionRoutesResponse struct {
@@ -675,7 +739,7 @@ type FindAllDefaultWorldRegionRoutesResponse struct {
func (x *FindAllDefaultWorldRegionRoutesResponse) Reset() { func (x *FindAllDefaultWorldRegionRoutesResponse) Reset() {
*x = FindAllDefaultWorldRegionRoutesResponse{} *x = FindAllDefaultWorldRegionRoutesResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[12] mi := &file_service_ns_route_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -688,7 +752,7 @@ func (x *FindAllDefaultWorldRegionRoutesResponse) String() string {
func (*FindAllDefaultWorldRegionRoutesResponse) ProtoMessage() {} func (*FindAllDefaultWorldRegionRoutesResponse) ProtoMessage() {}
func (x *FindAllDefaultWorldRegionRoutesResponse) ProtoReflect() protoreflect.Message { func (x *FindAllDefaultWorldRegionRoutesResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[12] mi := &file_service_ns_route_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -701,7 +765,7 @@ func (x *FindAllDefaultWorldRegionRoutesResponse) ProtoReflect() protoreflect.Me
// Deprecated: Use FindAllDefaultWorldRegionRoutesResponse.ProtoReflect.Descriptor instead. // Deprecated: Use FindAllDefaultWorldRegionRoutesResponse.ProtoReflect.Descriptor instead.
func (*FindAllDefaultWorldRegionRoutesResponse) Descriptor() ([]byte, []int) { func (*FindAllDefaultWorldRegionRoutesResponse) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{12} return file_service_ns_route_proto_rawDescGZIP(), []int{13}
} }
func (x *FindAllDefaultWorldRegionRoutesResponse) GetNsRoutes() []*NSRoute { func (x *FindAllDefaultWorldRegionRoutesResponse) GetNsRoutes() []*NSRoute {
@@ -721,7 +785,7 @@ type FindAllDefaultChinaProvinceRoutesRequest struct {
func (x *FindAllDefaultChinaProvinceRoutesRequest) Reset() { func (x *FindAllDefaultChinaProvinceRoutesRequest) Reset() {
*x = FindAllDefaultChinaProvinceRoutesRequest{} *x = FindAllDefaultChinaProvinceRoutesRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[13] mi := &file_service_ns_route_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -734,7 +798,7 @@ func (x *FindAllDefaultChinaProvinceRoutesRequest) String() string {
func (*FindAllDefaultChinaProvinceRoutesRequest) ProtoMessage() {} func (*FindAllDefaultChinaProvinceRoutesRequest) ProtoMessage() {}
func (x *FindAllDefaultChinaProvinceRoutesRequest) ProtoReflect() protoreflect.Message { func (x *FindAllDefaultChinaProvinceRoutesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[13] mi := &file_service_ns_route_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -747,7 +811,7 @@ func (x *FindAllDefaultChinaProvinceRoutesRequest) ProtoReflect() protoreflect.M
// Deprecated: Use FindAllDefaultChinaProvinceRoutesRequest.ProtoReflect.Descriptor instead. // Deprecated: Use FindAllDefaultChinaProvinceRoutesRequest.ProtoReflect.Descriptor instead.
func (*FindAllDefaultChinaProvinceRoutesRequest) Descriptor() ([]byte, []int) { func (*FindAllDefaultChinaProvinceRoutesRequest) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{13} return file_service_ns_route_proto_rawDescGZIP(), []int{14}
} }
type FindAllDefaultChinaProvinceRoutesResponse struct { type FindAllDefaultChinaProvinceRoutesResponse struct {
@@ -761,7 +825,7 @@ type FindAllDefaultChinaProvinceRoutesResponse struct {
func (x *FindAllDefaultChinaProvinceRoutesResponse) Reset() { func (x *FindAllDefaultChinaProvinceRoutesResponse) Reset() {
*x = FindAllDefaultChinaProvinceRoutesResponse{} *x = FindAllDefaultChinaProvinceRoutesResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[14] mi := &file_service_ns_route_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -774,7 +838,7 @@ func (x *FindAllDefaultChinaProvinceRoutesResponse) String() string {
func (*FindAllDefaultChinaProvinceRoutesResponse) ProtoMessage() {} func (*FindAllDefaultChinaProvinceRoutesResponse) ProtoMessage() {}
func (x *FindAllDefaultChinaProvinceRoutesResponse) ProtoReflect() protoreflect.Message { func (x *FindAllDefaultChinaProvinceRoutesResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[14] mi := &file_service_ns_route_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -787,7 +851,7 @@ func (x *FindAllDefaultChinaProvinceRoutesResponse) ProtoReflect() protoreflect.
// Deprecated: Use FindAllDefaultChinaProvinceRoutesResponse.ProtoReflect.Descriptor instead. // Deprecated: Use FindAllDefaultChinaProvinceRoutesResponse.ProtoReflect.Descriptor instead.
func (*FindAllDefaultChinaProvinceRoutesResponse) Descriptor() ([]byte, []int) { func (*FindAllDefaultChinaProvinceRoutesResponse) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{14} return file_service_ns_route_proto_rawDescGZIP(), []int{15}
} }
func (x *FindAllDefaultChinaProvinceRoutesResponse) GetNsRoutes() []*NSRoute { func (x *FindAllDefaultChinaProvinceRoutesResponse) GetNsRoutes() []*NSRoute {
@@ -807,7 +871,7 @@ type FindAllDefaultISPRoutesRequest struct {
func (x *FindAllDefaultISPRoutesRequest) Reset() { func (x *FindAllDefaultISPRoutesRequest) Reset() {
*x = FindAllDefaultISPRoutesRequest{} *x = FindAllDefaultISPRoutesRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[15] mi := &file_service_ns_route_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -820,7 +884,7 @@ func (x *FindAllDefaultISPRoutesRequest) String() string {
func (*FindAllDefaultISPRoutesRequest) ProtoMessage() {} func (*FindAllDefaultISPRoutesRequest) ProtoMessage() {}
func (x *FindAllDefaultISPRoutesRequest) ProtoReflect() protoreflect.Message { func (x *FindAllDefaultISPRoutesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[15] mi := &file_service_ns_route_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -833,7 +897,7 @@ func (x *FindAllDefaultISPRoutesRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindAllDefaultISPRoutesRequest.ProtoReflect.Descriptor instead. // Deprecated: Use FindAllDefaultISPRoutesRequest.ProtoReflect.Descriptor instead.
func (*FindAllDefaultISPRoutesRequest) Descriptor() ([]byte, []int) { func (*FindAllDefaultISPRoutesRequest) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{15} return file_service_ns_route_proto_rawDescGZIP(), []int{16}
} }
type FindAllDefaultISPRoutesResponse struct { type FindAllDefaultISPRoutesResponse struct {
@@ -847,7 +911,7 @@ type FindAllDefaultISPRoutesResponse struct {
func (x *FindAllDefaultISPRoutesResponse) Reset() { func (x *FindAllDefaultISPRoutesResponse) Reset() {
*x = FindAllDefaultISPRoutesResponse{} *x = FindAllDefaultISPRoutesResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[16] mi := &file_service_ns_route_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -860,7 +924,7 @@ func (x *FindAllDefaultISPRoutesResponse) String() string {
func (*FindAllDefaultISPRoutesResponse) ProtoMessage() {} func (*FindAllDefaultISPRoutesResponse) ProtoMessage() {}
func (x *FindAllDefaultISPRoutesResponse) ProtoReflect() protoreflect.Message { func (x *FindAllDefaultISPRoutesResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[16] mi := &file_service_ns_route_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -873,7 +937,7 @@ func (x *FindAllDefaultISPRoutesResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindAllDefaultISPRoutesResponse.ProtoReflect.Descriptor instead. // Deprecated: Use FindAllDefaultISPRoutesResponse.ProtoReflect.Descriptor instead.
func (*FindAllDefaultISPRoutesResponse) Descriptor() ([]byte, []int) { func (*FindAllDefaultISPRoutesResponse) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{16} return file_service_ns_route_proto_rawDescGZIP(), []int{17}
} }
func (x *FindAllDefaultISPRoutesResponse) GetNsRoutes() []*NSRoute { func (x *FindAllDefaultISPRoutesResponse) GetNsRoutes() []*NSRoute {
@@ -922,111 +986,122 @@ var file_service_ns_route_proto_rawDesc = []byte{
0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a,
0x07, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x07, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b,
0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x07, 0x6e, 0x73, 0x52, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x07, 0x6e, 0x73, 0x52,
0x6f, 0x75, 0x74, 0x65, 0x22, 0x72, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x75, 0x74, 0x65, 0x22, 0x73, 0x0a, 0x17, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18,
0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49,
0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x72, 0x0a, 0x16, 0x46, 0x69, 0x6e,
0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73,
0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x1a, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d,
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18,
0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x42, 0x0a,
0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x22, 0x4f, 0x0a, 0x1f, 0x4c, 0x69, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f,
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e,
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65,
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x73, 0x22, 0x3c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75,
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x4b, 0x0a, 0x20, 0x4c, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20,
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x22,
0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x4f, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41,
0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x28, 0x0a, 0x26, 0x46, 0x69, 0x6e, 0x64, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65,
0x73, 0x74, 0x22, 0x52, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x22, 0x4b, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
0x61, 0x75, 0x6c, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f,
0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x28, 0x0a,
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x2a, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x26, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x57,
0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x68, 0x69, 0x6e, 0x61, 0x50, 0x72, 0x6f, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x52, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x41,
0x73, 0x74, 0x22, 0x54, 0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65,
0x61, 0x75, 0x6c, 0x74, 0x43, 0x68, 0x69, 0x6e, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01,
0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74,
0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x2a, 0x0a, 0x28, 0x46,
0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x68, 0x69,
0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x53, 0x50, 0x52, 0x6f, 0x75, 0x6e, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4a, 0x0a, 0x1f, 0x46, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x54, 0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64, 0x41,
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x53, 0x50, 0x52, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x68, 0x69, 0x6e, 0x61, 0x50, 0x72,
0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f,
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x32, 0xe9, 0x06, 0x0a, 0x0e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x20, 0x0a,
0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49,
0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x50, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x4a, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x49, 0x53, 0x50, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01,
0x39, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74,
0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x32, 0xb0, 0x07, 0x0a, 0x0e,
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44,
0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12,
0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75,
0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53,
0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
0x39, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65,
0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f,
0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x39, 0x0a, 0x0d, 0x64, 0x65, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x66, 0x69,
0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x46,
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x6f, 0x75,
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x63, 0x6f,
0x6f, 0x75, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1b,
0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f,
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f,
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52,
0x65, 0x12, 0x45, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a,
0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x72,
0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x65, 0x0a, 0x18, 0x6c, 0x69, 0x73, 0x74, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63,
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x63, 0x65, 0x73, 0x73, 0x12, 0x65, 0x0a, 0x18, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f,
0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74,
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e,
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73,
0x7a, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x1f, 0x66,
0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x57, 0x6f, 0x72,
0x65, 0x73, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2a,
0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f,
0x6e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b,
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75,
0x6c, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x6c, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75,
0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x21, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e,
0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x68, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x57, 0x6f,
0x69, 0x6e, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52,
0x73, 0x12, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x21, 0x66, 0x69, 0x6e, 0x64,
0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x68, 0x69, 0x6e, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x68, 0x69, 0x6e, 0x61, 0x50,
0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x2e,
0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61,
0x75, 0x6c, 0x74, 0x43, 0x68, 0x69, 0x6e, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65,
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62,
0x0a, 0x17, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
0x49, 0x53, 0x50, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46,
0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x53, 0x50,
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e,
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c,
0x74, 0x49, 0x53, 0x50, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x74, 0x43, 0x68, 0x69, 0x6e, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x6f,
0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, 0x62,
0x6f, 0x33, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43,
0x68, 0x69, 0x6e, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74,
0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69,
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x53, 0x50, 0x52,
0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x53, 0x50, 0x52, 0x6f, 0x75, 0x74,
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46,
0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x53, 0x50,
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06,
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@@ -1041,7 +1116,7 @@ func file_service_ns_route_proto_rawDescGZIP() []byte {
return file_service_ns_route_proto_rawDescData return file_service_ns_route_proto_rawDescData
} }
var file_service_ns_route_proto_msgTypes = make([]protoimpl.MessageInfo, 17) var file_service_ns_route_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
var file_service_ns_route_proto_goTypes = []interface{}{ var file_service_ns_route_proto_goTypes = []interface{}{
(*CreateNSRouteRequest)(nil), // 0: pb.CreateNSRouteRequest (*CreateNSRouteRequest)(nil), // 0: pb.CreateNSRouteRequest
(*CreateNSRouteResponse)(nil), // 1: pb.CreateNSRouteResponse (*CreateNSRouteResponse)(nil), // 1: pb.CreateNSRouteResponse
@@ -1049,49 +1124,53 @@ var file_service_ns_route_proto_goTypes = []interface{}{
(*DeleteNSRouteRequest)(nil), // 3: pb.DeleteNSRouteRequest (*DeleteNSRouteRequest)(nil), // 3: pb.DeleteNSRouteRequest
(*FindNSRouteRequest)(nil), // 4: pb.FindNSRouteRequest (*FindNSRouteRequest)(nil), // 4: pb.FindNSRouteRequest
(*FindNSRouteResponse)(nil), // 5: pb.FindNSRouteResponse (*FindNSRouteResponse)(nil), // 5: pb.FindNSRouteResponse
(*FindAllNSRoutesRequest)(nil), // 6: pb.FindAllNSRoutesRequest (*CountAllNSRoutesRequest)(nil), // 6: pb.CountAllNSRoutesRequest
(*FindAllNSRoutesResponse)(nil), // 7: pb.FindAllNSRoutesResponse (*FindAllNSRoutesRequest)(nil), // 7: pb.FindAllNSRoutesRequest
(*UpdateNSRouteOrdersRequest)(nil), // 8: pb.UpdateNSRouteOrdersRequest (*FindAllNSRoutesResponse)(nil), // 8: pb.FindAllNSRoutesResponse
(*ListNSRoutesAfterVersionRequest)(nil), // 9: pb.ListNSRoutesAfterVersionRequest (*UpdateNSRouteOrdersRequest)(nil), // 9: pb.UpdateNSRouteOrdersRequest
(*ListNSRoutesAfterVersionResponse)(nil), // 10: pb.ListNSRoutesAfterVersionResponse (*ListNSRoutesAfterVersionRequest)(nil), // 10: pb.ListNSRoutesAfterVersionRequest
(*FindAllDefaultWorldRegionRoutesRequest)(nil), // 11: pb.FindAllDefaultWorldRegionRoutesRequest (*ListNSRoutesAfterVersionResponse)(nil), // 11: pb.ListNSRoutesAfterVersionResponse
(*FindAllDefaultWorldRegionRoutesResponse)(nil), // 12: pb.FindAllDefaultWorldRegionRoutesResponse (*FindAllDefaultWorldRegionRoutesRequest)(nil), // 12: pb.FindAllDefaultWorldRegionRoutesRequest
(*FindAllDefaultChinaProvinceRoutesRequest)(nil), // 13: pb.FindAllDefaultChinaProvinceRoutesRequest (*FindAllDefaultWorldRegionRoutesResponse)(nil), // 13: pb.FindAllDefaultWorldRegionRoutesResponse
(*FindAllDefaultChinaProvinceRoutesResponse)(nil), // 14: pb.FindAllDefaultChinaProvinceRoutesResponse (*FindAllDefaultChinaProvinceRoutesRequest)(nil), // 14: pb.FindAllDefaultChinaProvinceRoutesRequest
(*FindAllDefaultISPRoutesRequest)(nil), // 15: pb.FindAllDefaultISPRoutesRequest (*FindAllDefaultChinaProvinceRoutesResponse)(nil), // 15: pb.FindAllDefaultChinaProvinceRoutesResponse
(*FindAllDefaultISPRoutesResponse)(nil), // 16: pb.FindAllDefaultISPRoutesResponse (*FindAllDefaultISPRoutesRequest)(nil), // 16: pb.FindAllDefaultISPRoutesRequest
(*NSRoute)(nil), // 17: pb.NSRoute (*FindAllDefaultISPRoutesResponse)(nil), // 17: pb.FindAllDefaultISPRoutesResponse
(*RPCSuccess)(nil), // 18: pb.RPCSuccess (*NSRoute)(nil), // 18: pb.NSRoute
(*RPCSuccess)(nil), // 19: pb.RPCSuccess
(*RPCCountResponse)(nil), // 20: pb.RPCCountResponse
} }
var file_service_ns_route_proto_depIdxs = []int32{ var file_service_ns_route_proto_depIdxs = []int32{
17, // 0: pb.FindNSRouteResponse.nsRoute:type_name -> pb.NSRoute 18, // 0: pb.FindNSRouteResponse.nsRoute:type_name -> pb.NSRoute
17, // 1: pb.FindAllNSRoutesResponse.nsRoutes:type_name -> pb.NSRoute 18, // 1: pb.FindAllNSRoutesResponse.nsRoutes:type_name -> pb.NSRoute
17, // 2: pb.ListNSRoutesAfterVersionResponse.nsRoutes:type_name -> pb.NSRoute 18, // 2: pb.ListNSRoutesAfterVersionResponse.nsRoutes:type_name -> pb.NSRoute
17, // 3: pb.FindAllDefaultWorldRegionRoutesResponse.nsRoutes:type_name -> pb.NSRoute 18, // 3: pb.FindAllDefaultWorldRegionRoutesResponse.nsRoutes:type_name -> pb.NSRoute
17, // 4: pb.FindAllDefaultChinaProvinceRoutesResponse.nsRoutes:type_name -> pb.NSRoute 18, // 4: pb.FindAllDefaultChinaProvinceRoutesResponse.nsRoutes:type_name -> pb.NSRoute
17, // 5: pb.FindAllDefaultISPRoutesResponse.nsRoutes:type_name -> pb.NSRoute 18, // 5: pb.FindAllDefaultISPRoutesResponse.nsRoutes:type_name -> pb.NSRoute
0, // 6: pb.NSRouteService.createNSRoute:input_type -> pb.CreateNSRouteRequest 0, // 6: pb.NSRouteService.createNSRoute:input_type -> pb.CreateNSRouteRequest
2, // 7: pb.NSRouteService.updateNSRoute:input_type -> pb.UpdateNSRouteRequest 2, // 7: pb.NSRouteService.updateNSRoute:input_type -> pb.UpdateNSRouteRequest
3, // 8: pb.NSRouteService.deleteNSRoute:input_type -> pb.DeleteNSRouteRequest 3, // 8: pb.NSRouteService.deleteNSRoute:input_type -> pb.DeleteNSRouteRequest
4, // 9: pb.NSRouteService.findNSRoute:input_type -> pb.FindNSRouteRequest 4, // 9: pb.NSRouteService.findNSRoute:input_type -> pb.FindNSRouteRequest
6, // 10: pb.NSRouteService.findAllNSRoutes:input_type -> pb.FindAllNSRoutesRequest 6, // 10: pb.NSRouteService.countAllNSRoutes:input_type -> pb.CountAllNSRoutesRequest
8, // 11: pb.NSRouteService.updateNSRouteOrders:input_type -> pb.UpdateNSRouteOrdersRequest 7, // 11: pb.NSRouteService.findAllNSRoutes:input_type -> pb.FindAllNSRoutesRequest
9, // 12: pb.NSRouteService.listNSRoutesAfterVersion:input_type -> pb.ListNSRoutesAfterVersionRequest 9, // 12: pb.NSRouteService.updateNSRouteOrders:input_type -> pb.UpdateNSRouteOrdersRequest
11, // 13: pb.NSRouteService.findAllDefaultWorldRegionRoutes:input_type -> pb.FindAllDefaultWorldRegionRoutesRequest 10, // 13: pb.NSRouteService.listNSRoutesAfterVersion:input_type -> pb.ListNSRoutesAfterVersionRequest
13, // 14: pb.NSRouteService.findAllDefaultChinaProvinceRoutes:input_type -> pb.FindAllDefaultChinaProvinceRoutesRequest 12, // 14: pb.NSRouteService.findAllDefaultWorldRegionRoutes:input_type -> pb.FindAllDefaultWorldRegionRoutesRequest
15, // 15: pb.NSRouteService.findAllDefaultISPRoutes:input_type -> pb.FindAllDefaultISPRoutesRequest 14, // 15: pb.NSRouteService.findAllDefaultChinaProvinceRoutes:input_type -> pb.FindAllDefaultChinaProvinceRoutesRequest
1, // 16: pb.NSRouteService.createNSRoute:output_type -> pb.CreateNSRouteResponse 16, // 16: pb.NSRouteService.findAllDefaultISPRoutes:input_type -> pb.FindAllDefaultISPRoutesRequest
18, // 17: pb.NSRouteService.updateNSRoute:output_type -> pb.RPCSuccess 1, // 17: pb.NSRouteService.createNSRoute:output_type -> pb.CreateNSRouteResponse
18, // 18: pb.NSRouteService.deleteNSRoute:output_type -> pb.RPCSuccess 19, // 18: pb.NSRouteService.updateNSRoute:output_type -> pb.RPCSuccess
5, // 19: pb.NSRouteService.findNSRoute:output_type -> pb.FindNSRouteResponse 19, // 19: pb.NSRouteService.deleteNSRoute:output_type -> pb.RPCSuccess
7, // 20: pb.NSRouteService.findAllNSRoutes:output_type -> pb.FindAllNSRoutesResponse 5, // 20: pb.NSRouteService.findNSRoute:output_type -> pb.FindNSRouteResponse
18, // 21: pb.NSRouteService.updateNSRouteOrders:output_type -> pb.RPCSuccess 20, // 21: pb.NSRouteService.countAllNSRoutes:output_type -> pb.RPCCountResponse
10, // 22: pb.NSRouteService.listNSRoutesAfterVersion:output_type -> pb.ListNSRoutesAfterVersionResponse 8, // 22: pb.NSRouteService.findAllNSRoutes:output_type -> pb.FindAllNSRoutesResponse
12, // 23: pb.NSRouteService.findAllDefaultWorldRegionRoutes:output_type -> pb.FindAllDefaultWorldRegionRoutesResponse 19, // 23: pb.NSRouteService.updateNSRouteOrders:output_type -> pb.RPCSuccess
14, // 24: pb.NSRouteService.findAllDefaultChinaProvinceRoutes:output_type -> pb.FindAllDefaultChinaProvinceRoutesResponse 11, // 24: pb.NSRouteService.listNSRoutesAfterVersion:output_type -> pb.ListNSRoutesAfterVersionResponse
16, // 25: pb.NSRouteService.findAllDefaultISPRoutes:output_type -> pb.FindAllDefaultISPRoutesResponse 13, // 25: pb.NSRouteService.findAllDefaultWorldRegionRoutes:output_type -> pb.FindAllDefaultWorldRegionRoutesResponse
16, // [16:26] is the sub-list for method output_type 15, // 26: pb.NSRouteService.findAllDefaultChinaProvinceRoutes:output_type -> pb.FindAllDefaultChinaProvinceRoutesResponse
6, // [6:16] is the sub-list for method input_type 17, // 27: pb.NSRouteService.findAllDefaultISPRoutes:output_type -> pb.FindAllDefaultISPRoutesResponse
17, // [17:28] is the sub-list for method output_type
6, // [6:17] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name 6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee 6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name 0, // [0:6] is the sub-list for field type_name
@@ -1178,7 +1257,7 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllNSRoutesRequest); i { switch v := v.(*CountAllNSRoutesRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1190,7 +1269,7 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllNSRoutesResponse); i { switch v := v.(*FindAllNSRoutesRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1202,7 +1281,7 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateNSRouteOrdersRequest); i { switch v := v.(*FindAllNSRoutesResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1214,7 +1293,7 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSRoutesAfterVersionRequest); i { switch v := v.(*UpdateNSRouteOrdersRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1226,7 +1305,7 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSRoutesAfterVersionResponse); i { switch v := v.(*ListNSRoutesAfterVersionRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1238,7 +1317,7 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultWorldRegionRoutesRequest); i { switch v := v.(*ListNSRoutesAfterVersionResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1250,7 +1329,7 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultWorldRegionRoutesResponse); i { switch v := v.(*FindAllDefaultWorldRegionRoutesRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1262,7 +1341,7 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultChinaProvinceRoutesRequest); i { switch v := v.(*FindAllDefaultWorldRegionRoutesResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1274,7 +1353,7 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultChinaProvinceRoutesResponse); i { switch v := v.(*FindAllDefaultChinaProvinceRoutesRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1286,7 +1365,7 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultISPRoutesRequest); i { switch v := v.(*FindAllDefaultChinaProvinceRoutesResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1298,6 +1377,18 @@ func file_service_ns_route_proto_init() {
} }
} }
file_service_ns_route_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { file_service_ns_route_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultISPRoutesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_ns_route_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultISPRoutesResponse); i { switch v := v.(*FindAllDefaultISPRoutesResponse); i {
case 0: case 0:
return &v.state return &v.state
@@ -1316,7 +1407,7 @@ func file_service_ns_route_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_service_ns_route_proto_rawDesc, RawDescriptor: file_service_ns_route_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 17, NumMessages: 18,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },
@@ -1350,6 +1441,8 @@ type NSRouteServiceClient interface {
DeleteNSRoute(ctx context.Context, in *DeleteNSRouteRequest, opts ...grpc.CallOption) (*RPCSuccess, error) DeleteNSRoute(ctx context.Context, in *DeleteNSRouteRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
// 获取单个自定义路线信息 // 获取单个自定义路线信息
FindNSRoute(ctx context.Context, in *FindNSRouteRequest, opts ...grpc.CallOption) (*FindNSRouteResponse, error) FindNSRoute(ctx context.Context, in *FindNSRouteRequest, opts ...grpc.CallOption) (*FindNSRouteResponse, error)
// 查询自定义线路数量
CountAllNSRoutes(ctx context.Context, in *CountAllNSRoutesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
// 读取所有自定义线路 // 读取所有自定义线路
FindAllNSRoutes(ctx context.Context, in *FindAllNSRoutesRequest, opts ...grpc.CallOption) (*FindAllNSRoutesResponse, error) FindAllNSRoutes(ctx context.Context, in *FindAllNSRoutesRequest, opts ...grpc.CallOption) (*FindAllNSRoutesResponse, error)
// 设置自定义线路排序 // 设置自定义线路排序
@@ -1408,6 +1501,15 @@ func (c *nSRouteServiceClient) FindNSRoute(ctx context.Context, in *FindNSRouteR
return out, nil return out, nil
} }
func (c *nSRouteServiceClient) CountAllNSRoutes(ctx context.Context, in *CountAllNSRoutesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
err := c.cc.Invoke(ctx, "/pb.NSRouteService/countAllNSRoutes", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nSRouteServiceClient) FindAllNSRoutes(ctx context.Context, in *FindAllNSRoutesRequest, opts ...grpc.CallOption) (*FindAllNSRoutesResponse, error) { func (c *nSRouteServiceClient) FindAllNSRoutes(ctx context.Context, in *FindAllNSRoutesRequest, opts ...grpc.CallOption) (*FindAllNSRoutesResponse, error) {
out := new(FindAllNSRoutesResponse) out := new(FindAllNSRoutesResponse)
err := c.cc.Invoke(ctx, "/pb.NSRouteService/findAllNSRoutes", in, out, opts...) err := c.cc.Invoke(ctx, "/pb.NSRouteService/findAllNSRoutes", in, out, opts...)
@@ -1472,6 +1574,8 @@ type NSRouteServiceServer interface {
DeleteNSRoute(context.Context, *DeleteNSRouteRequest) (*RPCSuccess, error) DeleteNSRoute(context.Context, *DeleteNSRouteRequest) (*RPCSuccess, error)
// 获取单个自定义路线信息 // 获取单个自定义路线信息
FindNSRoute(context.Context, *FindNSRouteRequest) (*FindNSRouteResponse, error) FindNSRoute(context.Context, *FindNSRouteRequest) (*FindNSRouteResponse, error)
// 查询自定义线路数量
CountAllNSRoutes(context.Context, *CountAllNSRoutesRequest) (*RPCCountResponse, error)
// 读取所有自定义线路 // 读取所有自定义线路
FindAllNSRoutes(context.Context, *FindAllNSRoutesRequest) (*FindAllNSRoutesResponse, error) FindAllNSRoutes(context.Context, *FindAllNSRoutesRequest) (*FindAllNSRoutesResponse, error)
// 设置自定义线路排序 // 设置自定义线路排序
@@ -1502,6 +1606,9 @@ func (*UnimplementedNSRouteServiceServer) DeleteNSRoute(context.Context, *Delete
func (*UnimplementedNSRouteServiceServer) FindNSRoute(context.Context, *FindNSRouteRequest) (*FindNSRouteResponse, error) { func (*UnimplementedNSRouteServiceServer) FindNSRoute(context.Context, *FindNSRouteRequest) (*FindNSRouteResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindNSRoute not implemented") return nil, status.Errorf(codes.Unimplemented, "method FindNSRoute not implemented")
} }
func (*UnimplementedNSRouteServiceServer) CountAllNSRoutes(context.Context, *CountAllNSRoutesRequest) (*RPCCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSRoutes not implemented")
}
func (*UnimplementedNSRouteServiceServer) FindAllNSRoutes(context.Context, *FindAllNSRoutesRequest) (*FindAllNSRoutesResponse, error) { func (*UnimplementedNSRouteServiceServer) FindAllNSRoutes(context.Context, *FindAllNSRoutesRequest) (*FindAllNSRoutesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllNSRoutes not implemented") return nil, status.Errorf(codes.Unimplemented, "method FindAllNSRoutes not implemented")
} }
@@ -1597,6 +1704,24 @@ func _NSRouteService_FindNSRoute_Handler(srv interface{}, ctx context.Context, d
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _NSRouteService_CountAllNSRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountAllNSRoutesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NSRouteServiceServer).CountAllNSRoutes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.NSRouteService/CountAllNSRoutes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NSRouteServiceServer).CountAllNSRoutes(ctx, req.(*CountAllNSRoutesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NSRouteService_FindAllNSRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func _NSRouteService_FindAllNSRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindAllNSRoutesRequest) in := new(FindAllNSRoutesRequest)
if err := dec(in); err != nil { if err := dec(in); err != nil {
@@ -1725,6 +1850,10 @@ var _NSRouteService_serviceDesc = grpc.ServiceDesc{
MethodName: "findNSRoute", MethodName: "findNSRoute",
Handler: _NSRouteService_FindNSRoute_Handler, Handler: _NSRouteService_FindNSRoute_Handler,
}, },
{
MethodName: "countAllNSRoutes",
Handler: _NSRouteService_CountAllNSRoutes_Handler,
},
{ {
MethodName: "findAllNSRoutes", MethodName: "findAllNSRoutes",
Handler: _NSRouteService_FindAllNSRoutes_Handler, Handler: _NSRouteService_FindAllNSRoutes_Handler,

File diff suppressed because it is too large Load Diff

View File

@@ -169,42 +169,42 @@ var File_service_server_domain_hourly_stat_proto protoreflect.FileDescriptor
var file_service_server_domain_hourly_stat_proto_rawDesc = []byte{ var file_service_server_domain_hourly_stat_proto_rawDesc = []byte{
0x0a, 0x27, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x0a, 0x27, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x5f, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x5f, 0x73,
0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x26, 0x6d, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x2c, 0x6d,
0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x64, 0x6f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76,
0x61, 0x69, 0x6e, 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x65, 0x72, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x6c, 0x79,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcf, 0x01, 0x0a, 0x2b, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcf, 0x01, 0x0a, 0x2b,
0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d,
0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e,
0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72,
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72,
0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x75, 0x72, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x75, 0x72, 0x46, 0x72, 0x6f,
0x09, 0x52, 0x08, 0x68, 0x6f, 0x75, 0x72, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x75, 0x72, 0x46, 0x72, 0x6f,
0x6f, 0x75, 0x72, 0x54, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x6f, 0x75, 0x72, 0x54, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28,
0x72, 0x54, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x75, 0x72, 0x54, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a,
0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x6c, 0x0a, 0x2c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x6c, 0x0a,
0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x2c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f,
0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x52, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a,
0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x0b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x48, 0x6f, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f,
0x75, 0x72, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x52, 0x0b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x6d, 0x61, 0x69, 0x6e, 0x48, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x52, 0x0b,
0x53, 0x74, 0x61, 0x74, 0x73, 0x32, 0xab, 0x01, 0x0a, 0x1d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x32, 0xab, 0x01, 0x0a, 0x1d,
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x48, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x48, 0x6f, 0x75, 0x72,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x89, 0x01, 0x0a, 0x24, 0x6c, 0x69, 0x73, 0x74, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x89, 0x01,
0x0a, 0x24, 0x6c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44,
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65,
0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74,
0x54, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x54, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53,
0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64,
0x12, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73,
0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x54, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49,
0x74, 0x1a, 0x30, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x53, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
} }
var ( var (
@@ -241,7 +241,7 @@ func file_service_server_domain_hourly_stat_proto_init() {
if File_service_server_domain_hourly_stat_proto != nil { if File_service_server_domain_hourly_stat_proto != nil {
return return
} }
file_models_server_domain_hourly_stat_proto_init() file_models_model_server_domain_hourly_stat_proto_init()
if !protoimpl.UnsafeEnabled { if !protoimpl.UnsafeEnabled {
file_service_server_domain_hourly_stat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { file_service_server_domain_hourly_stat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListTopServerDomainStatsWithServerIdRequest); i { switch v := v.(*ListTopServerDomainStatsWithServerIdRequest); i {

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
message NSPlan {
int64 id = 1;
string name = 2;
bool isOn = 3;
float monthlyPrice = 4;
float yearlyPrice = 5;
bytes configJSON = 6;
}

View File

@@ -0,0 +1,19 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_ns_plan.proto";
import "models/model_user.proto";
message NSUserPlan {
int64 id = 1;
int64 nsPlanId = 2;
int64 userId = 3;
string dayFrom = 4;
string dayTo = 5;
string periodUnit = 6;
NSPlan nsPlan = 30;
User user = 31;
}

View File

@@ -0,0 +1,90 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_ns_plan.proto";
import "models/rpc_messages.proto";
// DNS套餐服务
service NSPlanService {
// 创建DNS套餐
rpc createNSPlan(CreateNSPlanRequest) returns (CreateNSPlanResponse);
// 修改DNS套餐
rpc updateNSPlan(UpdateNSPlanRequest) returns (RPCSuccess);
// 修改DNS套餐顺序
rpc sortNSPlanOrders(SortNSPlansRequest) returns (RPCSuccess);
// 查找所有DNS套餐
rpc findAllNSPlans(FindAllNSPlansRequest) returns (FindAllNSPlansResponse);
// 查找所有可用DNS套餐
rpc findAllEnabledNSPlans(FindAllEnabledNSPlansRequest) returns (FindAllEnabledNSPlansResponse);
// 查找DNS套餐
rpc findNSPlan(FindNSPlanRequest) returns (FindNSPlanResponse);
// 删除DNS套餐
rpc deleteNSPlan(DeleteNSPlanRequest) returns (RPCSuccess);
}
// 创建DNS套餐
message CreateNSPlanRequest {
string name = 1;
float monthlyPrice = 2;
float yearlyPrice = 3;
bytes configJSON = 4;
}
message CreateNSPlanResponse {
int64 nsPlanId = 1;
}
// 修改DNS套餐
message UpdateNSPlanRequest {
int64 nsPlanId = 1;
string name = 2;
bool isOn = 3;
float monthlyPrice = 4;
float yearlyPrice = 5;
bytes configJSON = 6;
}
// 修改DNS套餐顺序
message SortNSPlansRequest {
repeated int64 nsPlanIds = 1;
}
// 查找所有DNS套餐
message FindAllNSPlansRequest {
}
message FindAllNSPlansResponse {
repeated NSPlan nsPlans = 1;
}
// 查找所有可用DNS套餐
message FindAllEnabledNSPlansRequest {
}
message FindAllEnabledNSPlansResponse {
repeated NSPlan nsPlans = 1;
}
// 查找DNS套餐
message FindNSPlanRequest {
int64 nsPlanId = 1;
}
message FindNSPlanResponse {
NSPlan nsPlan = 1;
}
// 删除DNS套餐
message DeleteNSPlanRequest {
int64 nsPlanId = 1;
}

View File

@@ -38,6 +38,9 @@ service NSRecordService {
// 计算记录数量 // 计算记录数量
rpc countAllNSRecords (CountAllNSRecordsRequest) returns (RPCCountResponse); rpc countAllNSRecords (CountAllNSRecordsRequest) returns (RPCCountResponse);
// 查询相同记录名的记录数
rpc countAllNSRecordsWithName (CountAllNSRecordsWithNameRequest) returns (RPCCountResponse);
// 读取单页记录 // 读取单页记录
rpc listNSRecords (ListNSRecordsRequest) returns (ListNSRecordsResponse); rpc listNSRecords (ListNSRecordsRequest) returns (ListNSRecordsResponse);
@@ -167,6 +170,13 @@ message CountAllNSRecordsRequest {
string keyword = 4; string keyword = 4;
} }
// 查询相同记录名的记录数
message CountAllNSRecordsWithNameRequest {
int64 nsDomainId = 1;
string name = 2;
string type = 3;
}
// 读取单页记录 // 读取单页记录
message ListNSRecordsRequest { message ListNSRecordsRequest {
int64 nsDomainId = 1; int64 nsDomainId = 1;

View File

@@ -20,6 +20,9 @@ service NSRouteService {
// 获取单个自定义路线信息 // 获取单个自定义路线信息
rpc findNSRoute (FindNSRouteRequest) returns (FindNSRouteResponse); rpc findNSRoute (FindNSRouteRequest) returns (FindNSRouteResponse);
// 查询自定义线路数量
rpc countAllNSRoutes(CountAllNSRoutesRequest) returns (RPCCountResponse);
// 读取所有自定义线路 // 读取所有自定义线路
rpc findAllNSRoutes (FindAllNSRoutesRequest) returns (FindAllNSRoutesResponse); rpc findAllNSRoutes (FindAllNSRoutesRequest) returns (FindAllNSRoutesResponse);
@@ -73,6 +76,13 @@ message FindNSRouteResponse {
NSRoute nsRoute = 1; NSRoute nsRoute = 1;
} }
// 查询自定义线路数量
message CountAllNSRoutesRequest {
int64 nsClusterId = 1;
int64 nsDomainId = 2;
int64 userId = 3;
}
// 读取所有自定义线路 // 读取所有自定义线路
message FindAllNSRoutesRequest { message FindAllNSRoutesRequest {
int64 nsClusterId = 1; int64 nsClusterId = 1;

View File

@@ -0,0 +1,89 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_ns_user_plan.proto";
import "models/rpc_messages.proto";
// 用户DNS套餐服务
service NSUserPlanService {
// 创建用户套餐
rpc createNSUserPlan(CreateNSUserPlanRequest) returns (CreateNSUserPlanResponse);
// 修改用户套餐
rpc updateNSUserPlan(UpdateNSUserPlanRequest) returns (RPCSuccess);
// 删除用户套餐
rpc deleteNSUserPlan(DeleteNSUserPlanRequest) returns (RPCSuccess);
// 读取用户套餐
rpc findNSUserPlan(FindNSUserPlanRequest) returns (FindNSUserPlanResponse);
// 计算用户套餐数量
rpc countNSUserPlans(CountNSUserPlansRequest) returns (RPCCountResponse);
// 列出单页套餐
rpc listNSUserPlans(ListNSUserPlansRequest) returns (ListNSUserPlansResponse);
}
// 创建用户套餐
message CreateNSUserPlanRequest {
int64 userId = 1;
int64 nsPlanId = 2;
string dayFrom = 3; // YYYYMMDD
string dayTo = 4; // YYYYMMDD
string periodUnit = 5; // yearly|monthly
}
message CreateNSUserPlanResponse {
int64 nsUserPlanId = 1;
}
// 修改用户套餐
message UpdateNSUserPlanRequest {
int64 nsUserPlanId = 1;
int64 nsPlanId = 2;
string dayFrom = 3; // YYYYMMDD
string dayTo = 4; // YYYYMMDD
string periodUnit = 5; // yearly|monthly
}
// 删除用户套餐
message DeleteNSUserPlanRequest{
int64 nsUserPlanId = 1;
}
// 读取用户套餐
message FindNSUserPlanRequest {
int64 userId = 1; // 和 nsUserPlanId 二选一
int64 nsUserPlanId = 2;
}
message FindNSUserPlanResponse {
NSUserPlan nsUserPlan = 1;
}
// 计算用户套餐数量
message CountNSUserPlansRequest{
int64 userId = 1;
int64 nsPlanId = 2;
string periodUnit = 3;
bool isExpired = 4;
int32 expireDays = 5;
}
// 列出单页套餐
message ListNSUserPlansRequest {
int64 userId = 1;
int64 nsPlanId = 2;
string periodUnit = 3;
bool isExpired = 4;
int32 expireDays = 5;
int64 offset = 6;
int64 size = 7;
}
message ListNSUserPlansResponse {
repeated NSUserPlan nsUserPlans = 1;
}

View File

@@ -3,7 +3,7 @@ option go_package = "./pb";
package pb; package pb;
import "models/server_domain_hourly_stat.proto"; import "models/model_server_domain_hourly_stat.proto";
// 服务域名按小时统计服务 // 服务域名按小时统计服务
service ServerDomainHourlyStatService { service ServerDomainHourlyStatService {