增加一些NS相关API

This commit is contained in:
刘祥超
2022-09-08 19:36:13 +08:00
parent 70fa03e93b
commit 55ce6570f8
7 changed files with 4881 additions and 3826 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -458,7 +458,7 @@ type FindNSDomainRequest struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
NsDomainId int64 `protobuf:"varint,1,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"` NsDomainId int64 `protobuf:"varint,1,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"` // 域名ID
} }
func (x *FindNSDomainRequest) Reset() { func (x *FindNSDomainRequest) Reset() {
@@ -547,6 +547,101 @@ func (x *FindNSDomainResponse) GetNsDomain() *NSDomain {
return nil return nil
} }
// 根据域名名称查找域名
type FindNSDomainWithNameRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *FindNSDomainWithNameRequest) Reset() {
*x = FindNSDomainWithNameRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindNSDomainWithNameRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindNSDomainWithNameRequest) ProtoMessage() {}
func (x *FindNSDomainWithNameRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FindNSDomainWithNameRequest.ProtoReflect.Descriptor instead.
func (*FindNSDomainWithNameRequest) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{9}
}
func (x *FindNSDomainWithNameRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type FindNSDomainWithNameResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NsDomain *NSDomain `protobuf:"bytes,1,opt,name=nsDomain,proto3" json:"nsDomain,omitempty"`
}
func (x *FindNSDomainWithNameResponse) Reset() {
*x = FindNSDomainWithNameResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindNSDomainWithNameResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindNSDomainWithNameResponse) ProtoMessage() {}
func (x *FindNSDomainWithNameResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FindNSDomainWithNameResponse.ProtoReflect.Descriptor instead.
func (*FindNSDomainWithNameResponse) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{10}
}
func (x *FindNSDomainWithNameResponse) GetNsDomain() *NSDomain {
if x != nil {
return x.NsDomain
}
return nil
}
// 计算域名数量 // 计算域名数量
type CountAllNSDomainsRequest struct { type CountAllNSDomainsRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
@@ -562,7 +657,7 @@ type CountAllNSDomainsRequest struct {
func (x *CountAllNSDomainsRequest) Reset() { func (x *CountAllNSDomainsRequest) Reset() {
*x = CountAllNSDomainsRequest{} *x = CountAllNSDomainsRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[9] mi := &file_service_ns_domain_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -575,7 +670,7 @@ func (x *CountAllNSDomainsRequest) String() string {
func (*CountAllNSDomainsRequest) ProtoMessage() {} func (*CountAllNSDomainsRequest) ProtoMessage() {}
func (x *CountAllNSDomainsRequest) ProtoReflect() protoreflect.Message { func (x *CountAllNSDomainsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[9] mi := &file_service_ns_domain_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 {
@@ -588,7 +683,7 @@ func (x *CountAllNSDomainsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use CountAllNSDomainsRequest.ProtoReflect.Descriptor instead. // Deprecated: Use CountAllNSDomainsRequest.ProtoReflect.Descriptor instead.
func (*CountAllNSDomainsRequest) Descriptor() ([]byte, []int) { func (*CountAllNSDomainsRequest) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{9} return file_service_ns_domain_proto_rawDescGZIP(), []int{11}
} }
func (x *CountAllNSDomainsRequest) GetUserId() int64 { func (x *CountAllNSDomainsRequest) GetUserId() int64 {
@@ -636,7 +731,7 @@ type ListNSDomainsRequest struct {
func (x *ListNSDomainsRequest) Reset() { func (x *ListNSDomainsRequest) Reset() {
*x = ListNSDomainsRequest{} *x = ListNSDomainsRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[10] mi := &file_service_ns_domain_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -649,7 +744,7 @@ func (x *ListNSDomainsRequest) String() string {
func (*ListNSDomainsRequest) ProtoMessage() {} func (*ListNSDomainsRequest) ProtoMessage() {}
func (x *ListNSDomainsRequest) ProtoReflect() protoreflect.Message { func (x *ListNSDomainsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[10] mi := &file_service_ns_domain_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 {
@@ -662,7 +757,7 @@ func (x *ListNSDomainsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListNSDomainsRequest.ProtoReflect.Descriptor instead. // Deprecated: Use ListNSDomainsRequest.ProtoReflect.Descriptor instead.
func (*ListNSDomainsRequest) Descriptor() ([]byte, []int) { func (*ListNSDomainsRequest) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{10} return file_service_ns_domain_proto_rawDescGZIP(), []int{12}
} }
func (x *ListNSDomainsRequest) GetUserId() int64 { func (x *ListNSDomainsRequest) GetUserId() int64 {
@@ -718,7 +813,7 @@ type ListNSDomainsResponse struct {
func (x *ListNSDomainsResponse) Reset() { func (x *ListNSDomainsResponse) Reset() {
*x = ListNSDomainsResponse{} *x = ListNSDomainsResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[11] mi := &file_service_ns_domain_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -731,7 +826,7 @@ func (x *ListNSDomainsResponse) String() string {
func (*ListNSDomainsResponse) ProtoMessage() {} func (*ListNSDomainsResponse) ProtoMessage() {}
func (x *ListNSDomainsResponse) ProtoReflect() protoreflect.Message { func (x *ListNSDomainsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[11] mi := &file_service_ns_domain_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 {
@@ -744,7 +839,7 @@ func (x *ListNSDomainsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListNSDomainsResponse.ProtoReflect.Descriptor instead. // Deprecated: Use ListNSDomainsResponse.ProtoReflect.Descriptor instead.
func (*ListNSDomainsResponse) Descriptor() ([]byte, []int) { func (*ListNSDomainsResponse) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{11} return file_service_ns_domain_proto_rawDescGZIP(), []int{13}
} }
func (x *ListNSDomainsResponse) GetNsDomains() []*NSDomain { func (x *ListNSDomainsResponse) GetNsDomains() []*NSDomain {
@@ -767,7 +862,7 @@ type ListNSDomainsAfterVersionRequest struct {
func (x *ListNSDomainsAfterVersionRequest) Reset() { func (x *ListNSDomainsAfterVersionRequest) Reset() {
*x = ListNSDomainsAfterVersionRequest{} *x = ListNSDomainsAfterVersionRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[12] mi := &file_service_ns_domain_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -780,7 +875,7 @@ func (x *ListNSDomainsAfterVersionRequest) String() string {
func (*ListNSDomainsAfterVersionRequest) ProtoMessage() {} func (*ListNSDomainsAfterVersionRequest) ProtoMessage() {}
func (x *ListNSDomainsAfterVersionRequest) ProtoReflect() protoreflect.Message { func (x *ListNSDomainsAfterVersionRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[12] mi := &file_service_ns_domain_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 {
@@ -793,7 +888,7 @@ func (x *ListNSDomainsAfterVersionRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListNSDomainsAfterVersionRequest.ProtoReflect.Descriptor instead. // Deprecated: Use ListNSDomainsAfterVersionRequest.ProtoReflect.Descriptor instead.
func (*ListNSDomainsAfterVersionRequest) Descriptor() ([]byte, []int) { func (*ListNSDomainsAfterVersionRequest) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{12} return file_service_ns_domain_proto_rawDescGZIP(), []int{14}
} }
func (x *ListNSDomainsAfterVersionRequest) GetVersion() int64 { func (x *ListNSDomainsAfterVersionRequest) GetVersion() int64 {
@@ -821,7 +916,7 @@ type ListNSDomainsAfterVersionResponse struct {
func (x *ListNSDomainsAfterVersionResponse) Reset() { func (x *ListNSDomainsAfterVersionResponse) Reset() {
*x = ListNSDomainsAfterVersionResponse{} *x = ListNSDomainsAfterVersionResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[13] mi := &file_service_ns_domain_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -834,7 +929,7 @@ func (x *ListNSDomainsAfterVersionResponse) String() string {
func (*ListNSDomainsAfterVersionResponse) ProtoMessage() {} func (*ListNSDomainsAfterVersionResponse) ProtoMessage() {}
func (x *ListNSDomainsAfterVersionResponse) ProtoReflect() protoreflect.Message { func (x *ListNSDomainsAfterVersionResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[13] mi := &file_service_ns_domain_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 {
@@ -847,7 +942,7 @@ func (x *ListNSDomainsAfterVersionResponse) ProtoReflect() protoreflect.Message
// Deprecated: Use ListNSDomainsAfterVersionResponse.ProtoReflect.Descriptor instead. // Deprecated: Use ListNSDomainsAfterVersionResponse.ProtoReflect.Descriptor instead.
func (*ListNSDomainsAfterVersionResponse) Descriptor() ([]byte, []int) { func (*ListNSDomainsAfterVersionResponse) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{13} return file_service_ns_domain_proto_rawDescGZIP(), []int{15}
} }
func (x *ListNSDomainsAfterVersionResponse) GetNsDomains() []*NSDomain { func (x *ListNSDomainsAfterVersionResponse) GetNsDomains() []*NSDomain {
@@ -869,7 +964,7 @@ type FindNSDomainTSIGRequest struct {
func (x *FindNSDomainTSIGRequest) Reset() { func (x *FindNSDomainTSIGRequest) Reset() {
*x = FindNSDomainTSIGRequest{} *x = FindNSDomainTSIGRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[14] mi := &file_service_ns_domain_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -882,7 +977,7 @@ func (x *FindNSDomainTSIGRequest) String() string {
func (*FindNSDomainTSIGRequest) ProtoMessage() {} func (*FindNSDomainTSIGRequest) ProtoMessage() {}
func (x *FindNSDomainTSIGRequest) ProtoReflect() protoreflect.Message { func (x *FindNSDomainTSIGRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[14] mi := &file_service_ns_domain_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 {
@@ -895,7 +990,7 @@ func (x *FindNSDomainTSIGRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindNSDomainTSIGRequest.ProtoReflect.Descriptor instead. // Deprecated: Use FindNSDomainTSIGRequest.ProtoReflect.Descriptor instead.
func (*FindNSDomainTSIGRequest) Descriptor() ([]byte, []int) { func (*FindNSDomainTSIGRequest) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{14} return file_service_ns_domain_proto_rawDescGZIP(), []int{16}
} }
func (x *FindNSDomainTSIGRequest) GetNsDomainId() int64 { func (x *FindNSDomainTSIGRequest) GetNsDomainId() int64 {
@@ -916,7 +1011,7 @@ type FindNSDomainTSIGResponse struct {
func (x *FindNSDomainTSIGResponse) Reset() { func (x *FindNSDomainTSIGResponse) Reset() {
*x = FindNSDomainTSIGResponse{} *x = FindNSDomainTSIGResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[15] mi := &file_service_ns_domain_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -929,7 +1024,7 @@ func (x *FindNSDomainTSIGResponse) String() string {
func (*FindNSDomainTSIGResponse) ProtoMessage() {} func (*FindNSDomainTSIGResponse) ProtoMessage() {}
func (x *FindNSDomainTSIGResponse) ProtoReflect() protoreflect.Message { func (x *FindNSDomainTSIGResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[15] mi := &file_service_ns_domain_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 {
@@ -942,7 +1037,7 @@ func (x *FindNSDomainTSIGResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindNSDomainTSIGResponse.ProtoReflect.Descriptor instead. // Deprecated: Use FindNSDomainTSIGResponse.ProtoReflect.Descriptor instead.
func (*FindNSDomainTSIGResponse) Descriptor() ([]byte, []int) { func (*FindNSDomainTSIGResponse) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{15} return file_service_ns_domain_proto_rawDescGZIP(), []int{17}
} }
func (x *FindNSDomainTSIGResponse) GetTsigJSON() []byte { func (x *FindNSDomainTSIGResponse) GetTsigJSON() []byte {
@@ -965,7 +1060,7 @@ type UpdateNSDomainTSIGRequest struct {
func (x *UpdateNSDomainTSIGRequest) Reset() { func (x *UpdateNSDomainTSIGRequest) Reset() {
*x = UpdateNSDomainTSIGRequest{} *x = UpdateNSDomainTSIGRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[16] mi := &file_service_ns_domain_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -978,7 +1073,7 @@ func (x *UpdateNSDomainTSIGRequest) String() string {
func (*UpdateNSDomainTSIGRequest) ProtoMessage() {} func (*UpdateNSDomainTSIGRequest) ProtoMessage() {}
func (x *UpdateNSDomainTSIGRequest) ProtoReflect() protoreflect.Message { func (x *UpdateNSDomainTSIGRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[16] mi := &file_service_ns_domain_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 {
@@ -991,7 +1086,7 @@ func (x *UpdateNSDomainTSIGRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use UpdateNSDomainTSIGRequest.ProtoReflect.Descriptor instead. // Deprecated: Use UpdateNSDomainTSIGRequest.ProtoReflect.Descriptor instead.
func (*UpdateNSDomainTSIGRequest) Descriptor() ([]byte, []int) { func (*UpdateNSDomainTSIGRequest) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{16} return file_service_ns_domain_proto_rawDescGZIP(), []int{18}
} }
func (x *UpdateNSDomainTSIGRequest) GetNsDomainId() int64 { func (x *UpdateNSDomainTSIGRequest) GetNsDomainId() int64 {
@@ -1021,7 +1116,7 @@ type ExistNSDomainsRequest struct {
func (x *ExistNSDomainsRequest) Reset() { func (x *ExistNSDomainsRequest) Reset() {
*x = ExistNSDomainsRequest{} *x = ExistNSDomainsRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[17] mi := &file_service_ns_domain_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1034,7 +1129,7 @@ func (x *ExistNSDomainsRequest) String() string {
func (*ExistNSDomainsRequest) ProtoMessage() {} func (*ExistNSDomainsRequest) ProtoMessage() {}
func (x *ExistNSDomainsRequest) ProtoReflect() protoreflect.Message { func (x *ExistNSDomainsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[17] mi := &file_service_ns_domain_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 {
@@ -1047,7 +1142,7 @@ func (x *ExistNSDomainsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ExistNSDomainsRequest.ProtoReflect.Descriptor instead. // Deprecated: Use ExistNSDomainsRequest.ProtoReflect.Descriptor instead.
func (*ExistNSDomainsRequest) Descriptor() ([]byte, []int) { func (*ExistNSDomainsRequest) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{17} return file_service_ns_domain_proto_rawDescGZIP(), []int{19}
} }
func (x *ExistNSDomainsRequest) GetNames() []string { func (x *ExistNSDomainsRequest) GetNames() []string {
@@ -1075,7 +1170,7 @@ type ExistNSDomainsResponse struct {
func (x *ExistNSDomainsResponse) Reset() { func (x *ExistNSDomainsResponse) Reset() {
*x = ExistNSDomainsResponse{} *x = ExistNSDomainsResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_service_ns_domain_proto_msgTypes[18] mi := &file_service_ns_domain_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1088,7 +1183,7 @@ func (x *ExistNSDomainsResponse) String() string {
func (*ExistNSDomainsResponse) ProtoMessage() {} func (*ExistNSDomainsResponse) ProtoMessage() {}
func (x *ExistNSDomainsResponse) ProtoReflect() protoreflect.Message { func (x *ExistNSDomainsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_domain_proto_msgTypes[18] mi := &file_service_ns_domain_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 {
@@ -1101,7 +1196,7 @@ func (x *ExistNSDomainsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ExistNSDomainsResponse.ProtoReflect.Descriptor instead. // Deprecated: Use ExistNSDomainsResponse.ProtoReflect.Descriptor instead.
func (*ExistNSDomainsResponse) Descriptor() ([]byte, []int) { func (*ExistNSDomainsResponse) Descriptor() ([]byte, []int) {
return file_service_ns_domain_proto_rawDescGZIP(), []int{18} return file_service_ns_domain_proto_rawDescGZIP(), []int{20}
} }
func (x *ExistNSDomainsResponse) GetExistingNames() []string { func (x *ExistNSDomainsResponse) GetExistingNames() []string {
@@ -1172,121 +1267,135 @@ var file_service_ns_domain_proto_rawDesc = []byte{
0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08,
0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c,
0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x08, 0x6e, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x08, 0x6e, 0x73,
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x18, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0x31, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53,
0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65,
0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x48, 0x0a, 0x1c, 0x46, 0x69, 0x6e,
0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d,
0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6e, 0x73, 0x44,
0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62,
0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x2e, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x08, 0x6e, 0x73, 0x44, 0x6f, 0x6d,
0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x61, 0x69, 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x18, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
0x52, 0x0f, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x64, 0x22, 0xc0, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c,
0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e,
0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79,
0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x28, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6e,
0x0a, 0x0f, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0xc0,
0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73,
0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02,
0x73, 0x69, 0x7a, 0x65, 0x22, 0x43, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x6e,
0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x06,
0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x47, 0x72,
0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18,
0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a,
0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a,
0x65, 0x22, 0x43, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69,
0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73,
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
0x70, 0x62, 0x2e, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x09, 0x6e, 0x73, 0x44,
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x22, 0x50, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53,
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 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, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 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, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x09, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x09, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x09,
0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x22, 0x50, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x22, 0x39, 0x0a, 0x17, 0x46, 0x69, 0x6e,
0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x49, 0x47, 0x52, 0x65, 0x71,
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61,
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f,
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x4f, 0x0a, 0x21, 0x4c, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x49, 0x47, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x41, 0x66, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x73, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01,
0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x73, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x57, 0x0a, 0x19,
0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53,
0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x49, 0x47, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44,
0x6e, 0x52, 0x09, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x22, 0x39, 0x0a, 0x17, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e,
0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x49, 0x47, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x73, 0x69,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x73, 0x69,
0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x45, 0x0a, 0x15, 0x45, 0x78, 0x69, 0x73, 0x74, 0x4e, 0x53,
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14,
0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x49, 0x47, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e,
0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x73, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02,
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x73, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x16,
0x57, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x45, 0x78, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65,
0x6e, 0x54, 0x53, 0x49, 0x47, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69,
0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65,
0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x32, 0xd3, 0x07, 0x0a,
0x74, 0x73, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x0f, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
0x74, 0x73, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x45, 0x0a, 0x15, 0x45, 0x78, 0x69, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61,
0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x69, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53,
0x74, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e,
0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72, 0x65,
0x3e, 0x0a, 0x16, 0x45, 0x78, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x1a, 0x2e, 0x70,
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x78, 0x69, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x73, 0x74, 0x69, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
0x52, 0x0d, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x32, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73,
0xf8, 0x06, 0x0a, 0x0f, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f,
0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f,
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12,
0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d,
0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62,
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61,
0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e,
0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c,
0x65, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f,
0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
0x73, 0x12, 0x41, 0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x3d, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69,
0x6e, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x6e, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53,
0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e,
0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x41,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x17,
0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43,
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 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, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x18,
0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69,
0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d,
0x61, 0x69, 0x6e, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61,
0x69, 0x6e, 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, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a,
0x10, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x49,
0x47, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d,
0x61, 0x69, 0x6e, 0x54, 0x53, 0x49, 0x47, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c,
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x54, 0x53, 0x49, 0x47, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x12, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x49, 0x47, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69,
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x49, 0x47, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x46,
0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x4e,
0x73, 0x12, 0x47, 0x0a, 0x0e, 0x65, 0x78, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e,
0x69, 0x6e, 0x73, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x74, 0x68,
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11,
0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e,
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 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, 0x44,
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74,
0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61,
0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x6c,
0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x41, 0x66, 0x74, 0x65,
0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69,
0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 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, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44,
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x49, 0x47, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46,
0x69, 0x6e, 0x64, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x49, 0x47, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x49, 0x47, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53,
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53, 0x49, 0x47, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x53,
0x49, 0x47, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52,
0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x65, 0x78, 0x69,
0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x19, 0x2e, 0x70, 0x62,
0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x69, 0x73,
0x74, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 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 (
@@ -1301,7 +1410,7 @@ func file_service_ns_domain_proto_rawDescGZIP() []byte {
return file_service_ns_domain_proto_rawDescData return file_service_ns_domain_proto_rawDescData
} }
var file_service_ns_domain_proto_msgTypes = make([]protoimpl.MessageInfo, 19) var file_service_ns_domain_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
var file_service_ns_domain_proto_goTypes = []interface{}{ var file_service_ns_domain_proto_goTypes = []interface{}{
(*CreateNSDomainRequest)(nil), // 0: pb.CreateNSDomainRequest (*CreateNSDomainRequest)(nil), // 0: pb.CreateNSDomainRequest
(*CreateNSDomainResponse)(nil), // 1: pb.CreateNSDomainResponse (*CreateNSDomainResponse)(nil), // 1: pb.CreateNSDomainResponse
@@ -1312,53 +1421,58 @@ var file_service_ns_domain_proto_goTypes = []interface{}{
(*DeleteNSDomainsRequest)(nil), // 6: pb.DeleteNSDomainsRequest (*DeleteNSDomainsRequest)(nil), // 6: pb.DeleteNSDomainsRequest
(*FindNSDomainRequest)(nil), // 7: pb.FindNSDomainRequest (*FindNSDomainRequest)(nil), // 7: pb.FindNSDomainRequest
(*FindNSDomainResponse)(nil), // 8: pb.FindNSDomainResponse (*FindNSDomainResponse)(nil), // 8: pb.FindNSDomainResponse
(*CountAllNSDomainsRequest)(nil), // 9: pb.CountAllNSDomainsRequest (*FindNSDomainWithNameRequest)(nil), // 9: pb.FindNSDomainWithNameRequest
(*ListNSDomainsRequest)(nil), // 10: pb.ListNSDomainsRequest (*FindNSDomainWithNameResponse)(nil), // 10: pb.FindNSDomainWithNameResponse
(*ListNSDomainsResponse)(nil), // 11: pb.ListNSDomainsResponse (*CountAllNSDomainsRequest)(nil), // 11: pb.CountAllNSDomainsRequest
(*ListNSDomainsAfterVersionRequest)(nil), // 12: pb.ListNSDomainsAfterVersionRequest (*ListNSDomainsRequest)(nil), // 12: pb.ListNSDomainsRequest
(*ListNSDomainsAfterVersionResponse)(nil), // 13: pb.ListNSDomainsAfterVersionResponse (*ListNSDomainsResponse)(nil), // 13: pb.ListNSDomainsResponse
(*FindNSDomainTSIGRequest)(nil), // 14: pb.FindNSDomainTSIGRequest (*ListNSDomainsAfterVersionRequest)(nil), // 14: pb.ListNSDomainsAfterVersionRequest
(*FindNSDomainTSIGResponse)(nil), // 15: pb.FindNSDomainTSIGResponse (*ListNSDomainsAfterVersionResponse)(nil), // 15: pb.ListNSDomainsAfterVersionResponse
(*UpdateNSDomainTSIGRequest)(nil), // 16: pb.UpdateNSDomainTSIGRequest (*FindNSDomainTSIGRequest)(nil), // 16: pb.FindNSDomainTSIGRequest
(*ExistNSDomainsRequest)(nil), // 17: pb.ExistNSDomainsRequest (*FindNSDomainTSIGResponse)(nil), // 17: pb.FindNSDomainTSIGResponse
(*ExistNSDomainsResponse)(nil), // 18: pb.ExistNSDomainsResponse (*UpdateNSDomainTSIGRequest)(nil), // 18: pb.UpdateNSDomainTSIGRequest
(*NSDomain)(nil), // 19: pb.NSDomain (*ExistNSDomainsRequest)(nil), // 19: pb.ExistNSDomainsRequest
(*RPCSuccess)(nil), // 20: pb.RPCSuccess (*ExistNSDomainsResponse)(nil), // 20: pb.ExistNSDomainsResponse
(*RPCCountResponse)(nil), // 21: pb.RPCCountResponse (*NSDomain)(nil), // 21: pb.NSDomain
(*RPCSuccess)(nil), // 22: pb.RPCSuccess
(*RPCCountResponse)(nil), // 23: pb.RPCCountResponse
} }
var file_service_ns_domain_proto_depIdxs = []int32{ var file_service_ns_domain_proto_depIdxs = []int32{
19, // 0: pb.FindNSDomainResponse.nsDomain:type_name -> pb.NSDomain 21, // 0: pb.FindNSDomainResponse.nsDomain:type_name -> pb.NSDomain
19, // 1: pb.ListNSDomainsResponse.nsDomains:type_name -> pb.NSDomain 21, // 1: pb.FindNSDomainWithNameResponse.nsDomain:type_name -> pb.NSDomain
19, // 2: pb.ListNSDomainsAfterVersionResponse.nsDomains:type_name -> pb.NSDomain 21, // 2: pb.ListNSDomainsResponse.nsDomains:type_name -> pb.NSDomain
0, // 3: pb.NSDomainService.createNSDomain:input_type -> pb.CreateNSDomainRequest 21, // 3: pb.ListNSDomainsAfterVersionResponse.nsDomains:type_name -> pb.NSDomain
2, // 4: pb.NSDomainService.createNSDomains:input_type -> pb.CreateNSDomainsRequest 0, // 4: pb.NSDomainService.createNSDomain:input_type -> pb.CreateNSDomainRequest
4, // 5: pb.NSDomainService.updateNSDomain:input_type -> pb.UpdateNSDomainRequest 2, // 5: pb.NSDomainService.createNSDomains:input_type -> pb.CreateNSDomainsRequest
5, // 6: pb.NSDomainService.deleteNSDomain:input_type -> pb.DeleteNSDomainRequest 4, // 6: pb.NSDomainService.updateNSDomain:input_type -> pb.UpdateNSDomainRequest
6, // 7: pb.NSDomainService.deleteNSDomains:input_type -> pb.DeleteNSDomainsRequest 5, // 7: pb.NSDomainService.deleteNSDomain:input_type -> pb.DeleteNSDomainRequest
7, // 8: pb.NSDomainService.findNSDomain:input_type -> pb.FindNSDomainRequest 6, // 8: pb.NSDomainService.deleteNSDomains:input_type -> pb.DeleteNSDomainsRequest
9, // 9: pb.NSDomainService.countAllNSDomains:input_type -> pb.CountAllNSDomainsRequest 7, // 9: pb.NSDomainService.findNSDomain:input_type -> pb.FindNSDomainRequest
10, // 10: pb.NSDomainService.listNSDomains:input_type -> pb.ListNSDomainsRequest 9, // 10: pb.NSDomainService.findNSDomainWithName:input_type -> pb.FindNSDomainWithNameRequest
12, // 11: pb.NSDomainService.listNSDomainsAfterVersion:input_type -> pb.ListNSDomainsAfterVersionRequest 11, // 11: pb.NSDomainService.countAllNSDomains:input_type -> pb.CountAllNSDomainsRequest
14, // 12: pb.NSDomainService.findNSDomainTSIG:input_type -> pb.FindNSDomainTSIGRequest 12, // 12: pb.NSDomainService.listNSDomains:input_type -> pb.ListNSDomainsRequest
16, // 13: pb.NSDomainService.updateNSDomainTSIG:input_type -> pb.UpdateNSDomainTSIGRequest 14, // 13: pb.NSDomainService.listNSDomainsAfterVersion:input_type -> pb.ListNSDomainsAfterVersionRequest
17, // 14: pb.NSDomainService.existNSDomains:input_type -> pb.ExistNSDomainsRequest 16, // 14: pb.NSDomainService.findNSDomainTSIG:input_type -> pb.FindNSDomainTSIGRequest
1, // 15: pb.NSDomainService.createNSDomain:output_type -> pb.CreateNSDomainResponse 18, // 15: pb.NSDomainService.updateNSDomainTSIG:input_type -> pb.UpdateNSDomainTSIGRequest
3, // 16: pb.NSDomainService.createNSDomains:output_type -> pb.CreateNSDomainsResponse 19, // 16: pb.NSDomainService.existNSDomains:input_type -> pb.ExistNSDomainsRequest
20, // 17: pb.NSDomainService.updateNSDomain:output_type -> pb.RPCSuccess 1, // 17: pb.NSDomainService.createNSDomain:output_type -> pb.CreateNSDomainResponse
20, // 18: pb.NSDomainService.deleteNSDomain:output_type -> pb.RPCSuccess 3, // 18: pb.NSDomainService.createNSDomains:output_type -> pb.CreateNSDomainsResponse
20, // 19: pb.NSDomainService.deleteNSDomains:output_type -> pb.RPCSuccess 22, // 19: pb.NSDomainService.updateNSDomain:output_type -> pb.RPCSuccess
8, // 20: pb.NSDomainService.findNSDomain:output_type -> pb.FindNSDomainResponse 22, // 20: pb.NSDomainService.deleteNSDomain:output_type -> pb.RPCSuccess
21, // 21: pb.NSDomainService.countAllNSDomains:output_type -> pb.RPCCountResponse 22, // 21: pb.NSDomainService.deleteNSDomains:output_type -> pb.RPCSuccess
11, // 22: pb.NSDomainService.listNSDomains:output_type -> pb.ListNSDomainsResponse 8, // 22: pb.NSDomainService.findNSDomain:output_type -> pb.FindNSDomainResponse
13, // 23: pb.NSDomainService.listNSDomainsAfterVersion:output_type -> pb.ListNSDomainsAfterVersionResponse 10, // 23: pb.NSDomainService.findNSDomainWithName:output_type -> pb.FindNSDomainWithNameResponse
15, // 24: pb.NSDomainService.findNSDomainTSIG:output_type -> pb.FindNSDomainTSIGResponse 23, // 24: pb.NSDomainService.countAllNSDomains:output_type -> pb.RPCCountResponse
20, // 25: pb.NSDomainService.updateNSDomainTSIG:output_type -> pb.RPCSuccess 13, // 25: pb.NSDomainService.listNSDomains:output_type -> pb.ListNSDomainsResponse
18, // 26: pb.NSDomainService.existNSDomains:output_type -> pb.ExistNSDomainsResponse 15, // 26: pb.NSDomainService.listNSDomainsAfterVersion:output_type -> pb.ListNSDomainsAfterVersionResponse
15, // [15:27] is the sub-list for method output_type 17, // 27: pb.NSDomainService.findNSDomainTSIG:output_type -> pb.FindNSDomainTSIGResponse
3, // [3:15] is the sub-list for method input_type 22, // 28: pb.NSDomainService.updateNSDomainTSIG:output_type -> pb.RPCSuccess
3, // [3:3] is the sub-list for extension type_name 20, // 29: pb.NSDomainService.existNSDomains:output_type -> pb.ExistNSDomainsResponse
3, // [3:3] is the sub-list for extension extendee 17, // [17:30] is the sub-list for method output_type
0, // [0:3] is the sub-list for field type_name 4, // [4:17] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
4, // [4:4] is the sub-list for extension extendee
0, // [0:4] is the sub-list for field type_name
} }
func init() { file_service_ns_domain_proto_init() } func init() { file_service_ns_domain_proto_init() }
@@ -1478,7 +1592,7 @@ func file_service_ns_domain_proto_init() {
} }
} }
file_service_ns_domain_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { file_service_ns_domain_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllNSDomainsRequest); i { switch v := v.(*FindNSDomainWithNameRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1490,7 +1604,7 @@ func file_service_ns_domain_proto_init() {
} }
} }
file_service_ns_domain_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { file_service_ns_domain_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSDomainsRequest); i { switch v := v.(*FindNSDomainWithNameResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1502,7 +1616,7 @@ func file_service_ns_domain_proto_init() {
} }
} }
file_service_ns_domain_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { file_service_ns_domain_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSDomainsResponse); i { switch v := v.(*CountAllNSDomainsRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1514,7 +1628,7 @@ func file_service_ns_domain_proto_init() {
} }
} }
file_service_ns_domain_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { file_service_ns_domain_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSDomainsAfterVersionRequest); i { switch v := v.(*ListNSDomainsRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1526,7 +1640,7 @@ func file_service_ns_domain_proto_init() {
} }
} }
file_service_ns_domain_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { file_service_ns_domain_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListNSDomainsAfterVersionResponse); i { switch v := v.(*ListNSDomainsResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1538,7 +1652,7 @@ func file_service_ns_domain_proto_init() {
} }
} }
file_service_ns_domain_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { file_service_ns_domain_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindNSDomainTSIGRequest); i { switch v := v.(*ListNSDomainsAfterVersionRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1550,7 +1664,7 @@ func file_service_ns_domain_proto_init() {
} }
} }
file_service_ns_domain_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { file_service_ns_domain_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindNSDomainTSIGResponse); i { switch v := v.(*ListNSDomainsAfterVersionResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1562,7 +1676,7 @@ func file_service_ns_domain_proto_init() {
} }
} }
file_service_ns_domain_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { file_service_ns_domain_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateNSDomainTSIGRequest); i { switch v := v.(*FindNSDomainTSIGRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1574,7 +1688,7 @@ func file_service_ns_domain_proto_init() {
} }
} }
file_service_ns_domain_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { file_service_ns_domain_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExistNSDomainsRequest); i { switch v := v.(*FindNSDomainTSIGResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1586,6 +1700,30 @@ func file_service_ns_domain_proto_init() {
} }
} }
file_service_ns_domain_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { file_service_ns_domain_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateNSDomainTSIGRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_ns_domain_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExistNSDomainsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_ns_domain_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExistNSDomainsResponse); i { switch v := v.(*ExistNSDomainsResponse); i {
case 0: case 0:
return &v.state return &v.state
@@ -1604,7 +1742,7 @@ func file_service_ns_domain_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_service_ns_domain_proto_rawDesc, RawDescriptor: file_service_ns_domain_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 19, NumMessages: 21,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },
@@ -1642,6 +1780,8 @@ type NSDomainServiceClient interface {
DeleteNSDomains(ctx context.Context, in *DeleteNSDomainsRequest, opts ...grpc.CallOption) (*RPCSuccess, error) DeleteNSDomains(ctx context.Context, in *DeleteNSDomainsRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
// 查找单个域名 // 查找单个域名
FindNSDomain(ctx context.Context, in *FindNSDomainRequest, opts ...grpc.CallOption) (*FindNSDomainResponse, error) FindNSDomain(ctx context.Context, in *FindNSDomainRequest, opts ...grpc.CallOption) (*FindNSDomainResponse, error)
// 根据域名名称查找域名
FindNSDomainWithName(ctx context.Context, in *FindNSDomainWithNameRequest, opts ...grpc.CallOption) (*FindNSDomainWithNameResponse, error)
// 计算域名数量 // 计算域名数量
CountAllNSDomains(ctx context.Context, in *CountAllNSDomainsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) CountAllNSDomains(ctx context.Context, in *CountAllNSDomainsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
// 列出单页域名 // 列出单页域名
@@ -1718,6 +1858,15 @@ func (c *nSDomainServiceClient) FindNSDomain(ctx context.Context, in *FindNSDoma
return out, nil return out, nil
} }
func (c *nSDomainServiceClient) FindNSDomainWithName(ctx context.Context, in *FindNSDomainWithNameRequest, opts ...grpc.CallOption) (*FindNSDomainWithNameResponse, error) {
out := new(FindNSDomainWithNameResponse)
err := c.cc.Invoke(ctx, "/pb.NSDomainService/findNSDomainWithName", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nSDomainServiceClient) CountAllNSDomains(ctx context.Context, in *CountAllNSDomainsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { func (c *nSDomainServiceClient) CountAllNSDomains(ctx context.Context, in *CountAllNSDomainsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse) out := new(RPCCountResponse)
err := c.cc.Invoke(ctx, "/pb.NSDomainService/countAllNSDomains", in, out, opts...) err := c.cc.Invoke(ctx, "/pb.NSDomainService/countAllNSDomains", in, out, opts...)
@@ -1786,6 +1935,8 @@ type NSDomainServiceServer interface {
DeleteNSDomains(context.Context, *DeleteNSDomainsRequest) (*RPCSuccess, error) DeleteNSDomains(context.Context, *DeleteNSDomainsRequest) (*RPCSuccess, error)
// 查找单个域名 // 查找单个域名
FindNSDomain(context.Context, *FindNSDomainRequest) (*FindNSDomainResponse, error) FindNSDomain(context.Context, *FindNSDomainRequest) (*FindNSDomainResponse, error)
// 根据域名名称查找域名
FindNSDomainWithName(context.Context, *FindNSDomainWithNameRequest) (*FindNSDomainWithNameResponse, error)
// 计算域名数量 // 计算域名数量
CountAllNSDomains(context.Context, *CountAllNSDomainsRequest) (*RPCCountResponse, error) CountAllNSDomains(context.Context, *CountAllNSDomainsRequest) (*RPCCountResponse, error)
// 列出单页域名 // 列出单页域名
@@ -1822,6 +1973,9 @@ func (*UnimplementedNSDomainServiceServer) DeleteNSDomains(context.Context, *Del
func (*UnimplementedNSDomainServiceServer) FindNSDomain(context.Context, *FindNSDomainRequest) (*FindNSDomainResponse, error) { func (*UnimplementedNSDomainServiceServer) FindNSDomain(context.Context, *FindNSDomainRequest) (*FindNSDomainResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindNSDomain not implemented") return nil, status.Errorf(codes.Unimplemented, "method FindNSDomain not implemented")
} }
func (*UnimplementedNSDomainServiceServer) FindNSDomainWithName(context.Context, *FindNSDomainWithNameRequest) (*FindNSDomainWithNameResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindNSDomainWithName not implemented")
}
func (*UnimplementedNSDomainServiceServer) CountAllNSDomains(context.Context, *CountAllNSDomainsRequest) (*RPCCountResponse, error) { func (*UnimplementedNSDomainServiceServer) CountAllNSDomains(context.Context, *CountAllNSDomainsRequest) (*RPCCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSDomains not implemented") return nil, status.Errorf(codes.Unimplemented, "method CountAllNSDomains not implemented")
} }
@@ -1953,6 +2107,24 @@ func _NSDomainService_FindNSDomain_Handler(srv interface{}, ctx context.Context,
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _NSDomainService_FindNSDomainWithName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindNSDomainWithNameRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NSDomainServiceServer).FindNSDomainWithName(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.NSDomainService/FindNSDomainWithName",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NSDomainServiceServer).FindNSDomainWithName(ctx, req.(*FindNSDomainWithNameRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NSDomainService_CountAllNSDomains_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func _NSDomainService_CountAllNSDomains_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountAllNSDomainsRequest) in := new(CountAllNSDomainsRequest)
if err := dec(in); err != nil { if err := dec(in); err != nil {
@@ -2089,6 +2261,10 @@ var _NSDomainService_serviceDesc = grpc.ServiceDesc{
MethodName: "findNSDomain", MethodName: "findNSDomain",
Handler: _NSDomainService_FindNSDomain_Handler, Handler: _NSDomainService_FindNSDomain_Handler,
}, },
{
MethodName: "findNSDomainWithName",
Handler: _NSDomainService_FindNSDomainWithName_Handler,
},
{ {
MethodName: "countAllNSDomains", MethodName: "countAllNSDomains",
Handler: _NSDomainService_CountAllNSDomains_Handler, Handler: _NSDomainService_CountAllNSDomains_Handler,

View File

@@ -1297,6 +1297,117 @@ func (x *FindNSRecordResponse) GetNsRecord() *NSRecord {
return nil return nil
} }
// 使用名称和类型查询单个记录信息
type FindNSRecordWithNameAndTypeRequest 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 *FindNSRecordWithNameAndTypeRequest) Reset() {
*x = FindNSRecordWithNameAndTypeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindNSRecordWithNameAndTypeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindNSRecordWithNameAndTypeRequest) ProtoMessage() {}
func (x *FindNSRecordWithNameAndTypeRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[16]
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 FindNSRecordWithNameAndTypeRequest.ProtoReflect.Descriptor instead.
func (*FindNSRecordWithNameAndTypeRequest) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{16}
}
func (x *FindNSRecordWithNameAndTypeRequest) GetNsDomainId() int64 {
if x != nil {
return x.NsDomainId
}
return 0
}
func (x *FindNSRecordWithNameAndTypeRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *FindNSRecordWithNameAndTypeRequest) GetType() string {
if x != nil {
return x.Type
}
return ""
}
type FindNSRecordWithNameAndTypeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NsRecord *NSRecord `protobuf:"bytes,1,opt,name=nsRecord,proto3" json:"nsRecord,omitempty"`
}
func (x *FindNSRecordWithNameAndTypeResponse) Reset() {
*x = FindNSRecordWithNameAndTypeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_record_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindNSRecordWithNameAndTypeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindNSRecordWithNameAndTypeResponse) ProtoMessage() {}
func (x *FindNSRecordWithNameAndTypeResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_record_proto_msgTypes[17]
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 FindNSRecordWithNameAndTypeResponse.ProtoReflect.Descriptor instead.
func (*FindNSRecordWithNameAndTypeResponse) Descriptor() ([]byte, []int) {
return file_service_ns_record_proto_rawDescGZIP(), []int{17}
}
func (x *FindNSRecordWithNameAndTypeResponse) GetNsRecord() *NSRecord {
if x != nil {
return x.NsRecord
}
return nil
}
// 根据版本列出一组记录 // 根据版本列出一组记录
type ListNSRecordsAfterVersionRequest struct { type ListNSRecordsAfterVersionRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
@@ -1310,7 +1421,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[16] 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)
} }
@@ -1323,7 +1434,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[16] 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 {
@@ -1336,7 +1447,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{16} return file_service_ns_record_proto_rawDescGZIP(), []int{18}
} }
func (x *ListNSRecordsAfterVersionRequest) GetVersion() int64 { func (x *ListNSRecordsAfterVersionRequest) GetVersion() int64 {
@@ -1364,7 +1475,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[17] 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)
} }
@@ -1377,7 +1488,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[17] 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 {
@@ -1390,7 +1501,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{17} return file_service_ns_record_proto_rawDescGZIP(), []int{19}
} }
func (x *ListNSRecordsAfterVersionResponse) GetNsRecords() []*NSRecord { func (x *ListNSRecordsAfterVersionResponse) GetNsRecords() []*NSRecord {
@@ -1415,7 +1526,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[18] 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)
} }
@@ -1428,7 +1539,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[18] 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 {
@@ -1673,83 +1784,102 @@ var file_service_ns_record_proto_rawDesc = []byte{
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 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, 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, 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, 0x6c, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57,
0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65,
0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69,
0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d,
0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
0x65, 0x22, 0x4f, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4f, 0x0a,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x23, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74,
0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70,
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x64, 0x73, 0x32, 0x97, 0x08, 0x0a, 0x0f, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x65,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x50,
0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41,
0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
0x4a, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65,
0x64, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x22, 0x4f, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72,
0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1e, 0x63, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53,
0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 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, 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, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1e, 0x63, 0x72,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74,
0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5b, 0x0a, 0x1e, 0x75, 0x70, 0x64, 0x61, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70,
0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73,
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, 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, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5b, 0x0a, 0x1e, 0x75, 0x70, 0x64, 0x61, 0x74,
0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f,
0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 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, 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, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74,
0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x49,
0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65,
0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65,
0x12, 0x47, 0x0a, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65,
0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x47, 0x0a, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63,
0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41,
0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x74,
0x41, 0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4c,
0x17, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75,
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52,
0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41,
0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x17,
0x72, 0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72,
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65,
0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f,
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 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, 0x69, 0x6f, 0x6e, 0x12, 0x24,
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,
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 (
@@ -1764,7 +1894,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, 19) var file_service_ns_record_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
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
@@ -1782,49 +1912,54 @@ var file_service_ns_record_proto_goTypes = []interface{}{
(*ListNSRecordsResponse)(nil), // 13: pb.ListNSRecordsResponse (*ListNSRecordsResponse)(nil), // 13: pb.ListNSRecordsResponse
(*FindNSRecordRequest)(nil), // 14: pb.FindNSRecordRequest (*FindNSRecordRequest)(nil), // 14: pb.FindNSRecordRequest
(*FindNSRecordResponse)(nil), // 15: pb.FindNSRecordResponse (*FindNSRecordResponse)(nil), // 15: pb.FindNSRecordResponse
(*ListNSRecordsAfterVersionRequest)(nil), // 16: pb.ListNSRecordsAfterVersionRequest (*FindNSRecordWithNameAndTypeRequest)(nil), // 16: pb.FindNSRecordWithNameAndTypeRequest
(*ListNSRecordsAfterVersionResponse)(nil), // 17: pb.ListNSRecordsAfterVersionResponse (*FindNSRecordWithNameAndTypeResponse)(nil), // 17: pb.FindNSRecordWithNameAndTypeResponse
(*ImportNSRecordsRequest_Record)(nil), // 18: pb.ImportNSRecordsRequest.Record (*ListNSRecordsAfterVersionRequest)(nil), // 18: pb.ListNSRecordsAfterVersionRequest
(*NSRecord)(nil), // 19: pb.NSRecord (*ListNSRecordsAfterVersionResponse)(nil), // 19: pb.ListNSRecordsAfterVersionResponse
(*RPCSuccess)(nil), // 20: pb.RPCSuccess (*ImportNSRecordsRequest_Record)(nil), // 20: pb.ImportNSRecordsRequest.Record
(*RPCCountResponse)(nil), // 21: pb.RPCCountResponse (*NSRecord)(nil), // 21: pb.NSRecord
(*RPCSuccess)(nil), // 22: pb.RPCSuccess
(*RPCCountResponse)(nil), // 23: pb.RPCCountResponse
} }
var file_service_ns_record_proto_depIdxs = []int32{ var file_service_ns_record_proto_depIdxs = []int32{
18, // 0: pb.ImportNSRecordsRequest.nsRecords:type_name -> pb.ImportNSRecordsRequest.Record 20, // 0: pb.ImportNSRecordsRequest.nsRecords:type_name -> pb.ImportNSRecordsRequest.Record
19, // 1: pb.ListNSRecordsResponse.nsRecords:type_name -> pb.NSRecord 21, // 1: pb.ListNSRecordsResponse.nsRecords:type_name -> pb.NSRecord
19, // 2: pb.FindNSRecordResponse.nsRecord:type_name -> pb.NSRecord 21, // 2: pb.FindNSRecordResponse.nsRecord:type_name -> pb.NSRecord
19, // 3: pb.ListNSRecordsAfterVersionResponse.nsRecords:type_name -> pb.NSRecord 21, // 3: pb.FindNSRecordWithNameAndTypeResponse.nsRecord:type_name -> pb.NSRecord
0, // 4: pb.NSRecordService.createNSRecord:input_type -> pb.CreateNSRecordRequest 21, // 4: pb.ListNSRecordsAfterVersionResponse.nsRecords:type_name -> pb.NSRecord
2, // 5: pb.NSRecordService.createNSRecords:input_type -> pb.CreateNSRecordsRequest 0, // 5: pb.NSRecordService.createNSRecord:input_type -> pb.CreateNSRecordRequest
4, // 6: pb.NSRecordService.createNSRecordsWithDomainNames:input_type -> pb.CreateNSRecordsWithDomainNamesRequest 2, // 6: pb.NSRecordService.createNSRecords:input_type -> pb.CreateNSRecordsRequest
5, // 7: pb.NSRecordService.updateNSRecordsWithDomainNames:input_type -> pb.UpdateNSRecordsWithDomainNamesRequest 4, // 7: pb.NSRecordService.createNSRecordsWithDomainNames:input_type -> pb.CreateNSRecordsWithDomainNamesRequest
6, // 8: pb.NSRecordService.deleteNSRecordsWithDomainNames:input_type -> pb.DeleteNSRecordsWithDomainNamesRequest 5, // 8: pb.NSRecordService.updateNSRecordsWithDomainNames:input_type -> pb.UpdateNSRecordsWithDomainNamesRequest
7, // 9: pb.NSRecordService.updateNSRecordsIsOnWithDomainNames:input_type -> pb.UpdateNSRecordsIsOnWithDomainNamesRequest 6, // 9: pb.NSRecordService.deleteNSRecordsWithDomainNames:input_type -> pb.DeleteNSRecordsWithDomainNamesRequest
8, // 10: pb.NSRecordService.importNSRecords:input_type -> pb.ImportNSRecordsRequest 7, // 10: pb.NSRecordService.updateNSRecordsIsOnWithDomainNames:input_type -> pb.UpdateNSRecordsIsOnWithDomainNamesRequest
9, // 11: pb.NSRecordService.updateNSRecord:input_type -> pb.UpdateNSRecordRequest 8, // 11: pb.NSRecordService.importNSRecords:input_type -> pb.ImportNSRecordsRequest
10, // 12: pb.NSRecordService.deleteNSRecord:input_type -> pb.DeleteNSRecordRequest 9, // 12: pb.NSRecordService.updateNSRecord:input_type -> pb.UpdateNSRecordRequest
11, // 13: pb.NSRecordService.countAllNSRecords:input_type -> pb.CountAllNSRecordsRequest 10, // 13: pb.NSRecordService.deleteNSRecord:input_type -> pb.DeleteNSRecordRequest
12, // 14: pb.NSRecordService.listNSRecords:input_type -> pb.ListNSRecordsRequest 11, // 14: pb.NSRecordService.countAllNSRecords:input_type -> pb.CountAllNSRecordsRequest
14, // 15: pb.NSRecordService.findNSRecord:input_type -> pb.FindNSRecordRequest 12, // 15: pb.NSRecordService.listNSRecords:input_type -> pb.ListNSRecordsRequest
16, // 16: pb.NSRecordService.listNSRecordsAfterVersion:input_type -> pb.ListNSRecordsAfterVersionRequest 14, // 16: pb.NSRecordService.findNSRecord:input_type -> pb.FindNSRecordRequest
1, // 17: pb.NSRecordService.createNSRecord:output_type -> pb.CreateNSRecordResponse 16, // 17: pb.NSRecordService.findNSRecordWithNameAndType:input_type -> pb.FindNSRecordWithNameAndTypeRequest
3, // 18: pb.NSRecordService.createNSRecords:output_type -> pb.CreateNSRecordsResponse 18, // 18: pb.NSRecordService.listNSRecordsAfterVersion:input_type -> pb.ListNSRecordsAfterVersionRequest
20, // 19: pb.NSRecordService.createNSRecordsWithDomainNames:output_type -> pb.RPCSuccess 1, // 19: pb.NSRecordService.createNSRecord:output_type -> pb.CreateNSRecordResponse
20, // 20: pb.NSRecordService.updateNSRecordsWithDomainNames:output_type -> pb.RPCSuccess 3, // 20: pb.NSRecordService.createNSRecords:output_type -> pb.CreateNSRecordsResponse
20, // 21: pb.NSRecordService.deleteNSRecordsWithDomainNames:output_type -> pb.RPCSuccess 22, // 21: pb.NSRecordService.createNSRecordsWithDomainNames:output_type -> pb.RPCSuccess
20, // 22: pb.NSRecordService.updateNSRecordsIsOnWithDomainNames:output_type -> pb.RPCSuccess 22, // 22: pb.NSRecordService.updateNSRecordsWithDomainNames:output_type -> pb.RPCSuccess
20, // 23: pb.NSRecordService.importNSRecords:output_type -> pb.RPCSuccess 22, // 23: pb.NSRecordService.deleteNSRecordsWithDomainNames:output_type -> pb.RPCSuccess
20, // 24: pb.NSRecordService.updateNSRecord:output_type -> pb.RPCSuccess 22, // 24: pb.NSRecordService.updateNSRecordsIsOnWithDomainNames:output_type -> pb.RPCSuccess
20, // 25: pb.NSRecordService.deleteNSRecord:output_type -> pb.RPCSuccess 22, // 25: pb.NSRecordService.importNSRecords:output_type -> pb.RPCSuccess
21, // 26: pb.NSRecordService.countAllNSRecords:output_type -> pb.RPCCountResponse 22, // 26: pb.NSRecordService.updateNSRecord:output_type -> pb.RPCSuccess
13, // 27: pb.NSRecordService.listNSRecords:output_type -> pb.ListNSRecordsResponse 22, // 27: pb.NSRecordService.deleteNSRecord:output_type -> pb.RPCSuccess
15, // 28: pb.NSRecordService.findNSRecord:output_type -> pb.FindNSRecordResponse 23, // 28: pb.NSRecordService.countAllNSRecords:output_type -> pb.RPCCountResponse
17, // 29: pb.NSRecordService.listNSRecordsAfterVersion:output_type -> pb.ListNSRecordsAfterVersionResponse 13, // 29: pb.NSRecordService.listNSRecords:output_type -> pb.ListNSRecordsResponse
17, // [17:30] is the sub-list for method output_type 15, // 30: pb.NSRecordService.findNSRecord:output_type -> pb.FindNSRecordResponse
4, // [4:17] is the sub-list for method input_type 17, // 31: pb.NSRecordService.findNSRecordWithNameAndType:output_type -> pb.FindNSRecordWithNameAndTypeResponse
4, // [4:4] is the sub-list for extension type_name 19, // 32: pb.NSRecordService.listNSRecordsAfterVersion:output_type -> pb.ListNSRecordsAfterVersionResponse
4, // [4:4] is the sub-list for extension extendee 19, // [19:33] is the sub-list for method output_type
0, // [0:4] is the sub-list for field type_name 5, // [5:19] 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 extendee
0, // [0:5] is the sub-list for field type_name
} }
func init() { file_service_ns_record_proto_init() } func init() { file_service_ns_record_proto_init() }
@@ -2028,7 +2163,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.(*ListNSRecordsAfterVersionRequest); i { switch v := v.(*FindNSRecordWithNameAndTypeRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2040,7 +2175,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.(*ListNSRecordsAfterVersionResponse); i { switch v := v.(*FindNSRecordWithNameAndTypeResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2052,6 +2187,30 @@ 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 {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_ns_record_proto_msgTypes[19].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[20].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
@@ -2070,7 +2229,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: 19, NumMessages: 21,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },
@@ -2120,6 +2279,8 @@ type NSRecordServiceClient interface {
ListNSRecords(ctx context.Context, in *ListNSRecordsRequest, opts ...grpc.CallOption) (*ListNSRecordsResponse, error) ListNSRecords(ctx context.Context, in *ListNSRecordsRequest, opts ...grpc.CallOption) (*ListNSRecordsResponse, error)
// 查询单个记录信息 // 查询单个记录信息
FindNSRecord(ctx context.Context, in *FindNSRecordRequest, opts ...grpc.CallOption) (*FindNSRecordResponse, error) FindNSRecord(ctx context.Context, in *FindNSRecordRequest, opts ...grpc.CallOption) (*FindNSRecordResponse, error)
// 使用名称和类型查询单个记录信息
FindNSRecordWithNameAndType(ctx context.Context, in *FindNSRecordWithNameAndTypeRequest, opts ...grpc.CallOption) (*FindNSRecordWithNameAndTypeResponse, error)
// 根据版本列出一组记录 // 根据版本列出一组记录
ListNSRecordsAfterVersion(ctx context.Context, in *ListNSRecordsAfterVersionRequest, opts ...grpc.CallOption) (*ListNSRecordsAfterVersionResponse, error) ListNSRecordsAfterVersion(ctx context.Context, in *ListNSRecordsAfterVersionRequest, opts ...grpc.CallOption) (*ListNSRecordsAfterVersionResponse, error)
} }
@@ -2240,6 +2401,15 @@ func (c *nSRecordServiceClient) FindNSRecord(ctx context.Context, in *FindNSReco
return out, nil return out, nil
} }
func (c *nSRecordServiceClient) FindNSRecordWithNameAndType(ctx context.Context, in *FindNSRecordWithNameAndTypeRequest, opts ...grpc.CallOption) (*FindNSRecordWithNameAndTypeResponse, error) {
out := new(FindNSRecordWithNameAndTypeResponse)
err := c.cc.Invoke(ctx, "/pb.NSRecordService/findNSRecordWithNameAndType", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nSRecordServiceClient) ListNSRecordsAfterVersion(ctx context.Context, in *ListNSRecordsAfterVersionRequest, opts ...grpc.CallOption) (*ListNSRecordsAfterVersionResponse, error) { func (c *nSRecordServiceClient) ListNSRecordsAfterVersion(ctx context.Context, in *ListNSRecordsAfterVersionRequest, opts ...grpc.CallOption) (*ListNSRecordsAfterVersionResponse, error) {
out := new(ListNSRecordsAfterVersionResponse) out := new(ListNSRecordsAfterVersionResponse)
err := c.cc.Invoke(ctx, "/pb.NSRecordService/listNSRecordsAfterVersion", in, out, opts...) err := c.cc.Invoke(ctx, "/pb.NSRecordService/listNSRecordsAfterVersion", in, out, opts...)
@@ -2275,6 +2445,8 @@ type NSRecordServiceServer interface {
ListNSRecords(context.Context, *ListNSRecordsRequest) (*ListNSRecordsResponse, error) ListNSRecords(context.Context, *ListNSRecordsRequest) (*ListNSRecordsResponse, error)
// 查询单个记录信息 // 查询单个记录信息
FindNSRecord(context.Context, *FindNSRecordRequest) (*FindNSRecordResponse, error) FindNSRecord(context.Context, *FindNSRecordRequest) (*FindNSRecordResponse, error)
// 使用名称和类型查询单个记录信息
FindNSRecordWithNameAndType(context.Context, *FindNSRecordWithNameAndTypeRequest) (*FindNSRecordWithNameAndTypeResponse, error)
// 根据版本列出一组记录 // 根据版本列出一组记录
ListNSRecordsAfterVersion(context.Context, *ListNSRecordsAfterVersionRequest) (*ListNSRecordsAfterVersionResponse, error) ListNSRecordsAfterVersion(context.Context, *ListNSRecordsAfterVersionRequest) (*ListNSRecordsAfterVersionResponse, error)
} }
@@ -2319,6 +2491,9 @@ func (*UnimplementedNSRecordServiceServer) ListNSRecords(context.Context, *ListN
func (*UnimplementedNSRecordServiceServer) FindNSRecord(context.Context, *FindNSRecordRequest) (*FindNSRecordResponse, error) { func (*UnimplementedNSRecordServiceServer) FindNSRecord(context.Context, *FindNSRecordRequest) (*FindNSRecordResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindNSRecord not implemented") return nil, status.Errorf(codes.Unimplemented, "method FindNSRecord not implemented")
} }
func (*UnimplementedNSRecordServiceServer) FindNSRecordWithNameAndType(context.Context, *FindNSRecordWithNameAndTypeRequest) (*FindNSRecordWithNameAndTypeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindNSRecordWithNameAndType not implemented")
}
func (*UnimplementedNSRecordServiceServer) ListNSRecordsAfterVersion(context.Context, *ListNSRecordsAfterVersionRequest) (*ListNSRecordsAfterVersionResponse, error) { func (*UnimplementedNSRecordServiceServer) ListNSRecordsAfterVersion(context.Context, *ListNSRecordsAfterVersionRequest) (*ListNSRecordsAfterVersionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListNSRecordsAfterVersion not implemented") return nil, status.Errorf(codes.Unimplemented, "method ListNSRecordsAfterVersion not implemented")
} }
@@ -2543,6 +2718,24 @@ func _NSRecordService_FindNSRecord_Handler(srv interface{}, ctx context.Context,
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _NSRecordService_FindNSRecordWithNameAndType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindNSRecordWithNameAndTypeRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NSRecordServiceServer).FindNSRecordWithNameAndType(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.NSRecordService/FindNSRecordWithNameAndType",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NSRecordServiceServer).FindNSRecordWithNameAndType(ctx, req.(*FindNSRecordWithNameAndTypeRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NSRecordService_ListNSRecordsAfterVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func _NSRecordService_ListNSRecordsAfterVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListNSRecordsAfterVersionRequest) in := new(ListNSRecordsAfterVersionRequest)
if err := dec(in); err != nil { if err := dec(in); err != nil {
@@ -2613,6 +2806,10 @@ var _NSRecordService_serviceDesc = grpc.ServiceDesc{
MethodName: "findNSRecord", MethodName: "findNSRecord",
Handler: _NSRecordService_FindNSRecord_Handler, Handler: _NSRecordService_FindNSRecord_Handler,
}, },
{
MethodName: "findNSRecordWithNameAndType",
Handler: _NSRecordService_FindNSRecordWithNameAndType_Handler,
},
{ {
MethodName: "listNSRecordsAfterVersion", MethodName: "listNSRecordsAfterVersion",
Handler: _NSRecordService_ListNSRecordsAfterVersion_Handler, Handler: _NSRecordService_ListNSRecordsAfterVersion_Handler,

View File

@@ -29,7 +29,7 @@ const (
// of the legacy proto package is being used. // of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4 const _ = proto.ProtoPackageIsVersion4
// 创建线路 // 创建自定义线路
type CreateNSRouteRequest struct { type CreateNSRouteRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@@ -156,7 +156,7 @@ func (x *CreateNSRouteResponse) GetNsRouteId() int64 {
return 0 return 0
} }
// 修改线路 // 修改自定义线路
type UpdateNSRouteRequest struct { type UpdateNSRouteRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@@ -220,7 +220,7 @@ func (x *UpdateNSRouteRequest) GetRangesJSON() []byte {
return nil return nil
} }
// 删除线路 // 删除自定义线路
type DeleteNSRouteRequest struct { type DeleteNSRouteRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@@ -268,7 +268,7 @@ func (x *DeleteNSRouteRequest) GetNsRouteId() int64 {
return 0 return 0
} }
// 获取单个路线信息 // 获取单个自定义路线信息
type FindNSRouteRequest struct { type FindNSRouteRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@@ -363,7 +363,7 @@ func (x *FindNSRouteResponse) GetNsRoute() *NSRoute {
return nil return nil
} }
// 读取所有线路 // 读取所有自定义线路
type FindAllNSRoutesRequest struct { type FindAllNSRoutesRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@@ -474,7 +474,7 @@ func (x *FindAllNSRoutesResponse) GetNsRoutes() []*NSRoute {
return nil return nil
} }
// 设置线路排序 // 设置自定义线路排序
type UpdateNSRouteOrdersRequest struct { type UpdateNSRouteOrdersRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@@ -522,7 +522,7 @@ func (x *UpdateNSRouteOrdersRequest) GetNsRouteIds() []int64 {
return nil return nil
} }
// 根据版本列出一组线路 // 根据版本列出一组自定义线路
type ListNSRoutesAfterVersionRequest struct { type ListNSRoutesAfterVersionRequest struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@@ -625,6 +625,264 @@ func (x *ListNSRoutesAfterVersionResponse) GetNsRoutes() []*NSRoute {
return nil return nil
} }
// 查找默认的世界区域线路
type FindAllDefaultWorldRegionRoutesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *FindAllDefaultWorldRegionRoutesRequest) Reset() {
*x = FindAllDefaultWorldRegionRoutesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindAllDefaultWorldRegionRoutesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllDefaultWorldRegionRoutesRequest) ProtoMessage() {}
func (x *FindAllDefaultWorldRegionRoutesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[11]
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 FindAllDefaultWorldRegionRoutesRequest.ProtoReflect.Descriptor instead.
func (*FindAllDefaultWorldRegionRoutesRequest) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{11}
}
type FindAllDefaultWorldRegionRoutesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NsRoutes []*NSRoute `protobuf:"bytes,1,rep,name=nsRoutes,proto3" json:"nsRoutes,omitempty"`
}
func (x *FindAllDefaultWorldRegionRoutesResponse) Reset() {
*x = FindAllDefaultWorldRegionRoutesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindAllDefaultWorldRegionRoutesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllDefaultWorldRegionRoutesResponse) ProtoMessage() {}
func (x *FindAllDefaultWorldRegionRoutesResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_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 FindAllDefaultWorldRegionRoutesResponse.ProtoReflect.Descriptor instead.
func (*FindAllDefaultWorldRegionRoutesResponse) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{12}
}
func (x *FindAllDefaultWorldRegionRoutesResponse) GetNsRoutes() []*NSRoute {
if x != nil {
return x.NsRoutes
}
return nil
}
// 查找默认的中国省份线路
type FindAllDefaultChinaProvinceRoutesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *FindAllDefaultChinaProvinceRoutesRequest) Reset() {
*x = FindAllDefaultChinaProvinceRoutesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindAllDefaultChinaProvinceRoutesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllDefaultChinaProvinceRoutesRequest) ProtoMessage() {}
func (x *FindAllDefaultChinaProvinceRoutesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[13]
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 FindAllDefaultChinaProvinceRoutesRequest.ProtoReflect.Descriptor instead.
func (*FindAllDefaultChinaProvinceRoutesRequest) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{13}
}
type FindAllDefaultChinaProvinceRoutesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NsRoutes []*NSRoute `protobuf:"bytes,1,rep,name=nsRoutes,proto3" json:"nsRoutes,omitempty"`
}
func (x *FindAllDefaultChinaProvinceRoutesResponse) Reset() {
*x = FindAllDefaultChinaProvinceRoutesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindAllDefaultChinaProvinceRoutesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllDefaultChinaProvinceRoutesResponse) ProtoMessage() {}
func (x *FindAllDefaultChinaProvinceRoutesResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[14]
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 FindAllDefaultChinaProvinceRoutesResponse.ProtoReflect.Descriptor instead.
func (*FindAllDefaultChinaProvinceRoutesResponse) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{14}
}
func (x *FindAllDefaultChinaProvinceRoutesResponse) GetNsRoutes() []*NSRoute {
if x != nil {
return x.NsRoutes
}
return nil
}
// 查找默认的ISP线路
type FindAllDefaultISPRoutesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *FindAllDefaultISPRoutesRequest) Reset() {
*x = FindAllDefaultISPRoutesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindAllDefaultISPRoutesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllDefaultISPRoutesRequest) ProtoMessage() {}
func (x *FindAllDefaultISPRoutesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[15]
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 FindAllDefaultISPRoutesRequest.ProtoReflect.Descriptor instead.
func (*FindAllDefaultISPRoutesRequest) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{15}
}
type FindAllDefaultISPRoutesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NsRoutes []*NSRoute `protobuf:"bytes,1,rep,name=nsRoutes,proto3" json:"nsRoutes,omitempty"`
}
func (x *FindAllDefaultISPRoutesResponse) Reset() {
*x = FindAllDefaultISPRoutesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_route_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindAllDefaultISPRoutesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllDefaultISPRoutesResponse) ProtoMessage() {}
func (x *FindAllDefaultISPRoutesResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_route_proto_msgTypes[16]
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 FindAllDefaultISPRoutesResponse.ProtoReflect.Descriptor instead.
func (*FindAllDefaultISPRoutesResponse) Descriptor() ([]byte, []int) {
return file_service_ns_route_proto_rawDescGZIP(), []int{16}
}
func (x *FindAllDefaultISPRoutesResponse) GetNsRoutes() []*NSRoute {
if x != nil {
return x.NsRoutes
}
return nil
}
var File_service_ns_route_proto protoreflect.FileDescriptor var File_service_ns_route_proto protoreflect.FileDescriptor
var file_service_ns_route_proto_rawDesc = []byte{ var file_service_ns_route_proto_rawDesc = []byte{
@@ -689,41 +947,86 @@ var file_service_ns_route_proto_rawDesc = []byte{
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 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, 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, 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, 0x86, 0x04, 0x0a, 0x0e, 0x4e, 0x53, 0x52, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x28, 0x0a, 0x26, 0x46, 0x69, 0x6e, 0x64,
0x6f, 0x75, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52,
0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x73, 0x74, 0x22, 0x52, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x61, 0x75, 0x6c, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52,
0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a,
0x65, 0x12, 0x39, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73,
0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x2a, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x39, 0x0a, 0x0d, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x68, 0x69, 0x6e, 0x61, 0x50, 0x72, 0x6f,
0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x74, 0x22, 0x54, 0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x68, 0x69, 0x6e, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63,
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08,
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x53, 0x50, 0x52, 0x6f, 0x75,
0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4a, 0x0a, 0x1f, 0x46, 0x69,
0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x53, 0x50, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a,
0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73,
0x6f, 0x75, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x32, 0xe9, 0x06, 0x0a, 0x0e, 0x4e, 0x53, 0x52, 0x6f, 0x75,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65,
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e,
0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x65, 0x0a, 0x18, 0x6c, 0x69, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71,
0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 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, 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, 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, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53,
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69,
0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c,
0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72,
0x33, 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,
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,
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 (
@@ -738,45 +1041,60 @@ 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, 11) var file_service_ns_route_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
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
(*UpdateNSRouteRequest)(nil), // 2: pb.UpdateNSRouteRequest (*UpdateNSRouteRequest)(nil), // 2: pb.UpdateNSRouteRequest
(*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 (*FindAllNSRoutesRequest)(nil), // 6: pb.FindAllNSRoutesRequest
(*FindAllNSRoutesResponse)(nil), // 7: pb.FindAllNSRoutesResponse (*FindAllNSRoutesResponse)(nil), // 7: pb.FindAllNSRoutesResponse
(*UpdateNSRouteOrdersRequest)(nil), // 8: pb.UpdateNSRouteOrdersRequest (*UpdateNSRouteOrdersRequest)(nil), // 8: pb.UpdateNSRouteOrdersRequest
(*ListNSRoutesAfterVersionRequest)(nil), // 9: pb.ListNSRoutesAfterVersionRequest (*ListNSRoutesAfterVersionRequest)(nil), // 9: pb.ListNSRoutesAfterVersionRequest
(*ListNSRoutesAfterVersionResponse)(nil), // 10: pb.ListNSRoutesAfterVersionResponse (*ListNSRoutesAfterVersionResponse)(nil), // 10: pb.ListNSRoutesAfterVersionResponse
(*NSRoute)(nil), // 11: pb.NSRoute (*FindAllDefaultWorldRegionRoutesRequest)(nil), // 11: pb.FindAllDefaultWorldRegionRoutesRequest
(*RPCSuccess)(nil), // 12: pb.RPCSuccess (*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
} }
var file_service_ns_route_proto_depIdxs = []int32{ var file_service_ns_route_proto_depIdxs = []int32{
11, // 0: pb.FindNSRouteResponse.nsRoute:type_name -> pb.NSRoute 17, // 0: pb.FindNSRouteResponse.nsRoute:type_name -> pb.NSRoute
11, // 1: pb.FindAllNSRoutesResponse.nsRoutes:type_name -> pb.NSRoute 17, // 1: pb.FindAllNSRoutesResponse.nsRoutes:type_name -> pb.NSRoute
11, // 2: pb.ListNSRoutesAfterVersionResponse.nsRoutes:type_name -> pb.NSRoute 17, // 2: pb.ListNSRoutesAfterVersionResponse.nsRoutes:type_name -> pb.NSRoute
0, // 3: pb.NSRouteService.createNSRoute:input_type -> pb.CreateNSRouteRequest 17, // 3: pb.FindAllDefaultWorldRegionRoutesResponse.nsRoutes:type_name -> pb.NSRoute
2, // 4: pb.NSRouteService.updateNSRoute:input_type -> pb.UpdateNSRouteRequest 17, // 4: pb.FindAllDefaultChinaProvinceRoutesResponse.nsRoutes:type_name -> pb.NSRoute
3, // 5: pb.NSRouteService.deleteNSRoute:input_type -> pb.DeleteNSRouteRequest 17, // 5: pb.FindAllDefaultISPRoutesResponse.nsRoutes:type_name -> pb.NSRoute
4, // 6: pb.NSRouteService.findNSRoute:input_type -> pb.FindNSRouteRequest 0, // 6: pb.NSRouteService.createNSRoute:input_type -> pb.CreateNSRouteRequest
6, // 7: pb.NSRouteService.findAllNSRoutes:input_type -> pb.FindAllNSRoutesRequest 2, // 7: pb.NSRouteService.updateNSRoute:input_type -> pb.UpdateNSRouteRequest
8, // 8: pb.NSRouteService.updateNSRouteOrders:input_type -> pb.UpdateNSRouteOrdersRequest 3, // 8: pb.NSRouteService.deleteNSRoute:input_type -> pb.DeleteNSRouteRequest
9, // 9: pb.NSRouteService.listNSRoutesAfterVersion:input_type -> pb.ListNSRoutesAfterVersionRequest 4, // 9: pb.NSRouteService.findNSRoute:input_type -> pb.FindNSRouteRequest
1, // 10: pb.NSRouteService.createNSRoute:output_type -> pb.CreateNSRouteResponse 6, // 10: pb.NSRouteService.findAllNSRoutes:input_type -> pb.FindAllNSRoutesRequest
12, // 11: pb.NSRouteService.updateNSRoute:output_type -> pb.RPCSuccess 8, // 11: pb.NSRouteService.updateNSRouteOrders:input_type -> pb.UpdateNSRouteOrdersRequest
12, // 12: pb.NSRouteService.deleteNSRoute:output_type -> pb.RPCSuccess 9, // 12: pb.NSRouteService.listNSRoutesAfterVersion:input_type -> pb.ListNSRoutesAfterVersionRequest
5, // 13: pb.NSRouteService.findNSRoute:output_type -> pb.FindNSRouteResponse 11, // 13: pb.NSRouteService.findAllDefaultWorldRegionRoutes:input_type -> pb.FindAllDefaultWorldRegionRoutesRequest
7, // 14: pb.NSRouteService.findAllNSRoutes:output_type -> pb.FindAllNSRoutesResponse 13, // 14: pb.NSRouteService.findAllDefaultChinaProvinceRoutes:input_type -> pb.FindAllDefaultChinaProvinceRoutesRequest
12, // 15: pb.NSRouteService.updateNSRouteOrders:output_type -> pb.RPCSuccess 15, // 15: pb.NSRouteService.findAllDefaultISPRoutes:input_type -> pb.FindAllDefaultISPRoutesRequest
10, // 16: pb.NSRouteService.listNSRoutesAfterVersion:output_type -> pb.ListNSRoutesAfterVersionResponse 1, // 16: pb.NSRouteService.createNSRoute:output_type -> pb.CreateNSRouteResponse
10, // [10:17] is the sub-list for method output_type 18, // 17: pb.NSRouteService.updateNSRoute:output_type -> pb.RPCSuccess
3, // [3:10] is the sub-list for method input_type 18, // 18: pb.NSRouteService.deleteNSRoute:output_type -> pb.RPCSuccess
3, // [3:3] is the sub-list for extension type_name 5, // 19: pb.NSRouteService.findNSRoute:output_type -> pb.FindNSRouteResponse
3, // [3:3] is the sub-list for extension extendee 7, // 20: pb.NSRouteService.findAllNSRoutes:output_type -> pb.FindAllNSRoutesResponse
0, // [0:3] is the sub-list for field type_name 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, // [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
} }
func init() { file_service_ns_route_proto_init() } func init() { file_service_ns_route_proto_init() }
@@ -919,6 +1237,78 @@ func file_service_ns_route_proto_init() {
return nil return nil
} }
} }
file_service_ns_route_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultWorldRegionRoutesRequest); 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[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultWorldRegionRoutesResponse); 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[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultChinaProvinceRoutesRequest); 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[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultChinaProvinceRoutesResponse); 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[15].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[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllDefaultISPRoutesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
} }
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
@@ -926,7 +1316,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: 11, NumMessages: 17,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },
@@ -952,20 +1342,26 @@ const _ = grpc.SupportPackageIsVersion6
// //
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type NSRouteServiceClient interface { type NSRouteServiceClient interface {
// 创建线路 // 创建自定义线路
CreateNSRoute(ctx context.Context, in *CreateNSRouteRequest, opts ...grpc.CallOption) (*CreateNSRouteResponse, error) CreateNSRoute(ctx context.Context, in *CreateNSRouteRequest, opts ...grpc.CallOption) (*CreateNSRouteResponse, error)
// 修改线路 // 修改自定义线路
UpdateNSRoute(ctx context.Context, in *UpdateNSRouteRequest, opts ...grpc.CallOption) (*RPCSuccess, error) UpdateNSRoute(ctx context.Context, in *UpdateNSRouteRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
// 删除线路 // 删除自定义线路
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)
// 读取所有线路 // 读取所有自定义线路
FindAllNSRoutes(ctx context.Context, in *FindAllNSRoutesRequest, opts ...grpc.CallOption) (*FindAllNSRoutesResponse, error) FindAllNSRoutes(ctx context.Context, in *FindAllNSRoutesRequest, opts ...grpc.CallOption) (*FindAllNSRoutesResponse, error)
// 设置线路排序 // 设置自定义线路排序
UpdateNSRouteOrders(ctx context.Context, in *UpdateNSRouteOrdersRequest, opts ...grpc.CallOption) (*RPCSuccess, error) UpdateNSRouteOrders(ctx context.Context, in *UpdateNSRouteOrdersRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
// 根据版本列出一组线路 // 根据版本列出一组自定义线路
ListNSRoutesAfterVersion(ctx context.Context, in *ListNSRoutesAfterVersionRequest, opts ...grpc.CallOption) (*ListNSRoutesAfterVersionResponse, error) ListNSRoutesAfterVersion(ctx context.Context, in *ListNSRoutesAfterVersionRequest, opts ...grpc.CallOption) (*ListNSRoutesAfterVersionResponse, error)
// 查找默认的世界区域线路
FindAllDefaultWorldRegionRoutes(ctx context.Context, in *FindAllDefaultWorldRegionRoutesRequest, opts ...grpc.CallOption) (*FindAllDefaultWorldRegionRoutesResponse, error)
// 查找默认的中国省份线路
FindAllDefaultChinaProvinceRoutes(ctx context.Context, in *FindAllDefaultChinaProvinceRoutesRequest, opts ...grpc.CallOption) (*FindAllDefaultChinaProvinceRoutesResponse, error)
// 查找默认的ISP线路
FindAllDefaultISPRoutes(ctx context.Context, in *FindAllDefaultISPRoutesRequest, opts ...grpc.CallOption) (*FindAllDefaultISPRoutesResponse, error)
} }
type nSRouteServiceClient struct { type nSRouteServiceClient struct {
@@ -1039,22 +1435,55 @@ func (c *nSRouteServiceClient) ListNSRoutesAfterVersion(ctx context.Context, in
return out, nil return out, nil
} }
func (c *nSRouteServiceClient) FindAllDefaultWorldRegionRoutes(ctx context.Context, in *FindAllDefaultWorldRegionRoutesRequest, opts ...grpc.CallOption) (*FindAllDefaultWorldRegionRoutesResponse, error) {
out := new(FindAllDefaultWorldRegionRoutesResponse)
err := c.cc.Invoke(ctx, "/pb.NSRouteService/findAllDefaultWorldRegionRoutes", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nSRouteServiceClient) FindAllDefaultChinaProvinceRoutes(ctx context.Context, in *FindAllDefaultChinaProvinceRoutesRequest, opts ...grpc.CallOption) (*FindAllDefaultChinaProvinceRoutesResponse, error) {
out := new(FindAllDefaultChinaProvinceRoutesResponse)
err := c.cc.Invoke(ctx, "/pb.NSRouteService/findAllDefaultChinaProvinceRoutes", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nSRouteServiceClient) FindAllDefaultISPRoutes(ctx context.Context, in *FindAllDefaultISPRoutesRequest, opts ...grpc.CallOption) (*FindAllDefaultISPRoutesResponse, error) {
out := new(FindAllDefaultISPRoutesResponse)
err := c.cc.Invoke(ctx, "/pb.NSRouteService/findAllDefaultISPRoutes", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// NSRouteServiceServer is the server API for NSRouteService service. // NSRouteServiceServer is the server API for NSRouteService service.
type NSRouteServiceServer interface { type NSRouteServiceServer interface {
// 创建线路 // 创建自定义线路
CreateNSRoute(context.Context, *CreateNSRouteRequest) (*CreateNSRouteResponse, error) CreateNSRoute(context.Context, *CreateNSRouteRequest) (*CreateNSRouteResponse, error)
// 修改线路 // 修改自定义线路
UpdateNSRoute(context.Context, *UpdateNSRouteRequest) (*RPCSuccess, error) UpdateNSRoute(context.Context, *UpdateNSRouteRequest) (*RPCSuccess, error)
// 删除线路 // 删除自定义线路
DeleteNSRoute(context.Context, *DeleteNSRouteRequest) (*RPCSuccess, error) DeleteNSRoute(context.Context, *DeleteNSRouteRequest) (*RPCSuccess, error)
// 获取单个路线信息 // 获取单个自定义路线信息
FindNSRoute(context.Context, *FindNSRouteRequest) (*FindNSRouteResponse, error) FindNSRoute(context.Context, *FindNSRouteRequest) (*FindNSRouteResponse, error)
// 读取所有线路 // 读取所有自定义线路
FindAllNSRoutes(context.Context, *FindAllNSRoutesRequest) (*FindAllNSRoutesResponse, error) FindAllNSRoutes(context.Context, *FindAllNSRoutesRequest) (*FindAllNSRoutesResponse, error)
// 设置线路排序 // 设置自定义线路排序
UpdateNSRouteOrders(context.Context, *UpdateNSRouteOrdersRequest) (*RPCSuccess, error) UpdateNSRouteOrders(context.Context, *UpdateNSRouteOrdersRequest) (*RPCSuccess, error)
// 根据版本列出一组线路 // 根据版本列出一组自定义线路
ListNSRoutesAfterVersion(context.Context, *ListNSRoutesAfterVersionRequest) (*ListNSRoutesAfterVersionResponse, error) ListNSRoutesAfterVersion(context.Context, *ListNSRoutesAfterVersionRequest) (*ListNSRoutesAfterVersionResponse, error)
// 查找默认的世界区域线路
FindAllDefaultWorldRegionRoutes(context.Context, *FindAllDefaultWorldRegionRoutesRequest) (*FindAllDefaultWorldRegionRoutesResponse, error)
// 查找默认的中国省份线路
FindAllDefaultChinaProvinceRoutes(context.Context, *FindAllDefaultChinaProvinceRoutesRequest) (*FindAllDefaultChinaProvinceRoutesResponse, error)
// 查找默认的ISP线路
FindAllDefaultISPRoutes(context.Context, *FindAllDefaultISPRoutesRequest) (*FindAllDefaultISPRoutesResponse, error)
} }
// UnimplementedNSRouteServiceServer can be embedded to have forward compatible implementations. // UnimplementedNSRouteServiceServer can be embedded to have forward compatible implementations.
@@ -1082,6 +1511,15 @@ func (*UnimplementedNSRouteServiceServer) UpdateNSRouteOrders(context.Context, *
func (*UnimplementedNSRouteServiceServer) ListNSRoutesAfterVersion(context.Context, *ListNSRoutesAfterVersionRequest) (*ListNSRoutesAfterVersionResponse, error) { func (*UnimplementedNSRouteServiceServer) ListNSRoutesAfterVersion(context.Context, *ListNSRoutesAfterVersionRequest) (*ListNSRoutesAfterVersionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListNSRoutesAfterVersion not implemented") return nil, status.Errorf(codes.Unimplemented, "method ListNSRoutesAfterVersion not implemented")
} }
func (*UnimplementedNSRouteServiceServer) FindAllDefaultWorldRegionRoutes(context.Context, *FindAllDefaultWorldRegionRoutesRequest) (*FindAllDefaultWorldRegionRoutesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllDefaultWorldRegionRoutes not implemented")
}
func (*UnimplementedNSRouteServiceServer) FindAllDefaultChinaProvinceRoutes(context.Context, *FindAllDefaultChinaProvinceRoutesRequest) (*FindAllDefaultChinaProvinceRoutesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllDefaultChinaProvinceRoutes not implemented")
}
func (*UnimplementedNSRouteServiceServer) FindAllDefaultISPRoutes(context.Context, *FindAllDefaultISPRoutesRequest) (*FindAllDefaultISPRoutesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllDefaultISPRoutes not implemented")
}
func RegisterNSRouteServiceServer(s *grpc.Server, srv NSRouteServiceServer) { func RegisterNSRouteServiceServer(s *grpc.Server, srv NSRouteServiceServer) {
s.RegisterService(&_NSRouteService_serviceDesc, srv) s.RegisterService(&_NSRouteService_serviceDesc, srv)
@@ -1213,6 +1651,60 @@ func _NSRouteService_ListNSRoutesAfterVersion_Handler(srv interface{}, ctx conte
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _NSRouteService_FindAllDefaultWorldRegionRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindAllDefaultWorldRegionRoutesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NSRouteServiceServer).FindAllDefaultWorldRegionRoutes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.NSRouteService/FindAllDefaultWorldRegionRoutes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NSRouteServiceServer).FindAllDefaultWorldRegionRoutes(ctx, req.(*FindAllDefaultWorldRegionRoutesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NSRouteService_FindAllDefaultChinaProvinceRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindAllDefaultChinaProvinceRoutesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NSRouteServiceServer).FindAllDefaultChinaProvinceRoutes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.NSRouteService/FindAllDefaultChinaProvinceRoutes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NSRouteServiceServer).FindAllDefaultChinaProvinceRoutes(ctx, req.(*FindAllDefaultChinaProvinceRoutesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NSRouteService_FindAllDefaultISPRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindAllDefaultISPRoutesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NSRouteServiceServer).FindAllDefaultISPRoutes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.NSRouteService/FindAllDefaultISPRoutes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NSRouteServiceServer).FindAllDefaultISPRoutes(ctx, req.(*FindAllDefaultISPRoutesRequest))
}
return interceptor(ctx, in, info, handler)
}
var _NSRouteService_serviceDesc = grpc.ServiceDesc{ var _NSRouteService_serviceDesc = grpc.ServiceDesc{
ServiceName: "pb.NSRouteService", ServiceName: "pb.NSRouteService",
HandlerType: (*NSRouteServiceServer)(nil), HandlerType: (*NSRouteServiceServer)(nil),
@@ -1245,6 +1737,18 @@ var _NSRouteService_serviceDesc = grpc.ServiceDesc{
MethodName: "listNSRoutesAfterVersion", MethodName: "listNSRoutesAfterVersion",
Handler: _NSRouteService_ListNSRoutesAfterVersion_Handler, Handler: _NSRouteService_ListNSRoutesAfterVersion_Handler,
}, },
{
MethodName: "findAllDefaultWorldRegionRoutes",
Handler: _NSRouteService_FindAllDefaultWorldRegionRoutes_Handler,
},
{
MethodName: "findAllDefaultChinaProvinceRoutes",
Handler: _NSRouteService_FindAllDefaultChinaProvinceRoutes_Handler,
},
{
MethodName: "findAllDefaultISPRoutes",
Handler: _NSRouteService_FindAllDefaultISPRoutes_Handler,
},
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "service_ns_route.proto", Metadata: "service_ns_route.proto",

View File

@@ -26,6 +26,9 @@ service NSDomainService {
// 查找单个域名 // 查找单个域名
rpc findNSDomain (FindNSDomainRequest) returns (FindNSDomainResponse); rpc findNSDomain (FindNSDomainRequest) returns (FindNSDomainResponse);
// 根据域名名称查找域名
rpc findNSDomainWithName(FindNSDomainWithNameRequest) returns (FindNSDomainWithNameResponse);
// 计算域名数量 // 计算域名数量
rpc countAllNSDomains (CountAllNSDomainsRequest) returns (RPCCountResponse); rpc countAllNSDomains (CountAllNSDomainsRequest) returns (RPCCountResponse);
@@ -92,13 +95,22 @@ message DeleteNSDomainsRequest {
// 查找单个域名 // 查找单个域名
message FindNSDomainRequest { message FindNSDomainRequest {
int64 nsDomainId = 1; int64 nsDomainId = 1; // 域名ID
} }
message FindNSDomainResponse { message FindNSDomainResponse {
NSDomain nsDomain = 1; NSDomain nsDomain = 1;
} }
// 根据域名名称查找域名
message FindNSDomainWithNameRequest {
string name = 1;
}
message FindNSDomainWithNameResponse {
NSDomain nsDomain = 1;
}
// 计算域名数量 // 计算域名数量
message CountAllNSDomainsRequest { message CountAllNSDomainsRequest {
int64 userId = 1; int64 userId = 1;

View File

@@ -44,6 +44,9 @@ service NSRecordService {
// 查询单个记录信息 // 查询单个记录信息
rpc findNSRecord (FindNSRecordRequest) returns (FindNSRecordResponse); rpc findNSRecord (FindNSRecordRequest) returns (FindNSRecordResponse);
// 使用名称和类型查询单个记录信息
rpc findNSRecordWithNameAndType(FindNSRecordWithNameAndTypeRequest) returns (FindNSRecordWithNameAndTypeResponse);
// 根据版本列出一组记录 // 根据版本列出一组记录
rpc listNSRecordsAfterVersion (ListNSRecordsAfterVersionRequest) returns (ListNSRecordsAfterVersionResponse); rpc listNSRecordsAfterVersion (ListNSRecordsAfterVersionRequest) returns (ListNSRecordsAfterVersionResponse);
} }
@@ -196,6 +199,17 @@ message FindNSRecordResponse {
NSRecord nsRecord = 1; NSRecord nsRecord = 1;
} }
// 使用名称和类型查询单个记录信息
message FindNSRecordWithNameAndTypeRequest {
int64 nsDomainId = 1;
string name = 2;
string type = 3;
}
message FindNSRecordWithNameAndTypeResponse {
NSRecord nsRecord = 1;
}
// 根据版本列出一组记录 // 根据版本列出一组记录
message ListNSRecordsAfterVersionRequest { message ListNSRecordsAfterVersionRequest {
int64 version = 1; int64 version = 1;

View File

@@ -8,29 +8,38 @@ import "models/rpc_messages.proto";
// 线路相关服务 // 线路相关服务
service NSRouteService { service NSRouteService {
// 创建线路 // 创建自定义线路
rpc createNSRoute (CreateNSRouteRequest) returns (CreateNSRouteResponse); rpc createNSRoute (CreateNSRouteRequest) returns (CreateNSRouteResponse);
// 修改线路 // 修改自定义线路
rpc updateNSRoute (UpdateNSRouteRequest) returns (RPCSuccess); rpc updateNSRoute (UpdateNSRouteRequest) returns (RPCSuccess);
// 删除线路 // 删除自定义线路
rpc deleteNSRoute (DeleteNSRouteRequest) returns (RPCSuccess); rpc deleteNSRoute (DeleteNSRouteRequest) returns (RPCSuccess);
// 获取单个路线信息 // 获取单个自定义路线信息
rpc findNSRoute (FindNSRouteRequest) returns (FindNSRouteResponse); rpc findNSRoute (FindNSRouteRequest) returns (FindNSRouteResponse);
// 读取所有线路 // 读取所有自定义线路
rpc findAllNSRoutes (FindAllNSRoutesRequest) returns (FindAllNSRoutesResponse); rpc findAllNSRoutes (FindAllNSRoutesRequest) returns (FindAllNSRoutesResponse);
// 设置线路排序 // 设置自定义线路排序
rpc updateNSRouteOrders (UpdateNSRouteOrdersRequest) returns (RPCSuccess); rpc updateNSRouteOrders (UpdateNSRouteOrdersRequest) returns (RPCSuccess);
// 根据版本列出一组线路 // 根据版本列出一组自定义线路
rpc listNSRoutesAfterVersion (ListNSRoutesAfterVersionRequest) returns (ListNSRoutesAfterVersionResponse); rpc listNSRoutesAfterVersion (ListNSRoutesAfterVersionRequest) returns (ListNSRoutesAfterVersionResponse);
// 查找默认的世界区域线路
rpc findAllDefaultWorldRegionRoutes(FindAllDefaultWorldRegionRoutesRequest) returns (FindAllDefaultWorldRegionRoutesResponse);
// 查找默认的中国省份线路
rpc findAllDefaultChinaProvinceRoutes(FindAllDefaultChinaProvinceRoutesRequest) returns (FindAllDefaultChinaProvinceRoutesResponse);
// 查找默认的ISP线路
rpc findAllDefaultISPRoutes(FindAllDefaultISPRoutesRequest) returns (FindAllDefaultISPRoutesResponse);
} }
// 创建线路 // 创建自定义线路
message CreateNSRouteRequest { message CreateNSRouteRequest {
int64 nsClusterId = 1; int64 nsClusterId = 1;
int64 nsDomainId = 2; int64 nsDomainId = 2;
@@ -43,19 +52,19 @@ message CreateNSRouteResponse {
int64 nsRouteId = 1; int64 nsRouteId = 1;
} }
// 修改线路 // 修改自定义线路
message UpdateNSRouteRequest { message UpdateNSRouteRequest {
int64 nsRouteId = 1; int64 nsRouteId = 1;
string name = 2; string name = 2;
bytes rangesJSON = 3; bytes rangesJSON = 3;
} }
// 删除线路 // 删除自定义线路
message DeleteNSRouteRequest { message DeleteNSRouteRequest {
int64 nsRouteId = 1; int64 nsRouteId = 1;
} }
// 获取单个路线信息 // 获取单个自定义路线信息
message FindNSRouteRequest { message FindNSRouteRequest {
int64 nsRouteId = 1; int64 nsRouteId = 1;
} }
@@ -64,7 +73,7 @@ message FindNSRouteResponse {
NSRoute nsRoute = 1; NSRoute nsRoute = 1;
} }
// 读取所有线路 // 读取所有自定义线路
message FindAllNSRoutesRequest { message FindAllNSRoutesRequest {
int64 nsClusterId = 1; int64 nsClusterId = 1;
int64 nsDomainId = 2; int64 nsDomainId = 2;
@@ -75,12 +84,12 @@ message FindAllNSRoutesResponse {
repeated NSRoute nsRoutes = 1; repeated NSRoute nsRoutes = 1;
} }
// 设置线路排序 // 设置自定义线路排序
message UpdateNSRouteOrdersRequest { message UpdateNSRouteOrdersRequest {
repeated int64 nsRouteIds = 1; repeated int64 nsRouteIds = 1;
} }
// 根据版本列出一组线路 // 根据版本列出一组自定义线路
message ListNSRoutesAfterVersionRequest { message ListNSRoutesAfterVersionRequest {
int64 version = 1; int64 version = 1;
int64 size = 2; int64 size = 2;
@@ -88,4 +97,31 @@ message ListNSRoutesAfterVersionRequest {
message ListNSRoutesAfterVersionResponse { message ListNSRoutesAfterVersionResponse {
repeated NSRoute nsRoutes = 1; repeated NSRoute nsRoutes = 1;
}
// 查找默认的世界区域线路
message FindAllDefaultWorldRegionRoutesRequest {
}
message FindAllDefaultWorldRegionRoutesResponse {
repeated NSRoute nsRoutes = 1;
}
// 查找默认的中国省份线路
message FindAllDefaultChinaProvinceRoutesRequest {
}
message FindAllDefaultChinaProvinceRoutesResponse {
repeated NSRoute nsRoutes = 1;
}
// 查找默认的ISP线路
message FindAllDefaultISPRoutesRequest {
}
message FindAllDefaultISPRoutesResponse {
repeated NSRoute nsRoutes = 1;
} }