public final class ExecutionConfig extends com.google.protobuf.GeneratedMessageV3 implements ExecutionConfigOrBuilder
Execution configuration for a workload.Protobuf type
google.cloud.dataproc.v1.ExecutionConfig| Modifier and Type | Class and Description |
|---|---|
static class |
ExecutionConfig.Builder
Execution configuration for a workload.
|
static class |
ExecutionConfig.NetworkCase |
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 |
IDLE_TTL_FIELD_NUMBER |
static int |
KMS_KEY_FIELD_NUMBER |
static int |
NETWORK_TAGS_FIELD_NUMBER |
static int |
NETWORK_URI_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_FIELD_NUMBER |
static int |
STAGING_BUCKET_FIELD_NUMBER |
static int |
SUBNETWORK_URI_FIELD_NUMBER |
static int |
TTL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ExecutionConfig |
getDefaultInstance() |
ExecutionConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Duration |
getIdleTtl()
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.
|
com.google.protobuf.Parser<ExecutionConfig> |
getParserForType() |
int |
getSerializedSize() |
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.DurationOrBuilder |
getTtlOrBuilder()
Optional.
|
int |
hashCode() |
boolean |
hasIdleTtl()
Optional.
|
boolean |
hasNetworkUri()
Optional.
|
boolean |
hasSubnetworkUri()
Optional.
|
boolean |
hasTtl()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExecutionConfig.Builder |
newBuilder() |
static ExecutionConfig.Builder |
newBuilder(ExecutionConfig prototype) |
ExecutionConfig.Builder |
newBuilderForType() |
protected ExecutionConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExecutionConfig |
parseDelimitedFrom(InputStream input) |
static ExecutionConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExecutionConfig |
parseFrom(byte[] data) |
static ExecutionConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExecutionConfig |
parseFrom(ByteBuffer data) |
static ExecutionConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExecutionConfig |
parseFrom(com.google.protobuf.ByteString data) |
static ExecutionConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExecutionConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExecutionConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExecutionConfig |
parseFrom(InputStream input) |
static ExecutionConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExecutionConfig> |
parser() |
ExecutionConfig.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 SERVICE_ACCOUNT_FIELD_NUMBER
public static final int NETWORK_URI_FIELD_NUMBER
public static final int SUBNETWORK_URI_FIELD_NUMBER
public static final int NETWORK_TAGS_FIELD_NUMBER
public static final int KMS_KEY_FIELD_NUMBER
public static final int IDLE_TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER
public static final int STAGING_BUCKET_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 ExecutionConfig.NetworkCase getNetworkCase()
getNetworkCase in interface ExecutionConfigOrBuilderpublic 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 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 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 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 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 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 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 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 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 ExecutionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecutionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecutionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecutionConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecutionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecutionConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecutionConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExecutionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExecutionConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExecutionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExecutionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExecutionConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExecutionConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExecutionConfig.Builder newBuilder()
public static ExecutionConfig.Builder newBuilder(ExecutionConfig prototype)
public ExecutionConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExecutionConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExecutionConfig getDefaultInstance()
public static com.google.protobuf.Parser<ExecutionConfig> parser()
public com.google.protobuf.Parser<ExecutionConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExecutionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.