public final class LifecycleConfig extends com.google.protobuf.GeneratedMessageV3 implements LifecycleConfigOrBuilder
Specifies the cluster auto-delete schedule configuration.Protobuf type
google.cloud.dataproc.v1.LifecycleConfig| Modifier and Type | Class and Description |
|---|---|
static class |
LifecycleConfig.Builder
Specifies the cluster auto-delete schedule configuration.
|
static class |
LifecycleConfig.TtlCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO_DELETE_TIME_FIELD_NUMBER |
static int |
AUTO_DELETE_TTL_FIELD_NUMBER |
static int |
IDLE_DELETE_TTL_FIELD_NUMBER |
static int |
IDLE_START_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getAutoDeleteTime()
Optional.
|
com.google.protobuf.TimestampOrBuilder |
getAutoDeleteTimeOrBuilder()
Optional.
|
com.google.protobuf.Duration |
getAutoDeleteTtl()
Optional.
|
com.google.protobuf.DurationOrBuilder |
getAutoDeleteTtlOrBuilder()
Optional.
|
static LifecycleConfig |
getDefaultInstance() |
LifecycleConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<LifecycleConfig> |
getParserForType() |
int |
getSerializedSize() |
LifecycleConfig.TtlCase |
getTtlCase() |
boolean |
hasAutoDeleteTime()
Optional.
|
boolean |
hasAutoDeleteTtl()
Optional.
|
int |
hashCode() |
boolean |
hasIdleDeleteTtl()
Optional.
|
boolean |
hasIdleStartTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LifecycleConfig.Builder |
newBuilder() |
static LifecycleConfig.Builder |
newBuilder(LifecycleConfig prototype) |
LifecycleConfig.Builder |
newBuilderForType() |
protected LifecycleConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LifecycleConfig |
parseDelimitedFrom(InputStream input) |
static LifecycleConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LifecycleConfig |
parseFrom(byte[] data) |
static LifecycleConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LifecycleConfig |
parseFrom(ByteBuffer data) |
static LifecycleConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LifecycleConfig |
parseFrom(com.google.protobuf.ByteString data) |
static LifecycleConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LifecycleConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LifecycleConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LifecycleConfig |
parseFrom(InputStream input) |
static LifecycleConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LifecycleConfig> |
parser() |
LifecycleConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int IDLE_DELETE_TTL_FIELD_NUMBER
public static final int AUTO_DELETE_TIME_FIELD_NUMBER
public static final int AUTO_DELETE_TTL_FIELD_NUMBER
public static final int IDLE_START_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public LifecycleConfig.TtlCase getTtlCase()
getTtlCase in interface LifecycleConfigOrBuilderpublic 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];
hasIdleDeleteTtl in interface LifecycleConfigOrBuilderpublic 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];
getIdleDeleteTtl in interface LifecycleConfigOrBuilderpublic 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];
getIdleDeleteTtlOrBuilder in interface LifecycleConfigOrBuilderpublic 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];
hasAutoDeleteTime in interface LifecycleConfigOrBuilderpublic 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];
getAutoDeleteTime in interface LifecycleConfigOrBuilderpublic 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];
getAutoDeleteTimeOrBuilder in interface LifecycleConfigOrBuilderpublic 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];
hasAutoDeleteTtl in interface LifecycleConfigOrBuilderpublic 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];
getAutoDeleteTtl in interface LifecycleConfigOrBuilderpublic 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];
getAutoDeleteTtlOrBuilder in interface LifecycleConfigOrBuilderpublic 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];
hasIdleStartTime in interface LifecycleConfigOrBuilderpublic 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];
getIdleStartTime in interface LifecycleConfigOrBuilderpublic 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];
getIdleStartTimeOrBuilder in interface LifecycleConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LifecycleConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LifecycleConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LifecycleConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LifecycleConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LifecycleConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LifecycleConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LifecycleConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static LifecycleConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LifecycleConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LifecycleConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LifecycleConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LifecycleConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LifecycleConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LifecycleConfig.Builder newBuilder()
public static LifecycleConfig.Builder newBuilder(LifecycleConfig prototype)
public LifecycleConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LifecycleConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LifecycleConfig getDefaultInstance()
public static com.google.protobuf.Parser<LifecycleConfig> parser()
public com.google.protobuf.Parser<LifecycleConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LifecycleConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.