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 class
LifecycleConfig.Builder
Specifies the cluster auto-delete schedule configuration.static class
LifecycleConfig.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 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(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 LifecycleConfig
parseFrom(ByteBuffer data)
static LifecycleConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<LifecycleConfig>
parser()
LifecycleConfig.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getTtlCase
public LifecycleConfig.TtlCase getTtlCase()
- Specified by:
getTtlCase
in 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:
hasIdleDeleteTtl
in 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:
getIdleDeleteTtl
in 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:
getIdleDeleteTtlOrBuilder
in 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:
hasAutoDeleteTime
in 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:
getAutoDeleteTime
in 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:
getAutoDeleteTimeOrBuilder
in 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:
hasAutoDeleteTtl
in 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:
getAutoDeleteTtl
in 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:
getAutoDeleteTtlOrBuilder
in 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:
hasIdleStartTime
in 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:
getIdleStartTime
in 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:
getIdleStartTimeOrBuilder
in interfaceLifecycleConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LifecycleConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LifecycleConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-