
com.google.cloud.dataproc.v1.ExecutionConfigOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dataproc-v1 Show documentation
Show all versions of proto-google-cloud-dataproc-v1 Show documentation
PROTO library for proto-google-cloud-dataproc-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataproc/v1/shared.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dataproc.v1;
public interface ExecutionConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.ExecutionConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. Service account that used to execute workload.
*
*
* string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The serviceAccount.
*/
java.lang.String getServiceAccount();
/**
*
*
*
* Optional. Service account that used to execute workload.
*
*
* string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for serviceAccount.
*/
com.google.protobuf.ByteString getServiceAccountBytes();
/**
*
*
*
* Optional. Network URI to connect workload to.
*
*
* string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the networkUri field is set.
*/
boolean hasNetworkUri();
/**
*
*
*
* Optional. Network URI to connect workload to.
*
*
* string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The networkUri.
*/
java.lang.String getNetworkUri();
/**
*
*
*
* Optional. Network URI to connect workload to.
*
*
* string network_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for networkUri.
*/
com.google.protobuf.ByteString getNetworkUriBytes();
/**
*
*
*
* Optional. Subnetwork URI to connect workload to.
*
*
* string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the subnetworkUri field is set.
*/
boolean hasSubnetworkUri();
/**
*
*
*
* Optional. Subnetwork URI to connect workload to.
*
*
* string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The subnetworkUri.
*/
java.lang.String getSubnetworkUri();
/**
*
*
*
* Optional. Subnetwork URI to connect workload to.
*
*
* string subnetwork_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for subnetworkUri.
*/
com.google.protobuf.ByteString getSubnetworkUriBytes();
/**
*
*
*
* Optional. Tags used for network traffic control.
*
*
* repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the networkTags.
*/
java.util.List getNetworkTagsList();
/**
*
*
*
* Optional. Tags used for network traffic control.
*
*
* repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of networkTags.
*/
int getNetworkTagsCount();
/**
*
*
*
* Optional. Tags used for network traffic control.
*
*
* repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The networkTags at the given index.
*/
java.lang.String getNetworkTags(int index);
/**
*
*
*
* Optional. Tags used for network traffic control.
*
*
* repeated string network_tags = 6 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the value to return.
* @return The bytes of the networkTags at the given index.
*/
com.google.protobuf.ByteString getNetworkTagsBytes(int index);
/**
*
*
*
* Optional. The Cloud KMS key to use for encryption.
*
*
* string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The kmsKey.
*/
java.lang.String getKmsKey();
/**
*
*
*
* Optional. The Cloud KMS key to use for encryption.
*
*
* string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for kmsKey.
*/
com.google.protobuf.ByteString getKmsKeyBytes();
/**
*
*
*
* 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];
*
* @return Whether the idleTtl field is set.
*/
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];
*
* @return The idleTtl.
*/
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];
*/
com.google.protobuf.DurationOrBuilder getIdleTtlOrBuilder();
/**
*
*
*
* 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];
*
* @return Whether the ttl field is set.
*/
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];
*
* @return The ttl.
*/
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];
*/
com.google.protobuf.DurationOrBuilder getTtlOrBuilder();
/**
*
*
*
* 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];
*
* @return The stagingBucket.
*/
java.lang.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];
*
* @return The bytes for stagingBucket.
*/
com.google.protobuf.ByteString getStagingBucketBytes();
com.google.cloud.dataproc.v1.ExecutionConfig.NetworkCase getNetworkCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy