Package com.google.dataflow.v1beta3
Interface RuntimeEnvironmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RuntimeEnvironment
,RuntimeEnvironment.Builder
public interface RuntimeEnvironmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsAdditionalUserLabels(String key)
Additional user labels to be specified for the job.String
getAdditionalExperiments(int index)
Additional experiment flags for the job, specified with the `--experiments` option.com.google.protobuf.ByteString
getAdditionalExperimentsBytes(int index)
Additional experiment flags for the job, specified with the `--experiments` option.int
getAdditionalExperimentsCount()
Additional experiment flags for the job, specified with the `--experiments` option.List<String>
getAdditionalExperimentsList()
Additional experiment flags for the job, specified with the `--experiments` option.Map<String,String>
getAdditionalUserLabels()
Deprecated.int
getAdditionalUserLabelsCount()
Additional user labels to be specified for the job.Map<String,String>
getAdditionalUserLabelsMap()
Additional user labels to be specified for the job.String
getAdditionalUserLabelsOrDefault(String key, String defaultValue)
Additional user labels to be specified for the job.String
getAdditionalUserLabelsOrThrow(String key)
Additional user labels to be specified for the job.boolean
getBypassTempDirValidation()
Whether to bypass the safety checks for the job's temporary directory.boolean
getEnableStreamingEngine()
Whether to enable Streaming Engine for the job.WorkerIPAddressConfiguration
getIpConfiguration()
Configuration for VM IPs.int
getIpConfigurationValue()
Configuration for VM IPs.String
getKmsKeyName()
Name for the Cloud KMS key for the job.com.google.protobuf.ByteString
getKmsKeyNameBytes()
Name for the Cloud KMS key for the job.String
getMachineType()
The machine type to use for the job.com.google.protobuf.ByteString
getMachineTypeBytes()
The machine type to use for the job.int
getMaxWorkers()
The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.String
getNetwork()
Network to which VMs will be assigned.com.google.protobuf.ByteString
getNetworkBytes()
Network to which VMs will be assigned.int
getNumWorkers()
The initial number of Google Compute Engine instnaces for the job.String
getServiceAccountEmail()
The email address of the service account to run the job as.com.google.protobuf.ByteString
getServiceAccountEmailBytes()
The email address of the service account to run the job as.String
getSubnetwork()
Subnetwork to which VMs will be assigned, if desired.com.google.protobuf.ByteString
getSubnetworkBytes()
Subnetwork to which VMs will be assigned, if desired.String
getTempLocation()
The Cloud Storage path to use for temporary files.com.google.protobuf.ByteString
getTempLocationBytes()
The Cloud Storage path to use for temporary files.String
getWorkerRegion()
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.com.google.protobuf.ByteString
getWorkerRegionBytes()
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.String
getWorkerZone()
The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.com.google.protobuf.ByteString
getWorkerZoneBytes()
The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.String
getZone()
The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline.com.google.protobuf.ByteString
getZoneBytes()
The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNumWorkers
int getNumWorkers()
The initial number of Google Compute Engine instnaces for the job.
int32 num_workers = 11;
- Returns:
- The numWorkers.
-
getMaxWorkers
int getMaxWorkers()
The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.
int32 max_workers = 1;
- Returns:
- The maxWorkers.
-
getZone
String getZone()
The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.
string zone = 2;
- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()
The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.
string zone = 2;
- Returns:
- The bytes for zone.
-
getServiceAccountEmail
String getServiceAccountEmail()
The email address of the service account to run the job as.
string service_account_email = 3;
- Returns:
- The serviceAccountEmail.
-
getServiceAccountEmailBytes
com.google.protobuf.ByteString getServiceAccountEmailBytes()
The email address of the service account to run the job as.
string service_account_email = 3;
- Returns:
- The bytes for serviceAccountEmail.
-
getTempLocation
String getTempLocation()
The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string temp_location = 4;
- Returns:
- The tempLocation.
-
getTempLocationBytes
com.google.protobuf.ByteString getTempLocationBytes()
The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string temp_location = 4;
- Returns:
- The bytes for tempLocation.
-
getBypassTempDirValidation
boolean getBypassTempDirValidation()
Whether to bypass the safety checks for the job's temporary directory. Use with caution.
bool bypass_temp_dir_validation = 5;
- Returns:
- The bypassTempDirValidation.
-
getMachineType
String getMachineType()
The machine type to use for the job. Defaults to the value from the template if not specified.
string machine_type = 6;
- Returns:
- The machineType.
-
getMachineTypeBytes
com.google.protobuf.ByteString getMachineTypeBytes()
The machine type to use for the job. Defaults to the value from the template if not specified.
string machine_type = 6;
- Returns:
- The bytes for machineType.
-
getAdditionalExperimentsList
List<String> getAdditionalExperimentsList()
Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;
- Returns:
- A list containing the additionalExperiments.
-
getAdditionalExperimentsCount
int getAdditionalExperimentsCount()
Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;
- Returns:
- The count of additionalExperiments.
-
getAdditionalExperiments
String getAdditionalExperiments(int index)
Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;
- Parameters:
index
- The index of the element to return.- Returns:
- The additionalExperiments at the given index.
-
getAdditionalExperimentsBytes
com.google.protobuf.ByteString getAdditionalExperimentsBytes(int index)
Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the additionalExperiments at the given index.
-
getNetwork
String getNetwork()
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 8;
- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 8;
- Returns:
- The bytes for network.
-
getSubnetwork
String getSubnetwork()
Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK" or "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located in a Shared VPC network, you must use the complete URL.
string subnetwork = 9;
- Returns:
- The subnetwork.
-
getSubnetworkBytes
com.google.protobuf.ByteString getSubnetworkBytes()
Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK" or "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located in a Shared VPC network, you must use the complete URL.
string subnetwork = 9;
- Returns:
- The bytes for subnetwork.
-
getAdditionalUserLabelsCount
int getAdditionalUserLabelsCount()
Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.
map<string, string> additional_user_labels = 10;
-
containsAdditionalUserLabels
boolean containsAdditionalUserLabels(String key)
Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.
map<string, string> additional_user_labels = 10;
-
getAdditionalUserLabels
@Deprecated Map<String,String> getAdditionalUserLabels()
Deprecated.UsegetAdditionalUserLabelsMap()
instead.
-
getAdditionalUserLabelsMap
Map<String,String> getAdditionalUserLabelsMap()
Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.
map<string, string> additional_user_labels = 10;
-
getAdditionalUserLabelsOrDefault
String getAdditionalUserLabelsOrDefault(String key, String defaultValue)
Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.
map<string, string> additional_user_labels = 10;
-
getAdditionalUserLabelsOrThrow
String getAdditionalUserLabelsOrThrow(String key)
Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.
map<string, string> additional_user_labels = 10;
-
getKmsKeyName
String getKmsKeyName()
Name for the Cloud KMS key for the job. Key format is: projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
string kms_key_name = 12;
- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
com.google.protobuf.ByteString getKmsKeyNameBytes()
Name for the Cloud KMS key for the job. Key format is: projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
string kms_key_name = 12;
- Returns:
- The bytes for kmsKeyName.
-
getIpConfigurationValue
int getIpConfigurationValue()
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;
- Returns:
- The enum numeric value on the wire for ipConfiguration.
-
getIpConfiguration
WorkerIPAddressConfiguration getIpConfiguration()
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;
- Returns:
- The ipConfiguration.
-
getWorkerRegion
String getWorkerRegion()
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.
string worker_region = 15;
- Returns:
- The workerRegion.
-
getWorkerRegionBytes
com.google.protobuf.ByteString getWorkerRegionBytes()
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.
string worker_region = 15;
- Returns:
- The bytes for workerRegion.
-
getWorkerZone
String getWorkerZone()
The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1-a". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.
string worker_zone = 16;
- Returns:
- The workerZone.
-
getWorkerZoneBytes
com.google.protobuf.ByteString getWorkerZoneBytes()
The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1-a". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.
string worker_zone = 16;
- Returns:
- The bytes for workerZone.
-
getEnableStreamingEngine
boolean getEnableStreamingEngine()
Whether to enable Streaming Engine for the job.
bool enable_streaming_engine = 17;
- Returns:
- The enableStreamingEngine.
-
-