1// 2// Copyright (C) 2024 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.30.0 19// protoc v3.21.12 20// source: ide_query.proto 21 22package ide_query_proto 23 24import ( 25 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 26 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 27 reflect "reflect" 28 sync "sync" 29) 30 31const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36) 37 38type Language int32 39 40const ( 41 Language_LANGUAGE_UNSPECIFIED Language = 0 42 Language_LANGUAGE_JAVA Language = 1 // also includes Kotlin 43 Language_LANGUAGE_CPP Language = 2 44) 45 46// Enum value maps for Language. 47var ( 48 Language_name = map[int32]string{ 49 0: "LANGUAGE_UNSPECIFIED", 50 1: "LANGUAGE_JAVA", 51 2: "LANGUAGE_CPP", 52 } 53 Language_value = map[string]int32{ 54 "LANGUAGE_UNSPECIFIED": 0, 55 "LANGUAGE_JAVA": 1, 56 "LANGUAGE_CPP": 2, 57 } 58) 59 60func (x Language) Enum() *Language { 61 p := new(Language) 62 *p = x 63 return p 64} 65 66func (x Language) String() string { 67 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 68} 69 70func (Language) Descriptor() protoreflect.EnumDescriptor { 71 return file_ide_query_proto_enumTypes[0].Descriptor() 72} 73 74func (Language) Type() protoreflect.EnumType { 75 return &file_ide_query_proto_enumTypes[0] 76} 77 78func (x Language) Number() protoreflect.EnumNumber { 79 return protoreflect.EnumNumber(x) 80} 81 82// Deprecated: Use Language.Descriptor instead. 83func (Language) EnumDescriptor() ([]byte, []int) { 84 return file_ide_query_proto_rawDescGZIP(), []int{0} 85} 86 87type AnalysisResult_Status_Code int32 88 89const ( 90 AnalysisResult_Status_CODE_UNSPECIFIED AnalysisResult_Status_Code = 0 91 AnalysisResult_Status_CODE_OK AnalysisResult_Status_Code = 1 92 AnalysisResult_Status_CODE_NOT_FOUND AnalysisResult_Status_Code = 2 // no target or module found for the source file. 93 AnalysisResult_Status_CODE_BUILD_FAILED AnalysisResult_Status_Code = 3 94) 95 96// Enum value maps for AnalysisResult_Status_Code. 97var ( 98 AnalysisResult_Status_Code_name = map[int32]string{ 99 0: "CODE_UNSPECIFIED", 100 1: "CODE_OK", 101 2: "CODE_NOT_FOUND", 102 3: "CODE_BUILD_FAILED", 103 } 104 AnalysisResult_Status_Code_value = map[string]int32{ 105 "CODE_UNSPECIFIED": 0, 106 "CODE_OK": 1, 107 "CODE_NOT_FOUND": 2, 108 "CODE_BUILD_FAILED": 3, 109 } 110) 111 112func (x AnalysisResult_Status_Code) Enum() *AnalysisResult_Status_Code { 113 p := new(AnalysisResult_Status_Code) 114 *p = x 115 return p 116} 117 118func (x AnalysisResult_Status_Code) String() string { 119 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 120} 121 122func (AnalysisResult_Status_Code) Descriptor() protoreflect.EnumDescriptor { 123 return file_ide_query_proto_enumTypes[1].Descriptor() 124} 125 126func (AnalysisResult_Status_Code) Type() protoreflect.EnumType { 127 return &file_ide_query_proto_enumTypes[1] 128} 129 130func (x AnalysisResult_Status_Code) Number() protoreflect.EnumNumber { 131 return protoreflect.EnumNumber(x) 132} 133 134// Deprecated: Use AnalysisResult_Status_Code.Descriptor instead. 135func (AnalysisResult_Status_Code) EnumDescriptor() ([]byte, []int) { 136 return file_ide_query_proto_rawDescGZIP(), []int{3, 0, 0} 137} 138 139type GeneratedFile struct { 140 state protoimpl.MessageState 141 sizeCache protoimpl.SizeCache 142 unknownFields protoimpl.UnknownFields 143 144 // Path to the file relative to build_out_dir. 145 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 146 // The text of the generated file, if not provided contents will be read 147 // from the path above in user's workstation. 148 Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3,oneof" json:"contents,omitempty"` 149} 150 151func (x *GeneratedFile) Reset() { 152 *x = GeneratedFile{} 153 if protoimpl.UnsafeEnabled { 154 mi := &file_ide_query_proto_msgTypes[0] 155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 156 ms.StoreMessageInfo(mi) 157 } 158} 159 160func (x *GeneratedFile) String() string { 161 return protoimpl.X.MessageStringOf(x) 162} 163 164func (*GeneratedFile) ProtoMessage() {} 165 166func (x *GeneratedFile) ProtoReflect() protoreflect.Message { 167 mi := &file_ide_query_proto_msgTypes[0] 168 if protoimpl.UnsafeEnabled && x != nil { 169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 170 if ms.LoadMessageInfo() == nil { 171 ms.StoreMessageInfo(mi) 172 } 173 return ms 174 } 175 return mi.MessageOf(x) 176} 177 178// Deprecated: Use GeneratedFile.ProtoReflect.Descriptor instead. 179func (*GeneratedFile) Descriptor() ([]byte, []int) { 180 return file_ide_query_proto_rawDescGZIP(), []int{0} 181} 182 183func (x *GeneratedFile) GetPath() string { 184 if x != nil { 185 return x.Path 186 } 187 return "" 188} 189 190func (x *GeneratedFile) GetContents() []byte { 191 if x != nil { 192 return x.Contents 193 } 194 return nil 195} 196 197type IdeAnalysis struct { 198 state protoimpl.MessageState 199 sizeCache protoimpl.SizeCache 200 unknownFields protoimpl.UnknownFields 201 202 // Directory that contains build outputs generated by the build system. 203 // Relative to repository root. 204 BuildOutDir string `protobuf:"bytes,1,opt,name=build_out_dir,json=buildOutDir,proto3" json:"build_out_dir,omitempty"` 205 // Working directory used by the build system. 206 // Relative to repository root. 207 WorkingDir string `protobuf:"bytes,4,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` 208 // Only set if the whole query failed. 209 Error *AnalysisError `protobuf:"bytes,5,opt,name=error,proto3,oneof" json:"error,omitempty"` 210 // List of results, one per queried file. 211 Results []*AnalysisResult `protobuf:"bytes,6,rep,name=results,proto3" json:"results,omitempty"` 212 // List of buildable units directly or indirectly references by the results. 213 Units []*BuildableUnit `protobuf:"bytes,7,rep,name=units,proto3" json:"units,omitempty"` 214} 215 216func (x *IdeAnalysis) Reset() { 217 *x = IdeAnalysis{} 218 if protoimpl.UnsafeEnabled { 219 mi := &file_ide_query_proto_msgTypes[1] 220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 221 ms.StoreMessageInfo(mi) 222 } 223} 224 225func (x *IdeAnalysis) String() string { 226 return protoimpl.X.MessageStringOf(x) 227} 228 229func (*IdeAnalysis) ProtoMessage() {} 230 231func (x *IdeAnalysis) ProtoReflect() protoreflect.Message { 232 mi := &file_ide_query_proto_msgTypes[1] 233 if protoimpl.UnsafeEnabled && x != nil { 234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 235 if ms.LoadMessageInfo() == nil { 236 ms.StoreMessageInfo(mi) 237 } 238 return ms 239 } 240 return mi.MessageOf(x) 241} 242 243// Deprecated: Use IdeAnalysis.ProtoReflect.Descriptor instead. 244func (*IdeAnalysis) Descriptor() ([]byte, []int) { 245 return file_ide_query_proto_rawDescGZIP(), []int{1} 246} 247 248func (x *IdeAnalysis) GetBuildOutDir() string { 249 if x != nil { 250 return x.BuildOutDir 251 } 252 return "" 253} 254 255func (x *IdeAnalysis) GetWorkingDir() string { 256 if x != nil { 257 return x.WorkingDir 258 } 259 return "" 260} 261 262func (x *IdeAnalysis) GetError() *AnalysisError { 263 if x != nil { 264 return x.Error 265 } 266 return nil 267} 268 269func (x *IdeAnalysis) GetResults() []*AnalysisResult { 270 if x != nil { 271 return x.Results 272 } 273 return nil 274} 275 276func (x *IdeAnalysis) GetUnits() []*BuildableUnit { 277 if x != nil { 278 return x.Units 279 } 280 return nil 281} 282 283type AnalysisError struct { 284 state protoimpl.MessageState 285 sizeCache protoimpl.SizeCache 286 unknownFields protoimpl.UnknownFields 287 288 // Human readable error message. 289 ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` 290} 291 292func (x *AnalysisError) Reset() { 293 *x = AnalysisError{} 294 if protoimpl.UnsafeEnabled { 295 mi := &file_ide_query_proto_msgTypes[2] 296 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 297 ms.StoreMessageInfo(mi) 298 } 299} 300 301func (x *AnalysisError) String() string { 302 return protoimpl.X.MessageStringOf(x) 303} 304 305func (*AnalysisError) ProtoMessage() {} 306 307func (x *AnalysisError) ProtoReflect() protoreflect.Message { 308 mi := &file_ide_query_proto_msgTypes[2] 309 if protoimpl.UnsafeEnabled && x != nil { 310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 311 if ms.LoadMessageInfo() == nil { 312 ms.StoreMessageInfo(mi) 313 } 314 return ms 315 } 316 return mi.MessageOf(x) 317} 318 319// Deprecated: Use AnalysisError.ProtoReflect.Descriptor instead. 320func (*AnalysisError) Descriptor() ([]byte, []int) { 321 return file_ide_query_proto_rawDescGZIP(), []int{2} 322} 323 324func (x *AnalysisError) GetErrorMessage() string { 325 if x != nil { 326 return x.ErrorMessage 327 } 328 return "" 329} 330 331type AnalysisResult struct { 332 state protoimpl.MessageState 333 sizeCache protoimpl.SizeCache 334 unknownFields protoimpl.UnknownFields 335 336 // Path to the source file that was queried, relative to repository root. 337 SourceFilePath string `protobuf:"bytes,1,opt,name=source_file_path,json=sourceFilePath,proto3" json:"source_file_path,omitempty"` 338 // Represents status for this result. e.g. not part of the build graph. 339 Status *AnalysisResult_Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 340 // ID of buildable unit that contains the source file. 341 // The ide_query script can choose the most relevant unit from multiple 342 // options. 343 UnitId string `protobuf:"bytes,3,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"` 344 // Invalidation rule to check if the result is still valid. 345 Invalidation *Invalidation `protobuf:"bytes,4,opt,name=invalidation,proto3" json:"invalidation,omitempty"` 346} 347 348func (x *AnalysisResult) Reset() { 349 *x = AnalysisResult{} 350 if protoimpl.UnsafeEnabled { 351 mi := &file_ide_query_proto_msgTypes[3] 352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 353 ms.StoreMessageInfo(mi) 354 } 355} 356 357func (x *AnalysisResult) String() string { 358 return protoimpl.X.MessageStringOf(x) 359} 360 361func (*AnalysisResult) ProtoMessage() {} 362 363func (x *AnalysisResult) ProtoReflect() protoreflect.Message { 364 mi := &file_ide_query_proto_msgTypes[3] 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 AnalysisResult.ProtoReflect.Descriptor instead. 376func (*AnalysisResult) Descriptor() ([]byte, []int) { 377 return file_ide_query_proto_rawDescGZIP(), []int{3} 378} 379 380func (x *AnalysisResult) GetSourceFilePath() string { 381 if x != nil { 382 return x.SourceFilePath 383 } 384 return "" 385} 386 387func (x *AnalysisResult) GetStatus() *AnalysisResult_Status { 388 if x != nil { 389 return x.Status 390 } 391 return nil 392} 393 394func (x *AnalysisResult) GetUnitId() string { 395 if x != nil { 396 return x.UnitId 397 } 398 return "" 399} 400 401func (x *AnalysisResult) GetInvalidation() *Invalidation { 402 if x != nil { 403 return x.Invalidation 404 } 405 return nil 406} 407 408type BuildableUnit struct { 409 state protoimpl.MessageState 410 sizeCache protoimpl.SizeCache 411 unknownFields protoimpl.UnknownFields 412 413 // Unique identifier of the buildable unit. 414 // 415 // Examples: 416 // - Java: module or target name, e.g. "framework-bluetooth" or 417 // "//third_party/hamcrest:hamcrest_java" 418 // - C++: source file, e.g. "path/to/file.cc" 419 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 420 // Language of the unit. 421 // Required for buildable units directly referenced by the AnalysisResult, 422 // e.g. the unit associated with the compilation stage for the source file. 423 Language Language `protobuf:"varint,2,opt,name=language,proto3,enum=ide_query.Language" json:"language,omitempty"` 424 // Source files that are part of this unit. 425 // Path to the file relative to working_dir. 426 SourceFilePaths []string `protobuf:"bytes,3,rep,name=source_file_paths,json=sourceFilePaths,proto3" json:"source_file_paths,omitempty"` 427 // Compiler arguments to compile the source files. 428 CompilerArguments []string `protobuf:"bytes,4,rep,name=compiler_arguments,json=compilerArguments,proto3" json:"compiler_arguments,omitempty"` 429 // List of generated files produced by this unit. 430 GeneratedFiles []*GeneratedFile `protobuf:"bytes,5,rep,name=generated_files,json=generatedFiles,proto3" json:"generated_files,omitempty"` 431 // List of other BuildableUnits this unit depend on. 432 DependencyIds []string `protobuf:"bytes,6,rep,name=dependency_ids,json=dependencyIds,proto3" json:"dependency_ids,omitempty"` 433} 434 435func (x *BuildableUnit) Reset() { 436 *x = BuildableUnit{} 437 if protoimpl.UnsafeEnabled { 438 mi := &file_ide_query_proto_msgTypes[4] 439 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 440 ms.StoreMessageInfo(mi) 441 } 442} 443 444func (x *BuildableUnit) String() string { 445 return protoimpl.X.MessageStringOf(x) 446} 447 448func (*BuildableUnit) ProtoMessage() {} 449 450func (x *BuildableUnit) ProtoReflect() protoreflect.Message { 451 mi := &file_ide_query_proto_msgTypes[4] 452 if protoimpl.UnsafeEnabled && x != nil { 453 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 454 if ms.LoadMessageInfo() == nil { 455 ms.StoreMessageInfo(mi) 456 } 457 return ms 458 } 459 return mi.MessageOf(x) 460} 461 462// Deprecated: Use BuildableUnit.ProtoReflect.Descriptor instead. 463func (*BuildableUnit) Descriptor() ([]byte, []int) { 464 return file_ide_query_proto_rawDescGZIP(), []int{4} 465} 466 467func (x *BuildableUnit) GetId() string { 468 if x != nil { 469 return x.Id 470 } 471 return "" 472} 473 474func (x *BuildableUnit) GetLanguage() Language { 475 if x != nil { 476 return x.Language 477 } 478 return Language_LANGUAGE_UNSPECIFIED 479} 480 481func (x *BuildableUnit) GetSourceFilePaths() []string { 482 if x != nil { 483 return x.SourceFilePaths 484 } 485 return nil 486} 487 488func (x *BuildableUnit) GetCompilerArguments() []string { 489 if x != nil { 490 return x.CompilerArguments 491 } 492 return nil 493} 494 495func (x *BuildableUnit) GetGeneratedFiles() []*GeneratedFile { 496 if x != nil { 497 return x.GeneratedFiles 498 } 499 return nil 500} 501 502func (x *BuildableUnit) GetDependencyIds() []string { 503 if x != nil { 504 return x.DependencyIds 505 } 506 return nil 507} 508 509// Invalidation rule to check if the result is still valid. 510// This should contain files/dirs that are not directly part of the build graph 511// but still affect the result. For example BUILD files, directory to the 512// toolchain or config files etc. 513type Invalidation struct { 514 state protoimpl.MessageState 515 sizeCache protoimpl.SizeCache 516 unknownFields protoimpl.UnknownFields 517 518 // If any of these files change the result may become invalid. 519 // Path to the file relative to repository root. 520 FilePaths []string `protobuf:"bytes,1,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"` 521 // If any of these rules match a changed file the result may become invalid. 522 Wildcards []*Invalidation_Wildcard `protobuf:"bytes,4,rep,name=wildcards,proto3" json:"wildcards,omitempty"` 523} 524 525func (x *Invalidation) Reset() { 526 *x = Invalidation{} 527 if protoimpl.UnsafeEnabled { 528 mi := &file_ide_query_proto_msgTypes[5] 529 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 530 ms.StoreMessageInfo(mi) 531 } 532} 533 534func (x *Invalidation) String() string { 535 return protoimpl.X.MessageStringOf(x) 536} 537 538func (*Invalidation) ProtoMessage() {} 539 540func (x *Invalidation) ProtoReflect() protoreflect.Message { 541 mi := &file_ide_query_proto_msgTypes[5] 542 if protoimpl.UnsafeEnabled && x != nil { 543 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 544 if ms.LoadMessageInfo() == nil { 545 ms.StoreMessageInfo(mi) 546 } 547 return ms 548 } 549 return mi.MessageOf(x) 550} 551 552// Deprecated: Use Invalidation.ProtoReflect.Descriptor instead. 553func (*Invalidation) Descriptor() ([]byte, []int) { 554 return file_ide_query_proto_rawDescGZIP(), []int{5} 555} 556 557func (x *Invalidation) GetFilePaths() []string { 558 if x != nil { 559 return x.FilePaths 560 } 561 return nil 562} 563 564func (x *Invalidation) GetWildcards() []*Invalidation_Wildcard { 565 if x != nil { 566 return x.Wildcards 567 } 568 return nil 569} 570 571// Indicates the success/failure for the query. 572type AnalysisResult_Status struct { 573 state protoimpl.MessageState 574 sizeCache protoimpl.SizeCache 575 unknownFields protoimpl.UnknownFields 576 577 Code AnalysisResult_Status_Code `protobuf:"varint,1,opt,name=code,proto3,enum=ide_query.AnalysisResult_Status_Code" json:"code,omitempty"` 578 // Details about the status, might be displayed to user. 579 StatusMessage *string `protobuf:"bytes,2,opt,name=status_message,json=statusMessage,proto3,oneof" json:"status_message,omitempty"` 580} 581 582func (x *AnalysisResult_Status) Reset() { 583 *x = AnalysisResult_Status{} 584 if protoimpl.UnsafeEnabled { 585 mi := &file_ide_query_proto_msgTypes[6] 586 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 587 ms.StoreMessageInfo(mi) 588 } 589} 590 591func (x *AnalysisResult_Status) String() string { 592 return protoimpl.X.MessageStringOf(x) 593} 594 595func (*AnalysisResult_Status) ProtoMessage() {} 596 597func (x *AnalysisResult_Status) ProtoReflect() protoreflect.Message { 598 mi := &file_ide_query_proto_msgTypes[6] 599 if protoimpl.UnsafeEnabled && x != nil { 600 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 601 if ms.LoadMessageInfo() == nil { 602 ms.StoreMessageInfo(mi) 603 } 604 return ms 605 } 606 return mi.MessageOf(x) 607} 608 609// Deprecated: Use AnalysisResult_Status.ProtoReflect.Descriptor instead. 610func (*AnalysisResult_Status) Descriptor() ([]byte, []int) { 611 return file_ide_query_proto_rawDescGZIP(), []int{3, 0} 612} 613 614func (x *AnalysisResult_Status) GetCode() AnalysisResult_Status_Code { 615 if x != nil { 616 return x.Code 617 } 618 return AnalysisResult_Status_CODE_UNSPECIFIED 619} 620 621func (x *AnalysisResult_Status) GetStatusMessage() string { 622 if x != nil && x.StatusMessage != nil { 623 return *x.StatusMessage 624 } 625 return "" 626} 627 628type Invalidation_Wildcard struct { 629 state protoimpl.MessageState 630 sizeCache protoimpl.SizeCache 631 unknownFields protoimpl.UnknownFields 632 633 // Prefix of the file path (e.g. "path/to/") 634 Prefix *string `protobuf:"bytes,1,opt,name=prefix,proto3,oneof" json:"prefix,omitempty"` 635 // Suffix of the file path (e.g. "Android.bp") 636 Suffix *string `protobuf:"bytes,2,opt,name=suffix,proto3,oneof" json:"suffix,omitempty"` 637 // If false, the part of the path between the given `prefix` and `suffix` 638 // should not contain directory separators ('/'). 639 CanCrossFolder *bool `protobuf:"varint,3,opt,name=can_cross_folder,json=canCrossFolder,proto3,oneof" json:"can_cross_folder,omitempty"` 640} 641 642func (x *Invalidation_Wildcard) Reset() { 643 *x = Invalidation_Wildcard{} 644 if protoimpl.UnsafeEnabled { 645 mi := &file_ide_query_proto_msgTypes[7] 646 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 647 ms.StoreMessageInfo(mi) 648 } 649} 650 651func (x *Invalidation_Wildcard) String() string { 652 return protoimpl.X.MessageStringOf(x) 653} 654 655func (*Invalidation_Wildcard) ProtoMessage() {} 656 657func (x *Invalidation_Wildcard) ProtoReflect() protoreflect.Message { 658 mi := &file_ide_query_proto_msgTypes[7] 659 if protoimpl.UnsafeEnabled && x != nil { 660 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 661 if ms.LoadMessageInfo() == nil { 662 ms.StoreMessageInfo(mi) 663 } 664 return ms 665 } 666 return mi.MessageOf(x) 667} 668 669// Deprecated: Use Invalidation_Wildcard.ProtoReflect.Descriptor instead. 670func (*Invalidation_Wildcard) Descriptor() ([]byte, []int) { 671 return file_ide_query_proto_rawDescGZIP(), []int{5, 0} 672} 673 674func (x *Invalidation_Wildcard) GetPrefix() string { 675 if x != nil && x.Prefix != nil { 676 return *x.Prefix 677 } 678 return "" 679} 680 681func (x *Invalidation_Wildcard) GetSuffix() string { 682 if x != nil && x.Suffix != nil { 683 return *x.Suffix 684 } 685 return "" 686} 687 688func (x *Invalidation_Wildcard) GetCanCrossFolder() bool { 689 if x != nil && x.CanCrossFolder != nil { 690 return *x.CanCrossFolder 691 } 692 return false 693} 694 695var File_ide_query_proto protoreflect.FileDescriptor 696 697var file_ide_query_proto_rawDesc = []byte{ 698 0x0a, 0x0f, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 699 0x6f, 0x12, 0x09, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x51, 0x0a, 0x0d, 700 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 701 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 702 0x68, 0x12, 0x1f, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 703 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x88, 704 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x22, 705 0x82, 0x02, 0x0a, 0x0b, 0x49, 0x64, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 706 0x22, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 707 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4f, 0x75, 0x74, 708 0x44, 0x69, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x64, 709 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 710 0x67, 0x44, 0x69, 0x72, 0x12, 0x33, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 711 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 712 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 713 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x73, 714 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x69, 0x64, 0x65, 715 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 716 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2e, 717 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 718 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x61, 719 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x52, 0x05, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x42, 0x08, 720 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 721 0x08, 0x03, 0x10, 0x04, 0x22, 0x34, 0x0a, 0x0d, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 722 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 723 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 724 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa5, 0x03, 0x0a, 0x0e, 0x41, 725 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x0a, 726 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 727 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 728 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 729 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 730 0x65, 0x72, 0x79, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 731 0x6c, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 732 0x73, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 733 0x28, 0x09, 0x52, 0x06, 0x75, 0x6e, 0x69, 0x74, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 734 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 735 0x32, 0x17, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x76, 736 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x61, 0x6c, 737 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xd8, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 738 0x75, 0x73, 0x12, 0x39, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 739 0x32, 0x25, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x41, 0x6e, 0x61, 740 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 741 0x75, 0x73, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2a, 0x0a, 742 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 743 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 744 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x22, 0x54, 0x0a, 0x04, 0x43, 0x6f, 0x64, 745 0x65, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 746 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x44, 0x45, 0x5f, 747 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 748 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x44, 0x45, 749 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x42, 750 0x11, 0x0a, 0x0f, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 751 0x67, 0x65, 0x22, 0x95, 0x02, 0x0a, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x61, 0x62, 0x6c, 0x65, 752 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 753 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 754 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 755 0x72, 0x79, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6c, 0x61, 0x6e, 756 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 757 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 758 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 759 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x61, 0x72, 760 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x63, 761 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 762 0x12, 0x41, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 763 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x64, 0x65, 0x5f, 764 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x46, 765 0x69, 0x6c, 0x65, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 766 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 767 0x79, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x70, 768 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x64, 0x73, 0x22, 0x8e, 0x02, 0x0a, 0x0c, 0x49, 769 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 770 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 771 0x09, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x3e, 0x0a, 0x09, 0x77, 0x69, 772 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 773 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 774 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x57, 0x69, 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x52, 775 0x09, 0x77, 0x69, 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x73, 0x1a, 0x9e, 0x01, 0x0a, 0x08, 0x57, 776 0x69, 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 777 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 778 0x78, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x02, 779 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x88, 0x01, 780 0x01, 0x12, 0x2d, 0x0a, 0x10, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x66, 781 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x0e, 0x63, 782 0x61, 0x6e, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x88, 0x01, 0x01, 783 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x09, 0x0a, 0x07, 0x5f, 784 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x63, 0x61, 0x6e, 0x5f, 0x63, 785 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x2a, 0x49, 0x0a, 0x08, 0x4c, 786 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x41, 0x4e, 0x47, 0x55, 787 0x41, 0x47, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 788 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x4a, 0x41, 789 0x56, 0x41, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 790 0x5f, 0x43, 0x50, 0x50, 0x10, 0x02, 0x42, 0x1b, 0x5a, 0x19, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 791 0x65, 0x72, 0x79, 0x2f, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x72, 792 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 793} 794 795var ( 796 file_ide_query_proto_rawDescOnce sync.Once 797 file_ide_query_proto_rawDescData = file_ide_query_proto_rawDesc 798) 799 800func file_ide_query_proto_rawDescGZIP() []byte { 801 file_ide_query_proto_rawDescOnce.Do(func() { 802 file_ide_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_ide_query_proto_rawDescData) 803 }) 804 return file_ide_query_proto_rawDescData 805} 806 807var file_ide_query_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 808var file_ide_query_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 809var file_ide_query_proto_goTypes = []interface{}{ 810 (Language)(0), // 0: ide_query.Language 811 (AnalysisResult_Status_Code)(0), // 1: ide_query.AnalysisResult.Status.Code 812 (*GeneratedFile)(nil), // 2: ide_query.GeneratedFile 813 (*IdeAnalysis)(nil), // 3: ide_query.IdeAnalysis 814 (*AnalysisError)(nil), // 4: ide_query.AnalysisError 815 (*AnalysisResult)(nil), // 5: ide_query.AnalysisResult 816 (*BuildableUnit)(nil), // 6: ide_query.BuildableUnit 817 (*Invalidation)(nil), // 7: ide_query.Invalidation 818 (*AnalysisResult_Status)(nil), // 8: ide_query.AnalysisResult.Status 819 (*Invalidation_Wildcard)(nil), // 9: ide_query.Invalidation.Wildcard 820} 821var file_ide_query_proto_depIdxs = []int32{ 822 4, // 0: ide_query.IdeAnalysis.error:type_name -> ide_query.AnalysisError 823 5, // 1: ide_query.IdeAnalysis.results:type_name -> ide_query.AnalysisResult 824 6, // 2: ide_query.IdeAnalysis.units:type_name -> ide_query.BuildableUnit 825 8, // 3: ide_query.AnalysisResult.status:type_name -> ide_query.AnalysisResult.Status 826 7, // 4: ide_query.AnalysisResult.invalidation:type_name -> ide_query.Invalidation 827 0, // 5: ide_query.BuildableUnit.language:type_name -> ide_query.Language 828 2, // 6: ide_query.BuildableUnit.generated_files:type_name -> ide_query.GeneratedFile 829 9, // 7: ide_query.Invalidation.wildcards:type_name -> ide_query.Invalidation.Wildcard 830 1, // 8: ide_query.AnalysisResult.Status.code:type_name -> ide_query.AnalysisResult.Status.Code 831 9, // [9:9] is the sub-list for method output_type 832 9, // [9:9] is the sub-list for method input_type 833 9, // [9:9] is the sub-list for extension type_name 834 9, // [9:9] is the sub-list for extension extendee 835 0, // [0:9] is the sub-list for field type_name 836} 837 838func init() { file_ide_query_proto_init() } 839func file_ide_query_proto_init() { 840 if File_ide_query_proto != nil { 841 return 842 } 843 if !protoimpl.UnsafeEnabled { 844 file_ide_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 845 switch v := v.(*GeneratedFile); i { 846 case 0: 847 return &v.state 848 case 1: 849 return &v.sizeCache 850 case 2: 851 return &v.unknownFields 852 default: 853 return nil 854 } 855 } 856 file_ide_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 857 switch v := v.(*IdeAnalysis); i { 858 case 0: 859 return &v.state 860 case 1: 861 return &v.sizeCache 862 case 2: 863 return &v.unknownFields 864 default: 865 return nil 866 } 867 } 868 file_ide_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 869 switch v := v.(*AnalysisError); i { 870 case 0: 871 return &v.state 872 case 1: 873 return &v.sizeCache 874 case 2: 875 return &v.unknownFields 876 default: 877 return nil 878 } 879 } 880 file_ide_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 881 switch v := v.(*AnalysisResult); i { 882 case 0: 883 return &v.state 884 case 1: 885 return &v.sizeCache 886 case 2: 887 return &v.unknownFields 888 default: 889 return nil 890 } 891 } 892 file_ide_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 893 switch v := v.(*BuildableUnit); i { 894 case 0: 895 return &v.state 896 case 1: 897 return &v.sizeCache 898 case 2: 899 return &v.unknownFields 900 default: 901 return nil 902 } 903 } 904 file_ide_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 905 switch v := v.(*Invalidation); i { 906 case 0: 907 return &v.state 908 case 1: 909 return &v.sizeCache 910 case 2: 911 return &v.unknownFields 912 default: 913 return nil 914 } 915 } 916 file_ide_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 917 switch v := v.(*AnalysisResult_Status); i { 918 case 0: 919 return &v.state 920 case 1: 921 return &v.sizeCache 922 case 2: 923 return &v.unknownFields 924 default: 925 return nil 926 } 927 } 928 file_ide_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 929 switch v := v.(*Invalidation_Wildcard); i { 930 case 0: 931 return &v.state 932 case 1: 933 return &v.sizeCache 934 case 2: 935 return &v.unknownFields 936 default: 937 return nil 938 } 939 } 940 } 941 file_ide_query_proto_msgTypes[0].OneofWrappers = []interface{}{} 942 file_ide_query_proto_msgTypes[1].OneofWrappers = []interface{}{} 943 file_ide_query_proto_msgTypes[6].OneofWrappers = []interface{}{} 944 file_ide_query_proto_msgTypes[7].OneofWrappers = []interface{}{} 945 type x struct{} 946 out := protoimpl.TypeBuilder{ 947 File: protoimpl.DescBuilder{ 948 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 949 RawDescriptor: file_ide_query_proto_rawDesc, 950 NumEnums: 2, 951 NumMessages: 8, 952 NumExtensions: 0, 953 NumServices: 0, 954 }, 955 GoTypes: file_ide_query_proto_goTypes, 956 DependencyIndexes: file_ide_query_proto_depIdxs, 957 EnumInfos: file_ide_query_proto_enumTypes, 958 MessageInfos: file_ide_query_proto_msgTypes, 959 }.Build() 960 File_ide_query_proto = out.File 961 file_ide_query_proto_rawDesc = nil 962 file_ide_query_proto_goTypes = nil 963 file_ide_query_proto_depIdxs = nil 964} 965