1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package source
23
24 import (
25 reflect "reflect"
26 sync "sync"
27
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type AliasContext_Kind int32
41
42 const (
43
44 AliasContext_ANY AliasContext_Kind = 0
45
46 AliasContext_FIXED AliasContext_Kind = 1
47
48 AliasContext_MOVABLE AliasContext_Kind = 2
49
50
51
52 AliasContext_OTHER AliasContext_Kind = 4
53 )
54
55
56 var (
57 AliasContext_Kind_name = map[int32]string{
58 0: "ANY",
59 1: "FIXED",
60 2: "MOVABLE",
61 4: "OTHER",
62 }
63 AliasContext_Kind_value = map[string]int32{
64 "ANY": 0,
65 "FIXED": 1,
66 "MOVABLE": 2,
67 "OTHER": 4,
68 }
69 )
70
71 func (x AliasContext_Kind) Enum() *AliasContext_Kind {
72 p := new(AliasContext_Kind)
73 *p = x
74 return p
75 }
76
77 func (x AliasContext_Kind) String() string {
78 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
79 }
80
81 func (AliasContext_Kind) Descriptor() protoreflect.EnumDescriptor {
82 return file_google_devtools_source_v1_source_context_proto_enumTypes[0].Descriptor()
83 }
84
85 func (AliasContext_Kind) Type() protoreflect.EnumType {
86 return &file_google_devtools_source_v1_source_context_proto_enumTypes[0]
87 }
88
89 func (x AliasContext_Kind) Number() protoreflect.EnumNumber {
90 return protoreflect.EnumNumber(x)
91 }
92
93
94 func (AliasContext_Kind) EnumDescriptor() ([]byte, []int) {
95 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{2, 0}
96 }
97
98
99
100 type SourceContext struct {
101 state protoimpl.MessageState
102 sizeCache protoimpl.SizeCache
103 unknownFields protoimpl.UnknownFields
104
105
106
107
108
109
110
111
112 Context isSourceContext_Context `protobuf_oneof:"context"`
113 }
114
115 func (x *SourceContext) Reset() {
116 *x = SourceContext{}
117 if protoimpl.UnsafeEnabled {
118 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[0]
119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
120 ms.StoreMessageInfo(mi)
121 }
122 }
123
124 func (x *SourceContext) String() string {
125 return protoimpl.X.MessageStringOf(x)
126 }
127
128 func (*SourceContext) ProtoMessage() {}
129
130 func (x *SourceContext) ProtoReflect() protoreflect.Message {
131 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[0]
132 if protoimpl.UnsafeEnabled && x != nil {
133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
134 if ms.LoadMessageInfo() == nil {
135 ms.StoreMessageInfo(mi)
136 }
137 return ms
138 }
139 return mi.MessageOf(x)
140 }
141
142
143 func (*SourceContext) Descriptor() ([]byte, []int) {
144 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{0}
145 }
146
147 func (m *SourceContext) GetContext() isSourceContext_Context {
148 if m != nil {
149 return m.Context
150 }
151 return nil
152 }
153
154 func (x *SourceContext) GetCloudRepo() *CloudRepoSourceContext {
155 if x, ok := x.GetContext().(*SourceContext_CloudRepo); ok {
156 return x.CloudRepo
157 }
158 return nil
159 }
160
161 func (x *SourceContext) GetCloudWorkspace() *CloudWorkspaceSourceContext {
162 if x, ok := x.GetContext().(*SourceContext_CloudWorkspace); ok {
163 return x.CloudWorkspace
164 }
165 return nil
166 }
167
168 func (x *SourceContext) GetGerrit() *GerritSourceContext {
169 if x, ok := x.GetContext().(*SourceContext_Gerrit); ok {
170 return x.Gerrit
171 }
172 return nil
173 }
174
175 func (x *SourceContext) GetGit() *GitSourceContext {
176 if x, ok := x.GetContext().(*SourceContext_Git); ok {
177 return x.Git
178 }
179 return nil
180 }
181
182 type isSourceContext_Context interface {
183 isSourceContext_Context()
184 }
185
186 type SourceContext_CloudRepo struct {
187
188 CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"`
189 }
190
191 type SourceContext_CloudWorkspace struct {
192
193 CloudWorkspace *CloudWorkspaceSourceContext `protobuf:"bytes,2,opt,name=cloud_workspace,json=cloudWorkspace,proto3,oneof"`
194 }
195
196 type SourceContext_Gerrit struct {
197
198 Gerrit *GerritSourceContext `protobuf:"bytes,3,opt,name=gerrit,proto3,oneof"`
199 }
200
201 type SourceContext_Git struct {
202
203 Git *GitSourceContext `protobuf:"bytes,6,opt,name=git,proto3,oneof"`
204 }
205
206 func (*SourceContext_CloudRepo) isSourceContext_Context() {}
207
208 func (*SourceContext_CloudWorkspace) isSourceContext_Context() {}
209
210 func (*SourceContext_Gerrit) isSourceContext_Context() {}
211
212 func (*SourceContext_Git) isSourceContext_Context() {}
213
214
215
216 type ExtendedSourceContext struct {
217 state protoimpl.MessageState
218 sizeCache protoimpl.SizeCache
219 unknownFields protoimpl.UnknownFields
220
221
222 Context *SourceContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
223
224 Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
225 }
226
227 func (x *ExtendedSourceContext) Reset() {
228 *x = ExtendedSourceContext{}
229 if protoimpl.UnsafeEnabled {
230 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[1]
231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
232 ms.StoreMessageInfo(mi)
233 }
234 }
235
236 func (x *ExtendedSourceContext) String() string {
237 return protoimpl.X.MessageStringOf(x)
238 }
239
240 func (*ExtendedSourceContext) ProtoMessage() {}
241
242 func (x *ExtendedSourceContext) ProtoReflect() protoreflect.Message {
243 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[1]
244 if protoimpl.UnsafeEnabled && x != nil {
245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246 if ms.LoadMessageInfo() == nil {
247 ms.StoreMessageInfo(mi)
248 }
249 return ms
250 }
251 return mi.MessageOf(x)
252 }
253
254
255 func (*ExtendedSourceContext) Descriptor() ([]byte, []int) {
256 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{1}
257 }
258
259 func (x *ExtendedSourceContext) GetContext() *SourceContext {
260 if x != nil {
261 return x.Context
262 }
263 return nil
264 }
265
266 func (x *ExtendedSourceContext) GetLabels() map[string]string {
267 if x != nil {
268 return x.Labels
269 }
270 return nil
271 }
272
273
274 type AliasContext struct {
275 state protoimpl.MessageState
276 sizeCache protoimpl.SizeCache
277 unknownFields protoimpl.UnknownFields
278
279
280 Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=google.devtools.source.v1.AliasContext_Kind" json:"kind,omitempty"`
281
282 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
283 }
284
285 func (x *AliasContext) Reset() {
286 *x = AliasContext{}
287 if protoimpl.UnsafeEnabled {
288 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[2]
289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290 ms.StoreMessageInfo(mi)
291 }
292 }
293
294 func (x *AliasContext) String() string {
295 return protoimpl.X.MessageStringOf(x)
296 }
297
298 func (*AliasContext) ProtoMessage() {}
299
300 func (x *AliasContext) ProtoReflect() protoreflect.Message {
301 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[2]
302 if protoimpl.UnsafeEnabled && x != nil {
303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
304 if ms.LoadMessageInfo() == nil {
305 ms.StoreMessageInfo(mi)
306 }
307 return ms
308 }
309 return mi.MessageOf(x)
310 }
311
312
313 func (*AliasContext) Descriptor() ([]byte, []int) {
314 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{2}
315 }
316
317 func (x *AliasContext) GetKind() AliasContext_Kind {
318 if x != nil {
319 return x.Kind
320 }
321 return AliasContext_ANY
322 }
323
324 func (x *AliasContext) GetName() string {
325 if x != nil {
326 return x.Name
327 }
328 return ""
329 }
330
331
332
333 type CloudRepoSourceContext struct {
334 state protoimpl.MessageState
335 sizeCache protoimpl.SizeCache
336 unknownFields protoimpl.UnknownFields
337
338
339 RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
340
341
342
343
344
345
346
347 Revision isCloudRepoSourceContext_Revision `protobuf_oneof:"revision"`
348 }
349
350 func (x *CloudRepoSourceContext) Reset() {
351 *x = CloudRepoSourceContext{}
352 if protoimpl.UnsafeEnabled {
353 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[3]
354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
355 ms.StoreMessageInfo(mi)
356 }
357 }
358
359 func (x *CloudRepoSourceContext) String() string {
360 return protoimpl.X.MessageStringOf(x)
361 }
362
363 func (*CloudRepoSourceContext) ProtoMessage() {}
364
365 func (x *CloudRepoSourceContext) ProtoReflect() protoreflect.Message {
366 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[3]
367 if protoimpl.UnsafeEnabled && x != nil {
368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
369 if ms.LoadMessageInfo() == nil {
370 ms.StoreMessageInfo(mi)
371 }
372 return ms
373 }
374 return mi.MessageOf(x)
375 }
376
377
378 func (*CloudRepoSourceContext) Descriptor() ([]byte, []int) {
379 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{3}
380 }
381
382 func (x *CloudRepoSourceContext) GetRepoId() *RepoId {
383 if x != nil {
384 return x.RepoId
385 }
386 return nil
387 }
388
389 func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision {
390 if m != nil {
391 return m.Revision
392 }
393 return nil
394 }
395
396 func (x *CloudRepoSourceContext) GetRevisionId() string {
397 if x, ok := x.GetRevision().(*CloudRepoSourceContext_RevisionId); ok {
398 return x.RevisionId
399 }
400 return ""
401 }
402
403
404 func (x *CloudRepoSourceContext) GetAliasName() string {
405 if x, ok := x.GetRevision().(*CloudRepoSourceContext_AliasName); ok {
406 return x.AliasName
407 }
408 return ""
409 }
410
411 func (x *CloudRepoSourceContext) GetAliasContext() *AliasContext {
412 if x, ok := x.GetRevision().(*CloudRepoSourceContext_AliasContext); ok {
413 return x.AliasContext
414 }
415 return nil
416 }
417
418 type isCloudRepoSourceContext_Revision interface {
419 isCloudRepoSourceContext_Revision()
420 }
421
422 type CloudRepoSourceContext_RevisionId struct {
423
424 RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3,oneof"`
425 }
426
427 type CloudRepoSourceContext_AliasName struct {
428
429
430
431 AliasName string `protobuf:"bytes,3,opt,name=alias_name,json=aliasName,proto3,oneof"`
432 }
433
434 type CloudRepoSourceContext_AliasContext struct {
435
436 AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"`
437 }
438
439 func (*CloudRepoSourceContext_RevisionId) isCloudRepoSourceContext_Revision() {}
440
441 func (*CloudRepoSourceContext_AliasName) isCloudRepoSourceContext_Revision() {}
442
443 func (*CloudRepoSourceContext_AliasContext) isCloudRepoSourceContext_Revision() {}
444
445
446 type CloudWorkspaceSourceContext struct {
447 state protoimpl.MessageState
448 sizeCache protoimpl.SizeCache
449 unknownFields protoimpl.UnknownFields
450
451
452 WorkspaceId *CloudWorkspaceId `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
453
454
455 SnapshotId string `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
456 }
457
458 func (x *CloudWorkspaceSourceContext) Reset() {
459 *x = CloudWorkspaceSourceContext{}
460 if protoimpl.UnsafeEnabled {
461 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[4]
462 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
463 ms.StoreMessageInfo(mi)
464 }
465 }
466
467 func (x *CloudWorkspaceSourceContext) String() string {
468 return protoimpl.X.MessageStringOf(x)
469 }
470
471 func (*CloudWorkspaceSourceContext) ProtoMessage() {}
472
473 func (x *CloudWorkspaceSourceContext) ProtoReflect() protoreflect.Message {
474 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[4]
475 if protoimpl.UnsafeEnabled && x != nil {
476 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
477 if ms.LoadMessageInfo() == nil {
478 ms.StoreMessageInfo(mi)
479 }
480 return ms
481 }
482 return mi.MessageOf(x)
483 }
484
485
486 func (*CloudWorkspaceSourceContext) Descriptor() ([]byte, []int) {
487 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{4}
488 }
489
490 func (x *CloudWorkspaceSourceContext) GetWorkspaceId() *CloudWorkspaceId {
491 if x != nil {
492 return x.WorkspaceId
493 }
494 return nil
495 }
496
497 func (x *CloudWorkspaceSourceContext) GetSnapshotId() string {
498 if x != nil {
499 return x.SnapshotId
500 }
501 return ""
502 }
503
504
505 type GerritSourceContext struct {
506 state protoimpl.MessageState
507 sizeCache protoimpl.SizeCache
508 unknownFields protoimpl.UnknownFields
509
510
511 HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"`
512
513
514
515 GerritProject string `protobuf:"bytes,2,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"`
516
517
518
519
520
521
522
523 Revision isGerritSourceContext_Revision `protobuf_oneof:"revision"`
524 }
525
526 func (x *GerritSourceContext) Reset() {
527 *x = GerritSourceContext{}
528 if protoimpl.UnsafeEnabled {
529 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[5]
530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
531 ms.StoreMessageInfo(mi)
532 }
533 }
534
535 func (x *GerritSourceContext) String() string {
536 return protoimpl.X.MessageStringOf(x)
537 }
538
539 func (*GerritSourceContext) ProtoMessage() {}
540
541 func (x *GerritSourceContext) ProtoReflect() protoreflect.Message {
542 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[5]
543 if protoimpl.UnsafeEnabled && x != nil {
544 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
545 if ms.LoadMessageInfo() == nil {
546 ms.StoreMessageInfo(mi)
547 }
548 return ms
549 }
550 return mi.MessageOf(x)
551 }
552
553
554 func (*GerritSourceContext) Descriptor() ([]byte, []int) {
555 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{5}
556 }
557
558 func (x *GerritSourceContext) GetHostUri() string {
559 if x != nil {
560 return x.HostUri
561 }
562 return ""
563 }
564
565 func (x *GerritSourceContext) GetGerritProject() string {
566 if x != nil {
567 return x.GerritProject
568 }
569 return ""
570 }
571
572 func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision {
573 if m != nil {
574 return m.Revision
575 }
576 return nil
577 }
578
579 func (x *GerritSourceContext) GetRevisionId() string {
580 if x, ok := x.GetRevision().(*GerritSourceContext_RevisionId); ok {
581 return x.RevisionId
582 }
583 return ""
584 }
585
586
587 func (x *GerritSourceContext) GetAliasName() string {
588 if x, ok := x.GetRevision().(*GerritSourceContext_AliasName); ok {
589 return x.AliasName
590 }
591 return ""
592 }
593
594 func (x *GerritSourceContext) GetAliasContext() *AliasContext {
595 if x, ok := x.GetRevision().(*GerritSourceContext_AliasContext); ok {
596 return x.AliasContext
597 }
598 return nil
599 }
600
601 type isGerritSourceContext_Revision interface {
602 isGerritSourceContext_Revision()
603 }
604
605 type GerritSourceContext_RevisionId struct {
606
607 RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3,oneof"`
608 }
609
610 type GerritSourceContext_AliasName struct {
611
612
613
614 AliasName string `protobuf:"bytes,4,opt,name=alias_name,json=aliasName,proto3,oneof"`
615 }
616
617 type GerritSourceContext_AliasContext struct {
618
619 AliasContext *AliasContext `protobuf:"bytes,5,opt,name=alias_context,json=aliasContext,proto3,oneof"`
620 }
621
622 func (*GerritSourceContext_RevisionId) isGerritSourceContext_Revision() {}
623
624 func (*GerritSourceContext_AliasName) isGerritSourceContext_Revision() {}
625
626 func (*GerritSourceContext_AliasContext) isGerritSourceContext_Revision() {}
627
628
629
630 type GitSourceContext struct {
631 state protoimpl.MessageState
632 sizeCache protoimpl.SizeCache
633 unknownFields protoimpl.UnknownFields
634
635
636 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
637
638
639 RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
640 }
641
642 func (x *GitSourceContext) Reset() {
643 *x = GitSourceContext{}
644 if protoimpl.UnsafeEnabled {
645 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[6]
646 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
647 ms.StoreMessageInfo(mi)
648 }
649 }
650
651 func (x *GitSourceContext) String() string {
652 return protoimpl.X.MessageStringOf(x)
653 }
654
655 func (*GitSourceContext) ProtoMessage() {}
656
657 func (x *GitSourceContext) ProtoReflect() protoreflect.Message {
658 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[6]
659 if protoimpl.UnsafeEnabled && x != nil {
660 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
661 if ms.LoadMessageInfo() == nil {
662 ms.StoreMessageInfo(mi)
663 }
664 return ms
665 }
666 return mi.MessageOf(x)
667 }
668
669
670 func (*GitSourceContext) Descriptor() ([]byte, []int) {
671 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{6}
672 }
673
674 func (x *GitSourceContext) GetUrl() string {
675 if x != nil {
676 return x.Url
677 }
678 return ""
679 }
680
681 func (x *GitSourceContext) GetRevisionId() string {
682 if x != nil {
683 return x.RevisionId
684 }
685 return ""
686 }
687
688
689 type RepoId struct {
690 state protoimpl.MessageState
691 sizeCache protoimpl.SizeCache
692 unknownFields protoimpl.UnknownFields
693
694
695
696
697
698
699
700 Id isRepoId_Id `protobuf_oneof:"id"`
701 }
702
703 func (x *RepoId) Reset() {
704 *x = RepoId{}
705 if protoimpl.UnsafeEnabled {
706 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[7]
707 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
708 ms.StoreMessageInfo(mi)
709 }
710 }
711
712 func (x *RepoId) String() string {
713 return protoimpl.X.MessageStringOf(x)
714 }
715
716 func (*RepoId) ProtoMessage() {}
717
718 func (x *RepoId) ProtoReflect() protoreflect.Message {
719 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[7]
720 if protoimpl.UnsafeEnabled && x != nil {
721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
722 if ms.LoadMessageInfo() == nil {
723 ms.StoreMessageInfo(mi)
724 }
725 return ms
726 }
727 return mi.MessageOf(x)
728 }
729
730
731 func (*RepoId) Descriptor() ([]byte, []int) {
732 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{7}
733 }
734
735 func (m *RepoId) GetId() isRepoId_Id {
736 if m != nil {
737 return m.Id
738 }
739 return nil
740 }
741
742 func (x *RepoId) GetProjectRepoId() *ProjectRepoId {
743 if x, ok := x.GetId().(*RepoId_ProjectRepoId); ok {
744 return x.ProjectRepoId
745 }
746 return nil
747 }
748
749 func (x *RepoId) GetUid() string {
750 if x, ok := x.GetId().(*RepoId_Uid); ok {
751 return x.Uid
752 }
753 return ""
754 }
755
756 type isRepoId_Id interface {
757 isRepoId_Id()
758 }
759
760 type RepoId_ProjectRepoId struct {
761
762 ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"`
763 }
764
765 type RepoId_Uid struct {
766
767 Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"`
768 }
769
770 func (*RepoId_ProjectRepoId) isRepoId_Id() {}
771
772 func (*RepoId_Uid) isRepoId_Id() {}
773
774
775
776 type ProjectRepoId struct {
777 state protoimpl.MessageState
778 sizeCache protoimpl.SizeCache
779 unknownFields protoimpl.UnknownFields
780
781
782 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
783
784 RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
785 }
786
787 func (x *ProjectRepoId) Reset() {
788 *x = ProjectRepoId{}
789 if protoimpl.UnsafeEnabled {
790 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[8]
791 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
792 ms.StoreMessageInfo(mi)
793 }
794 }
795
796 func (x *ProjectRepoId) String() string {
797 return protoimpl.X.MessageStringOf(x)
798 }
799
800 func (*ProjectRepoId) ProtoMessage() {}
801
802 func (x *ProjectRepoId) ProtoReflect() protoreflect.Message {
803 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[8]
804 if protoimpl.UnsafeEnabled && x != nil {
805 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
806 if ms.LoadMessageInfo() == nil {
807 ms.StoreMessageInfo(mi)
808 }
809 return ms
810 }
811 return mi.MessageOf(x)
812 }
813
814
815 func (*ProjectRepoId) Descriptor() ([]byte, []int) {
816 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{8}
817 }
818
819 func (x *ProjectRepoId) GetProjectId() string {
820 if x != nil {
821 return x.ProjectId
822 }
823 return ""
824 }
825
826 func (x *ProjectRepoId) GetRepoName() string {
827 if x != nil {
828 return x.RepoName
829 }
830 return ""
831 }
832
833
834
835
836 type CloudWorkspaceId struct {
837 state protoimpl.MessageState
838 sizeCache protoimpl.SizeCache
839 unknownFields protoimpl.UnknownFields
840
841
842 RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
843
844
845 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
846 }
847
848 func (x *CloudWorkspaceId) Reset() {
849 *x = CloudWorkspaceId{}
850 if protoimpl.UnsafeEnabled {
851 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[9]
852 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
853 ms.StoreMessageInfo(mi)
854 }
855 }
856
857 func (x *CloudWorkspaceId) String() string {
858 return protoimpl.X.MessageStringOf(x)
859 }
860
861 func (*CloudWorkspaceId) ProtoMessage() {}
862
863 func (x *CloudWorkspaceId) ProtoReflect() protoreflect.Message {
864 mi := &file_google_devtools_source_v1_source_context_proto_msgTypes[9]
865 if protoimpl.UnsafeEnabled && x != nil {
866 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
867 if ms.LoadMessageInfo() == nil {
868 ms.StoreMessageInfo(mi)
869 }
870 return ms
871 }
872 return mi.MessageOf(x)
873 }
874
875
876 func (*CloudWorkspaceId) Descriptor() ([]byte, []int) {
877 return file_google_devtools_source_v1_source_context_proto_rawDescGZIP(), []int{9}
878 }
879
880 func (x *CloudWorkspaceId) GetRepoId() *RepoId {
881 if x != nil {
882 return x.RepoId
883 }
884 return nil
885 }
886
887 func (x *CloudWorkspaceId) GetName() string {
888 if x != nil {
889 return x.Name
890 }
891 return ""
892 }
893
894 var File_google_devtools_source_v1_source_context_proto protoreflect.FileDescriptor
895
896 var file_google_devtools_source_v1_source_context_proto_rawDesc = []byte{
897 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
898 0x73, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6f, 0x75, 0x72,
899 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
900 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
901 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x22, 0xdc, 0x02, 0x0a, 0x0d,
902 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x52, 0x0a,
903 0x0a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
904 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f,
905 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c,
906 0x6f, 0x75, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e,
907 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x09, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x52, 0x65, 0x70,
908 0x6f, 0x12, 0x61, 0x0a, 0x0f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x73,
909 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f,
910 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75,
911 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x57, 0x6f, 0x72, 0x6b,
912 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65,
913 0x78, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x73,
914 0x70, 0x61, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x06, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x18, 0x03,
915 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65,
916 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31,
917 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e,
918 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x06, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x12, 0x3f,
919 0x0a, 0x03, 0x67, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f,
920 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f,
921 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63,
922 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x03, 0x67, 0x69, 0x74, 0x42,
923 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0xec, 0x01, 0x0a, 0x15, 0x45,
924 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e,
925 0x74, 0x65, 0x78, 0x74, 0x12, 0x42, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18,
926 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
927 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76,
928 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52,
929 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x54, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65,
930 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
931 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63,
932 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x6f, 0x75,
933 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c,
934 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39,
935 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
936 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
937 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
938 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x98, 0x01, 0x0a, 0x0c, 0x41, 0x6c,
939 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6b, 0x69,
940 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
941 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63,
942 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
943 0x74, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04,
944 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
945 0x22, 0x32, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x59, 0x10,
946 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x58, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,
947 0x4d, 0x4f, 0x56, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48,
948 0x45, 0x52, 0x10, 0x04, 0x22, 0xf8, 0x01, 0x0a, 0x16, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x52, 0x65,
949 0x70, 0x6f, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12,
950 0x3a, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
951 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
952 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70,
953 0x6f, 0x49, 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0b, 0x72,
954 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
955 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23,
956 0x0a, 0x0a, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
957 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x09, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x4e,
958 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x6e,
959 0x74, 0x65, 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f,
960 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75,
961 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74,
962 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74,
963 0x65, 0x78, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22,
964 0x8e, 0x01, 0x0a, 0x1b, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
965 0x63, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12,
966 0x4e, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18,
967 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
968 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76,
969 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
970 0x49, 0x64, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12,
971 0x1f, 0x0a, 0x0b, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02,
972 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x49, 0x64,
973 0x22, 0xfb, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63,
974 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74,
975 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74,
976 0x55, 0x72, 0x69, 0x12, 0x25, 0x0a, 0x0e, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x5f, 0x70, 0x72,
977 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x65, 0x72,
978 0x72, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x72, 0x65,
979 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48,
980 0x00, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a,
981 0x0a, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
982 0x09, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x09, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x4e, 0x61,
983 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
984 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
985 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72,
986 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65,
987 0x78, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65,
988 0x78, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x45,
989 0x0a, 0x10, 0x47, 0x69, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65,
990 0x78, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
991 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
992 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73,
993 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x06, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12,
994 0x52, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x5f,
995 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
996 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63,
997 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x70, 0x6f,
998 0x49, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x70,
999 0x6f, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1000 0x48, 0x00, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x04, 0x0a, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a,
1001 0x0d, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x1d,
1002 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
1003 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a,
1004 0x09, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1005 0x52, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x62, 0x0a, 0x10, 0x43, 0x6c,
1006 0x6f, 0x75, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3a,
1007 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
1008 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
1009 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f,
1010 0x49, 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
1011 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xbd,
1012 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65,
1013 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31,
1014 0x42, 0x12, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50,
1015 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
1016 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
1017 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65,
1018 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31,
1019 0x3b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f,
1020 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x65, 0x76, 0x54, 0x6f, 0x6f,
1021 0x6c, 0x73, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x47,
1022 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x65, 0x76, 0x54,
1023 0x6f, 0x6f, 0x6c, 0x73, 0x5c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x06,
1024 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1025 }
1026
1027 var (
1028 file_google_devtools_source_v1_source_context_proto_rawDescOnce sync.Once
1029 file_google_devtools_source_v1_source_context_proto_rawDescData = file_google_devtools_source_v1_source_context_proto_rawDesc
1030 )
1031
1032 func file_google_devtools_source_v1_source_context_proto_rawDescGZIP() []byte {
1033 file_google_devtools_source_v1_source_context_proto_rawDescOnce.Do(func() {
1034 file_google_devtools_source_v1_source_context_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_source_v1_source_context_proto_rawDescData)
1035 })
1036 return file_google_devtools_source_v1_source_context_proto_rawDescData
1037 }
1038
1039 var file_google_devtools_source_v1_source_context_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1040 var file_google_devtools_source_v1_source_context_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
1041 var file_google_devtools_source_v1_source_context_proto_goTypes = []interface{}{
1042 (AliasContext_Kind)(0),
1043 (*SourceContext)(nil),
1044 (*ExtendedSourceContext)(nil),
1045 (*AliasContext)(nil),
1046 (*CloudRepoSourceContext)(nil),
1047 (*CloudWorkspaceSourceContext)(nil),
1048 (*GerritSourceContext)(nil),
1049 (*GitSourceContext)(nil),
1050 (*RepoId)(nil),
1051 (*ProjectRepoId)(nil),
1052 (*CloudWorkspaceId)(nil),
1053 nil,
1054 }
1055 var file_google_devtools_source_v1_source_context_proto_depIdxs = []int32{
1056 4,
1057 5,
1058 6,
1059 7,
1060 1,
1061 11,
1062 0,
1063 8,
1064 3,
1065 10,
1066 3,
1067 9,
1068 8,
1069 13,
1070 13,
1071 13,
1072 13,
1073 0,
1074 }
1075
1076 func init() { file_google_devtools_source_v1_source_context_proto_init() }
1077 func file_google_devtools_source_v1_source_context_proto_init() {
1078 if File_google_devtools_source_v1_source_context_proto != nil {
1079 return
1080 }
1081 if !protoimpl.UnsafeEnabled {
1082 file_google_devtools_source_v1_source_context_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1083 switch v := v.(*SourceContext); i {
1084 case 0:
1085 return &v.state
1086 case 1:
1087 return &v.sizeCache
1088 case 2:
1089 return &v.unknownFields
1090 default:
1091 return nil
1092 }
1093 }
1094 file_google_devtools_source_v1_source_context_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1095 switch v := v.(*ExtendedSourceContext); i {
1096 case 0:
1097 return &v.state
1098 case 1:
1099 return &v.sizeCache
1100 case 2:
1101 return &v.unknownFields
1102 default:
1103 return nil
1104 }
1105 }
1106 file_google_devtools_source_v1_source_context_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1107 switch v := v.(*AliasContext); i {
1108 case 0:
1109 return &v.state
1110 case 1:
1111 return &v.sizeCache
1112 case 2:
1113 return &v.unknownFields
1114 default:
1115 return nil
1116 }
1117 }
1118 file_google_devtools_source_v1_source_context_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1119 switch v := v.(*CloudRepoSourceContext); i {
1120 case 0:
1121 return &v.state
1122 case 1:
1123 return &v.sizeCache
1124 case 2:
1125 return &v.unknownFields
1126 default:
1127 return nil
1128 }
1129 }
1130 file_google_devtools_source_v1_source_context_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1131 switch v := v.(*CloudWorkspaceSourceContext); i {
1132 case 0:
1133 return &v.state
1134 case 1:
1135 return &v.sizeCache
1136 case 2:
1137 return &v.unknownFields
1138 default:
1139 return nil
1140 }
1141 }
1142 file_google_devtools_source_v1_source_context_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1143 switch v := v.(*GerritSourceContext); i {
1144 case 0:
1145 return &v.state
1146 case 1:
1147 return &v.sizeCache
1148 case 2:
1149 return &v.unknownFields
1150 default:
1151 return nil
1152 }
1153 }
1154 file_google_devtools_source_v1_source_context_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1155 switch v := v.(*GitSourceContext); i {
1156 case 0:
1157 return &v.state
1158 case 1:
1159 return &v.sizeCache
1160 case 2:
1161 return &v.unknownFields
1162 default:
1163 return nil
1164 }
1165 }
1166 file_google_devtools_source_v1_source_context_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1167 switch v := v.(*RepoId); i {
1168 case 0:
1169 return &v.state
1170 case 1:
1171 return &v.sizeCache
1172 case 2:
1173 return &v.unknownFields
1174 default:
1175 return nil
1176 }
1177 }
1178 file_google_devtools_source_v1_source_context_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1179 switch v := v.(*ProjectRepoId); i {
1180 case 0:
1181 return &v.state
1182 case 1:
1183 return &v.sizeCache
1184 case 2:
1185 return &v.unknownFields
1186 default:
1187 return nil
1188 }
1189 }
1190 file_google_devtools_source_v1_source_context_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1191 switch v := v.(*CloudWorkspaceId); i {
1192 case 0:
1193 return &v.state
1194 case 1:
1195 return &v.sizeCache
1196 case 2:
1197 return &v.unknownFields
1198 default:
1199 return nil
1200 }
1201 }
1202 }
1203 file_google_devtools_source_v1_source_context_proto_msgTypes[0].OneofWrappers = []interface{}{
1204 (*SourceContext_CloudRepo)(nil),
1205 (*SourceContext_CloudWorkspace)(nil),
1206 (*SourceContext_Gerrit)(nil),
1207 (*SourceContext_Git)(nil),
1208 }
1209 file_google_devtools_source_v1_source_context_proto_msgTypes[3].OneofWrappers = []interface{}{
1210 (*CloudRepoSourceContext_RevisionId)(nil),
1211 (*CloudRepoSourceContext_AliasName)(nil),
1212 (*CloudRepoSourceContext_AliasContext)(nil),
1213 }
1214 file_google_devtools_source_v1_source_context_proto_msgTypes[5].OneofWrappers = []interface{}{
1215 (*GerritSourceContext_RevisionId)(nil),
1216 (*GerritSourceContext_AliasName)(nil),
1217 (*GerritSourceContext_AliasContext)(nil),
1218 }
1219 file_google_devtools_source_v1_source_context_proto_msgTypes[7].OneofWrappers = []interface{}{
1220 (*RepoId_ProjectRepoId)(nil),
1221 (*RepoId_Uid)(nil),
1222 }
1223 type x struct{}
1224 out := protoimpl.TypeBuilder{
1225 File: protoimpl.DescBuilder{
1226 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1227 RawDescriptor: file_google_devtools_source_v1_source_context_proto_rawDesc,
1228 NumEnums: 1,
1229 NumMessages: 11,
1230 NumExtensions: 0,
1231 NumServices: 0,
1232 },
1233 GoTypes: file_google_devtools_source_v1_source_context_proto_goTypes,
1234 DependencyIndexes: file_google_devtools_source_v1_source_context_proto_depIdxs,
1235 EnumInfos: file_google_devtools_source_v1_source_context_proto_enumTypes,
1236 MessageInfos: file_google_devtools_source_v1_source_context_proto_msgTypes,
1237 }.Build()
1238 File_google_devtools_source_v1_source_context_proto = out.File
1239 file_google_devtools_source_v1_source_context_proto_rawDesc = nil
1240 file_google_devtools_source_v1_source_context_proto_goTypes = nil
1241 file_google_devtools_source_v1_source_context_proto_depIdxs = nil
1242 }
1243
View as plain text