# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc

from mgmt.v1alpha1 import job_pb2 as mgmt_dot_v1alpha1_dot_job__pb2


class JobServiceStub(object):
    """Service that handles jobs, runs, and hooks
    """

    def __init__(self, channel):
        """Constructor.

        Args:
            channel: A grpc.Channel.
        """
        self.GetJobs = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobs',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobsResponse.FromString,
                _registered_method=True)
        self.GetJob = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJob',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobResponse.FromString,
                _registered_method=True)
        self.CreateJob = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/CreateJob',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobResponse.FromString,
                _registered_method=True)
        self.DeleteJob = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/DeleteJob',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobResponse.FromString,
                _registered_method=True)
        self.IsJobNameAvailable = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/IsJobNameAvailable',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.IsJobNameAvailableRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.IsJobNameAvailableResponse.FromString,
                _registered_method=True)
        self.UpdateJobSchedule = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/UpdateJobSchedule',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobScheduleRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobScheduleResponse.FromString,
                _registered_method=True)
        self.UpdateJobSourceConnection = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/UpdateJobSourceConnection',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobSourceConnectionRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobSourceConnectionResponse.FromString,
                _registered_method=True)
        self.SetJobSourceSqlConnectionSubsets = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/SetJobSourceSqlConnectionSubsets',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobSourceSqlConnectionSubsetsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobSourceSqlConnectionSubsetsResponse.FromString,
                _registered_method=True)
        self.UpdateJobDestinationConnection = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/UpdateJobDestinationConnection',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobDestinationConnectionRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobDestinationConnectionResponse.FromString,
                _registered_method=True)
        self.DeleteJobDestinationConnection = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/DeleteJobDestinationConnection',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobDestinationConnectionRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobDestinationConnectionResponse.FromString,
                _registered_method=True)
        self.CreateJobDestinationConnections = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/CreateJobDestinationConnections',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobDestinationConnectionsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobDestinationConnectionsResponse.FromString,
                _registered_method=True)
        self.PauseJob = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/PauseJob',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.PauseJobRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.PauseJobResponse.FromString,
                _registered_method=True)
        self.GetJobRecentRuns = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobRecentRuns',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRecentRunsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRecentRunsResponse.FromString,
                _registered_method=True)
        self.GetJobNextRuns = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobNextRuns',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobNextRunsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobNextRunsResponse.FromString,
                _registered_method=True)
        self.GetJobStatus = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobStatus',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusResponse.FromString,
                _registered_method=True)
        self.GetJobStatuses = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobStatuses',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusesRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusesResponse.FromString,
                _registered_method=True)
        self.GetJobRuns = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobRuns',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunsResponse.FromString,
                _registered_method=True)
        self.GetJobRunEvents = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobRunEvents',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunEventsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunEventsResponse.FromString,
                _registered_method=True)
        self.GetJobRun = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobRun',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunResponse.FromString,
                _registered_method=True)
        self.DeleteJobRun = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/DeleteJobRun',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobRunRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobRunResponse.FromString,
                _registered_method=True)
        self.CreateJobRun = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/CreateJobRun',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobRunRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobRunResponse.FromString,
                _registered_method=True)
        self.CancelJobRun = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/CancelJobRun',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.CancelJobRunRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.CancelJobRunResponse.FromString,
                _registered_method=True)
        self.TerminateJobRun = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/TerminateJobRun',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.TerminateJobRunRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.TerminateJobRunResponse.FromString,
                _registered_method=True)
        self.GetJobRunLogsStream = channel.unary_stream(
                '/mgmt.v1alpha1.JobService/GetJobRunLogsStream',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsStreamRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsStreamResponse.FromString,
                _registered_method=True)
        self.GetJobRunLogs = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobRunLogs',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsResponse.FromString,
                _registered_method=True)
        self.SetJobWorkflowOptions = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/SetJobWorkflowOptions',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobWorkflowOptionsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobWorkflowOptionsResponse.FromString,
                _registered_method=True)
        self.SetJobSyncOptions = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/SetJobSyncOptions',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobSyncOptionsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobSyncOptionsResponse.FromString,
                _registered_method=True)
        self.ValidateJobMappings = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/ValidateJobMappings',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.ValidateJobMappingsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.ValidateJobMappingsResponse.FromString,
                _registered_method=True)
        self.ValidateSchema = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/ValidateSchema',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.ValidateSchemaRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.ValidateSchemaResponse.FromString,
                _registered_method=True)
        self.GetRunContext = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetRunContext',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetRunContextRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetRunContextResponse.FromString,
                _registered_method=True)
        self.SetRunContext = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/SetRunContext',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextResponse.FromString,
                _registered_method=True)
        self.SetRunContexts = channel.stream_unary(
                '/mgmt.v1alpha1.JobService/SetRunContexts',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextsRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextsResponse.FromString,
                _registered_method=True)
        self.GetJobHooks = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobHooks',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobHooksRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobHooksResponse.FromString,
                _registered_method=True)
        self.GetJobHook = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetJobHook',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobHookRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobHookResponse.FromString,
                _registered_method=True)
        self.CreateJobHook = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/CreateJobHook',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobHookRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobHookResponse.FromString,
                _registered_method=True)
        self.DeleteJobHook = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/DeleteJobHook',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobHookRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobHookResponse.FromString,
                _registered_method=True)
        self.IsJobHookNameAvailable = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/IsJobHookNameAvailable',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.IsJobHookNameAvailableRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.IsJobHookNameAvailableResponse.FromString,
                _registered_method=True)
        self.UpdateJobHook = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/UpdateJobHook',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobHookRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobHookResponse.FromString,
                _registered_method=True)
        self.SetJobHookEnabled = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/SetJobHookEnabled',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobHookEnabledRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobHookEnabledResponse.FromString,
                _registered_method=True)
        self.GetActiveJobHooksByTiming = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetActiveJobHooksByTiming',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetActiveJobHooksByTimingRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetActiveJobHooksByTimingResponse.FromString,
                _registered_method=True)
        self.GetPiiDetectionReport = channel.unary_unary(
                '/mgmt.v1alpha1.JobService/GetPiiDetectionReport',
                request_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetPiiDetectionReportRequest.SerializeToString,
                response_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetPiiDetectionReportResponse.FromString,
                _registered_method=True)


