Class Scheduling (3.21.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 3.21.0keyboard_arrow_down
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)
Static Fields
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 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 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 )
Returns
Type
Description
Object
Overrides
public Scheduling . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]