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