Files
waf-platform/EdgeCommon/pkg/rpc/pb/model_dns_issue.pb.go
2026-03-22 17:37:40 +08:00

173 lines
5.4 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v3.19.6
// source: models/model_dns_issue.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 DNSIssue struct {
state protoimpl.MessageState `protogen:"open.v1"`
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
TargetId int64 `protobuf:"varint,2,opt,name=targetId,proto3" json:"targetId,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Params map[string]string `protobuf:"bytes,5,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MustFix bool `protobuf:"varint,6,opt,name=mustFix,proto3" json:"mustFix,omitempty"` // 是否必须修复
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DNSIssue) Reset() {
*x = DNSIssue{}
mi := &file_models_model_dns_issue_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DNSIssue) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DNSIssue) ProtoMessage() {}
func (x *DNSIssue) ProtoReflect() protoreflect.Message {
mi := &file_models_model_dns_issue_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 DNSIssue.ProtoReflect.Descriptor instead.
func (*DNSIssue) Descriptor() ([]byte, []int) {
return file_models_model_dns_issue_proto_rawDescGZIP(), []int{0}
}
func (x *DNSIssue) GetTarget() string {
if x != nil {
return x.Target
}
return ""
}
func (x *DNSIssue) GetTargetId() int64 {
if x != nil {
return x.TargetId
}
return 0
}
func (x *DNSIssue) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *DNSIssue) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *DNSIssue) GetParams() map[string]string {
if x != nil {
return x.Params
}
return nil
}
func (x *DNSIssue) GetMustFix() bool {
if x != nil {
return x.MustFix
}
return false
}
var File_models_model_dns_issue_proto protoreflect.FileDescriptor
const file_models_model_dns_issue_proto_rawDesc = "" +
"\n" +
"\x1cmodels/model_dns_issue.proto\x12\x02pb\"\xfb\x01\n" +
"\bDNSIssue\x12\x16\n" +
"\x06target\x18\x01 \x01(\tR\x06target\x12\x1a\n" +
"\btargetId\x18\x02 \x01(\x03R\btargetId\x12\x12\n" +
"\x04type\x18\x03 \x01(\tR\x04type\x12 \n" +
"\vdescription\x18\x04 \x01(\tR\vdescription\x120\n" +
"\x06params\x18\x05 \x03(\v2\x18.pb.DNSIssue.ParamsEntryR\x06params\x12\x18\n" +
"\amustFix\x18\x06 \x01(\bR\amustFix\x1a9\n" +
"\vParamsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x06Z\x04./pbb\x06proto3"
var (
file_models_model_dns_issue_proto_rawDescOnce sync.Once
file_models_model_dns_issue_proto_rawDescData []byte
)
func file_models_model_dns_issue_proto_rawDescGZIP() []byte {
file_models_model_dns_issue_proto_rawDescOnce.Do(func() {
file_models_model_dns_issue_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_dns_issue_proto_rawDesc), len(file_models_model_dns_issue_proto_rawDesc)))
})
return file_models_model_dns_issue_proto_rawDescData
}
var file_models_model_dns_issue_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_models_model_dns_issue_proto_goTypes = []any{
(*DNSIssue)(nil), // 0: pb.DNSIssue
nil, // 1: pb.DNSIssue.ParamsEntry
}
var file_models_model_dns_issue_proto_depIdxs = []int32{
1, // 0: pb.DNSIssue.params:type_name -> pb.DNSIssue.ParamsEntry
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_models_model_dns_issue_proto_init() }
func file_models_model_dns_issue_proto_init() {
if File_models_model_dns_issue_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_dns_issue_proto_rawDesc), len(file_models_model_dns_issue_proto_rawDesc)),
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_models_model_dns_issue_proto_goTypes,
DependencyIndexes: file_models_model_dns_issue_proto_depIdxs,
MessageInfos: file_models_model_dns_issue_proto_msgTypes,
}.Build()
File_models_model_dns_issue_proto = out.File
file_models_model_dns_issue_proto_goTypes = nil
file_models_model_dns_issue_proto_depIdxs = nil
}