public interface SchedulingOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDisableRetries()
public abstract boolean getDisableRetries() Optional. Indicates if the job should retry for internal errors after the
job starts running. If true, overrides
Scheduling.restart_job_on_worker_restart to false.
bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The disableRetries. |
getMaxWaitDuration()
public abstract Duration getMaxWaitDuration()Optional. This is the maximum time a user will wait in the QRM queue for resources. Default is 1 day
.google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The maxWaitDuration. |
getMaxWaitDurationOrBuilder()
public abstract DurationOrBuilder getMaxWaitDurationOrBuilder()Optional. This is the maximum time a user will wait in the QRM queue for resources. Default is 1 day
.google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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 | |
|---|---|
| Type | Description |
boolean |
The restartJobOnWorkerRestart. |
getTimeout()
public abstract Duration getTimeout()The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
| Returns | |
|---|---|
| Type | Description |
Duration |
The timeout. |
getTimeoutOrBuilder()
public abstract DurationOrBuilder getTimeoutOrBuilder()The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasMaxWaitDuration()
public abstract boolean hasMaxWaitDuration()Optional. This is the maximum time a user will wait in the QRM queue for resources. Default is 1 day
.google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maxWaitDuration field is set. |
hasTimeout()
public abstract boolean hasTimeout()The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timeout field is set. |