1// Code generated by protoc-gen-go. DO NOT EDIT. 2// versions: 3// protoc-gen-go v1.25.0-devel 4// protoc v3.21.12 5// source: ide_query.proto 6 7package ide_query_proto 8 9import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14) 15 16const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21) 22 23type Status_Code int32 24 25const ( 26 Status_OK Status_Code = 0 27 Status_FAILURE Status_Code = 1 28) 29 30// Enum value maps for Status_Code. 31var ( 32 Status_Code_name = map[int32]string{ 33 0: "OK", 34 1: "FAILURE", 35 } 36 Status_Code_value = map[string]int32{ 37 "OK": 0, 38 "FAILURE": 1, 39 } 40) 41 42func (x Status_Code) Enum() *Status_Code { 43 p := new(Status_Code) 44 *p = x 45 return p 46} 47 48func (x Status_Code) String() string { 49 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 50} 51 52func (Status_Code) Descriptor() protoreflect.EnumDescriptor { 53 return file_ide_query_proto_enumTypes[0].Descriptor() 54} 55 56func (Status_Code) Type() protoreflect.EnumType { 57 return &file_ide_query_proto_enumTypes[0] 58} 59 60func (x Status_Code) Number() protoreflect.EnumNumber { 61 return protoreflect.EnumNumber(x) 62} 63 64// Deprecated: Use Status_Code.Descriptor instead. 65func (Status_Code) EnumDescriptor() ([]byte, []int) { 66 return file_ide_query_proto_rawDescGZIP(), []int{0, 0} 67} 68 69// Indicates the success/failure for analysis. 70type Status struct { 71 state protoimpl.MessageState 72 sizeCache protoimpl.SizeCache 73 unknownFields protoimpl.UnknownFields 74 75 Code Status_Code `protobuf:"varint,1,opt,name=code,proto3,enum=ide_query.Status_Code" json:"code,omitempty"` 76 // Details about the status, might be displayed to user. 77 Message *string `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"` 78} 79 80func (x *Status) Reset() { 81 *x = Status{} 82 if protoimpl.UnsafeEnabled { 83 mi := &file_ide_query_proto_msgTypes[0] 84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 85 ms.StoreMessageInfo(mi) 86 } 87} 88 89func (x *Status) String() string { 90 return protoimpl.X.MessageStringOf(x) 91} 92 93func (*Status) ProtoMessage() {} 94 95func (x *Status) ProtoReflect() protoreflect.Message { 96 mi := &file_ide_query_proto_msgTypes[0] 97 if protoimpl.UnsafeEnabled && x != nil { 98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 99 if ms.LoadMessageInfo() == nil { 100 ms.StoreMessageInfo(mi) 101 } 102 return ms 103 } 104 return mi.MessageOf(x) 105} 106 107// Deprecated: Use Status.ProtoReflect.Descriptor instead. 108func (*Status) Descriptor() ([]byte, []int) { 109 return file_ide_query_proto_rawDescGZIP(), []int{0} 110} 111 112func (x *Status) GetCode() Status_Code { 113 if x != nil { 114 return x.Code 115 } 116 return Status_OK 117} 118 119func (x *Status) GetMessage() string { 120 if x != nil && x.Message != nil { 121 return *x.Message 122 } 123 return "" 124} 125 126// Represents an Android checkout on user's workstation. 127type RepoState struct { 128 state protoimpl.MessageState 129 sizeCache protoimpl.SizeCache 130 unknownFields protoimpl.UnknownFields 131 132 // Absolute path for the checkout in the workstation. 133 // e.g. /home/user/work/android/ 134 RepoDir string `protobuf:"bytes,1,opt,name=repo_dir,json=repoDir,proto3" json:"repo_dir,omitempty"` 135 // Relative to repo_dir. 136 ActiveFilePath []string `protobuf:"bytes,2,rep,name=active_file_path,json=activeFilePath,proto3" json:"active_file_path,omitempty"` 137 // Repository relative path to output directory in workstation. 138 OutDir string `protobuf:"bytes,3,opt,name=out_dir,json=outDir,proto3" json:"out_dir,omitempty"` 139 // Repository relative path to compile_commands.json in workstation. 140 CompDbPath string `protobuf:"bytes,4,opt,name=comp_db_path,json=compDbPath,proto3" json:"comp_db_path,omitempty"` 141} 142 143func (x *RepoState) Reset() { 144 *x = RepoState{} 145 if protoimpl.UnsafeEnabled { 146 mi := &file_ide_query_proto_msgTypes[1] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 148 ms.StoreMessageInfo(mi) 149 } 150} 151 152func (x *RepoState) String() string { 153 return protoimpl.X.MessageStringOf(x) 154} 155 156func (*RepoState) ProtoMessage() {} 157 158func (x *RepoState) ProtoReflect() protoreflect.Message { 159 mi := &file_ide_query_proto_msgTypes[1] 160 if protoimpl.UnsafeEnabled && x != nil { 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 162 if ms.LoadMessageInfo() == nil { 163 ms.StoreMessageInfo(mi) 164 } 165 return ms 166 } 167 return mi.MessageOf(x) 168} 169 170// Deprecated: Use RepoState.ProtoReflect.Descriptor instead. 171func (*RepoState) Descriptor() ([]byte, []int) { 172 return file_ide_query_proto_rawDescGZIP(), []int{1} 173} 174 175func (x *RepoState) GetRepoDir() string { 176 if x != nil { 177 return x.RepoDir 178 } 179 return "" 180} 181 182func (x *RepoState) GetActiveFilePath() []string { 183 if x != nil { 184 return x.ActiveFilePath 185 } 186 return nil 187} 188 189func (x *RepoState) GetOutDir() string { 190 if x != nil { 191 return x.OutDir 192 } 193 return "" 194} 195 196func (x *RepoState) GetCompDbPath() string { 197 if x != nil { 198 return x.CompDbPath 199 } 200 return "" 201} 202 203// Provides all the targets that are pre-requisities for running language 204// services on active_file_paths. 205type DepsResponse struct { 206 state protoimpl.MessageState 207 sizeCache protoimpl.SizeCache 208 unknownFields protoimpl.UnknownFields 209 210 Deps []*DepsResponse_Deps `protobuf:"bytes,1,rep,name=deps,proto3" json:"deps,omitempty"` 211 Status *Status `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` 212} 213 214func (x *DepsResponse) Reset() { 215 *x = DepsResponse{} 216 if protoimpl.UnsafeEnabled { 217 mi := &file_ide_query_proto_msgTypes[2] 218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 219 ms.StoreMessageInfo(mi) 220 } 221} 222 223func (x *DepsResponse) String() string { 224 return protoimpl.X.MessageStringOf(x) 225} 226 227func (*DepsResponse) ProtoMessage() {} 228 229func (x *DepsResponse) ProtoReflect() protoreflect.Message { 230 mi := &file_ide_query_proto_msgTypes[2] 231 if protoimpl.UnsafeEnabled && x != nil { 232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 233 if ms.LoadMessageInfo() == nil { 234 ms.StoreMessageInfo(mi) 235 } 236 return ms 237 } 238 return mi.MessageOf(x) 239} 240 241// Deprecated: Use DepsResponse.ProtoReflect.Descriptor instead. 242func (*DepsResponse) Descriptor() ([]byte, []int) { 243 return file_ide_query_proto_rawDescGZIP(), []int{2} 244} 245 246func (x *DepsResponse) GetDeps() []*DepsResponse_Deps { 247 if x != nil { 248 return x.Deps 249 } 250 return nil 251} 252 253func (x *DepsResponse) GetStatus() *Status { 254 if x != nil { 255 return x.Status 256 } 257 return nil 258} 259 260// Returns all the information necessary for providing language services for the 261// active files. 262type GeneratedFile struct { 263 state protoimpl.MessageState 264 sizeCache protoimpl.SizeCache 265 unknownFields protoimpl.UnknownFields 266 267 // Path to the file relative to IdeAnalysis.build_artifact_root. 268 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 269 // The text of the generated file, if not provided contents will be read 270 // from the path above in user's workstation. 271 Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3,oneof" json:"contents,omitempty"` 272} 273 274func (x *GeneratedFile) Reset() { 275 *x = GeneratedFile{} 276 if protoimpl.UnsafeEnabled { 277 mi := &file_ide_query_proto_msgTypes[3] 278 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 279 ms.StoreMessageInfo(mi) 280 } 281} 282 283func (x *GeneratedFile) String() string { 284 return protoimpl.X.MessageStringOf(x) 285} 286 287func (*GeneratedFile) ProtoMessage() {} 288 289func (x *GeneratedFile) ProtoReflect() protoreflect.Message { 290 mi := &file_ide_query_proto_msgTypes[3] 291 if protoimpl.UnsafeEnabled && x != nil { 292 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 293 if ms.LoadMessageInfo() == nil { 294 ms.StoreMessageInfo(mi) 295 } 296 return ms 297 } 298 return mi.MessageOf(x) 299} 300 301// Deprecated: Use GeneratedFile.ProtoReflect.Descriptor instead. 302func (*GeneratedFile) Descriptor() ([]byte, []int) { 303 return file_ide_query_proto_rawDescGZIP(), []int{3} 304} 305 306func (x *GeneratedFile) GetPath() string { 307 if x != nil { 308 return x.Path 309 } 310 return "" 311} 312 313func (x *GeneratedFile) GetContents() []byte { 314 if x != nil { 315 return x.Contents 316 } 317 return nil 318} 319 320type SourceFile struct { 321 state protoimpl.MessageState 322 sizeCache protoimpl.SizeCache 323 unknownFields protoimpl.UnknownFields 324 325 // Path to the source file relative to repository root. 326 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 327 // Working directory used by the build system. All the relative 328 // paths in compiler_arguments should be relative to this path. 329 // Relative to repository root. 330 WorkingDir string `protobuf:"bytes,2,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` 331 // Compiler arguments to compile the source file. If multiple variants 332 // of the module being compiled are possible, the query script will choose 333 // one. 334 CompilerArguments []string `protobuf:"bytes,3,rep,name=compiler_arguments,json=compilerArguments,proto3" json:"compiler_arguments,omitempty"` 335 // Any generated files that are used in compiling the file. 336 Generated []*GeneratedFile `protobuf:"bytes,4,rep,name=generated,proto3" json:"generated,omitempty"` 337 // Paths to all of the sources, like build files, code generators, 338 // proto files etc. that were used during analysis. Used to figure 339 // out when a set of build artifacts are stale and the query tool 340 // must be re-run. 341 // Relative to repository root. 342 Deps []string `protobuf:"bytes,5,rep,name=deps,proto3" json:"deps,omitempty"` 343 // Represents analysis status for this particular file. e.g. not part 344 // of the build graph. 345 Status *Status `protobuf:"bytes,6,opt,name=status,proto3,oneof" json:"status,omitempty"` 346} 347 348func (x *SourceFile) Reset() { 349 *x = SourceFile{} 350 if protoimpl.UnsafeEnabled { 351 mi := &file_ide_query_proto_msgTypes[4] 352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 353 ms.StoreMessageInfo(mi) 354 } 355} 356 357func (x *SourceFile) String() string { 358 return protoimpl.X.MessageStringOf(x) 359} 360 361func (*SourceFile) ProtoMessage() {} 362 363func (x *SourceFile) ProtoReflect() protoreflect.Message { 364 mi := &file_ide_query_proto_msgTypes[4] 365 if protoimpl.UnsafeEnabled && x != nil { 366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 367 if ms.LoadMessageInfo() == nil { 368 ms.StoreMessageInfo(mi) 369 } 370 return ms 371 } 372 return mi.MessageOf(x) 373} 374 375// Deprecated: Use SourceFile.ProtoReflect.Descriptor instead. 376func (*SourceFile) Descriptor() ([]byte, []int) { 377 return file_ide_query_proto_rawDescGZIP(), []int{4} 378} 379 380func (x *SourceFile) GetPath() string { 381 if x != nil { 382 return x.Path 383 } 384 return "" 385} 386 387func (x *SourceFile) GetWorkingDir() string { 388 if x != nil { 389 return x.WorkingDir 390 } 391 return "" 392} 393 394func (x *SourceFile) GetCompilerArguments() []string { 395 if x != nil { 396 return x.CompilerArguments 397 } 398 return nil 399} 400 401func (x *SourceFile) GetGenerated() []*GeneratedFile { 402 if x != nil { 403 return x.Generated 404 } 405 return nil 406} 407 408func (x *SourceFile) GetDeps() []string { 409 if x != nil { 410 return x.Deps 411 } 412 return nil 413} 414 415func (x *SourceFile) GetStatus() *Status { 416 if x != nil { 417 return x.Status 418 } 419 return nil 420} 421 422type IdeAnalysis struct { 423 state protoimpl.MessageState 424 sizeCache protoimpl.SizeCache 425 unknownFields protoimpl.UnknownFields 426 427 // Path relative to repository root, containing all the artifacts 428 // generated by the build system. GeneratedFile.path are always 429 // relative to this directory. 430 BuildArtifactRoot string `protobuf:"bytes,1,opt,name=build_artifact_root,json=buildArtifactRoot,proto3" json:"build_artifact_root,omitempty"` 431 Sources []*SourceFile `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"` 432 // Status representing overall analysis. 433 // Should fail only when no analysis can be performed. 434 Status *Status `protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"` 435} 436 437func (x *IdeAnalysis) Reset() { 438 *x = IdeAnalysis{} 439 if protoimpl.UnsafeEnabled { 440 mi := &file_ide_query_proto_msgTypes[5] 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 ms.StoreMessageInfo(mi) 443 } 444} 445 446func (x *IdeAnalysis) String() string { 447 return protoimpl.X.MessageStringOf(x) 448} 449 450func (*IdeAnalysis) ProtoMessage() {} 451 452func (x *IdeAnalysis) ProtoReflect() protoreflect.Message { 453 mi := &file_ide_query_proto_msgTypes[5] 454 if protoimpl.UnsafeEnabled && x != nil { 455 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 456 if ms.LoadMessageInfo() == nil { 457 ms.StoreMessageInfo(mi) 458 } 459 return ms 460 } 461 return mi.MessageOf(x) 462} 463 464// Deprecated: Use IdeAnalysis.ProtoReflect.Descriptor instead. 465func (*IdeAnalysis) Descriptor() ([]byte, []int) { 466 return file_ide_query_proto_rawDescGZIP(), []int{5} 467} 468 469func (x *IdeAnalysis) GetBuildArtifactRoot() string { 470 if x != nil { 471 return x.BuildArtifactRoot 472 } 473 return "" 474} 475 476func (x *IdeAnalysis) GetSources() []*SourceFile { 477 if x != nil { 478 return x.Sources 479 } 480 return nil 481} 482 483func (x *IdeAnalysis) GetStatus() *Status { 484 if x != nil { 485 return x.Status 486 } 487 return nil 488} 489 490// Build dependencies of a source file for providing language services. 491type DepsResponse_Deps struct { 492 state protoimpl.MessageState 493 sizeCache protoimpl.SizeCache 494 unknownFields protoimpl.UnknownFields 495 496 // Relative to repo_dir. 497 SourceFile string `protobuf:"bytes,1,opt,name=source_file,json=sourceFile,proto3" json:"source_file,omitempty"` 498 // Build target to execute for generating dep. 499 BuildTarget []string `protobuf:"bytes,2,rep,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` 500 Status *Status `protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"` 501} 502 503func (x *DepsResponse_Deps) Reset() { 504 *x = DepsResponse_Deps{} 505 if protoimpl.UnsafeEnabled { 506 mi := &file_ide_query_proto_msgTypes[6] 507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 508 ms.StoreMessageInfo(mi) 509 } 510} 511 512func (x *DepsResponse_Deps) String() string { 513 return protoimpl.X.MessageStringOf(x) 514} 515 516func (*DepsResponse_Deps) ProtoMessage() {} 517 518func (x *DepsResponse_Deps) ProtoReflect() protoreflect.Message { 519 mi := &file_ide_query_proto_msgTypes[6] 520 if protoimpl.UnsafeEnabled && x != nil { 521 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 522 if ms.LoadMessageInfo() == nil { 523 ms.StoreMessageInfo(mi) 524 } 525 return ms 526 } 527 return mi.MessageOf(x) 528} 529 530// Deprecated: Use DepsResponse_Deps.ProtoReflect.Descriptor instead. 531func (*DepsResponse_Deps) Descriptor() ([]byte, []int) { 532 return file_ide_query_proto_rawDescGZIP(), []int{2, 0} 533} 534 535func (x *DepsResponse_Deps) GetSourceFile() string { 536 if x != nil { 537 return x.SourceFile 538 } 539 return "" 540} 541 542func (x *DepsResponse_Deps) GetBuildTarget() []string { 543 if x != nil { 544 return x.BuildTarget 545 } 546 return nil 547} 548 549func (x *DepsResponse_Deps) GetStatus() *Status { 550 if x != nil { 551 return x.Status 552 } 553 return nil 554} 555 556var File_ide_query_proto protoreflect.FileDescriptor 557 558var file_ide_query_proto_rawDesc = []byte{ 559 0x0a, 0x0f, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 560 0x6f, 0x12, 0x09, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x7c, 0x0a, 0x06, 561 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 562 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 563 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 564 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 565 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 566 0x01, 0x22, 0x1b, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 567 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x01, 0x42, 0x0a, 568 0x0a, 0x08, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x09, 0x52, 569 0x65, 0x70, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6f, 570 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6f, 571 0x44, 0x69, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x66, 0x69, 572 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x61, 573 0x63, 0x74, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 574 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 575 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x20, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x64, 576 0x62, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 577 0x6d, 0x70, 0x44, 0x62, 0x50, 0x61, 0x74, 0x68, 0x22, 0x83, 0x02, 0x0a, 0x0c, 0x44, 0x65, 0x70, 578 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x65, 0x70, 579 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 580 0x65, 0x72, 0x79, 0x2e, 0x44, 0x65, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 581 0x2e, 0x44, 0x65, 0x70, 0x73, 0x52, 0x04, 0x64, 0x65, 0x70, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x73, 582 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x69, 0x64, 583 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 584 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x1a, 0x85, 0x01, 0x0a, 0x04, 585 0x44, 0x65, 0x70, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 586 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 587 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 588 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x75, 0x69, 589 0x6c, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 590 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 591 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 592 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 593 0x74, 0x75, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x51, 594 0x0a, 0x0d, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12, 595 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 596 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 597 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 598 0x73, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 599 0x73, 0x22, 0xf7, 0x01, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 600 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 601 0x70, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 602 0x64, 0x69, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x69, 603 0x6e, 0x67, 0x44, 0x69, 0x72, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 604 0x72, 0x5f, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 605 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x41, 0x72, 0x67, 0x75, 0x6d, 606 0x65, 0x6e, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 607 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 608 0x65, 0x72, 0x79, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 609 0x65, 0x52, 0x09, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 610 0x64, 0x65, 0x70, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x70, 0x73, 611 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 612 0x32, 0x11, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 613 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 614 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xa9, 0x01, 0x0a, 0x0b, 615 0x49, 0x64, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x62, 616 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x6f, 617 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x41, 618 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x2f, 0x0a, 0x07, 0x73, 619 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x69, 620 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 621 0x69, 0x6c, 0x65, 0x52, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x06, 622 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x69, 623 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 624 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 625 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x1b, 0x5a, 0x19, 0x69, 0x64, 0x65, 0x5f, 0x71, 626 0x75, 0x65, 0x72, 0x79, 0x2f, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 627 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 628} 629 630var ( 631 file_ide_query_proto_rawDescOnce sync.Once 632 file_ide_query_proto_rawDescData = file_ide_query_proto_rawDesc 633) 634 635func file_ide_query_proto_rawDescGZIP() []byte { 636 file_ide_query_proto_rawDescOnce.Do(func() { 637 file_ide_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_ide_query_proto_rawDescData) 638 }) 639 return file_ide_query_proto_rawDescData 640} 641 642var file_ide_query_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 643var file_ide_query_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 644var file_ide_query_proto_goTypes = []interface{}{ 645 (Status_Code)(0), // 0: ide_query.Status.Code 646 (*Status)(nil), // 1: ide_query.Status 647 (*RepoState)(nil), // 2: ide_query.RepoState 648 (*DepsResponse)(nil), // 3: ide_query.DepsResponse 649 (*GeneratedFile)(nil), // 4: ide_query.GeneratedFile 650 (*SourceFile)(nil), // 5: ide_query.SourceFile 651 (*IdeAnalysis)(nil), // 6: ide_query.IdeAnalysis 652 (*DepsResponse_Deps)(nil), // 7: ide_query.DepsResponse.Deps 653} 654var file_ide_query_proto_depIdxs = []int32{ 655 0, // 0: ide_query.Status.code:type_name -> ide_query.Status.Code 656 7, // 1: ide_query.DepsResponse.deps:type_name -> ide_query.DepsResponse.Deps 657 1, // 2: ide_query.DepsResponse.status:type_name -> ide_query.Status 658 4, // 3: ide_query.SourceFile.generated:type_name -> ide_query.GeneratedFile 659 1, // 4: ide_query.SourceFile.status:type_name -> ide_query.Status 660 5, // 5: ide_query.IdeAnalysis.sources:type_name -> ide_query.SourceFile 661 1, // 6: ide_query.IdeAnalysis.status:type_name -> ide_query.Status 662 1, // 7: ide_query.DepsResponse.Deps.status:type_name -> ide_query.Status 663 8, // [8:8] is the sub-list for method output_type 664 8, // [8:8] is the sub-list for method input_type 665 8, // [8:8] is the sub-list for extension type_name 666 8, // [8:8] is the sub-list for extension extendee 667 0, // [0:8] is the sub-list for field type_name 668} 669 670func init() { file_ide_query_proto_init() } 671func file_ide_query_proto_init() { 672 if File_ide_query_proto != nil { 673 return 674 } 675 if !protoimpl.UnsafeEnabled { 676 file_ide_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 677 switch v := v.(*Status); i { 678 case 0: 679 return &v.state 680 case 1: 681 return &v.sizeCache 682 case 2: 683 return &v.unknownFields 684 default: 685 return nil 686 } 687 } 688 file_ide_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 689 switch v := v.(*RepoState); i { 690 case 0: 691 return &v.state 692 case 1: 693 return &v.sizeCache 694 case 2: 695 return &v.unknownFields 696 default: 697 return nil 698 } 699 } 700 file_ide_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 701 switch v := v.(*DepsResponse); i { 702 case 0: 703 return &v.state 704 case 1: 705 return &v.sizeCache 706 case 2: 707 return &v.unknownFields 708 default: 709 return nil 710 } 711 } 712 file_ide_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 713 switch v := v.(*GeneratedFile); i { 714 case 0: 715 return &v.state 716 case 1: 717 return &v.sizeCache 718 case 2: 719 return &v.unknownFields 720 default: 721 return nil 722 } 723 } 724 file_ide_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 725 switch v := v.(*SourceFile); i { 726 case 0: 727 return &v.state 728 case 1: 729 return &v.sizeCache 730 case 2: 731 return &v.unknownFields 732 default: 733 return nil 734 } 735 } 736 file_ide_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 737 switch v := v.(*IdeAnalysis); i { 738 case 0: 739 return &v.state 740 case 1: 741 return &v.sizeCache 742 case 2: 743 return &v.unknownFields 744 default: 745 return nil 746 } 747 } 748 file_ide_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 749 switch v := v.(*DepsResponse_Deps); i { 750 case 0: 751 return &v.state 752 case 1: 753 return &v.sizeCache 754 case 2: 755 return &v.unknownFields 756 default: 757 return nil 758 } 759 } 760 } 761 file_ide_query_proto_msgTypes[0].OneofWrappers = []interface{}{} 762 file_ide_query_proto_msgTypes[2].OneofWrappers = []interface{}{} 763 file_ide_query_proto_msgTypes[3].OneofWrappers = []interface{}{} 764 file_ide_query_proto_msgTypes[4].OneofWrappers = []interface{}{} 765 file_ide_query_proto_msgTypes[5].OneofWrappers = []interface{}{} 766 file_ide_query_proto_msgTypes[6].OneofWrappers = []interface{}{} 767 type x struct{} 768 out := protoimpl.TypeBuilder{ 769 File: protoimpl.DescBuilder{ 770 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 771 RawDescriptor: file_ide_query_proto_rawDesc, 772 NumEnums: 1, 773 NumMessages: 7, 774 NumExtensions: 0, 775 NumServices: 0, 776 }, 777 GoTypes: file_ide_query_proto_goTypes, 778 DependencyIndexes: file_ide_query_proto_depIdxs, 779 EnumInfos: file_ide_query_proto_enumTypes, 780 MessageInfos: file_ide_query_proto_msgTypes, 781 }.Build() 782 File_ide_query_proto = out.File 783 file_ide_query_proto_rawDesc = nil 784 file_ide_query_proto_goTypes = nil 785 file_ide_query_proto_depIdxs = nil 786} 787