// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v3.19.6 // source: models/model_ns_cluster.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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) ) // 域名服务集群 type NSCluster struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` InstallDir string `protobuf:"bytes,4,opt,name=installDir,proto3" json:"installDir,omitempty"` TcpJSON []byte `protobuf:"bytes,5,opt,name=tcpJSON,proto3" json:"tcpJSON,omitempty"` // TCP设置 TlsJSON []byte `protobuf:"bytes,6,opt,name=tlsJSON,proto3" json:"tlsJSON,omitempty"` // TLS设置 UdpJSON []byte `protobuf:"bytes,7,opt,name=udpJSON,proto3" json:"udpJSON,omitempty"` // UDP设置 DohJSON []byte `protobuf:"bytes,16,opt,name=dohJSON,proto3" json:"dohJSON,omitempty"` // DoH设置 Hosts []string `protobuf:"bytes,8,rep,name=hosts,proto3" json:"hosts,omitempty"` SoaJSON []byte `protobuf:"bytes,12,opt,name=soaJSON,proto3" json:"soaJSON,omitempty"` Email string `protobuf:"bytes,13,opt,name=email,proto3" json:"email,omitempty"` AutoRemoteStart bool `protobuf:"varint,9,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"` TimeZone string `protobuf:"bytes,10,opt,name=timeZone,proto3" json:"timeZone,omitempty"` AnswerJSON []byte `protobuf:"bytes,11,opt,name=answerJSON,proto3" json:"answerJSON,omitempty"` DetectAgents bool `protobuf:"varint,14,opt,name=detectAgents,proto3" json:"detectAgents,omitempty"` CheckingPorts bool `protobuf:"varint,15,opt,name=checkingPorts,proto3" json:"checkingPorts,omitempty"` // 检查端口连通性 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NSCluster) Reset() { *x = NSCluster{} mi := &file_models_model_ns_cluster_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NSCluster) String() string { return protoimpl.X.MessageStringOf(x) } func (*NSCluster) ProtoMessage() {} func (x *NSCluster) ProtoReflect() protoreflect.Message { mi := &file_models_model_ns_cluster_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NSCluster.ProtoReflect.Descriptor instead. func (*NSCluster) Descriptor() ([]byte, []int) { return file_models_model_ns_cluster_proto_rawDescGZIP(), []int{0} } func (x *NSCluster) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *NSCluster) GetIsOn() bool { if x != nil { return x.IsOn } return false } func (x *NSCluster) GetName() string { if x != nil { return x.Name } return "" } func (x *NSCluster) GetInstallDir() string { if x != nil { return x.InstallDir } return "" } func (x *NSCluster) GetTcpJSON() []byte { if x != nil { return x.TcpJSON } return nil } func (x *NSCluster) GetTlsJSON() []byte { if x != nil { return x.TlsJSON } return nil } func (x *NSCluster) GetUdpJSON() []byte { if x != nil { return x.UdpJSON } return nil } func (x *NSCluster) GetDohJSON() []byte { if x != nil { return x.DohJSON } return nil } func (x *NSCluster) GetHosts() []string { if x != nil { return x.Hosts } return nil } func (x *NSCluster) GetSoaJSON() []byte { if x != nil { return x.SoaJSON } return nil } func (x *NSCluster) GetEmail() string { if x != nil { return x.Email } return "" } func (x *NSCluster) GetAutoRemoteStart() bool { if x != nil { return x.AutoRemoteStart } return false } func (x *NSCluster) GetTimeZone() string { if x != nil { return x.TimeZone } return "" } func (x *NSCluster) GetAnswerJSON() []byte { if x != nil { return x.AnswerJSON } return nil } func (x *NSCluster) GetDetectAgents() bool { if x != nil { return x.DetectAgents } return false } func (x *NSCluster) GetCheckingPorts() bool { if x != nil { return x.CheckingPorts } return false } var File_models_model_ns_cluster_proto protoreflect.FileDescriptor const file_models_model_ns_cluster_proto_rawDesc = "" + "\n" + "\x1dmodels/model_ns_cluster.proto\x12\x02pb\"\xc1\x03\n" + "\tNSCluster\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" + "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" + "\x04name\x18\x03 \x01(\tR\x04name\x12\x1e\n" + "\n" + "installDir\x18\x04 \x01(\tR\n" + "installDir\x12\x18\n" + "\atcpJSON\x18\x05 \x01(\fR\atcpJSON\x12\x18\n" + "\atlsJSON\x18\x06 \x01(\fR\atlsJSON\x12\x18\n" + "\audpJSON\x18\a \x01(\fR\audpJSON\x12\x18\n" + "\adohJSON\x18\x10 \x01(\fR\adohJSON\x12\x14\n" + "\x05hosts\x18\b \x03(\tR\x05hosts\x12\x18\n" + "\asoaJSON\x18\f \x01(\fR\asoaJSON\x12\x14\n" + "\x05email\x18\r \x01(\tR\x05email\x12(\n" + "\x0fautoRemoteStart\x18\t \x01(\bR\x0fautoRemoteStart\x12\x1a\n" + "\btimeZone\x18\n" + " \x01(\tR\btimeZone\x12\x1e\n" + "\n" + "answerJSON\x18\v \x01(\fR\n" + "answerJSON\x12\"\n" + "\fdetectAgents\x18\x0e \x01(\bR\fdetectAgents\x12$\n" + "\rcheckingPorts\x18\x0f \x01(\bR\rcheckingPortsB\x06Z\x04./pbb\x06proto3" var ( file_models_model_ns_cluster_proto_rawDescOnce sync.Once file_models_model_ns_cluster_proto_rawDescData []byte ) func file_models_model_ns_cluster_proto_rawDescGZIP() []byte { file_models_model_ns_cluster_proto_rawDescOnce.Do(func() { file_models_model_ns_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ns_cluster_proto_rawDesc), len(file_models_model_ns_cluster_proto_rawDesc))) }) return file_models_model_ns_cluster_proto_rawDescData } var file_models_model_ns_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_models_model_ns_cluster_proto_goTypes = []any{ (*NSCluster)(nil), // 0: pb.NSCluster } var file_models_model_ns_cluster_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_models_model_ns_cluster_proto_init() } func file_models_model_ns_cluster_proto_init() { if File_models_model_ns_cluster_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ns_cluster_proto_rawDesc), len(file_models_model_ns_cluster_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, GoTypes: file_models_model_ns_cluster_proto_goTypes, DependencyIndexes: file_models_model_ns_cluster_proto_depIdxs, MessageInfos: file_models_model_ns_cluster_proto_msgTypes, }.Build() File_models_model_ns_cluster_proto = out.File file_models_model_ns_cluster_proto_goTypes = nil file_models_model_ns_cluster_proto_depIdxs = nil }