public static final class LifecycleConfig.Builder extends GeneratedMessageV3.Builder<LifecycleConfig.Builder> implements LifecycleConfigOrBuilder
Specifies the cluster auto-delete schedule configuration.
Protobuf type google.cloud.dataproc.v1.LifecycleConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LifecycleConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LifecycleConfig build()
buildPartial()
public LifecycleConfig buildPartial()
clear()
public LifecycleConfig.Builder clear()
Overrides
clearAutoDeleteTime()
public LifecycleConfig.Builder clearAutoDeleteTime()
Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
clearAutoDeleteTtl()
public LifecycleConfig.Builder clearAutoDeleteTtl()
Optional. The lifetime duration of cluster. The cluster will be
auto-deleted at the end of this period. Minimum value is 10 minutes;
maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public LifecycleConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIdleDeleteTtl()
public LifecycleConfig.Builder clearIdleDeleteTtl()
Optional. The duration to keep the cluster alive while idling (when no jobs
are running). Passing this threshold will cause the cluster to be
deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
clearIdleStartTime()
public LifecycleConfig.Builder clearIdleStartTime()
Output only. The time when cluster became idle (most recent job finished)
and became eligible for deletion due to idleness (see JSON representation
of
Timestamp).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public LifecycleConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTtl()
public LifecycleConfig.Builder clearTtl()
clone()
public LifecycleConfig.Builder clone()
Overrides
getAutoDeleteTime()
public Timestamp getAutoDeleteTime()
Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Timestamp |
The autoDeleteTime.
|
getAutoDeleteTimeBuilder()
public Timestamp.Builder getAutoDeleteTimeBuilder()
Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
getAutoDeleteTimeOrBuilder()
public TimestampOrBuilder getAutoDeleteTimeOrBuilder()
Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
getAutoDeleteTtl()
public Duration getAutoDeleteTtl()
Optional. The lifetime duration of cluster. The cluster will be
auto-deleted at the end of this period. Minimum value is 10 minutes;
maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Duration |
The autoDeleteTtl.
|
getAutoDeleteTtlBuilder()
public Duration.Builder getAutoDeleteTtlBuilder()
Optional. The lifetime duration of cluster. The cluster will be
auto-deleted at the end of this period. Minimum value is 10 minutes;
maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
getAutoDeleteTtlOrBuilder()
public DurationOrBuilder getAutoDeleteTtlOrBuilder()
Optional. The lifetime duration of cluster. The cluster will be
auto-deleted at the end of this period. Minimum value is 10 minutes;
maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public LifecycleConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIdleDeleteTtl()
public Duration getIdleDeleteTtl()
Optional. The duration to keep the cluster alive while idling (when no jobs
are running). Passing this threshold will cause the cluster to be
deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Duration |
The idleDeleteTtl.
|
getIdleDeleteTtlBuilder()
public Duration.Builder getIdleDeleteTtlBuilder()
Optional. The duration to keep the cluster alive while idling (when no jobs
are running). Passing this threshold will cause the cluster to be
deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
getIdleDeleteTtlOrBuilder()
public DurationOrBuilder getIdleDeleteTtlOrBuilder()
Optional. The duration to keep the cluster alive while idling (when no jobs
are running). Passing this threshold will cause the cluster to be
deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
getIdleStartTime()
public Timestamp getIdleStartTime()
Output only. The time when cluster became idle (most recent job finished)
and became eligible for deletion due to idleness (see JSON representation
of
Timestamp).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The idleStartTime.
|
getIdleStartTimeBuilder()
public Timestamp.Builder getIdleStartTimeBuilder()
Output only. The time when cluster became idle (most recent job finished)
and became eligible for deletion due to idleness (see JSON representation
of
Timestamp).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getIdleStartTimeOrBuilder()
public TimestampOrBuilder getIdleStartTimeOrBuilder()
Output only. The time when cluster became idle (most recent job finished)
and became eligible for deletion due to idleness (see JSON representation
of
Timestamp).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTtlCase()
public LifecycleConfig.TtlCase getTtlCase()
hasAutoDeleteTime()
public boolean hasAutoDeleteTime()
Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the autoDeleteTime field is set.
|
hasAutoDeleteTtl()
public boolean hasAutoDeleteTtl()
Optional. The lifetime duration of cluster. The cluster will be
auto-deleted at the end of this period. Minimum value is 10 minutes;
maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the autoDeleteTtl field is set.
|
hasIdleDeleteTtl()
public boolean hasIdleDeleteTtl()
Optional. The duration to keep the cluster alive while idling (when no jobs
are running). Passing this threshold will cause the cluster to be
deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the idleDeleteTtl field is set.
|
hasIdleStartTime()
public boolean hasIdleStartTime()
Output only. The time when cluster became idle (most recent job finished)
and became eligible for deletion due to idleness (see JSON representation
of
Timestamp).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the idleStartTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAutoDeleteTime(Timestamp value)
public LifecycleConfig.Builder mergeAutoDeleteTime(Timestamp value)
Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
mergeAutoDeleteTtl(Duration value)
public LifecycleConfig.Builder mergeAutoDeleteTtl(Duration value)
Optional. The lifetime duration of cluster. The cluster will be
auto-deleted at the end of this period. Minimum value is 10 minutes;
maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Duration
|
mergeFrom(LifecycleConfig other)
public LifecycleConfig.Builder mergeFrom(LifecycleConfig other)
public LifecycleConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LifecycleConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeIdleDeleteTtl(Duration value)
public LifecycleConfig.Builder mergeIdleDeleteTtl(Duration value)
Optional. The duration to keep the cluster alive while idling (when no jobs
are running). Passing this threshold will cause the cluster to be
deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Duration
|
mergeIdleStartTime(Timestamp value)
public LifecycleConfig.Builder mergeIdleStartTime(Timestamp value)
Output only. The time when cluster became idle (most recent job finished)
and became eligible for deletion due to idleness (see JSON representation
of
Timestamp).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LifecycleConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAutoDeleteTime(Timestamp value)
public LifecycleConfig.Builder setAutoDeleteTime(Timestamp value)
Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
setAutoDeleteTime(Timestamp.Builder builderForValue)
public LifecycleConfig.Builder setAutoDeleteTime(Timestamp.Builder builderForValue)
Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setAutoDeleteTtl(Duration value)
public LifecycleConfig.Builder setAutoDeleteTtl(Duration value)
Optional. The lifetime duration of cluster. The cluster will be
auto-deleted at the end of this period. Minimum value is 10 minutes;
maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Duration
|
setAutoDeleteTtl(Duration.Builder builderForValue)
public LifecycleConfig.Builder setAutoDeleteTtl(Duration.Builder builderForValue)
Optional. The lifetime duration of cluster. The cluster will be
auto-deleted at the end of this period. Minimum value is 10 minutes;
maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public LifecycleConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIdleDeleteTtl(Duration value)
public LifecycleConfig.Builder setIdleDeleteTtl(Duration value)
Optional. The duration to keep the cluster alive while idling (when no jobs
are running). Passing this threshold will cause the cluster to be
deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Duration
|
setIdleDeleteTtl(Duration.Builder builderForValue)
public LifecycleConfig.Builder setIdleDeleteTtl(Duration.Builder builderForValue)
Optional. The duration to keep the cluster alive while idling (when no jobs
are running). Passing this threshold will cause the cluster to be
deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setIdleStartTime(Timestamp value)
public LifecycleConfig.Builder setIdleStartTime(Timestamp value)
Output only. The time when cluster became idle (most recent job finished)
and became eligible for deletion due to idleness (see JSON representation
of
Timestamp).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
setIdleStartTime(Timestamp.Builder builderForValue)
public LifecycleConfig.Builder setIdleStartTime(Timestamp.Builder builderForValue)
Output only. The time when cluster became idle (most recent job finished)
and became eligible for deletion due to idleness (see JSON representation
of
Timestamp).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LifecycleConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LifecycleConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides