Package com.google.cloud.dataproc.v1
Class LifecycleConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataproc.v1.LifecycleConfig
-
- All Implemented Interfaces:
LifecycleConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class LifecycleConfig extends com.google.protobuf.GeneratedMessageV3 implements LifecycleConfigOrBuilder
Specifies the cluster auto-delete schedule configuration.
Protobuf typegoogle.cloud.dataproc.v1.LifecycleConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLifecycleConfig.BuilderSpecifies the cluster auto-delete schedule configuration.static classLifecycleConfig.TtlCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTO_DELETE_TIME_FIELD_NUMBERstatic intAUTO_DELETE_TTL_FIELD_NUMBERstatic intIDLE_DELETE_TTL_FIELD_NUMBERstatic intIDLE_START_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.TimestampgetAutoDeleteTime()Optional.com.google.protobuf.TimestampOrBuildergetAutoDeleteTimeOrBuilder()Optional.com.google.protobuf.DurationgetAutoDeleteTtl()Optional.com.google.protobuf.DurationOrBuildergetAutoDeleteTtlOrBuilder()Optional.static LifecycleConfiggetDefaultInstance()LifecycleConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetIdleDeleteTtl()Optional.com.google.protobuf.DurationOrBuildergetIdleDeleteTtlOrBuilder()Optional.com.google.protobuf.TimestampgetIdleStartTime()Output only.com.google.protobuf.TimestampOrBuildergetIdleStartTimeOrBuilder()Output only.com.google.protobuf.Parser<LifecycleConfig>getParserForType()intgetSerializedSize()LifecycleConfig.TtlCasegetTtlCase()booleanhasAutoDeleteTime()Optional.booleanhasAutoDeleteTtl()Optional.inthashCode()booleanhasIdleDeleteTtl()Optional.booleanhasIdleStartTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LifecycleConfig.BuildernewBuilder()static LifecycleConfig.BuildernewBuilder(LifecycleConfig prototype)LifecycleConfig.BuildernewBuilderForType()protected LifecycleConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LifecycleConfigparseDelimitedFrom(InputStream input)static LifecycleConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LifecycleConfigparseFrom(byte[] data)static LifecycleConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LifecycleConfigparseFrom(com.google.protobuf.ByteString data)static LifecycleConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LifecycleConfigparseFrom(com.google.protobuf.CodedInputStream input)static LifecycleConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LifecycleConfigparseFrom(InputStream input)static LifecycleConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LifecycleConfigparseFrom(ByteBuffer data)static LifecycleConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LifecycleConfig>parser()LifecycleConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
IDLE_DELETE_TTL_FIELD_NUMBER
public static final int IDLE_DELETE_TTL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTO_DELETE_TIME_FIELD_NUMBER
public static final int AUTO_DELETE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTO_DELETE_TTL_FIELD_NUMBER
public static final int AUTO_DELETE_TTL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IDLE_START_TIME_FIELD_NUMBER
public static final int IDLE_START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTtlCase
public LifecycleConfig.TtlCase getTtlCase()
- Specified by:
getTtlCasein interfaceLifecycleConfigOrBuilder
-
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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasIdleDeleteTtlin interfaceLifecycleConfigOrBuilder- Returns:
- Whether the idleDeleteTtl field is set.
-
getIdleDeleteTtl
public 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];- Specified by:
getIdleDeleteTtlin interfaceLifecycleConfigOrBuilder- Returns:
- The idleDeleteTtl.
-
getIdleDeleteTtlOrBuilder
public 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];- Specified by:
getIdleDeleteTtlOrBuilderin interfaceLifecycleConfigOrBuilder
-
hasAutoDeleteTime
public 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];- Specified by:
hasAutoDeleteTimein interfaceLifecycleConfigOrBuilder- Returns:
- Whether the autoDeleteTime field is set.
-
getAutoDeleteTime
public 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];- Specified by:
getAutoDeleteTimein interfaceLifecycleConfigOrBuilder- Returns:
- The autoDeleteTime.
-
getAutoDeleteTimeOrBuilder
public 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];- Specified by:
getAutoDeleteTimeOrBuilderin interfaceLifecycleConfigOrBuilder
-
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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAutoDeleteTtlin interfaceLifecycleConfigOrBuilder- Returns:
- Whether the autoDeleteTtl field is set.
-
getAutoDeleteTtl
public 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];- Specified by:
getAutoDeleteTtlin interfaceLifecycleConfigOrBuilder- Returns:
- The autoDeleteTtl.
-
getAutoDeleteTtlOrBuilder
public 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];- Specified by:
getAutoDeleteTtlOrBuilderin interfaceLifecycleConfigOrBuilder
-
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](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIdleStartTimein interfaceLifecycleConfigOrBuilder- Returns:
- Whether the idleStartTime field is set.
-
getIdleStartTime
public 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];- Specified by:
getIdleStartTimein interfaceLifecycleConfigOrBuilder- Returns:
- The idleStartTime.
-
getIdleStartTimeOrBuilder
public 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];- Specified by:
getIdleStartTimeOrBuilderin interfaceLifecycleConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LifecycleConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LifecycleConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LifecycleConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LifecycleConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LifecycleConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LifecycleConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LifecycleConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static LifecycleConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static LifecycleConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static LifecycleConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static LifecycleConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static LifecycleConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public LifecycleConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LifecycleConfig.Builder newBuilder()
-
newBuilder
public static LifecycleConfig.Builder newBuilder(LifecycleConfig prototype)
-
toBuilder
public LifecycleConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LifecycleConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static LifecycleConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LifecycleConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<LifecycleConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LifecycleConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-