-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathrecurring_run.pb.go
More file actions
1269 lines (1110 loc) · 48.3 KB
/
recurring_run.pb.go
File metadata and controls
1269 lines (1110 loc) · 48.3 KB
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
// Copyright 2022 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.6
// protoc v6.31.1
// source: backend/api/v2beta1/recurring_run.proto
package go_client
import (
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
_ "google.golang.org/genproto/googleapis/api/annotations"
status "google.golang.org/genproto/googleapis/rpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
structpb "google.golang.org/protobuf/types/known/structpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
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 DeletePropagationPolicy int32
const (
DeletePropagationPolicy_DELETE_PROPAGATION_POLICY_UNSPECIFIED DeletePropagationPolicy = 0
DeletePropagationPolicy_FOREGROUND DeletePropagationPolicy = 1
DeletePropagationPolicy_BACKGROUND DeletePropagationPolicy = 2
DeletePropagationPolicy_ORPHAN DeletePropagationPolicy = 3
)
// Enum value maps for DeletePropagationPolicy.
var (
DeletePropagationPolicy_name = map[int32]string{
0: "DELETE_PROPAGATION_POLICY_UNSPECIFIED",
1: "FOREGROUND",
2: "BACKGROUND",
3: "ORPHAN",
}
DeletePropagationPolicy_value = map[string]int32{
"DELETE_PROPAGATION_POLICY_UNSPECIFIED": 0,
"FOREGROUND": 1,
"BACKGROUND": 2,
"ORPHAN": 3,
}
)
func (x DeletePropagationPolicy) Enum() *DeletePropagationPolicy {
p := new(DeletePropagationPolicy)
*p = x
return p
}
func (x DeletePropagationPolicy) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DeletePropagationPolicy) Descriptor() protoreflect.EnumDescriptor {
return file_backend_api_v2beta1_recurring_run_proto_enumTypes[0].Descriptor()
}
func (DeletePropagationPolicy) Type() protoreflect.EnumType {
return &file_backend_api_v2beta1_recurring_run_proto_enumTypes[0]
}
func (x DeletePropagationPolicy) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DeletePropagationPolicy.Descriptor instead.
func (DeletePropagationPolicy) EnumDescriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{0}
}
// Required input.
// User setting to enable or disable the recurring run.
// Only used for creation of recurring runs. Later updates use enable/disable API.
type RecurringRun_Mode int32
const (
RecurringRun_MODE_UNSPECIFIED RecurringRun_Mode = 0
RecurringRun_ENABLE RecurringRun_Mode = 1
// The recurring run won't schedule any run if disabled.
RecurringRun_DISABLE RecurringRun_Mode = 2
)
// Enum value maps for RecurringRun_Mode.
var (
RecurringRun_Mode_name = map[int32]string{
0: "MODE_UNSPECIFIED",
1: "ENABLE",
2: "DISABLE",
}
RecurringRun_Mode_value = map[string]int32{
"MODE_UNSPECIFIED": 0,
"ENABLE": 1,
"DISABLE": 2,
}
)
func (x RecurringRun_Mode) Enum() *RecurringRun_Mode {
p := new(RecurringRun_Mode)
*p = x
return p
}
func (x RecurringRun_Mode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (RecurringRun_Mode) Descriptor() protoreflect.EnumDescriptor {
return file_backend_api_v2beta1_recurring_run_proto_enumTypes[1].Descriptor()
}
func (RecurringRun_Mode) Type() protoreflect.EnumType {
return &file_backend_api_v2beta1_recurring_run_proto_enumTypes[1]
}
func (x RecurringRun_Mode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use RecurringRun_Mode.Descriptor instead.
func (RecurringRun_Mode) EnumDescriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{0, 0}
}
// Output. The status of the recurring run.
type RecurringRun_Status int32
const (
RecurringRun_STATUS_UNSPECIFIED RecurringRun_Status = 0
RecurringRun_ENABLED RecurringRun_Status = 1
RecurringRun_DISABLED RecurringRun_Status = 3
)
// Enum value maps for RecurringRun_Status.
var (
RecurringRun_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "ENABLED",
3: "DISABLED",
}
RecurringRun_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"ENABLED": 1,
"DISABLED": 3,
}
)
func (x RecurringRun_Status) Enum() *RecurringRun_Status {
p := new(RecurringRun_Status)
*p = x
return p
}
func (x RecurringRun_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (RecurringRun_Status) Descriptor() protoreflect.EnumDescriptor {
return file_backend_api_v2beta1_recurring_run_proto_enumTypes[2].Descriptor()
}
func (RecurringRun_Status) Type() protoreflect.EnumType {
return &file_backend_api_v2beta1_recurring_run_proto_enumTypes[2]
}
func (x RecurringRun_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use RecurringRun_Status.Descriptor instead.
func (RecurringRun_Status) EnumDescriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{0, 1}
}
type RecurringRun struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Output. Unique run ID generated by API server.
RecurringRunId string `protobuf:"bytes,1,opt,name=recurring_run_id,json=recurringRunId,proto3" json:"recurring_run_id,omitempty"`
// Required input field. Recurring run name provided by user. Not unique.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional input field. Describes the purpose of the recurring run.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Required input field. Specifies the source of the pipeline spec for this
// recurring run. Can be either a pipeline id, pipeline version id, or a pipeline spec.
//
// Types that are valid to be assigned to PipelineSource:
//
// *RecurringRun_PipelineVersionId
// *RecurringRun_PipelineSpec
// *RecurringRun_PipelineVersionReference
PipelineSource isRecurringRun_PipelineSource `protobuf_oneof:"pipeline_source"`
// Runtime config of the pipeline.
RuntimeConfig *RuntimeConfig `protobuf:"bytes,6,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"`
// Optional input field. Specifies which Kubernetes service account this recurring run uses.
ServiceAccount string `protobuf:"bytes,7,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Required input field.
// Specifies how many runs can be executed concurrently. Range [1-10].
MaxConcurrency int64 `protobuf:"varint,8,opt,name=max_concurrency,json=maxConcurrency,proto3" json:"max_concurrency,omitempty"`
// Required input field.
// Specifies how a run is triggered. Support cron mode or periodic mode.
Trigger *Trigger `protobuf:"bytes,9,opt,name=trigger,proto3" json:"trigger,omitempty"`
Mode RecurringRun_Mode `protobuf:"varint,10,opt,name=mode,proto3,enum=kubeflow.pipelines.backend.api.v2beta1.RecurringRun_Mode" json:"mode,omitempty"`
// Output. The time this recurring run was created.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Output. The last time this recurring run was updated.
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
Status RecurringRun_Status `protobuf:"varint,13,opt,name=status,proto3,enum=kubeflow.pipelines.backend.api.v2beta1.RecurringRun_Status" json:"status,omitempty"`
// In case any error happens retrieving a recurring run field, only recurring run ID
// and the error message is returned. Client has the flexibility of choosing
// how to handle the error. This is especially useful during listing call.
Error *status.Status `protobuf:"bytes,14,opt,name=error,proto3" json:"error,omitempty"`
// Optional input field. Whether the recurring run should catch up if behind schedule.
// If true, the recurring run will only schedule the latest interval if behind schedule.
// If false, the recurring run will catch up on each past interval.
NoCatchup bool `protobuf:"varint,15,opt,name=no_catchup,json=noCatchup,proto3" json:"no_catchup,omitempty"`
// TODO (gkclat): consider removing this field if it can be obtained from the parent experiment.
// Output only. Namespace this recurring run belongs to. Derived from the parent experiment.
Namespace string `protobuf:"bytes,16,opt,name=namespace,proto3" json:"namespace,omitempty"`
// ID of the parent experiment this recurring run belongs to.
ExperimentId string `protobuf:"bytes,17,opt,name=experiment_id,json=experimentId,proto3" json:"experiment_id,omitempty"`
// Optional input. Plugin inputs to propagate to each triggered run.
// Each triggered run will inherit these values in its plugins_input field.
PluginsInput map[string]*structpb.Struct `protobuf:"bytes,19,rep,name=plugins_input,json=pluginsInput,proto3" json:"plugins_input,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RecurringRun) Reset() {
*x = RecurringRun{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RecurringRun) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RecurringRun) ProtoMessage() {}
func (x *RecurringRun) ProtoReflect() protoreflect.Message {
mi := &file_backend_api_v2beta1_recurring_run_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 RecurringRun.ProtoReflect.Descriptor instead.
func (*RecurringRun) Descriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{0}
}
func (x *RecurringRun) GetRecurringRunId() string {
if x != nil {
return x.RecurringRunId
}
return ""
}
func (x *RecurringRun) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
func (x *RecurringRun) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *RecurringRun) GetPipelineSource() isRecurringRun_PipelineSource {
if x != nil {
return x.PipelineSource
}
return nil
}
// Deprecated: Marked as deprecated in backend/api/v2beta1/recurring_run.proto.
func (x *RecurringRun) GetPipelineVersionId() string {
if x != nil {
if x, ok := x.PipelineSource.(*RecurringRun_PipelineVersionId); ok {
return x.PipelineVersionId
}
}
return ""
}
func (x *RecurringRun) GetPipelineSpec() *structpb.Struct {
if x != nil {
if x, ok := x.PipelineSource.(*RecurringRun_PipelineSpec); ok {
return x.PipelineSpec
}
}
return nil
}
func (x *RecurringRun) GetPipelineVersionReference() *PipelineVersionReference {
if x != nil {
if x, ok := x.PipelineSource.(*RecurringRun_PipelineVersionReference); ok {
return x.PipelineVersionReference
}
}
return nil
}
func (x *RecurringRun) GetRuntimeConfig() *RuntimeConfig {
if x != nil {
return x.RuntimeConfig
}
return nil
}
func (x *RecurringRun) GetServiceAccount() string {
if x != nil {
return x.ServiceAccount
}
return ""
}
func (x *RecurringRun) GetMaxConcurrency() int64 {
if x != nil {
return x.MaxConcurrency
}
return 0
}
func (x *RecurringRun) GetTrigger() *Trigger {
if x != nil {
return x.Trigger
}
return nil
}
func (x *RecurringRun) GetMode() RecurringRun_Mode {
if x != nil {
return x.Mode
}
return RecurringRun_MODE_UNSPECIFIED
}
func (x *RecurringRun) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *RecurringRun) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
func (x *RecurringRun) GetStatus() RecurringRun_Status {
if x != nil {
return x.Status
}
return RecurringRun_STATUS_UNSPECIFIED
}
func (x *RecurringRun) GetError() *status.Status {
if x != nil {
return x.Error
}
return nil
}
func (x *RecurringRun) GetNoCatchup() bool {
if x != nil {
return x.NoCatchup
}
return false
}
func (x *RecurringRun) GetNamespace() string {
if x != nil {
return x.Namespace
}
return ""
}
func (x *RecurringRun) GetExperimentId() string {
if x != nil {
return x.ExperimentId
}
return ""
}
func (x *RecurringRun) GetPluginsInput() map[string]*structpb.Struct {
if x != nil {
return x.PluginsInput
}
return nil
}
type isRecurringRun_PipelineSource interface {
isRecurringRun_PipelineSource()
}
type RecurringRun_PipelineVersionId struct {
// This field is Deprecated. The pipeline version id is under pipeline_version_reference for v2.
//
// Deprecated: Marked as deprecated in backend/api/v2beta1/recurring_run.proto.
PipelineVersionId string `protobuf:"bytes,4,opt,name=pipeline_version_id,json=pipelineVersionId,proto3,oneof"`
}
type RecurringRun_PipelineSpec struct {
// The pipeline spec.
PipelineSpec *structpb.Struct `protobuf:"bytes,5,opt,name=pipeline_spec,json=pipelineSpec,proto3,oneof"`
}
type RecurringRun_PipelineVersionReference struct {
// Reference to a pipeline version containing pipeline_id and pipeline_version_id.
PipelineVersionReference *PipelineVersionReference `protobuf:"bytes,18,opt,name=pipeline_version_reference,json=pipelineVersionReference,proto3,oneof"`
}
func (*RecurringRun_PipelineVersionId) isRecurringRun_PipelineSource() {}
func (*RecurringRun_PipelineSpec) isRecurringRun_PipelineSource() {}
func (*RecurringRun_PipelineVersionReference) isRecurringRun_PipelineSource() {}
type CreateRecurringRunRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The recurring run to be created.
RecurringRun *RecurringRun `protobuf:"bytes,1,opt,name=recurring_run,json=recurringRun,proto3" json:"recurring_run,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateRecurringRunRequest) Reset() {
*x = CreateRecurringRunRequest{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateRecurringRunRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateRecurringRunRequest) ProtoMessage() {}
func (x *CreateRecurringRunRequest) ProtoReflect() protoreflect.Message {
mi := &file_backend_api_v2beta1_recurring_run_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 CreateRecurringRunRequest.ProtoReflect.Descriptor instead.
func (*CreateRecurringRunRequest) Descriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{1}
}
func (x *CreateRecurringRunRequest) GetRecurringRun() *RecurringRun {
if x != nil {
return x.RecurringRun
}
return nil
}
type GetRecurringRunRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the recurring run to be retrieved.
RecurringRunId string `protobuf:"bytes,1,opt,name=recurring_run_id,json=recurringRunId,proto3" json:"recurring_run_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetRecurringRunRequest) Reset() {
*x = GetRecurringRunRequest{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetRecurringRunRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetRecurringRunRequest) ProtoMessage() {}
func (x *GetRecurringRunRequest) ProtoReflect() protoreflect.Message {
mi := &file_backend_api_v2beta1_recurring_run_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 GetRecurringRunRequest.ProtoReflect.Descriptor instead.
func (*GetRecurringRunRequest) Descriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{2}
}
func (x *GetRecurringRunRequest) GetRecurringRunId() string {
if x != nil {
return x.RecurringRunId
}
return ""
}
type ListRecurringRunsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// A page token to request the next page of results. The token is acquired
// from the nextPageToken field of the response from the previous
// ListRecurringRuns call or can be omitted when fetching the first page.
PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The number of recurring runs to be listed per page. If there are more recurring runs
// than this number, the response message will contain a nextPageToken field you can use
// to fetch the next page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Can be formatted as "field_name", "field_name asc" or "field_name desc".
// Ascending by default.
SortBy string `protobuf:"bytes,3,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"`
// Optional input. The namespace the recurring runs belong to.
Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
// A url-encoded, JSON-serialized Filter protocol buffer (see
// [filter.proto](https://github.com/kubeflow/pipelines/blob/master/backend/api/filter.proto)).
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// The ID of the experiment to be retrieved. If empty, list recurring runs across all experiments.
ExperimentId string `protobuf:"bytes,6,opt,name=experiment_id,json=experimentId,proto3" json:"experiment_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRecurringRunsRequest) Reset() {
*x = ListRecurringRunsRequest{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRecurringRunsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRecurringRunsRequest) ProtoMessage() {}
func (x *ListRecurringRunsRequest) ProtoReflect() protoreflect.Message {
mi := &file_backend_api_v2beta1_recurring_run_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 ListRecurringRunsRequest.ProtoReflect.Descriptor instead.
func (*ListRecurringRunsRequest) Descriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{3}
}
func (x *ListRecurringRunsRequest) GetPageToken() string {
if x != nil {
return x.PageToken
}
return ""
}
func (x *ListRecurringRunsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ListRecurringRunsRequest) GetSortBy() string {
if x != nil {
return x.SortBy
}
return ""
}
func (x *ListRecurringRunsRequest) GetNamespace() string {
if x != nil {
return x.Namespace
}
return ""
}
func (x *ListRecurringRunsRequest) GetFilter() string {
if x != nil {
return x.Filter
}
return ""
}
func (x *ListRecurringRunsRequest) GetExperimentId() string {
if x != nil {
return x.ExperimentId
}
return ""
}
type ListRecurringRunsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// A list of recurring runs returned.
RecurringRuns []*RecurringRun `protobuf:"bytes,1,rep,name=recurringRuns,proto3" json:"recurringRuns,omitempty"`
// The total number of recurring runs for the given query.
TotalSize int32 `protobuf:"varint,2,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// The token to list the next page of recurring runs.
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRecurringRunsResponse) Reset() {
*x = ListRecurringRunsResponse{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRecurringRunsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRecurringRunsResponse) ProtoMessage() {}
func (x *ListRecurringRunsResponse) ProtoReflect() protoreflect.Message {
mi := &file_backend_api_v2beta1_recurring_run_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 ListRecurringRunsResponse.ProtoReflect.Descriptor instead.
func (*ListRecurringRunsResponse) Descriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{4}
}
func (x *ListRecurringRunsResponse) GetRecurringRuns() []*RecurringRun {
if x != nil {
return x.RecurringRuns
}
return nil
}
func (x *ListRecurringRunsResponse) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
func (x *ListRecurringRunsResponse) GetNextPageToken() string {
if x != nil {
return x.NextPageToken
}
return ""
}
type EnableRecurringRunRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the recurring runs to be enabled.
RecurringRunId string `protobuf:"bytes,1,opt,name=recurring_run_id,json=recurringRunId,proto3" json:"recurring_run_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnableRecurringRunRequest) Reset() {
*x = EnableRecurringRunRequest{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnableRecurringRunRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnableRecurringRunRequest) ProtoMessage() {}
func (x *EnableRecurringRunRequest) ProtoReflect() protoreflect.Message {
mi := &file_backend_api_v2beta1_recurring_run_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 EnableRecurringRunRequest.ProtoReflect.Descriptor instead.
func (*EnableRecurringRunRequest) Descriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{5}
}
func (x *EnableRecurringRunRequest) GetRecurringRunId() string {
if x != nil {
return x.RecurringRunId
}
return ""
}
type DisableRecurringRunRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the recurring runs to be disabled.
RecurringRunId string `protobuf:"bytes,1,opt,name=recurring_run_id,json=recurringRunId,proto3" json:"recurring_run_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DisableRecurringRunRequest) Reset() {
*x = DisableRecurringRunRequest{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DisableRecurringRunRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisableRecurringRunRequest) ProtoMessage() {}
func (x *DisableRecurringRunRequest) ProtoReflect() protoreflect.Message {
mi := &file_backend_api_v2beta1_recurring_run_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 DisableRecurringRunRequest.ProtoReflect.Descriptor instead.
func (*DisableRecurringRunRequest) Descriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{6}
}
func (x *DisableRecurringRunRequest) GetRecurringRunId() string {
if x != nil {
return x.RecurringRunId
}
return ""
}
type DeleteRecurringRunRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the recurring run to be deleted.
RecurringRunId string `protobuf:"bytes,1,opt,name=recurring_run_id,json=recurringRunId,proto3" json:"recurring_run_id,omitempty"`
// Optional input field. Set the propagation policy when deleting the recurring run.
PropagationPolicy DeletePropagationPolicy `protobuf:"varint,2,opt,name=propagation_policy,json=propagationPolicy,proto3,enum=kubeflow.pipelines.backend.api.v2beta1.DeletePropagationPolicy" json:"propagation_policy,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteRecurringRunRequest) Reset() {
*x = DeleteRecurringRunRequest{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteRecurringRunRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteRecurringRunRequest) ProtoMessage() {}
func (x *DeleteRecurringRunRequest) ProtoReflect() protoreflect.Message {
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[7]
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 DeleteRecurringRunRequest.ProtoReflect.Descriptor instead.
func (*DeleteRecurringRunRequest) Descriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{7}
}
func (x *DeleteRecurringRunRequest) GetRecurringRunId() string {
if x != nil {
return x.RecurringRunId
}
return ""
}
func (x *DeleteRecurringRunRequest) GetPropagationPolicy() DeletePropagationPolicy {
if x != nil {
return x.PropagationPolicy
}
return DeletePropagationPolicy_DELETE_PROPAGATION_POLICY_UNSPECIFIED
}
// CronSchedule allow scheduling the recurring run with unix-like cron.
type CronSchedule struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The start time of the cron job.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The end time of the cron job.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// The cron string. For details how to compose a cron, visit
// ttps://en.wikipedia.org/wiki/Cron
Cron string `protobuf:"bytes,3,opt,name=cron,proto3" json:"cron,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CronSchedule) Reset() {
*x = CronSchedule{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CronSchedule) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CronSchedule) ProtoMessage() {}
func (x *CronSchedule) ProtoReflect() protoreflect.Message {
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[8]
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 CronSchedule.ProtoReflect.Descriptor instead.
func (*CronSchedule) Descriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{8}
}
func (x *CronSchedule) GetStartTime() *timestamppb.Timestamp {
if x != nil {
return x.StartTime
}
return nil
}
func (x *CronSchedule) GetEndTime() *timestamppb.Timestamp {
if x != nil {
return x.EndTime
}
return nil
}
func (x *CronSchedule) GetCron() string {
if x != nil {
return x.Cron
}
return ""
}
// PeriodicSchedule allow scheduling the recurring run periodically with certain interval.
type PeriodicSchedule struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The start time of the periodic recurring run.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The end time of the periodic recurring run.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// The time interval between the starting time of consecutive recurring runs.
IntervalSecond int64 `protobuf:"varint,3,opt,name=interval_second,json=intervalSecond,proto3" json:"interval_second,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PeriodicSchedule) Reset() {
*x = PeriodicSchedule{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PeriodicSchedule) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PeriodicSchedule) ProtoMessage() {}
func (x *PeriodicSchedule) ProtoReflect() protoreflect.Message {
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[9]
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 PeriodicSchedule.ProtoReflect.Descriptor instead.
func (*PeriodicSchedule) Descriptor() ([]byte, []int) {
return file_backend_api_v2beta1_recurring_run_proto_rawDescGZIP(), []int{9}
}
func (x *PeriodicSchedule) GetStartTime() *timestamppb.Timestamp {
if x != nil {
return x.StartTime
}
return nil
}
func (x *PeriodicSchedule) GetEndTime() *timestamppb.Timestamp {
if x != nil {
return x.EndTime
}
return nil
}
func (x *PeriodicSchedule) GetIntervalSecond() int64 {
if x != nil {
return x.IntervalSecond
}
return 0
}
// Trigger defines what starts a pipeline run.
type Trigger struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Trigger:
//
// *Trigger_CronSchedule
// *Trigger_PeriodicSchedule
Trigger isTrigger_Trigger `protobuf_oneof:"trigger"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Trigger) Reset() {
*x = Trigger{}
mi := &file_backend_api_v2beta1_recurring_run_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Trigger) String() string {
return protoimpl.X.MessageStringOf(x)
}