| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
package utsns |
| 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 UtsnsEntry struct { |
| 26 |
state protoimpl.MessageState |
| 27 |
sizeCache protoimpl.SizeCache |
| 28 |
unknownFields protoimpl.UnknownFields |
| 29 |
|
| 30 |
Nodename *string `protobuf:"bytes,1,req,name=nodename" json:"nodename,omitempty"` |
| 31 |
Domainname *string `protobuf:"bytes,2,req,name=domainname" json:"domainname,omitempty"` |
| 32 |
} |
| 33 |
|
| 34 |
func (x *UtsnsEntry) Reset() { |
| 35 |
*x = UtsnsEntry{} |
| 36 |
if protoimpl.UnsafeEnabled { |
| 37 |
mi := &file_utsns_proto_msgTypes[0] |
| 38 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 39 |
ms.StoreMessageInfo(mi) |
| 40 |
} |
| 41 |
} |
| 42 |
|
| 43 |
func (x *UtsnsEntry) String() string { |
| 44 |
return protoimpl.X.MessageStringOf(x) |
| 45 |
} |
| 46 |
|
| 47 |
func (*UtsnsEntry) ProtoMessage() {} |
| 48 |
|
| 49 |
func (x *UtsnsEntry) ProtoReflect() protoreflect.Message { |
| 50 |
mi := &file_utsns_proto_msgTypes[0] |
| 51 |
if protoimpl.UnsafeEnabled && x != nil { |
| 52 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 53 |
if ms.LoadMessageInfo() == nil { |
| 54 |
ms.StoreMessageInfo(mi) |
| 55 |
} |
| 56 |
return ms |
| 57 |
} |
| 58 |
return mi.MessageOf(x) |
| 59 |
} |
| 60 |
|
| 61 |
|
| 62 |
func (*UtsnsEntry) Descriptor() ([]byte, []int) { |
| 63 |
return file_utsns_proto_rawDescGZIP(), []int{0} |
| 64 |
} |
| 65 |
|
| 66 |
func (x *UtsnsEntry) GetNodename() string { |
| 67 |
if x != nil && x.Nodename != nil { |
| 68 |
return *x.Nodename |
| 69 |
} |
| 70 |
return "" |
| 71 |
} |
| 72 |
|
| 73 |
func (x *UtsnsEntry) GetDomainname() string { |
| 74 |
if x != nil && x.Domainname != nil { |
| 75 |
return *x.Domainname |
| 76 |
} |
| 77 |
return "" |
| 78 |
} |
| 79 |
|
| 80 |
var File_utsns_proto protoreflect.FileDescriptor |
| 81 |
|
| 82 |
var file_utsns_proto_rawDesc = []byte{ |
| 83 |
0x0a, 0x0b, 0x75, 0x74, 0x73, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, |
| 84 |
0x0b, 0x75, 0x74, 0x73, 0x6e, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, |
| 85 |
0x6e, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, |
| 86 |
0x6e, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x6f, 0x6d, 0x61, |
| 87 |
0x69, 0x6e, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x6f, |
| 88 |
0x6d, 0x61, 0x69, 0x6e, 0x6e, 0x61, 0x6d, 0x65, |
| 89 |
} |
| 90 |
|
| 91 |
var ( |
| 92 |
file_utsns_proto_rawDescOnce sync.Once |
| 93 |
file_utsns_proto_rawDescData = file_utsns_proto_rawDesc |
| 94 |
) |
| 95 |
|
| 96 |
func file_utsns_proto_rawDescGZIP() []byte { |
| 97 |
file_utsns_proto_rawDescOnce.Do(func() { |
| 98 |
file_utsns_proto_rawDescData = protoimpl.X.CompressGZIP(file_utsns_proto_rawDescData) |
| 99 |
}) |
| 100 |
return file_utsns_proto_rawDescData |
| 101 |
} |
| 102 |
|
| 103 |
var file_utsns_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 104 |
var file_utsns_proto_goTypes = []interface{}{ |
| 105 |
(*UtsnsEntry)(nil), |
| 106 |
} |
| 107 |
var file_utsns_proto_depIdxs = []int32{ |
| 108 |
0, |
| 109 |
0, |
| 110 |
0, |
| 111 |
0, |
| 112 |
0, |
| 113 |
} |
| 114 |
|
| 115 |
func init() { file_utsns_proto_init() } |
| 116 |
func file_utsns_proto_init() { |
| 117 |
if File_utsns_proto != nil { |
| 118 |
return |
| 119 |
} |
| 120 |
if !protoimpl.UnsafeEnabled { |
| 121 |
file_utsns_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 122 |
switch v := v.(*UtsnsEntry); i { |
| 123 |
case 0: |
| 124 |
return &v.state |
| 125 |
case 1: |
| 126 |
return &v.sizeCache |
| 127 |
case 2: |
| 128 |
return &v.unknownFields |
| 129 |
default: |
| 130 |
return nil |
| 131 |
} |
| 132 |
} |
| 133 |
} |
| 134 |
type x struct{} |
| 135 |
out := protoimpl.TypeBuilder{ |
| 136 |
File: protoimpl.DescBuilder{ |
| 137 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 138 |
RawDescriptor: file_utsns_proto_rawDesc, |
| 139 |
NumEnums: 0, |
| 140 |
NumMessages: 1, |
| 141 |
NumExtensions: 0, |
| 142 |
NumServices: 0, |
| 143 |
}, |
| 144 |
GoTypes: file_utsns_proto_goTypes, |
| 145 |
DependencyIndexes: file_utsns_proto_depIdxs, |
| 146 |
MessageInfos: file_utsns_proto_msgTypes, |
| 147 |
}.Build() |
| 148 |
File_utsns_proto = out.File |
| 149 |
file_utsns_proto_rawDesc = nil |
| 150 |
file_utsns_proto_goTypes = nil |
| 151 |
file_utsns_proto_depIdxs = nil |
| 152 |
} |