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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LifecycleConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LifecycleConfig build()
Returns
buildPartial()
public LifecycleConfig buildPartial()
Returns
clear()
public LifecycleConfig.Builder clear()
Returns
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];
Returns
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];
Returns
clearField(Descriptors.FieldDescriptor field)
public LifecycleConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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];
Returns
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];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public LifecycleConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTtl()
public LifecycleConfig.Builder clearTtl()
Returns
clone()
public LifecycleConfig.Builder clone()
Returns
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
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];
Returns
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];
Returns
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];
Returns
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];
Returns
getDefaultInstanceForType()
public LifecycleConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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];
Returns
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];
Returns
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
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];
Returns
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];
Returns
getTtlCase()
public LifecycleConfig.TtlCase getTtlCase()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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];
Parameter
Returns
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
Returns
mergeFrom(LifecycleConfig other)
public LifecycleConfig.Builder mergeFrom(LifecycleConfig other)
Parameter
Returns
public LifecycleConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LifecycleConfig.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
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];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LifecycleConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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
|
Returns
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
Returns
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
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LifecycleConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
|
Returns
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];
Parameter
Returns
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
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LifecycleConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LifecycleConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides