Class FlexStart.Builder (3.84.0)

public static final class FlexStart.Builder extends GeneratedMessage.Builder<FlexStart.Builder> implements FlexStartOrBuilder

FlexStart is used to schedule the deployment workload on DWS resource. It contains the max duration of the deployment.

Protobuf type google.cloud.aiplatform.v1beta1.FlexStart

Implements

FlexStartOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public FlexStart build()
Returns
Type Description
FlexStart

buildPartial()

public FlexStart buildPartial()
Returns
Type Description
FlexStart

clear()

public FlexStart.Builder clear()
Returns
Type Description
FlexStart.Builder
Overrides

clearMaxRuntimeDuration()

public FlexStart.Builder clearMaxRuntimeDuration()

The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days.

.google.protobuf.Duration max_runtime_duration = 1;

Returns
Type Description
FlexStart.Builder

getDefaultInstanceForType()

public FlexStart getDefaultInstanceForType()
Returns
Type Description
FlexStart

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMaxRuntimeDuration()

public Duration getMaxRuntimeDuration()

The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days.

.google.protobuf.Duration max_runtime_duration = 1;

Returns
Type Description
Duration

The maxRuntimeDuration.

getMaxRuntimeDurationBuilder()

public Duration.Builder getMaxRuntimeDurationBuilder()

The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days.

.google.protobuf.Duration max_runtime_duration = 1;

Returns
Type Description
Builder

getMaxRuntimeDurationOrBuilder()

public DurationOrBuilder getMaxRuntimeDurationOrBuilder()

The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days.

.google.protobuf.Duration max_runtime_duration = 1;

Returns
Type Description
DurationOrBuilder

hasMaxRuntimeDuration()

public boolean hasMaxRuntimeDuration()

The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days.

.google.protobuf.Duration max_runtime_duration = 1;

Returns
Type Description
boolean

Whether the maxRuntimeDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FlexStart other)

public FlexStart.Builder mergeFrom(FlexStart other)
Parameter
Name Description
other FlexStart
Returns
Type Description
FlexStart.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FlexStart.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FlexStart.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FlexStart.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FlexStart.Builder
Overrides

mergeMaxRuntimeDuration(Duration value)

public FlexStart.Builder mergeMaxRuntimeDuration(Duration value)

The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days.

.google.protobuf.Duration max_runtime_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
FlexStart.Builder

setMaxRuntimeDuration(Duration value)

public FlexStart.Builder setMaxRuntimeDuration(Duration value)

The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days.

.google.protobuf.Duration max_runtime_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
FlexStart.Builder

setMaxRuntimeDuration(Duration.Builder builderForValue)

public FlexStart.Builder setMaxRuntimeDuration(Duration.Builder builderForValue)

The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days.

.google.protobuf.Duration max_runtime_duration = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FlexStart.Builder