class JobServiceServicer(object):
    """Service that handles jobs, runs, and hooks
    """

    def GetJobs(self, request, context):
        """Returns a list of jobs by either account or job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJob(self, request, context):
        """Returns a specific job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def CreateJob(self, request, context):
        """Creates a new job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def DeleteJob(self, request, context):
        """Deletes a job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def IsJobNameAvailable(self, request, context):
        """Checks if a job name is available
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def UpdateJobSchedule(self, request, context):
        """Updates the schedule of a job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def UpdateJobSourceConnection(self, request, context):
        """Updates the source connection of a job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def SetJobSourceSqlConnectionSubsets(self, request, context):
        """Sets the source sql connection subsets of a job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def UpdateJobDestinationConnection(self, request, context):
        """Updates the destination connection of a job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def DeleteJobDestinationConnection(self, request, context):
        """Deletes the destination connection of a job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def CreateJobDestinationConnections(self, request, context):
        """Creates the destination connections of a job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def PauseJob(self, request, context):
        """Pauses or unpauses a job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobRecentRuns(self, request, context):
        """Returns a list of recently invoked job runs based on the Temporal cron scheduler. This will return a list of job runs that include archived runs
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobNextRuns(self, request, context):
        """Returns a list of runs that are scheduled for execution based on the Temporal cron scheduler.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobStatus(self, request, context):
        """Returns the status of a job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobStatuses(self, request, context):
        """Returns the statuses of jobs within an account
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobRuns(self, request, context):
        """Returns a list of job runs by either account or job
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobRunEvents(self, request, context):
        """Returns a list of events for a job run to understand more details of the run itself
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobRun(self, request, context):
        """Returns a specific job run, along with any of its pending activities
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def DeleteJobRun(self, request, context):
        """Deletes a job run
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def CreateJobRun(self, request, context):
        """Creates a new job run
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def CancelJobRun(self, request, context):
        """Cancels a job run. This is a graceful termination and allows the workflow to clean up and exit gracefully.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def TerminateJobRun(self, request, context):
        """Terminates a job run. This is an immediate termination and will not allow the workflow to clean up and exit gracefully.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobRunLogsStream(self, request, context):
        """Returns a stream of logs from the worker nodes that pertain to a specific job run
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobRunLogs(self, request, context):
        """Returns a list of logs from the worker nodes that pertain to a specific job run.
        Equivalent to the stream endpoint, but runs in a unary fashion.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def SetJobWorkflowOptions(self, request, context):
        """Set any job workflow options. Must provide entire object as is it will fully override the previous configuration
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def SetJobSyncOptions(self, request, context):
        """Set the job sync options. Must provide entire object as it will fully override the previous configuration
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def ValidateJobMappings(self, request, context):
        """Validates that the jobmapping configured can run with table constraints
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def ValidateSchema(self, request, context):
        """Validates that the schema is compatible with the job mappings
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetRunContext(self, request, context):
        """Gets a run context to be used by a workflow run
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def SetRunContext(self, request, context):
        """Sets a run context to be used by a workflow run
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def SetRunContexts(self, request_iterator, context):
        """Sets a stream of run contexts to be used by a workflow run
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobHooks(self, request, context):
        """Retrieves all job hooks
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetJobHook(self, request, context):
        """Retrieves a specific job hook
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def CreateJobHook(self, request, context):
        """Creates a new job hook
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def DeleteJobHook(self, request, context):
        """Removes a job hook
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def IsJobHookNameAvailable(self, request, context):
        """Check if a specific job hook name is available
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def UpdateJobHook(self, request, context):
        """Updates a job hook
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def SetJobHookEnabled(self, request, context):
        """Enables or disables a job hook
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetActiveJobHooksByTiming(self, request, context):
        """Returns job hooks that are enabled by a specific timing. They will be sorted by priority, created_at, and id ascending.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetPiiDetectionReport(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')


def add_JobServiceServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'GetJobs': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobs,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobsResponse.SerializeToString,
            ),
            'GetJob': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJob,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobResponse.SerializeToString,
            ),
            'CreateJob': grpc.unary_unary_rpc_method_handler(
                    servicer.CreateJob,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobResponse.SerializeToString,
            ),
            'DeleteJob': grpc.unary_unary_rpc_method_handler(
                    servicer.DeleteJob,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobResponse.SerializeToString,
            ),
            'IsJobNameAvailable': grpc.unary_unary_rpc_method_handler(
                    servicer.IsJobNameAvailable,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.IsJobNameAvailableRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.IsJobNameAvailableResponse.SerializeToString,
            ),
            'UpdateJobSchedule': grpc.unary_unary_rpc_method_handler(
                    servicer.UpdateJobSchedule,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobScheduleRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobScheduleResponse.SerializeToString,
            ),
            'UpdateJobSourceConnection': grpc.unary_unary_rpc_method_handler(
                    servicer.UpdateJobSourceConnection,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobSourceConnectionRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobSourceConnectionResponse.SerializeToString,
            ),
            'SetJobSourceSqlConnectionSubsets': grpc.unary_unary_rpc_method_handler(
                    servicer.SetJobSourceSqlConnectionSubsets,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobSourceSqlConnectionSubsetsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobSourceSqlConnectionSubsetsResponse.SerializeToString,
            ),
            'UpdateJobDestinationConnection': grpc.unary_unary_rpc_method_handler(
                    servicer.UpdateJobDestinationConnection,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobDestinationConnectionRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobDestinationConnectionResponse.SerializeToString,
            ),
            'DeleteJobDestinationConnection': grpc.unary_unary_rpc_method_handler(
                    servicer.DeleteJobDestinationConnection,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobDestinationConnectionRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobDestinationConnectionResponse.SerializeToString,
            ),
            'CreateJobDestinationConnections': grpc.unary_unary_rpc_method_handler(
                    servicer.CreateJobDestinationConnections,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobDestinationConnectionsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobDestinationConnectionsResponse.SerializeToString,
            ),
            'PauseJob': grpc.unary_unary_rpc_method_handler(
                    servicer.PauseJob,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.PauseJobRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.PauseJobResponse.SerializeToString,
            ),
            'GetJobRecentRuns': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobRecentRuns,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRecentRunsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRecentRunsResponse.SerializeToString,
            ),
            'GetJobNextRuns': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobNextRuns,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobNextRunsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobNextRunsResponse.SerializeToString,
            ),
            'GetJobStatus': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobStatus,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusResponse.SerializeToString,
            ),
            'GetJobStatuses': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobStatuses,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusesRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusesResponse.SerializeToString,
            ),
            'GetJobRuns': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobRuns,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunsResponse.SerializeToString,
            ),
            'GetJobRunEvents': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobRunEvents,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunEventsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunEventsResponse.SerializeToString,
            ),
            'GetJobRun': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobRun,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunResponse.SerializeToString,
            ),
            'DeleteJobRun': grpc.unary_unary_rpc_method_handler(
                    servicer.DeleteJobRun,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobRunRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobRunResponse.SerializeToString,
            ),
            'CreateJobRun': grpc.unary_unary_rpc_method_handler(
                    servicer.CreateJobRun,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobRunRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobRunResponse.SerializeToString,
            ),
            'CancelJobRun': grpc.unary_unary_rpc_method_handler(
                    servicer.CancelJobRun,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.CancelJobRunRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.CancelJobRunResponse.SerializeToString,
            ),
            'TerminateJobRun': grpc.unary_unary_rpc_method_handler(
                    servicer.TerminateJobRun,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.TerminateJobRunRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.TerminateJobRunResponse.SerializeToString,
            ),
            'GetJobRunLogsStream': grpc.unary_stream_rpc_method_handler(
                    servicer.GetJobRunLogsStream,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsStreamRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsStreamResponse.SerializeToString,
            ),
            'GetJobRunLogs': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobRunLogs,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsResponse.SerializeToString,
            ),
            'SetJobWorkflowOptions': grpc.unary_unary_rpc_method_handler(
                    servicer.SetJobWorkflowOptions,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobWorkflowOptionsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobWorkflowOptionsResponse.SerializeToString,
            ),
            'SetJobSyncOptions': grpc.unary_unary_rpc_method_handler(
                    servicer.SetJobSyncOptions,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobSyncOptionsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobSyncOptionsResponse.SerializeToString,
            ),
            'ValidateJobMappings': grpc.unary_unary_rpc_method_handler(
                    servicer.ValidateJobMappings,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.ValidateJobMappingsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.ValidateJobMappingsResponse.SerializeToString,
            ),
            'ValidateSchema': grpc.unary_unary_rpc_method_handler(
                    servicer.ValidateSchema,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.ValidateSchemaRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.ValidateSchemaResponse.SerializeToString,
            ),
            'GetRunContext': grpc.unary_unary_rpc_method_handler(
                    servicer.GetRunContext,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetRunContextRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetRunContextResponse.SerializeToString,
            ),
            'SetRunContext': grpc.unary_unary_rpc_method_handler(
                    servicer.SetRunContext,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextResponse.SerializeToString,
            ),
            'SetRunContexts': grpc.stream_unary_rpc_method_handler(
                    servicer.SetRunContexts,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextsRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextsResponse.SerializeToString,
            ),
            'GetJobHooks': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobHooks,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobHooksRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobHooksResponse.SerializeToString,
            ),
            'GetJobHook': grpc.unary_unary_rpc_method_handler(
                    servicer.GetJobHook,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobHookRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetJobHookResponse.SerializeToString,
            ),
            'CreateJobHook': grpc.unary_unary_rpc_method_handler(
                    servicer.CreateJobHook,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobHookRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.CreateJobHookResponse.SerializeToString,
            ),
            'DeleteJobHook': grpc.unary_unary_rpc_method_handler(
                    servicer.DeleteJobHook,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobHookRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobHookResponse.SerializeToString,
            ),
            'IsJobHookNameAvailable': grpc.unary_unary_rpc_method_handler(
                    servicer.IsJobHookNameAvailable,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.IsJobHookNameAvailableRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.IsJobHookNameAvailableResponse.SerializeToString,
            ),
            'UpdateJobHook': grpc.unary_unary_rpc_method_handler(
                    servicer.UpdateJobHook,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobHookRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobHookResponse.SerializeToString,
            ),
            'SetJobHookEnabled': grpc.unary_unary_rpc_method_handler(
                    servicer.SetJobHookEnabled,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobHookEnabledRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.SetJobHookEnabledResponse.SerializeToString,
            ),
            'GetActiveJobHooksByTiming': grpc.unary_unary_rpc_method_handler(
                    servicer.GetActiveJobHooksByTiming,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetActiveJobHooksByTimingRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetActiveJobHooksByTimingResponse.SerializeToString,
            ),
            'GetPiiDetectionReport': grpc.unary_unary_rpc_method_handler(
                    servicer.GetPiiDetectionReport,
                    request_deserializer=mgmt_dot_v1alpha1_dot_job__pb2.GetPiiDetectionReportRequest.FromString,
                    response_serializer=mgmt_dot_v1alpha1_dot_job__pb2.GetPiiDetectionReportResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'mgmt.v1alpha1.JobService', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('mgmt.v1alpha1.JobService', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class JobService(object):
    """Service that handles jobs, runs, and hooks
    """

    @staticmethod
    def GetJobs(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobs',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJob(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJob',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def CreateJob(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/CreateJob',
            mgmt_dot_v1alpha1_dot_job__pb2.CreateJobRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.CreateJobResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DeleteJob(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/DeleteJob',
            mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def IsJobNameAvailable(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/IsJobNameAvailable',
            mgmt_dot_v1alpha1_dot_job__pb2.IsJobNameAvailableRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.IsJobNameAvailableResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UpdateJobSchedule(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/UpdateJobSchedule',
            mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobScheduleRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobScheduleResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UpdateJobSourceConnection(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/UpdateJobSourceConnection',
            mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobSourceConnectionRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobSourceConnectionResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def SetJobSourceSqlConnectionSubsets(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/SetJobSourceSqlConnectionSubsets',
            mgmt_dot_v1alpha1_dot_job__pb2.SetJobSourceSqlConnectionSubsetsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.SetJobSourceSqlConnectionSubsetsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UpdateJobDestinationConnection(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/UpdateJobDestinationConnection',
            mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobDestinationConnectionRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobDestinationConnectionResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DeleteJobDestinationConnection(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/DeleteJobDestinationConnection',
            mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobDestinationConnectionRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobDestinationConnectionResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def CreateJobDestinationConnections(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/CreateJobDestinationConnections',
            mgmt_dot_v1alpha1_dot_job__pb2.CreateJobDestinationConnectionsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.CreateJobDestinationConnectionsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def PauseJob(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/PauseJob',
            mgmt_dot_v1alpha1_dot_job__pb2.PauseJobRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.PauseJobResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobRecentRuns(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobRecentRuns',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRecentRunsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRecentRunsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobNextRuns(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobNextRuns',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobNextRunsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobNextRunsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobStatus(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobStatus',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobStatuses(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobStatuses',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusesRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobStatusesResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobRuns(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobRuns',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobRunEvents(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobRunEvents',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunEventsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunEventsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobRun(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobRun',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DeleteJobRun(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/DeleteJobRun',
            mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobRunRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobRunResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def CreateJobRun(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/CreateJobRun',
            mgmt_dot_v1alpha1_dot_job__pb2.CreateJobRunRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.CreateJobRunResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def CancelJobRun(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/CancelJobRun',
            mgmt_dot_v1alpha1_dot_job__pb2.CancelJobRunRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.CancelJobRunResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def TerminateJobRun(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/TerminateJobRun',
            mgmt_dot_v1alpha1_dot_job__pb2.TerminateJobRunRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.TerminateJobRunResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobRunLogsStream(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_stream(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobRunLogsStream',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsStreamRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsStreamResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobRunLogs(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobRunLogs',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobRunLogsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def SetJobWorkflowOptions(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/SetJobWorkflowOptions',
            mgmt_dot_v1alpha1_dot_job__pb2.SetJobWorkflowOptionsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.SetJobWorkflowOptionsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def SetJobSyncOptions(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/SetJobSyncOptions',
            mgmt_dot_v1alpha1_dot_job__pb2.SetJobSyncOptionsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.SetJobSyncOptionsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def ValidateJobMappings(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/ValidateJobMappings',
            mgmt_dot_v1alpha1_dot_job__pb2.ValidateJobMappingsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.ValidateJobMappingsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def ValidateSchema(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/ValidateSchema',
            mgmt_dot_v1alpha1_dot_job__pb2.ValidateSchemaRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.ValidateSchemaResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetRunContext(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetRunContext',
            mgmt_dot_v1alpha1_dot_job__pb2.GetRunContextRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetRunContextResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def SetRunContext(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/SetRunContext',
            mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def SetRunContexts(request_iterator,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.stream_unary(
            request_iterator,
            target,
            '/mgmt.v1alpha1.JobService/SetRunContexts',
            mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextsRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.SetRunContextsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobHooks(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobHooks',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobHooksRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobHooksResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetJobHook(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetJobHook',
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobHookRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetJobHookResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def CreateJobHook(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/CreateJobHook',
            mgmt_dot_v1alpha1_dot_job__pb2.CreateJobHookRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.CreateJobHookResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DeleteJobHook(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/DeleteJobHook',
            mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobHookRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.DeleteJobHookResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def IsJobHookNameAvailable(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/IsJobHookNameAvailable',
            mgmt_dot_v1alpha1_dot_job__pb2.IsJobHookNameAvailableRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.IsJobHookNameAvailableResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UpdateJobHook(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/UpdateJobHook',
            mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobHookRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.UpdateJobHookResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def SetJobHookEnabled(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/SetJobHookEnabled',
            mgmt_dot_v1alpha1_dot_job__pb2.SetJobHookEnabledRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.SetJobHookEnabledResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetActiveJobHooksByTiming(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetActiveJobHooksByTiming',
            mgmt_dot_v1alpha1_dot_job__pb2.GetActiveJobHooksByTimingRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetActiveJobHooksByTimingResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetPiiDetectionReport(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/mgmt.v1alpha1.JobService/GetPiiDetectionReport',
            mgmt_dot_v1alpha1_dot_job__pb2.GetPiiDetectionReportRequest.SerializeToString,
            mgmt_dot_v1alpha1_dot_job__pb2.GetPiiDetectionReportResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)
