kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/link_go_proto/link.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v4.25.2 5 // source: kythe/proto/link.proto 6 7 package link_go_proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 common_go_proto "kythe.io/kythe/proto/common_go_proto" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type LinkRequest_DefinitionKind int32 25 26 const ( 27 LinkRequest_BINDING LinkRequest_DefinitionKind = 0 28 LinkRequest_FULL LinkRequest_DefinitionKind = 1 29 LinkRequest_ANY LinkRequest_DefinitionKind = 2 30 ) 31 32 // Enum value maps for LinkRequest_DefinitionKind. 33 var ( 34 LinkRequest_DefinitionKind_name = map[int32]string{ 35 0: "BINDING", 36 1: "FULL", 37 2: "ANY", 38 } 39 LinkRequest_DefinitionKind_value = map[string]int32{ 40 "BINDING": 0, 41 "FULL": 1, 42 "ANY": 2, 43 } 44 ) 45 46 func (x LinkRequest_DefinitionKind) Enum() *LinkRequest_DefinitionKind { 47 p := new(LinkRequest_DefinitionKind) 48 *p = x 49 return p 50 } 51 52 func (x LinkRequest_DefinitionKind) String() string { 53 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 54 } 55 56 func (LinkRequest_DefinitionKind) Descriptor() protoreflect.EnumDescriptor { 57 return file_kythe_proto_link_proto_enumTypes[0].Descriptor() 58 } 59 60 func (LinkRequest_DefinitionKind) Type() protoreflect.EnumType { 61 return &file_kythe_proto_link_proto_enumTypes[0] 62 } 63 64 func (x LinkRequest_DefinitionKind) Number() protoreflect.EnumNumber { 65 return protoreflect.EnumNumber(x) 66 } 67 68 // Deprecated: Use LinkRequest_DefinitionKind.Descriptor instead. 69 func (LinkRequest_DefinitionKind) EnumDescriptor() ([]byte, []int) { 70 return file_kythe_proto_link_proto_rawDescGZIP(), []int{0, 0} 71 } 72 73 type LinkRequest struct { 74 state protoimpl.MessageState 75 sizeCache protoimpl.SizeCache 76 unknownFields protoimpl.UnknownFields 77 78 Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` 79 Corpus []string `protobuf:"bytes,2,rep,name=corpus,proto3" json:"corpus,omitempty"` 80 Language []string `protobuf:"bytes,3,rep,name=language,proto3" json:"language,omitempty"` 81 NodeKind []string `protobuf:"bytes,4,rep,name=node_kind,json=nodeKind,proto3" json:"node_kind,omitempty"` 82 Include []*LinkRequest_Location `protobuf:"bytes,5,rep,name=include,proto3" json:"include,omitempty"` 83 Exclude []*LinkRequest_Location `protobuf:"bytes,6,rep,name=exclude,proto3" json:"exclude,omitempty"` 84 Params *LinkRequest_Params `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"` 85 DefinitionKind LinkRequest_DefinitionKind `protobuf:"varint,8,opt,name=definition_kind,json=definitionKind,proto3,enum=kythe.proto.LinkRequest_DefinitionKind" json:"definition_kind,omitempty"` 86 IncludeNodes bool `protobuf:"varint,9,opt,name=include_nodes,json=includeNodes,proto3" json:"include_nodes,omitempty"` 87 } 88 89 func (x *LinkRequest) Reset() { 90 *x = LinkRequest{} 91 if protoimpl.UnsafeEnabled { 92 mi := &file_kythe_proto_link_proto_msgTypes[0] 93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 94 ms.StoreMessageInfo(mi) 95 } 96 } 97 98 func (x *LinkRequest) String() string { 99 return protoimpl.X.MessageStringOf(x) 100 } 101 102 func (*LinkRequest) ProtoMessage() {} 103 104 func (x *LinkRequest) ProtoReflect() protoreflect.Message { 105 mi := &file_kythe_proto_link_proto_msgTypes[0] 106 if protoimpl.UnsafeEnabled && x != nil { 107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 108 if ms.LoadMessageInfo() == nil { 109 ms.StoreMessageInfo(mi) 110 } 111 return ms 112 } 113 return mi.MessageOf(x) 114 } 115 116 // Deprecated: Use LinkRequest.ProtoReflect.Descriptor instead. 117 func (*LinkRequest) Descriptor() ([]byte, []int) { 118 return file_kythe_proto_link_proto_rawDescGZIP(), []int{0} 119 } 120 121 func (x *LinkRequest) GetIdentifier() string { 122 if x != nil { 123 return x.Identifier 124 } 125 return "" 126 } 127 128 func (x *LinkRequest) GetCorpus() []string { 129 if x != nil { 130 return x.Corpus 131 } 132 return nil 133 } 134 135 func (x *LinkRequest) GetLanguage() []string { 136 if x != nil { 137 return x.Language 138 } 139 return nil 140 } 141 142 func (x *LinkRequest) GetNodeKind() []string { 143 if x != nil { 144 return x.NodeKind 145 } 146 return nil 147 } 148 149 func (x *LinkRequest) GetInclude() []*LinkRequest_Location { 150 if x != nil { 151 return x.Include 152 } 153 return nil 154 } 155 156 func (x *LinkRequest) GetExclude() []*LinkRequest_Location { 157 if x != nil { 158 return x.Exclude 159 } 160 return nil 161 } 162 163 func (x *LinkRequest) GetParams() *LinkRequest_Params { 164 if x != nil { 165 return x.Params 166 } 167 return nil 168 } 169 170 func (x *LinkRequest) GetDefinitionKind() LinkRequest_DefinitionKind { 171 if x != nil { 172 return x.DefinitionKind 173 } 174 return LinkRequest_BINDING 175 } 176 177 func (x *LinkRequest) GetIncludeNodes() bool { 178 if x != nil { 179 return x.IncludeNodes 180 } 181 return false 182 } 183 184 type Link struct { 185 state protoimpl.MessageState 186 sizeCache protoimpl.SizeCache 187 unknownFields protoimpl.UnknownFields 188 189 FileTicket string `protobuf:"bytes,1,opt,name=file_ticket,json=fileTicket,proto3" json:"file_ticket,omitempty"` 190 Span *common_go_proto.Span `protobuf:"bytes,2,opt,name=span,proto3" json:"span,omitempty"` 191 Nodes []*Link_Node `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"` 192 } 193 194 func (x *Link) Reset() { 195 *x = Link{} 196 if protoimpl.UnsafeEnabled { 197 mi := &file_kythe_proto_link_proto_msgTypes[1] 198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 199 ms.StoreMessageInfo(mi) 200 } 201 } 202 203 func (x *Link) String() string { 204 return protoimpl.X.MessageStringOf(x) 205 } 206 207 func (*Link) ProtoMessage() {} 208 209 func (x *Link) ProtoReflect() protoreflect.Message { 210 mi := &file_kythe_proto_link_proto_msgTypes[1] 211 if protoimpl.UnsafeEnabled && x != nil { 212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 213 if ms.LoadMessageInfo() == nil { 214 ms.StoreMessageInfo(mi) 215 } 216 return ms 217 } 218 return mi.MessageOf(x) 219 } 220 221 // Deprecated: Use Link.ProtoReflect.Descriptor instead. 222 func (*Link) Descriptor() ([]byte, []int) { 223 return file_kythe_proto_link_proto_rawDescGZIP(), []int{1} 224 } 225 226 func (x *Link) GetFileTicket() string { 227 if x != nil { 228 return x.FileTicket 229 } 230 return "" 231 } 232 233 func (x *Link) GetSpan() *common_go_proto.Span { 234 if x != nil { 235 return x.Span 236 } 237 return nil 238 } 239 240 func (x *Link) GetNodes() []*Link_Node { 241 if x != nil { 242 return x.Nodes 243 } 244 return nil 245 } 246 247 type LinkReply struct { 248 state protoimpl.MessageState 249 sizeCache protoimpl.SizeCache 250 unknownFields protoimpl.UnknownFields 251 252 Links []*Link `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"` 253 } 254 255 func (x *LinkReply) Reset() { 256 *x = LinkReply{} 257 if protoimpl.UnsafeEnabled { 258 mi := &file_kythe_proto_link_proto_msgTypes[2] 259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 260 ms.StoreMessageInfo(mi) 261 } 262 } 263 264 func (x *LinkReply) String() string { 265 return protoimpl.X.MessageStringOf(x) 266 } 267 268 func (*LinkReply) ProtoMessage() {} 269 270 func (x *LinkReply) ProtoReflect() protoreflect.Message { 271 mi := &file_kythe_proto_link_proto_msgTypes[2] 272 if protoimpl.UnsafeEnabled && x != nil { 273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 274 if ms.LoadMessageInfo() == nil { 275 ms.StoreMessageInfo(mi) 276 } 277 return ms 278 } 279 return mi.MessageOf(x) 280 } 281 282 // Deprecated: Use LinkReply.ProtoReflect.Descriptor instead. 283 func (*LinkReply) Descriptor() ([]byte, []int) { 284 return file_kythe_proto_link_proto_rawDescGZIP(), []int{2} 285 } 286 287 func (x *LinkReply) GetLinks() []*Link { 288 if x != nil { 289 return x.Links 290 } 291 return nil 292 } 293 294 type LinkRequest_Location struct { 295 state protoimpl.MessageState 296 sizeCache protoimpl.SizeCache 297 unknownFields protoimpl.UnknownFields 298 299 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 300 Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` 301 Corpus string `protobuf:"bytes,3,opt,name=corpus,proto3" json:"corpus,omitempty"` 302 } 303 304 func (x *LinkRequest_Location) Reset() { 305 *x = LinkRequest_Location{} 306 if protoimpl.UnsafeEnabled { 307 mi := &file_kythe_proto_link_proto_msgTypes[3] 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 309 ms.StoreMessageInfo(mi) 310 } 311 } 312 313 func (x *LinkRequest_Location) String() string { 314 return protoimpl.X.MessageStringOf(x) 315 } 316 317 func (*LinkRequest_Location) ProtoMessage() {} 318 319 func (x *LinkRequest_Location) ProtoReflect() protoreflect.Message { 320 mi := &file_kythe_proto_link_proto_msgTypes[3] 321 if protoimpl.UnsafeEnabled && x != nil { 322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 323 if ms.LoadMessageInfo() == nil { 324 ms.StoreMessageInfo(mi) 325 } 326 return ms 327 } 328 return mi.MessageOf(x) 329 } 330 331 // Deprecated: Use LinkRequest_Location.ProtoReflect.Descriptor instead. 332 func (*LinkRequest_Location) Descriptor() ([]byte, []int) { 333 return file_kythe_proto_link_proto_rawDescGZIP(), []int{0, 0} 334 } 335 336 func (x *LinkRequest_Location) GetPath() string { 337 if x != nil { 338 return x.Path 339 } 340 return "" 341 } 342 343 func (x *LinkRequest_Location) GetRoot() string { 344 if x != nil { 345 return x.Root 346 } 347 return "" 348 } 349 350 func (x *LinkRequest_Location) GetCorpus() string { 351 if x != nil { 352 return x.Corpus 353 } 354 return "" 355 } 356 357 type LinkRequest_Params struct { 358 state protoimpl.MessageState 359 sizeCache protoimpl.SizeCache 360 unknownFields protoimpl.UnknownFields 361 362 Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` 363 } 364 365 func (x *LinkRequest_Params) Reset() { 366 *x = LinkRequest_Params{} 367 if protoimpl.UnsafeEnabled { 368 mi := &file_kythe_proto_link_proto_msgTypes[4] 369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 370 ms.StoreMessageInfo(mi) 371 } 372 } 373 374 func (x *LinkRequest_Params) String() string { 375 return protoimpl.X.MessageStringOf(x) 376 } 377 378 func (*LinkRequest_Params) ProtoMessage() {} 379 380 func (x *LinkRequest_Params) ProtoReflect() protoreflect.Message { 381 mi := &file_kythe_proto_link_proto_msgTypes[4] 382 if protoimpl.UnsafeEnabled && x != nil { 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 if ms.LoadMessageInfo() == nil { 385 ms.StoreMessageInfo(mi) 386 } 387 return ms 388 } 389 return mi.MessageOf(x) 390 } 391 392 // Deprecated: Use LinkRequest_Params.ProtoReflect.Descriptor instead. 393 func (*LinkRequest_Params) Descriptor() ([]byte, []int) { 394 return file_kythe_proto_link_proto_rawDescGZIP(), []int{0, 1} 395 } 396 397 func (x *LinkRequest_Params) GetCount() int32 { 398 if x != nil { 399 return x.Count 400 } 401 return 0 402 } 403 404 type Link_Node struct { 405 state protoimpl.MessageState 406 sizeCache protoimpl.SizeCache 407 unknownFields protoimpl.UnknownFields 408 409 Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` 410 BaseName string `protobuf:"bytes,2,opt,name=base_name,json=baseName,proto3" json:"base_name,omitempty"` 411 Identifier string `protobuf:"bytes,3,opt,name=identifier,proto3" json:"identifier,omitempty"` 412 } 413 414 func (x *Link_Node) Reset() { 415 *x = Link_Node{} 416 if protoimpl.UnsafeEnabled { 417 mi := &file_kythe_proto_link_proto_msgTypes[5] 418 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 419 ms.StoreMessageInfo(mi) 420 } 421 } 422 423 func (x *Link_Node) String() string { 424 return protoimpl.X.MessageStringOf(x) 425 } 426 427 func (*Link_Node) ProtoMessage() {} 428 429 func (x *Link_Node) ProtoReflect() protoreflect.Message { 430 mi := &file_kythe_proto_link_proto_msgTypes[5] 431 if protoimpl.UnsafeEnabled && x != nil { 432 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 433 if ms.LoadMessageInfo() == nil { 434 ms.StoreMessageInfo(mi) 435 } 436 return ms 437 } 438 return mi.MessageOf(x) 439 } 440 441 // Deprecated: Use Link_Node.ProtoReflect.Descriptor instead. 442 func (*Link_Node) Descriptor() ([]byte, []int) { 443 return file_kythe_proto_link_proto_rawDescGZIP(), []int{1, 0} 444 } 445 446 func (x *Link_Node) GetTicket() string { 447 if x != nil { 448 return x.Ticket 449 } 450 return "" 451 } 452 453 func (x *Link_Node) GetBaseName() string { 454 if x != nil { 455 return x.BaseName 456 } 457 return "" 458 } 459 460 func (x *Link_Node) GetIdentifier() string { 461 if x != nil { 462 return x.Identifier 463 } 464 return "" 465 } 466 467 var File_kythe_proto_link_proto protoreflect.FileDescriptor 468 469 var file_kythe_proto_link_proto_rawDesc = []byte{ 470 0x0a, 0x16, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 471 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 472 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 473 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 474 0xc6, 0x04, 0x0a, 0x0b, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 475 0x1e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 476 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 477 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 478 0x06, 0x63, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 479 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 480 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 481 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4b, 0x69, 0x6e, 0x64, 482 0x12, 0x3b, 0x0a, 0x07, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 483 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 484 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 485 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x3b, 0x0a, 486 0x07, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 487 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x6e, 488 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 489 0x6e, 0x52, 0x07, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x70, 0x61, 490 0x72, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x79, 0x74, 491 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 492 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 493 0x61, 0x6d, 0x73, 0x12, 0x50, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 494 0x6e, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6b, 495 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 496 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 497 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 498 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 499 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 500 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x4a, 0x0a, 0x08, 0x4c, 0x6f, 501 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 502 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 503 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x16, 504 0x0a, 0x06, 0x63, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 505 0x63, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x1a, 0x1e, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 506 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 507 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x30, 0x0a, 0x0e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 508 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x49, 0x4e, 0x44, 509 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x01, 0x12, 510 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x59, 0x10, 0x02, 0x22, 0xe0, 0x01, 0x0a, 0x04, 0x4c, 0x69, 0x6e, 511 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 512 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x69, 0x63, 0x6b, 513 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 514 0x32, 0x18, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 515 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x04, 0x73, 0x70, 0x61, 0x6e, 516 0x12, 0x2c, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 517 0x16, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 518 0x6e, 0x6b, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x5b, 519 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 520 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1b, 521 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 522 0x09, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 523 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 524 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x34, 0x0a, 0x09, 0x4c, 525 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x27, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 526 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 527 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 528 0x73, 0x32, 0x4c, 0x0a, 0x0b, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 529 0x12, 0x3d, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x12, 0x18, 0x2e, 0x6b, 0x79, 530 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 531 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 532 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 533 0x45, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 534 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 535 0x74, 0x6f, 0x5a, 0x22, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x69, 0x6f, 0x2f, 0x6b, 0x79, 0x74, 536 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x67, 0x6f, 537 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 538 } 539 540 var ( 541 file_kythe_proto_link_proto_rawDescOnce sync.Once 542 file_kythe_proto_link_proto_rawDescData = file_kythe_proto_link_proto_rawDesc 543 ) 544 545 func file_kythe_proto_link_proto_rawDescGZIP() []byte { 546 file_kythe_proto_link_proto_rawDescOnce.Do(func() { 547 file_kythe_proto_link_proto_rawDescData = protoimpl.X.CompressGZIP(file_kythe_proto_link_proto_rawDescData) 548 }) 549 return file_kythe_proto_link_proto_rawDescData 550 } 551 552 var file_kythe_proto_link_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 553 var file_kythe_proto_link_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 554 var file_kythe_proto_link_proto_goTypes = []interface{}{ 555 (LinkRequest_DefinitionKind)(0), // 0: kythe.proto.LinkRequest.DefinitionKind 556 (*LinkRequest)(nil), // 1: kythe.proto.LinkRequest 557 (*Link)(nil), // 2: kythe.proto.Link 558 (*LinkReply)(nil), // 3: kythe.proto.LinkReply 559 (*LinkRequest_Location)(nil), // 4: kythe.proto.LinkRequest.Location 560 (*LinkRequest_Params)(nil), // 5: kythe.proto.LinkRequest.Params 561 (*Link_Node)(nil), // 6: kythe.proto.Link.Node 562 (*common_go_proto.Span)(nil), // 7: kythe.proto.common.Span 563 } 564 var file_kythe_proto_link_proto_depIdxs = []int32{ 565 4, // 0: kythe.proto.LinkRequest.include:type_name -> kythe.proto.LinkRequest.Location 566 4, // 1: kythe.proto.LinkRequest.exclude:type_name -> kythe.proto.LinkRequest.Location 567 5, // 2: kythe.proto.LinkRequest.params:type_name -> kythe.proto.LinkRequest.Params 568 0, // 3: kythe.proto.LinkRequest.definition_kind:type_name -> kythe.proto.LinkRequest.DefinitionKind 569 7, // 4: kythe.proto.Link.span:type_name -> kythe.proto.common.Span 570 6, // 5: kythe.proto.Link.nodes:type_name -> kythe.proto.Link.Node 571 2, // 6: kythe.proto.LinkReply.links:type_name -> kythe.proto.Link 572 1, // 7: kythe.proto.LinkService.Resolve:input_type -> kythe.proto.LinkRequest 573 3, // 8: kythe.proto.LinkService.Resolve:output_type -> kythe.proto.LinkReply 574 8, // [8:9] is the sub-list for method output_type 575 7, // [7:8] is the sub-list for method input_type 576 7, // [7:7] is the sub-list for extension type_name 577 7, // [7:7] is the sub-list for extension extendee 578 0, // [0:7] is the sub-list for field type_name 579 } 580 581 func init() { file_kythe_proto_link_proto_init() } 582 func file_kythe_proto_link_proto_init() { 583 if File_kythe_proto_link_proto != nil { 584 return 585 } 586 if !protoimpl.UnsafeEnabled { 587 file_kythe_proto_link_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 588 switch v := v.(*LinkRequest); i { 589 case 0: 590 return &v.state 591 case 1: 592 return &v.sizeCache 593 case 2: 594 return &v.unknownFields 595 default: 596 return nil 597 } 598 } 599 file_kythe_proto_link_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 600 switch v := v.(*Link); i { 601 case 0: 602 return &v.state 603 case 1: 604 return &v.sizeCache 605 case 2: 606 return &v.unknownFields 607 default: 608 return nil 609 } 610 } 611 file_kythe_proto_link_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 612 switch v := v.(*LinkReply); i { 613 case 0: 614 return &v.state 615 case 1: 616 return &v.sizeCache 617 case 2: 618 return &v.unknownFields 619 default: 620 return nil 621 } 622 } 623 file_kythe_proto_link_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 624 switch v := v.(*LinkRequest_Location); i { 625 case 0: 626 return &v.state 627 case 1: 628 return &v.sizeCache 629 case 2: 630 return &v.unknownFields 631 default: 632 return nil 633 } 634 } 635 file_kythe_proto_link_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 636 switch v := v.(*LinkRequest_Params); i { 637 case 0: 638 return &v.state 639 case 1: 640 return &v.sizeCache 641 case 2: 642 return &v.unknownFields 643 default: 644 return nil 645 } 646 } 647 file_kythe_proto_link_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 648 switch v := v.(*Link_Node); i { 649 case 0: 650 return &v.state 651 case 1: 652 return &v.sizeCache 653 case 2: 654 return &v.unknownFields 655 default: 656 return nil 657 } 658 } 659 } 660 type x struct{} 661 out := protoimpl.TypeBuilder{ 662 File: protoimpl.DescBuilder{ 663 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 664 RawDescriptor: file_kythe_proto_link_proto_rawDesc, 665 NumEnums: 1, 666 NumMessages: 6, 667 NumExtensions: 0, 668 NumServices: 1, 669 }, 670 GoTypes: file_kythe_proto_link_proto_goTypes, 671 DependencyIndexes: file_kythe_proto_link_proto_depIdxs, 672 EnumInfos: file_kythe_proto_link_proto_enumTypes, 673 MessageInfos: file_kythe_proto_link_proto_msgTypes, 674 }.Build() 675 File_kythe_proto_link_proto = out.File 676 file_kythe_proto_link_proto_rawDesc = nil 677 file_kythe_proto_link_proto_goTypes = nil 678 file_kythe_proto_link_proto_depIdxs = nil 679 }