Package com.google.cloud.dataproc.v1
Interface ExecutionConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExecutionConfig
,ExecutionConfig.Builder
public interface ExecutionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.List<String>
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.DurationOrBuilder
getTtlOrBuilder()
Optional.boolean
hasNetworkUri()
Optional.boolean
hasSubnetworkUri()
Optional.boolean
hasTtl()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getServiceAccount
String getServiceAccount()
Optional. Service account that used to execute workload.
string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
com.google.protobuf.ByteString getServiceAccountBytes()
Optional. Service account that used to execute workload.
string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for serviceAccount.
-
hasNetworkUri
boolean hasNetworkUri()
Optional. Network URI to connect workload to.
string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the networkUri field is set.
-
getNetworkUri
String getNetworkUri()
Optional. Network URI to connect workload to.
string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The networkUri.
-
getNetworkUriBytes
com.google.protobuf.ByteString getNetworkUriBytes()
Optional. Network URI to connect workload to.
string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for networkUri.
-
hasSubnetworkUri
boolean hasSubnetworkUri()
Optional. Subnetwork URI to connect workload to.
string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the subnetworkUri field is set.
-
getSubnetworkUri
String getSubnetworkUri()
Optional. Subnetwork URI to connect workload to.
string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The subnetworkUri.
-
getSubnetworkUriBytes
com.google.protobuf.ByteString getSubnetworkUriBytes()
Optional. Subnetwork URI to connect workload to.
string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for subnetworkUri.
-
getNetworkTagsList
List<String> getNetworkTagsList()
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- A list containing the networkTags.
-
getNetworkTagsCount
int getNetworkTagsCount()
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The count of networkTags.
-
getNetworkTags
String getNetworkTags(int index)
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the element to return.- Returns:
- The networkTags at the given index.
-
getNetworkTagsBytes
com.google.protobuf.ByteString getNetworkTagsBytes(int index)
Optional. Tags used for network traffic control.
repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the networkTags at the given index.
-
getKmsKey
String getKmsKey()
Optional. The Cloud KMS key to use for encryption.
string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The kmsKey.
-
getKmsKeyBytes
com.google.protobuf.ByteString getKmsKeyBytes()
Optional. The Cloud KMS key to use for encryption.
string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for kmsKey.
-
hasTtl
boolean hasTtl()
Optional. The duration after which the workload will be terminated. When the workload passes this ttl, it will be unconditionally killed without waiting for ongoing work to finish. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified, the conditions are treated as and OR: the workload will be terminated when it has been idle for idle_ttl or when the ttl has passed, whichever comes first. If ttl is not specified for a session, it defaults to 24h.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.Duration getTtl()
Optional. The duration after which the workload will be terminated. When the workload passes this ttl, it will be unconditionally killed without waiting for ongoing work to finish. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified, the conditions are treated as and OR: the workload will be terminated when it has been idle for idle_ttl or when the ttl has passed, whichever comes first. If ttl is not specified for a session, it defaults to 24h.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
Optional. The duration after which the workload will be terminated. When the workload passes this ttl, it will be unconditionally killed without waiting for ongoing work to finish. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified, the conditions are treated as and OR: the workload will be terminated when it has been idle for idle_ttl or when the ttl has passed, whichever comes first. If ttl is not specified for a session, it defaults to 24h.
.google.protobuf.Duration ttl = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getStagingBucket
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];
- Returns:
- The stagingBucket.
-
getStagingBucketBytes
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];
- Returns:
- The bytes for stagingBucket.
-
getNetworkCase
ExecutionConfig.NetworkCase getNetworkCase()
-
-