public final class Scheduling extends GeneratedMessageV3 implements SchedulingOrBuilder
All parameters related to queuing and scheduling of custom jobs.
Protobuf type google.cloud.aiplatform.v1beta1.Scheduling
Static Fields
public static final int RESTART_JOB_ON_WORKER_RESTART_FIELD_NUMBER
Field Value
public static final int TIMEOUT_FIELD_NUMBER
Field Value
Static Methods
public static Scheduling getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Scheduling.Builder newBuilder()
Returns
public static Scheduling.Builder newBuilder(Scheduling prototype)
Parameter
Returns
public static Scheduling parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Scheduling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Scheduling parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Scheduling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Scheduling parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Scheduling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Scheduling parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Scheduling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Scheduling parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Scheduling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Scheduling parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Scheduling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Scheduling> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Scheduling getDefaultInstanceForType()
Returns
public Parser<Scheduling> getParserForType()
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 int getSerializedSize()
Returns
Overrides
public Duration getTimeout()
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 final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Scheduling.Builder newBuilderForType()
Returns
protected Scheduling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Scheduling.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions