| // |
| // Copyright (C) 2024 The Android Open Source Project |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.30.0 |
| // protoc v3.21.12 |
| // source: ide_query.proto |
| |
| package ide_query_proto |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| type Language int32 |
| |
| const ( |
| Language_LANGUAGE_UNSPECIFIED Language = 0 |
| Language_LANGUAGE_JAVA Language = 1 // also includes Kotlin |
| Language_LANGUAGE_CPP Language = 2 |
| ) |
| |
| // Enum value maps for Language. |
| var ( |
| Language_name = map[int32]string{ |
| 0: "LANGUAGE_UNSPECIFIED", |
| 1: "LANGUAGE_JAVA", |
| 2: "LANGUAGE_CPP", |
| } |
| Language_value = map[string]int32{ |
| "LANGUAGE_UNSPECIFIED": 0, |
| "LANGUAGE_JAVA": 1, |
| "LANGUAGE_CPP": 2, |
| } |
| ) |
| |
| func (x Language) Enum() *Language { |
| p := new(Language) |
| *p = x |
| return p |
| } |
| |
| func (x Language) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Language) Descriptor() protoreflect.EnumDescriptor { |
| return file_ide_query_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (Language) Type() protoreflect.EnumType { |
| return &file_ide_query_proto_enumTypes[0] |
| } |
| |
| func (x Language) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Language.Descriptor instead. |
| func (Language) EnumDescriptor() ([]byte, []int) { |
| return file_ide_query_proto_rawDescGZIP(), []int{0} |
| } |
| |
| type AnalysisResult_Status_Code int32 |
| |
| const ( |
| AnalysisResult_Status_CODE_UNSPECIFIED AnalysisResult_Status_Code = 0 |
| AnalysisResult_Status_CODE_OK AnalysisResult_Status_Code = 1 |
| AnalysisResult_Status_CODE_NOT_FOUND AnalysisResult_Status_Code = 2 // no target or module found for the source file. |
| AnalysisResult_Status_CODE_BUILD_FAILED AnalysisResult_Status_Code = 3 |
| ) |
| |
| // Enum value maps for AnalysisResult_Status_Code. |
| var ( |
| AnalysisResult_Status_Code_name = map[int32]string{ |
| 0: "CODE_UNSPECIFIED", |
| 1: "CODE_OK", |
| 2: "CODE_NOT_FOUND", |
| 3: "CODE_BUILD_FAILED", |
| } |
| AnalysisResult_Status_Code_value = map[string]int32{ |
| "CODE_UNSPECIFIED": 0, |
| "CODE_OK": 1, |
| "CODE_NOT_FOUND": 2, |
| "CODE_BUILD_FAILED": 3, |
| } |
| ) |
| |
| func (x AnalysisResult_Status_Code) Enum() *AnalysisResult_Status_Code { |
| p := new(AnalysisResult_Status_Code) |
| *p = x |
| return p |
| } |
| |
| func (x AnalysisResult_Status_Code) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (AnalysisResult_Status_Code) Descriptor() protoreflect.EnumDescriptor { |
| return file_ide_query_proto_enumTypes[1].Descriptor() |
| } |
| |
| func (AnalysisResult_Status_Code) Type() protoreflect.EnumType { |
| return &file_ide_query_proto_enumTypes[1] |
| } |
| |
| func (x AnalysisResult_Status_Code) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use AnalysisResult_Status_Code.Descriptor instead. |
| func (AnalysisResult_Status_Code) EnumDescriptor() ([]byte, []int) { |
| return file_ide_query_proto_rawDescGZIP(), []int{3, 0, 0} |
| } |
| |
| type GeneratedFile struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Path to the file relative to build_out_dir. |
| Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` |
| // The text of the generated file, if not provided contents will be read |
| // from the path above in user's workstation. |
| Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3,oneof" json:"contents,omitempty"` |
| } |
| |
| func (x *GeneratedFile) Reset() { |
| *x = GeneratedFile{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_ide_query_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GeneratedFile) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GeneratedFile) ProtoMessage() {} |
| |
| func (x *GeneratedFile) ProtoReflect() protoreflect.Message { |
| mi := &file_ide_query_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use GeneratedFile.ProtoReflect.Descriptor instead. |
| func (*GeneratedFile) Descriptor() ([]byte, []int) { |
| return file_ide_query_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *GeneratedFile) GetPath() string { |
| if x != nil { |
| return x.Path |
| } |
| return "" |
| } |
| |
| func (x *GeneratedFile) GetContents() []byte { |
| if x != nil { |
| return x.Contents |
| } |
| return nil |
| } |
| |
| type IdeAnalysis struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Directory that contains build outputs generated by the build system. |
| // Relative to repository root. |
| BuildOutDir string `protobuf:"bytes,1,opt,name=build_out_dir,json=buildOutDir,proto3" json:"build_out_dir,omitempty"` |
| // Working directory used by the build system. |
| // Relative to repository root. |
| WorkingDir string `protobuf:"bytes,4,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` |
| // Only set if the whole query failed. |
| Error *AnalysisError `protobuf:"bytes,5,opt,name=error,proto3,oneof" json:"error,omitempty"` |
| // List of results, one per queried file. |
| Results []*AnalysisResult `protobuf:"bytes,6,rep,name=results,proto3" json:"results,omitempty"` |
| // List of buildable units directly or indirectly references by the results. |
| Units []*BuildableUnit `protobuf:"bytes,7,rep,name=units,proto3" json:"units,omitempty"` |
| } |
| |
| func (x *IdeAnalysis) Reset() { |
| *x = IdeAnalysis{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_ide_query_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *IdeAnalysis) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*IdeAnalysis) ProtoMessage() {} |
| |
| func (x *IdeAnalysis) ProtoReflect() protoreflect.Message { |
| mi := &file_ide_query_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use IdeAnalysis.ProtoReflect.Descriptor instead. |
| func (*IdeAnalysis) Descriptor() ([]byte, []int) { |
| return file_ide_query_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *IdeAnalysis) GetBuildOutDir() string { |
| if x != nil { |
| return x.BuildOutDir |
| } |
| return "" |
| } |
| |
| func (x *IdeAnalysis) GetWorkingDir() string { |
| if x != nil { |
| return x.WorkingDir |
| } |
| return "" |
| } |
| |
| func (x *IdeAnalysis) GetError() *AnalysisError { |
| if x != nil { |
| return x.Error |
| } |
| return nil |
| } |
| |
| func (x *IdeAnalysis) GetResults() []*AnalysisResult { |
| if x != nil { |
| return x.Results |
| } |
| return nil |
| } |
| |
| func (x *IdeAnalysis) GetUnits() []*BuildableUnit { |
| if x != nil { |
| return x.Units |
| } |
| return nil |
| } |
| |
| type AnalysisError struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Human readable error message. |
| ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` |
| } |
| |
| func (x *AnalysisError) Reset() { |
| *x = AnalysisError{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_ide_query_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *AnalysisError) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AnalysisError) ProtoMessage() {} |
| |
| func (x *AnalysisError) ProtoReflect() protoreflect.Message { |
| mi := &file_ide_query_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AnalysisError.ProtoReflect.Descriptor instead. |
| func (*AnalysisError) Descriptor() ([]byte, []int) { |
| return file_ide_query_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *AnalysisError) GetErrorMessage() string { |
| if x != nil { |
| return x.ErrorMessage |
| } |
| return "" |
| } |
| |
| type AnalysisResult struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Path to the source file that was queried, relative to repository root. |
| SourceFilePath string `protobuf:"bytes,1,opt,name=source_file_path,json=sourceFilePath,proto3" json:"source_file_path,omitempty"` |
| // Represents status for this result. e.g. not part of the build graph. |
| Status *AnalysisResult_Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` |
| // ID of buildable unit that contains the source file. |
| // The ide_query script can choose the most relevant unit from multiple |
| // options. |
| UnitId string `protobuf:"bytes,3,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"` |
| // Invalidation rule to check if the result is still valid. |
| Invalidation *Invalidation `protobuf:"bytes,4,opt,name=invalidation,proto3" json:"invalidation,omitempty"` |
| } |
| |
| func (x *AnalysisResult) Reset() { |
| *x = AnalysisResult{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_ide_query_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *AnalysisResult) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AnalysisResult) ProtoMessage() {} |
| |
| func (x *AnalysisResult) ProtoReflect() protoreflect.Message { |
| mi := &file_ide_query_proto_msgTypes[3] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AnalysisResult.ProtoReflect.Descriptor instead. |
| func (*AnalysisResult) Descriptor() ([]byte, []int) { |
| return file_ide_query_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *AnalysisResult) GetSourceFilePath() string { |
| if x != nil { |
| return x.SourceFilePath |
| } |
| return "" |
| } |
| |
| func (x *AnalysisResult) GetStatus() *AnalysisResult_Status { |
| if x != nil { |
| return x.Status |
| } |
| return nil |
| } |
| |
| func (x *AnalysisResult) GetUnitId() string { |
| if x != nil { |
| return x.UnitId |
| } |
| return "" |
| } |
| |
| func (x *AnalysisResult) GetInvalidation() *Invalidation { |
| if x != nil { |
| return x.Invalidation |
| } |
| return nil |
| } |
| |
| type BuildableUnit struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Unique identifier of the buildable unit. |
| // |
| // Examples: |
| // - Java: module or target name, e.g. "framework-bluetooth" or |
| // "//third_party/hamcrest:hamcrest_java" |
| // - C++: source file, e.g. "path/to/file.cc" |
| Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| // Language of the unit. |
| // Required for buildable units directly referenced by the AnalysisResult, |
| // e.g. the unit associated with the compilation stage for the source file. |
| Language Language `protobuf:"varint,2,opt,name=language,proto3,enum=ide_query.Language" json:"language,omitempty"` |
| // Source files that are part of this unit. |
| // Path to the file relative to working_dir. |
| SourceFilePaths []string `protobuf:"bytes,3,rep,name=source_file_paths,json=sourceFilePaths,proto3" json:"source_file_paths,omitempty"` |
| // Compiler arguments to compile the source files. |
| CompilerArguments []string `protobuf:"bytes,4,rep,name=compiler_arguments,json=compilerArguments,proto3" json:"compiler_arguments,omitempty"` |
| // List of generated files produced by this unit. |
| GeneratedFiles []*GeneratedFile `protobuf:"bytes,5,rep,name=generated_files,json=generatedFiles,proto3" json:"generated_files,omitempty"` |
| // List of other BuildableUnits this unit depend on. |
| DependencyIds []string `protobuf:"bytes,6,rep,name=dependency_ids,json=dependencyIds,proto3" json:"dependency_ids,omitempty"` |
| } |
| |
| func (x *BuildableUnit) Reset() { |
| *x = BuildableUnit{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_ide_query_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *BuildableUnit) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BuildableUnit) ProtoMessage() {} |
| |
| func (x *BuildableUnit) ProtoReflect() protoreflect.Message { |
| mi := &file_ide_query_proto_msgTypes[4] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BuildableUnit.ProtoReflect.Descriptor instead. |
| func (*BuildableUnit) Descriptor() ([]byte, []int) { |
| return file_ide_query_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *BuildableUnit) GetId() string { |
| if x != nil { |
| return x.Id |
| } |
| return "" |
| } |
| |
| func (x *BuildableUnit) GetLanguage() Language { |
| if x != nil { |
| return x.Language |
| } |
| return Language_LANGUAGE_UNSPECIFIED |
| } |
| |
| func (x *BuildableUnit) GetSourceFilePaths() []string { |
| if x != nil { |
| return x.SourceFilePaths |
| } |
| return nil |
| } |
| |
| func (x *BuildableUnit) GetCompilerArguments() []string { |
| if x != nil { |
| return x.CompilerArguments |
| } |
| return nil |
| } |
| |
| func (x *BuildableUnit) GetGeneratedFiles() []*GeneratedFile { |
| if x != nil { |
| return x.GeneratedFiles |
| } |
| return nil |
| } |
| |
| func (x *BuildableUnit) GetDependencyIds() []string { |
| if x != nil { |
| return x.DependencyIds |
| } |
| return nil |
| } |
| |
| // Invalidation rule to check if the result is still valid. |
| // This should contain files/dirs that are not directly part of the build graph |
| // but still affect the result. For example BUILD files, directory to the |
| // toolchain or config files etc. |
| type Invalidation struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // If any of these files change the result may become invalid. |
| // Path to the file relative to repository root. |
| FilePaths []string `protobuf:"bytes,1,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"` |
| // If any of these rules match a changed file the result may become invalid. |
| Wildcards []*Invalidation_Wildcard `protobuf:"bytes,4,rep,name=wildcards,proto3" json:"wildcards,omitempty"` |
| } |
| |
| func (x *Invalidation) Reset() { |
| *x = Invalidation{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_ide_query_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Invalidation) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Invalidation) ProtoMessage() {} |
| |
| func (x *Invalidation) ProtoReflect() protoreflect.Message { |
| mi := &file_ide_query_proto_msgTypes[5] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Invalidation.ProtoReflect.Descriptor instead. |
| func (*Invalidation) Descriptor() ([]byte, []int) { |
| return file_ide_query_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *Invalidation) GetFilePaths() []string { |
| if x != nil { |
| return x.FilePaths |
| } |
| return nil |
| } |
| |
| func (x *Invalidation) GetWildcards() []*Invalidation_Wildcard { |
| if x != nil { |
| return x.Wildcards |
| } |
| return nil |
| } |
| |
| // Indicates the success/failure for the query. |
| type AnalysisResult_Status struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Code AnalysisResult_Status_Code `protobuf:"varint,1,opt,name=code,proto3,enum=ide_query.AnalysisResult_Status_Code" json:"code,omitempty"` |
| // Details about the status, might be displayed to user. |
| StatusMessage *string `protobuf:"bytes,2,opt,name=status_message,json=statusMessage,proto3,oneof" json:"status_message,omitempty"` |
| } |
| |
| func (x *AnalysisResult_Status) Reset() { |
| *x = AnalysisResult_Status{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_ide_query_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *AnalysisResult_Status) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AnalysisResult_Status) ProtoMessage() {} |
| |
| func (x *AnalysisResult_Status) ProtoReflect() protoreflect.Message { |
| mi := &file_ide_query_proto_msgTypes[6] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AnalysisResult_Status.ProtoReflect.Descriptor instead. |
| func (*AnalysisResult_Status) Descriptor() ([]byte, []int) { |
| return file_ide_query_proto_rawDescGZIP(), []int{3, 0} |
| } |
| |
| func (x *AnalysisResult_Status) GetCode() AnalysisResult_Status_Code { |
| if x != nil { |
| return x.Code |
| } |
| return AnalysisResult_Status_CODE_UNSPECIFIED |
| } |
| |
| func (x *AnalysisResult_Status) GetStatusMessage() string { |
| if x != nil && x.StatusMessage != nil { |
| return *x.StatusMessage |
| } |
| return "" |
| } |
| |
| type Invalidation_Wildcard struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Prefix of the file path (e.g. "path/to/") |
| Prefix *string `protobuf:"bytes,1,opt,name=prefix,proto3,oneof" json:"prefix,omitempty"` |
| // Suffix of the file path (e.g. "Android.bp") |
| Suffix *string `protobuf:"bytes,2,opt,name=suffix,proto3,oneof" json:"suffix,omitempty"` |
| // If false, the part of the path between the given `prefix` and `suffix` |
| // should not contain directory separators ('/'). |
| CanCrossFolder *bool `protobuf:"varint,3,opt,name=can_cross_folder,json=canCrossFolder,proto3,oneof" json:"can_cross_folder,omitempty"` |
| } |
| |
| func (x *Invalidation_Wildcard) Reset() { |
| *x = Invalidation_Wildcard{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_ide_query_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Invalidation_Wildcard) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Invalidation_Wildcard) ProtoMessage() {} |
| |
| func (x *Invalidation_Wildcard) ProtoReflect() protoreflect.Message { |
| mi := &file_ide_query_proto_msgTypes[7] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Invalidation_Wildcard.ProtoReflect.Descriptor instead. |
| func (*Invalidation_Wildcard) Descriptor() ([]byte, []int) { |
| return file_ide_query_proto_rawDescGZIP(), []int{5, 0} |
| } |
| |
| func (x *Invalidation_Wildcard) GetPrefix() string { |
| if x != nil && x.Prefix != nil { |
| return *x.Prefix |
| } |
| return "" |
| } |
| |
| func (x *Invalidation_Wildcard) GetSuffix() string { |
| if x != nil && x.Suffix != nil { |
| return *x.Suffix |
| } |
| return "" |
| } |
| |
| func (x *Invalidation_Wildcard) GetCanCrossFolder() bool { |
| if x != nil && x.CanCrossFolder != nil { |
| return *x.CanCrossFolder |
| } |
| return false |
| } |
| |
| var File_ide_query_proto protoreflect.FileDescriptor |
| |
| var file_ide_query_proto_rawDesc = []byte{ |
| 0x0a, 0x0f, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 0x6f, 0x12, 0x09, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x51, 0x0a, 0x0d, |
| 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, |
| 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, |
| 0x68, 0x12, 0x1f, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, |
| 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x88, |
| 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x22, |
| 0x82, 0x02, 0x0a, 0x0b, 0x49, 0x64, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, |
| 0x22, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, |
| 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4f, 0x75, 0x74, |
| 0x44, 0x69, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x64, |
| 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, |
| 0x67, 0x44, 0x69, 0x72, 0x12, 0x33, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, |
| 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, |
| 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, |
| 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x73, |
| 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x69, 0x64, 0x65, |
| 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, |
| 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2e, |
| 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, |
| 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x61, |
| 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x52, 0x05, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x42, 0x08, |
| 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, |
| 0x08, 0x03, 0x10, 0x04, 0x22, 0x34, 0x0a, 0x0d, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, |
| 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, |
| 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, |
| 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa5, 0x03, 0x0a, 0x0e, 0x41, |
| 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x0a, |
| 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, |
| 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, |
| 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, |
| 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, |
| 0x65, 0x72, 0x79, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, |
| 0x6c, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, |
| 0x73, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, |
| 0x28, 0x09, 0x52, 0x06, 0x75, 0x6e, 0x69, 0x74, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x0c, 0x69, 0x6e, |
| 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, |
| 0x32, 0x17, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x76, |
| 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x61, 0x6c, |
| 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xd8, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, |
| 0x75, 0x73, 0x12, 0x39, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, |
| 0x32, 0x25, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x41, 0x6e, 0x61, |
| 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, |
| 0x75, 0x73, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2a, 0x0a, |
| 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, |
| 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, |
| 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x22, 0x54, 0x0a, 0x04, 0x43, 0x6f, 0x64, |
| 0x65, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, |
| 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x44, 0x45, 0x5f, |
| 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4e, 0x4f, 0x54, |
| 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x44, 0x45, |
| 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x42, |
| 0x11, 0x0a, 0x0f, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, |
| 0x67, 0x65, 0x22, 0x95, 0x02, 0x0a, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x61, 0x62, 0x6c, 0x65, |
| 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, |
| 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, |
| 0x72, 0x79, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6c, 0x61, 0x6e, |
| 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, |
| 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, |
| 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, |
| 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x61, 0x72, |
| 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x63, |
| 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, |
| 0x12, 0x41, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, |
| 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x64, 0x65, 0x5f, |
| 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x46, |
| 0x69, 0x6c, 0x65, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, |
| 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, |
| 0x79, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x70, |
| 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x64, 0x73, 0x22, 0x8e, 0x02, 0x0a, 0x0c, 0x49, |
| 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x66, |
| 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 0x09, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x3e, 0x0a, 0x09, 0x77, 0x69, |
| 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, |
| 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, |
| 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x57, 0x69, 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x52, |
| 0x09, 0x77, 0x69, 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x73, 0x1a, 0x9e, 0x01, 0x0a, 0x08, 0x57, |
| 0x69, 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, |
| 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, |
| 0x78, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x02, |
| 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x88, 0x01, |
| 0x01, 0x12, 0x2d, 0x0a, 0x10, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x66, |
| 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x0e, 0x63, |
| 0x61, 0x6e, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x88, 0x01, 0x01, |
| 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x09, 0x0a, 0x07, 0x5f, |
| 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x63, 0x61, 0x6e, 0x5f, 0x63, |
| 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x2a, 0x49, 0x0a, 0x08, 0x4c, |
| 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x41, 0x4e, 0x47, 0x55, |
| 0x41, 0x47, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, |
| 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x4a, 0x41, |
| 0x56, 0x41, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, |
| 0x5f, 0x43, 0x50, 0x50, 0x10, 0x02, 0x42, 0x1b, 0x5a, 0x19, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, |
| 0x65, 0x72, 0x79, 0x2f, 0x69, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x72, |
| 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_ide_query_proto_rawDescOnce sync.Once |
| file_ide_query_proto_rawDescData = file_ide_query_proto_rawDesc |
| ) |
| |
| func file_ide_query_proto_rawDescGZIP() []byte { |
| file_ide_query_proto_rawDescOnce.Do(func() { |
| file_ide_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_ide_query_proto_rawDescData) |
| }) |
| return file_ide_query_proto_rawDescData |
| } |
| |
| var file_ide_query_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| var file_ide_query_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| var file_ide_query_proto_goTypes = []interface{}{ |
| (Language)(0), // 0: ide_query.Language |
| (AnalysisResult_Status_Code)(0), // 1: ide_query.AnalysisResult.Status.Code |
| (*GeneratedFile)(nil), // 2: ide_query.GeneratedFile |
| (*IdeAnalysis)(nil), // 3: ide_query.IdeAnalysis |
| (*AnalysisError)(nil), // 4: ide_query.AnalysisError |
| (*AnalysisResult)(nil), // 5: ide_query.AnalysisResult |
| (*BuildableUnit)(nil), // 6: ide_query.BuildableUnit |
| (*Invalidation)(nil), // 7: ide_query.Invalidation |
| (*AnalysisResult_Status)(nil), // 8: ide_query.AnalysisResult.Status |
| (*Invalidation_Wildcard)(nil), // 9: ide_query.Invalidation.Wildcard |
| } |
| var file_ide_query_proto_depIdxs = []int32{ |
| 4, // 0: ide_query.IdeAnalysis.error:type_name -> ide_query.AnalysisError |
| 5, // 1: ide_query.IdeAnalysis.results:type_name -> ide_query.AnalysisResult |
| 6, // 2: ide_query.IdeAnalysis.units:type_name -> ide_query.BuildableUnit |
| 8, // 3: ide_query.AnalysisResult.status:type_name -> ide_query.AnalysisResult.Status |
| 7, // 4: ide_query.AnalysisResult.invalidation:type_name -> ide_query.Invalidation |
| 0, // 5: ide_query.BuildableUnit.language:type_name -> ide_query.Language |
| 2, // 6: ide_query.BuildableUnit.generated_files:type_name -> ide_query.GeneratedFile |
| 9, // 7: ide_query.Invalidation.wildcards:type_name -> ide_query.Invalidation.Wildcard |
| 1, // 8: ide_query.AnalysisResult.Status.code:type_name -> ide_query.AnalysisResult.Status.Code |
| 9, // [9:9] is the sub-list for method output_type |
| 9, // [9:9] is the sub-list for method input_type |
| 9, // [9:9] is the sub-list for extension type_name |
| 9, // [9:9] is the sub-list for extension extendee |
| 0, // [0:9] is the sub-list for field type_name |
| } |
| |
| func init() { file_ide_query_proto_init() } |
| func file_ide_query_proto_init() { |
| if File_ide_query_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_ide_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GeneratedFile); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_ide_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*IdeAnalysis); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_ide_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*AnalysisError); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_ide_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*AnalysisResult); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_ide_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*BuildableUnit); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_ide_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Invalidation); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_ide_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*AnalysisResult_Status); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_ide_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Invalidation_Wildcard); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| file_ide_query_proto_msgTypes[0].OneofWrappers = []interface{}{} |
| file_ide_query_proto_msgTypes[1].OneofWrappers = []interface{}{} |
| file_ide_query_proto_msgTypes[6].OneofWrappers = []interface{}{} |
| file_ide_query_proto_msgTypes[7].OneofWrappers = []interface{}{} |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_ide_query_proto_rawDesc, |
| NumEnums: 2, |
| NumMessages: 8, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_ide_query_proto_goTypes, |
| DependencyIndexes: file_ide_query_proto_depIdxs, |
| EnumInfos: file_ide_query_proto_enumTypes, |
| MessageInfos: file_ide_query_proto_msgTypes, |
| }.Build() |
| File_ide_query_proto = out.File |
| file_ide_query_proto_rawDesc = nil |
| file_ide_query_proto_goTypes = nil |
| file_ide_query_proto_depIdxs = nil |
| } |