Send feedback
Class Scheduling (3.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.25.0 keyboard_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 DISABLE_RETRIES_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 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 )
Overrides
public Scheduling . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]