/
source_context.pb.go
666 lines (575 loc) · 23.6 KB
/
source_context.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/containeranalysis/v1alpha1/source_context.proto
package containeranalysis
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// The type of an alias.
type AliasContext_Kind int32
const (
// Unknown.
AliasContext_KIND_UNSPECIFIED AliasContext_Kind = 0
// Git tag.
AliasContext_FIXED AliasContext_Kind = 1
// Git branch.
AliasContext_MOVABLE AliasContext_Kind = 2
// Used to specify non-standard aliases. For example, if a Git repo has a
// ref named "refs/foo/bar".
AliasContext_OTHER AliasContext_Kind = 4
)
var AliasContext_Kind_name = map[int32]string{
0: "KIND_UNSPECIFIED",
1: "FIXED",
2: "MOVABLE",
4: "OTHER",
}
var AliasContext_Kind_value = map[string]int32{
"KIND_UNSPECIFIED": 0,
"FIXED": 1,
"MOVABLE": 2,
"OTHER": 4,
}
func (x AliasContext_Kind) String() string {
return proto.EnumName(AliasContext_Kind_name, int32(x))
}
func (AliasContext_Kind) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_49411dfe5c54cc3e, []int{1, 0}
}
// A SourceContext is a reference to a tree of files. A SourceContext together
// with a path point to a unique revision of a single file or directory.
type SourceContext struct {
// A SourceContext can refer any one of the following types of repositories.
//
// Types that are valid to be assigned to Context:
// *SourceContext_CloudRepo
// *SourceContext_Gerrit
// *SourceContext_Git
Context isSourceContext_Context `protobuf_oneof:"context"`
// Labels with user defined metadata.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SourceContext) Reset() { *m = SourceContext{} }
func (m *SourceContext) String() string { return proto.CompactTextString(m) }
func (*SourceContext) ProtoMessage() {}
func (*SourceContext) Descriptor() ([]byte, []int) {
return fileDescriptor_49411dfe5c54cc3e, []int{0}
}
func (m *SourceContext) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SourceContext.Unmarshal(m, b)
}
func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SourceContext.Marshal(b, m, deterministic)
}
func (m *SourceContext) XXX_Merge(src proto.Message) {
xxx_messageInfo_SourceContext.Merge(m, src)
}
func (m *SourceContext) XXX_Size() int {
return xxx_messageInfo_SourceContext.Size(m)
}
func (m *SourceContext) XXX_DiscardUnknown() {
xxx_messageInfo_SourceContext.DiscardUnknown(m)
}
var xxx_messageInfo_SourceContext proto.InternalMessageInfo
type isSourceContext_Context interface {
isSourceContext_Context()
}
type SourceContext_CloudRepo struct {
CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"`
}
type SourceContext_Gerrit struct {
Gerrit *GerritSourceContext `protobuf:"bytes,2,opt,name=gerrit,proto3,oneof"`
}
type SourceContext_Git struct {
Git *GitSourceContext `protobuf:"bytes,3,opt,name=git,proto3,oneof"`
}
func (*SourceContext_CloudRepo) isSourceContext_Context() {}
func (*SourceContext_Gerrit) isSourceContext_Context() {}
func (*SourceContext_Git) isSourceContext_Context() {}
func (m *SourceContext) GetContext() isSourceContext_Context {
if m != nil {
return m.Context
}
return nil
}
func (m *SourceContext) GetCloudRepo() *CloudRepoSourceContext {
if x, ok := m.GetContext().(*SourceContext_CloudRepo); ok {
return x.CloudRepo
}
return nil
}
func (m *SourceContext) GetGerrit() *GerritSourceContext {
if x, ok := m.GetContext().(*SourceContext_Gerrit); ok {
return x.Gerrit
}
return nil
}
func (m *SourceContext) GetGit() *GitSourceContext {
if x, ok := m.GetContext().(*SourceContext_Git); ok {
return x.Git
}
return nil
}
func (m *SourceContext) GetLabels() map[string]string {
if m != nil {
return m.Labels
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*SourceContext) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*SourceContext_CloudRepo)(nil),
(*SourceContext_Gerrit)(nil),
(*SourceContext_Git)(nil),
}
}
// An alias to a repo revision.
type AliasContext struct {
// The alias kind.
Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.AliasContext_Kind" json:"kind,omitempty"`
// The alias name.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AliasContext) Reset() { *m = AliasContext{} }
func (m *AliasContext) String() string { return proto.CompactTextString(m) }
func (*AliasContext) ProtoMessage() {}
func (*AliasContext) Descriptor() ([]byte, []int) {
return fileDescriptor_49411dfe5c54cc3e, []int{1}
}
func (m *AliasContext) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AliasContext.Unmarshal(m, b)
}
func (m *AliasContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AliasContext.Marshal(b, m, deterministic)
}
func (m *AliasContext) XXX_Merge(src proto.Message) {
xxx_messageInfo_AliasContext.Merge(m, src)
}
func (m *AliasContext) XXX_Size() int {
return xxx_messageInfo_AliasContext.Size(m)
}
func (m *AliasContext) XXX_DiscardUnknown() {
xxx_messageInfo_AliasContext.DiscardUnknown(m)
}
var xxx_messageInfo_AliasContext proto.InternalMessageInfo
func (m *AliasContext) GetKind() AliasContext_Kind {
if m != nil {
return m.Kind
}
return AliasContext_KIND_UNSPECIFIED
}
func (m *AliasContext) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// A CloudRepoSourceContext denotes a particular revision in a Google Cloud
// Source Repo.
type CloudRepoSourceContext struct {
// The ID of the repo.
RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
// A revision in a Cloud Repo can be identified by either its revision ID or
// its alias.
//
// Types that are valid to be assigned to Revision:
// *CloudRepoSourceContext_RevisionId
// *CloudRepoSourceContext_AliasContext
Revision isCloudRepoSourceContext_Revision `protobuf_oneof:"revision"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CloudRepoSourceContext) Reset() { *m = CloudRepoSourceContext{} }
func (m *CloudRepoSourceContext) String() string { return proto.CompactTextString(m) }
func (*CloudRepoSourceContext) ProtoMessage() {}
func (*CloudRepoSourceContext) Descriptor() ([]byte, []int) {
return fileDescriptor_49411dfe5c54cc3e, []int{2}
}
func (m *CloudRepoSourceContext) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CloudRepoSourceContext.Unmarshal(m, b)
}
func (m *CloudRepoSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CloudRepoSourceContext.Marshal(b, m, deterministic)
}
func (m *CloudRepoSourceContext) XXX_Merge(src proto.Message) {
xxx_messageInfo_CloudRepoSourceContext.Merge(m, src)
}
func (m *CloudRepoSourceContext) XXX_Size() int {
return xxx_messageInfo_CloudRepoSourceContext.Size(m)
}
func (m *CloudRepoSourceContext) XXX_DiscardUnknown() {
xxx_messageInfo_CloudRepoSourceContext.DiscardUnknown(m)
}
var xxx_messageInfo_CloudRepoSourceContext proto.InternalMessageInfo
func (m *CloudRepoSourceContext) GetRepoId() *RepoId {
if m != nil {
return m.RepoId
}
return nil
}
type isCloudRepoSourceContext_Revision interface {
isCloudRepoSourceContext_Revision()
}
type CloudRepoSourceContext_RevisionId struct {
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3,oneof"`
}
type CloudRepoSourceContext_AliasContext struct {
AliasContext *AliasContext `protobuf:"bytes,3,opt,name=alias_context,json=aliasContext,proto3,oneof"`
}
func (*CloudRepoSourceContext_RevisionId) isCloudRepoSourceContext_Revision() {}
func (*CloudRepoSourceContext_AliasContext) isCloudRepoSourceContext_Revision() {}
func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision {
if m != nil {
return m.Revision
}
return nil
}
func (m *CloudRepoSourceContext) GetRevisionId() string {
if x, ok := m.GetRevision().(*CloudRepoSourceContext_RevisionId); ok {
return x.RevisionId
}
return ""
}
func (m *CloudRepoSourceContext) GetAliasContext() *AliasContext {
if x, ok := m.GetRevision().(*CloudRepoSourceContext_AliasContext); ok {
return x.AliasContext
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*CloudRepoSourceContext) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*CloudRepoSourceContext_RevisionId)(nil),
(*CloudRepoSourceContext_AliasContext)(nil),
}
}
// A SourceContext referring to a Gerrit project.
type GerritSourceContext struct {
// The URI of a running Gerrit instance.
HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"`
// The full project name within the host. Projects may be nested, so
// "project/subproject" is a valid project name. The "repo name" is
// the hostURI/project.
GerritProject string `protobuf:"bytes,2,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"`
// A revision in a Gerrit project can be identified by either its revision ID
// or its alias.
//
// Types that are valid to be assigned to Revision:
// *GerritSourceContext_RevisionId
// *GerritSourceContext_AliasContext
Revision isGerritSourceContext_Revision `protobuf_oneof:"revision"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GerritSourceContext) Reset() { *m = GerritSourceContext{} }
func (m *GerritSourceContext) String() string { return proto.CompactTextString(m) }
func (*GerritSourceContext) ProtoMessage() {}
func (*GerritSourceContext) Descriptor() ([]byte, []int) {
return fileDescriptor_49411dfe5c54cc3e, []int{3}
}
func (m *GerritSourceContext) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GerritSourceContext.Unmarshal(m, b)
}
func (m *GerritSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GerritSourceContext.Marshal(b, m, deterministic)
}
func (m *GerritSourceContext) XXX_Merge(src proto.Message) {
xxx_messageInfo_GerritSourceContext.Merge(m, src)
}
func (m *GerritSourceContext) XXX_Size() int {
return xxx_messageInfo_GerritSourceContext.Size(m)
}
func (m *GerritSourceContext) XXX_DiscardUnknown() {
xxx_messageInfo_GerritSourceContext.DiscardUnknown(m)
}
var xxx_messageInfo_GerritSourceContext proto.InternalMessageInfo
func (m *GerritSourceContext) GetHostUri() string {
if m != nil {
return m.HostUri
}
return ""
}
func (m *GerritSourceContext) GetGerritProject() string {
if m != nil {
return m.GerritProject
}
return ""
}
type isGerritSourceContext_Revision interface {
isGerritSourceContext_Revision()
}
type GerritSourceContext_RevisionId struct {
RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3,oneof"`
}
type GerritSourceContext_AliasContext struct {
AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"`
}
func (*GerritSourceContext_RevisionId) isGerritSourceContext_Revision() {}
func (*GerritSourceContext_AliasContext) isGerritSourceContext_Revision() {}
func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision {
if m != nil {
return m.Revision
}
return nil
}
func (m *GerritSourceContext) GetRevisionId() string {
if x, ok := m.GetRevision().(*GerritSourceContext_RevisionId); ok {
return x.RevisionId
}
return ""
}
func (m *GerritSourceContext) GetAliasContext() *AliasContext {
if x, ok := m.GetRevision().(*GerritSourceContext_AliasContext); ok {
return x.AliasContext
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*GerritSourceContext) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*GerritSourceContext_RevisionId)(nil),
(*GerritSourceContext_AliasContext)(nil),
}
}
// A GitSourceContext denotes a particular revision in a third party Git
// repository (e.g., GitHub).
type GitSourceContext struct {
// Git repository URL.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Required.
// Git commit hash.
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GitSourceContext) Reset() { *m = GitSourceContext{} }
func (m *GitSourceContext) String() string { return proto.CompactTextString(m) }
func (*GitSourceContext) ProtoMessage() {}
func (*GitSourceContext) Descriptor() ([]byte, []int) {
return fileDescriptor_49411dfe5c54cc3e, []int{4}
}
func (m *GitSourceContext) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GitSourceContext.Unmarshal(m, b)
}
func (m *GitSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GitSourceContext.Marshal(b, m, deterministic)
}
func (m *GitSourceContext) XXX_Merge(src proto.Message) {
xxx_messageInfo_GitSourceContext.Merge(m, src)
}
func (m *GitSourceContext) XXX_Size() int {
return xxx_messageInfo_GitSourceContext.Size(m)
}
func (m *GitSourceContext) XXX_DiscardUnknown() {
xxx_messageInfo_GitSourceContext.DiscardUnknown(m)
}
var xxx_messageInfo_GitSourceContext proto.InternalMessageInfo
func (m *GitSourceContext) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *GitSourceContext) GetRevisionId() string {
if m != nil {
return m.RevisionId
}
return ""
}
// A unique identifier for a Cloud Repo.
type RepoId struct {
// A cloud repo can be identified by either its project ID and repository name
// combination, or its globally unique identifier.
//
// Types that are valid to be assigned to Id:
// *RepoId_ProjectRepoId
// *RepoId_Uid
Id isRepoId_Id `protobuf_oneof:"id"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RepoId) Reset() { *m = RepoId{} }
func (m *RepoId) String() string { return proto.CompactTextString(m) }
func (*RepoId) ProtoMessage() {}
func (*RepoId) Descriptor() ([]byte, []int) {
return fileDescriptor_49411dfe5c54cc3e, []int{5}
}
func (m *RepoId) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepoId.Unmarshal(m, b)
}
func (m *RepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepoId.Marshal(b, m, deterministic)
}
func (m *RepoId) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepoId.Merge(m, src)
}
func (m *RepoId) XXX_Size() int {
return xxx_messageInfo_RepoId.Size(m)
}
func (m *RepoId) XXX_DiscardUnknown() {
xxx_messageInfo_RepoId.DiscardUnknown(m)
}
var xxx_messageInfo_RepoId proto.InternalMessageInfo
type isRepoId_Id interface {
isRepoId_Id()
}
type RepoId_ProjectRepoId struct {
ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"`
}
type RepoId_Uid struct {
Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"`
}
func (*RepoId_ProjectRepoId) isRepoId_Id() {}
func (*RepoId_Uid) isRepoId_Id() {}
func (m *RepoId) GetId() isRepoId_Id {
if m != nil {
return m.Id
}
return nil
}
func (m *RepoId) GetProjectRepoId() *ProjectRepoId {
if x, ok := m.GetId().(*RepoId_ProjectRepoId); ok {
return x.ProjectRepoId
}
return nil
}
func (m *RepoId) GetUid() string {
if x, ok := m.GetId().(*RepoId_Uid); ok {
return x.Uid
}
return ""
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*RepoId) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*RepoId_ProjectRepoId)(nil),
(*RepoId_Uid)(nil),
}
}
// Selects a repo using a Google Cloud Platform project ID (e.g.,
// winged-cargo-31) and a repo name within that project.
type ProjectRepoId struct {
// The ID of the project.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// The name of the repo. Leave empty for the default repo.
RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ProjectRepoId) Reset() { *m = ProjectRepoId{} }
func (m *ProjectRepoId) String() string { return proto.CompactTextString(m) }
func (*ProjectRepoId) ProtoMessage() {}
func (*ProjectRepoId) Descriptor() ([]byte, []int) {
return fileDescriptor_49411dfe5c54cc3e, []int{6}
}
func (m *ProjectRepoId) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProjectRepoId.Unmarshal(m, b)
}
func (m *ProjectRepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProjectRepoId.Marshal(b, m, deterministic)
}
func (m *ProjectRepoId) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProjectRepoId.Merge(m, src)
}
func (m *ProjectRepoId) XXX_Size() int {
return xxx_messageInfo_ProjectRepoId.Size(m)
}
func (m *ProjectRepoId) XXX_DiscardUnknown() {
xxx_messageInfo_ProjectRepoId.DiscardUnknown(m)
}
var xxx_messageInfo_ProjectRepoId proto.InternalMessageInfo
func (m *ProjectRepoId) GetProjectId() string {
if m != nil {
return m.ProjectId
}
return ""
}
func (m *ProjectRepoId) GetRepoName() string {
if m != nil {
return m.RepoName
}
return ""
}
func init() {
proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.AliasContext_Kind", AliasContext_Kind_name, AliasContext_Kind_value)
proto.RegisterType((*SourceContext)(nil), "google.devtools.containeranalysis.v1alpha1.SourceContext")
proto.RegisterMapType((map[string]string)(nil), "google.devtools.containeranalysis.v1alpha1.SourceContext.LabelsEntry")
proto.RegisterType((*AliasContext)(nil), "google.devtools.containeranalysis.v1alpha1.AliasContext")
proto.RegisterType((*CloudRepoSourceContext)(nil), "google.devtools.containeranalysis.v1alpha1.CloudRepoSourceContext")
proto.RegisterType((*GerritSourceContext)(nil), "google.devtools.containeranalysis.v1alpha1.GerritSourceContext")
proto.RegisterType((*GitSourceContext)(nil), "google.devtools.containeranalysis.v1alpha1.GitSourceContext")
proto.RegisterType((*RepoId)(nil), "google.devtools.containeranalysis.v1alpha1.RepoId")
proto.RegisterType((*ProjectRepoId)(nil), "google.devtools.containeranalysis.v1alpha1.ProjectRepoId")
}
func init() {
proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/source_context.proto", fileDescriptor_49411dfe5c54cc3e)
}
var fileDescriptor_49411dfe5c54cc3e = []byte{
// 675 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0x5d, 0x4e, 0xdb, 0x4a,
0x14, 0xc7, 0xe3, 0x38, 0x24, 0xf8, 0x84, 0x70, 0xa3, 0xb9, 0xe8, 0x2a, 0x97, 0x7b, 0xab, 0x52,
0x4b, 0x48, 0xa8, 0x0f, 0xb6, 0x48, 0x5f, 0xa0, 0x1f, 0x42, 0x24, 0x18, 0x62, 0x85, 0x42, 0x6a,
0x4a, 0xd5, 0x0f, 0x55, 0xd6, 0x60, 0x8f, 0xcc, 0x14, 0xe3, 0xb1, 0xc6, 0x76, 0x54, 0x56, 0xd0,
0x97, 0xae, 0xa2, 0x8b, 0xe8, 0x12, 0xba, 0x95, 0xae, 0xa0, 0xef, 0xd5, 0x8c, 0x6d, 0xc9, 0x01,
0x2a, 0x91, 0x4a, 0x7d, 0xca, 0xcc, 0x99, 0x99, 0xdf, 0xf9, 0x9f, 0x33, 0xff, 0x89, 0x61, 0x27,
0x60, 0x2c, 0x08, 0x89, 0xe9, 0x93, 0x69, 0xca, 0x58, 0x98, 0x98, 0x1e, 0x8b, 0x52, 0x4c, 0x23,
0xc2, 0x71, 0x84, 0xc3, 0xab, 0x84, 0x26, 0xe6, 0x74, 0x13, 0x87, 0xf1, 0x39, 0xde, 0x34, 0x13,
0x96, 0x71, 0x8f, 0xb8, 0x62, 0x07, 0xf9, 0x98, 0x1a, 0x31, 0x67, 0x29, 0x43, 0x0f, 0x73, 0x80,
0x51, 0x02, 0x8c, 0x1b, 0x00, 0xa3, 0x04, 0xac, 0xfe, 0x5f, 0x24, 0xc3, 0x31, 0x35, 0x71, 0x14,
0xb1, 0x14, 0xa7, 0x94, 0x45, 0x49, 0x4e, 0xd2, 0xbf, 0xa9, 0xd0, 0x39, 0x91, 0x29, 0x86, 0x79,
0x06, 0xe4, 0x01, 0x78, 0x21, 0xcb, 0x7c, 0x97, 0x93, 0x98, 0xf5, 0x94, 0x35, 0x65, 0xa3, 0xdd,
0x1f, 0x18, 0x77, 0x4f, 0x68, 0x0c, 0xc5, 0x69, 0x87, 0xc4, 0x6c, 0x86, 0x3b, 0xaa, 0x39, 0x9a,
0x57, 0xae, 0xa0, 0x37, 0xd0, 0x0c, 0x08, 0xe7, 0x34, 0xed, 0xd5, 0x65, 0x82, 0x9d, 0x79, 0x12,
0x1c, 0xc8, 0x93, 0xd7, 0xe9, 0x05, 0x10, 0x4d, 0x40, 0x0d, 0x68, 0xda, 0x53, 0x25, 0xf7, 0xe9,
0x5c, 0xdc, 0x9b, 0x50, 0x81, 0x42, 0xef, 0xa1, 0x19, 0xe2,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