Interface SchedulingOrBuilder (3.7.0)

public interface SchedulingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRestartJobOnWorkerRestart()

public abstract boolean getRestartJobOnWorkerRestart()

Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.

bool restart_job_on_worker_restart = 3;

Returns
TypeDescription
boolean

The restartJobOnWorkerRestart.

getTimeout()

public abstract Duration getTimeout()

The maximum job running time. The default is 7 days.

.google.protobuf.Duration timeout = 1;

Returns
TypeDescription
Duration

The timeout.

getTimeoutOrBuilder()

public abstract DurationOrBuilder getTimeoutOrBuilder()

The maximum job running time. The default is 7 days.

.google.protobuf.Duration timeout = 1;

Returns
TypeDescription
DurationOrBuilder

hasTimeout()

public abstract boolean hasTimeout()

The maximum job running time. The default is 7 days.

.google.protobuf.Duration timeout = 1;

Returns
TypeDescription
boolean

Whether the timeout field is set.