Class FlexStart.Builder (3.69.0)

public static final class FlexStart.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FlexStart.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FlexStart.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public FlexStart.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public FlexStart.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FlexStart.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FlexStart.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FlexStart.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FlexStart.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FlexStart.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FlexStart.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FlexStart.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FlexStart.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FlexStart.Builder
Overrides