@@ -972,6 +972,133 @@ func (x *ExistAvailableDomainsResponse) GetExist() bool {
return false
}
// 检查域名是否在记录中
type ExistDNSDomainRecordRequest struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
DnsDomainId int64 ` protobuf:"varint,1,opt,name=dnsDomainId,proto3" json:"dnsDomainId,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" ` // 解析类型, 比如A, CNAME等
Route string ` protobuf:"bytes,4,opt,name=route,proto3" json:"route,omitempty" ` // 线路
Value string ` protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty" ` // 值
}
func ( x * ExistDNSDomainRecordRequest ) Reset ( ) {
* x = ExistDNSDomainRecordRequest { }
if protoimpl . UnsafeEnabled {
mi := & file_service_dns_domain_proto_msgTypes [ 19 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * ExistDNSDomainRecordRequest ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ExistDNSDomainRecordRequest ) ProtoMessage ( ) { }
func ( x * ExistDNSDomainRecordRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_service_dns_domain_proto_msgTypes [ 19 ]
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 ExistDNSDomainRecordRequest.ProtoReflect.Descriptor instead.
func ( * ExistDNSDomainRecordRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_service_dns_domain_proto_rawDescGZIP ( ) , [ ] int { 19 }
}
func ( x * ExistDNSDomainRecordRequest ) GetDnsDomainId ( ) int64 {
if x != nil {
return x . DnsDomainId
}
return 0
}
func ( x * ExistDNSDomainRecordRequest ) GetName ( ) string {
if x != nil {
return x . Name
}
return ""
}
func ( x * ExistDNSDomainRecordRequest ) GetType ( ) string {
if x != nil {
return x . Type
}
return ""
}
func ( x * ExistDNSDomainRecordRequest ) GetRoute ( ) string {
if x != nil {
return x . Route
}
return ""
}
func ( x * ExistDNSDomainRecordRequest ) GetValue ( ) string {
if x != nil {
return x . Value
}
return ""
}
type ExistDNSDomainRecordResponse struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
IsOk bool ` protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty" `
}
func ( x * ExistDNSDomainRecordResponse ) Reset ( ) {
* x = ExistDNSDomainRecordResponse { }
if protoimpl . UnsafeEnabled {
mi := & file_service_dns_domain_proto_msgTypes [ 20 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * ExistDNSDomainRecordResponse ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ExistDNSDomainRecordResponse ) ProtoMessage ( ) { }
func ( x * ExistDNSDomainRecordResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_service_dns_domain_proto_msgTypes [ 20 ]
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 ExistDNSDomainRecordResponse.ProtoReflect.Descriptor instead.
func ( * ExistDNSDomainRecordResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_service_dns_domain_proto_rawDescGZIP ( ) , [ ] int { 20 }
}
func ( x * ExistDNSDomainRecordResponse ) GetIsOk ( ) bool {
if x != nil {
return x . IsOk
}
return false
}
var File_service_dns_domain_proto protoreflect . FileDescriptor
var file_service_dns_domain_proto_rawDesc = [ ] byte {
@@ -1075,79 +1202,97 @@ var file_service_dns_domain_proto_rawDesc = []byte{
0x1d , 0x45 , 0x78 , 0x69 , 0x73 , 0x74 , 0x41 , 0x76 , 0x61 , 0x69 , 0x6c , 0x61 , 0x62 , 0x6c , 0x65 , 0x44 ,
0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x14 ,
0x0a , 0x05 , 0x65 , 0x78 , 0x69 , 0x73 , 0x74 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x05 , 0x65 ,
0x78 , 0x69 , 0x73 , 0x74 , 0x3 2 , 0xf2 , 0x08 , 0x0a , 0x10 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 ,
0x69 , 0x6e , 0x53 , 0x65 , 0x72 , 0x7 6 , 0x69 , 0x63 , 0x65 , 0x12 , 0x4a , 0x0a , 0x0f , 0x63 , 0x72 , 0x65 ,
0x61 , 0x74 , 0x65 , 0x4 4 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x12 , 0x1a , 0x2e , 0x70 ,
0x62 , 0x2e , 0x43 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x44 , 0x4e , 0x53 , 0x4 4 , 0x6f , 0x6d , 0x61 , 0x69 ,
0x6e , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1 a , 0x1b , 0x2 e , 0x70 , 0x62 , 0x2e , 0x43 , 0x7 2 ,
0x65 , 0x6 1 , 0x74 , 0x65 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x65 , 0x73 ,
0x70 , 0x6f , 0x6e , 0x7 3 , 0x65 , 0x12 , 0x3d , 0x0a , 0x0f , 0x75 , 0x70 , 0x64 , 0x61 , 0x74 , 0x65 , 0x4 4 ,
0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x12 , 0x1a , 0x2e , 0x70 , 0x62 , 0x2e , 0x5 5 , 0x70 ,
0x64 , 0x61 , 0x74 , 0x65 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x6 5 , 0x71 ,
0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x0e , 0x2e , 0x70 , 0x62 , 0x2e , 0x5 2 , 0x50 , 0x43 , 0x53 , 0x7 5 , 0x63 ,
0x63 , 0x65 , 0x73 , 0x73 , 0x12 , 0x3d , 0x0a , 0x0 f , 0x64 , 0x65 , 0x6c , 0x65 , 0x74 , 0x65 , 0x44 , 0x4e ,
0x53 , 0x4 4 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x12 , 0x1a , 0x2e , 0x70 , 0x6 2 , 0x2e , 0x4 4 , 0x65 , 0x6c ,
0x65 , 0x74 , 0x65 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x65 , 0x71 , 0x75 ,
0x65 , 0x73 , 0x74 , 0x1a , 0x0 e , 0x2e , 0x70 , 0x62 , 0x2e , 0x52 , 0x50 , 0x43 , 0x53 , 0x7 5 , 0x63 , 0x63 ,
0x65 , 0x7 3 , 0x73 , 0x12 , 0x59 , 0x0a , 0x14 , 0x66 , 0x69 , 0x6e , 0x64 , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c ,
0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x1 2 , 0x1f , 0x2e , 0x70 , 0x62 ,
0x2e , 0x4 6 , 0x69 , 0x6 e , 0x64 , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 ,
0x6f , 0x6d , 0x6 1 , 0x69 , 0x6 e , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x20 , 0x2e , 0x70 ,
0x62 , 0x2e , 0x4 6 , 0x69 , 0x6e , 0x64 , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 ,
0x44 , 0x6f , 0x6d , 0x61, 0x69 , 0x6e , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x68 ,
0x0a , 0x19 , 0x66 , 0x69 , 0x6 e , 0x64 , 0x45 , 0x6 e , 0x61 , 0x62 , 0x6c , 0x65 , 0x6 4 , 0x42 , 0x61 , 0x73 ,
0x69 , 0x6 3 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x12 , 0x24 , 0x2e , 0x70 , 0x62 ,
0x78 , 0x69 , 0x73 , 0x74 , 0x2 2 , 0x93 , 0x01 , 0x0a , 0x1b , 0x45 , 0x78 , 0x69 , 0x73 , 0x74 , 0x44 , 0x4e ,
0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x65 , 0x63 , 0x6f , 0x72 , 0x64 , 0x52 , 0x65 , 0x71 ,
0x75 , 0x65 , 0x73 , 0x7 4 , 0x12 , 0x20 , 0x0a , 0x0b , 0x64 , 0x6e , 0x73 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 ,
0x6e , 0x49 , 0x6 4 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x0b , 0x6 4 , 0x6e , 0x73 , 0x44 , 0x6f ,
0x6d , 0x61 , 0x69 , 0x6e , 0x49 , 0x64 , 0x12 , 0x12 , 0x0 a , 0x04 , 0x6 e , 0x61 , 0x6d , 0x65 , 0x18 , 0x0 2 ,
0x20 , 0x0 1 , 0x28 , 0x09 , 0x52 , 0x0 4 , 0x6e , 0x61 , 0x6d , 0x65 , 0x12 , 0x12 , 0x0a , 0x04 , 0x74 , 0x79 ,
0x70 , 0x65 , 0x18 , 0x0 3 , 0x20 , 0x0 1 , 0x28 , 0x09 , 0x52 , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x12 , 0x1 4 ,
0x0a , 0x0 5 , 0x72 , 0x6f , 0x75 , 0x74 , 0x65 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x09 , 0x5 2 , 0x0 5 , 0x72 ,
0x6f , 0x75 , 0x74 , 0x65 , 0x12 , 0x1 4 , 0x0a , 0x05 , 0x7 6 , 0x61 , 0x6c , 0x75 , 0x65 , 0x18 , 0x0 5 , 0x20 ,
0x01 , 0x28 , 0x09 , 0x52 , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x2 2 , 0x32 , 0x0a , 0x1c , 0x4 5 , 0x78 ,
0x69 , 0x73 , 0x74 , 0x44 , 0x4e , 0x5 3 , 0x44 , 0x6 f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x65 , 0x63 , 0x6f ,
0x72 , 0x6 4 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x1 2 , 0x0a , 0x0 4 , 0x69 , 0x73 ,
0x4f , 0x6b , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x04 , 0x69 , 0x73 , 0x4f , 0x6b , 0x32 , 0xcd ,
0x09 , 0x0a , 0x10 , 0x44 , 0x4 e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x53 , 0x6 5 , 0x72 , 0x7 6 ,
0x69 , 0x6 3 , 0x65 , 0x12 , 0x4a , 0x0a , 0x0f , 0x63 , 0x72 , 0x65 , 0x61 , 0x7 4 , 0x65 , 0x44 , 0x4e , 0x53 ,
0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x12 , 0x1a , 0x2e , 0x70 , 0x62 , 0x2e , 0x43 , 0x7 2 , 0x65 , 0x61 ,
0x74 , 0x65 , 0x44 , 0x4 e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x65 , 0x71 , 0x7 5 , 0x65 ,
0x73 , 0x74 , 0x1a , 0x1b , 0x2 e , 0x70 , 0x62 , 0x2e , 0x43 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x44 , 0x4e ,
0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 ,
0x3d , 0x0a , 0x0f , 0x75 , 0x70 , 0x64 , 0x61 , 0x74 , 0x65 , 0x44 , 0x4e , 0x53 , 0x 44 , 0x6f , 0x6d , 0x61 ,
0x69 , 0x6e , 0x12 , 0x1a , 0x2 e , 0x70 , 0x62 , 0x2 e , 0x55 , 0x70 , 0x64 , 0x61 , 0x7 4 , 0x65 , 0x44 , 0x4e ,
0x5 3 , 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 , 0x3d ,
0x0a , 0x0f , 0x64 , 0x65 , 0x6c , 0x65 , 0x74 , 0x65 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 ,
0x6e , 0x12 , 0x1a , 0x2e , 0x70 , 0x62 , 0x2e , 0x44 , 0x65 , 0x6c , 0x65 , 0x74 , 0x65 , 0x44 , 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 , 0x59 , 0x0a ,
0x14 , 0x66 , 0x69 , 0x6e , 0x64 , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 ,
0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x12 , 0x1f , 0x2e , 0x70 , 0x62 , 0x2e , 0x46 , 0x69 , 0x6e , 0x64 , 0x45 ,
0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 ,
0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x20 , 0x2e , 0x70 , 0x62 , 0x2e , 0x46 , 0x69 , 0x6e , 0x64 ,
0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e ,
0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x68 , 0x0a , 0x19 , 0x66 , 0x69 , 0x6e , 0x64 ,
0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x42 , 0x61 , 0x73 , 0x69 , 0x63 , 0x44 , 0x4e , 0x53 , 0x44 ,
0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x12 , 0x24 , 0x2e , 0x70 , 0x62 , 0x2e , 0x46 , 0x69 , 0x6e , 0x64 , 0x45 ,
0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x42 , 0x61 , 0x73 , 0x69 , 0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f ,
0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x25 , 0x2e , 0x70 , 0x62 ,
0x2e , 0x46 , 0x69 , 0x6e , 0x64 , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x42 , 0x61 , 0x73 , 0x69 ,
0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 ,
0x74 , 0x1a , 0x25 , 0x2e , 0x7 0 , 0x6 2 , 0x2e , 0x4 6 , 0x69 , 0x6e , 0x6 4 , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c ,
0x65 , 0x64 , 0x42 , 0x61 , 0x73 , 0x69 , 0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e ,
0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x79 , 0x0a , 0x2a , 0x63 , 0x6f , 0x75 , 0x6e ,
0x74 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f ,
0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 , 0x69 , 0x74 , 0x68 , 0x44 , 0x4e , 0x53 , 0x50 , 0x72 , 0x6f , 0x76 ,
0x69 , 0x64 , 0x65 , 0x72 , 0x49 , 0x64 , 0x12 , 0x35 , 0x2e , 0x70 , 0x62 , 0x2e , 0x43 , 0x6f , 0x75 , 0x6e ,
0x74 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f ,
0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 , 0x69 , 0x74 , 0x68 , 0x44 , 0x4e , 0x53 , 0x50 , 0x72 , 0x6f , 0x76 ,
0x69 , 0x64 , 0x65 , 0x72 , 0x49 , 0x64 , 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 , 0x98 , 0x01 , 0x0a , 0x29 , 0x66 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x45 ,
0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 ,
0x57 , 0x69 , 0x74 , 0x68 , 0x44 , 0x4e , 0x53 , 0x50 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x49 ,
0x64 , 0x12 , 0x34 , 0x2e , 0x70 , 0x62 , 0x2e , 0x46 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e ,
0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e ,
0x73 , 0x65 , 0x1 2 , 0x79 , 0x0a , 0x2a , 0x63 , 0x6f , 0x75 , 0x6e , 0x7 4 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e ,
0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 ,
0x69 , 0x74 , 0x68 , 0x44 , 0x4e , 0x53 , 0x50 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x49 , 0x64 ,
0x5 2 , 0x6 5 , 0x71 , 0x75 , 0x65 , 0x73 , 0x7 4 , 0x1a , 0x3 5 , 0x2 e , 0x70 , 0x62 , 0x2e , 0x4 6 , 0x69 , 0x6e ,
0x64 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e , 0x61, 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f ,
0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 , 0x69 , 0x74 , 0x68 , 0x44 , 0x4e , 0x53 , 0x50 , 0x72 , 0x6f , 0x76 ,
0x69 , 0x64 , 0x65 , 0x72 , 0x49 , 0x64 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0xa7 ,
0x01 , 0x0a , 0x2e , 0x66 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 ,
0x64 , 0x42 , 0x61 , 0x73 , 0x69 , 0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 ,
0x57 , 0x69 , 0x74 , 0x68 , 0x44 , 0x4e , 0x53 , 0x50 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x49 ,
0x64 , 0x12 , 0x39 , 0x2e , 0x70 , 0x62 , 0x2e , 0x46 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e ,
0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x42 , 0x61 , 0x73 , 0x69 , 0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d ,
0x61 , 0x69 , 0x6e , 0x73 , 0x57 , 0x69 , 0x74 , 0x68 , 0x44 , 0x4e , 0x53 , 0x50 , 0x72 , 0x6f , 0x76 , 0x69 ,
0x64 , 0x65 , 0x72 , 0x49 , 0x64 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x3a , 0x2e , 0x70 ,
0x62 , 0x2e , 0x46 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 ,
0x42 , 0x61 , 0x73 , 0x69 , 0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 ,
0x1 2 , 0x3 5 , 0x2e , 0x70 , 0x62 , 0x2e , 0x43 , 0x6f , 0x7 5 , 0x6 e , 0x74 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e ,
0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 ,
0x69 , 0x74 , 0x68 , 0x44 , 0x4e , 0x53 , 0x50 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x49 , 0x64 ,
0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x50 , 0x0a , 0x11 , 0x73 , 0x79 , 0x6e , 0x6 3 ,
0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x44 , 0x61 , 0x74 , 0x61 , 0x12 , 0x1c , 0x2e ,
0x7 0 , 0x6 2 , 0x2e , 0x53 , 0x79 , 0x6e , 0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e ,
0x44 , 0x61 , 0x74 , 0x61 , 0x52 , 0x65 , 0x7 1 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x1d , 0x2e , 0x70 , 0x62 ,
0x2e , 0x53 , 0x79 , 0x6e , 0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x6 1 , 0x69 , 0x6 e , 0x44 , 0x61 ,
0x74 , 0x61 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x5f , 0x0a , 0x1 6 , 0x66 , 0x69 ,
0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x44 , 0x4e, 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x6f ,
0x7 5 , 0x74 , 0x65 , 0x73 , 0x12 , 0x21 , 0x2e , 0x70 , 0x62 , 0x2e , 0x46 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c ,
0x6c , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x6f , 0x75 , 0x74 , 0x6 5 , 0x73 ,
0x52 , 0x65 , 0x71 , 0x7 5 , 0x65 , 0x73 , 0x7 4 , 0x1a , 0x22 , 0x2e , 0x70 , 0x62 , 0x2e , 0x4 6 , 0x69 , 0x6e ,
0x64 , 0x41 , 0x6c , 0x6c , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x5 2 , 0x6f , 0x75 ,
0x74 , 0x65 , 0x73 , 0x52, 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x5c , 0x0a , 0x15 , 0x65 ,
0x78 , 0x69 , 0x73 , 0x74 , 0x41 , 0x7 6 , 0x61 , 0x69 , 0x6c , 0x61 , 0x62 , 0x6c , 0x65 , 0x44 , 0x6f , 0x6d ,
0x61 , 0x69 , 0x6e , 0x73 , 0x12 , 0x20 , 0x2e , 0x70 , 0x62 , 0x2e , 0x45 , 0x78 , 0x69 , 0x73 , 0x7 4 , 0x41 ,
0x76 , 0x61 , 0x69 , 0x6c , 0x61 , 0x62 , 0x6c , 0x65 , 0x44 , 0x6f , 0x6d , 0x6 1 , 0x6 9 , 0x6 e , 0x73 , 0x5 2 ,
0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x7 4 , 0x1a , 0x21 , 0x2e , 0x70 , 0x62 , 0x2e , 0x45 , 0x78 , 0x69 , 0x73 ,
0x74 , 0x41 , 0x7 6 , 0x61 , 0x69 , 0x6c , 0x61 , 0x62 , 0x6c , 0x6 5 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e ,
0x73 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x42 , 0x0 6 , 0x5a , 0x04 , 0x2e , 0x2f , 0x70 ,
0x62 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x7 4 , 0x6f , 0x33 ,
0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x14 , 0x2e , 0x7 0 , 0x62 , 0x2e , 0x52 , 0x50 , 0x4 3 ,
0x43 , 0x6f , 0x7 5 , 0x6e , 0x74 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x98 , 0x01 ,
0x0a , 0x29 , 0x66 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x4 5 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 ,
0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x6 1 , 0x69 , 0x6e , 0x73 , 0x5 7 , 0x69 , 0x74 , 0x68 , 0x44 , 0x4e ,
0x53 , 0x50 , 0x72 , 0x6f , 0x7 6 , 0x69 , 0x6 4 , 0x6 5 , 0x72 , 0x49 , 0x64 , 0x12 , 0x34 , 0x2 e , 0x70 , 0x62 ,
0x2e , 0x4 6 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e , 0x6 1 , 0x62 , 0x6c , 0x65 , 0x64 , 0x44 ,
0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 , 0x69 , 0x74 , 0x68 , 0x44 , 0x4e , 0x53 ,
0x50 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x49 , 0x64 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 ,
0x74 , 0x1a , 0x35 , 0x2e , 0x70 , 0x62 , 0x2e , 0x4 6 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x4 5 , 0x6e ,
0x61 , 0x62 , 0x6c , 0x6 5 , 0x64 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 ,
0x69 , 0x7 4 , 0x68 , 0x44 , 0x4e , 0x53 , 0x50 , 0x72 , 0x6f , 0x7 6 , 0x69 , 0x64 , 0x65 , 0x7 2 , 0x49 , 0x64 ,
0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0xa7 , 0x01 , 0x0a , 0x2e , 0x66 , 0x69 , 0x6e ,
0x64 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x42 , 0x61 , 0x73 , 0x69 , 0x63 ,
0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 , 0x69 , 0x74 , 0x68 , 0x4 4 , 0x4e ,
0x53 , 0x50 , 0x72 , 0x6f , 0x7 6 , 0x69 , 0x64 , 0x65 , 0x72 , 0x49 , 0x64 , 0x12 , 0x3 9 , 0x2 e , 0x70 , 0x6 2 ,
0x2e , 0x46 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x42 ,
0x61 , 0x73 , 0x69 , 0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 , 0x69 ,
0x74 , 0x68 , 0x44 , 0x4e , 0x53 , 0x50 , 0x72 , 0x6f , 0x7 6 , 0x69 , 0x64 , 0x6 5 , 0x72 , 0x49 , 0x64 , 0x52 ,
0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x3a , 0x2e , 0x70 , 0x62 , 0x2e , 0x46 , 0x69 , 0x6e , 0x64 ,
0x41 , 0x6c , 0x6c , 0x45 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x64 , 0x42 , 0x61 , 0x73 , 0x69 , 0x63 , 0x44 ,
0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x57 , 0x69 , 0x74 , 0x68 , 0x44 , 0x4e , 0x53 ,
0x50 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x49 , 0x64 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e ,
0x73 , 0x65 , 0x12 , 0x50 , 0x0a , 0x11 , 0x73 , 0x79 , 0x6e , 0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d ,
0x61 , 0x69 , 0x6e , 0x44 , 0x61 , 0x74 , 0x61 , 0x12 , 0x1c , 0x2e , 0x70 , 0x62 , 0x2e , 0x53 , 0x79 , 0x6e ,
0x63 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x44 , 0x61 , 0x74 , 0x61 , 0x52 , 0x65 ,
0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x1d , 0x2e , 0x70 , 0x62 , 0x2e , 0x53 , 0x79 , 0x6e , 0x63 , 0x44 ,
0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x44 , 0x61 , 0x74 , 0x61 , 0x52 , 0x65 , 0x73 , 0x70 ,
0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x5f , 0x0a , 0x16 , 0x66 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x44 ,
0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x6f , 0x75 , 0x74 , 0x65 , 0x73 , 0x12 , 0x21 ,
0x2e , 0x70 , 0x62 , 0x2e , 0x46 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f ,
0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x6f , 0x75 , 0x74 , 0x65 , 0x73 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 ,
0x74 , 0x1a , 0x22 , 0x2e , 0x70 , 0x62 , 0x2e , 0x46 , 0x69 , 0x6e , 0x64 , 0x41 , 0x6c , 0x6c , 0x44 , 0x4e ,
0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x6f , 0x75 , 0x74 , 0x65 , 0x73 , 0x52 , 0x65 , 0x73 ,
0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x5c , 0x0a , 0x15 , 0x65 , 0x78 , 0x69 , 0x73 , 0x74 , 0x41 , 0x76 ,
0x61 , 0x69 , 0x6c , 0x61 , 0x62 , 0x6c , 0x65 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x12 , 0x20 ,
0x2e , 0x70 , 0x62 , 0x2e , 0x45 , 0x78 , 0x69 , 0x73 , 0x74 , 0x41 , 0x76 , 0x61 , 0x69 , 0x6c , 0x61 , 0x62 ,
0x6c , 0x65 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 ,
0x1a , 0x21 , 0x2e , 0x70 , 0x62 , 0x2e , 0x45 , 0x78 , 0x69 , 0x73 , 0x74 , 0x41 , 0x76 , 0x61 , 0x69 , 0x6c ,
0x61 , 0x62 , 0x6c , 0x65 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x73 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f ,
0x6e , 0x73 , 0x65 , 0x12 , 0x59 , 0x0a , 0x14 , 0x65 , 0x78 , 0x69 , 0x73 , 0x74 , 0x44 , 0x4e , 0x53 , 0x44 ,
0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 , 0x65 , 0x63 , 0x6f , 0x72 , 0x64 , 0x12 , 0x1f , 0x2e , 0x70 , 0x62 ,
0x2e , 0x45 , 0x78 , 0x69 , 0x73 , 0x74 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e , 0x52 ,
0x65 , 0x63 , 0x6f , 0x72 , 0x64 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x20 , 0x2e , 0x70 ,
0x62 , 0x2e , 0x45 , 0x78 , 0x69 , 0x73 , 0x74 , 0x44 , 0x4e , 0x53 , 0x44 , 0x6f , 0x6d , 0x61 , 0x69 , 0x6e ,
0x52 , 0x65 , 0x63 , 0x6f , 0x72 , 0x64 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x42 , 0x06 ,
0x5a , 0x04 , 0x2e , 0x2f , 0x70 , 0x62 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
}
var (
@@ -1162,7 +1307,7 @@ func file_service_dns_domain_proto_rawDescGZIP() []byte {
return file_service_dns_domain_proto_rawDescData
}
var file_service_dns_domain_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 19 )
var file_service_dns_domain_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 2 1)
var file_service_dns_domain_proto_goTypes = [ ] interface { } {
( * CreateDNSDomainRequest ) ( nil ) , // 0: pb.CreateDNSDomainRequest
( * CreateDNSDomainResponse ) ( nil ) , // 1: pb.CreateDNSDomainResponse
@@ -1183,17 +1328,19 @@ var file_service_dns_domain_proto_goTypes = []interface{}{
( * FindAllDNSDomainRoutesResponse ) ( nil ) , // 16: pb.FindAllDNSDomainRoutesResponse
( * ExistAvailableDomainsRequest ) ( nil ) , // 17: pb.ExistAvailableDomainsRequest
( * ExistAvailableDomainsResponse ) ( nil ) , // 18: pb.ExistAvailableDomainsResponse
( * DNSDomain ) ( nil ) , // 19: pb.DNSDomain
( * DNSRout e) ( nil ) , // 20: pb.DNSRout e
( * RPCSuccess ) ( nil ) , // 21: pb.RPCSuccess
( * RPCCountRespons e) ( nil ) , // 22: pb.RPCCountRespons e
( * Exist DNSDomainRecordRequest ) ( nil ) , // 19: pb.Exist DNSDomainRecordRequest
( * ExistDNSDomainRecordRespons e) ( nil ) , // 20: pb.ExistDNSDomainRecordRespons e
( * DNSDomain ) ( nil ) , // 21: pb.DNSDomain
( * DNSRout e) ( nil ) , // 22: pb.DNSRout e
( * RPCSuccess ) ( nil ) , // 23: pb.RPCSuccess
( * RPCCountResponse ) ( nil ) , // 24: pb.RPCCountResponse
}
var file_service_dns_domain_proto_depIdxs = [ ] int32 {
19 , // 0: pb.FindEnabledDNSDomainResponse.dnsDomain:type_name -> pb.DNSDomain
19 , // 1: pb.FindEnabledBasicDNSDomainResponse.dnsDomain:type_name -> pb.DNSDomain
19 , // 2: pb.FindAllEnabledDNSDomainsWithDNSProviderIdResponse.dnsDomains:type_name -> pb.DNSDomain
19 , // 3: pb.FindAllEnabledBasicDNSDomainsWithDNSProviderIdResponse.dnsDomains:type_name -> pb.DNSDomain
20 , // 4: pb.FindAllDNSDomainRoutesResponse.routes:type_name -> pb.DNSRoute
2 1, // 0: pb.FindEnabledDNSDomainResponse.dnsDomain:type_name -> pb.DNSDomain
2 1, // 1: pb.FindEnabledBasicDNSDomainResponse.dnsDomain:type_name -> pb.DNSDomain
2 1, // 2: pb.FindAllEnabledDNSDomainsWithDNSProviderIdResponse.dnsDomains:type_name -> pb.DNSDomain
2 1, // 3: pb.FindAllEnabledBasicDNSDomainsWithDNSProviderIdResponse.dnsDomains:type_name -> pb.DNSDomain
22 , // 4: pb.FindAllDNSDomainRoutesResponse.routes:type_name -> pb.DNSRoute
0 , // 5: pb.DNSDomainService.createDNSDomain:input_type -> pb.CreateDNSDomainRequest
2 , // 6: pb.DNSDomainService.updateDNSDomain:input_type -> pb.UpdateDNSDomainRequest
3 , // 7: pb.DNSDomainService.deleteDNSDomain:input_type -> pb.DeleteDNSDomainRequest
@@ -1205,19 +1352,21 @@ var file_service_dns_domain_proto_depIdxs = []int32{
13 , // 13: pb.DNSDomainService.syncDNSDomainData:input_type -> pb.SyncDNSDomainDataRequest
15 , // 14: pb.DNSDomainService.findAllDNSDomainRoutes:input_type -> pb.FindAllDNSDomainRoutesRequest
17 , // 15: pb.DNSDomainService.existAvailableDomains:input_type -> pb.ExistAvailableDomainsRequest
1 , // 16: pb.DNSDomainService.create DNSDomain:out put_type -> pb.Create DNSDomainResponse
2 1, // 17: pb.DNSDomainService.upd ateDNSDomain:output_type -> pb.RPCSuccess
21 , // 18: pb.DNSDomainService.dele teDNSDomain:output_type -> pb.RPCSuccess
5 , // 19: pb.DNSDomainService.findEnabled DNSDomain:output_type -> pb.FindEnabledDNSDomainResponse
7 , // 20: pb.DNSDomainService.findEnabledBasic DNSDomain:output_type -> pb.FindEnabledBasic DNSDomainResponse
22 , // 21: pb.DNSDomainService.countAll EnabledDNSDomainsWithDNSProviderId :output_type -> pb.RPCCount Response
10 , // 22: pb.DNSDomainService.find AllEnabledDNSDomainsWithDNSProviderId:output_type -> pb.FindAllEnabledDNSDomainsWithDNSProviderId Response
12 , // 23: pb.DNSDomainService.findAllEnabledBasic DNSDomainsWithDNSProviderId:output_type -> pb.FindAllEnabledBasic DNSDomainsWithDNSProviderIdResponse
14 , // 24: pb.DNSDomainService.syncDNSDomainData:output_type -> pb.SyncDNSDomainData Response
16 , // 25: pb.DNSDomainService.findAll DNSDomainRoutes :output_type -> pb.FindAll DNSDomainRoutes Response
18 , // 26: pb.DNSDomainService.existAvailable Domains:output_type -> pb.ExistAvailable DomainsResponse
16 , // [16:27] is the sub-list for method output_typ e
5 , // [5:16] is the sub-list for method input_typ e
19 , // 16: pb.DNSDomainService.exist DNSDomainRecord:in put_type -> pb.Exist DNSDomainRecordRequest
1 , // 17: pb.DNSDomainService.cre ateDNSDomain:output_type -> pb.CreateDNSDomainResponse
23 , // 18: pb.DNSDomainService.upda teDNSDomain:output_type -> pb.RPCSuccess
23 , // 19: pb.DNSDomainService.delete DNSDomain:output_type -> pb.RPCSuccess
5 , // 20: pb.DNSDomainService.findEnabledDNSDomain:output_type -> pb.FindEnabledDNSDomainResponse
7 , // 21: pb.DNSDomainService.find EnabledBasic DNSDomain:output_type -> pb.FindEnabledBasicDNSDomain Response
24 , // 22: pb.DNSDomainService.count AllEnabledDNSDomainsWithDNSProviderId:output_type -> pb.RPCCount Response
10 , // 23: pb.DNSDomainService.findAllEnabledDNSDomainsWithDNSProviderId:output_type -> pb.FindAllEnabledDNSDomainsWithDNSProviderIdResponse
12 , // 24: pb.DNSDomainService.findAllEnabledBasicDNSDomainsWithDNSProviderId:output_type -> pb.FindAllEnabledBasicDNSDomainsWithDNSProviderId Response
14 , // 25: pb.DNSDomainService.sync DNSDomainData :output_type -> pb.Sync DNSDomainData Response
16 , // 26: pb.DNSDomainService.findAllDNS DomainRoute s:output_type -> pb.FindAllDNS DomainRoute sResponse
18 , // 27: pb.DNSDomainService.existAvailableDomains:output_type -> pb.ExistAvailableDomainsRespons e
20 , // 28: pb.DNSDomainService.existDNSDomainRecord:output_type -> pb.ExistDNSDomainRecordRespons e
17 , // [17:29] is the sub-list for method output_type
5 , // [5:17] 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
@@ -1460,6 +1609,30 @@ func file_service_dns_domain_proto_init() {
return nil
}
}
file_service_dns_domain_proto_msgTypes [ 19 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * ExistDNSDomainRecordRequest ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_service_dns_domain_proto_msgTypes [ 20 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * ExistDNSDomainRecordResponse ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
}
type x struct { }
out := protoimpl . TypeBuilder {
@@ -1467,7 +1640,7 @@ func file_service_dns_domain_proto_init() {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
RawDescriptor : file_service_dns_domain_proto_rawDesc ,
NumEnums : 0 ,
NumMessages : 19 ,
NumMessages : 2 1,
NumExtensions : 0 ,
NumServices : 1 ,
} ,
@@ -1515,6 +1688,8 @@ type DNSDomainServiceClient interface {
FindAllDNSDomainRoutes ( ctx context . Context , in * FindAllDNSDomainRoutesRequest , opts ... grpc . CallOption ) ( * FindAllDNSDomainRoutesResponse , error )
// 判断是否有域名可选
ExistAvailableDomains ( ctx context . Context , in * ExistAvailableDomainsRequest , opts ... grpc . CallOption ) ( * ExistAvailableDomainsResponse , error )
// 检查域名是否在记录中
ExistDNSDomainRecord ( ctx context . Context , in * ExistDNSDomainRecordRequest , opts ... grpc . CallOption ) ( * ExistDNSDomainRecordResponse , error )
}
type dNSDomainServiceClient struct {
@@ -1624,6 +1799,15 @@ func (c *dNSDomainServiceClient) ExistAvailableDomains(ctx context.Context, in *
return out , nil
}
func ( c * dNSDomainServiceClient ) ExistDNSDomainRecord ( ctx context . Context , in * ExistDNSDomainRecordRequest , opts ... grpc . CallOption ) ( * ExistDNSDomainRecordResponse , error ) {
out := new ( ExistDNSDomainRecordResponse )
err := c . cc . Invoke ( ctx , "/pb.DNSDomainService/existDNSDomainRecord" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
// DNSDomainServiceServer is the server API for DNSDomainService service.
type DNSDomainServiceServer interface {
// 创建域名
@@ -1648,6 +1832,8 @@ type DNSDomainServiceServer interface {
FindAllDNSDomainRoutes ( context . Context , * FindAllDNSDomainRoutesRequest ) ( * FindAllDNSDomainRoutesResponse , error )
// 判断是否有域名可选
ExistAvailableDomains ( context . Context , * ExistAvailableDomainsRequest ) ( * ExistAvailableDomainsResponse , error )
// 检查域名是否在记录中
ExistDNSDomainRecord ( context . Context , * ExistDNSDomainRecordRequest ) ( * ExistDNSDomainRecordResponse , error )
}
// UnimplementedDNSDomainServiceServer can be embedded to have forward compatible implementations.
@@ -1687,6 +1873,9 @@ func (*UnimplementedDNSDomainServiceServer) FindAllDNSDomainRoutes(context.Conte
func ( * UnimplementedDNSDomainServiceServer ) ExistAvailableDomains ( context . Context , * ExistAvailableDomainsRequest ) ( * ExistAvailableDomainsResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ExistAvailableDomains not implemented" )
}
func ( * UnimplementedDNSDomainServiceServer ) ExistDNSDomainRecord ( context . Context , * ExistDNSDomainRecordRequest ) ( * ExistDNSDomainRecordResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ExistDNSDomainRecord not implemented" )
}
func RegisterDNSDomainServiceServer ( s * grpc . Server , srv DNSDomainServiceServer ) {
s . RegisterService ( & _DNSDomainService_serviceDesc , srv )
@@ -1890,6 +2079,24 @@ func _DNSDomainService_ExistAvailableDomains_Handler(srv interface{}, ctx contex
return interceptor ( ctx , in , info , handler )
}
func _DNSDomainService_ExistDNSDomainRecord_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ExistDNSDomainRecordRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( DNSDomainServiceServer ) . ExistDNSDomainRecord ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/pb.DNSDomainService/ExistDNSDomainRecord" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( DNSDomainServiceServer ) . ExistDNSDomainRecord ( ctx , req . ( * ExistDNSDomainRecordRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
var _DNSDomainService_serviceDesc = grpc . ServiceDesc {
ServiceName : "pb.DNSDomainService" ,
HandlerType : ( * DNSDomainServiceServer ) ( nil ) ,
@@ -1938,6 +2145,10 @@ var _DNSDomainService_serviceDesc = grpc.ServiceDesc{
MethodName : "existAvailableDomains" ,
Handler : _DNSDomainService_ExistAvailableDomains_Handler ,
} ,
{
MethodName : "existDNSDomainRecord" ,
Handler : _DNSDomainService_ExistDNSDomainRecord_Handler ,
} ,
} ,
Streams : [ ] grpc . StreamDesc { } ,
Metadata : "service_dns_domain.proto" ,