-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.pb.go
788 lines (715 loc) · 30.4 KB
/
manifest.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
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
// Copyright 2017 The LUCI Authors. All rights reserved.
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0-devel
// protoc v3.12.1
// source: go.chromium.org/luci/common/proto/srcman/manifest.proto
package srcman
import (
proto "github.com/golang/protobuf/proto"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// A Manifest attempts to make an accurate accounting of source/data directories
// during the execution of a LUCI task.
//
// These directories are primarily in the form of e.g. git checkouts of
// source, but also include things like isolated hashes and CIPD package
// deployments. In the future, other deployment forms may be supported (like
// other SCMs).
//
// The purpose of this manifest is so that other parts of the LUCI stack (e.g.
// Milo) can work with the descriptions of this deployed data as a first-class
// citizen. Initially this Manifest will be used to allow Milo to display diffs
// between jobs, but it will also be useful for tools and humans to get a
// record of exactly what data went into this LUCI task.
//
// Source Manifests can be emitted from recipes using the
// 'recipe_engine/source_manifest' module.
type Manifest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Version will increment on backwards-incompatible changes only. Backwards
// compatible changes will not alter this version number.
//
// Currently, the only valid version number is 0.
Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Map of local file system directory path (with forward slashes) to
// a Directory message containing one or more deployments.
//
// The local path is relative to some job-specific root. This should be used
// for informational/display/organization purposes. In particular, think VERY
// CAREFULLY before you configure remote services/recipes to look for
// particular filesystem layouts here. For example, if you want to look for
// "the version of chromium/src checked out by the job", prefer to look for
// a Directory which checks out "chromium/src", as opposed to assuming this
// checkout lives in a top-level folder called "src". The reason for this is
// that jobs SHOULD reserve the right to do their checkouts in any way they
// please.
//
// If you feel like you need to make some service configuration which uses one
// of these local filesystem paths as a key, please consult with the Chrome
// Infrastructure team to see if there's a better alternative.
//
// Ex.
// "": {...} // root directory
// "src/third_party/something": {...}
Directories map[string]*Manifest_Directory `protobuf:"bytes,2,rep,name=directories,proto3" json:"directories,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *Manifest) Reset() {
*x = Manifest{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Manifest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Manifest) ProtoMessage() {}
func (x *Manifest) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Manifest.ProtoReflect.Descriptor instead.
func (*Manifest) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescGZIP(), []int{0}
}
func (x *Manifest) GetVersion() int32 {
if x != nil {
return x.Version
}
return 0
}
func (x *Manifest) GetDirectories() map[string]*Manifest_Directory {
if x != nil {
return x.Directories
}
return nil
}
// Links to an externally stored Manifest proto.
type ManifestLink struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The fully qualified url of the Manifest proto. It's expected that this is
// a binary logdog stream consisting of exactly one Manifest proto. For now
// this will always be the `logdog` uri scheme, though it's feasible to put
// other uri schemes here later.
//
// Ex.
// logdog://logs.chromium.org/infra/build/12345/+/some/path
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// The hash of the Manifest's raw binary form (i.e. the bytes at the end of
// `url`, without any interpretation or decoding). Milo will use this as an
// optimization; Manifests will be interned once into Milo's datastore.
// Future hashes which match will not be loaded from the url, but will be
// assumed to be identical. If the sha256 doesn't match the data at the URL,
// Milo may render this build with the wrong manifest.
//
// This is the raw sha256, so it must be exactly 32 bytes.
Sha256 []byte `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
}
func (x *ManifestLink) Reset() {
*x = ManifestLink{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ManifestLink) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ManifestLink) ProtoMessage() {}
func (x *ManifestLink) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ManifestLink.ProtoReflect.Descriptor instead.
func (*ManifestLink) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescGZIP(), []int{1}
}
func (x *ManifestLink) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *ManifestLink) GetSha256() []byte {
if x != nil {
return x.Sha256
}
return nil
}
type Manifest_GitCheckout struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The canonicalized URL of the original repo that is considered the “source
// of truth” for the source code.
//
// Ex.
// https://chromium.googlesource.com/chromium/tools/build
// https://chromium.googlesource.com/infra/luci/recipes-py
RepoUrl string `protobuf:"bytes,1,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"`
// If different from repo_url, this can be the URL of the repo that the source
// was actually fetched from (i.e. a mirror).
//
// If this is empty, it's presumed to be equal to repo_url.
//
// Ex.
// https://github.com/luci/recipes-py
FetchUrl string `protobuf:"bytes,2,opt,name=fetch_url,json=fetchUrl,proto3" json:"fetch_url,omitempty"`
// The fully resolved revision (commit hash) of the source.
//
// This must always be a revision on the hosted repo (not any locally
// generated commit).
//
// Ex.
// 3617b0eea7ec74b8e731a23fed2f4070cbc284c4
Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
// The ref that the task used to resolve/fetch the revision of the source
// (if any).
//
// This must always be a ref on the hosted repo (not any local alias
// like 'refs/remotes/...').
//
// This must always be an absolute ref (i.e. starts with 'refs/'). An
// example of a non-absolute ref would be 'master'.
//
// Ex.
// refs/heads/master
FetchRef string `protobuf:"bytes,4,opt,name=fetch_ref,json=fetchRef,proto3" json:"fetch_ref,omitempty"`
// If the checkout had a CL associated with it (i.e. a gerrit commit), this
// is the fully resolved revision (commit hash) of the CL. If there was no
// CL, this is empty. Typically the checkout application (e.g. bot_update)
// rebases this revision on top of the `revision` fetched above.
//
// If specified, this must always be a revision on the hosted repo (not any
// locally generated commit).
//
// Ex.
// 6b0b5c12443cfb93305f8d9e21f8d762c8dad9f0
PatchRevision string `protobuf:"bytes,5,opt,name=patch_revision,json=patchRevision,proto3" json:"patch_revision,omitempty"`
// If the checkout had a CL associated with it, this is the ref that the
// task used to fetch patch_revision. If `patch_revision` is supplied, this
// field is required. If there was no CL, this is empty.
//
// If specified, this must always be a ref on the hosted repo (not any local
// alias like 'refs/remotes/...').
//
// This must always be an absolute ref (i.e. starts with 'refs/').
//
// Ex.
// refs/changes/04/511804/4
PatchFetchRef string `protobuf:"bytes,6,opt,name=patch_fetch_ref,json=patchFetchRef,proto3" json:"patch_fetch_ref,omitempty"`
}
func (x *Manifest_GitCheckout) Reset() {
*x = Manifest_GitCheckout{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Manifest_GitCheckout) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Manifest_GitCheckout) ProtoMessage() {}
func (x *Manifest_GitCheckout) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Manifest_GitCheckout.ProtoReflect.Descriptor instead.
func (*Manifest_GitCheckout) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescGZIP(), []int{0, 0}
}
func (x *Manifest_GitCheckout) GetRepoUrl() string {
if x != nil {
return x.RepoUrl
}
return ""
}
func (x *Manifest_GitCheckout) GetFetchUrl() string {
if x != nil {
return x.FetchUrl
}
return ""
}
func (x *Manifest_GitCheckout) GetRevision() string {
if x != nil {
return x.Revision
}
return ""
}
func (x *Manifest_GitCheckout) GetFetchRef() string {
if x != nil {
return x.FetchRef
}
return ""
}
func (x *Manifest_GitCheckout) GetPatchRevision() string {
if x != nil {
return x.PatchRevision
}
return ""
}
func (x *Manifest_GitCheckout) GetPatchFetchRef() string {
if x != nil {
return x.PatchFetchRef
}
return ""
}
type Manifest_CIPDPackage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The package pattern that was given to the CIPD client (if known).
//
// Ex.
// infra/tools/luci/led/${platform}
PackagePattern string `protobuf:"bytes,1,opt,name=package_pattern,json=packagePattern,proto3" json:"package_pattern,omitempty"`
// The fully resolved instance ID of the deployed package.
//
// Ex.
// 0cfafb3a705bd8f05f86c6444ff500397fbb711c
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// The unresolved version ID of the deployed package (if known).
//
// Ex.
// git_revision:aaf3a2cfccc227b5141caa1b6b3502c9907d7420
// latest
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
}
func (x *Manifest_CIPDPackage) Reset() {
*x = Manifest_CIPDPackage{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Manifest_CIPDPackage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Manifest_CIPDPackage) ProtoMessage() {}
func (x *Manifest_CIPDPackage) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Manifest_CIPDPackage.ProtoReflect.Descriptor instead.
func (*Manifest_CIPDPackage) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescGZIP(), []int{0, 1}
}
func (x *Manifest_CIPDPackage) GetPackagePattern() string {
if x != nil {
return x.PackagePattern
}
return ""
}
func (x *Manifest_CIPDPackage) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *Manifest_CIPDPackage) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
type Manifest_Isolated struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The namespace of the isolated document.
//
// Ex.
// default-gzip
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
// The hash of the isolated document.
//
// Ex.
// 62a7df62ea122380afb306bb4d9cdac1bc7e9a96
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
}
func (x *Manifest_Isolated) Reset() {
*x = Manifest_Isolated{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Manifest_Isolated) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Manifest_Isolated) ProtoMessage() {}
func (x *Manifest_Isolated) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Manifest_Isolated.ProtoReflect.Descriptor instead.
func (*Manifest_Isolated) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescGZIP(), []int{0, 2}
}
func (x *Manifest_Isolated) GetNamespace() string {
if x != nil {
return x.Namespace
}
return ""
}
func (x *Manifest_Isolated) GetHash() string {
if x != nil {
return x.Hash
}
return ""
}
// A Directory contains one or more descriptions of deployed artifacts. Note
// that due to the practical nature of jobs on bots, it may be the case that
// a given directory contains e.g. a git checkout and multiple cipd packages.
type Manifest_Directory struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GitCheckout *Manifest_GitCheckout `protobuf:"bytes,1,opt,name=git_checkout,json=gitCheckout,proto3" json:"git_checkout,omitempty"`
// The canonicalized hostname of the CIPD server which hosts the CIPD
// packages (if any). If no CIPD packages are in this Directory, this must
// be blank.
//
// Ex.
// chrome-infra-packages.appspot.com
CipdServerHost string `protobuf:"bytes,2,opt,name=cipd_server_host,json=cipdServerHost,proto3" json:"cipd_server_host,omitempty"`
// Maps CIPD package name to CIPDPackage.
//
// Ex.
// "some/package/name": {...}
// "other/package": {...}
CipdPackage map[string]*Manifest_CIPDPackage `protobuf:"bytes,4,rep,name=cipd_package,json=cipdPackage,proto3" json:"cipd_package,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The canonicalized hostname of the isolated server which hosts the
// isolated. If no Isolated objects are in this Directory, this must be
// blank.
//
// Ex.
// isolateserver.appspot.com
IsolatedServerHost string `protobuf:"bytes,5,opt,name=isolated_server_host,json=isolatedServerHost,proto3" json:"isolated_server_host,omitempty"`
// A list of all isolateds which have been installed in this directory.
Isolated []*Manifest_Isolated `protobuf:"bytes,6,rep,name=isolated,proto3" json:"isolated,omitempty"`
}
func (x *Manifest_Directory) Reset() {
*x = Manifest_Directory{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Manifest_Directory) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Manifest_Directory) ProtoMessage() {}
func (x *Manifest_Directory) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Manifest_Directory.ProtoReflect.Descriptor instead.
func (*Manifest_Directory) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescGZIP(), []int{0, 3}
}
func (x *Manifest_Directory) GetGitCheckout() *Manifest_GitCheckout {
if x != nil {
return x.GitCheckout
}
return nil
}
func (x *Manifest_Directory) GetCipdServerHost() string {
if x != nil {
return x.CipdServerHost
}
return ""
}
func (x *Manifest_Directory) GetCipdPackage() map[string]*Manifest_CIPDPackage {
if x != nil {
return x.CipdPackage
}
return nil
}
func (x *Manifest_Directory) GetIsolatedServerHost() string {
if x != nil {
return x.IsolatedServerHost
}
return ""
}
func (x *Manifest_Directory) GetIsolated() []*Manifest_Isolated {
if x != nil {
return x.Isolated
}
return nil
}
var File_go_chromium_org_luci_common_proto_srcman_manifest_proto protoreflect.FileDescriptor
var file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDesc = []byte{
0x0a, 0x37, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x72, 0x63, 0x6d, 0x61, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66,
0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x73, 0x72, 0x63, 0x6d, 0x61,
0x6e, 0x22, 0xd6, 0x07, 0x0a, 0x08, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x18,
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x0b, 0x64, 0x69, 0x72, 0x65,
0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
0x73, 0x72, 0x63, 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e,
0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x1a, 0xcd, 0x01,
0x0a, 0x0b, 0x47, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x12, 0x19, 0x0a,
0x08, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x72, 0x65, 0x70, 0x6f, 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x74, 0x63,
0x68, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x65, 0x74,
0x63, 0x68, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,
0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x66, 0x12, 0x25,
0x0a, 0x0e, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x76,
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x66,
0x65, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
0x70, 0x61, 0x74, 0x63, 0x68, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x66, 0x1a, 0x71, 0x0a,
0x0b, 0x43, 0x49, 0x50, 0x44, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f,
0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x61,
0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74,
0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
0x1a, 0x3c, 0x0a, 0x08, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09,
0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61,
0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x1a, 0x8d,
0x03, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3f, 0x0a, 0x0c,
0x67, 0x69, 0x74, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x72, 0x63, 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x61, 0x6e, 0x69,
0x66, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74,
0x52, 0x0b, 0x67, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x12, 0x28, 0x0a,
0x10, 0x63, 0x69, 0x70, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x68, 0x6f, 0x73,
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x69, 0x70, 0x64, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x0c, 0x63, 0x69, 0x70, 0x64, 0x5f,
0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
0x73, 0x72, 0x63, 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e,
0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x43, 0x69, 0x70, 0x64, 0x50, 0x61,
0x63, 0x6b, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x63, 0x69, 0x70, 0x64,
0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x73, 0x6f, 0x6c, 0x61,
0x74, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x73, 0x6f,
0x6c, 0x61, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x72,
0x63, 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x73,
0x6f, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x08, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x64,
0x1a, 0x5c, 0x0a, 0x10, 0x43, 0x69, 0x70, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x72, 0x63, 0x6d, 0x61, 0x6e, 0x2e, 0x4d,
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x49, 0x50, 0x44, 0x50, 0x61, 0x63, 0x6b,
0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5a,
0x0a, 0x10, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x72, 0x63, 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x61, 0x6e,
0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x38, 0x0a, 0x0c, 0x4d, 0x61,
0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72,
0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06,
0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x68,
0x61, 0x32, 0x35, 0x36, 0x42, 0x2a, 0x5a, 0x28, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d,
0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d,
0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x72, 0x63, 0x6d, 0x61, 0x6e,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescOnce sync.Once
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescData = file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDesc
)
func file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescGZIP() []byte {
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescOnce.Do(func() {
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescData)
})
return file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDescData
}
var file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_go_chromium_org_luci_common_proto_srcman_manifest_proto_goTypes = []interface{}{
(*Manifest)(nil), // 0: srcman.Manifest
(*ManifestLink)(nil), // 1: srcman.ManifestLink
(*Manifest_GitCheckout)(nil), // 2: srcman.Manifest.GitCheckout
(*Manifest_CIPDPackage)(nil), // 3: srcman.Manifest.CIPDPackage
(*Manifest_Isolated)(nil), // 4: srcman.Manifest.Isolated
(*Manifest_Directory)(nil), // 5: srcman.Manifest.Directory
nil, // 6: srcman.Manifest.DirectoriesEntry
nil, // 7: srcman.Manifest.Directory.CipdPackageEntry
}
var file_go_chromium_org_luci_common_proto_srcman_manifest_proto_depIdxs = []int32{
6, // 0: srcman.Manifest.directories:type_name -> srcman.Manifest.DirectoriesEntry
2, // 1: srcman.Manifest.Directory.git_checkout:type_name -> srcman.Manifest.GitCheckout
7, // 2: srcman.Manifest.Directory.cipd_package:type_name -> srcman.Manifest.Directory.CipdPackageEntry
4, // 3: srcman.Manifest.Directory.isolated:type_name -> srcman.Manifest.Isolated
5, // 4: srcman.Manifest.DirectoriesEntry.value:type_name -> srcman.Manifest.Directory
3, // 5: srcman.Manifest.Directory.CipdPackageEntry.value:type_name -> srcman.Manifest.CIPDPackage
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_go_chromium_org_luci_common_proto_srcman_manifest_proto_init() }
func file_go_chromium_org_luci_common_proto_srcman_manifest_proto_init() {
if File_go_chromium_org_luci_common_proto_srcman_manifest_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Manifest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ManifestLink); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Manifest_GitCheckout); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Manifest_CIPDPackage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Manifest_Isolated); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Manifest_Directory); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDesc,
NumEnums: 0,
NumMessages: 8,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_go_chromium_org_luci_common_proto_srcman_manifest_proto_goTypes,
DependencyIndexes: file_go_chromium_org_luci_common_proto_srcman_manifest_proto_depIdxs,
MessageInfos: file_go_chromium_org_luci_common_proto_srcman_manifest_proto_msgTypes,
}.Build()
File_go_chromium_org_luci_common_proto_srcman_manifest_proto = out.File
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_rawDesc = nil
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_goTypes = nil
file_go_chromium_org_luci_common_proto_srcman_manifest_proto_depIdxs = nil
}