Package com.google.cloud.dataproc.v1
Interface LifecycleConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LifecycleConfig
,LifecycleConfig.Builder
public interface LifecycleConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getAutoDeleteTime()
Optional.com.google.protobuf.TimestampOrBuilder
getAutoDeleteTimeOrBuilder()
Optional.com.google.protobuf.Duration
getAutoDeleteTtl()
Optional.com.google.protobuf.DurationOrBuilder
getAutoDeleteTtlOrBuilder()
Optional.com.google.protobuf.Duration
getIdleDeleteTtl()
Optional.com.google.protobuf.DurationOrBuilder
getIdleDeleteTtlOrBuilder()
Optional.com.google.protobuf.Timestamp
getIdleStartTime()
Output only.com.google.protobuf.TimestampOrBuilder
getIdleStartTimeOrBuilder()
Output only.LifecycleConfig.TtlCase
getTtlCase()
boolean
hasAutoDeleteTime()
Optional.boolean
hasAutoDeleteTtl()
Optional.boolean
hasIdleDeleteTtl()
Optional.boolean
hasIdleStartTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasIdleDeleteTtl
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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the idleDeleteTtl field is set.
-
getIdleDeleteTtl
com.google.protobuf.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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The idleDeleteTtl.
-
getIdleDeleteTtlOrBuilder
com.google.protobuf.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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
-
hasAutoDeleteTime
boolean hasAutoDeleteTime()
Optional. The time when cluster will be auto-deleted (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the autoDeleteTime field is set.
-
getAutoDeleteTime
com.google.protobuf.Timestamp getAutoDeleteTime()
Optional. The time when cluster will be auto-deleted (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The autoDeleteTime.
-
getAutoDeleteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getAutoDeleteTimeOrBuilder()
Optional. The time when cluster will be auto-deleted (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
-
hasAutoDeleteTtl
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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the autoDeleteTtl field is set.
-
getAutoDeleteTtl
com.google.protobuf.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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The autoDeleteTtl.
-
getAutoDeleteTtlOrBuilder
com.google.protobuf.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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
-
hasIdleStartTime
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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the idleStartTime field is set.
-
getIdleStartTime
com.google.protobuf.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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The idleStartTime.
-
getIdleStartTimeOrBuilder
com.google.protobuf.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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTtlCase
LifecycleConfig.TtlCase getTtlCase()
-
-