-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchanges.pb.go
8410 lines (7392 loc) · 331 KB
/
changes.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
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc (unknown)
// source: changes.proto
package sdp
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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)
)
type ItemDiffStatus int32
const (
ItemDiffStatus_ITEM_DIFF_STATUS_UNSPECIFIED ItemDiffStatus = 0
ItemDiffStatus_ITEM_DIFF_STATUS_UNCHANGED ItemDiffStatus = 1
ItemDiffStatus_ITEM_DIFF_STATUS_CREATED ItemDiffStatus = 2
ItemDiffStatus_ITEM_DIFF_STATUS_UPDATED ItemDiffStatus = 3
ItemDiffStatus_ITEM_DIFF_STATUS_DELETED ItemDiffStatus = 4
ItemDiffStatus_ITEM_DIFF_STATUS_REPLACED ItemDiffStatus = 5
)
// Enum value maps for ItemDiffStatus.
var (
ItemDiffStatus_name = map[int32]string{
0: "ITEM_DIFF_STATUS_UNSPECIFIED",
1: "ITEM_DIFF_STATUS_UNCHANGED",
2: "ITEM_DIFF_STATUS_CREATED",
3: "ITEM_DIFF_STATUS_UPDATED",
4: "ITEM_DIFF_STATUS_DELETED",
5: "ITEM_DIFF_STATUS_REPLACED",
}
ItemDiffStatus_value = map[string]int32{
"ITEM_DIFF_STATUS_UNSPECIFIED": 0,
"ITEM_DIFF_STATUS_UNCHANGED": 1,
"ITEM_DIFF_STATUS_CREATED": 2,
"ITEM_DIFF_STATUS_UPDATED": 3,
"ITEM_DIFF_STATUS_DELETED": 4,
"ITEM_DIFF_STATUS_REPLACED": 5,
}
)
func (x ItemDiffStatus) Enum() *ItemDiffStatus {
p := new(ItemDiffStatus)
*p = x
return p
}
func (x ItemDiffStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ItemDiffStatus) Descriptor() protoreflect.EnumDescriptor {
return file_changes_proto_enumTypes[0].Descriptor()
}
func (ItemDiffStatus) Type() protoreflect.EnumType {
return &file_changes_proto_enumTypes[0]
}
func (x ItemDiffStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ItemDiffStatus.Descriptor instead.
func (ItemDiffStatus) EnumDescriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{0}
}
type ChangeStatus int32
const (
// The change has been created, but the blast radius has not yet been
// calculated. The blast radius can be calculated using the
// `CalculateBlastRadius` RPC.
ChangeStatus_CHANGE_STATUS_UNSPECIFIED ChangeStatus = 0
// The blast radius has been calculated, but the change has not yet started.
// The change can be started using the `StartChange` RPC.
ChangeStatus_CHANGE_STATUS_DEFINING ChangeStatus = 1
// The change is in progress. The change can be ended using the `EndChange`
// RPC.
ChangeStatus_CHANGE_STATUS_HAPPENING ChangeStatus = 2
// The change has been ended, but the results have not yet been processed.
ChangeStatus_CHANGE_STATUS_PROCESSING ChangeStatus = 3
// The change has been ended and the results have been processed.
ChangeStatus_CHANGE_STATUS_DONE ChangeStatus = 4
)
// Enum value maps for ChangeStatus.
var (
ChangeStatus_name = map[int32]string{
0: "CHANGE_STATUS_UNSPECIFIED",
1: "CHANGE_STATUS_DEFINING",
2: "CHANGE_STATUS_HAPPENING",
3: "CHANGE_STATUS_PROCESSING",
4: "CHANGE_STATUS_DONE",
}
ChangeStatus_value = map[string]int32{
"CHANGE_STATUS_UNSPECIFIED": 0,
"CHANGE_STATUS_DEFINING": 1,
"CHANGE_STATUS_HAPPENING": 2,
"CHANGE_STATUS_PROCESSING": 3,
"CHANGE_STATUS_DONE": 4,
}
)
func (x ChangeStatus) Enum() *ChangeStatus {
p := new(ChangeStatus)
*p = x
return p
}
func (x ChangeStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ChangeStatus) Descriptor() protoreflect.EnumDescriptor {
return file_changes_proto_enumTypes[1].Descriptor()
}
func (ChangeStatus) Type() protoreflect.EnumType {
return &file_changes_proto_enumTypes[1]
}
func (x ChangeStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ChangeStatus.Descriptor instead.
func (ChangeStatus) EnumDescriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{1}
}
type OnboardingStatus int32
const (
OnboardingStatus_ONBOARDING_STATUS_UNSPECIFIED OnboardingStatus = 0
OnboardingStatus_ONBOARDING_STATUS_ADD_AWS_ACCOUNT OnboardingStatus = 1
OnboardingStatus_ONBOARDING_STATUS_ADD_APP OnboardingStatus = 2
OnboardingStatus_ONBOARDING_STATUS_CREATE_CHANGE OnboardingStatus = 3
OnboardingStatus_ONBOARDING_STATUS_SIMULATE_CHANGE OnboardingStatus = 4
OnboardingStatus_ONBOARDING_STATUS_DONE OnboardingStatus = 5
)
// Enum value maps for OnboardingStatus.
var (
OnboardingStatus_name = map[int32]string{
0: "ONBOARDING_STATUS_UNSPECIFIED",
1: "ONBOARDING_STATUS_ADD_AWS_ACCOUNT",
2: "ONBOARDING_STATUS_ADD_APP",
3: "ONBOARDING_STATUS_CREATE_CHANGE",
4: "ONBOARDING_STATUS_SIMULATE_CHANGE",
5: "ONBOARDING_STATUS_DONE",
}
OnboardingStatus_value = map[string]int32{
"ONBOARDING_STATUS_UNSPECIFIED": 0,
"ONBOARDING_STATUS_ADD_AWS_ACCOUNT": 1,
"ONBOARDING_STATUS_ADD_APP": 2,
"ONBOARDING_STATUS_CREATE_CHANGE": 3,
"ONBOARDING_STATUS_SIMULATE_CHANGE": 4,
"ONBOARDING_STATUS_DONE": 5,
}
)
func (x OnboardingStatus) Enum() *OnboardingStatus {
p := new(OnboardingStatus)
*p = x
return p
}
func (x OnboardingStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (OnboardingStatus) Descriptor() protoreflect.EnumDescriptor {
return file_changes_proto_enumTypes[2].Descriptor()
}
func (OnboardingStatus) Type() protoreflect.EnumType {
return &file_changes_proto_enumTypes[2]
}
func (x OnboardingStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use OnboardingStatus.Descriptor instead.
func (OnboardingStatus) EnumDescriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{2}
}
// origin of auto-tagging rules
// this is an enum of file or ui provided rules
type ChangeProperties_AutoTaggingRuleSource int32
const (
ChangeProperties_AUTO_TAGGING_RULE_SOURCE_UNSPECIFIED ChangeProperties_AutoTaggingRuleSource = 0
ChangeProperties_AUTO_TAGGING_RULE_SOURCE_FILE ChangeProperties_AutoTaggingRuleSource = 1
ChangeProperties_AUTO_TAGGING_RULE_SOURCE_UI ChangeProperties_AutoTaggingRuleSource = 2
)
// Enum value maps for ChangeProperties_AutoTaggingRuleSource.
var (
ChangeProperties_AutoTaggingRuleSource_name = map[int32]string{
0: "AUTO_TAGGING_RULE_SOURCE_UNSPECIFIED",
1: "AUTO_TAGGING_RULE_SOURCE_FILE",
2: "AUTO_TAGGING_RULE_SOURCE_UI",
}
ChangeProperties_AutoTaggingRuleSource_value = map[string]int32{
"AUTO_TAGGING_RULE_SOURCE_UNSPECIFIED": 0,
"AUTO_TAGGING_RULE_SOURCE_FILE": 1,
"AUTO_TAGGING_RULE_SOURCE_UI": 2,
}
)
func (x ChangeProperties_AutoTaggingRuleSource) Enum() *ChangeProperties_AutoTaggingRuleSource {
p := new(ChangeProperties_AutoTaggingRuleSource)
*p = x
return p
}
func (x ChangeProperties_AutoTaggingRuleSource) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ChangeProperties_AutoTaggingRuleSource) Descriptor() protoreflect.EnumDescriptor {
return file_changes_proto_enumTypes[3].Descriptor()
}
func (ChangeProperties_AutoTaggingRuleSource) Type() protoreflect.EnumType {
return &file_changes_proto_enumTypes[3]
}
func (x ChangeProperties_AutoTaggingRuleSource) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ChangeProperties_AutoTaggingRuleSource.Descriptor instead.
func (ChangeProperties_AutoTaggingRuleSource) EnumDescriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{69, 0}
}
type CalculateBlastRadiusResponse_State int32
const (
// No state has been specified
CalculateBlastRadiusResponse_STATE_UNSPECIFIED CalculateBlastRadiusResponse_State = 0
// The blast radius is being calculated.
CalculateBlastRadiusResponse_STATE_DISCOVERING CalculateBlastRadiusResponse_State = 1
// The blast radius has been calculated and is being saved
CalculateBlastRadiusResponse_STATE_SAVING CalculateBlastRadiusResponse_State = 2
// Determining which apps are within the blast radius
CalculateBlastRadiusResponse_STATE_FINDING_APPS CalculateBlastRadiusResponse_State = 3
// Everything is complete
CalculateBlastRadiusResponse_STATE_DONE CalculateBlastRadiusResponse_State = 4
)
// Enum value maps for CalculateBlastRadiusResponse_State.
var (
CalculateBlastRadiusResponse_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "STATE_DISCOVERING",
2: "STATE_SAVING",
3: "STATE_FINDING_APPS",
4: "STATE_DONE",
}
CalculateBlastRadiusResponse_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STATE_DISCOVERING": 1,
"STATE_SAVING": 2,
"STATE_FINDING_APPS": 3,
"STATE_DONE": 4,
}
)
func (x CalculateBlastRadiusResponse_State) Enum() *CalculateBlastRadiusResponse_State {
p := new(CalculateBlastRadiusResponse_State)
*p = x
return p
}
func (x CalculateBlastRadiusResponse_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CalculateBlastRadiusResponse_State) Descriptor() protoreflect.EnumDescriptor {
return file_changes_proto_enumTypes[4].Descriptor()
}
func (CalculateBlastRadiusResponse_State) Type() protoreflect.EnumType {
return &file_changes_proto_enumTypes[4]
}
func (x CalculateBlastRadiusResponse_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use CalculateBlastRadiusResponse_State.Descriptor instead.
func (CalculateBlastRadiusResponse_State) EnumDescriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{90, 0}
}
type StartChangeResponse_State int32
const (
// No state has been specified
StartChangeResponse_STATE_UNSPECIFIED StartChangeResponse_State = 0
// Snapshot is being taken
StartChangeResponse_STATE_TAKING_SNAPSHOT StartChangeResponse_State = 1
// Snapshot is being saved
StartChangeResponse_STATE_SAVING_SNAPSHOT StartChangeResponse_State = 2
// Everything is complete
StartChangeResponse_STATE_DONE StartChangeResponse_State = 3
)
// Enum value maps for StartChangeResponse_State.
var (
StartChangeResponse_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "STATE_TAKING_SNAPSHOT",
2: "STATE_SAVING_SNAPSHOT",
3: "STATE_DONE",
}
StartChangeResponse_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STATE_TAKING_SNAPSHOT": 1,
"STATE_SAVING_SNAPSHOT": 2,
"STATE_DONE": 3,
}
)
func (x StartChangeResponse_State) Enum() *StartChangeResponse_State {
p := new(StartChangeResponse_State)
*p = x
return p
}
func (x StartChangeResponse_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (StartChangeResponse_State) Descriptor() protoreflect.EnumDescriptor {
return file_changes_proto_enumTypes[5].Descriptor()
}
func (StartChangeResponse_State) Type() protoreflect.EnumType {
return &file_changes_proto_enumTypes[5]
}
func (x StartChangeResponse_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use StartChangeResponse_State.Descriptor instead.
func (StartChangeResponse_State) EnumDescriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{92, 0}
}
type EndChangeResponse_State int32
const (
// No state has been specified
EndChangeResponse_STATE_UNSPECIFIED EndChangeResponse_State = 0
// Snapshot is being taken
EndChangeResponse_STATE_TAKING_SNAPSHOT EndChangeResponse_State = 1
// Snapshot is being saved
EndChangeResponse_STATE_SAVING_SNAPSHOT EndChangeResponse_State = 2
// Everything is complete
EndChangeResponse_STATE_DONE EndChangeResponse_State = 3
)
// Enum value maps for EndChangeResponse_State.
var (
EndChangeResponse_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "STATE_TAKING_SNAPSHOT",
2: "STATE_SAVING_SNAPSHOT",
3: "STATE_DONE",
}
EndChangeResponse_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STATE_TAKING_SNAPSHOT": 1,
"STATE_SAVING_SNAPSHOT": 2,
"STATE_DONE": 3,
}
)
func (x EndChangeResponse_State) Enum() *EndChangeResponse_State {
p := new(EndChangeResponse_State)
*p = x
return p
}
func (x EndChangeResponse_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (EndChangeResponse_State) Descriptor() protoreflect.EnumDescriptor {
return file_changes_proto_enumTypes[6].Descriptor()
}
func (EndChangeResponse_State) Type() protoreflect.EnumType {
return &file_changes_proto_enumTypes[6]
}
func (x EndChangeResponse_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use EndChangeResponse_State.Descriptor instead.
func (EndChangeResponse_State) EnumDescriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{94, 0}
}
type Risk_Severity int32
const (
Risk_SEVERITY_UNSPECIFIED Risk_Severity = 0
Risk_SEVERITY_LOW Risk_Severity = 1
Risk_SEVERITY_MEDIUM Risk_Severity = 2
Risk_SEVERITY_HIGH Risk_Severity = 3
)
// Enum value maps for Risk_Severity.
var (
Risk_Severity_name = map[int32]string{
0: "SEVERITY_UNSPECIFIED",
1: "SEVERITY_LOW",
2: "SEVERITY_MEDIUM",
3: "SEVERITY_HIGH",
}
Risk_Severity_value = map[string]int32{
"SEVERITY_UNSPECIFIED": 0,
"SEVERITY_LOW": 1,
"SEVERITY_MEDIUM": 2,
"SEVERITY_HIGH": 3,
}
)
func (x Risk_Severity) Enum() *Risk_Severity {
p := new(Risk_Severity)
*p = x
return p
}
func (x Risk_Severity) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Risk_Severity) Descriptor() protoreflect.EnumDescriptor {
return file_changes_proto_enumTypes[7].Descriptor()
}
func (Risk_Severity) Type() protoreflect.EnumType {
return &file_changes_proto_enumTypes[7]
}
func (x Risk_Severity) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Risk_Severity.Descriptor instead.
func (Risk_Severity) EnumDescriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{104, 0}
}
type ChangeAnalysisStatus_Status int32
const (
ChangeAnalysisStatus_STATUS_UNSPECIFIED ChangeAnalysisStatus_Status = 0
ChangeAnalysisStatus_STATUS_INPROGRESS ChangeAnalysisStatus_Status = 1
ChangeAnalysisStatus_STATUS_SKIPPED ChangeAnalysisStatus_Status = 2
ChangeAnalysisStatus_STATUS_DONE ChangeAnalysisStatus_Status = 3
ChangeAnalysisStatus_STATUS_ERROR ChangeAnalysisStatus_Status = 4
)
// Enum value maps for ChangeAnalysisStatus_Status.
var (
ChangeAnalysisStatus_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_INPROGRESS",
2: "STATUS_SKIPPED",
3: "STATUS_DONE",
4: "STATUS_ERROR",
}
ChangeAnalysisStatus_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_INPROGRESS": 1,
"STATUS_SKIPPED": 2,
"STATUS_DONE": 3,
"STATUS_ERROR": 4,
}
)
func (x ChangeAnalysisStatus_Status) Enum() *ChangeAnalysisStatus_Status {
p := new(ChangeAnalysisStatus_Status)
*p = x
return p
}
func (x ChangeAnalysisStatus_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ChangeAnalysisStatus_Status) Descriptor() protoreflect.EnumDescriptor {
return file_changes_proto_enumTypes[8].Descriptor()
}
func (ChangeAnalysisStatus_Status) Type() protoreflect.EnumType {
return &file_changes_proto_enumTypes[8]
}
func (x ChangeAnalysisStatus_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ChangeAnalysisStatus_Status.Descriptor instead.
func (ChangeAnalysisStatus_Status) EnumDescriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{105, 0}
}
type ChangeAnalysisStatus_ProgressMilestone_Status int32
const (
// The milestone hasn't been reached yet
ChangeAnalysisStatus_ProgressMilestone_STATUS_PENDING ChangeAnalysisStatus_ProgressMilestone_Status = 0
// The milestone is currently being worked on
ChangeAnalysisStatus_ProgressMilestone_STATUS_INPROGRESS ChangeAnalysisStatus_ProgressMilestone_Status = 1
// The milestone has been completed
ChangeAnalysisStatus_ProgressMilestone_STATUS_DONE ChangeAnalysisStatus_ProgressMilestone_Status = 2
// The milestone failed
ChangeAnalysisStatus_ProgressMilestone_STATUS_ERROR ChangeAnalysisStatus_ProgressMilestone_Status = 3
// The milestone was skipped. This will happen to future milestones if
// there is an error. For example an error at step 1 will mean the others
// were skipped
ChangeAnalysisStatus_ProgressMilestone_STATUS_SKIPPED ChangeAnalysisStatus_ProgressMilestone_Status = 4
)
// Enum value maps for ChangeAnalysisStatus_ProgressMilestone_Status.
var (
ChangeAnalysisStatus_ProgressMilestone_Status_name = map[int32]string{
0: "STATUS_PENDING",
1: "STATUS_INPROGRESS",
2: "STATUS_DONE",
3: "STATUS_ERROR",
4: "STATUS_SKIPPED",
}
ChangeAnalysisStatus_ProgressMilestone_Status_value = map[string]int32{
"STATUS_PENDING": 0,
"STATUS_INPROGRESS": 1,
"STATUS_DONE": 2,
"STATUS_ERROR": 3,
"STATUS_SKIPPED": 4,
}
)
func (x ChangeAnalysisStatus_ProgressMilestone_Status) Enum() *ChangeAnalysisStatus_ProgressMilestone_Status {
p := new(ChangeAnalysisStatus_ProgressMilestone_Status)
*p = x
return p
}
func (x ChangeAnalysisStatus_ProgressMilestone_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ChangeAnalysisStatus_ProgressMilestone_Status) Descriptor() protoreflect.EnumDescriptor {
return file_changes_proto_enumTypes[9].Descriptor()
}
func (ChangeAnalysisStatus_ProgressMilestone_Status) Type() protoreflect.EnumType {
return &file_changes_proto_enumTypes[9]
}
func (x ChangeAnalysisStatus_ProgressMilestone_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ChangeAnalysisStatus_ProgressMilestone_Status.Descriptor instead.
func (ChangeAnalysisStatus_ProgressMilestone_Status) EnumDescriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{105, 0, 0}
}
type RuleMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The unique identifier for this rule
UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
// The time that this rule was created
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
// The time that this rule was last run
LastRunAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=lastRunAt,proto3" json:"lastRunAt,omitempty"`
// The time that this rule added a tag to a change
LastActivated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=lastActivated,proto3" json:"lastActivated,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RuleMetadata) Reset() {
*x = RuleMetadata{}
mi := &file_changes_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RuleMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RuleMetadata) ProtoMessage() {}
func (x *RuleMetadata) ProtoReflect() protoreflect.Message {
mi := &file_changes_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RuleMetadata.ProtoReflect.Descriptor instead.
func (*RuleMetadata) Descriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{0}
}
func (x *RuleMetadata) GetUUID() []byte {
if x != nil {
return x.UUID
}
return nil
}
func (x *RuleMetadata) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *RuleMetadata) GetLastRunAt() *timestamppb.Timestamp {
if x != nil {
return x.LastRunAt
}
return nil
}
func (x *RuleMetadata) GetLastActivated() *timestamppb.Timestamp {
if x != nil {
return x.LastActivated
}
return nil
}
type RuleProperties struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The name of the rule, friendly for users
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The key that will be set in a change's tags if this rule is applied
TagKey string `protobuf:"bytes,2,opt,name=tagKey,proto3" json:"tagKey,omitempty"`
// Whether the rule is enabled or not
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
// The instructions that will be run by the llm to determine if the tag should
// be applied and what its value should be
Instructions string `protobuf:"bytes,4,opt,name=instructions,proto3" json:"instructions,omitempty"`
// A list of valid tag values.
//
// If this list is empty then the tag will have no value. Overmind will
// evaluate the instructions in the context of each incoming change, and if
// instructed, it will tag that change with the given `tagKey` and an empty
// value.
//
// If this list is populated, Overmind will evaluate the instructions in the
// context of each incoming change and decide; whether to tag the change at
// all, and if so, what value to use.
ValidValues []string `protobuf:"bytes,5,rep,name=validValues,proto3" json:"validValues,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RuleProperties) Reset() {
*x = RuleProperties{}
mi := &file_changes_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RuleProperties) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RuleProperties) ProtoMessage() {}
func (x *RuleProperties) ProtoReflect() protoreflect.Message {
mi := &file_changes_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RuleProperties.ProtoReflect.Descriptor instead.
func (*RuleProperties) Descriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{1}
}
func (x *RuleProperties) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *RuleProperties) GetTagKey() string {
if x != nil {
return x.TagKey
}
return ""
}
func (x *RuleProperties) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *RuleProperties) GetInstructions() string {
if x != nil {
return x.Instructions
}
return ""
}
func (x *RuleProperties) GetValidValues() []string {
if x != nil {
return x.ValidValues
}
return nil
}
type Rule struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The auto-generated metadata for this rule
Metadata *RuleMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// The user provided properties for this rule
Properties *RuleProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Rule) Reset() {
*x = Rule{}
mi := &file_changes_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Rule) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Rule) ProtoMessage() {}
func (x *Rule) ProtoReflect() protoreflect.Message {
mi := &file_changes_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Rule.ProtoReflect.Descriptor instead.
func (*Rule) Descriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{2}
}
func (x *Rule) GetMetadata() *RuleMetadata {
if x != nil {
return x.Metadata
}
return nil
}
func (x *Rule) GetProperties() *RuleProperties {
if x != nil {
return x.Properties
}
return nil
}
type ListRulesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRulesRequest) Reset() {
*x = ListRulesRequest{}
mi := &file_changes_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRulesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRulesRequest) ProtoMessage() {}
func (x *ListRulesRequest) ProtoReflect() protoreflect.Message {
mi := &file_changes_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListRulesRequest.ProtoReflect.Descriptor instead.
func (*ListRulesRequest) Descriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{3}
}
type ListRulesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRulesResponse) Reset() {
*x = ListRulesResponse{}
mi := &file_changes_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRulesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRulesResponse) ProtoMessage() {}
func (x *ListRulesResponse) ProtoReflect() protoreflect.Message {
mi := &file_changes_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListRulesResponse.ProtoReflect.Descriptor instead.
func (*ListRulesResponse) Descriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{4}
}
func (x *ListRulesResponse) GetRules() []*Rule {
if x != nil {
return x.Rules
}
return nil
}
type CreateRuleRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Properties *RuleProperties `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateRuleRequest) Reset() {
*x = CreateRuleRequest{}
mi := &file_changes_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateRuleRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateRuleRequest) ProtoMessage() {}
func (x *CreateRuleRequest) ProtoReflect() protoreflect.Message {
mi := &file_changes_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateRuleRequest) Descriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{5}
}
func (x *CreateRuleRequest) GetProperties() *RuleProperties {
if x != nil {
return x.Properties
}
return nil
}
type CreateRuleResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateRuleResponse) Reset() {
*x = CreateRuleResponse{}
mi := &file_changes_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateRuleResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateRuleResponse) ProtoMessage() {}
func (x *CreateRuleResponse) ProtoReflect() protoreflect.Message {
mi := &file_changes_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateRuleResponse.ProtoReflect.Descriptor instead.
func (*CreateRuleResponse) Descriptor() ([]byte, []int) {
return file_changes_proto_rawDescGZIP(), []int{6}
}
func (x *CreateRuleResponse) GetRule() *Rule {
if x != nil {
return x.Rule
}
return nil
}
type GetRuleRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetRuleRequest) Reset() {
*x = GetRuleRequest{}
mi := &file_changes_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetRuleRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetRuleRequest) ProtoMessage() {}