| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
package pidns |
| 10 |
|
| 11 |
import ( |
| 12 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 13 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 14 |
reflect "reflect" |
| 15 |
sync "sync" |
| 16 |
) |
| 17 |
|
| 18 |
const ( |
| 19 |
|
| 20 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 21 |
|
| 22 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 23 |
) |
| 24 |
|
| 25 |
type PidnsEntry struct { |
| 26 |
state protoimpl.MessageState |
| 27 |
sizeCache protoimpl.SizeCache |
| 28 |
unknownFields protoimpl.UnknownFields |
| 29 |
|
| 30 |
ExtKey *string `protobuf:"bytes,1,opt,name=ext_key,json=extKey" json:"ext_key,omitempty"` |
| 31 |
} |
| 32 |
|
| 33 |
func (x *PidnsEntry) Reset() { |
| 34 |
*x = PidnsEntry{} |
| 35 |
if protoimpl.UnsafeEnabled { |
| 36 |
mi := &file_pidns_proto_msgTypes[0] |
| 37 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 38 |
ms.StoreMessageInfo(mi) |
| 39 |
} |
| 40 |
} |
| 41 |
|
| 42 |
func (x *PidnsEntry) String() string { |
| 43 |
return protoimpl.X.MessageStringOf(x) |
| 44 |
} |
| 45 |
|
| 46 |
func (*PidnsEntry) ProtoMessage() {} |
| 47 |
|
| 48 |
func (x *PidnsEntry) ProtoReflect() protoreflect.Message { |
| 49 |
mi := &file_pidns_proto_msgTypes[0] |
| 50 |
if protoimpl.UnsafeEnabled && x != nil { |
| 51 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 52 |
if ms.LoadMessageInfo() == nil { |
| 53 |
ms.StoreMessageInfo(mi) |
| 54 |
} |
| 55 |
return ms |
| 56 |
} |
| 57 |
return mi.MessageOf(x) |
| 58 |
} |
| 59 |
|
| 60 |
|
| 61 |
func (*PidnsEntry) Descriptor() ([]byte, []int) { |
| 62 |
return file_pidns_proto_rawDescGZIP(), []int{0} |
| 63 |
} |
| 64 |
|
| 65 |
func (x *PidnsEntry) GetExtKey() string { |
| 66 |
if x != nil && x.ExtKey != nil { |
| 67 |
return *x.ExtKey |
| 68 |
} |
| 69 |
return "" |
| 70 |
} |
| 71 |
|
| 72 |
var File_pidns_proto protoreflect.FileDescriptor |
| 73 |
|
| 74 |
var file_pidns_proto_rawDesc = []byte{ |
| 75 |
0x0a, 0x0b, 0x70, 0x69, 0x64, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a, |
| 76 |
0x0b, 0x70, 0x69, 0x64, 0x6e, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, |
| 77 |
0x65, 0x78, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, |
| 78 |
0x78, 0x74, 0x4b, 0x65, 0x79, |
| 79 |
} |
| 80 |
|
| 81 |
var ( |
| 82 |
file_pidns_proto_rawDescOnce sync.Once |
| 83 |
file_pidns_proto_rawDescData = file_pidns_proto_rawDesc |
| 84 |
) |
| 85 |
|
| 86 |
func file_pidns_proto_rawDescGZIP() []byte { |
| 87 |
file_pidns_proto_rawDescOnce.Do(func() { |
| 88 |
file_pidns_proto_rawDescData = protoimpl.X.CompressGZIP(file_pidns_proto_rawDescData) |
| 89 |
}) |
| 90 |
return file_pidns_proto_rawDescData |
| 91 |
} |
| 92 |
|
| 93 |
var file_pidns_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 94 |
var file_pidns_proto_goTypes = []interface{}{ |
| 95 |
(*PidnsEntry)(nil), |
| 96 |
} |
| 97 |
var file_pidns_proto_depIdxs = []int32{ |
| 98 |
0, |
| 99 |
0, |
| 100 |
0, |
| 101 |
0, |
| 102 |
0, |
| 103 |
} |
| 104 |
|
| 105 |
func init() { file_pidns_proto_init() } |
| 106 |
func file_pidns_proto_init() { |
| 107 |
if File_pidns_proto != nil { |
| 108 |
return |
| 109 |
} |
| 110 |
if !protoimpl.UnsafeEnabled { |
| 111 |
file_pidns_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 112 |
switch v := v.(*PidnsEntry); i { |
| 113 |
case 0: |
| 114 |
return &v.state |
| 115 |
case 1: |
| 116 |
return &v.sizeCache |
| 117 |
case 2: |
| 118 |
return &v.unknownFields |
| 119 |
default: |
| 120 |
return nil |
| 121 |
} |
| 122 |
} |
| 123 |
} |
| 124 |
type x struct{} |
| 125 |
out := protoimpl.TypeBuilder{ |
| 126 |
File: protoimpl.DescBuilder{ |
| 127 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 128 |
RawDescriptor: file_pidns_proto_rawDesc, |
| 129 |
NumEnums: 0, |
| 130 |
NumMessages: 1, |
| 131 |
NumExtensions: 0, |
| 132 |
NumServices: 0, |
| 133 |
}, |
| 134 |
GoTypes: file_pidns_proto_goTypes, |
| 135 |
DependencyIndexes: file_pidns_proto_depIdxs, |
| 136 |
MessageInfos: file_pidns_proto_msgTypes, |
| 137 |
}.Build() |
| 138 |
File_pidns_proto = out.File |
| 139 |
file_pidns_proto_rawDesc = nil |
| 140 |
file_pidns_proto_goTypes = nil |
| 141 |
file_pidns_proto_depIdxs = nil |
| 142 |
} |