github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/protos/node/grpc/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/grpc/node.proto 6 7 package service 8 9 import ( 10 node "github.com/Asutorufa/yuhaiin/pkg/protos/node" 11 latency "github.com/Asutorufa/yuhaiin/pkg/protos/node/latency" 12 point "github.com/Asutorufa/yuhaiin/pkg/protos/node/point" 13 subscribe "github.com/Asutorufa/yuhaiin/pkg/protos/node/subscribe" 14 tag "github.com/Asutorufa/yuhaiin/pkg/protos/node/tag" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 emptypb "google.golang.org/protobuf/types/known/emptypb" 18 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" 19 reflect "reflect" 20 sync "sync" 21 ) 22 23 const ( 24 // Verify that this generated code is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 26 // Verify that runtime/protoimpl is sufficiently up-to-date. 27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 28 ) 29 30 type NowResp struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 Tcp *point.Point `protobuf:"bytes,1,opt,name=tcp,proto3" json:"tcp,omitempty"` 36 Udp *point.Point `protobuf:"bytes,2,opt,name=udp,proto3" json:"udp,omitempty"` 37 } 38 39 func (x *NowResp) Reset() { 40 *x = NowResp{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_node_grpc_node_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *NowResp) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*NowResp) ProtoMessage() {} 53 54 func (x *NowResp) ProtoReflect() protoreflect.Message { 55 mi := &file_node_grpc_node_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use NowResp.ProtoReflect.Descriptor instead. 67 func (*NowResp) Descriptor() ([]byte, []int) { 68 return file_node_grpc_node_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *NowResp) GetTcp() *point.Point { 72 if x != nil { 73 return x.Tcp 74 } 75 return nil 76 } 77 78 func (x *NowResp) GetUdp() *point.Point { 79 if x != nil { 80 return x.Udp 81 } 82 return nil 83 } 84 85 type UseReq struct { 86 state protoimpl.MessageState 87 sizeCache protoimpl.SizeCache 88 unknownFields protoimpl.UnknownFields 89 90 Tcp bool `protobuf:"varint,1,opt,name=tcp,proto3" json:"tcp,omitempty"` 91 Udp bool `protobuf:"varint,2,opt,name=udp,proto3" json:"udp,omitempty"` 92 Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` 93 } 94 95 func (x *UseReq) Reset() { 96 *x = UseReq{} 97 if protoimpl.UnsafeEnabled { 98 mi := &file_node_grpc_node_proto_msgTypes[1] 99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 100 ms.StoreMessageInfo(mi) 101 } 102 } 103 104 func (x *UseReq) String() string { 105 return protoimpl.X.MessageStringOf(x) 106 } 107 108 func (*UseReq) ProtoMessage() {} 109 110 func (x *UseReq) ProtoReflect() protoreflect.Message { 111 mi := &file_node_grpc_node_proto_msgTypes[1] 112 if protoimpl.UnsafeEnabled && x != nil { 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 if ms.LoadMessageInfo() == nil { 115 ms.StoreMessageInfo(mi) 116 } 117 return ms 118 } 119 return mi.MessageOf(x) 120 } 121 122 // Deprecated: Use UseReq.ProtoReflect.Descriptor instead. 123 func (*UseReq) Descriptor() ([]byte, []int) { 124 return file_node_grpc_node_proto_rawDescGZIP(), []int{1} 125 } 126 127 func (x *UseReq) GetTcp() bool { 128 if x != nil { 129 return x.Tcp 130 } 131 return false 132 } 133 134 func (x *UseReq) GetUdp() bool { 135 if x != nil { 136 return x.Udp 137 } 138 return false 139 } 140 141 func (x *UseReq) GetHash() string { 142 if x != nil { 143 return x.Hash 144 } 145 return "" 146 } 147 148 type SaveLinkReq struct { 149 state protoimpl.MessageState 150 sizeCache protoimpl.SizeCache 151 unknownFields protoimpl.UnknownFields 152 153 Links []*subscribe.Link `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"` 154 } 155 156 func (x *SaveLinkReq) Reset() { 157 *x = SaveLinkReq{} 158 if protoimpl.UnsafeEnabled { 159 mi := &file_node_grpc_node_proto_msgTypes[2] 160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 161 ms.StoreMessageInfo(mi) 162 } 163 } 164 165 func (x *SaveLinkReq) String() string { 166 return protoimpl.X.MessageStringOf(x) 167 } 168 169 func (*SaveLinkReq) ProtoMessage() {} 170 171 func (x *SaveLinkReq) ProtoReflect() protoreflect.Message { 172 mi := &file_node_grpc_node_proto_msgTypes[2] 173 if protoimpl.UnsafeEnabled && x != nil { 174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 175 if ms.LoadMessageInfo() == nil { 176 ms.StoreMessageInfo(mi) 177 } 178 return ms 179 } 180 return mi.MessageOf(x) 181 } 182 183 // Deprecated: Use SaveLinkReq.ProtoReflect.Descriptor instead. 184 func (*SaveLinkReq) Descriptor() ([]byte, []int) { 185 return file_node_grpc_node_proto_rawDescGZIP(), []int{2} 186 } 187 188 func (x *SaveLinkReq) GetLinks() []*subscribe.Link { 189 if x != nil { 190 return x.Links 191 } 192 return nil 193 } 194 195 type LinkReq struct { 196 state protoimpl.MessageState 197 sizeCache protoimpl.SizeCache 198 unknownFields protoimpl.UnknownFields 199 200 Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` 201 } 202 203 func (x *LinkReq) Reset() { 204 *x = LinkReq{} 205 if protoimpl.UnsafeEnabled { 206 mi := &file_node_grpc_node_proto_msgTypes[3] 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 208 ms.StoreMessageInfo(mi) 209 } 210 } 211 212 func (x *LinkReq) String() string { 213 return protoimpl.X.MessageStringOf(x) 214 } 215 216 func (*LinkReq) ProtoMessage() {} 217 218 func (x *LinkReq) ProtoReflect() protoreflect.Message { 219 mi := &file_node_grpc_node_proto_msgTypes[3] 220 if protoimpl.UnsafeEnabled && x != nil { 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 222 if ms.LoadMessageInfo() == nil { 223 ms.StoreMessageInfo(mi) 224 } 225 return ms 226 } 227 return mi.MessageOf(x) 228 } 229 230 // Deprecated: Use LinkReq.ProtoReflect.Descriptor instead. 231 func (*LinkReq) Descriptor() ([]byte, []int) { 232 return file_node_grpc_node_proto_rawDescGZIP(), []int{3} 233 } 234 235 func (x *LinkReq) GetNames() []string { 236 if x != nil { 237 return x.Names 238 } 239 return nil 240 } 241 242 type GetLinksResp struct { 243 state protoimpl.MessageState 244 sizeCache protoimpl.SizeCache 245 unknownFields protoimpl.UnknownFields 246 247 Links map[string]*subscribe.Link `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 248 } 249 250 func (x *GetLinksResp) Reset() { 251 *x = GetLinksResp{} 252 if protoimpl.UnsafeEnabled { 253 mi := &file_node_grpc_node_proto_msgTypes[4] 254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 255 ms.StoreMessageInfo(mi) 256 } 257 } 258 259 func (x *GetLinksResp) String() string { 260 return protoimpl.X.MessageStringOf(x) 261 } 262 263 func (*GetLinksResp) ProtoMessage() {} 264 265 func (x *GetLinksResp) ProtoReflect() protoreflect.Message { 266 mi := &file_node_grpc_node_proto_msgTypes[4] 267 if protoimpl.UnsafeEnabled && x != nil { 268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 269 if ms.LoadMessageInfo() == nil { 270 ms.StoreMessageInfo(mi) 271 } 272 return ms 273 } 274 return mi.MessageOf(x) 275 } 276 277 // Deprecated: Use GetLinksResp.ProtoReflect.Descriptor instead. 278 func (*GetLinksResp) Descriptor() ([]byte, []int) { 279 return file_node_grpc_node_proto_rawDescGZIP(), []int{4} 280 } 281 282 func (x *GetLinksResp) GetLinks() map[string]*subscribe.Link { 283 if x != nil { 284 return x.Links 285 } 286 return nil 287 } 288 289 type SaveTagReq struct { 290 state protoimpl.MessageState 291 sizeCache protoimpl.SizeCache 292 unknownFields protoimpl.UnknownFields 293 294 Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` 295 Type tag.TagType `protobuf:"varint,3,opt,name=type,proto3,enum=yuhaiin.tag.TagType" json:"type,omitempty"` 296 Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` 297 } 298 299 func (x *SaveTagReq) Reset() { 300 *x = SaveTagReq{} 301 if protoimpl.UnsafeEnabled { 302 mi := &file_node_grpc_node_proto_msgTypes[5] 303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 304 ms.StoreMessageInfo(mi) 305 } 306 } 307 308 func (x *SaveTagReq) String() string { 309 return protoimpl.X.MessageStringOf(x) 310 } 311 312 func (*SaveTagReq) ProtoMessage() {} 313 314 func (x *SaveTagReq) ProtoReflect() protoreflect.Message { 315 mi := &file_node_grpc_node_proto_msgTypes[5] 316 if protoimpl.UnsafeEnabled && x != nil { 317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 318 if ms.LoadMessageInfo() == nil { 319 ms.StoreMessageInfo(mi) 320 } 321 return ms 322 } 323 return mi.MessageOf(x) 324 } 325 326 // Deprecated: Use SaveTagReq.ProtoReflect.Descriptor instead. 327 func (*SaveTagReq) Descriptor() ([]byte, []int) { 328 return file_node_grpc_node_proto_rawDescGZIP(), []int{5} 329 } 330 331 func (x *SaveTagReq) GetTag() string { 332 if x != nil { 333 return x.Tag 334 } 335 return "" 336 } 337 338 func (x *SaveTagReq) GetType() tag.TagType { 339 if x != nil { 340 return x.Type 341 } 342 return tag.TagType(0) 343 } 344 345 func (x *SaveTagReq) GetHash() string { 346 if x != nil { 347 return x.Hash 348 } 349 return "" 350 } 351 352 var File_node_grpc_node_proto protoreflect.FileDescriptor 353 354 var file_node_grpc_node_proto_rawDesc = []byte{ 355 0x0a, 0x14, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 356 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 357 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 358 0x69, 0x63, 0x65, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 359 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 360 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 361 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 362 0x1a, 0x0f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 363 0x6f, 0x1a, 0x16, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x70, 0x6f, 364 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 365 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 366 0x69, 0x62, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 367 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x2f, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x2e, 368 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x74, 0x61, 0x67, 0x2f, 369 0x74, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x08, 0x6e, 0x6f, 0x77, 370 0x5f, 0x72, 0x65, 0x73, 0x70, 0x12, 0x26, 0x0a, 0x03, 0x74, 0x63, 0x70, 0x18, 0x01, 0x20, 0x01, 371 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x6f, 0x69, 372 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x03, 0x74, 0x63, 0x70, 0x12, 0x26, 0x0a, 373 0x03, 0x75, 0x64, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x79, 0x75, 0x68, 374 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 375 0x52, 0x03, 0x75, 0x64, 0x70, 0x22, 0x41, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x71, 376 0x12, 0x10, 0x0a, 0x03, 0x74, 0x63, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74, 377 0x63, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x64, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 378 0x03, 0x75, 0x64, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 379 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x3e, 0x0a, 0x0d, 0x73, 0x61, 0x76, 0x65, 380 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x12, 0x2d, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 381 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 382 0x69, 0x6e, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x2e, 0x6c, 0x69, 0x6e, 383 0x6b, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x22, 0x20, 0x0a, 0x08, 0x6c, 0x69, 0x6e, 0x6b, 384 0x5f, 0x72, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 385 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xb1, 0x01, 0x0a, 0x0e, 0x67, 386 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, 387 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x79, 388 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x6e, 0x6f, 389 0x64, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x67, 0x65, 0x74, 0x5f, 0x6c, 390 0x69, 0x6e, 0x6b, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x45, 391 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x1a, 0x51, 0x0a, 0x0a, 0x4c, 392 0x69, 0x6e, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 393 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 394 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x79, 0x75, 0x68, 395 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x2e, 0x6c, 396 0x69, 0x6e, 0x6b, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5f, 397 0x0a, 0x0c, 0x73, 0x61, 0x76, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x72, 0x65, 0x71, 0x12, 0x10, 398 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 399 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 400 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x74, 0x61, 0x67, 401 0x5f, 0x74, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 402 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x32, 403 0xb9, 0x03, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x44, 0x0a, 0x03, 0x6e, 0x6f, 0x77, 0x12, 404 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 405 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x25, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 406 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x73, 0x65, 407 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6e, 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x12, 0x41, 408 0x0a, 0x03, 0x75, 0x73, 0x65, 0x12, 0x24, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 409 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 410 0x69, 0x63, 0x65, 0x2e, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x79, 0x75, 411 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 412 0x74, 0x12, 0x39, 0x0a, 0x03, 0x67, 0x65, 0x74, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 413 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 414 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x14, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 415 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x04, 416 0x73, 0x61, 0x76, 0x65, 0x12, 0x14, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 417 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x1a, 0x14, 0x2e, 0x79, 0x75, 0x68, 418 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 419 0x12, 0x3e, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 420 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 421 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 422 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 423 0x12, 0x38, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 424 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 425 0x70, 0x74, 0x79, 0x1a, 0x15, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x6e, 0x6f, 426 0x64, 0x65, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x07, 0x6c, 0x61, 427 0x74, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x19, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 428 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 429 0x1a, 0x19, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x6c, 0x61, 0x74, 0x65, 0x6e, 430 0x63, 0x79, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xb5, 0x02, 0x0a, 0x09, 431 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x4a, 0x0a, 0x04, 0x73, 0x61, 0x76, 432 0x65, 0x12, 0x2a, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 433 0x6f, 0x73, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 434 0x73, 0x61, 0x76, 0x65, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x1a, 0x16, 0x2e, 435 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 436 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x47, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 437 0x25, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 438 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6c, 0x69, 439 0x6e, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 440 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x47, 441 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x25, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 442 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x73, 443 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x1a, 444 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 445 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x4a, 0x0a, 0x03, 0x67, 0x65, 0x74, 0x12, 0x16, 446 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 447 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x2b, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 448 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x73, 0x65, 0x72, 449 0x76, 0x69, 0x63, 0x65, 0x2e, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x5f, 0x72, 450 0x65, 0x73, 0x70, 0x32, 0x90, 0x01, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x12, 0x49, 0x0a, 0x04, 0x73, 451 0x61, 0x76, 0x65, 0x12, 0x29, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 452 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 453 0x65, 0x2e, 0x73, 0x61, 0x76, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x72, 0x65, 0x71, 0x1a, 0x16, 454 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 455 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3e, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 456 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 457 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 458 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 459 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 460 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x75, 0x74, 0x6f, 0x72, 0x75, 0x66, 0x61, 0x2f, 0x79, 461 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 462 0x73, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 463 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 464 } 465 466 var ( 467 file_node_grpc_node_proto_rawDescOnce sync.Once 468 file_node_grpc_node_proto_rawDescData = file_node_grpc_node_proto_rawDesc 469 ) 470 471 func file_node_grpc_node_proto_rawDescGZIP() []byte { 472 file_node_grpc_node_proto_rawDescOnce.Do(func() { 473 file_node_grpc_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_node_grpc_node_proto_rawDescData) 474 }) 475 return file_node_grpc_node_proto_rawDescData 476 } 477 478 var file_node_grpc_node_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 479 var file_node_grpc_node_proto_goTypes = []interface{}{ 480 (*NowResp)(nil), // 0: yuhaiin.protos.node.service.now_resp 481 (*UseReq)(nil), // 1: yuhaiin.protos.node.service.use_req 482 (*SaveLinkReq)(nil), // 2: yuhaiin.protos.node.service.save_link_req 483 (*LinkReq)(nil), // 3: yuhaiin.protos.node.service.link_req 484 (*GetLinksResp)(nil), // 4: yuhaiin.protos.node.service.get_links_resp 485 (*SaveTagReq)(nil), // 5: yuhaiin.protos.node.service.save_tag_req 486 nil, // 6: yuhaiin.protos.node.service.get_links_resp.LinksEntry 487 (*point.Point)(nil), // 7: yuhaiin.point.point 488 (*subscribe.Link)(nil), // 8: yuhaiin.subscribe.link 489 (tag.TagType)(0), // 9: yuhaiin.tag.tag_type 490 (*emptypb.Empty)(nil), // 10: google.protobuf.Empty 491 (*wrapperspb.StringValue)(nil), // 11: google.protobuf.StringValue 492 (*latency.Requests)(nil), // 12: yuhaiin.latency.requests 493 (*node.Manager)(nil), // 13: yuhaiin.node.manager 494 (*latency.Response)(nil), // 14: yuhaiin.latency.response 495 } 496 var file_node_grpc_node_proto_depIdxs = []int32{ 497 7, // 0: yuhaiin.protos.node.service.now_resp.tcp:type_name -> yuhaiin.point.point 498 7, // 1: yuhaiin.protos.node.service.now_resp.udp:type_name -> yuhaiin.point.point 499 8, // 2: yuhaiin.protos.node.service.save_link_req.links:type_name -> yuhaiin.subscribe.link 500 6, // 3: yuhaiin.protos.node.service.get_links_resp.links:type_name -> yuhaiin.protos.node.service.get_links_resp.LinksEntry 501 9, // 4: yuhaiin.protos.node.service.save_tag_req.type:type_name -> yuhaiin.tag.tag_type 502 8, // 5: yuhaiin.protos.node.service.get_links_resp.LinksEntry.value:type_name -> yuhaiin.subscribe.link 503 10, // 6: yuhaiin.protos.node.service.node.now:input_type -> google.protobuf.Empty 504 1, // 7: yuhaiin.protos.node.service.node.use:input_type -> yuhaiin.protos.node.service.use_req 505 11, // 8: yuhaiin.protos.node.service.node.get:input_type -> google.protobuf.StringValue 506 7, // 9: yuhaiin.protos.node.service.node.save:input_type -> yuhaiin.point.point 507 11, // 10: yuhaiin.protos.node.service.node.remove:input_type -> google.protobuf.StringValue 508 10, // 11: yuhaiin.protos.node.service.node.manager:input_type -> google.protobuf.Empty 509 12, // 12: yuhaiin.protos.node.service.node.latency:input_type -> yuhaiin.latency.requests 510 2, // 13: yuhaiin.protos.node.service.subscribe.save:input_type -> yuhaiin.protos.node.service.save_link_req 511 3, // 14: yuhaiin.protos.node.service.subscribe.remove:input_type -> yuhaiin.protos.node.service.link_req 512 3, // 15: yuhaiin.protos.node.service.subscribe.update:input_type -> yuhaiin.protos.node.service.link_req 513 10, // 16: yuhaiin.protos.node.service.subscribe.get:input_type -> google.protobuf.Empty 514 5, // 17: yuhaiin.protos.node.service.tag.save:input_type -> yuhaiin.protos.node.service.save_tag_req 515 11, // 18: yuhaiin.protos.node.service.tag.remove:input_type -> google.protobuf.StringValue 516 0, // 19: yuhaiin.protos.node.service.node.now:output_type -> yuhaiin.protos.node.service.now_resp 517 7, // 20: yuhaiin.protos.node.service.node.use:output_type -> yuhaiin.point.point 518 7, // 21: yuhaiin.protos.node.service.node.get:output_type -> yuhaiin.point.point 519 7, // 22: yuhaiin.protos.node.service.node.save:output_type -> yuhaiin.point.point 520 10, // 23: yuhaiin.protos.node.service.node.remove:output_type -> google.protobuf.Empty 521 13, // 24: yuhaiin.protos.node.service.node.manager:output_type -> yuhaiin.node.manager 522 14, // 25: yuhaiin.protos.node.service.node.latency:output_type -> yuhaiin.latency.response 523 10, // 26: yuhaiin.protos.node.service.subscribe.save:output_type -> google.protobuf.Empty 524 10, // 27: yuhaiin.protos.node.service.subscribe.remove:output_type -> google.protobuf.Empty 525 10, // 28: yuhaiin.protos.node.service.subscribe.update:output_type -> google.protobuf.Empty 526 4, // 29: yuhaiin.protos.node.service.subscribe.get:output_type -> yuhaiin.protos.node.service.get_links_resp 527 10, // 30: yuhaiin.protos.node.service.tag.save:output_type -> google.protobuf.Empty 528 10, // 31: yuhaiin.protos.node.service.tag.remove:output_type -> google.protobuf.Empty 529 19, // [19:32] is the sub-list for method output_type 530 6, // [6:19] is the sub-list for method input_type 531 6, // [6:6] is the sub-list for extension type_name 532 6, // [6:6] is the sub-list for extension extendee 533 0, // [0:6] is the sub-list for field type_name 534 } 535 536 func init() { file_node_grpc_node_proto_init() } 537 func file_node_grpc_node_proto_init() { 538 if File_node_grpc_node_proto != nil { 539 return 540 } 541 if !protoimpl.UnsafeEnabled { 542 file_node_grpc_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 543 switch v := v.(*NowResp); i { 544 case 0: 545 return &v.state 546 case 1: 547 return &v.sizeCache 548 case 2: 549 return &v.unknownFields 550 default: 551 return nil 552 } 553 } 554 file_node_grpc_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 555 switch v := v.(*UseReq); i { 556 case 0: 557 return &v.state 558 case 1: 559 return &v.sizeCache 560 case 2: 561 return &v.unknownFields 562 default: 563 return nil 564 } 565 } 566 file_node_grpc_node_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 567 switch v := v.(*SaveLinkReq); i { 568 case 0: 569 return &v.state 570 case 1: 571 return &v.sizeCache 572 case 2: 573 return &v.unknownFields 574 default: 575 return nil 576 } 577 } 578 file_node_grpc_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 579 switch v := v.(*LinkReq); i { 580 case 0: 581 return &v.state 582 case 1: 583 return &v.sizeCache 584 case 2: 585 return &v.unknownFields 586 default: 587 return nil 588 } 589 } 590 file_node_grpc_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 591 switch v := v.(*GetLinksResp); i { 592 case 0: 593 return &v.state 594 case 1: 595 return &v.sizeCache 596 case 2: 597 return &v.unknownFields 598 default: 599 return nil 600 } 601 } 602 file_node_grpc_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 603 switch v := v.(*SaveTagReq); i { 604 case 0: 605 return &v.state 606 case 1: 607 return &v.sizeCache 608 case 2: 609 return &v.unknownFields 610 default: 611 return nil 612 } 613 } 614 } 615 type x struct{} 616 out := protoimpl.TypeBuilder{ 617 File: protoimpl.DescBuilder{ 618 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 619 RawDescriptor: file_node_grpc_node_proto_rawDesc, 620 NumEnums: 0, 621 NumMessages: 7, 622 NumExtensions: 0, 623 NumServices: 3, 624 }, 625 GoTypes: file_node_grpc_node_proto_goTypes, 626 DependencyIndexes: file_node_grpc_node_proto_depIdxs, 627 MessageInfos: file_node_grpc_node_proto_msgTypes, 628 }.Build() 629 File_node_grpc_node_proto = out.File 630 file_node_grpc_node_proto_rawDesc = nil 631 file_node_grpc_node_proto_goTypes = nil 632 file_node_grpc_node_proto_depIdxs = nil 633 }