public interface SchedulingOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDisableRetries()
Optional.
|
com.google.protobuf.Duration |
getMaxWaitDuration()
Optional.
|
com.google.protobuf.DurationOrBuilder |
getMaxWaitDurationOrBuilder()
Optional.
|
boolean |
getRestartJobOnWorkerRestart()
Restarts the entire CustomJob if a worker gets restarted.
|
Scheduling.Strategy |
getStrategy()
Optional.
|
int |
getStrategyValue()
Optional.
|
com.google.protobuf.Duration |
getTimeout()
The maximum job running time.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
The maximum job running time.
|
boolean |
hasMaxWaitDuration()
Optional.
|
boolean |
hasTimeout()
The maximum job running time.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTimeout()
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;com.google.protobuf.Duration getTimeout()
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;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;int getStrategyValue()
Optional. This determines which type of scheduling strategy to use.
.google.cloud.aiplatform.v1beta1.Scheduling.Strategy strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
Scheduling.Strategy getStrategy()
Optional. This determines which type of scheduling strategy to use.
.google.cloud.aiplatform.v1beta1.Scheduling.Strategy strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
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];boolean hasMaxWaitDuration()
Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
.google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.Duration getMaxWaitDuration()
Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
.google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.DurationOrBuilder getMaxWaitDurationOrBuilder()
Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
.google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2025 Google LLC. All rights reserved.