public final class LifecycleConfig extends GeneratedMessageV3 implements LifecycleConfigOrBuilder
Specifies the cluster auto-delete schedule configuration.
Protobuf type google.cloud.dataproc.v1.LifecycleConfig
Static Fields
AUTO_DELETE_TIME_FIELD_NUMBER
public static final int AUTO_DELETE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
AUTO_DELETE_TTL_FIELD_NUMBER
public static final int AUTO_DELETE_TTL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IDLE_DELETE_TTL_FIELD_NUMBER
public static final int IDLE_DELETE_TTL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IDLE_START_TIME_FIELD_NUMBER
public static final int IDLE_START_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static LifecycleConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LifecycleConfig.Builder newBuilder()
newBuilder(LifecycleConfig prototype)
public static LifecycleConfig.Builder newBuilder(LifecycleConfig prototype)
public static LifecycleConfig parseDelimitedFrom(InputStream input)
public static LifecycleConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LifecycleConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LifecycleConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LifecycleConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LifecycleConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LifecycleConfig parseFrom(CodedInputStream input)
public static LifecycleConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LifecycleConfig parseFrom(InputStream input)
public static LifecycleConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LifecycleConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LifecycleConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LifecycleConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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.
|
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.
|
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()
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.
|
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.
|
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];
getParserForType()
public Parser<LifecycleConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTtlCase()
public LifecycleConfig.TtlCase getTtlCase()
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LifecycleConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LifecycleConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public LifecycleConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides