mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-15 21:36:35 +08:00
增加DNS套餐相关API
This commit is contained in:
@@ -363,6 +363,70 @@ func (x *FindNSRouteResponse) GetNsRoute() *NSRoute {
|
||||
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 {
|
||||
state protoimpl.MessageState
|
||||
@@ -377,7 +441,7 @@ type FindAllNSRoutesRequest struct {
|
||||
func (x *FindAllNSRoutesRequest) Reset() {
|
||||
*x = FindAllNSRoutesRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -390,7 +454,7 @@ func (x *FindAllNSRoutesRequest) String() string {
|
||||
func (*FindAllNSRoutesRequest) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -403,7 +467,7 @@ func (x *FindAllNSRoutesRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindAllNSRoutesRequest.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -438,7 +502,7 @@ type FindAllNSRoutesResponse struct {
|
||||
func (x *FindAllNSRoutesResponse) Reset() {
|
||||
*x = FindAllNSRoutesResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -451,7 +515,7 @@ func (x *FindAllNSRoutesResponse) String() string {
|
||||
func (*FindAllNSRoutesResponse) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -464,7 +528,7 @@ func (x *FindAllNSRoutesResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindAllNSRoutesResponse.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -486,7 +550,7 @@ type UpdateNSRouteOrdersRequest struct {
|
||||
func (x *UpdateNSRouteOrdersRequest) Reset() {
|
||||
*x = UpdateNSRouteOrdersRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -499,7 +563,7 @@ func (x *UpdateNSRouteOrdersRequest) String() string {
|
||||
func (*UpdateNSRouteOrdersRequest) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -512,7 +576,7 @@ func (x *UpdateNSRouteOrdersRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdateNSRouteOrdersRequest.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -535,7 +599,7 @@ type ListNSRoutesAfterVersionRequest struct {
|
||||
func (x *ListNSRoutesAfterVersionRequest) Reset() {
|
||||
*x = ListNSRoutesAfterVersionRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -548,7 +612,7 @@ func (x *ListNSRoutesAfterVersionRequest) String() string {
|
||||
func (*ListNSRoutesAfterVersionRequest) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -561,7 +625,7 @@ func (x *ListNSRoutesAfterVersionRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListNSRoutesAfterVersionRequest.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -589,7 +653,7 @@ type ListNSRoutesAfterVersionResponse struct {
|
||||
func (x *ListNSRoutesAfterVersionResponse) Reset() {
|
||||
*x = ListNSRoutesAfterVersionResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -602,7 +666,7 @@ func (x *ListNSRoutesAfterVersionResponse) String() string {
|
||||
func (*ListNSRoutesAfterVersionResponse) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -615,7 +679,7 @@ func (x *ListNSRoutesAfterVersionResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListNSRoutesAfterVersionResponse.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -635,7 +699,7 @@ type FindAllDefaultWorldRegionRoutesRequest struct {
|
||||
func (x *FindAllDefaultWorldRegionRoutesRequest) Reset() {
|
||||
*x = FindAllDefaultWorldRegionRoutesRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -648,7 +712,7 @@ func (x *FindAllDefaultWorldRegionRoutesRequest) String() string {
|
||||
func (*FindAllDefaultWorldRegionRoutesRequest) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -661,7 +725,7 @@ func (x *FindAllDefaultWorldRegionRoutesRequest) ProtoReflect() protoreflect.Mes
|
||||
|
||||
// Deprecated: Use FindAllDefaultWorldRegionRoutesRequest.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -675,7 +739,7 @@ type FindAllDefaultWorldRegionRoutesResponse struct {
|
||||
func (x *FindAllDefaultWorldRegionRoutesResponse) Reset() {
|
||||
*x = FindAllDefaultWorldRegionRoutesResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -688,7 +752,7 @@ func (x *FindAllDefaultWorldRegionRoutesResponse) String() string {
|
||||
func (*FindAllDefaultWorldRegionRoutesResponse) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -701,7 +765,7 @@ func (x *FindAllDefaultWorldRegionRoutesResponse) ProtoReflect() protoreflect.Me
|
||||
|
||||
// Deprecated: Use FindAllDefaultWorldRegionRoutesResponse.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -721,7 +785,7 @@ type FindAllDefaultChinaProvinceRoutesRequest struct {
|
||||
func (x *FindAllDefaultChinaProvinceRoutesRequest) Reset() {
|
||||
*x = FindAllDefaultChinaProvinceRoutesRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -734,7 +798,7 @@ func (x *FindAllDefaultChinaProvinceRoutesRequest) String() string {
|
||||
func (*FindAllDefaultChinaProvinceRoutesRequest) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -747,7 +811,7 @@ func (x *FindAllDefaultChinaProvinceRoutesRequest) ProtoReflect() protoreflect.M
|
||||
|
||||
// Deprecated: Use FindAllDefaultChinaProvinceRoutesRequest.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -761,7 +825,7 @@ type FindAllDefaultChinaProvinceRoutesResponse struct {
|
||||
func (x *FindAllDefaultChinaProvinceRoutesResponse) Reset() {
|
||||
*x = FindAllDefaultChinaProvinceRoutesResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -774,7 +838,7 @@ func (x *FindAllDefaultChinaProvinceRoutesResponse) String() string {
|
||||
func (*FindAllDefaultChinaProvinceRoutesResponse) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -787,7 +851,7 @@ func (x *FindAllDefaultChinaProvinceRoutesResponse) ProtoReflect() protoreflect.
|
||||
|
||||
// Deprecated: Use FindAllDefaultChinaProvinceRoutesResponse.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -807,7 +871,7 @@ type FindAllDefaultISPRoutesRequest struct {
|
||||
func (x *FindAllDefaultISPRoutesRequest) Reset() {
|
||||
*x = FindAllDefaultISPRoutesRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -820,7 +884,7 @@ func (x *FindAllDefaultISPRoutesRequest) String() string {
|
||||
func (*FindAllDefaultISPRoutesRequest) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -833,7 +897,7 @@ func (x *FindAllDefaultISPRoutesRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindAllDefaultISPRoutesRequest.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -847,7 +911,7 @@ type FindAllDefaultISPRoutesResponse struct {
|
||||
func (x *FindAllDefaultISPRoutesResponse) Reset() {
|
||||
*x = FindAllDefaultISPRoutesResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -860,7 +924,7 @@ func (x *FindAllDefaultISPRoutesResponse) String() string {
|
||||
func (*FindAllDefaultISPRoutesResponse) ProtoMessage() {}
|
||||
|
||||
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 {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -873,7 +937,7 @@ func (x *FindAllDefaultISPRoutesResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindAllDefaultISPRoutesResponse.ProtoReflect.Descriptor instead.
|
||||
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 {
|
||||
@@ -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,
|
||||
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,
|
||||
0x6f, 0x75, 0x74, 0x65, 0x22, 0x72, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e,
|
||||
0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20,
|
||||
0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
|
||||
0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 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, 0x22, 0x42, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64,
|
||||
0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18,
|
||||
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x1a,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x72, 0x64,
|
||||
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a,
|
||||
0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x22, 0x4f, 0x0a, 0x1f, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 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, 0x4b, 0x0a, 0x20, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72,
|
||||
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||||
0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08,
|
||||
0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x28, 0x0a, 0x26, 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, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x22, 0x52, 0x0a, 0x27, 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, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a,
|
||||
0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x2a, 0x0a, 0x28, 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, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x22, 0x54, 0x0a, 0x29, 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,
|
||||
0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||||
0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08,
|
||||
0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x20, 0x0a, 0x1e, 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, 0x22, 0x4a, 0x0a, 0x1f, 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, 0x12, 0x27, 0x0a,
|
||||
0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x32, 0xe9, 0x06, 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,
|
||||
0x6f, 0x75, 0x74, 0x65, 0x22, 0x73, 0x0a, 0x17, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
||||
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
|
||||
0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 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, 0x22, 0x72, 0x0a, 0x16, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73,
|
||||
0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69,
|
||||
0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d,
|
||||
0x61, 0x69, 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, 0x22, 0x42, 0x0a,
|
||||
0x17, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x73, 0x22, 0x3c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20,
|
||||
0x03, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x22,
|
||||
0x4f, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 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, 0x4b, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
|
||||
0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x28, 0x0a,
|
||||
0x26, 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, 0x74, 0x65, 0x73,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x52, 0x0a, 0x27, 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, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74,
|
||||
0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x2a, 0x0a, 0x28, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x54, 0x0a, 0x29, 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, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x20, 0x0a,
|
||||
0x1e, 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, 0x22,
|
||||
0x4a, 0x0a, 0x1f, 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, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74,
|
||||
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,
|
||||
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, 0x52, 0x50, 0x43, 0x53, 0x75,
|
||||
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52,
|
||||
0x6f, 0x75, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
||||
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1a, 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, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
||||
0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x45, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
||||
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, 0x65, 0x0a, 0x18, 0x6c, 0x69, 0x73, 0x74,
|
||||
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72,
|
||||
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x7a, 0x0a, 0x1f, 0x66, 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, 0x74,
|
||||
0x65, 0x73, 0x12, 0x2a, 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, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b,
|
||||
0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x66, 0x69,
|
||||
0x6e, 0x64, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x63, 0x6f,
|
||||
0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1b,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 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, 0x4a, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x73, 0x12, 0x1a, 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,
|
||||
0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52,
|
||||
0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a,
|
||||
0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x72,
|
||||
0x64, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 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, 0x65, 0x0a, 0x18, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
||||
0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74,
|
||||
0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e,
|
||||
0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x1f, 0x66,
|
||||
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, 0x74, 0x65, 0x73, 0x12, 0x2a,
|
||||
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,
|
||||
0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x21,
|
||||
0x66, 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, 0x12, 0x2c, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
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,
|
||||
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, 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, 0x66, 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, 0x12, 0x2c, 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,
|
||||
0x74, 0x43, 0x68, 0x69, 0x6e, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 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, 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 (
|
||||
@@ -1041,7 +1116,7 @@ func file_service_ns_route_proto_rawDescGZIP() []byte {
|
||||
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{}{
|
||||
(*CreateNSRouteRequest)(nil), // 0: pb.CreateNSRouteRequest
|
||||
(*CreateNSRouteResponse)(nil), // 1: pb.CreateNSRouteResponse
|
||||
@@ -1049,49 +1124,53 @@ var file_service_ns_route_proto_goTypes = []interface{}{
|
||||
(*DeleteNSRouteRequest)(nil), // 3: pb.DeleteNSRouteRequest
|
||||
(*FindNSRouteRequest)(nil), // 4: pb.FindNSRouteRequest
|
||||
(*FindNSRouteResponse)(nil), // 5: pb.FindNSRouteResponse
|
||||
(*FindAllNSRoutesRequest)(nil), // 6: pb.FindAllNSRoutesRequest
|
||||
(*FindAllNSRoutesResponse)(nil), // 7: pb.FindAllNSRoutesResponse
|
||||
(*UpdateNSRouteOrdersRequest)(nil), // 8: pb.UpdateNSRouteOrdersRequest
|
||||
(*ListNSRoutesAfterVersionRequest)(nil), // 9: pb.ListNSRoutesAfterVersionRequest
|
||||
(*ListNSRoutesAfterVersionResponse)(nil), // 10: pb.ListNSRoutesAfterVersionResponse
|
||||
(*FindAllDefaultWorldRegionRoutesRequest)(nil), // 11: pb.FindAllDefaultWorldRegionRoutesRequest
|
||||
(*FindAllDefaultWorldRegionRoutesResponse)(nil), // 12: pb.FindAllDefaultWorldRegionRoutesResponse
|
||||
(*FindAllDefaultChinaProvinceRoutesRequest)(nil), // 13: pb.FindAllDefaultChinaProvinceRoutesRequest
|
||||
(*FindAllDefaultChinaProvinceRoutesResponse)(nil), // 14: pb.FindAllDefaultChinaProvinceRoutesResponse
|
||||
(*FindAllDefaultISPRoutesRequest)(nil), // 15: pb.FindAllDefaultISPRoutesRequest
|
||||
(*FindAllDefaultISPRoutesResponse)(nil), // 16: pb.FindAllDefaultISPRoutesResponse
|
||||
(*NSRoute)(nil), // 17: pb.NSRoute
|
||||
(*RPCSuccess)(nil), // 18: pb.RPCSuccess
|
||||
(*CountAllNSRoutesRequest)(nil), // 6: pb.CountAllNSRoutesRequest
|
||||
(*FindAllNSRoutesRequest)(nil), // 7: pb.FindAllNSRoutesRequest
|
||||
(*FindAllNSRoutesResponse)(nil), // 8: pb.FindAllNSRoutesResponse
|
||||
(*UpdateNSRouteOrdersRequest)(nil), // 9: pb.UpdateNSRouteOrdersRequest
|
||||
(*ListNSRoutesAfterVersionRequest)(nil), // 10: pb.ListNSRoutesAfterVersionRequest
|
||||
(*ListNSRoutesAfterVersionResponse)(nil), // 11: pb.ListNSRoutesAfterVersionResponse
|
||||
(*FindAllDefaultWorldRegionRoutesRequest)(nil), // 12: pb.FindAllDefaultWorldRegionRoutesRequest
|
||||
(*FindAllDefaultWorldRegionRoutesResponse)(nil), // 13: pb.FindAllDefaultWorldRegionRoutesResponse
|
||||
(*FindAllDefaultChinaProvinceRoutesRequest)(nil), // 14: pb.FindAllDefaultChinaProvinceRoutesRequest
|
||||
(*FindAllDefaultChinaProvinceRoutesResponse)(nil), // 15: pb.FindAllDefaultChinaProvinceRoutesResponse
|
||||
(*FindAllDefaultISPRoutesRequest)(nil), // 16: pb.FindAllDefaultISPRoutesRequest
|
||||
(*FindAllDefaultISPRoutesResponse)(nil), // 17: pb.FindAllDefaultISPRoutesResponse
|
||||
(*NSRoute)(nil), // 18: pb.NSRoute
|
||||
(*RPCSuccess)(nil), // 19: pb.RPCSuccess
|
||||
(*RPCCountResponse)(nil), // 20: pb.RPCCountResponse
|
||||
}
|
||||
var file_service_ns_route_proto_depIdxs = []int32{
|
||||
17, // 0: pb.FindNSRouteResponse.nsRoute:type_name -> pb.NSRoute
|
||||
17, // 1: pb.FindAllNSRoutesResponse.nsRoutes:type_name -> pb.NSRoute
|
||||
17, // 2: pb.ListNSRoutesAfterVersionResponse.nsRoutes:type_name -> pb.NSRoute
|
||||
17, // 3: pb.FindAllDefaultWorldRegionRoutesResponse.nsRoutes:type_name -> pb.NSRoute
|
||||
17, // 4: pb.FindAllDefaultChinaProvinceRoutesResponse.nsRoutes:type_name -> pb.NSRoute
|
||||
17, // 5: pb.FindAllDefaultISPRoutesResponse.nsRoutes:type_name -> pb.NSRoute
|
||||
18, // 0: pb.FindNSRouteResponse.nsRoute:type_name -> pb.NSRoute
|
||||
18, // 1: pb.FindAllNSRoutesResponse.nsRoutes:type_name -> pb.NSRoute
|
||||
18, // 2: pb.ListNSRoutesAfterVersionResponse.nsRoutes:type_name -> pb.NSRoute
|
||||
18, // 3: pb.FindAllDefaultWorldRegionRoutesResponse.nsRoutes:type_name -> pb.NSRoute
|
||||
18, // 4: pb.FindAllDefaultChinaProvinceRoutesResponse.nsRoutes:type_name -> pb.NSRoute
|
||||
18, // 5: pb.FindAllDefaultISPRoutesResponse.nsRoutes:type_name -> pb.NSRoute
|
||||
0, // 6: pb.NSRouteService.createNSRoute:input_type -> pb.CreateNSRouteRequest
|
||||
2, // 7: pb.NSRouteService.updateNSRoute:input_type -> pb.UpdateNSRouteRequest
|
||||
3, // 8: pb.NSRouteService.deleteNSRoute:input_type -> pb.DeleteNSRouteRequest
|
||||
4, // 9: pb.NSRouteService.findNSRoute:input_type -> pb.FindNSRouteRequest
|
||||
6, // 10: pb.NSRouteService.findAllNSRoutes:input_type -> pb.FindAllNSRoutesRequest
|
||||
8, // 11: pb.NSRouteService.updateNSRouteOrders:input_type -> pb.UpdateNSRouteOrdersRequest
|
||||
9, // 12: pb.NSRouteService.listNSRoutesAfterVersion:input_type -> pb.ListNSRoutesAfterVersionRequest
|
||||
11, // 13: pb.NSRouteService.findAllDefaultWorldRegionRoutes:input_type -> pb.FindAllDefaultWorldRegionRoutesRequest
|
||||
13, // 14: pb.NSRouteService.findAllDefaultChinaProvinceRoutes:input_type -> pb.FindAllDefaultChinaProvinceRoutesRequest
|
||||
15, // 15: pb.NSRouteService.findAllDefaultISPRoutes:input_type -> pb.FindAllDefaultISPRoutesRequest
|
||||
1, // 16: pb.NSRouteService.createNSRoute:output_type -> pb.CreateNSRouteResponse
|
||||
18, // 17: pb.NSRouteService.updateNSRoute:output_type -> pb.RPCSuccess
|
||||
18, // 18: pb.NSRouteService.deleteNSRoute:output_type -> pb.RPCSuccess
|
||||
5, // 19: pb.NSRouteService.findNSRoute:output_type -> pb.FindNSRouteResponse
|
||||
7, // 20: pb.NSRouteService.findAllNSRoutes:output_type -> pb.FindAllNSRoutesResponse
|
||||
18, // 21: pb.NSRouteService.updateNSRouteOrders:output_type -> pb.RPCSuccess
|
||||
10, // 22: pb.NSRouteService.listNSRoutesAfterVersion:output_type -> pb.ListNSRoutesAfterVersionResponse
|
||||
12, // 23: pb.NSRouteService.findAllDefaultWorldRegionRoutes:output_type -> pb.FindAllDefaultWorldRegionRoutesResponse
|
||||
14, // 24: pb.NSRouteService.findAllDefaultChinaProvinceRoutes:output_type -> pb.FindAllDefaultChinaProvinceRoutesResponse
|
||||
16, // 25: pb.NSRouteService.findAllDefaultISPRoutes:output_type -> pb.FindAllDefaultISPRoutesResponse
|
||||
16, // [16:26] is the sub-list for method output_type
|
||||
6, // [6:16] is the sub-list for method input_type
|
||||
6, // 10: pb.NSRouteService.countAllNSRoutes:input_type -> pb.CountAllNSRoutesRequest
|
||||
7, // 11: pb.NSRouteService.findAllNSRoutes:input_type -> pb.FindAllNSRoutesRequest
|
||||
9, // 12: pb.NSRouteService.updateNSRouteOrders:input_type -> pb.UpdateNSRouteOrdersRequest
|
||||
10, // 13: pb.NSRouteService.listNSRoutesAfterVersion:input_type -> pb.ListNSRoutesAfterVersionRequest
|
||||
12, // 14: pb.NSRouteService.findAllDefaultWorldRegionRoutes:input_type -> pb.FindAllDefaultWorldRegionRoutesRequest
|
||||
14, // 15: pb.NSRouteService.findAllDefaultChinaProvinceRoutes:input_type -> pb.FindAllDefaultChinaProvinceRoutesRequest
|
||||
16, // 16: pb.NSRouteService.findAllDefaultISPRoutes:input_type -> pb.FindAllDefaultISPRoutesRequest
|
||||
1, // 17: pb.NSRouteService.createNSRoute:output_type -> pb.CreateNSRouteResponse
|
||||
19, // 18: pb.NSRouteService.updateNSRoute:output_type -> pb.RPCSuccess
|
||||
19, // 19: pb.NSRouteService.deleteNSRoute:output_type -> pb.RPCSuccess
|
||||
5, // 20: pb.NSRouteService.findNSRoute:output_type -> pb.FindNSRouteResponse
|
||||
20, // 21: pb.NSRouteService.countAllNSRoutes:output_type -> pb.RPCCountResponse
|
||||
8, // 22: pb.NSRouteService.findAllNSRoutes:output_type -> pb.FindAllNSRoutesResponse
|
||||
19, // 23: pb.NSRouteService.updateNSRouteOrders:output_type -> pb.RPCSuccess
|
||||
11, // 24: pb.NSRouteService.listNSRoutesAfterVersion:output_type -> pb.ListNSRoutesAfterVersionResponse
|
||||
13, // 25: pb.NSRouteService.findAllDefaultWorldRegionRoutes:output_type -> pb.FindAllDefaultWorldRegionRoutesResponse
|
||||
15, // 26: pb.NSRouteService.findAllDefaultChinaProvinceRoutes:output_type -> pb.FindAllDefaultChinaProvinceRoutesResponse
|
||||
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 extendee
|
||||
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{} {
|
||||
switch v := v.(*FindAllNSRoutesRequest); i {
|
||||
switch v := v.(*CountAllNSRoutesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
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{} {
|
||||
switch v := v.(*FindAllNSRoutesResponse); i {
|
||||
switch v := v.(*FindAllNSRoutesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
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{} {
|
||||
switch v := v.(*UpdateNSRouteOrdersRequest); i {
|
||||
switch v := v.(*FindAllNSRoutesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
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{} {
|
||||
switch v := v.(*ListNSRoutesAfterVersionRequest); i {
|
||||
switch v := v.(*UpdateNSRouteOrdersRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
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{} {
|
||||
switch v := v.(*ListNSRoutesAfterVersionResponse); i {
|
||||
switch v := v.(*ListNSRoutesAfterVersionRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
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{} {
|
||||
switch v := v.(*FindAllDefaultWorldRegionRoutesRequest); i {
|
||||
switch v := v.(*ListNSRoutesAfterVersionResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
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{} {
|
||||
switch v := v.(*FindAllDefaultWorldRegionRoutesResponse); i {
|
||||
switch v := v.(*FindAllDefaultWorldRegionRoutesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
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{} {
|
||||
switch v := v.(*FindAllDefaultChinaProvinceRoutesRequest); i {
|
||||
switch v := v.(*FindAllDefaultWorldRegionRoutesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
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{} {
|
||||
switch v := v.(*FindAllDefaultChinaProvinceRoutesResponse); i {
|
||||
switch v := v.(*FindAllDefaultChinaProvinceRoutesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
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{} {
|
||||
switch v := v.(*FindAllDefaultISPRoutesRequest); i {
|
||||
switch v := v.(*FindAllDefaultChinaProvinceRoutesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
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{} {
|
||||
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 {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1316,7 +1407,7 @@ func file_service_ns_route_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_ns_route_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 17,
|
||||
NumMessages: 18,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1350,6 +1441,8 @@ type NSRouteServiceClient interface {
|
||||
DeleteNSRoute(ctx context.Context, in *DeleteNSRouteRequest, opts ...grpc.CallOption) (*RPCSuccess, 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)
|
||||
// 设置自定义线路排序
|
||||
@@ -1408,6 +1501,15 @@ func (c *nSRouteServiceClient) FindNSRoute(ctx context.Context, in *FindNSRouteR
|
||||
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) {
|
||||
out := new(FindAllNSRoutesResponse)
|
||||
err := c.cc.Invoke(ctx, "/pb.NSRouteService/findAllNSRoutes", in, out, opts...)
|
||||
@@ -1472,6 +1574,8 @@ type NSRouteServiceServer interface {
|
||||
DeleteNSRoute(context.Context, *DeleteNSRouteRequest) (*RPCSuccess, error)
|
||||
// 获取单个自定义路线信息
|
||||
FindNSRoute(context.Context, *FindNSRouteRequest) (*FindNSRouteResponse, error)
|
||||
// 查询自定义线路数量
|
||||
CountAllNSRoutes(context.Context, *CountAllNSRoutesRequest) (*RPCCountResponse, 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) {
|
||||
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) {
|
||||
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)
|
||||
}
|
||||
|
||||
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) {
|
||||
in := new(FindAllNSRoutesRequest)
|
||||
if err := dec(in); err != nil {
|
||||
@@ -1725,6 +1850,10 @@ var _NSRouteService_serviceDesc = grpc.ServiceDesc{
|
||||
MethodName: "findNSRoute",
|
||||
Handler: _NSRouteService_FindNSRoute_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "countAllNSRoutes",
|
||||
Handler: _NSRouteService_CountAllNSRoutes_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "findAllNSRoutes",
|
||||
Handler: _NSRouteService_FindAllNSRoutes_Handler,
|
||||
|
||||
Reference in New Issue
Block a user