public final class LifecycleConfig extends GeneratedMessage implements LifecycleConfigOrBuilder
Specifies the cluster auto-delete schedule configuration.
Protobuf type google.cloud.dataproc.v1.LifecycleConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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 |
|
AUTO_STOP_TIME_FIELD_NUMBER
public static final int AUTO_STOP_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
AUTO_STOP_TTL_FIELD_NUMBER
public static final int AUTO_STOP_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 |
|
IDLE_STOP_TTL_FIELD_NUMBER
public static final int IDLE_STOP_TTL_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];
getAutoStopTime()
public Timestamp getAutoStopTime()
Optional. The time when cluster will be auto-stopped (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Timestamp |
The autoStopTime.
|
getAutoStopTimeOrBuilder()
public TimestampOrBuilder getAutoStopTimeOrBuilder()
Optional. The time when cluster will be auto-stopped (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];
getAutoStopTtl()
public Duration getAutoStopTtl()
Optional. The lifetime duration of the cluster. The cluster will be
auto-stopped at the end of this period, calculated from the time of
submission of the create or update cluster request. Minimum value is 10
minutes; maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Duration |
The autoStopTtl.
|
getAutoStopTtlOrBuilder()
public DurationOrBuilder getAutoStopTtlOrBuilder()
Optional. The lifetime duration of the cluster. The cluster will be
auto-stopped at the end of this period, calculated from the time of
submission of the create or update cluster request. Minimum value is 10
minutes; maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_stop_ttl = 7 [(.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];
getIdleStopTtl()
public Duration getIdleStopTtl()
Optional. The duration to keep the cluster started while idling (when no
jobs are running). Passing this threshold will cause the cluster to be
stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Duration |
The idleStopTtl.
|
getIdleStopTtlOrBuilder()
public DurationOrBuilder getIdleStopTtlOrBuilder()
Optional. The duration to keep the cluster started while idling (when no
jobs are running). Passing this threshold will cause the cluster to be
stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<LifecycleConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStopTtlCase()
public LifecycleConfig.StopTtlCase getStopTtlCase()
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.
|
hasAutoStopTime()
public boolean hasAutoStopTime()
Optional. The time when cluster will be auto-stopped (see JSON
representation of
Timestamp).
.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the autoStopTime field is set.
|
hasAutoStopTtl()
public boolean hasAutoStopTtl()
Optional. The lifetime duration of the cluster. The cluster will be
auto-stopped at the end of this period, calculated from the time of
submission of the create or update cluster request. Minimum value is 10
minutes; maximum value is 14 days (see JSON representation of
Duration).
.google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the autoStopTtl 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.
|
hasIdleStopTtl()
public boolean hasIdleStopTtl()
Optional. The duration to keep the cluster started while idling (when no
jobs are running). Passing this threshold will cause the cluster to be
stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the idleStopTtl field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LifecycleConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LifecycleConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public LifecycleConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides