github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/protos/node/node.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.34.0 4 // protoc v4.25.3 5 // source: node/node.proto 6 7 package node 8 9 import ( 10 point "github.com/Asutorufa/yuhaiin/pkg/protos/node/point" 11 subscribe "github.com/Asutorufa/yuhaiin/pkg/protos/node/subscribe" 12 tag "github.com/Asutorufa/yuhaiin/pkg/protos/node/tag" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 type Node struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 Tcp *point.Point `protobuf:"bytes,4,opt,name=tcp,proto3" json:"tcp,omitempty"` 32 Udp *point.Point `protobuf:"bytes,5,opt,name=udp,proto3" json:"udp,omitempty"` 33 Links map[string]*subscribe.Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 34 Manager *Manager `protobuf:"bytes,3,opt,name=manager,proto3" json:"manager,omitempty"` 35 } 36 37 func (x *Node) Reset() { 38 *x = Node{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_node_node_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *Node) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*Node) ProtoMessage() {} 51 52 func (x *Node) ProtoReflect() protoreflect.Message { 53 mi := &file_node_node_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use Node.ProtoReflect.Descriptor instead. 65 func (*Node) Descriptor() ([]byte, []int) { 66 return file_node_node_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (x *Node) GetTcp() *point.Point { 70 if x != nil { 71 return x.Tcp 72 } 73 return nil 74 } 75 76 func (x *Node) GetUdp() *point.Point { 77 if x != nil { 78 return x.Udp 79 } 80 return nil 81 } 82 83 func (x *Node) GetLinks() map[string]*subscribe.Link { 84 if x != nil { 85 return x.Links 86 } 87 return nil 88 } 89 90 func (x *Node) GetManager() *Manager { 91 if x != nil { 92 return x.Manager 93 } 94 return nil 95 } 96 97 type Nodes struct { 98 state protoimpl.MessageState 99 sizeCache protoimpl.SizeCache 100 unknownFields protoimpl.UnknownFields 101 102 NodesV2 map[string]string `protobuf:"bytes,3,rep,name=nodesV2,json=node_hash_map,proto3" json:"nodesV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 103 } 104 105 func (x *Nodes) Reset() { 106 *x = Nodes{} 107 if protoimpl.UnsafeEnabled { 108 mi := &file_node_node_proto_msgTypes[1] 109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 110 ms.StoreMessageInfo(mi) 111 } 112 } 113 114 func (x *Nodes) String() string { 115 return protoimpl.X.MessageStringOf(x) 116 } 117 118 func (*Nodes) ProtoMessage() {} 119 120 func (x *Nodes) ProtoReflect() protoreflect.Message { 121 mi := &file_node_node_proto_msgTypes[1] 122 if protoimpl.UnsafeEnabled && x != nil { 123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 124 if ms.LoadMessageInfo() == nil { 125 ms.StoreMessageInfo(mi) 126 } 127 return ms 128 } 129 return mi.MessageOf(x) 130 } 131 132 // Deprecated: Use Nodes.ProtoReflect.Descriptor instead. 133 func (*Nodes) Descriptor() ([]byte, []int) { 134 return file_node_node_proto_rawDescGZIP(), []int{1} 135 } 136 137 func (x *Nodes) GetNodesV2() map[string]string { 138 if x != nil { 139 return x.NodesV2 140 } 141 return nil 142 } 143 144 type Manager struct { 145 state protoimpl.MessageState 146 sizeCache protoimpl.SizeCache 147 unknownFields protoimpl.UnknownFields 148 149 GroupsV2 map[string]*Nodes `protobuf:"bytes,2,rep,name=groupsV2,json=group_nodes_map,proto3" json:"groupsV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 150 Nodes map[string]*point.Point `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 151 Tags map[string]*tag.Tags `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 152 } 153 154 func (x *Manager) Reset() { 155 *x = Manager{} 156 if protoimpl.UnsafeEnabled { 157 mi := &file_node_node_proto_msgTypes[2] 158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 159 ms.StoreMessageInfo(mi) 160 } 161 } 162 163 func (x *Manager) String() string { 164 return protoimpl.X.MessageStringOf(x) 165 } 166 167 func (*Manager) ProtoMessage() {} 168 169 func (x *Manager) ProtoReflect() protoreflect.Message { 170 mi := &file_node_node_proto_msgTypes[2] 171 if protoimpl.UnsafeEnabled && x != nil { 172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 173 if ms.LoadMessageInfo() == nil { 174 ms.StoreMessageInfo(mi) 175 } 176 return ms 177 } 178 return mi.MessageOf(x) 179 } 180 181 // Deprecated: Use Manager.ProtoReflect.Descriptor instead. 182 func (*Manager) Descriptor() ([]byte, []int) { 183 return file_node_node_proto_rawDescGZIP(), []int{2} 184 } 185 186 func (x *Manager) GetGroupsV2() map[string]*Nodes { 187 if x != nil { 188 return x.GroupsV2 189 } 190 return nil 191 } 192 193 func (x *Manager) GetNodes() map[string]*point.Point { 194 if x != nil { 195 return x.Nodes 196 } 197 return nil 198 } 199 200 func (x *Manager) GetTags() map[string]*tag.Tags { 201 if x != nil { 202 return x.Tags 203 } 204 return nil 205 } 206 207 var File_node_node_proto protoreflect.FileDescriptor 208 209 var file_node_node_proto_rawDesc = []byte{ 210 0x0a, 0x0f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 211 0x6f, 0x12, 0x0c, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x1a, 212 0x16, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x70, 0x6f, 0x69, 0x6e, 213 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x73, 0x75, 214 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 215 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x74, 0x61, 216 0x67, 0x2f, 0x74, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x02, 0x0a, 0x04, 217 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x26, 0x0a, 0x03, 0x74, 0x63, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 218 0x0b, 0x32, 0x14, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 219 0x74, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x03, 0x74, 0x63, 0x70, 0x12, 0x26, 0x0a, 0x03, 220 0x75, 0x64, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x79, 0x75, 0x68, 0x61, 221 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 222 0x03, 0x75, 0x64, 0x70, 0x12, 0x33, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x02, 0x20, 223 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x6e, 0x6f, 224 0x64, 0x65, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x45, 0x6e, 0x74, 225 0x72, 0x79, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 226 0x61, 0x67, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x79, 0x75, 0x68, 227 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 228 0x72, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x1a, 0x51, 0x0a, 0x0a, 0x4c, 0x69, 229 0x6e, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 230 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 231 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x79, 0x75, 0x68, 0x61, 232 0x69, 0x69, 0x6e, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x2e, 0x6c, 0x69, 233 0x6e, 0x6b, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x85, 0x01, 234 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x73, 235 0x56, 0x32, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 236 0x69, 0x6e, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 237 0x64, 0x65, 0x73, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 238 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x6d, 0x61, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x4e, 0x6f, 0x64, 239 0x65, 0x73, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 240 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 241 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 242 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xac, 0x03, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 243 0x72, 0x12, 0x46, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x56, 0x32, 0x18, 0x02, 0x20, 244 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x6e, 0x6f, 245 0x64, 0x65, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 246 0x73, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 247 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x5f, 0x6d, 0x61, 0x70, 0x12, 0x36, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 248 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 249 0x69, 0x6e, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 250 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 251 0x73, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 252 0x1f, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6d, 253 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 254 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, 0x50, 0x0a, 0x0d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 255 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 256 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c, 257 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 258 0x69, 0x6e, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x05, 0x76, 259 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4e, 0x0a, 0x0a, 0x4e, 0x6f, 0x64, 0x65, 260 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 261 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 262 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 263 0x6e, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x05, 0x76, 264 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, 265 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 266 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 267 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 268 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x74, 0x61, 0x67, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 269 0x3a, 0x02, 0x38, 0x01, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 270 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x75, 0x74, 0x6f, 0x72, 0x75, 0x66, 0x61, 0x2f, 0x79, 0x75, 0x68, 271 0x61, 0x69, 0x69, 0x6e, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 272 0x6e, 0x6f, 0x64, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 273 } 274 275 var ( 276 file_node_node_proto_rawDescOnce sync.Once 277 file_node_node_proto_rawDescData = file_node_node_proto_rawDesc 278 ) 279 280 func file_node_node_proto_rawDescGZIP() []byte { 281 file_node_node_proto_rawDescOnce.Do(func() { 282 file_node_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_node_node_proto_rawDescData) 283 }) 284 return file_node_node_proto_rawDescData 285 } 286 287 var file_node_node_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 288 var file_node_node_proto_goTypes = []interface{}{ 289 (*Node)(nil), // 0: yuhaiin.node.node 290 (*Nodes)(nil), // 1: yuhaiin.node.nodes 291 (*Manager)(nil), // 2: yuhaiin.node.manager 292 nil, // 3: yuhaiin.node.node.LinksEntry 293 nil, // 4: yuhaiin.node.nodes.NodesV2Entry 294 nil, // 5: yuhaiin.node.manager.GroupsV2Entry 295 nil, // 6: yuhaiin.node.manager.NodesEntry 296 nil, // 7: yuhaiin.node.manager.TagsEntry 297 (*point.Point)(nil), // 8: yuhaiin.point.point 298 (*subscribe.Link)(nil), // 9: yuhaiin.subscribe.link 299 (*tag.Tags)(nil), // 10: yuhaiin.tag.tags 300 } 301 var file_node_node_proto_depIdxs = []int32{ 302 8, // 0: yuhaiin.node.node.tcp:type_name -> yuhaiin.point.point 303 8, // 1: yuhaiin.node.node.udp:type_name -> yuhaiin.point.point 304 3, // 2: yuhaiin.node.node.links:type_name -> yuhaiin.node.node.LinksEntry 305 2, // 3: yuhaiin.node.node.manager:type_name -> yuhaiin.node.manager 306 4, // 4: yuhaiin.node.nodes.nodesV2:type_name -> yuhaiin.node.nodes.NodesV2Entry 307 5, // 5: yuhaiin.node.manager.groupsV2:type_name -> yuhaiin.node.manager.GroupsV2Entry 308 6, // 6: yuhaiin.node.manager.nodes:type_name -> yuhaiin.node.manager.NodesEntry 309 7, // 7: yuhaiin.node.manager.tags:type_name -> yuhaiin.node.manager.TagsEntry 310 9, // 8: yuhaiin.node.node.LinksEntry.value:type_name -> yuhaiin.subscribe.link 311 1, // 9: yuhaiin.node.manager.GroupsV2Entry.value:type_name -> yuhaiin.node.nodes 312 8, // 10: yuhaiin.node.manager.NodesEntry.value:type_name -> yuhaiin.point.point 313 10, // 11: yuhaiin.node.manager.TagsEntry.value:type_name -> yuhaiin.tag.tags 314 12, // [12:12] is the sub-list for method output_type 315 12, // [12:12] is the sub-list for method input_type 316 12, // [12:12] is the sub-list for extension type_name 317 12, // [12:12] is the sub-list for extension extendee 318 0, // [0:12] is the sub-list for field type_name 319 } 320 321 func init() { file_node_node_proto_init() } 322 func file_node_node_proto_init() { 323 if File_node_node_proto != nil { 324 return 325 } 326 if !protoimpl.UnsafeEnabled { 327 file_node_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 328 switch v := v.(*Node); i { 329 case 0: 330 return &v.state 331 case 1: 332 return &v.sizeCache 333 case 2: 334 return &v.unknownFields 335 default: 336 return nil 337 } 338 } 339 file_node_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 340 switch v := v.(*Nodes); i { 341 case 0: 342 return &v.state 343 case 1: 344 return &v.sizeCache 345 case 2: 346 return &v.unknownFields 347 default: 348 return nil 349 } 350 } 351 file_node_node_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 352 switch v := v.(*Manager); i { 353 case 0: 354 return &v.state 355 case 1: 356 return &v.sizeCache 357 case 2: 358 return &v.unknownFields 359 default: 360 return nil 361 } 362 } 363 } 364 type x struct{} 365 out := protoimpl.TypeBuilder{ 366 File: protoimpl.DescBuilder{ 367 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 368 RawDescriptor: file_node_node_proto_rawDesc, 369 NumEnums: 0, 370 NumMessages: 8, 371 NumExtensions: 0, 372 NumServices: 0, 373 }, 374 GoTypes: file_node_node_proto_goTypes, 375 DependencyIndexes: file_node_node_proto_depIdxs, 376 MessageInfos: file_node_node_proto_msgTypes, 377 }.Build() 378 File_node_node_proto = out.File 379 file_node_node_proto_rawDesc = nil 380 file_node_node_proto_goTypes = nil 381 file_node_node_proto_depIdxs = nil 382 }