fork of https://github.com/sourcegraph/zoekt
1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// protoc-gen-go v1.29.1
4// protoc (unknown)
5// source: query.proto
6
7package v1
8
9import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 reflect "reflect"
13 sync "sync"
14)
15
16const (
17 // Verify that this generated code is sufficiently up-to-date.
18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19 // Verify that runtime/protoimpl is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21)
22
23type RawConfig_Flag int32
24
25const (
26 RawConfig_UNKNOWN RawConfig_Flag = 0
27 RawConfig_ONLY_PUBLIC RawConfig_Flag = 1
28 RawConfig_ONLY_PRIVATE RawConfig_Flag = 2
29 RawConfig_ONLY_FORKS RawConfig_Flag = 4
30 RawConfig_NO_FORKS RawConfig_Flag = 8
31 RawConfig_ONLY_ARCHIVED RawConfig_Flag = 16
32 RawConfig_NO_ARCHIVED RawConfig_Flag = 32
33)
34
35// Enum value maps for RawConfig_Flag.
36var (
37 RawConfig_Flag_name = map[int32]string{
38 0: "UNKNOWN",
39 1: "ONLY_PUBLIC",
40 2: "ONLY_PRIVATE",
41 4: "ONLY_FORKS",
42 8: "NO_FORKS",
43 16: "ONLY_ARCHIVED",
44 32: "NO_ARCHIVED",
45 }
46 RawConfig_Flag_value = map[string]int32{
47 "UNKNOWN": 0,
48 "ONLY_PUBLIC": 1,
49 "ONLY_PRIVATE": 2,
50 "ONLY_FORKS": 4,
51 "NO_FORKS": 8,
52 "ONLY_ARCHIVED": 16,
53 "NO_ARCHIVED": 32,
54 }
55)
56
57func (x RawConfig_Flag) Enum() *RawConfig_Flag {
58 p := new(RawConfig_Flag)
59 *p = x
60 return p
61}
62
63func (x RawConfig_Flag) String() string {
64 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
65}
66
67func (RawConfig_Flag) Descriptor() protoreflect.EnumDescriptor {
68 return file_query_proto_enumTypes[0].Descriptor()
69}
70
71func (RawConfig_Flag) Type() protoreflect.EnumType {
72 return &file_query_proto_enumTypes[0]
73}
74
75func (x RawConfig_Flag) Number() protoreflect.EnumNumber {
76 return protoreflect.EnumNumber(x)
77}
78
79// Deprecated: Use RawConfig_Flag.Descriptor instead.
80func (RawConfig_Flag) EnumDescriptor() ([]byte, []int) {
81 return file_query_proto_rawDescGZIP(), []int{1, 0}
82}
83
84type Type_Kind int32
85
86const (
87 Type_UNKNOWN Type_Kind = 0
88 Type_FILE_MATCH Type_Kind = 1
89 Type_FILE_NAME Type_Kind = 2
90 Type_REPO Type_Kind = 3
91)
92
93// Enum value maps for Type_Kind.
94var (
95 Type_Kind_name = map[int32]string{
96 0: "UNKNOWN",
97 1: "FILE_MATCH",
98 2: "FILE_NAME",
99 3: "REPO",
100 }
101 Type_Kind_value = map[string]int32{
102 "UNKNOWN": 0,
103 "FILE_MATCH": 1,
104 "FILE_NAME": 2,
105 "REPO": 3,
106 }
107)
108
109func (x Type_Kind) Enum() *Type_Kind {
110 p := new(Type_Kind)
111 *p = x
112 return p
113}
114
115func (x Type_Kind) String() string {
116 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
117}
118
119func (Type_Kind) Descriptor() protoreflect.EnumDescriptor {
120 return file_query_proto_enumTypes[1].Descriptor()
121}
122
123func (Type_Kind) Type() protoreflect.EnumType {
124 return &file_query_proto_enumTypes[1]
125}
126
127func (x Type_Kind) Number() protoreflect.EnumNumber {
128 return protoreflect.EnumNumber(x)
129}
130
131// Deprecated: Use Type_Kind.Descriptor instead.
132func (Type_Kind) EnumDescriptor() ([]byte, []int) {
133 return file_query_proto_rawDescGZIP(), []int{12, 0}
134}
135
136type Q struct {
137 state protoimpl.MessageState
138 sizeCache protoimpl.SizeCache
139 unknownFields protoimpl.UnknownFields
140
141 // Types that are assignable to Query:
142 //
143 // *Q_RawConfig
144 // *Q_Regexp
145 // *Q_Symbol
146 // *Q_Language
147 // *Q_Const
148 // *Q_Repo
149 // *Q_RepoRegexp
150 // *Q_BranchesRepos
151 // *Q_RepoIds
152 // *Q_RepoSet
153 // *Q_FileNameSet
154 // *Q_Type
155 // *Q_Substring
156 // *Q_And
157 // *Q_Or
158 // *Q_Not
159 // *Q_Branch
160 Query isQ_Query `protobuf_oneof:"query"`
161}
162
163func (x *Q) Reset() {
164 *x = Q{}
165 if protoimpl.UnsafeEnabled {
166 mi := &file_query_proto_msgTypes[0]
167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
168 ms.StoreMessageInfo(mi)
169 }
170}
171
172func (x *Q) String() string {
173 return protoimpl.X.MessageStringOf(x)
174}
175
176func (*Q) ProtoMessage() {}
177
178func (x *Q) ProtoReflect() protoreflect.Message {
179 mi := &file_query_proto_msgTypes[0]
180 if protoimpl.UnsafeEnabled && x != nil {
181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
182 if ms.LoadMessageInfo() == nil {
183 ms.StoreMessageInfo(mi)
184 }
185 return ms
186 }
187 return mi.MessageOf(x)
188}
189
190// Deprecated: Use Q.ProtoReflect.Descriptor instead.
191func (*Q) Descriptor() ([]byte, []int) {
192 return file_query_proto_rawDescGZIP(), []int{0}
193}
194
195func (m *Q) GetQuery() isQ_Query {
196 if m != nil {
197 return m.Query
198 }
199 return nil
200}
201
202func (x *Q) GetRawConfig() *RawConfig {
203 if x, ok := x.GetQuery().(*Q_RawConfig); ok {
204 return x.RawConfig
205 }
206 return nil
207}
208
209func (x *Q) GetRegexp() *Regexp {
210 if x, ok := x.GetQuery().(*Q_Regexp); ok {
211 return x.Regexp
212 }
213 return nil
214}
215
216func (x *Q) GetSymbol() *Symbol {
217 if x, ok := x.GetQuery().(*Q_Symbol); ok {
218 return x.Symbol
219 }
220 return nil
221}
222
223func (x *Q) GetLanguage() *Language {
224 if x, ok := x.GetQuery().(*Q_Language); ok {
225 return x.Language
226 }
227 return nil
228}
229
230func (x *Q) GetConst() bool {
231 if x, ok := x.GetQuery().(*Q_Const); ok {
232 return x.Const
233 }
234 return false
235}
236
237func (x *Q) GetRepo() *Repo {
238 if x, ok := x.GetQuery().(*Q_Repo); ok {
239 return x.Repo
240 }
241 return nil
242}
243
244func (x *Q) GetRepoRegexp() *RepoRegexp {
245 if x, ok := x.GetQuery().(*Q_RepoRegexp); ok {
246 return x.RepoRegexp
247 }
248 return nil
249}
250
251func (x *Q) GetBranchesRepos() *BranchesRepos {
252 if x, ok := x.GetQuery().(*Q_BranchesRepos); ok {
253 return x.BranchesRepos
254 }
255 return nil
256}
257
258func (x *Q) GetRepoIds() *RepoIds {
259 if x, ok := x.GetQuery().(*Q_RepoIds); ok {
260 return x.RepoIds
261 }
262 return nil
263}
264
265func (x *Q) GetRepoSet() *RepoSet {
266 if x, ok := x.GetQuery().(*Q_RepoSet); ok {
267 return x.RepoSet
268 }
269 return nil
270}
271
272func (x *Q) GetFileNameSet() *FileNameSet {
273 if x, ok := x.GetQuery().(*Q_FileNameSet); ok {
274 return x.FileNameSet
275 }
276 return nil
277}
278
279func (x *Q) GetType() *Type {
280 if x, ok := x.GetQuery().(*Q_Type); ok {
281 return x.Type
282 }
283 return nil
284}
285
286func (x *Q) GetSubstring() *Substring {
287 if x, ok := x.GetQuery().(*Q_Substring); ok {
288 return x.Substring
289 }
290 return nil
291}
292
293func (x *Q) GetAnd() *And {
294 if x, ok := x.GetQuery().(*Q_And); ok {
295 return x.And
296 }
297 return nil
298}
299
300func (x *Q) GetOr() *Or {
301 if x, ok := x.GetQuery().(*Q_Or); ok {
302 return x.Or
303 }
304 return nil
305}
306
307func (x *Q) GetNot() *Not {
308 if x, ok := x.GetQuery().(*Q_Not); ok {
309 return x.Not
310 }
311 return nil
312}
313
314func (x *Q) GetBranch() *Branch {
315 if x, ok := x.GetQuery().(*Q_Branch); ok {
316 return x.Branch
317 }
318 return nil
319}
320
321type isQ_Query interface {
322 isQ_Query()
323}
324
325type Q_RawConfig struct {
326 RawConfig *RawConfig `protobuf:"bytes,1,opt,name=raw_config,json=rawConfig,proto3,oneof"`
327}
328
329type Q_Regexp struct {
330 Regexp *Regexp `protobuf:"bytes,2,opt,name=regexp,proto3,oneof"`
331}
332
333type Q_Symbol struct {
334 Symbol *Symbol `protobuf:"bytes,3,opt,name=symbol,proto3,oneof"`
335}
336
337type Q_Language struct {
338 Language *Language `protobuf:"bytes,4,opt,name=language,proto3,oneof"`
339}
340
341type Q_Const struct {
342 Const bool `protobuf:"varint,5,opt,name=const,proto3,oneof"`
343}
344
345type Q_Repo struct {
346 Repo *Repo `protobuf:"bytes,6,opt,name=repo,proto3,oneof"`
347}
348
349type Q_RepoRegexp struct {
350 RepoRegexp *RepoRegexp `protobuf:"bytes,7,opt,name=repo_regexp,json=repoRegexp,proto3,oneof"`
351}
352
353type Q_BranchesRepos struct {
354 BranchesRepos *BranchesRepos `protobuf:"bytes,8,opt,name=branches_repos,json=branchesRepos,proto3,oneof"`
355}
356
357type Q_RepoIds struct {
358 RepoIds *RepoIds `protobuf:"bytes,9,opt,name=repo_ids,json=repoIds,proto3,oneof"`
359}
360
361type Q_RepoSet struct {
362 RepoSet *RepoSet `protobuf:"bytes,10,opt,name=repo_set,json=repoSet,proto3,oneof"`
363}
364
365type Q_FileNameSet struct {
366 FileNameSet *FileNameSet `protobuf:"bytes,11,opt,name=file_name_set,json=fileNameSet,proto3,oneof"`
367}
368
369type Q_Type struct {
370 Type *Type `protobuf:"bytes,12,opt,name=type,proto3,oneof"`
371}
372
373type Q_Substring struct {
374 Substring *Substring `protobuf:"bytes,13,opt,name=substring,proto3,oneof"`
375}
376
377type Q_And struct {
378 And *And `protobuf:"bytes,14,opt,name=and,proto3,oneof"`
379}
380
381type Q_Or struct {
382 Or *Or `protobuf:"bytes,15,opt,name=or,proto3,oneof"`
383}
384
385type Q_Not struct {
386 Not *Not `protobuf:"bytes,16,opt,name=not,proto3,oneof"`
387}
388
389type Q_Branch struct {
390 Branch *Branch `protobuf:"bytes,17,opt,name=branch,proto3,oneof"`
391}
392
393func (*Q_RawConfig) isQ_Query() {}
394
395func (*Q_Regexp) isQ_Query() {}
396
397func (*Q_Symbol) isQ_Query() {}
398
399func (*Q_Language) isQ_Query() {}
400
401func (*Q_Const) isQ_Query() {}
402
403func (*Q_Repo) isQ_Query() {}
404
405func (*Q_RepoRegexp) isQ_Query() {}
406
407func (*Q_BranchesRepos) isQ_Query() {}
408
409func (*Q_RepoIds) isQ_Query() {}
410
411func (*Q_RepoSet) isQ_Query() {}
412
413func (*Q_FileNameSet) isQ_Query() {}
414
415func (*Q_Type) isQ_Query() {}
416
417func (*Q_Substring) isQ_Query() {}
418
419func (*Q_And) isQ_Query() {}
420
421func (*Q_Or) isQ_Query() {}
422
423func (*Q_Not) isQ_Query() {}
424
425func (*Q_Branch) isQ_Query() {}
426
427// RawConfig filters repositories based on their encoded RawConfig map.
428type RawConfig struct {
429 state protoimpl.MessageState
430 sizeCache protoimpl.SizeCache
431 unknownFields protoimpl.UnknownFields
432
433 Flags []RawConfig_Flag `protobuf:"varint,1,rep,packed,name=flags,proto3,enum=grpc.v1.RawConfig_Flag" json:"flags,omitempty"`
434}
435
436func (x *RawConfig) Reset() {
437 *x = RawConfig{}
438 if protoimpl.UnsafeEnabled {
439 mi := &file_query_proto_msgTypes[1]
440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
441 ms.StoreMessageInfo(mi)
442 }
443}
444
445func (x *RawConfig) String() string {
446 return protoimpl.X.MessageStringOf(x)
447}
448
449func (*RawConfig) ProtoMessage() {}
450
451func (x *RawConfig) ProtoReflect() protoreflect.Message {
452 mi := &file_query_proto_msgTypes[1]
453 if protoimpl.UnsafeEnabled && x != nil {
454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
455 if ms.LoadMessageInfo() == nil {
456 ms.StoreMessageInfo(mi)
457 }
458 return ms
459 }
460 return mi.MessageOf(x)
461}
462
463// Deprecated: Use RawConfig.ProtoReflect.Descriptor instead.
464func (*RawConfig) Descriptor() ([]byte, []int) {
465 return file_query_proto_rawDescGZIP(), []int{1}
466}
467
468func (x *RawConfig) GetFlags() []RawConfig_Flag {
469 if x != nil {
470 return x.Flags
471 }
472 return nil
473}
474
475// Regexp is a query looking for regular expressions matches.
476type Regexp struct {
477 state protoimpl.MessageState
478 sizeCache protoimpl.SizeCache
479 unknownFields protoimpl.UnknownFields
480
481 Regexp string `protobuf:"bytes,1,opt,name=regexp,proto3" json:"regexp,omitempty"`
482 FileName bool `protobuf:"varint,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
483 Content bool `protobuf:"varint,3,opt,name=content,proto3" json:"content,omitempty"`
484 CaseSensitive bool `protobuf:"varint,4,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
485}
486
487func (x *Regexp) Reset() {
488 *x = Regexp{}
489 if protoimpl.UnsafeEnabled {
490 mi := &file_query_proto_msgTypes[2]
491 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
492 ms.StoreMessageInfo(mi)
493 }
494}
495
496func (x *Regexp) String() string {
497 return protoimpl.X.MessageStringOf(x)
498}
499
500func (*Regexp) ProtoMessage() {}
501
502func (x *Regexp) ProtoReflect() protoreflect.Message {
503 mi := &file_query_proto_msgTypes[2]
504 if protoimpl.UnsafeEnabled && x != nil {
505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
506 if ms.LoadMessageInfo() == nil {
507 ms.StoreMessageInfo(mi)
508 }
509 return ms
510 }
511 return mi.MessageOf(x)
512}
513
514// Deprecated: Use Regexp.ProtoReflect.Descriptor instead.
515func (*Regexp) Descriptor() ([]byte, []int) {
516 return file_query_proto_rawDescGZIP(), []int{2}
517}
518
519func (x *Regexp) GetRegexp() string {
520 if x != nil {
521 return x.Regexp
522 }
523 return ""
524}
525
526func (x *Regexp) GetFileName() bool {
527 if x != nil {
528 return x.FileName
529 }
530 return false
531}
532
533func (x *Regexp) GetContent() bool {
534 if x != nil {
535 return x.Content
536 }
537 return false
538}
539
540func (x *Regexp) GetCaseSensitive() bool {
541 if x != nil {
542 return x.CaseSensitive
543 }
544 return false
545}
546
547type Symbol struct {
548 state protoimpl.MessageState
549 sizeCache protoimpl.SizeCache
550 unknownFields protoimpl.UnknownFields
551
552 Expr *Q `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
553}
554
555func (x *Symbol) Reset() {
556 *x = Symbol{}
557 if protoimpl.UnsafeEnabled {
558 mi := &file_query_proto_msgTypes[3]
559 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
560 ms.StoreMessageInfo(mi)
561 }
562}
563
564func (x *Symbol) String() string {
565 return protoimpl.X.MessageStringOf(x)
566}
567
568func (*Symbol) ProtoMessage() {}
569
570func (x *Symbol) ProtoReflect() protoreflect.Message {
571 mi := &file_query_proto_msgTypes[3]
572 if protoimpl.UnsafeEnabled && x != nil {
573 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
574 if ms.LoadMessageInfo() == nil {
575 ms.StoreMessageInfo(mi)
576 }
577 return ms
578 }
579 return mi.MessageOf(x)
580}
581
582// Deprecated: Use Symbol.ProtoReflect.Descriptor instead.
583func (*Symbol) Descriptor() ([]byte, []int) {
584 return file_query_proto_rawDescGZIP(), []int{3}
585}
586
587func (x *Symbol) GetExpr() *Q {
588 if x != nil {
589 return x.Expr
590 }
591 return nil
592}
593
594type Language struct {
595 state protoimpl.MessageState
596 sizeCache protoimpl.SizeCache
597 unknownFields protoimpl.UnknownFields
598
599 Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
600}
601
602func (x *Language) Reset() {
603 *x = Language{}
604 if protoimpl.UnsafeEnabled {
605 mi := &file_query_proto_msgTypes[4]
606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
607 ms.StoreMessageInfo(mi)
608 }
609}
610
611func (x *Language) String() string {
612 return protoimpl.X.MessageStringOf(x)
613}
614
615func (*Language) ProtoMessage() {}
616
617func (x *Language) ProtoReflect() protoreflect.Message {
618 mi := &file_query_proto_msgTypes[4]
619 if protoimpl.UnsafeEnabled && x != nil {
620 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
621 if ms.LoadMessageInfo() == nil {
622 ms.StoreMessageInfo(mi)
623 }
624 return ms
625 }
626 return mi.MessageOf(x)
627}
628
629// Deprecated: Use Language.ProtoReflect.Descriptor instead.
630func (*Language) Descriptor() ([]byte, []int) {
631 return file_query_proto_rawDescGZIP(), []int{4}
632}
633
634func (x *Language) GetLanguage() string {
635 if x != nil {
636 return x.Language
637 }
638 return ""
639}
640
641type Repo struct {
642 state protoimpl.MessageState
643 sizeCache protoimpl.SizeCache
644 unknownFields protoimpl.UnknownFields
645
646 Regexp string `protobuf:"bytes,1,opt,name=regexp,proto3" json:"regexp,omitempty"`
647}
648
649func (x *Repo) Reset() {
650 *x = Repo{}
651 if protoimpl.UnsafeEnabled {
652 mi := &file_query_proto_msgTypes[5]
653 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
654 ms.StoreMessageInfo(mi)
655 }
656}
657
658func (x *Repo) String() string {
659 return protoimpl.X.MessageStringOf(x)
660}
661
662func (*Repo) ProtoMessage() {}
663
664func (x *Repo) ProtoReflect() protoreflect.Message {
665 mi := &file_query_proto_msgTypes[5]
666 if protoimpl.UnsafeEnabled && x != nil {
667 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
668 if ms.LoadMessageInfo() == nil {
669 ms.StoreMessageInfo(mi)
670 }
671 return ms
672 }
673 return mi.MessageOf(x)
674}
675
676// Deprecated: Use Repo.ProtoReflect.Descriptor instead.
677func (*Repo) Descriptor() ([]byte, []int) {
678 return file_query_proto_rawDescGZIP(), []int{5}
679}
680
681func (x *Repo) GetRegexp() string {
682 if x != nil {
683 return x.Regexp
684 }
685 return ""
686}
687
688type RepoRegexp struct {
689 state protoimpl.MessageState
690 sizeCache protoimpl.SizeCache
691 unknownFields protoimpl.UnknownFields
692
693 Regexp string `protobuf:"bytes,1,opt,name=regexp,proto3" json:"regexp,omitempty"`
694}
695
696func (x *RepoRegexp) Reset() {
697 *x = RepoRegexp{}
698 if protoimpl.UnsafeEnabled {
699 mi := &file_query_proto_msgTypes[6]
700 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
701 ms.StoreMessageInfo(mi)
702 }
703}
704
705func (x *RepoRegexp) String() string {
706 return protoimpl.X.MessageStringOf(x)
707}
708
709func (*RepoRegexp) ProtoMessage() {}
710
711func (x *RepoRegexp) ProtoReflect() protoreflect.Message {
712 mi := &file_query_proto_msgTypes[6]
713 if protoimpl.UnsafeEnabled && x != nil {
714 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
715 if ms.LoadMessageInfo() == nil {
716 ms.StoreMessageInfo(mi)
717 }
718 return ms
719 }
720 return mi.MessageOf(x)
721}
722
723// Deprecated: Use RepoRegexp.ProtoReflect.Descriptor instead.
724func (*RepoRegexp) Descriptor() ([]byte, []int) {
725 return file_query_proto_rawDescGZIP(), []int{6}
726}
727
728func (x *RepoRegexp) GetRegexp() string {
729 if x != nil {
730 return x.Regexp
731 }
732 return ""
733}
734
735// BranchesRepos is a slice of BranchRepos to match.
736type BranchesRepos struct {
737 state protoimpl.MessageState
738 sizeCache protoimpl.SizeCache
739 unknownFields protoimpl.UnknownFields
740
741 List []*BranchRepos `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
742}
743
744func (x *BranchesRepos) Reset() {
745 *x = BranchesRepos{}
746 if protoimpl.UnsafeEnabled {
747 mi := &file_query_proto_msgTypes[7]
748 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
749 ms.StoreMessageInfo(mi)
750 }
751}
752
753func (x *BranchesRepos) String() string {
754 return protoimpl.X.MessageStringOf(x)
755}
756
757func (*BranchesRepos) ProtoMessage() {}
758
759func (x *BranchesRepos) ProtoReflect() protoreflect.Message {
760 mi := &file_query_proto_msgTypes[7]
761 if protoimpl.UnsafeEnabled && x != nil {
762 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
763 if ms.LoadMessageInfo() == nil {
764 ms.StoreMessageInfo(mi)
765 }
766 return ms
767 }
768 return mi.MessageOf(x)
769}
770
771// Deprecated: Use BranchesRepos.ProtoReflect.Descriptor instead.
772func (*BranchesRepos) Descriptor() ([]byte, []int) {
773 return file_query_proto_rawDescGZIP(), []int{7}
774}
775
776func (x *BranchesRepos) GetList() []*BranchRepos {
777 if x != nil {
778 return x.List
779 }
780 return nil
781}
782
783// BranchRepos is a (branch, sourcegraph repo ids bitmap) tuple. It is a
784// Sourcegraph addition.
785type BranchRepos struct {
786 state protoimpl.MessageState
787 sizeCache protoimpl.SizeCache
788 unknownFields protoimpl.UnknownFields
789
790 Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
791 // a serialized roaring bitmap of the target repo ids
792 Repos []byte `protobuf:"bytes,2,opt,name=repos,proto3" json:"repos,omitempty"`
793}
794
795func (x *BranchRepos) Reset() {
796 *x = BranchRepos{}
797 if protoimpl.UnsafeEnabled {
798 mi := &file_query_proto_msgTypes[8]
799 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
800 ms.StoreMessageInfo(mi)
801 }
802}
803
804func (x *BranchRepos) String() string {
805 return protoimpl.X.MessageStringOf(x)
806}
807
808func (*BranchRepos) ProtoMessage() {}
809
810func (x *BranchRepos) ProtoReflect() protoreflect.Message {
811 mi := &file_query_proto_msgTypes[8]
812 if protoimpl.UnsafeEnabled && x != nil {
813 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
814 if ms.LoadMessageInfo() == nil {
815 ms.StoreMessageInfo(mi)
816 }
817 return ms
818 }
819 return mi.MessageOf(x)
820}
821
822// Deprecated: Use BranchRepos.ProtoReflect.Descriptor instead.
823func (*BranchRepos) Descriptor() ([]byte, []int) {
824 return file_query_proto_rawDescGZIP(), []int{8}
825}
826
827func (x *BranchRepos) GetBranch() string {
828 if x != nil {
829 return x.Branch
830 }
831 return ""
832}
833
834func (x *BranchRepos) GetRepos() []byte {
835 if x != nil {
836 return x.Repos
837 }
838 return nil
839}
840
841// Similar to BranchRepos but will be used to match only by repoid and
842// therefore matches all branches
843type RepoIds struct {
844 state protoimpl.MessageState
845 sizeCache protoimpl.SizeCache
846 unknownFields protoimpl.UnknownFields
847
848 // a serialized roaring bitmap of the target repo ids
849 Repos []byte `protobuf:"bytes,1,opt,name=repos,proto3" json:"repos,omitempty"`
850}
851
852func (x *RepoIds) Reset() {
853 *x = RepoIds{}
854 if protoimpl.UnsafeEnabled {
855 mi := &file_query_proto_msgTypes[9]
856 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
857 ms.StoreMessageInfo(mi)
858 }
859}
860
861func (x *RepoIds) String() string {
862 return protoimpl.X.MessageStringOf(x)
863}
864
865func (*RepoIds) ProtoMessage() {}
866
867func (x *RepoIds) ProtoReflect() protoreflect.Message {
868 mi := &file_query_proto_msgTypes[9]
869 if protoimpl.UnsafeEnabled && x != nil {
870 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
871 if ms.LoadMessageInfo() == nil {
872 ms.StoreMessageInfo(mi)
873 }
874 return ms
875 }
876 return mi.MessageOf(x)
877}
878
879// Deprecated: Use RepoIds.ProtoReflect.Descriptor instead.
880func (*RepoIds) Descriptor() ([]byte, []int) {
881 return file_query_proto_rawDescGZIP(), []int{9}
882}
883
884func (x *RepoIds) GetRepos() []byte {
885 if x != nil {
886 return x.Repos
887 }
888 return nil
889}
890
891// RepoSet is a list of repos to match.
892type RepoSet struct {
893 state protoimpl.MessageState
894 sizeCache protoimpl.SizeCache
895 unknownFields protoimpl.UnknownFields
896
897 Set map[string]bool `protobuf:"bytes,1,rep,name=set,proto3" json:"set,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
898}
899
900func (x *RepoSet) Reset() {
901 *x = RepoSet{}
902 if protoimpl.UnsafeEnabled {
903 mi := &file_query_proto_msgTypes[10]
904 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
905 ms.StoreMessageInfo(mi)
906 }
907}
908
909func (x *RepoSet) String() string {
910 return protoimpl.X.MessageStringOf(x)
911}
912
913func (*RepoSet) ProtoMessage() {}
914
915func (x *RepoSet) ProtoReflect() protoreflect.Message {
916 mi := &file_query_proto_msgTypes[10]
917 if protoimpl.UnsafeEnabled && x != nil {
918 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
919 if ms.LoadMessageInfo() == nil {
920 ms.StoreMessageInfo(mi)
921 }
922 return ms
923 }
924 return mi.MessageOf(x)
925}
926
927// Deprecated: Use RepoSet.ProtoReflect.Descriptor instead.
928func (*RepoSet) Descriptor() ([]byte, []int) {
929 return file_query_proto_rawDescGZIP(), []int{10}
930}
931
932func (x *RepoSet) GetSet() map[string]bool {
933 if x != nil {
934 return x.Set
935 }
936 return nil
937}
938
939// FileNameSet is a list of file names to match.
940type FileNameSet struct {
941 state protoimpl.MessageState
942 sizeCache protoimpl.SizeCache
943 unknownFields protoimpl.UnknownFields
944
945 Set []string `protobuf:"bytes,1,rep,name=set,proto3" json:"set,omitempty"`
946}
947
948func (x *FileNameSet) Reset() {
949 *x = FileNameSet{}
950 if protoimpl.UnsafeEnabled {
951 mi := &file_query_proto_msgTypes[11]
952 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
953 ms.StoreMessageInfo(mi)
954 }
955}
956
957func (x *FileNameSet) String() string {
958 return protoimpl.X.MessageStringOf(x)
959}
960
961func (*FileNameSet) ProtoMessage() {}
962
963func (x *FileNameSet) ProtoReflect() protoreflect.Message {
964 mi := &file_query_proto_msgTypes[11]
965 if protoimpl.UnsafeEnabled && x != nil {
966 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
967 if ms.LoadMessageInfo() == nil {
968 ms.StoreMessageInfo(mi)
969 }
970 return ms
971 }
972 return mi.MessageOf(x)
973}
974
975// Deprecated: Use FileNameSet.ProtoReflect.Descriptor instead.
976func (*FileNameSet) Descriptor() ([]byte, []int) {
977 return file_query_proto_rawDescGZIP(), []int{11}
978}
979
980func (x *FileNameSet) GetSet() []string {
981 if x != nil {
982 return x.Set
983 }
984 return nil
985}
986
987// Type changes the result type returned.
988type Type struct {
989 state protoimpl.MessageState
990 sizeCache protoimpl.SizeCache
991 unknownFields protoimpl.UnknownFields
992
993 Child *Q `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"`
994 // TODO: type constants
995 Type Type_Kind `protobuf:"varint,2,opt,name=type,proto3,enum=grpc.v1.Type_Kind" json:"type,omitempty"`
996}
997
998func (x *Type) Reset() {
999 *x = Type{}
1000 if protoimpl.UnsafeEnabled {
1001 mi := &file_query_proto_msgTypes[12]
1002 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1003 ms.StoreMessageInfo(mi)
1004 }
1005}
1006
1007func (x *Type) String() string {
1008 return protoimpl.X.MessageStringOf(x)
1009}
1010
1011func (*Type) ProtoMessage() {}
1012
1013func (x *Type) ProtoReflect() protoreflect.Message {
1014 mi := &file_query_proto_msgTypes[12]
1015 if protoimpl.UnsafeEnabled && x != nil {
1016 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1017 if ms.LoadMessageInfo() == nil {
1018 ms.StoreMessageInfo(mi)
1019 }
1020 return ms
1021 }
1022 return mi.MessageOf(x)
1023}
1024
1025// Deprecated: Use Type.ProtoReflect.Descriptor instead.
1026func (*Type) Descriptor() ([]byte, []int) {
1027 return file_query_proto_rawDescGZIP(), []int{12}
1028}
1029
1030func (x *Type) GetChild() *Q {
1031 if x != nil {
1032 return x.Child
1033 }
1034 return nil
1035}
1036
1037func (x *Type) GetType() Type_Kind {
1038 if x != nil {
1039 return x.Type
1040 }
1041 return Type_UNKNOWN
1042}
1043
1044type Substring struct {
1045 state protoimpl.MessageState
1046 sizeCache protoimpl.SizeCache
1047 unknownFields protoimpl.UnknownFields
1048
1049 Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
1050 CaseSensitive bool `protobuf:"varint,2,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
1051 // Match only filename
1052 FileName bool `protobuf:"varint,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
1053 // Match only content
1054 Content bool `protobuf:"varint,4,opt,name=content,proto3" json:"content,omitempty"`
1055}
1056
1057func (x *Substring) Reset() {
1058 *x = Substring{}
1059 if protoimpl.UnsafeEnabled {
1060 mi := &file_query_proto_msgTypes[13]
1061 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1062 ms.StoreMessageInfo(mi)
1063 }
1064}
1065
1066func (x *Substring) String() string {
1067 return protoimpl.X.MessageStringOf(x)
1068}
1069
1070func (*Substring) ProtoMessage() {}
1071
1072func (x *Substring) ProtoReflect() protoreflect.Message {
1073 mi := &file_query_proto_msgTypes[13]
1074 if protoimpl.UnsafeEnabled && x != nil {
1075 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1076 if ms.LoadMessageInfo() == nil {
1077 ms.StoreMessageInfo(mi)
1078 }
1079 return ms
1080 }
1081 return mi.MessageOf(x)
1082}
1083
1084// Deprecated: Use Substring.ProtoReflect.Descriptor instead.
1085func (*Substring) Descriptor() ([]byte, []int) {
1086 return file_query_proto_rawDescGZIP(), []int{13}
1087}
1088
1089func (x *Substring) GetPattern() string {
1090 if x != nil {
1091 return x.Pattern
1092 }
1093 return ""
1094}
1095
1096func (x *Substring) GetCaseSensitive() bool {
1097 if x != nil {
1098 return x.CaseSensitive
1099 }
1100 return false
1101}
1102
1103func (x *Substring) GetFileName() bool {
1104 if x != nil {
1105 return x.FileName
1106 }
1107 return false
1108}
1109
1110func (x *Substring) GetContent() bool {
1111 if x != nil {
1112 return x.Content
1113 }
1114 return false
1115}
1116
1117// And is matched when all its children are.
1118type And struct {
1119 state protoimpl.MessageState
1120 sizeCache protoimpl.SizeCache
1121 unknownFields protoimpl.UnknownFields
1122
1123 Children []*Q `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
1124}
1125
1126func (x *And) Reset() {
1127 *x = And{}
1128 if protoimpl.UnsafeEnabled {
1129 mi := &file_query_proto_msgTypes[14]
1130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1131 ms.StoreMessageInfo(mi)
1132 }
1133}
1134
1135func (x *And) String() string {
1136 return protoimpl.X.MessageStringOf(x)
1137}
1138
1139func (*And) ProtoMessage() {}
1140
1141func (x *And) ProtoReflect() protoreflect.Message {
1142 mi := &file_query_proto_msgTypes[14]
1143 if protoimpl.UnsafeEnabled && x != nil {
1144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1145 if ms.LoadMessageInfo() == nil {
1146 ms.StoreMessageInfo(mi)
1147 }
1148 return ms
1149 }
1150 return mi.MessageOf(x)
1151}
1152
1153// Deprecated: Use And.ProtoReflect.Descriptor instead.
1154func (*And) Descriptor() ([]byte, []int) {
1155 return file_query_proto_rawDescGZIP(), []int{14}
1156}
1157
1158func (x *And) GetChildren() []*Q {
1159 if x != nil {
1160 return x.Children
1161 }
1162 return nil
1163}
1164
1165// Or is matched when any of its children is matched.
1166type Or struct {
1167 state protoimpl.MessageState
1168 sizeCache protoimpl.SizeCache
1169 unknownFields protoimpl.UnknownFields
1170
1171 Children []*Q `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
1172}
1173
1174func (x *Or) Reset() {
1175 *x = Or{}
1176 if protoimpl.UnsafeEnabled {
1177 mi := &file_query_proto_msgTypes[15]
1178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1179 ms.StoreMessageInfo(mi)
1180 }
1181}
1182
1183func (x *Or) String() string {
1184 return protoimpl.X.MessageStringOf(x)
1185}
1186
1187func (*Or) ProtoMessage() {}
1188
1189func (x *Or) ProtoReflect() protoreflect.Message {
1190 mi := &file_query_proto_msgTypes[15]
1191 if protoimpl.UnsafeEnabled && x != nil {
1192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1193 if ms.LoadMessageInfo() == nil {
1194 ms.StoreMessageInfo(mi)
1195 }
1196 return ms
1197 }
1198 return mi.MessageOf(x)
1199}
1200
1201// Deprecated: Use Or.ProtoReflect.Descriptor instead.
1202func (*Or) Descriptor() ([]byte, []int) {
1203 return file_query_proto_rawDescGZIP(), []int{15}
1204}
1205
1206func (x *Or) GetChildren() []*Q {
1207 if x != nil {
1208 return x.Children
1209 }
1210 return nil
1211}
1212
1213// Not inverts the meaning of its child.
1214type Not struct {
1215 state protoimpl.MessageState
1216 sizeCache protoimpl.SizeCache
1217 unknownFields protoimpl.UnknownFields
1218
1219 Child *Q `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"`
1220}
1221
1222func (x *Not) Reset() {
1223 *x = Not{}
1224 if protoimpl.UnsafeEnabled {
1225 mi := &file_query_proto_msgTypes[16]
1226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1227 ms.StoreMessageInfo(mi)
1228 }
1229}
1230
1231func (x *Not) String() string {
1232 return protoimpl.X.MessageStringOf(x)
1233}
1234
1235func (*Not) ProtoMessage() {}
1236
1237func (x *Not) ProtoReflect() protoreflect.Message {
1238 mi := &file_query_proto_msgTypes[16]
1239 if protoimpl.UnsafeEnabled && x != nil {
1240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1241 if ms.LoadMessageInfo() == nil {
1242 ms.StoreMessageInfo(mi)
1243 }
1244 return ms
1245 }
1246 return mi.MessageOf(x)
1247}
1248
1249// Deprecated: Use Not.ProtoReflect.Descriptor instead.
1250func (*Not) Descriptor() ([]byte, []int) {
1251 return file_query_proto_rawDescGZIP(), []int{16}
1252}
1253
1254func (x *Not) GetChild() *Q {
1255 if x != nil {
1256 return x.Child
1257 }
1258 return nil
1259}
1260
1261// Branch limits search to a specific branch.
1262type Branch struct {
1263 state protoimpl.MessageState
1264 sizeCache protoimpl.SizeCache
1265 unknownFields protoimpl.UnknownFields
1266
1267 Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
1268 // exact is true if we want to Pattern to equal branch.
1269 Exact bool `protobuf:"varint,2,opt,name=exact,proto3" json:"exact,omitempty"`
1270}
1271
1272func (x *Branch) Reset() {
1273 *x = Branch{}
1274 if protoimpl.UnsafeEnabled {
1275 mi := &file_query_proto_msgTypes[17]
1276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1277 ms.StoreMessageInfo(mi)
1278 }
1279}
1280
1281func (x *Branch) String() string {
1282 return protoimpl.X.MessageStringOf(x)
1283}
1284
1285func (*Branch) ProtoMessage() {}
1286
1287func (x *Branch) ProtoReflect() protoreflect.Message {
1288 mi := &file_query_proto_msgTypes[17]
1289 if protoimpl.UnsafeEnabled && x != nil {
1290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1291 if ms.LoadMessageInfo() == nil {
1292 ms.StoreMessageInfo(mi)
1293 }
1294 return ms
1295 }
1296 return mi.MessageOf(x)
1297}
1298
1299// Deprecated: Use Branch.ProtoReflect.Descriptor instead.
1300func (*Branch) Descriptor() ([]byte, []int) {
1301 return file_query_proto_rawDescGZIP(), []int{17}
1302}
1303
1304func (x *Branch) GetPattern() string {
1305 if x != nil {
1306 return x.Pattern
1307 }
1308 return ""
1309}
1310
1311func (x *Branch) GetExact() bool {
1312 if x != nil {
1313 return x.Exact
1314 }
1315 return false
1316}
1317
1318var File_query_proto protoreflect.FileDescriptor
1319
1320var file_query_proto_rawDesc = []byte{
1321 0x0a, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x67,
1322 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x22, 0xff, 0x05, 0x0a, 0x01, 0x51, 0x12, 0x33, 0x0a, 0x0a,
1323 0x72, 0x61, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
1324 0x32, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 0x77, 0x43, 0x6f,
1325 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x09, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1326 0x67, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28,
1327 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x65,
1328 0x78, 0x70, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x12, 0x29, 0x0a, 0x06,
1329 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67,
1330 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x48, 0x00, 0x52,
1331 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x2f, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75,
1332 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x70, 0x63,
1333 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x08,
1334 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73,
1335 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74,
1336 0x12, 0x23, 0x0a, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
1337 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x48, 0x00, 0x52,
1338 0x04, 0x72, 0x65, 0x70, 0x6f, 0x12, 0x36, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x72, 0x65,
1339 0x67, 0x65, 0x78, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x70,
1340 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x67, 0x65, 0x78, 0x70, 0x48,
1341 0x00, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x67, 0x65, 0x78, 0x70, 0x12, 0x3f, 0x0a,
1342 0x0e, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x18,
1343 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
1344 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x48, 0x00, 0x52,
1345 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x2d,
1346 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b,
1347 0x32, 0x10, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49,
1348 0x64, 0x73, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x73, 0x12, 0x2d, 0x0a,
1349 0x08, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32,
1350 0x10, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x53, 0x65,
1351 0x74, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x53, 0x65, 0x74, 0x12, 0x3a, 0x0a, 0x0d,
1352 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x0b, 0x20,
1353 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69,
1354 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x66, 0x69, 0x6c,
1355 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
1356 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
1357 0x2e, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a,
1358 0x09, 0x73, 0x75, 0x62, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b,
1359 0x32, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74,
1360 0x72, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x09, 0x73, 0x75, 0x62, 0x73, 0x74, 0x72, 0x69, 0x6e,
1361 0x67, 0x12, 0x20, 0x0a, 0x03, 0x61, 0x6e, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c,
1362 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x03,
1363 0x61, 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x02, 0x6f, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32,
1364 0x0b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x48, 0x00, 0x52, 0x02,
1365 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x03, 0x6e, 0x6f, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32,
1366 0x0c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x48, 0x00, 0x52,
1367 0x03, 0x6e, 0x6f, 0x74, 0x12, 0x29, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x11,
1368 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42,
1369 0x72, 0x61, 0x6e, 0x63, 0x68, 0x48, 0x00, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x42,
1370 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0xb4, 0x01, 0x0a, 0x09, 0x52, 0x61, 0x77,
1371 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18,
1372 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
1373 0x52, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x46, 0x6c, 0x61, 0x67, 0x52, 0x05,
1374 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x78, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x0b, 0x0a,
1375 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x4e,
1376 0x4c, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4f,
1377 0x4e, 0x4c, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0e, 0x0a,
1378 0x0a, 0x4f, 0x4e, 0x4c, 0x59, 0x5f, 0x46, 0x4f, 0x52, 0x4b, 0x53, 0x10, 0x04, 0x12, 0x0c, 0x0a,
1379 0x08, 0x4e, 0x4f, 0x5f, 0x46, 0x4f, 0x52, 0x4b, 0x53, 0x10, 0x08, 0x12, 0x11, 0x0a, 0x0d, 0x4f,
1380 0x4e, 0x4c, 0x59, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x44, 0x10, 0x10, 0x12, 0x0f,
1381 0x0a, 0x0b, 0x4e, 0x4f, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x44, 0x10, 0x20, 0x22,
1382 0x7e, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x65, 0x78, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67,
1383 0x65, 0x78, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x65, 0x78,
1384 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
1385 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18,
1386 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
1387 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x73, 0x65,
1388 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08,
1389 0x52, 0x0d, 0x63, 0x61, 0x73, 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x22,
1390 0x28, 0x0a, 0x06, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x1e, 0x0a, 0x04, 0x65, 0x78, 0x70,
1391 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76,
1392 0x31, 0x2e, 0x51, 0x52, 0x04, 0x65, 0x78, 0x70, 0x72, 0x22, 0x26, 0x0a, 0x08, 0x4c, 0x61, 0x6e,
1393 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
1394 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
1395 0x65, 0x22, 0x1e, 0x0a, 0x04, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67,
1396 0x65, 0x78, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x65, 0x78,
1397 0x70, 0x22, 0x24, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x67, 0x65, 0x78, 0x70, 0x12,
1398 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1399 0x06, 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x22, 0x39, 0x0a, 0x0d, 0x42, 0x72, 0x61, 0x6e, 0x63,
1400 0x68, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x28, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74,
1401 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
1402 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x04, 0x6c, 0x69,
1403 0x73, 0x74, 0x22, 0x3b, 0x0a, 0x0b, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f,
1404 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28,
1405 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x70,
1406 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x22,
1407 0x1f, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65,
1408 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73,
1409 0x22, 0x6e, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6f, 0x53, 0x65, 0x74, 0x12, 0x2b, 0x0a, 0x03, 0x73,
1410 0x65, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e,
1411 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x53, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x6e,
1412 0x74, 0x72, 0x79, 0x52, 0x03, 0x73, 0x65, 0x74, 0x1a, 0x36, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x45,
1413 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
1414 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
1415 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
1416 0x22, 0x1f, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x12,
1417 0x10, 0x0a, 0x03, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65,
1418 0x74, 0x22, 0x8e, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x63, 0x68,
1419 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x67, 0x72, 0x70, 0x63,
1420 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x52, 0x05, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x12, 0x26, 0x0a, 0x04,
1421 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x70,
1422 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04,
1423 0x74, 0x79, 0x70, 0x65, 0x22, 0x3c, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07,
1424 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x49, 0x4c,
1425 0x45, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x49, 0x4c,
1426 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x45, 0x50, 0x4f,
1427 0x10, 0x03, 0x22, 0x83, 0x01, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1428 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
1429 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61,
1430 0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01,
1431 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x73, 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76,
1432 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
1433 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18,
1434 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
1435 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x2d, 0x0a, 0x03, 0x41, 0x6e, 0x64, 0x12,
1436 0x26, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28,
1437 0x0b, 0x32, 0x0a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x52, 0x08, 0x63,
1438 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x22, 0x2c, 0x0a, 0x02, 0x4f, 0x72, 0x12, 0x26, 0x0a,
1439 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
1440 0x0a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x52, 0x08, 0x63, 0x68, 0x69,
1441 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x22, 0x27, 0x0a, 0x03, 0x4e, 0x6f, 0x74, 0x12, 0x20, 0x0a, 0x05,
1442 0x63, 0x68, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x67, 0x72,
1443 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x52, 0x05, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x22, 0x38,
1444 0x0a, 0x06, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74,
1445 0x65, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65,
1446 0x72, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
1447 0x08, 0x52, 0x05, 0x65, 0x78, 0x61, 0x63, 0x74, 0x42, 0x26, 0x5a, 0x24, 0x67, 0x69, 0x74, 0x68,
1448 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x67, 0x72, 0x61,
1449 0x70, 0x68, 0x2f, 0x7a, 0x6f, 0x65, 0x6b, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31,
1450 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1451}
1452
1453var (
1454 file_query_proto_rawDescOnce sync.Once
1455 file_query_proto_rawDescData = file_query_proto_rawDesc
1456)
1457
1458func file_query_proto_rawDescGZIP() []byte {
1459 file_query_proto_rawDescOnce.Do(func() {
1460 file_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_query_proto_rawDescData)
1461 })
1462 return file_query_proto_rawDescData
1463}
1464
1465var file_query_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1466var file_query_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
1467var file_query_proto_goTypes = []interface{}{
1468 (RawConfig_Flag)(0), // 0: grpc.v1.RawConfig.Flag
1469 (Type_Kind)(0), // 1: grpc.v1.Type.Kind
1470 (*Q)(nil), // 2: grpc.v1.Q
1471 (*RawConfig)(nil), // 3: grpc.v1.RawConfig
1472 (*Regexp)(nil), // 4: grpc.v1.Regexp
1473 (*Symbol)(nil), // 5: grpc.v1.Symbol
1474 (*Language)(nil), // 6: grpc.v1.Language
1475 (*Repo)(nil), // 7: grpc.v1.Repo
1476 (*RepoRegexp)(nil), // 8: grpc.v1.RepoRegexp
1477 (*BranchesRepos)(nil), // 9: grpc.v1.BranchesRepos
1478 (*BranchRepos)(nil), // 10: grpc.v1.BranchRepos
1479 (*RepoIds)(nil), // 11: grpc.v1.RepoIds
1480 (*RepoSet)(nil), // 12: grpc.v1.RepoSet
1481 (*FileNameSet)(nil), // 13: grpc.v1.FileNameSet
1482 (*Type)(nil), // 14: grpc.v1.Type
1483 (*Substring)(nil), // 15: grpc.v1.Substring
1484 (*And)(nil), // 16: grpc.v1.And
1485 (*Or)(nil), // 17: grpc.v1.Or
1486 (*Not)(nil), // 18: grpc.v1.Not
1487 (*Branch)(nil), // 19: grpc.v1.Branch
1488 nil, // 20: grpc.v1.RepoSet.SetEntry
1489}
1490var file_query_proto_depIdxs = []int32{
1491 3, // 0: grpc.v1.Q.raw_config:type_name -> grpc.v1.RawConfig
1492 4, // 1: grpc.v1.Q.regexp:type_name -> grpc.v1.Regexp
1493 5, // 2: grpc.v1.Q.symbol:type_name -> grpc.v1.Symbol
1494 6, // 3: grpc.v1.Q.language:type_name -> grpc.v1.Language
1495 7, // 4: grpc.v1.Q.repo:type_name -> grpc.v1.Repo
1496 8, // 5: grpc.v1.Q.repo_regexp:type_name -> grpc.v1.RepoRegexp
1497 9, // 6: grpc.v1.Q.branches_repos:type_name -> grpc.v1.BranchesRepos
1498 11, // 7: grpc.v1.Q.repo_ids:type_name -> grpc.v1.RepoIds
1499 12, // 8: grpc.v1.Q.repo_set:type_name -> grpc.v1.RepoSet
1500 13, // 9: grpc.v1.Q.file_name_set:type_name -> grpc.v1.FileNameSet
1501 14, // 10: grpc.v1.Q.type:type_name -> grpc.v1.Type
1502 15, // 11: grpc.v1.Q.substring:type_name -> grpc.v1.Substring
1503 16, // 12: grpc.v1.Q.and:type_name -> grpc.v1.And
1504 17, // 13: grpc.v1.Q.or:type_name -> grpc.v1.Or
1505 18, // 14: grpc.v1.Q.not:type_name -> grpc.v1.Not
1506 19, // 15: grpc.v1.Q.branch:type_name -> grpc.v1.Branch
1507 0, // 16: grpc.v1.RawConfig.flags:type_name -> grpc.v1.RawConfig.Flag
1508 2, // 17: grpc.v1.Symbol.expr:type_name -> grpc.v1.Q
1509 10, // 18: grpc.v1.BranchesRepos.list:type_name -> grpc.v1.BranchRepos
1510 20, // 19: grpc.v1.RepoSet.set:type_name -> grpc.v1.RepoSet.SetEntry
1511 2, // 20: grpc.v1.Type.child:type_name -> grpc.v1.Q
1512 1, // 21: grpc.v1.Type.type:type_name -> grpc.v1.Type.Kind
1513 2, // 22: grpc.v1.And.children:type_name -> grpc.v1.Q
1514 2, // 23: grpc.v1.Or.children:type_name -> grpc.v1.Q
1515 2, // 24: grpc.v1.Not.child:type_name -> grpc.v1.Q
1516 25, // [25:25] is the sub-list for method output_type
1517 25, // [25:25] is the sub-list for method input_type
1518 25, // [25:25] is the sub-list for extension type_name
1519 25, // [25:25] is the sub-list for extension extendee
1520 0, // [0:25] is the sub-list for field type_name
1521}
1522
1523func init() { file_query_proto_init() }
1524func file_query_proto_init() {
1525 if File_query_proto != nil {
1526 return
1527 }
1528 if !protoimpl.UnsafeEnabled {
1529 file_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1530 switch v := v.(*Q); i {
1531 case 0:
1532 return &v.state
1533 case 1:
1534 return &v.sizeCache
1535 case 2:
1536 return &v.unknownFields
1537 default:
1538 return nil
1539 }
1540 }
1541 file_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1542 switch v := v.(*RawConfig); i {
1543 case 0:
1544 return &v.state
1545 case 1:
1546 return &v.sizeCache
1547 case 2:
1548 return &v.unknownFields
1549 default:
1550 return nil
1551 }
1552 }
1553 file_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1554 switch v := v.(*Regexp); i {
1555 case 0:
1556 return &v.state
1557 case 1:
1558 return &v.sizeCache
1559 case 2:
1560 return &v.unknownFields
1561 default:
1562 return nil
1563 }
1564 }
1565 file_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1566 switch v := v.(*Symbol); i {
1567 case 0:
1568 return &v.state
1569 case 1:
1570 return &v.sizeCache
1571 case 2:
1572 return &v.unknownFields
1573 default:
1574 return nil
1575 }
1576 }
1577 file_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1578 switch v := v.(*Language); i {
1579 case 0:
1580 return &v.state
1581 case 1:
1582 return &v.sizeCache
1583 case 2:
1584 return &v.unknownFields
1585 default:
1586 return nil
1587 }
1588 }
1589 file_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1590 switch v := v.(*Repo); i {
1591 case 0:
1592 return &v.state
1593 case 1:
1594 return &v.sizeCache
1595 case 2:
1596 return &v.unknownFields
1597 default:
1598 return nil
1599 }
1600 }
1601 file_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1602 switch v := v.(*RepoRegexp); i {
1603 case 0:
1604 return &v.state
1605 case 1:
1606 return &v.sizeCache
1607 case 2:
1608 return &v.unknownFields
1609 default:
1610 return nil
1611 }
1612 }
1613 file_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1614 switch v := v.(*BranchesRepos); i {
1615 case 0:
1616 return &v.state
1617 case 1:
1618 return &v.sizeCache
1619 case 2:
1620 return &v.unknownFields
1621 default:
1622 return nil
1623 }
1624 }
1625 file_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1626 switch v := v.(*BranchRepos); i {
1627 case 0:
1628 return &v.state
1629 case 1:
1630 return &v.sizeCache
1631 case 2:
1632 return &v.unknownFields
1633 default:
1634 return nil
1635 }
1636 }
1637 file_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1638 switch v := v.(*RepoIds); i {
1639 case 0:
1640 return &v.state
1641 case 1:
1642 return &v.sizeCache
1643 case 2:
1644 return &v.unknownFields
1645 default:
1646 return nil
1647 }
1648 }
1649 file_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1650 switch v := v.(*RepoSet); i {
1651 case 0:
1652 return &v.state
1653 case 1:
1654 return &v.sizeCache
1655 case 2:
1656 return &v.unknownFields
1657 default:
1658 return nil
1659 }
1660 }
1661 file_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1662 switch v := v.(*FileNameSet); i {
1663 case 0:
1664 return &v.state
1665 case 1:
1666 return &v.sizeCache
1667 case 2:
1668 return &v.unknownFields
1669 default:
1670 return nil
1671 }
1672 }
1673 file_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1674 switch v := v.(*Type); i {
1675 case 0:
1676 return &v.state
1677 case 1:
1678 return &v.sizeCache
1679 case 2:
1680 return &v.unknownFields
1681 default:
1682 return nil
1683 }
1684 }
1685 file_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1686 switch v := v.(*Substring); i {
1687 case 0:
1688 return &v.state
1689 case 1:
1690 return &v.sizeCache
1691 case 2:
1692 return &v.unknownFields
1693 default:
1694 return nil
1695 }
1696 }
1697 file_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1698 switch v := v.(*And); i {
1699 case 0:
1700 return &v.state
1701 case 1:
1702 return &v.sizeCache
1703 case 2:
1704 return &v.unknownFields
1705 default:
1706 return nil
1707 }
1708 }
1709 file_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
1710 switch v := v.(*Or); i {
1711 case 0:
1712 return &v.state
1713 case 1:
1714 return &v.sizeCache
1715 case 2:
1716 return &v.unknownFields
1717 default:
1718 return nil
1719 }
1720 }
1721 file_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
1722 switch v := v.(*Not); i {
1723 case 0:
1724 return &v.state
1725 case 1:
1726 return &v.sizeCache
1727 case 2:
1728 return &v.unknownFields
1729 default:
1730 return nil
1731 }
1732 }
1733 file_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
1734 switch v := v.(*Branch); i {
1735 case 0:
1736 return &v.state
1737 case 1:
1738 return &v.sizeCache
1739 case 2:
1740 return &v.unknownFields
1741 default:
1742 return nil
1743 }
1744 }
1745 }
1746 file_query_proto_msgTypes[0].OneofWrappers = []interface{}{
1747 (*Q_RawConfig)(nil),
1748 (*Q_Regexp)(nil),
1749 (*Q_Symbol)(nil),
1750 (*Q_Language)(nil),
1751 (*Q_Const)(nil),
1752 (*Q_Repo)(nil),
1753 (*Q_RepoRegexp)(nil),
1754 (*Q_BranchesRepos)(nil),
1755 (*Q_RepoIds)(nil),
1756 (*Q_RepoSet)(nil),
1757 (*Q_FileNameSet)(nil),
1758 (*Q_Type)(nil),
1759 (*Q_Substring)(nil),
1760 (*Q_And)(nil),
1761 (*Q_Or)(nil),
1762 (*Q_Not)(nil),
1763 (*Q_Branch)(nil),
1764 }
1765 type x struct{}
1766 out := protoimpl.TypeBuilder{
1767 File: protoimpl.DescBuilder{
1768 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1769 RawDescriptor: file_query_proto_rawDesc,
1770 NumEnums: 2,
1771 NumMessages: 19,
1772 NumExtensions: 0,
1773 NumServices: 0,
1774 },
1775 GoTypes: file_query_proto_goTypes,
1776 DependencyIndexes: file_query_proto_depIdxs,
1777 EnumInfos: file_query_proto_enumTypes,
1778 MessageInfos: file_query_proto_msgTypes,
1779 }.Build()
1780 File_query_proto = out.File
1781 file_query_proto_rawDesc = nil
1782 file_query_proto_goTypes = nil
1783 file_query_proto_depIdxs = nil
1784}