public final class Scheduling extends GeneratedMessageV3 implements SchedulingOrBuilder
All parameters related to queuing and scheduling of custom jobs.
Protobuf type google.cloud.aiplatform.v1.Scheduling
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DISABLE_RETRIES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int MAX_WAIT_DURATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int RESTART_JOB_ON_WORKER_RESTART_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TIMEOUT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Scheduling getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Scheduling.Builder newBuilder()
public static Scheduling.Builder newBuilder(Scheduling prototype)
public static Scheduling parseDelimitedFrom(InputStream input)
public static Scheduling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Scheduling parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Scheduling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Scheduling parseFrom(ByteString data)
public static Scheduling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Scheduling parseFrom(CodedInputStream input)
public static Scheduling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Scheduling parseFrom(InputStream input)
public static Scheduling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Scheduling parseFrom(ByteBuffer data)
public static Scheduling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Scheduling> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Scheduling getDefaultInstanceForType()
public 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.
|
public 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.
|
public 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];
public Parser<Scheduling> getParserForType()
Overrides
public 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.
|
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public Duration getTimeout()
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
Returns |
---|
Type | Description |
Duration | The timeout.
|
public DurationOrBuilder getTimeoutOrBuilder()
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
public 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.
|
public 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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Scheduling.Builder newBuilderForType()
protected Scheduling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Scheduling.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides