2021-05-27 17:08:57 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.25.0
|
2022-03-04 15:44:39 +08:00
|
|
|
// protoc v3.19.4
|
2021-05-27 17:08:57 +08:00
|
|
|
// source: service_ns_record.proto
|
|
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
context "context"
|
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
|
codes "google.golang.org/grpc/codes"
|
|
|
|
|
status "google.golang.org/grpc/status"
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
sync "sync"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
|
|
// of the legacy proto package is being used.
|
|
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
|
|
|
|
|
|
|
|
// 创建记录
|
|
|
|
|
type CreateNSRecordRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2021-08-09 13:59:55 +08:00
|
|
|
NsDomainId int64 `protobuf:"varint,1,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"`
|
|
|
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
|
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
|
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
|
Ttl int32 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
|
|
|
// Deprecated: Do not use.
|
|
|
|
|
NsRouteIds []int64 `protobuf:"varint,7,rep,packed,name=nsRouteIds,proto3" json:"nsRouteIds,omitempty"`
|
|
|
|
|
NsRouteCodes []string `protobuf:"bytes,8,rep,name=nsRouteCodes,proto3" json:"nsRouteCodes,omitempty"` // 路线代号
|
2022-11-06 20:21:11 +08:00
|
|
|
MxPriority int32 `protobuf:"varint,9,opt,name=mxPriority,proto3" json:"mxPriority,omitempty"` // mx优先级
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordRequest) Reset() {
|
|
|
|
|
*x = CreateNSRecordRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateNSRecordRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[0]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CreateNSRecordRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateNSRecordRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordRequest) GetNsDomainId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordRequest) GetDescription() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Description
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordRequest) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordRequest) GetType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordRequest) GetValue() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Value
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordRequest) GetTtl() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Ttl
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-09 13:59:55 +08:00
|
|
|
// Deprecated: Do not use.
|
2021-05-27 17:08:57 +08:00
|
|
|
func (x *CreateNSRecordRequest) GetNsRouteIds() []int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRouteIds
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-09 13:59:55 +08:00
|
|
|
func (x *CreateNSRecordRequest) GetNsRouteCodes() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRouteCodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-06 20:21:11 +08:00
|
|
|
func (x *CreateNSRecordRequest) GetMxPriority() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.MxPriority
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-27 17:08:57 +08:00
|
|
|
type CreateNSRecordResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsRecordId int64 `protobuf:"varint,1,opt,name=nsRecordId,proto3" json:"nsRecordId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordResponse) Reset() {
|
|
|
|
|
*x = CreateNSRecordResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateNSRecordResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[1]
|
|
|
|
|
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 CreateNSRecordResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateNSRecordResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordResponse) GetNsRecordId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecordId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// 批量创建记录
|
|
|
|
|
type CreateNSRecordsRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsDomainId int64 `protobuf:"varint,1,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"`
|
|
|
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
|
|
|
Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"`
|
|
|
|
|
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
|
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
|
Ttl int32 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
|
|
|
NsRouteCodes []string `protobuf:"bytes,7,rep,name=nsRouteCodes,proto3" json:"nsRouteCodes,omitempty"` // 路线代号
|
2022-11-06 20:21:11 +08:00
|
|
|
MxPriority int32 `protobuf:"varint,8,opt,name=mxPriority,proto3" json:"mxPriority,omitempty"` // mx优先级
|
2022-08-06 20:29:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsRequest) Reset() {
|
|
|
|
|
*x = CreateNSRecordsRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateNSRecordsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[2]
|
|
|
|
|
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 CreateNSRecordsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateNSRecordsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsRequest) GetNsDomainId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsRequest) GetDescription() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Description
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsRequest) GetNames() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Names
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsRequest) GetType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsRequest) GetValue() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Value
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsRequest) GetTtl() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Ttl
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsRequest) GetNsRouteCodes() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRouteCodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-06 20:21:11 +08:00
|
|
|
func (x *CreateNSRecordsRequest) GetMxPriority() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.MxPriority
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
type CreateNSRecordsResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsRecordIds []int64 `protobuf:"varint,1,rep,packed,name=nsRecordIds,proto3" json:"nsRecordIds,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsResponse) Reset() {
|
|
|
|
|
*x = CreateNSRecordsResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateNSRecordsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[3]
|
|
|
|
|
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 CreateNSRecordsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateNSRecordsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsResponse) GetNsRecordIds() []int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecordIds
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-09 21:03:04 +08:00
|
|
|
// 为一组域名批量创建记录
|
|
|
|
|
type CreateNSRecordsWithDomainNamesRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsDomainNames []string `protobuf:"bytes,1,rep,name=nsDomainNames,proto3" json:"nsDomainNames,omitempty"`
|
|
|
|
|
RecordsJSON []byte `protobuf:"bytes,2,opt,name=recordsJSON,proto3" json:"recordsJSON,omitempty"`
|
|
|
|
|
RemoveOld bool `protobuf:"varint,3,opt,name=removeOld,proto3" json:"removeOld,omitempty"`
|
|
|
|
|
RemoveAll bool `protobuf:"varint,4,opt,name=removeAll,proto3" json:"removeAll,omitempty"`
|
2022-08-25 11:36:45 +08:00
|
|
|
UserId int64 `protobuf:"varint,5,opt,name=userId,proto3" json:"userId,omitempty"`
|
2022-08-09 21:03:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsWithDomainNamesRequest) Reset() {
|
|
|
|
|
*x = CreateNSRecordsWithDomainNamesRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[4]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsWithDomainNamesRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateNSRecordsWithDomainNamesRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsWithDomainNamesRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[4]
|
|
|
|
|
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 CreateNSRecordsWithDomainNamesRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateNSRecordsWithDomainNamesRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsWithDomainNamesRequest) GetNsDomainNames() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainNames
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsWithDomainNamesRequest) GetRecordsJSON() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RecordsJSON
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsWithDomainNamesRequest) GetRemoveOld() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RemoveOld
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSRecordsWithDomainNamesRequest) GetRemoveAll() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RemoveAll
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-25 11:36:45 +08:00
|
|
|
func (x *CreateNSRecordsWithDomainNamesRequest) GetUserId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-09 21:03:04 +08:00
|
|
|
// 批量修改一组域名的一组记录
|
|
|
|
|
type UpdateNSRecordsWithDomainNamesRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsDomainNames []string `protobuf:"bytes,1,rep,name=nsDomainNames,proto3" json:"nsDomainNames,omitempty"`
|
|
|
|
|
SearchName string `protobuf:"bytes,2,opt,name=searchName,proto3" json:"searchName,omitempty"`
|
|
|
|
|
SearchValue string `protobuf:"bytes,3,opt,name=searchValue,proto3" json:"searchValue,omitempty"`
|
|
|
|
|
SearchType string `protobuf:"bytes,4,opt,name=searchType,proto3" json:"searchType,omitempty"`
|
|
|
|
|
SearchNSRouteCodes []string `protobuf:"bytes,5,rep,name=searchNSRouteCodes,proto3" json:"searchNSRouteCodes,omitempty"`
|
|
|
|
|
NewName string `protobuf:"bytes,6,opt,name=newName,proto3" json:"newName,omitempty"`
|
|
|
|
|
NewValue string `protobuf:"bytes,7,opt,name=newValue,proto3" json:"newValue,omitempty"`
|
|
|
|
|
NewType string `protobuf:"bytes,8,opt,name=newType,proto3" json:"newType,omitempty"`
|
|
|
|
|
NewNSRouteCodes []string `protobuf:"bytes,9,rep,name=newNSRouteCodes,proto3" json:"newNSRouteCodes,omitempty"`
|
2022-08-25 11:36:45 +08:00
|
|
|
UserId int64 `protobuf:"varint,10,opt,name=userId,proto3" json:"userId,omitempty"`
|
2022-08-09 21:03:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) Reset() {
|
|
|
|
|
*x = UpdateNSRecordsWithDomainNamesRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[5]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNSRecordsWithDomainNamesRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[5]
|
|
|
|
|
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 UpdateNSRecordsWithDomainNamesRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNSRecordsWithDomainNamesRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) GetNsDomainNames() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainNames
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) GetSearchName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchName
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) GetSearchValue() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchValue
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) GetSearchType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchType
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) GetSearchNSRouteCodes() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchNSRouteCodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) GetNewName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NewName
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) GetNewValue() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NewValue
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) GetNewType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NewType
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) GetNewNSRouteCodes() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NewNSRouteCodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-25 11:36:45 +08:00
|
|
|
func (x *UpdateNSRecordsWithDomainNamesRequest) GetUserId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-09 21:03:04 +08:00
|
|
|
// 批量删除一组域名的一组记录
|
|
|
|
|
type DeleteNSRecordsWithDomainNamesRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsDomainNames []string `protobuf:"bytes,1,rep,name=nsDomainNames,proto3" json:"nsDomainNames,omitempty"`
|
|
|
|
|
SearchName string `protobuf:"bytes,2,opt,name=searchName,proto3" json:"searchName,omitempty"`
|
|
|
|
|
SearchValue string `protobuf:"bytes,3,opt,name=searchValue,proto3" json:"searchValue,omitempty"`
|
|
|
|
|
SearchType string `protobuf:"bytes,4,opt,name=searchType,proto3" json:"searchType,omitempty"`
|
|
|
|
|
SearchNSRouteCodes []string `protobuf:"bytes,5,rep,name=searchNSRouteCodes,proto3" json:"searchNSRouteCodes,omitempty"`
|
2022-08-25 11:36:45 +08:00
|
|
|
UserId int64 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"`
|
2022-08-09 21:03:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordsWithDomainNamesRequest) Reset() {
|
|
|
|
|
*x = DeleteNSRecordsWithDomainNamesRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[6]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordsWithDomainNamesRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*DeleteNSRecordsWithDomainNamesRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordsWithDomainNamesRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[6]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DeleteNSRecordsWithDomainNamesRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DeleteNSRecordsWithDomainNamesRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordsWithDomainNamesRequest) GetNsDomainNames() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainNames
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordsWithDomainNamesRequest) GetSearchName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchName
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordsWithDomainNamesRequest) GetSearchValue() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchValue
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordsWithDomainNamesRequest) GetSearchType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchType
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordsWithDomainNamesRequest) GetSearchNSRouteCodes() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchNSRouteCodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-25 11:36:45 +08:00
|
|
|
func (x *DeleteNSRecordsWithDomainNamesRequest) GetUserId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-09 21:03:04 +08:00
|
|
|
// 批量一组域名的一组记录启用状态
|
|
|
|
|
type UpdateNSRecordsIsOnWithDomainNamesRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsDomainNames []string `protobuf:"bytes,1,rep,name=nsDomainNames,proto3" json:"nsDomainNames,omitempty"`
|
|
|
|
|
SearchName string `protobuf:"bytes,2,opt,name=searchName,proto3" json:"searchName,omitempty"`
|
|
|
|
|
SearchValue string `protobuf:"bytes,3,opt,name=searchValue,proto3" json:"searchValue,omitempty"`
|
|
|
|
|
SearchType string `protobuf:"bytes,4,opt,name=searchType,proto3" json:"searchType,omitempty"`
|
|
|
|
|
SearchNSRouteCodes []string `protobuf:"bytes,5,rep,name=searchNSRouteCodes,proto3" json:"searchNSRouteCodes,omitempty"`
|
|
|
|
|
IsOn bool `protobuf:"varint,6,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
2022-08-25 11:36:45 +08:00
|
|
|
UserId int64 `protobuf:"varint,7,opt,name=userId,proto3" json:"userId,omitempty"`
|
2022-08-09 21:03:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsIsOnWithDomainNamesRequest) Reset() {
|
|
|
|
|
*x = UpdateNSRecordsIsOnWithDomainNamesRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[7]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsIsOnWithDomainNamesRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNSRecordsIsOnWithDomainNamesRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsIsOnWithDomainNamesRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[7]
|
|
|
|
|
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 UpdateNSRecordsIsOnWithDomainNamesRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNSRecordsIsOnWithDomainNamesRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsIsOnWithDomainNamesRequest) GetNsDomainNames() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainNames
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsIsOnWithDomainNamesRequest) GetSearchName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchName
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsIsOnWithDomainNamesRequest) GetSearchValue() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchValue
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsIsOnWithDomainNamesRequest) GetSearchType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchType
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsIsOnWithDomainNamesRequest) GetSearchNSRouteCodes() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchNSRouteCodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordsIsOnWithDomainNamesRequest) GetIsOn() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsOn
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-25 11:36:45 +08:00
|
|
|
func (x *UpdateNSRecordsIsOnWithDomainNamesRequest) GetUserId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-09 21:03:04 +08:00
|
|
|
// 导入域名解析
|
|
|
|
|
type ImportNSRecordsRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsRecords []*ImportNSRecordsRequest_Record `protobuf:"bytes,1,rep,name=nsRecords,proto3" json:"nsRecords,omitempty"`
|
2022-08-25 11:36:45 +08:00
|
|
|
UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
|
2022-08-09 21:03:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest) Reset() {
|
|
|
|
|
*x = ImportNSRecordsRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[8]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ImportNSRecordsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[8]
|
|
|
|
|
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 ImportNSRecordsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ImportNSRecordsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest) GetNsRecords() []*ImportNSRecordsRequest_Record {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecords
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-25 11:36:45 +08:00
|
|
|
func (x *ImportNSRecordsRequest) GetUserId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-27 17:08:57 +08:00
|
|
|
// 修改记录
|
|
|
|
|
type UpdateNSRecordRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2021-08-09 13:59:55 +08:00
|
|
|
NsRecordId int64 `protobuf:"varint,1,opt,name=nsRecordId,proto3" json:"nsRecordId,omitempty"`
|
|
|
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
|
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
|
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
|
Ttl int32 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
|
|
|
// Deprecated: Do not use.
|
|
|
|
|
NsRouteIds []int64 `protobuf:"varint,7,rep,packed,name=nsRouteIds,proto3" json:"nsRouteIds,omitempty"`
|
|
|
|
|
IsOn bool `protobuf:"varint,8,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
|
|
|
|
NsRouteCodes []string `protobuf:"bytes,9,rep,name=nsRouteCodes,proto3" json:"nsRouteCodes,omitempty"` // 路线代号
|
2022-11-06 20:21:11 +08:00
|
|
|
MxPriority int32 `protobuf:"varint,10,opt,name=mxPriority,proto3" json:"mxPriority,omitempty"` // mx优先级
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordRequest) Reset() {
|
|
|
|
|
*x = UpdateNSRecordRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-08-09 21:03:04 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[9]
|
2021-05-27 17:08:57 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNSRecordRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordRequest) ProtoReflect() protoreflect.Message {
|
2022-08-09 21:03:04 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[9]
|
2021-05-27 17:08:57 +08:00
|
|
|
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 UpdateNSRecordRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNSRecordRequest) Descriptor() ([]byte, []int) {
|
2022-08-09 21:03:04 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{9}
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordRequest) GetNsRecordId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecordId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordRequest) GetDescription() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Description
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordRequest) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordRequest) GetType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordRequest) GetValue() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Value
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSRecordRequest) GetTtl() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Ttl
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-09 13:59:55 +08:00
|
|
|
// Deprecated: Do not use.
|
2021-05-27 17:08:57 +08:00
|
|
|
func (x *UpdateNSRecordRequest) GetNsRouteIds() []int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRouteIds
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-20 19:03:56 +08:00
|
|
|
func (x *UpdateNSRecordRequest) GetIsOn() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsOn
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-09 13:59:55 +08:00
|
|
|
func (x *UpdateNSRecordRequest) GetNsRouteCodes() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRouteCodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-06 20:21:11 +08:00
|
|
|
func (x *UpdateNSRecordRequest) GetMxPriority() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.MxPriority
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-27 17:08:57 +08:00
|
|
|
// 删除记录
|
|
|
|
|
type DeleteNSRecordRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsRecordId int64 `protobuf:"varint,1,opt,name=nsRecordId,proto3" json:"nsRecordId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordRequest) Reset() {
|
|
|
|
|
*x = DeleteNSRecordRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-08-09 21:03:04 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[10]
|
2021-05-27 17:08:57 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*DeleteNSRecordRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordRequest) ProtoReflect() protoreflect.Message {
|
2022-08-09 21:03:04 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[10]
|
2021-05-27 17:08:57 +08:00
|
|
|
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 DeleteNSRecordRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DeleteNSRecordRequest) Descriptor() ([]byte, []int) {
|
2022-08-09 21:03:04 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{10}
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSRecordRequest) GetNsRecordId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecordId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 计算记录数量
|
2022-08-06 20:29:26 +08:00
|
|
|
type CountAllNSRecordsRequest struct {
|
2021-05-27 17:08:57 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsDomainId int64 `protobuf:"varint,1,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"`
|
|
|
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
2021-08-09 13:59:55 +08:00
|
|
|
// Deprecated: Do not use.
|
|
|
|
|
NsRouteId int64 `protobuf:"varint,3,opt,name=nsRouteId,proto3" json:"nsRouteId,omitempty"` // 使用nsRouteCode代替
|
|
|
|
|
NsRouteCode string `protobuf:"bytes,5,opt,name=nsRouteCode,proto3" json:"nsRouteCode,omitempty"`
|
|
|
|
|
Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSRecordsRequest) Reset() {
|
|
|
|
|
*x = CountAllNSRecordsRequest{}
|
2021-05-27 17:08:57 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-08-09 21:03:04 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[11]
|
2021-05-27 17:08:57 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSRecordsRequest) String() string {
|
2021-05-27 17:08:57 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*CountAllNSRecordsRequest) ProtoMessage() {}
|
2021-05-27 17:08:57 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSRecordsRequest) ProtoReflect() protoreflect.Message {
|
2022-08-09 21:03:04 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[11]
|
2021-05-27 17:08:57 +08:00
|
|
|
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)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use CountAllNSRecordsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllNSRecordsRequest) Descriptor() ([]byte, []int) {
|
2022-08-09 21:03:04 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{11}
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSRecordsRequest) GetNsDomainId() int64 {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSRecordsRequest) GetType() string {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-09 13:59:55 +08:00
|
|
|
// Deprecated: Do not use.
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSRecordsRequest) GetNsRouteId() int64 {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRouteId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSRecordsRequest) GetNsRouteCode() string {
|
2021-08-09 13:59:55 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRouteCode
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSRecordsRequest) GetKeyword() string {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.Keyword
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-13 10:50:26 +08:00
|
|
|
// 查询相同记录名的记录数
|
|
|
|
|
type CountAllNSRecordsWithNameRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsDomainId int64 `protobuf:"varint,1,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"`
|
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllNSRecordsWithNameRequest) Reset() {
|
|
|
|
|
*x = CountAllNSRecordsWithNameRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[12]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllNSRecordsWithNameRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllNSRecordsWithNameRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllNSRecordsWithNameRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[12]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CountAllNSRecordsWithNameRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllNSRecordsWithNameRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllNSRecordsWithNameRequest) GetNsDomainId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllNSRecordsWithNameRequest) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllNSRecordsWithNameRequest) GetType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-27 17:08:57 +08:00
|
|
|
// 读取单页记录
|
2022-08-06 20:29:26 +08:00
|
|
|
type ListNSRecordsRequest struct {
|
2021-05-27 17:08:57 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsDomainId int64 `protobuf:"varint,1,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"`
|
|
|
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
2021-08-09 13:59:55 +08:00
|
|
|
// Deprecated: Do not use.
|
|
|
|
|
NsRouteId int64 `protobuf:"varint,3,opt,name=nsRouteId,proto3" json:"nsRouteId,omitempty"` // 使用nsRouteCode代替
|
|
|
|
|
NsRouteCode string `protobuf:"bytes,7,opt,name=nsRouteCode,proto3" json:"nsRouteCode,omitempty"`
|
|
|
|
|
Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
2022-09-03 16:00:20 +08:00
|
|
|
NameAsc bool `protobuf:"varint,8,opt,name=nameAsc,proto3" json:"nameAsc,omitempty"`
|
|
|
|
|
NameDesc bool `protobuf:"varint,9,opt,name=nameDesc,proto3" json:"nameDesc,omitempty"`
|
|
|
|
|
TypeAsc bool `protobuf:"varint,10,opt,name=typeAsc,proto3" json:"typeAsc,omitempty"`
|
|
|
|
|
TypeDesc bool `protobuf:"varint,11,opt,name=typeDesc,proto3" json:"typeDesc,omitempty"`
|
|
|
|
|
TtlAsc bool `protobuf:"varint,12,opt,name=ttlAsc,proto3" json:"ttlAsc,omitempty"`
|
|
|
|
|
TtlDesc bool `protobuf:"varint,13,opt,name=ttlDesc,proto3" json:"ttlDesc,omitempty"`
|
2021-08-09 13:59:55 +08:00
|
|
|
Offset int64 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
|
Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsRequest) Reset() {
|
|
|
|
|
*x = ListNSRecordsRequest{}
|
2021-05-27 17:08:57 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[13]
|
2021-05-27 17:08:57 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsRequest) String() string {
|
2021-05-27 17:08:57 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*ListNSRecordsRequest) ProtoMessage() {}
|
2021-05-27 17:08:57 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsRequest) ProtoReflect() protoreflect.Message {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[13]
|
2021-05-27 17:08:57 +08:00
|
|
|
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)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use ListNSRecordsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListNSRecordsRequest) Descriptor() ([]byte, []int) {
|
2022-09-13 10:50:26 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{13}
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsRequest) GetNsDomainId() int64 {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsRequest) GetType() string {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-09 13:59:55 +08:00
|
|
|
// Deprecated: Do not use.
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsRequest) GetNsRouteId() int64 {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRouteId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsRequest) GetNsRouteCode() string {
|
2021-08-09 13:59:55 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRouteCode
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsRequest) GetKeyword() string {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.Keyword
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-03 16:00:20 +08:00
|
|
|
func (x *ListNSRecordsRequest) GetNameAsc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NameAsc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsRequest) GetNameDesc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NameDesc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsRequest) GetTypeAsc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TypeAsc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsRequest) GetTypeDesc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TypeDesc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsRequest) GetTtlAsc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TtlAsc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsRequest) GetTtlDesc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TtlDesc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsRequest) GetOffset() int64 {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.Offset
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsRequest) GetSize() int64 {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.Size
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
type ListNSRecordsResponse struct {
|
2021-05-27 17:08:57 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsRecords []*NSRecord `protobuf:"bytes,1,rep,name=nsRecords,proto3" json:"nsRecords,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsResponse) Reset() {
|
|
|
|
|
*x = ListNSRecordsResponse{}
|
2021-05-27 17:08:57 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[14]
|
2021-05-27 17:08:57 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsResponse) String() string {
|
2021-05-27 17:08:57 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*ListNSRecordsResponse) ProtoMessage() {}
|
2021-05-27 17:08:57 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsResponse) ProtoReflect() protoreflect.Message {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[14]
|
2021-05-27 17:08:57 +08:00
|
|
|
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)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use ListNSRecordsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListNSRecordsResponse) Descriptor() ([]byte, []int) {
|
2022-09-13 10:50:26 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{14}
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSRecordsResponse) GetNsRecords() []*NSRecord {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecords
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查询单个记录信息
|
2022-08-06 20:29:26 +08:00
|
|
|
type FindNSRecordRequest struct {
|
2021-05-27 17:08:57 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsRecordId int64 `protobuf:"varint,1,opt,name=nsRecordId,proto3" json:"nsRecordId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSRecordRequest) Reset() {
|
|
|
|
|
*x = FindNSRecordRequest{}
|
2021-05-27 17:08:57 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[15]
|
2021-05-27 17:08:57 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSRecordRequest) String() string {
|
2021-05-27 17:08:57 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*FindNSRecordRequest) ProtoMessage() {}
|
2021-05-27 17:08:57 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSRecordRequest) ProtoReflect() protoreflect.Message {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[15]
|
2021-05-27 17:08:57 +08:00
|
|
|
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)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use FindNSRecordRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSRecordRequest) Descriptor() ([]byte, []int) {
|
2022-09-13 10:50:26 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{15}
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSRecordRequest) GetNsRecordId() int64 {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecordId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
type FindNSRecordResponse struct {
|
2021-05-27 17:08:57 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsRecord *NSRecord `protobuf:"bytes,1,opt,name=nsRecord,proto3" json:"nsRecord,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSRecordResponse) Reset() {
|
|
|
|
|
*x = FindNSRecordResponse{}
|
2021-05-27 17:08:57 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[16]
|
2021-05-27 17:08:57 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSRecordResponse) String() string {
|
2021-05-27 17:08:57 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*FindNSRecordResponse) ProtoMessage() {}
|
2021-05-27 17:08:57 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSRecordResponse) ProtoReflect() protoreflect.Message {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[16]
|
2021-05-27 17:08:57 +08:00
|
|
|
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)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use FindNSRecordResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSRecordResponse) Descriptor() ([]byte, []int) {
|
2022-09-13 10:50:26 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{16}
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSRecordResponse) GetNsRecord() *NSRecord {
|
2021-05-27 17:08:57 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecord
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-08 19:36:13 +08:00
|
|
|
// 使用名称和类型查询单个记录信息
|
|
|
|
|
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 {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[17]
|
2022-09-08 19:36:13 +08:00
|
|
|
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 {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[17]
|
2022-09-08 19:36:13 +08:00
|
|
|
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) {
|
2022-09-13 10:50:26 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{17}
|
2022-09-08 19:36:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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 {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[18]
|
2022-09-08 19:36:13 +08:00
|
|
|
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 {
|
2022-09-13 10:50:26 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[18]
|
2022-09-08 19:36:13 +08:00
|
|
|
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) {
|
2022-09-13 10:50:26 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{18}
|
2022-09-08 19:36:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSRecordWithNameAndTypeResponse) GetNsRecord() *NSRecord {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecord
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-17 17:34:10 +08:00
|
|
|
// 使用名称和类型查询多个记录信息
|
|
|
|
|
type FindNSRecordsWithNameAndTypeRequest 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 *FindNSRecordsWithNameAndTypeRequest) Reset() {
|
|
|
|
|
*x = FindNSRecordsWithNameAndTypeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[19]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSRecordsWithNameAndTypeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindNSRecordsWithNameAndTypeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSRecordsWithNameAndTypeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_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 FindNSRecordsWithNameAndTypeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSRecordsWithNameAndTypeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{19}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSRecordsWithNameAndTypeRequest) GetNsDomainId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSRecordsWithNameAndTypeRequest) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSRecordsWithNameAndTypeRequest) GetType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindNSRecordsWithNameAndTypeResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsRecords []*NSRecord `protobuf:"bytes,1,rep,name=nsRecords,proto3" json:"nsRecords,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSRecordsWithNameAndTypeResponse) Reset() {
|
|
|
|
|
*x = FindNSRecordsWithNameAndTypeResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_record_proto_msgTypes[20]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSRecordsWithNameAndTypeResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindNSRecordsWithNameAndTypeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSRecordsWithNameAndTypeResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_ns_record_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 FindNSRecordsWithNameAndTypeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSRecordsWithNameAndTypeResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{20}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSRecordsWithNameAndTypeResponse) GetNsRecords() []*NSRecord {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecords
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-01 16:43:13 +08:00
|
|
|
// 根据版本列出一组记录
|
|
|
|
|
type ListNSRecordsAfterVersionRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsAfterVersionRequest) Reset() {
|
|
|
|
|
*x = ListNSRecordsAfterVersionRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-11-17 17:34:10 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[21]
|
2021-06-01 16:43:13 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsAfterVersionRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ListNSRecordsAfterVersionRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsAfterVersionRequest) ProtoReflect() protoreflect.Message {
|
2022-11-17 17:34:10 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[21]
|
2021-06-01 16:43:13 +08:00
|
|
|
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 ListNSRecordsAfterVersionRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListNSRecordsAfterVersionRequest) Descriptor() ([]byte, []int) {
|
2022-11-17 17:34:10 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{21}
|
2021-06-01 16:43:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsAfterVersionRequest) GetVersion() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsAfterVersionRequest) GetSize() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Size
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ListNSRecordsAfterVersionResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsRecords []*NSRecord `protobuf:"bytes,1,rep,name=nsRecords,proto3" json:"nsRecords,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsAfterVersionResponse) Reset() {
|
|
|
|
|
*x = ListNSRecordsAfterVersionResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-11-17 17:34:10 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[22]
|
2021-06-01 16:43:13 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsAfterVersionResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ListNSRecordsAfterVersionResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsAfterVersionResponse) ProtoReflect() protoreflect.Message {
|
2022-11-17 17:34:10 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[22]
|
2021-06-01 16:43:13 +08:00
|
|
|
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 ListNSRecordsAfterVersionResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListNSRecordsAfterVersionResponse) Descriptor() ([]byte, []int) {
|
2022-11-17 17:34:10 +08:00
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{22}
|
2021-06-01 16:43:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNSRecordsAfterVersionResponse) GetNsRecords() []*NSRecord {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsRecords
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-09 21:03:04 +08:00
|
|
|
type ImportNSRecordsRequest_Record struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsDomainName string `protobuf:"bytes,1,opt,name=nsDomainName,proto3" json:"nsDomainName,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"`
|
|
|
|
|
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
|
Ttl int32 `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
2022-11-06 20:21:11 +08:00
|
|
|
MxPriority int32 `protobuf:"varint,6,opt,name=mxPriority,proto3" json:"mxPriority,omitempty"` // MX优先级
|
2022-08-09 21:03:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest_Record) Reset() {
|
|
|
|
|
*x = ImportNSRecordsRequest_Record{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-11-17 17:34:10 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[23]
|
2022-08-09 21:03:04 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest_Record) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ImportNSRecordsRequest_Record) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest_Record) ProtoReflect() protoreflect.Message {
|
2022-11-17 17:34:10 +08:00
|
|
|
mi := &file_service_ns_record_proto_msgTypes[23]
|
2022-08-09 21:03:04 +08:00
|
|
|
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 ImportNSRecordsRequest_Record.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ImportNSRecordsRequest_Record) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_record_proto_rawDescGZIP(), []int{8, 0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest_Record) GetNsDomainName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsDomainName
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest_Record) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest_Record) GetType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest_Record) GetValue() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Value
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportNSRecordsRequest_Record) GetTtl() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Ttl
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-06 20:21:11 +08:00
|
|
|
func (x *ImportNSRecordsRequest_Record) GetMxPriority() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.MxPriority
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-27 17:08:57 +08:00
|
|
|
var File_service_ns_record_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_service_ns_record_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x17, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x63,
|
|
|
|
|
0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1c, 0x6d,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x73, 0x5f, 0x72,
|
|
|
|
|
0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x6c, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x02, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74,
|
2021-05-27 17:08:57 +08:00
|
|
|
0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64,
|
|
|
|
|
0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
|
|
|
|
0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
|
|
|
|
0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
|
|
|
0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74,
|
2021-08-09 13:59:55 +08:00
|
|
|
0x74, 0x6c, 0x12, 0x22, 0x0a, 0x0a, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73,
|
|
|
|
|
0x18, 0x07, 0x20, 0x03, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x6e, 0x73, 0x52, 0x6f,
|
|
|
|
|
0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74,
|
|
|
|
|
0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x73,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x78,
|
|
|
|
|
0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
|
|
|
|
|
0x6d, 0x78, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x38, 0x0a, 0x16, 0x43, 0x72,
|
2021-08-09 13:59:55 +08:00
|
|
|
0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
|
|
|
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x72, 0x64, 0x49, 0x64, 0x22, 0xf0, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e,
|
2022-08-06 20:29:26 +08:00
|
|
|
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
|
0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12,
|
|
|
|
|
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
|
|
|
|
0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
|
|
|
|
|
0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
|
|
|
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
|
0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
|
|
|
|
|
0x74, 0x74, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x73, 0x52, 0x6f, 0x75,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x78, 0x50, 0x72, 0x69,
|
|
|
|
|
0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x78, 0x50,
|
|
|
|
|
0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x3b, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74,
|
2022-08-06 20:29:26 +08:00
|
|
|
0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64,
|
|
|
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
2022-08-25 11:36:45 +08:00
|
|
|
0x64, 0x49, 0x64, 0x73, 0x22, 0xc3, 0x01, 0x0a, 0x25, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e,
|
2022-08-09 21:03:04 +08:00
|
|
|
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, 0x12, 0x24,
|
|
|
|
|
0x0a, 0x0d, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18,
|
|
|
|
|
0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e,
|
|
|
|
|
0x61, 0x6d, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x4a,
|
|
|
|
|
0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72,
|
|
|
|
|
0x64, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65,
|
|
|
|
|
0x4f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x76,
|
|
|
|
|
0x65, 0x4f, 0x6c, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c,
|
|
|
|
|
0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41,
|
2022-08-25 11:36:45 +08:00
|
|
|
0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xf1, 0x02, 0x0a, 0x25, 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, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
|
|
|
|
|
0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x73, 0x44,
|
|
|
|
|
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65,
|
|
|
|
|
0x61, 0x72, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
|
|
|
0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65,
|
|
|
|
|
0x61, 0x72, 0x63, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x0a,
|
|
|
|
|
0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x12,
|
|
|
|
|
0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68,
|
|
|
|
|
0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07,
|
|
|
|
|
0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e,
|
|
|
|
|
0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c,
|
|
|
|
|
0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c,
|
|
|
|
|
0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x0f,
|
|
|
|
|
0x6e, 0x65, 0x77, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x18,
|
|
|
|
|
0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x65, 0x77, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74,
|
|
|
|
|
0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xf7,
|
2022-08-09 21:03:04 +08:00
|
|
|
0x01, 0x0a, 0x25, 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, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x73, 0x44, 0x6f,
|
|
|
|
|
0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
|
|
|
0x0d, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e,
|
|
|
|
|
0x0a, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20,
|
|
|
|
|
0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
|
|
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65,
|
|
|
|
|
0x12, 0x2e, 0x0a, 0x12, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74,
|
|
|
|
|
0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x73, 0x65,
|
|
|
|
|
0x61, 0x72, 0x63, 0x68, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73,
|
2022-08-25 11:36:45 +08:00
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8f, 0x02, 0x0a, 0x29, 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, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61,
|
|
|
|
|
0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6e,
|
|
|
|
|
0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a,
|
|
|
|
|
0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
|
|
|
|
|
0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e,
|
|
|
|
|
0x0a, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01,
|
|
|
|
|
0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e,
|
|
|
|
|
0x0a, 0x12, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x73, 0x65, 0x61, 0x72,
|
|
|
|
|
0x63, 0x68, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x12,
|
|
|
|
|
0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73,
|
|
|
|
|
0x4f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x90, 0x02, 0x0a, 0x16, 0x49,
|
2022-08-09 21:03:04 +08:00
|
|
|
0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
|
|
|
0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d,
|
|
|
|
|
0x70, 0x6f, 0x72, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x6e, 0x73, 0x52,
|
2022-08-25 11:36:45 +08:00
|
|
|
0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x1a, 0x9c,
|
|
|
|
|
0x01, 0x0a, 0x06, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x6e, 0x73, 0x44,
|
|
|
|
|
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
0x0c, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
|
|
|
|
0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74,
|
|
|
|
|
0x74, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x1e, 0x0a,
|
|
|
|
|
0x0a, 0x6d, 0x78, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
|
|
|
0x05, 0x52, 0x0a, 0x6d, 0x78, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0xa5, 0x02,
|
|
|
|
|
0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x52, 0x65, 0x63,
|
|
|
|
|
0x6f, 0x72, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x52,
|
|
|
|
|
0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
|
|
|
|
|
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
|
|
|
|
|
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
|
|
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
|
|
|
|
|
0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x06,
|
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x22, 0x0a, 0x0a, 0x6e, 0x73, 0x52,
|
|
|
|
|
0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x03, 0x42, 0x02, 0x18,
|
|
|
|
|
0x01, 0x52, 0x0a, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f,
|
|
|
|
|
0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
|
|
|
|
0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x78, 0x50, 0x72, 0x69, 0x6f, 0x72,
|
|
|
|
|
0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x78, 0x50, 0x72, 0x69,
|
|
|
|
|
0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x37, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e,
|
|
|
|
|
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e,
|
|
|
|
|
0x0a, 0x0a, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x22, 0xac,
|
|
|
|
|
0x01, 0x0a, 0x18, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63,
|
|
|
|
|
0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e,
|
|
|
|
|
0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74,
|
|
|
|
|
0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
|
|
|
|
|
0x20, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49,
|
|
|
|
|
0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x6a, 0x0a,
|
|
|
|
|
0x20, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
|
|
|
0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
2022-09-13 10:50:26 +08:00
|
|
|
0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49,
|
|
|
|
|
0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xf2, 0x02, 0x0a, 0x14, 0x4c, 0x69,
|
|
|
|
|
0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
|
|
|
|
|
0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74,
|
|
|
|
|
0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6e,
|
|
|
|
|
0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x52, 0x6f,
|
|
|
|
|
0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e,
|
|
|
|
|
0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65,
|
|
|
|
|
0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79,
|
|
|
|
|
0x77, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x61, 0x6d, 0x65, 0x41, 0x73, 0x63, 0x18,
|
|
|
|
|
0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e, 0x61, 0x6d, 0x65, 0x41, 0x73, 0x63, 0x12, 0x1a,
|
|
|
|
|
0x0a, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x65, 0x73, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x79,
|
|
|
|
|
0x70, 0x65, 0x41, 0x73, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x79, 0x70,
|
|
|
|
|
0x65, 0x41, 0x73, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x44, 0x65, 0x73, 0x63,
|
|
|
|
|
0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x44, 0x65, 0x73, 0x63,
|
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x74, 0x74, 0x6c, 0x41, 0x73, 0x63, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x06, 0x74, 0x74, 0x6c, 0x41, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x74, 0x6c, 0x44,
|
|
|
|
|
0x65, 0x73, 0x63, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x74, 0x6c, 0x44, 0x65,
|
|
|
|
|
0x73, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69,
|
|
|
|
|
0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x43,
|
|
|
|
|
0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63,
|
|
|
|
|
0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f,
|
|
|
|
|
0x72, 0x64, 0x73, 0x22, 0x35, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63,
|
|
|
|
|
0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73,
|
|
|
|
|
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
|
|
|
|
|
0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x22, 0x40, 0x0a, 0x14, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f,
|
|
|
|
|
0x72, 0x64, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x6c, 0x0a, 0x22,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68,
|
|
|
|
|
0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
|
|
|
|
|
0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4f, 0x0a, 0x23, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61,
|
|
|
|
|
0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x12, 0x28, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
2022-11-17 17:34:10 +08:00
|
|
|
0x64, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x6d, 0x0a, 0x23, 0x46,
|
|
|
|
|
0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68,
|
|
|
|
|
0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
|
|
|
|
|
0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x52, 0x0a, 0x24, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e,
|
|
|
|
|
0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18,
|
|
|
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x63,
|
2022-11-17 17:34:10 +08:00
|
|
|
0x6f, 0x72, 0x64, 0x52, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x22, 0x50,
|
|
|
|
|
0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41,
|
|
|
|
|
0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
|
0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65,
|
|
|
|
|
0x22, 0x4f, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
|
|
|
|
0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
|
|
|
0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53,
|
|
|
|
|
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
|
|
|
|
0x73, 0x32, 0xd3, 0x0a, 0x0a, 0x0f, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x65,
|
|
|
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e,
|
|
|
|
|
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
|
|
|
|
0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53,
|
|
|
|
|
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a,
|
|
|
|
|
0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
|
|
|
|
0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52,
|
|
|
|
|
0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
|
|
|
0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1e, 0x63, 0x72,
|
|
|
|
|
0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74,
|
|
|
|
|
0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
|
|
|
|
0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
|
|
|
|
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5b, 0x0a, 0x1e, 0x75, 0x70, 0x64, 0x61, 0x74,
|
2022-09-08 19:36:13 +08:00
|
|
|
0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f,
|
2022-11-17 17:34:10 +08:00
|
|
|
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,
|
2022-11-06 20:21:11 +08:00
|
|
|
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,
|
2022-11-17 17:34:10 +08:00
|
|
|
0x63, 0x65, 0x73, 0x73, 0x12, 0x5b, 0x0a, 0x1e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53,
|
2022-09-08 19:36:13 +08:00
|
|
|
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69,
|
2022-11-17 17:34:10 +08:00
|
|
|
0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65,
|
2022-11-06 20:21:11 +08:00
|
|
|
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,
|
2022-09-13 10:50:26 +08:00
|
|
|
0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
|
2022-11-17 17:34:10 +08:00
|
|
|
0x73, 0x12, 0x63, 0x0a, 0x22, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63,
|
|
|
|
|
0x6f, 0x72, 0x64, 0x73, 0x49, 0x73, 0x4f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61,
|
|
|
|
|
0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
|
|
|
|
0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x49, 0x73, 0x4f, 0x6e,
|
|
|
|
|
0x57, 0x69, 0x74, 0x68, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53,
|
|
|
|
|
0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74,
|
|
|
|
|
0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x49,
|
|
|
|
|
0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
|
|
|
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
|
|
|
|
|
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
|
|
|
|
0x61, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65,
|
2022-11-17 17:34:10 +08:00
|
|
|
0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x52, 0x65,
|
|
|
|
|
0x63, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
|
|
0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
|
2022-11-17 17:34:10 +08:00
|
|
|
0x47, 0x0a, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63,
|
|
|
|
|
0x6f, 0x72, 0x64, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41,
|
|
|
|
|
0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
|
|
0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74,
|
|
|
|
|
0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
|
|
0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68,
|
|
|
|
|
0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x12, 0x44, 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
|
|
|
0x64, 0x73, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65,
|
|
|
|
|
0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x64, 0x4e,
|
|
|
|
|
0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
|
|
|
|
0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f,
|
|
|
|
|
0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x66, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61,
|
|
|
|
|
0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
|
|
|
|
0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e,
|
|
|
|
|
0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63,
|
|
|
|
|
0x6f, 0x72, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79,
|
|
|
|
|
0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x1c, 0x66, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e,
|
|
|
|
|
0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x57, 0x69, 0x74,
|
|
|
|
|
0x68, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x52,
|
|
|
|
|
0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 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,
|
2022-11-06 20:21:11 +08:00
|
|
|
0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x41, 0x66, 0x74,
|
2022-11-17 17:34:10 +08:00
|
|
|
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,
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
file_service_ns_record_proto_rawDescOnce sync.Once
|
|
|
|
|
file_service_ns_record_proto_rawDescData = file_service_ns_record_proto_rawDesc
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func file_service_ns_record_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_service_ns_record_proto_rawDescOnce.Do(func() {
|
|
|
|
|
file_service_ns_record_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_ns_record_proto_rawDescData)
|
|
|
|
|
})
|
|
|
|
|
return file_service_ns_record_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-17 17:34:10 +08:00
|
|
|
var file_service_ns_record_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
|
2021-05-27 17:08:57 +08:00
|
|
|
var file_service_ns_record_proto_goTypes = []interface{}{
|
2022-08-09 21:03:04 +08:00
|
|
|
(*CreateNSRecordRequest)(nil), // 0: pb.CreateNSRecordRequest
|
|
|
|
|
(*CreateNSRecordResponse)(nil), // 1: pb.CreateNSRecordResponse
|
|
|
|
|
(*CreateNSRecordsRequest)(nil), // 2: pb.CreateNSRecordsRequest
|
|
|
|
|
(*CreateNSRecordsResponse)(nil), // 3: pb.CreateNSRecordsResponse
|
|
|
|
|
(*CreateNSRecordsWithDomainNamesRequest)(nil), // 4: pb.CreateNSRecordsWithDomainNamesRequest
|
|
|
|
|
(*UpdateNSRecordsWithDomainNamesRequest)(nil), // 5: pb.UpdateNSRecordsWithDomainNamesRequest
|
|
|
|
|
(*DeleteNSRecordsWithDomainNamesRequest)(nil), // 6: pb.DeleteNSRecordsWithDomainNamesRequest
|
|
|
|
|
(*UpdateNSRecordsIsOnWithDomainNamesRequest)(nil), // 7: pb.UpdateNSRecordsIsOnWithDomainNamesRequest
|
|
|
|
|
(*ImportNSRecordsRequest)(nil), // 8: pb.ImportNSRecordsRequest
|
|
|
|
|
(*UpdateNSRecordRequest)(nil), // 9: pb.UpdateNSRecordRequest
|
|
|
|
|
(*DeleteNSRecordRequest)(nil), // 10: pb.DeleteNSRecordRequest
|
|
|
|
|
(*CountAllNSRecordsRequest)(nil), // 11: pb.CountAllNSRecordsRequest
|
2022-09-13 10:50:26 +08:00
|
|
|
(*CountAllNSRecordsWithNameRequest)(nil), // 12: pb.CountAllNSRecordsWithNameRequest
|
|
|
|
|
(*ListNSRecordsRequest)(nil), // 13: pb.ListNSRecordsRequest
|
|
|
|
|
(*ListNSRecordsResponse)(nil), // 14: pb.ListNSRecordsResponse
|
|
|
|
|
(*FindNSRecordRequest)(nil), // 15: pb.FindNSRecordRequest
|
|
|
|
|
(*FindNSRecordResponse)(nil), // 16: pb.FindNSRecordResponse
|
|
|
|
|
(*FindNSRecordWithNameAndTypeRequest)(nil), // 17: pb.FindNSRecordWithNameAndTypeRequest
|
|
|
|
|
(*FindNSRecordWithNameAndTypeResponse)(nil), // 18: pb.FindNSRecordWithNameAndTypeResponse
|
2022-11-17 17:34:10 +08:00
|
|
|
(*FindNSRecordsWithNameAndTypeRequest)(nil), // 19: pb.FindNSRecordsWithNameAndTypeRequest
|
|
|
|
|
(*FindNSRecordsWithNameAndTypeResponse)(nil), // 20: pb.FindNSRecordsWithNameAndTypeResponse
|
|
|
|
|
(*ListNSRecordsAfterVersionRequest)(nil), // 21: pb.ListNSRecordsAfterVersionRequest
|
|
|
|
|
(*ListNSRecordsAfterVersionResponse)(nil), // 22: pb.ListNSRecordsAfterVersionResponse
|
|
|
|
|
(*ImportNSRecordsRequest_Record)(nil), // 23: pb.ImportNSRecordsRequest.Record
|
|
|
|
|
(*NSRecord)(nil), // 24: pb.NSRecord
|
|
|
|
|
(*RPCSuccess)(nil), // 25: pb.RPCSuccess
|
|
|
|
|
(*RPCCountResponse)(nil), // 26: pb.RPCCountResponse
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
var file_service_ns_record_proto_depIdxs = []int32{
|
2022-11-17 17:34:10 +08:00
|
|
|
23, // 0: pb.ImportNSRecordsRequest.nsRecords:type_name -> pb.ImportNSRecordsRequest.Record
|
|
|
|
|
24, // 1: pb.ListNSRecordsResponse.nsRecords:type_name -> pb.NSRecord
|
|
|
|
|
24, // 2: pb.FindNSRecordResponse.nsRecord:type_name -> pb.NSRecord
|
|
|
|
|
24, // 3: pb.FindNSRecordWithNameAndTypeResponse.nsRecord:type_name -> pb.NSRecord
|
|
|
|
|
24, // 4: pb.FindNSRecordsWithNameAndTypeResponse.nsRecords:type_name -> pb.NSRecord
|
|
|
|
|
24, // 5: pb.ListNSRecordsAfterVersionResponse.nsRecords:type_name -> pb.NSRecord
|
|
|
|
|
0, // 6: pb.NSRecordService.createNSRecord:input_type -> pb.CreateNSRecordRequest
|
|
|
|
|
2, // 7: pb.NSRecordService.createNSRecords:input_type -> pb.CreateNSRecordsRequest
|
|
|
|
|
4, // 8: pb.NSRecordService.createNSRecordsWithDomainNames:input_type -> pb.CreateNSRecordsWithDomainNamesRequest
|
|
|
|
|
5, // 9: pb.NSRecordService.updateNSRecordsWithDomainNames:input_type -> pb.UpdateNSRecordsWithDomainNamesRequest
|
|
|
|
|
6, // 10: pb.NSRecordService.deleteNSRecordsWithDomainNames:input_type -> pb.DeleteNSRecordsWithDomainNamesRequest
|
|
|
|
|
7, // 11: pb.NSRecordService.updateNSRecordsIsOnWithDomainNames:input_type -> pb.UpdateNSRecordsIsOnWithDomainNamesRequest
|
|
|
|
|
8, // 12: pb.NSRecordService.importNSRecords:input_type -> pb.ImportNSRecordsRequest
|
|
|
|
|
9, // 13: pb.NSRecordService.updateNSRecord:input_type -> pb.UpdateNSRecordRequest
|
|
|
|
|
10, // 14: pb.NSRecordService.deleteNSRecord:input_type -> pb.DeleteNSRecordRequest
|
|
|
|
|
11, // 15: pb.NSRecordService.countAllNSRecords:input_type -> pb.CountAllNSRecordsRequest
|
|
|
|
|
12, // 16: pb.NSRecordService.countAllNSRecordsWithName:input_type -> pb.CountAllNSRecordsWithNameRequest
|
|
|
|
|
13, // 17: pb.NSRecordService.listNSRecords:input_type -> pb.ListNSRecordsRequest
|
|
|
|
|
15, // 18: pb.NSRecordService.findNSRecord:input_type -> pb.FindNSRecordRequest
|
|
|
|
|
17, // 19: pb.NSRecordService.findNSRecordWithNameAndType:input_type -> pb.FindNSRecordWithNameAndTypeRequest
|
|
|
|
|
19, // 20: pb.NSRecordService.findNSRecordsWithNameAndType:input_type -> pb.FindNSRecordsWithNameAndTypeRequest
|
|
|
|
|
21, // 21: pb.NSRecordService.listNSRecordsAfterVersion:input_type -> pb.ListNSRecordsAfterVersionRequest
|
|
|
|
|
1, // 22: pb.NSRecordService.createNSRecord:output_type -> pb.CreateNSRecordResponse
|
|
|
|
|
3, // 23: pb.NSRecordService.createNSRecords:output_type -> pb.CreateNSRecordsResponse
|
|
|
|
|
25, // 24: pb.NSRecordService.createNSRecordsWithDomainNames:output_type -> pb.RPCSuccess
|
|
|
|
|
25, // 25: pb.NSRecordService.updateNSRecordsWithDomainNames:output_type -> pb.RPCSuccess
|
|
|
|
|
25, // 26: pb.NSRecordService.deleteNSRecordsWithDomainNames:output_type -> pb.RPCSuccess
|
|
|
|
|
25, // 27: pb.NSRecordService.updateNSRecordsIsOnWithDomainNames:output_type -> pb.RPCSuccess
|
|
|
|
|
25, // 28: pb.NSRecordService.importNSRecords:output_type -> pb.RPCSuccess
|
|
|
|
|
25, // 29: pb.NSRecordService.updateNSRecord:output_type -> pb.RPCSuccess
|
|
|
|
|
25, // 30: pb.NSRecordService.deleteNSRecord:output_type -> pb.RPCSuccess
|
|
|
|
|
26, // 31: pb.NSRecordService.countAllNSRecords:output_type -> pb.RPCCountResponse
|
|
|
|
|
26, // 32: pb.NSRecordService.countAllNSRecordsWithName:output_type -> pb.RPCCountResponse
|
|
|
|
|
14, // 33: pb.NSRecordService.listNSRecords:output_type -> pb.ListNSRecordsResponse
|
|
|
|
|
16, // 34: pb.NSRecordService.findNSRecord:output_type -> pb.FindNSRecordResponse
|
|
|
|
|
18, // 35: pb.NSRecordService.findNSRecordWithNameAndType:output_type -> pb.FindNSRecordWithNameAndTypeResponse
|
|
|
|
|
20, // 36: pb.NSRecordService.findNSRecordsWithNameAndType:output_type -> pb.FindNSRecordsWithNameAndTypeResponse
|
|
|
|
|
22, // 37: pb.NSRecordService.listNSRecordsAfterVersion:output_type -> pb.ListNSRecordsAfterVersionResponse
|
|
|
|
|
22, // [22:38] is the sub-list for method output_type
|
|
|
|
|
6, // [6:22] 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
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_service_ns_record_proto_init() }
|
|
|
|
|
func file_service_ns_record_proto_init() {
|
|
|
|
|
if File_service_ns_record_proto != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
file_models_model_ns_record_proto_init()
|
|
|
|
|
file_models_rpc_messages_proto_init()
|
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
file_service_ns_record_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateNSRecordRequest); 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[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateNSRecordResponse); 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[2].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-06 20:29:26 +08:00
|
|
|
switch v := v.(*CreateNSRecordsRequest); i {
|
2021-05-27 17:08:57 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-06 20:29:26 +08:00
|
|
|
switch v := v.(*CreateNSRecordsResponse); i {
|
2021-05-27 17:08:57 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-09 21:03:04 +08:00
|
|
|
switch v := v.(*CreateNSRecordsWithDomainNamesRequest); i {
|
2021-05-27 17:08:57 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-09 21:03:04 +08:00
|
|
|
switch v := v.(*UpdateNSRecordsWithDomainNamesRequest); i {
|
2021-05-27 17:08:57 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-09 21:03:04 +08:00
|
|
|
switch v := v.(*DeleteNSRecordsWithDomainNamesRequest); i {
|
2021-05-27 17:08:57 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-09 21:03:04 +08:00
|
|
|
switch v := v.(*UpdateNSRecordsIsOnWithDomainNamesRequest); i {
|
2021-05-27 17:08:57 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-09 21:03:04 +08:00
|
|
|
switch v := v.(*ImportNSRecordsRequest); i {
|
2021-05-27 17:08:57 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-06-01 16:43:13 +08:00
|
|
|
file_service_ns_record_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-09 21:03:04 +08:00
|
|
|
switch v := v.(*UpdateNSRecordRequest); i {
|
2021-06-01 16:43:13 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-09 21:03:04 +08:00
|
|
|
switch v := v.(*DeleteNSRecordRequest); i {
|
2022-08-06 20:29:26 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-09 21:03:04 +08:00
|
|
|
switch v := v.(*CountAllNSRecordsRequest); i {
|
2022-08-06 20:29:26 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-13 10:50:26 +08:00
|
|
|
switch v := v.(*CountAllNSRecordsWithNameRequest); i {
|
2022-08-09 21:03:04 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-13 10:50:26 +08:00
|
|
|
switch v := v.(*ListNSRecordsRequest); i {
|
2022-08-09 21:03:04 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-13 10:50:26 +08:00
|
|
|
switch v := v.(*ListNSRecordsResponse); i {
|
2022-08-09 21:03:04 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-13 10:50:26 +08:00
|
|
|
switch v := v.(*FindNSRecordRequest); i {
|
2022-08-09 21:03:04 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-13 10:50:26 +08:00
|
|
|
switch v := v.(*FindNSRecordResponse); i {
|
2022-08-09 21:03:04 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-13 10:50:26 +08:00
|
|
|
switch v := v.(*FindNSRecordWithNameAndTypeRequest); i {
|
2021-06-01 16:43:13 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-08-09 21:03:04 +08:00
|
|
|
file_service_ns_record_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-13 10:50:26 +08:00
|
|
|
switch v := v.(*FindNSRecordWithNameAndTypeResponse); i {
|
2022-09-08 19:36:13 +08:00
|
|
|
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{} {
|
2022-11-17 17:34:10 +08:00
|
|
|
switch v := v.(*FindNSRecordsWithNameAndTypeRequest); i {
|
2022-09-08 19:36:13 +08:00
|
|
|
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{} {
|
2022-11-17 17:34:10 +08:00
|
|
|
switch v := v.(*FindNSRecordsWithNameAndTypeResponse); i {
|
2022-09-13 10:50:26 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_record_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
2022-11-17 17:34:10 +08:00
|
|
|
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[22].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[23].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-09 21:03:04 +08:00
|
|
|
switch v := v.(*ImportNSRecordsRequest_Record); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_service_ns_record_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
2022-11-17 17:34:10 +08:00
|
|
|
NumMessages: 24,
|
2021-05-27 17:08:57 +08:00
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|
GoTypes: file_service_ns_record_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_service_ns_record_proto_depIdxs,
|
|
|
|
|
MessageInfos: file_service_ns_record_proto_msgTypes,
|
|
|
|
|
}.Build()
|
|
|
|
|
File_service_ns_record_proto = out.File
|
|
|
|
|
file_service_ns_record_proto_rawDesc = nil
|
|
|
|
|
file_service_ns_record_proto_goTypes = nil
|
|
|
|
|
file_service_ns_record_proto_depIdxs = nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
|
var _ context.Context
|
|
|
|
|
var _ grpc.ClientConnInterface
|
|
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
|
|
|
|
const _ = grpc.SupportPackageIsVersion6
|
|
|
|
|
|
|
|
|
|
// NSRecordServiceClient is the client API for NSRecordService service.
|
|
|
|
|
//
|
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
|
type NSRecordServiceClient interface {
|
|
|
|
|
// 创建记录
|
|
|
|
|
CreateNSRecord(ctx context.Context, in *CreateNSRecordRequest, opts ...grpc.CallOption) (*CreateNSRecordResponse, error)
|
2022-08-06 20:29:26 +08:00
|
|
|
// 批量创建记录
|
|
|
|
|
CreateNSRecords(ctx context.Context, in *CreateNSRecordsRequest, opts ...grpc.CallOption) (*CreateNSRecordsResponse, error)
|
2022-08-09 21:03:04 +08:00
|
|
|
// 为一组域名批量创建记录
|
|
|
|
|
CreateNSRecordsWithDomainNames(ctx context.Context, in *CreateNSRecordsWithDomainNamesRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 批量修改一组域名的一组记录
|
|
|
|
|
UpdateNSRecordsWithDomainNames(ctx context.Context, in *UpdateNSRecordsWithDomainNamesRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 批量删除一组域名的一组记录
|
|
|
|
|
DeleteNSRecordsWithDomainNames(ctx context.Context, in *DeleteNSRecordsWithDomainNamesRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 批量一组域名的一组记录启用状态
|
|
|
|
|
UpdateNSRecordsIsOnWithDomainNames(ctx context.Context, in *UpdateNSRecordsIsOnWithDomainNamesRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 导入域名解析
|
|
|
|
|
ImportNSRecords(ctx context.Context, in *ImportNSRecordsRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2021-05-27 17:08:57 +08:00
|
|
|
// 修改记录
|
|
|
|
|
UpdateNSRecord(ctx context.Context, in *UpdateNSRecordRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 删除记录
|
|
|
|
|
DeleteNSRecord(ctx context.Context, in *DeleteNSRecordRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 计算记录数量
|
2022-08-06 20:29:26 +08:00
|
|
|
CountAllNSRecords(ctx context.Context, in *CountAllNSRecordsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
2022-09-13 10:50:26 +08:00
|
|
|
// 查询相同记录名的记录数
|
|
|
|
|
CountAllNSRecordsWithName(ctx context.Context, in *CountAllNSRecordsWithNameRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
2021-05-27 17:08:57 +08:00
|
|
|
// 读取单页记录
|
2022-08-06 20:29:26 +08:00
|
|
|
ListNSRecords(ctx context.Context, in *ListNSRecordsRequest, opts ...grpc.CallOption) (*ListNSRecordsResponse, error)
|
2021-05-27 17:08:57 +08:00
|
|
|
// 查询单个记录信息
|
2022-08-06 20:29:26 +08:00
|
|
|
FindNSRecord(ctx context.Context, in *FindNSRecordRequest, opts ...grpc.CallOption) (*FindNSRecordResponse, error)
|
2022-09-08 19:36:13 +08:00
|
|
|
// 使用名称和类型查询单个记录信息
|
|
|
|
|
FindNSRecordWithNameAndType(ctx context.Context, in *FindNSRecordWithNameAndTypeRequest, opts ...grpc.CallOption) (*FindNSRecordWithNameAndTypeResponse, error)
|
2022-11-17 17:34:10 +08:00
|
|
|
// 使用名称和类型查询多个记录信息
|
|
|
|
|
FindNSRecordsWithNameAndType(ctx context.Context, in *FindNSRecordsWithNameAndTypeRequest, opts ...grpc.CallOption) (*FindNSRecordsWithNameAndTypeResponse, error)
|
2021-06-01 16:43:13 +08:00
|
|
|
// 根据版本列出一组记录
|
|
|
|
|
ListNSRecordsAfterVersion(ctx context.Context, in *ListNSRecordsAfterVersionRequest, opts ...grpc.CallOption) (*ListNSRecordsAfterVersionResponse, error)
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type nSRecordServiceClient struct {
|
|
|
|
|
cc grpc.ClientConnInterface
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewNSRecordServiceClient(cc grpc.ClientConnInterface) NSRecordServiceClient {
|
|
|
|
|
return &nSRecordServiceClient{cc}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSRecordServiceClient) CreateNSRecord(ctx context.Context, in *CreateNSRecordRequest, opts ...grpc.CallOption) (*CreateNSRecordResponse, error) {
|
|
|
|
|
out := new(CreateNSRecordResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/createNSRecord", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (c *nSRecordServiceClient) CreateNSRecords(ctx context.Context, in *CreateNSRecordsRequest, opts ...grpc.CallOption) (*CreateNSRecordsResponse, error) {
|
|
|
|
|
out := new(CreateNSRecordsResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/createNSRecords", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-09 21:03:04 +08:00
|
|
|
func (c *nSRecordServiceClient) CreateNSRecordsWithDomainNames(ctx context.Context, in *CreateNSRecordsWithDomainNamesRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/createNSRecordsWithDomainNames", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSRecordServiceClient) UpdateNSRecordsWithDomainNames(ctx context.Context, in *UpdateNSRecordsWithDomainNamesRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/updateNSRecordsWithDomainNames", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSRecordServiceClient) DeleteNSRecordsWithDomainNames(ctx context.Context, in *DeleteNSRecordsWithDomainNamesRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/deleteNSRecordsWithDomainNames", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSRecordServiceClient) UpdateNSRecordsIsOnWithDomainNames(ctx context.Context, in *UpdateNSRecordsIsOnWithDomainNamesRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/updateNSRecordsIsOnWithDomainNames", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSRecordServiceClient) ImportNSRecords(ctx context.Context, in *ImportNSRecordsRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/importNSRecords", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-27 17:08:57 +08:00
|
|
|
func (c *nSRecordServiceClient) UpdateNSRecord(ctx context.Context, in *UpdateNSRecordRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/updateNSRecord", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSRecordServiceClient) DeleteNSRecord(ctx context.Context, in *DeleteNSRecordRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/deleteNSRecord", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (c *nSRecordServiceClient) CountAllNSRecords(ctx context.Context, in *CountAllNSRecordsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
2021-05-27 17:08:57 +08:00
|
|
|
out := new(RPCCountResponse)
|
2022-08-06 20:29:26 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/countAllNSRecords", in, out, opts...)
|
2021-05-27 17:08:57 +08:00
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-13 10:50:26 +08:00
|
|
|
func (c *nSRecordServiceClient) CountAllNSRecordsWithName(ctx context.Context, in *CountAllNSRecordsWithNameRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
|
|
|
|
out := new(RPCCountResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/countAllNSRecordsWithName", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (c *nSRecordServiceClient) ListNSRecords(ctx context.Context, in *ListNSRecordsRequest, opts ...grpc.CallOption) (*ListNSRecordsResponse, error) {
|
|
|
|
|
out := new(ListNSRecordsResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/listNSRecords", in, out, opts...)
|
2021-05-27 17:08:57 +08:00
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (c *nSRecordServiceClient) FindNSRecord(ctx context.Context, in *FindNSRecordRequest, opts ...grpc.CallOption) (*FindNSRecordResponse, error) {
|
|
|
|
|
out := new(FindNSRecordResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/findNSRecord", in, out, opts...)
|
2021-05-27 17:08:57 +08:00
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-08 19:36:13 +08:00
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-17 17:34:10 +08:00
|
|
|
func (c *nSRecordServiceClient) FindNSRecordsWithNameAndType(ctx context.Context, in *FindNSRecordsWithNameAndTypeRequest, opts ...grpc.CallOption) (*FindNSRecordsWithNameAndTypeResponse, error) {
|
|
|
|
|
out := new(FindNSRecordsWithNameAndTypeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/findNSRecordsWithNameAndType", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-01 16:43:13 +08:00
|
|
|
func (c *nSRecordServiceClient) ListNSRecordsAfterVersion(ctx context.Context, in *ListNSRecordsAfterVersionRequest, opts ...grpc.CallOption) (*ListNSRecordsAfterVersionResponse, error) {
|
|
|
|
|
out := new(ListNSRecordsAfterVersionResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSRecordService/listNSRecordsAfterVersion", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-27 17:08:57 +08:00
|
|
|
// NSRecordServiceServer is the server API for NSRecordService service.
|
|
|
|
|
type NSRecordServiceServer interface {
|
|
|
|
|
// 创建记录
|
|
|
|
|
CreateNSRecord(context.Context, *CreateNSRecordRequest) (*CreateNSRecordResponse, error)
|
2022-08-06 20:29:26 +08:00
|
|
|
// 批量创建记录
|
|
|
|
|
CreateNSRecords(context.Context, *CreateNSRecordsRequest) (*CreateNSRecordsResponse, error)
|
2022-08-09 21:03:04 +08:00
|
|
|
// 为一组域名批量创建记录
|
|
|
|
|
CreateNSRecordsWithDomainNames(context.Context, *CreateNSRecordsWithDomainNamesRequest) (*RPCSuccess, error)
|
|
|
|
|
// 批量修改一组域名的一组记录
|
|
|
|
|
UpdateNSRecordsWithDomainNames(context.Context, *UpdateNSRecordsWithDomainNamesRequest) (*RPCSuccess, error)
|
|
|
|
|
// 批量删除一组域名的一组记录
|
|
|
|
|
DeleteNSRecordsWithDomainNames(context.Context, *DeleteNSRecordsWithDomainNamesRequest) (*RPCSuccess, error)
|
|
|
|
|
// 批量一组域名的一组记录启用状态
|
|
|
|
|
UpdateNSRecordsIsOnWithDomainNames(context.Context, *UpdateNSRecordsIsOnWithDomainNamesRequest) (*RPCSuccess, error)
|
|
|
|
|
// 导入域名解析
|
|
|
|
|
ImportNSRecords(context.Context, *ImportNSRecordsRequest) (*RPCSuccess, error)
|
2021-05-27 17:08:57 +08:00
|
|
|
// 修改记录
|
|
|
|
|
UpdateNSRecord(context.Context, *UpdateNSRecordRequest) (*RPCSuccess, error)
|
|
|
|
|
// 删除记录
|
|
|
|
|
DeleteNSRecord(context.Context, *DeleteNSRecordRequest) (*RPCSuccess, error)
|
|
|
|
|
// 计算记录数量
|
2022-08-06 20:29:26 +08:00
|
|
|
CountAllNSRecords(context.Context, *CountAllNSRecordsRequest) (*RPCCountResponse, error)
|
2022-09-13 10:50:26 +08:00
|
|
|
// 查询相同记录名的记录数
|
|
|
|
|
CountAllNSRecordsWithName(context.Context, *CountAllNSRecordsWithNameRequest) (*RPCCountResponse, error)
|
2021-05-27 17:08:57 +08:00
|
|
|
// 读取单页记录
|
2022-08-06 20:29:26 +08:00
|
|
|
ListNSRecords(context.Context, *ListNSRecordsRequest) (*ListNSRecordsResponse, error)
|
2021-05-27 17:08:57 +08:00
|
|
|
// 查询单个记录信息
|
2022-08-06 20:29:26 +08:00
|
|
|
FindNSRecord(context.Context, *FindNSRecordRequest) (*FindNSRecordResponse, error)
|
2022-09-08 19:36:13 +08:00
|
|
|
// 使用名称和类型查询单个记录信息
|
|
|
|
|
FindNSRecordWithNameAndType(context.Context, *FindNSRecordWithNameAndTypeRequest) (*FindNSRecordWithNameAndTypeResponse, error)
|
2022-11-17 17:34:10 +08:00
|
|
|
// 使用名称和类型查询多个记录信息
|
|
|
|
|
FindNSRecordsWithNameAndType(context.Context, *FindNSRecordsWithNameAndTypeRequest) (*FindNSRecordsWithNameAndTypeResponse, error)
|
2021-06-01 16:43:13 +08:00
|
|
|
// 根据版本列出一组记录
|
|
|
|
|
ListNSRecordsAfterVersion(context.Context, *ListNSRecordsAfterVersionRequest) (*ListNSRecordsAfterVersionResponse, error)
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnimplementedNSRecordServiceServer can be embedded to have forward compatible implementations.
|
|
|
|
|
type UnimplementedNSRecordServiceServer struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UnimplementedNSRecordServiceServer) CreateNSRecord(context.Context, *CreateNSRecordRequest) (*CreateNSRecordResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateNSRecord not implemented")
|
|
|
|
|
}
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*UnimplementedNSRecordServiceServer) CreateNSRecords(context.Context, *CreateNSRecordsRequest) (*CreateNSRecordsResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateNSRecords not implemented")
|
|
|
|
|
}
|
2022-08-09 21:03:04 +08:00
|
|
|
func (*UnimplementedNSRecordServiceServer) CreateNSRecordsWithDomainNames(context.Context, *CreateNSRecordsWithDomainNamesRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateNSRecordsWithDomainNames not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSRecordServiceServer) UpdateNSRecordsWithDomainNames(context.Context, *UpdateNSRecordsWithDomainNamesRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSRecordsWithDomainNames not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSRecordServiceServer) DeleteNSRecordsWithDomainNames(context.Context, *DeleteNSRecordsWithDomainNamesRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteNSRecordsWithDomainNames not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSRecordServiceServer) UpdateNSRecordsIsOnWithDomainNames(context.Context, *UpdateNSRecordsIsOnWithDomainNamesRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSRecordsIsOnWithDomainNames not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSRecordServiceServer) ImportNSRecords(context.Context, *ImportNSRecordsRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ImportNSRecords not implemented")
|
|
|
|
|
}
|
2021-05-27 17:08:57 +08:00
|
|
|
func (*UnimplementedNSRecordServiceServer) UpdateNSRecord(context.Context, *UpdateNSRecordRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSRecord not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSRecordServiceServer) DeleteNSRecord(context.Context, *DeleteNSRecordRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteNSRecord not implemented")
|
|
|
|
|
}
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*UnimplementedNSRecordServiceServer) CountAllNSRecords(context.Context, *CountAllNSRecordsRequest) (*RPCCountResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSRecords not implemented")
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
2022-09-13 10:50:26 +08:00
|
|
|
func (*UnimplementedNSRecordServiceServer) CountAllNSRecordsWithName(context.Context, *CountAllNSRecordsWithNameRequest) (*RPCCountResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSRecordsWithName not implemented")
|
|
|
|
|
}
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*UnimplementedNSRecordServiceServer) ListNSRecords(context.Context, *ListNSRecordsRequest) (*ListNSRecordsResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListNSRecords not implemented")
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*UnimplementedNSRecordServiceServer) FindNSRecord(context.Context, *FindNSRecordRequest) (*FindNSRecordResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSRecord not implemented")
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
2022-09-08 19:36:13 +08:00
|
|
|
func (*UnimplementedNSRecordServiceServer) FindNSRecordWithNameAndType(context.Context, *FindNSRecordWithNameAndTypeRequest) (*FindNSRecordWithNameAndTypeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSRecordWithNameAndType not implemented")
|
|
|
|
|
}
|
2022-11-17 17:34:10 +08:00
|
|
|
func (*UnimplementedNSRecordServiceServer) FindNSRecordsWithNameAndType(context.Context, *FindNSRecordsWithNameAndTypeRequest) (*FindNSRecordsWithNameAndTypeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSRecordsWithNameAndType not implemented")
|
|
|
|
|
}
|
2021-06-01 16:43:13 +08:00
|
|
|
func (*UnimplementedNSRecordServiceServer) ListNSRecordsAfterVersion(context.Context, *ListNSRecordsAfterVersionRequest) (*ListNSRecordsAfterVersionResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListNSRecordsAfterVersion not implemented")
|
|
|
|
|
}
|
2021-05-27 17:08:57 +08:00
|
|
|
|
|
|
|
|
func RegisterNSRecordServiceServer(s *grpc.Server, srv NSRecordServiceServer) {
|
|
|
|
|
s.RegisterService(&_NSRecordService_serviceDesc, srv)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSRecordService_CreateNSRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CreateNSRecordRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).CreateNSRecord(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/CreateNSRecord",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).CreateNSRecord(ctx, req.(*CreateNSRecordRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func _NSRecordService_CreateNSRecords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CreateNSRecordsRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).CreateNSRecords(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/CreateNSRecords",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).CreateNSRecords(ctx, req.(*CreateNSRecordsRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-09 21:03:04 +08:00
|
|
|
func _NSRecordService_CreateNSRecordsWithDomainNames_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CreateNSRecordsWithDomainNamesRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).CreateNSRecordsWithDomainNames(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/CreateNSRecordsWithDomainNames",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).CreateNSRecordsWithDomainNames(ctx, req.(*CreateNSRecordsWithDomainNamesRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSRecordService_UpdateNSRecordsWithDomainNames_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSRecordsWithDomainNamesRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).UpdateNSRecordsWithDomainNames(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/UpdateNSRecordsWithDomainNames",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).UpdateNSRecordsWithDomainNames(ctx, req.(*UpdateNSRecordsWithDomainNamesRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSRecordService_DeleteNSRecordsWithDomainNames_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(DeleteNSRecordsWithDomainNamesRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).DeleteNSRecordsWithDomainNames(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/DeleteNSRecordsWithDomainNames",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).DeleteNSRecordsWithDomainNames(ctx, req.(*DeleteNSRecordsWithDomainNamesRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSRecordService_UpdateNSRecordsIsOnWithDomainNames_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSRecordsIsOnWithDomainNamesRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).UpdateNSRecordsIsOnWithDomainNames(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/UpdateNSRecordsIsOnWithDomainNames",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).UpdateNSRecordsIsOnWithDomainNames(ctx, req.(*UpdateNSRecordsIsOnWithDomainNamesRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSRecordService_ImportNSRecords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ImportNSRecordsRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).ImportNSRecords(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/ImportNSRecords",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).ImportNSRecords(ctx, req.(*ImportNSRecordsRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-27 17:08:57 +08:00
|
|
|
func _NSRecordService_UpdateNSRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSRecordRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).UpdateNSRecord(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/UpdateNSRecord",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).UpdateNSRecord(ctx, req.(*UpdateNSRecordRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSRecordService_DeleteNSRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(DeleteNSRecordRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).DeleteNSRecord(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/DeleteNSRecord",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).DeleteNSRecord(ctx, req.(*DeleteNSRecordRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func _NSRecordService_CountAllNSRecords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllNSRecordsRequest)
|
2021-05-27 17:08:57 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSRecordServiceServer).CountAllNSRecords(ctx, in)
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
2022-08-06 20:29:26 +08:00
|
|
|
FullMethod: "/pb.NSRecordService/CountAllNSRecords",
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSRecordServiceServer).CountAllNSRecords(ctx, req.(*CountAllNSRecordsRequest))
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-13 10:50:26 +08:00
|
|
|
func _NSRecordService_CountAllNSRecordsWithName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllNSRecordsWithNameRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).CountAllNSRecordsWithName(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/CountAllNSRecordsWithName",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).CountAllNSRecordsWithName(ctx, req.(*CountAllNSRecordsWithNameRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func _NSRecordService_ListNSRecords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ListNSRecordsRequest)
|
2021-05-27 17:08:57 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSRecordServiceServer).ListNSRecords(ctx, in)
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
2022-08-06 20:29:26 +08:00
|
|
|
FullMethod: "/pb.NSRecordService/ListNSRecords",
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSRecordServiceServer).ListNSRecords(ctx, req.(*ListNSRecordsRequest))
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func _NSRecordService_FindNSRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSRecordRequest)
|
2021-05-27 17:08:57 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSRecordServiceServer).FindNSRecord(ctx, in)
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
2022-08-06 20:29:26 +08:00
|
|
|
FullMethod: "/pb.NSRecordService/FindNSRecord",
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSRecordServiceServer).FindNSRecord(ctx, req.(*FindNSRecordRequest))
|
2021-05-27 17:08:57 +08:00
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-08 19:36:13 +08:00
|
|
|
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)
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-17 17:34:10 +08:00
|
|
|
func _NSRecordService_FindNSRecordsWithNameAndType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSRecordsWithNameAndTypeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).FindNSRecordsWithNameAndType(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/FindNSRecordsWithNameAndType",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).FindNSRecordsWithNameAndType(ctx, req.(*FindNSRecordsWithNameAndTypeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-01 16:43:13 +08:00
|
|
|
func _NSRecordService_ListNSRecordsAfterVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ListNSRecordsAfterVersionRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSRecordServiceServer).ListNSRecordsAfterVersion(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSRecordService/ListNSRecordsAfterVersion",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSRecordServiceServer).ListNSRecordsAfterVersion(ctx, req.(*ListNSRecordsAfterVersionRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-27 17:08:57 +08:00
|
|
|
var _NSRecordService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "pb.NSRecordService",
|
|
|
|
|
HandlerType: (*NSRecordServiceServer)(nil),
|
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
|
{
|
|
|
|
|
MethodName: "createNSRecord",
|
|
|
|
|
Handler: _NSRecordService_CreateNSRecord_Handler,
|
|
|
|
|
},
|
2022-08-06 20:29:26 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "createNSRecords",
|
|
|
|
|
Handler: _NSRecordService_CreateNSRecords_Handler,
|
|
|
|
|
},
|
2022-08-09 21:03:04 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "createNSRecordsWithDomainNames",
|
|
|
|
|
Handler: _NSRecordService_CreateNSRecordsWithDomainNames_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNSRecordsWithDomainNames",
|
|
|
|
|
Handler: _NSRecordService_UpdateNSRecordsWithDomainNames_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "deleteNSRecordsWithDomainNames",
|
|
|
|
|
Handler: _NSRecordService_DeleteNSRecordsWithDomainNames_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNSRecordsIsOnWithDomainNames",
|
|
|
|
|
Handler: _NSRecordService_UpdateNSRecordsIsOnWithDomainNames_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "importNSRecords",
|
|
|
|
|
Handler: _NSRecordService_ImportNSRecords_Handler,
|
|
|
|
|
},
|
2021-05-27 17:08:57 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "updateNSRecord",
|
|
|
|
|
Handler: _NSRecordService_UpdateNSRecord_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "deleteNSRecord",
|
|
|
|
|
Handler: _NSRecordService_DeleteNSRecord_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-08-06 20:29:26 +08:00
|
|
|
MethodName: "countAllNSRecords",
|
|
|
|
|
Handler: _NSRecordService_CountAllNSRecords_Handler,
|
2021-05-27 17:08:57 +08:00
|
|
|
},
|
2022-09-13 10:50:26 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "countAllNSRecordsWithName",
|
|
|
|
|
Handler: _NSRecordService_CountAllNSRecordsWithName_Handler,
|
|
|
|
|
},
|
2021-05-27 17:08:57 +08:00
|
|
|
{
|
2022-08-06 20:29:26 +08:00
|
|
|
MethodName: "listNSRecords",
|
|
|
|
|
Handler: _NSRecordService_ListNSRecords_Handler,
|
2021-05-27 17:08:57 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-08-06 20:29:26 +08:00
|
|
|
MethodName: "findNSRecord",
|
|
|
|
|
Handler: _NSRecordService_FindNSRecord_Handler,
|
2021-05-27 17:08:57 +08:00
|
|
|
},
|
2022-09-08 19:36:13 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findNSRecordWithNameAndType",
|
|
|
|
|
Handler: _NSRecordService_FindNSRecordWithNameAndType_Handler,
|
|
|
|
|
},
|
2022-11-17 17:34:10 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findNSRecordsWithNameAndType",
|
|
|
|
|
Handler: _NSRecordService_FindNSRecordsWithNameAndType_Handler,
|
|
|
|
|
},
|
2021-06-01 16:43:13 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "listNSRecordsAfterVersion",
|
|
|
|
|
Handler: _NSRecordService_ListNSRecordsAfterVersion_Handler,
|
|
|
|
|
},
|
2021-05-27 17:08:57 +08:00
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
Metadata: "service_ns_record.proto",
|
|
|
|
|
}
|