public static final class ExecutionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder> implements ExecutionConfigOrBuilder
Execution configuration for a workload.Protobuf type
google.cloud.dataproc.v1.ExecutionConfig| Modifier and Type | Method and Description |
|---|---|
ExecutionConfig.Builder |
addAllNetworkTags(Iterable<String> values)
Optional.
|
ExecutionConfig.Builder |
addNetworkTags(String value)
Optional.
|
ExecutionConfig.Builder |
addNetworkTagsBytes(com.google.protobuf.ByteString value)
Optional.
|
ExecutionConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExecutionConfig |
build() |
ExecutionConfig |
buildPartial() |
ExecutionConfig.Builder |
clear() |
ExecutionConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExecutionConfig.Builder |
clearIdleTtl()
Optional.
|
ExecutionConfig.Builder |
clearKmsKey()
Optional.
|
ExecutionConfig.Builder |
clearNetwork() |
ExecutionConfig.Builder |
clearNetworkTags()
Optional.
|
ExecutionConfig.Builder |
clearNetworkUri()
Optional.
|
ExecutionConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExecutionConfig.Builder |
clearServiceAccount()
Optional.
|
ExecutionConfig.Builder |
clearStagingBucket()
Optional.
|
ExecutionConfig.Builder |
clearSubnetworkUri()
Optional.
|
ExecutionConfig.Builder |
clearTtl()
Optional.
|
ExecutionConfig.Builder |
clone() |
ExecutionConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getIdleTtl()
Optional.
|
com.google.protobuf.Duration.Builder |
getIdleTtlBuilder()
Optional.
|
com.google.protobuf.DurationOrBuilder |
getIdleTtlOrBuilder()
Optional.
|
String |
getKmsKey()
Optional.
|
com.google.protobuf.ByteString |
getKmsKeyBytes()
Optional.
|
ExecutionConfig.NetworkCase |
getNetworkCase() |
String |
getNetworkTags(int index)
Optional.
|
com.google.protobuf.ByteString |
getNetworkTagsBytes(int index)
Optional.
|
int |
getNetworkTagsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getNetworkTagsList()
Optional.
|
String |
getNetworkUri()
Optional.
|
com.google.protobuf.ByteString |
getNetworkUriBytes()
Optional.
|
String |
getServiceAccount()
Optional.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
Optional.
|
String |
getStagingBucket()
Optional.
|
com.google.protobuf.ByteString |
getStagingBucketBytes()
Optional.
|
String |
getSubnetworkUri()
Optional.
|
com.google.protobuf.ByteString |
getSubnetworkUriBytes()
Optional.
|
com.google.protobuf.Duration |
getTtl()
Optional.
|
com.google.protobuf.Duration.Builder |
getTtlBuilder()
Optional.
|
com.google.protobuf.DurationOrBuilder |
getTtlOrBuilder()
Optional.
|
boolean |
hasIdleTtl()
Optional.
|
boolean |
hasNetworkUri()
Optional.
|
boolean |
hasSubnetworkUri()
Optional.
|
boolean |
hasTtl()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExecutionConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExecutionConfig.Builder |
mergeFrom(ExecutionConfig other) |
ExecutionConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExecutionConfig.Builder |
mergeIdleTtl(com.google.protobuf.Duration value)
Optional.
|
ExecutionConfig.Builder |
mergeTtl(com.google.protobuf.Duration value)
Optional.
|
ExecutionConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExecutionConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExecutionConfig.Builder |
setIdleTtl(com.google.protobuf.Duration.Builder builderForValue)
Optional.
|
ExecutionConfig.Builder |
setIdleTtl(com.google.protobuf.Duration value)
Optional.
|
ExecutionConfig.Builder |
setKmsKey(String value)
Optional.
|
ExecutionConfig.Builder |
setKmsKeyBytes(com.google.protobuf.ByteString value)
Optional.
|
ExecutionConfig.Builder |
setNetworkTags(int index,
String value)
Optional.
|
ExecutionConfig.Builder |
setNetworkUri(String value)
Optional.
|
ExecutionConfig.Builder |
setNetworkUriBytes(com.google.protobuf.ByteString value)
Optional.
|
ExecutionConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExecutionConfig.Builder |
setServiceAccount(String value)
Optional.
|
ExecutionConfig.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
Optional.
|
ExecutionConfig.Builder |
setStagingBucket(String value)
Optional.
|
ExecutionConfig.Builder |
setStagingBucketBytes(com.google.protobuf.ByteString value)
Optional.
|
ExecutionConfig.Builder |
setSubnetworkUri(String value)
Optional.
|
ExecutionConfig.Builder |
setSubnetworkUriBytes(com.google.protobuf.ByteString value)
Optional.
|
ExecutionConfig.Builder |
setTtl(com.google.protobuf.Duration.Builder builderForValue)
Optional.
|
ExecutionConfig.Builder |
setTtl(com.google.protobuf.Duration value)
Optional.
|
ExecutionConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public ExecutionConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public ExecutionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExecutionConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExecutionConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExecutionConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public ExecutionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public ExecutionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public ExecutionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public ExecutionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public ExecutionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public ExecutionConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExecutionConfig.Builder>public ExecutionConfig.Builder mergeFrom(ExecutionConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public ExecutionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExecutionConfig.Builder>IOExceptionpublic ExecutionConfig.NetworkCase getNetworkCase()
getNetworkCase in interface ExecutionConfigOrBuilderpublic ExecutionConfig.Builder clearNetwork()
public String getServiceAccount()
Optional. Service account that used to execute workload.
string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];getServiceAccount in interface ExecutionConfigOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
Optional. Service account that used to execute workload.
string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];getServiceAccountBytes in interface ExecutionConfigOrBuilderpublic ExecutionConfig.Builder setServiceAccount(String value)
Optional. Service account that used to execute workload.
string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];value - The serviceAccount to set.public ExecutionConfig.Builder clearServiceAccount()
Optional. Service account that used to execute workload.
string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];public ExecutionConfig.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Optional. Service account that used to execute workload.
string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for serviceAccount to set.public boolean hasNetworkUri()
Optional. Network URI to connect workload to.
string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];hasNetworkUri in interface ExecutionConfigOrBuilderpublic String getNetworkUri()
Optional. Network URI to connect workload to.
string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];getNetworkUri in interface ExecutionConfigOrBuilderpublic com.google.protobuf.ByteString getNetworkUriBytes()
Optional. Network URI to connect workload to.
string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];getNetworkUriBytes in interface ExecutionConfigOrBuilderpublic ExecutionConfig.Builder setNetworkUri(String value)
Optional. Network URI to connect workload to.
string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];value - The networkUri to set.public ExecutionConfig.Builder clearNetworkUri()
Optional. Network URI to connect workload to.
string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];public ExecutionConfig.Builder setNetworkUriBytes(com.google.protobuf.ByteString value)
Optional. Network URI to connect workload to.
string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for networkUri to set.public boolean hasSubnetworkUri()
Optional. Subnetwork URI to connect workload to.
string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];hasSubnetworkUri in interface ExecutionConfigOrBuilderpublic String getSubnetworkUri()
Optional. Subnetwork URI to connect workload to.
string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];getSubnetworkUri in interface ExecutionConfigOrBuilderpublic com.google.protobuf.ByteString getSubnetworkUriBytes()
Optional. Subnetwork URI to connect workload to.
string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];getSubnetworkUriBytes in interface ExecutionConfigOrBuilderpublic ExecutionConfig.Builder setSubnetworkUri(String value)
Optional. Subnetwork URI to connect workload to.
string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];value - The subnetworkUri to set.public ExecutionConfig.Builder clearSubnetworkUri()
Optional. Subnetwork URI to connect workload to.
string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];public ExecutionConfig.Builder setSubnetworkUriBytes(com.google.protobuf.ByteString value)
Optional. Subnetwork URI to connect workload to.
string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for subnetworkUri to set.public com.google.protobuf.ProtocolStringList getNetworkTagsList()
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];getNetworkTagsList in interface ExecutionConfigOrBuilderpublic int getNetworkTagsCount()
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];getNetworkTagsCount in interface ExecutionConfigOrBuilderpublic String getNetworkTags(int index)
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];getNetworkTags in interface ExecutionConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getNetworkTagsBytes(int index)
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];getNetworkTagsBytes in interface ExecutionConfigOrBuilderindex - The index of the value to return.public ExecutionConfig.Builder setNetworkTags(int index, String value)
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The networkTags to set.public ExecutionConfig.Builder addNetworkTags(String value)
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];value - The networkTags to add.public ExecutionConfig.Builder addAllNetworkTags(Iterable<String> values)
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];values - The networkTags to add.public ExecutionConfig.Builder clearNetworkTags()
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];public ExecutionConfig.Builder addNetworkTagsBytes(com.google.protobuf.ByteString value)
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the networkTags to add.public String getKmsKey()
Optional. The Cloud KMS key to use for encryption.
string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL];getKmsKey in interface ExecutionConfigOrBuilderpublic com.google.protobuf.ByteString getKmsKeyBytes()
Optional. The Cloud KMS key to use for encryption.
string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL];getKmsKeyBytes in interface ExecutionConfigOrBuilderpublic ExecutionConfig.Builder setKmsKey(String value)
Optional. The Cloud KMS key to use for encryption.
string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL];value - The kmsKey to set.public ExecutionConfig.Builder clearKmsKey()
Optional. The Cloud KMS key to use for encryption.
string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL];public ExecutionConfig.Builder setKmsKeyBytes(com.google.protobuf.ByteString value)
Optional. The Cloud KMS key to use for encryption.
string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for kmsKey to set.public boolean hasIdleTtl()
Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both `ttl` and `idle_ttl` are specified for an interactive session, the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration idle_ttl = 8 [(.google.api.field_behavior) = OPTIONAL];
hasIdleTtl in interface ExecutionConfigOrBuilderpublic com.google.protobuf.Duration getIdleTtl()
Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both `ttl` and `idle_ttl` are specified for an interactive session, the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration idle_ttl = 8 [(.google.api.field_behavior) = OPTIONAL];
getIdleTtl in interface ExecutionConfigOrBuilderpublic ExecutionConfig.Builder setIdleTtl(com.google.protobuf.Duration value)
Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both `ttl` and `idle_ttl` are specified for an interactive session, the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration idle_ttl = 8 [(.google.api.field_behavior) = OPTIONAL];
public ExecutionConfig.Builder setIdleTtl(com.google.protobuf.Duration.Builder builderForValue)
Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both `ttl` and `idle_ttl` are specified for an interactive session, the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration idle_ttl = 8 [(.google.api.field_behavior) = OPTIONAL];
public ExecutionConfig.Builder mergeIdleTtl(com.google.protobuf.Duration value)
Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both `ttl` and `idle_ttl` are specified for an interactive session, the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration idle_ttl = 8 [(.google.api.field_behavior) = OPTIONAL];
public ExecutionConfig.Builder clearIdleTtl()
Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both `ttl` and `idle_ttl` are specified for an interactive session, the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration idle_ttl = 8 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Duration.Builder getIdleTtlBuilder()
Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both `ttl` and `idle_ttl` are specified for an interactive session, the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration idle_ttl = 8 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.DurationOrBuilder getIdleTtlOrBuilder()
Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both `ttl` and `idle_ttl` are specified for an interactive session, the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration idle_ttl = 8 [(.google.api.field_behavior) = OPTIONAL];
getIdleTtlOrBuilder in interface ExecutionConfigOrBuilderpublic boolean hasTtl()
Optional. The duration after which the workload will be terminated, specified as the JSON representation for [Duration](https://protobuf.dev/programming-guides/proto3/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If `ttl` is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If `ttl` is not specified for an interactive session, it defaults to 24 hours. If `ttl` is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both `ttl` and `idle_ttl` are specified (for an interactive session), the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];hasTtl in interface ExecutionConfigOrBuilderpublic com.google.protobuf.Duration getTtl()
Optional. The duration after which the workload will be terminated, specified as the JSON representation for [Duration](https://protobuf.dev/programming-guides/proto3/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If `ttl` is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If `ttl` is not specified for an interactive session, it defaults to 24 hours. If `ttl` is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both `ttl` and `idle_ttl` are specified (for an interactive session), the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];getTtl in interface ExecutionConfigOrBuilderpublic ExecutionConfig.Builder setTtl(com.google.protobuf.Duration value)
Optional. The duration after which the workload will be terminated, specified as the JSON representation for [Duration](https://protobuf.dev/programming-guides/proto3/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If `ttl` is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If `ttl` is not specified for an interactive session, it defaults to 24 hours. If `ttl` is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both `ttl` and `idle_ttl` are specified (for an interactive session), the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];public ExecutionConfig.Builder setTtl(com.google.protobuf.Duration.Builder builderForValue)
Optional. The duration after which the workload will be terminated, specified as the JSON representation for [Duration](https://protobuf.dev/programming-guides/proto3/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If `ttl` is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If `ttl` is not specified for an interactive session, it defaults to 24 hours. If `ttl` is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both `ttl` and `idle_ttl` are specified (for an interactive session), the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];public ExecutionConfig.Builder mergeTtl(com.google.protobuf.Duration value)
Optional. The duration after which the workload will be terminated, specified as the JSON representation for [Duration](https://protobuf.dev/programming-guides/proto3/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If `ttl` is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If `ttl` is not specified for an interactive session, it defaults to 24 hours. If `ttl` is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both `ttl` and `idle_ttl` are specified (for an interactive session), the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];public ExecutionConfig.Builder clearTtl()
Optional. The duration after which the workload will be terminated, specified as the JSON representation for [Duration](https://protobuf.dev/programming-guides/proto3/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If `ttl` is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If `ttl` is not specified for an interactive session, it defaults to 24 hours. If `ttl` is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both `ttl` and `idle_ttl` are specified (for an interactive session), the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];public com.google.protobuf.Duration.Builder getTtlBuilder()
Optional. The duration after which the workload will be terminated, specified as the JSON representation for [Duration](https://protobuf.dev/programming-guides/proto3/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If `ttl` is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If `ttl` is not specified for an interactive session, it defaults to 24 hours. If `ttl` is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both `ttl` and `idle_ttl` are specified (for an interactive session), the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
Optional. The duration after which the workload will be terminated, specified as the JSON representation for [Duration](https://protobuf.dev/programming-guides/proto3/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If `ttl` is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If `ttl` is not specified for an interactive session, it defaults to 24 hours. If `ttl` is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both `ttl` and `idle_ttl` are specified (for an interactive session), the conditions are treated as `OR` conditions: the workload will be terminated when it has been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs first.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];getTtlOrBuilder in interface ExecutionConfigOrBuilderpublic String getStagingBucket()
Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string staging_bucket = 10 [(.google.api.field_behavior) = OPTIONAL];getStagingBucket in interface ExecutionConfigOrBuilderpublic com.google.protobuf.ByteString getStagingBucketBytes()
Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string staging_bucket = 10 [(.google.api.field_behavior) = OPTIONAL];getStagingBucketBytes in interface ExecutionConfigOrBuilderpublic ExecutionConfig.Builder setStagingBucket(String value)
Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string staging_bucket = 10 [(.google.api.field_behavior) = OPTIONAL];value - The stagingBucket to set.public ExecutionConfig.Builder clearStagingBucket()
Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string staging_bucket = 10 [(.google.api.field_behavior) = OPTIONAL];public ExecutionConfig.Builder setStagingBucketBytes(com.google.protobuf.ByteString value)
Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string staging_bucket = 10 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for stagingBucket to set.public final ExecutionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>public final ExecutionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.