Send feedback
Class Scheduling.Builder (2.9.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.9.6 keyboard_arrow_down
public static final class Scheduling . Builder extends GeneratedMessageV3 . Builder<Scheduling . Builder > implements SchedulingOrBuilder
All parameters related to queuing and scheduling of custom jobs.
Protobuf type google.cloud.aiplatform.v1beta1.Scheduling
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public Scheduling . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public Scheduling build ()
Returns
public Scheduling buildPartial ()
Returns
public Scheduling . Builder clear ()
Returns
Overrides
public Scheduling . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public Scheduling . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public Scheduling . Builder clearRestartJobOnWorkerRestart ()
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
public Scheduling . Builder clearTimeout ()
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
Returns
public Scheduling . Builder clone ()
Returns
Overrides
public Scheduling getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
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 Duration getTimeout ()
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
Returns
public Duration . Builder getTimeoutBuilder ()
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
Returns
public DurationOrBuilder getTimeoutOrBuilder ()
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
Returns
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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public Scheduling . Builder mergeFrom ( Scheduling other )
Parameter
Returns
public Scheduling . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public Scheduling . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public Scheduling . Builder mergeTimeout ( Duration value )
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
Parameter
Returns
public final Scheduling . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public Scheduling . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public Scheduling . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public Scheduling . Builder setRestartJobOnWorkerRestart ( boolean value )
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;
Parameter
Name Description value boolean
The restartJobOnWorkerRestart to set.
Returns
public Scheduling . Builder setTimeout ( Duration value )
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
Parameter
Returns
public Scheduling . Builder setTimeout ( Duration . Builder builderForValue )
The maximum job running time. The default is 7 days.
.google.protobuf.Duration timeout = 1;
Parameter
Name Description builderForValue Builder
Returns
public final Scheduling . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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-27 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-27 UTC."],[],[]]