// Copyright 2018 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.26.0 // protoc v3.17.3 // source: backend/api/v1beta1/job.proto package go_client import ( context "context" _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" 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) ) // Required input. type Job_Mode int32 const ( Job_UNKNOWN_MODE Job_Mode = 0 Job_ENABLED Job_Mode = 1 // The job won't schedule any run if disabled. Job_DISABLED Job_Mode = 2 ) // Enum value maps for Job_Mode. var ( Job_Mode_name = map[int32]string{ 0: "UNKNOWN_MODE", 1: "ENABLED", 2: "DISABLED", } Job_Mode_value = map[string]int32{ "UNKNOWN_MODE": 0, "ENABLED": 1, "DISABLED": 2, } ) func (x Job_Mode) Enum() *Job_Mode { p := new(Job_Mode) *p = x return p } func (x Job_Mode) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Job_Mode) Descriptor() protoreflect.EnumDescriptor { return file_backend_api_v1beta1_job_proto_enumTypes[0].Descriptor() } func (Job_Mode) Type() protoreflect.EnumType { return &file_backend_api_v1beta1_job_proto_enumTypes[0] } func (x Job_Mode) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Job_Mode.Descriptor instead. func (Job_Mode) EnumDescriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{10, 0} } type CreateJobRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The job to be created Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` } func (x *CreateJobRequest) Reset() { *x = CreateJobRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateJobRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateJobRequest) ProtoMessage() {} func (x *CreateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_api_v1beta1_job_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 CreateJobRequest.ProtoReflect.Descriptor instead. func (*CreateJobRequest) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{0} } func (x *CreateJobRequest) GetJob() *Job { if x != nil { return x.Job } return nil } type GetJobRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The ID of the job to be retrieved Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *GetJobRequest) Reset() { *x = GetJobRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetJobRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetJobRequest) ProtoMessage() {} func (x *GetJobRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_api_v1beta1_job_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 GetJobRequest.ProtoReflect.Descriptor instead. func (*GetJobRequest) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{1} } func (x *GetJobRequest) GetId() string { if x != nil { return x.Id } return "" } type ListJobsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // A page token to request the next page of results. The token is acquried // from the nextPageToken field of the response from the previous // ListJobs 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 jobs to be listed per page. If there are more jobs 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 format of "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"` // What resource reference to filter on. // E.g. If listing job for an experiment, the query string would be // resource_reference_key.type=EXPERIMENT&resource_reference_key.id=123 ResourceReferenceKey *ResourceKey `protobuf:"bytes,4,opt,name=resource_reference_key,json=resourceReferenceKey,proto3" json:"resource_reference_key,omitempty"` // A url-encoded, JSON-serialized Filter protocol buffer (see // [filter.proto](https://github.com/kubeflow/pipelines/blob/master/backend/api/v1beta1/filter.proto)). Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` } func (x *ListJobsRequest) Reset() { *x = ListJobsRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListJobsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListJobsRequest) ProtoMessage() {} func (x *ListJobsRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_api_v1beta1_job_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 ListJobsRequest.ProtoReflect.Descriptor instead. func (*ListJobsRequest) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{2} } func (x *ListJobsRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } func (x *ListJobsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListJobsRequest) GetSortBy() string { if x != nil { return x.SortBy } return "" } func (x *ListJobsRequest) GetResourceReferenceKey() *ResourceKey { if x != nil { return x.ResourceReferenceKey } return nil } func (x *ListJobsRequest) GetFilter() string { if x != nil { return x.Filter } return "" } type ListJobsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // A list of jobs returned. Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` // The total number of jobs for the given query. TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // The token to list the next page of jobs. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } func (x *ListJobsResponse) Reset() { *x = ListJobsResponse{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListJobsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListJobsResponse) ProtoMessage() {} func (x *ListJobsResponse) ProtoReflect() protoreflect.Message { mi := &file_backend_api_v1beta1_job_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 ListJobsResponse.ProtoReflect.Descriptor instead. func (*ListJobsResponse) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{3} } func (x *ListJobsResponse) GetJobs() []*Job { if x != nil { return x.Jobs } return nil } func (x *ListJobsResponse) GetTotalSize() int32 { if x != nil { return x.TotalSize } return 0 } func (x *ListJobsResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } type DeleteJobRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The ID of the job to be deleted Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *DeleteJobRequest) Reset() { *x = DeleteJobRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteJobRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteJobRequest) ProtoMessage() {} func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_api_v1beta1_job_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 DeleteJobRequest.ProtoReflect.Descriptor instead. func (*DeleteJobRequest) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{4} } func (x *DeleteJobRequest) GetId() string { if x != nil { return x.Id } return "" } type EnableJobRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The ID of the job to be enabled Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *EnableJobRequest) Reset() { *x = EnableJobRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EnableJobRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*EnableJobRequest) ProtoMessage() {} func (x *EnableJobRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_api_v1beta1_job_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 EnableJobRequest.ProtoReflect.Descriptor instead. func (*EnableJobRequest) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{5} } func (x *EnableJobRequest) GetId() string { if x != nil { return x.Id } return "" } type DisableJobRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The ID of the job to be disabled Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *DisableJobRequest) Reset() { *x = DisableJobRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DisableJobRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DisableJobRequest) ProtoMessage() {} func (x *DisableJobRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_api_v1beta1_job_proto_msgTypes[6] 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 DisableJobRequest.ProtoReflect.Descriptor instead. func (*DisableJobRequest) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{6} } func (x *DisableJobRequest) GetId() string { if x != nil { return x.Id } return "" } // CronSchedule allow scheduling the job with unix-like cron type CronSchedule struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // 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"` } func (x *CronSchedule) Reset() { *x = CronSchedule{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[7] 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_v1beta1_job_proto_msgTypes[7] 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 CronSchedule.ProtoReflect.Descriptor instead. func (*CronSchedule) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{7} } 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 job periodically with certain interval type PeriodicSchedule struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The start time of the periodic job StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The end time of the periodic job 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 jobs IntervalSecond int64 `protobuf:"varint,3,opt,name=interval_second,json=intervalSecond,proto3" json:"interval_second,omitempty"` } func (x *PeriodicSchedule) Reset() { *x = PeriodicSchedule{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[8] 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_v1beta1_job_proto_msgTypes[8] 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 PeriodicSchedule.ProtoReflect.Descriptor instead. func (*PeriodicSchedule) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{8} } 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Trigger: // *Trigger_CronSchedule // *Trigger_PeriodicSchedule Trigger isTrigger_Trigger `protobuf_oneof:"trigger"` } func (x *Trigger) Reset() { *x = Trigger{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Trigger) String() string { return protoimpl.X.MessageStringOf(x) } func (*Trigger) ProtoMessage() {} func (x *Trigger) ProtoReflect() protoreflect.Message { mi := &file_backend_api_v1beta1_job_proto_msgTypes[9] 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 Trigger.ProtoReflect.Descriptor instead. func (*Trigger) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{9} } func (m *Trigger) GetTrigger() isTrigger_Trigger { if m != nil { return m.Trigger } return nil } func (x *Trigger) GetCronSchedule() *CronSchedule { if x, ok := x.GetTrigger().(*Trigger_CronSchedule); ok { return x.CronSchedule } return nil } func (x *Trigger) GetPeriodicSchedule() *PeriodicSchedule { if x, ok := x.GetTrigger().(*Trigger_PeriodicSchedule); ok { return x.PeriodicSchedule } return nil } type isTrigger_Trigger interface { isTrigger_Trigger() } type Trigger_CronSchedule struct { CronSchedule *CronSchedule `protobuf:"bytes,1,opt,name=cron_schedule,json=cronSchedule,proto3,oneof"` } type Trigger_PeriodicSchedule struct { PeriodicSchedule *PeriodicSchedule `protobuf:"bytes,2,opt,name=periodic_schedule,json=periodicSchedule,proto3,oneof"` } func (*Trigger_CronSchedule) isTrigger_Trigger() {} func (*Trigger_PeriodicSchedule) isTrigger_Trigger() {} type Job struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Output. Unique run ID. Generated by API server. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Required input field. Job name provided by user. Not unique. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Optional input field. Describing the purpose of the job Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Required input field. // Describing what the pipeline manifest and parameters to use // for the scheduled job. PipelineSpec *PipelineSpec `protobuf:"bytes,4,opt,name=pipeline_spec,json=pipelineSpec,proto3" json:"pipeline_spec,omitempty"` // Optional input field. Specify which resource this job belongs to. ResourceReferences []*ResourceReference `protobuf:"bytes,5,rep,name=resource_references,json=resourceReferences,proto3" json:"resource_references,omitempty"` // Optional input field. Specify which Kubernetes service account this job uses. ServiceAccount string `protobuf:"bytes,18,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // Required input field. // Specify how many runs can be executed concurrently. Rage [1-10] MaxConcurrency int64 `protobuf:"varint,6,opt,name=max_concurrency,json=maxConcurrency,proto3" json:"max_concurrency,omitempty"` // Required input field. // Specify how a run is triggered. Support cron mode or periodic mode. Trigger *Trigger `protobuf:"bytes,7,opt,name=trigger,proto3" json:"trigger,omitempty"` Mode Job_Mode `protobuf:"varint,8,opt,name=mode,proto3,enum=api.Job_Mode" json:"mode,omitempty"` // Output. The time this job is created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Output. The last time this job is updated. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Output. The status of the job. // One of [Enable, Disable, Error] Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` // In case any error happens retrieving a job field, only job ID // and the error message is returned. Client has the flexibility of choosing // how to handle error. This is especially useful during listing call. Error string `protobuf:"bytes,12,opt,name=error,proto3" json:"error,omitempty"` // Input. Whether the job is enabled or not. Enabled bool `protobuf:"varint,16,opt,name=enabled,proto3" json:"enabled,omitempty"` // Optional input field. Whether the job should catch up if behind schedule. // If true, the job will only schedule the latest interval if behind schedule. // If false, the job will catch up on each past interval. NoCatchup bool `protobuf:"varint,17,opt,name=no_catchup,json=noCatchup,proto3" json:"no_catchup,omitempty"` } func (x *Job) Reset() { *x = Job{} if protoimpl.UnsafeEnabled { mi := &file_backend_api_v1beta1_job_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Job) String() string { return protoimpl.X.MessageStringOf(x) } func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_backend_api_v1beta1_job_proto_msgTypes[10] 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 Job.ProtoReflect.Descriptor instead. func (*Job) Descriptor() ([]byte, []int) { return file_backend_api_v1beta1_job_proto_rawDescGZIP(), []int{10} } func (x *Job) GetId() string { if x != nil { return x.Id } return "" } func (x *Job) GetName() string { if x != nil { return x.Name } return "" } func (x *Job) GetDescription() string { if x != nil { return x.Description } return "" } func (x *Job) GetPipelineSpec() *PipelineSpec { if x != nil { return x.PipelineSpec } return nil } func (x *Job) GetResourceReferences() []*ResourceReference { if x != nil { return x.ResourceReferences } return nil } func (x *Job) GetServiceAccount() string { if x != nil { return x.ServiceAccount } return "" } func (x *Job) GetMaxConcurrency() int64 { if x != nil { return x.MaxConcurrency } return 0 } func (x *Job) GetTrigger() *Trigger { if x != nil { return x.Trigger } return nil } func (x *Job) GetMode() Job_Mode { if x != nil { return x.Mode } return Job_UNKNOWN_MODE } func (x *Job) GetCreatedAt() *timestamppb.Timestamp { if x != nil { return x.CreatedAt } return nil } func (x *Job) GetUpdatedAt() *timestamppb.Timestamp { if x != nil { return x.UpdatedAt } return nil } func (x *Job) GetStatus() string { if x != nil { return x.Status } return "" } func (x *Job) GetError() string { if x != nil { return x.Error } return "" } func (x *Job) GetEnabled() bool { if x != nil { return x.Enabled } return false } func (x *Job) GetNoCatchup() bool { if x != nil { return x.NoCatchup } return false } var File_backend_api_v1beta1_job_proto protoreflect.FileDescriptor var file_backend_api_v1beta1_job_proto_rawDesc = []byte{ 0x0a, 0x1d, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x22, 0x1f, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xc6, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x46, 0x0a, 0x16, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x77, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x22, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x23, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x72, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x72, 0x6f, 0x6e, 0x22, 0xad, 0x01, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x69, 0x63, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x07, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x0d, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x72, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x44, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x69, 0x63, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x69, 0x63, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x10, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x69, 0x63, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x22, 0xfb, 0x04, 0x0a, 0x03, 0x4a, 0x6f, 0x62, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x0d, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0c, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x47, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x26, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x6f, 0x5f, 0x63, 0x61, 0x74, 0x63, 0x68, 0x75, 0x70, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6e, 0x6f, 0x43, 0x61, 0x74, 0x63, 0x68, 0x75, 0x70, 0x22, 0x33, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x32, 0xa1, 0x04, 0x0a, 0x0a, 0x4a, 0x6f, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x08, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4a, 0x6f, 0x62, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x22, 0x12, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x3a, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x47, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x08, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4a, 0x6f, 0x62, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x53, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x12, 0x62, 0x0a, 0x09, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x65, 0x0a, 0x0a, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1f, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x5b, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x2a, 0x17, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x42, 0x8d, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x6f, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x92, 0x41, 0x4d, 0x52, 0x1c, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x11, 0x12, 0x0f, 0x0a, 0x0d, 0x1a, 0x0b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5a, 0x1f, 0x0a, 0x1d, 0x0a, 0x06, 0x42, 0x65, 0x61, 0x72, 0x65, 0x72, 0x12, 0x13, 0x08, 0x02, 0x1a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x02, 0x62, 0x0c, 0x0a, 0x0a, 0x0a, 0x06, 0x42, 0x65, 0x61, 0x72, 0x65, 0x72, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_backend_api_v1beta1_job_proto_rawDescOnce sync.Once file_backend_api_v1beta1_job_proto_rawDescData = file_backend_api_v1beta1_job_proto_rawDesc ) func file_backend_api_v1beta1_job_proto_rawDescGZIP() []byte { file_backend_api_v1beta1_job_proto_rawDescOnce.Do(func() { file_backend_api_v1beta1_job_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_api_v1beta1_job_proto_rawDescData) }) return file_backend_api_v1beta1_job_proto_rawDescData } var file_backend_api_v1beta1_job_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_backend_api_v1beta1_job_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_backend_api_v1beta1_job_proto_goTypes = []interface{}{ (Job_Mode)(0), // 0: api.Job.Mode (*CreateJobRequest)(nil), // 1: api.CreateJobRequest (*GetJobRequest)(nil), // 2: api.GetJobRequest (*ListJobsRequest)(nil), // 3: api.ListJobsRequest (*ListJobsResponse)(nil), // 4: api.ListJobsResponse (*DeleteJobRequest)(nil), // 5: api.DeleteJobRequest (*EnableJobRequest)(nil), // 6: api.EnableJobRequest (*DisableJobRequest)(nil), // 7: api.DisableJobRequest (*CronSchedule)(nil), // 8: api.CronSchedule (*PeriodicSchedule)(nil), // 9: api.PeriodicSchedule (*Trigger)(nil), // 10: api.Trigger (*Job)(nil), // 11: api.Job (*ResourceKey)(nil), // 12: api.ResourceKey (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp (*PipelineSpec)(nil), // 14: api.PipelineSpec (*ResourceReference)(nil), // 15: api.ResourceReference (*emptypb.Empty)(nil), // 16: google.protobuf.Empty } var file_backend_api_v1beta1_job_proto_depIdxs = []int32{ 11, // 0: api.CreateJobRequest.job:type_name -> api.Job 12, // 1: api.ListJobsRequest.resource_reference_key:type_name -> api.ResourceKey 11, // 2: api.ListJobsResponse.jobs:type_name -> api.Job 13, // 3: api.CronSchedule.start_time:type_name -> google.protobuf.Timestamp 13, // 4: api.CronSchedule.end_time:type_name -> google.protobuf.Timestamp 13, // 5: api.PeriodicSchedule.start_time:type_name -> google.protobuf.Timestamp 13, // 6: api.PeriodicSchedule.end_time:type_name -> google.protobuf.Timestamp 8, // 7: api.Trigger.cron_schedule:type_name -> api.CronSchedule 9, // 8: api.Trigger.periodic_schedule:type_name -> api.PeriodicSchedule 14, // 9: api.Job.pipeline_spec:type_name -> api.PipelineSpec 15, // 10: api.Job.resource_references:type_name -> api.ResourceReference 10, // 11: api.Job.trigger:type_name -> api.Trigger 0, // 12: api.Job.mode:type_name -> api.Job.Mode 13, // 13: api.Job.created_at:type_name -> google.protobuf.Timestamp 13, // 14: api.Job.updated_at:type_name -> google.protobuf.Timestamp 1, // 15: api.JobService.CreateJob:input_type -> api.CreateJobRequest 2, // 16: api.JobService.GetJob:input_type -> api.GetJobRequest 3, // 17: api.JobService.ListJobs:input_type -> api.ListJobsRequest 6, // 18: api.JobService.EnableJob:input_type -> api.EnableJobRequest 7, // 19: api.JobService.DisableJob:input_type -> api.DisableJobRequest 5, // 20: api.JobService.DeleteJob:input_type -> api.DeleteJobRequest 11, // 21: api.JobService.CreateJob:output_type -> api.Job 11, // 22: api.JobService.GetJob:output_type -> api.Job 4, // 23: api.JobService.ListJobs:output_type -> api.ListJobsResponse 16, // 24: api.JobService.EnableJob:output_type -> google.protobuf.Empty 16, // 25: api.JobService.DisableJob:output_type -> google.protobuf.Empty 16, // 26: api.JobService.DeleteJob:output_type -> google.protobuf.Empty 21, // [21:27] is the sub-list for method output_type 15, // [15:21] is the sub-list for method input_type 15, // [15:15] is the sub-list for extension type_name 15, // [15:15] is the sub-list for extension extendee 0, // [0:15] is the sub-list for field type_name } func init() { file_backend_api_v1beta1_job_proto_init() } func file_backend_api_v1beta1_job_proto_init() { if File_backend_api_v1beta1_job_proto != nil { return } file_backend_api_v1beta1_pipeline_spec_proto_init() file_backend_api_v1beta1_resource_reference_proto_init() file_backend_api_v1beta1_error_proto_init() if !protoimpl.UnsafeEnabled { file_backend_api_v1beta1_job_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateJobRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_api_v1beta1_job_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetJobRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_api_v1beta1_job_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListJobsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_api_v1beta1_job_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListJobsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_api_v1beta1_job_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteJobRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_api_v1beta1_job_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EnableJobRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_api_v1beta1_job_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DisableJobRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_api_v1beta1_job_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CronSchedule); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_api_v1beta1_job_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PeriodicSchedule); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_api_v1beta1_job_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Trigger); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_api_v1beta1_job_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Job); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_backend_api_v1beta1_job_proto_msgTypes[9].OneofWrappers = []interface{}{ (*Trigger_CronSchedule)(nil), (*Trigger_PeriodicSchedule)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_backend_api_v1beta1_job_proto_rawDesc, NumEnums: 1, NumMessages: 11, NumExtensions: 0, NumServices: 1, }, GoTypes: file_backend_api_v1beta1_job_proto_goTypes, DependencyIndexes: file_backend_api_v1beta1_job_proto_depIdxs, EnumInfos: file_backend_api_v1beta1_job_proto_enumTypes, MessageInfos: file_backend_api_v1beta1_job_proto_msgTypes, }.Build() File_backend_api_v1beta1_job_proto = out.File file_backend_api_v1beta1_job_proto_rawDesc = nil file_backend_api_v1beta1_job_proto_goTypes = nil file_backend_api_v1beta1_job_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // JobServiceClient is the client API for JobService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type JobServiceClient interface { // Creates a new job. CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) // Finds a specific job by ID. GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) // Finds all jobs. ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) // Restarts a job that was previously stopped. All runs associated with the job will continue. EnableJob(ctx context.Context, in *EnableJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Stops a job and all its associated runs. The job is not deleted. DisableJob(ctx context.Context, in *DisableJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Deletes a job. DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) } type jobServiceClient struct { cc grpc.ClientConnInterface } func NewJobServiceClient(cc grpc.ClientConnInterface) JobServiceClient { return &jobServiceClient{cc} } func (c *jobServiceClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) { out := new(Job) err := c.cc.Invoke(ctx, "/api.JobService/CreateJob", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *jobServiceClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) { out := new(Job) err := c.cc.Invoke(ctx, "/api.JobService/GetJob", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *jobServiceClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) { out := new(ListJobsResponse) err := c.cc.Invoke(ctx, "/api.JobService/ListJobs", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *jobServiceClient) EnableJob(ctx context.Context, in *EnableJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.JobService/EnableJob", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *jobServiceClient) DisableJob(ctx context.Context, in *DisableJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.JobService/DisableJob", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *jobServiceClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.JobService/DeleteJob", in, out, opts...) if err != nil { return nil, err } return out, nil } // JobServiceServer is the server API for JobService service. type JobServiceServer interface { // Creates a new job. CreateJob(context.Context, *CreateJobRequest) (*Job, error) // Finds a specific job by ID. GetJob(context.Context, *GetJobRequest) (*Job, error) // Finds all jobs. ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) // Restarts a job that was previously stopped. All runs associated with the job will continue. EnableJob(context.Context, *EnableJobRequest) (*emptypb.Empty, error) // Stops a job and all its associated runs. The job is not deleted. DisableJob(context.Context, *DisableJobRequest) (*emptypb.Empty, error) // Deletes a job. DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error) } // UnimplementedJobServiceServer can be embedded to have forward compatible implementations. type UnimplementedJobServiceServer struct { } func (*UnimplementedJobServiceServer) CreateJob(context.Context, *CreateJobRequest) (*Job, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateJob not implemented") } func (*UnimplementedJobServiceServer) GetJob(context.Context, *GetJobRequest) (*Job, error) { return nil, status.Errorf(codes.Unimplemented, "method GetJob not implemented") } func (*UnimplementedJobServiceServer) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListJobs not implemented") } func (*UnimplementedJobServiceServer) EnableJob(context.Context, *EnableJobRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method EnableJob not implemented") } func (*UnimplementedJobServiceServer) DisableJob(context.Context, *DisableJobRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DisableJob not implemented") } func (*UnimplementedJobServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteJob not implemented") } func RegisterJobServiceServer(s *grpc.Server, srv JobServiceServer) { s.RegisterService(&_JobService_serviceDesc, srv) } func _JobService_CreateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateJobRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(JobServiceServer).CreateJob(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.JobService/CreateJob", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(JobServiceServer).CreateJob(ctx, req.(*CreateJobRequest)) } return interceptor(ctx, in, info, handler) } func _JobService_GetJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetJobRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(JobServiceServer).GetJob(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.JobService/GetJob", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(JobServiceServer).GetJob(ctx, req.(*GetJobRequest)) } return interceptor(ctx, in, info, handler) } func _JobService_ListJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListJobsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(JobServiceServer).ListJobs(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.JobService/ListJobs", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(JobServiceServer).ListJobs(ctx, req.(*ListJobsRequest)) } return interceptor(ctx, in, info, handler) } func _JobService_EnableJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(EnableJobRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(JobServiceServer).EnableJob(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.JobService/EnableJob", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(JobServiceServer).EnableJob(ctx, req.(*EnableJobRequest)) } return interceptor(ctx, in, info, handler) } func _JobService_DisableJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DisableJobRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(JobServiceServer).DisableJob(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.JobService/DisableJob", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(JobServiceServer).DisableJob(ctx, req.(*DisableJobRequest)) } return interceptor(ctx, in, info, handler) } func _JobService_DeleteJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteJobRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(JobServiceServer).DeleteJob(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.JobService/DeleteJob", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(JobServiceServer).DeleteJob(ctx, req.(*DeleteJobRequest)) } return interceptor(ctx, in, info, handler) } var _JobService_serviceDesc = grpc.ServiceDesc{ ServiceName: "api.JobService", HandlerType: (*JobServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateJob", Handler: _JobService_CreateJob_Handler, }, { MethodName: "GetJob", Handler: _JobService_GetJob_Handler, }, { MethodName: "ListJobs", Handler: _JobService_ListJobs_Handler, }, { MethodName: "EnableJob", Handler: _JobService_EnableJob_Handler, }, { MethodName: "DisableJob", Handler: _JobService_DisableJob_Handler, }, { MethodName: "DeleteJob", Handler: _JobService_DeleteJob_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "backend/api/v1beta1/job.proto", }