Package com.google.dataflow.v1beta3
Class RuntimeEnvironment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RuntimeEnvironment.Builder>
com.google.dataflow.v1beta3.RuntimeEnvironment.Builder
- All Implemented Interfaces:
RuntimeEnvironmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RuntimeEnvironment
public static final class RuntimeEnvironment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RuntimeEnvironment.Builder>
implements RuntimeEnvironmentOrBuilder
The environment values to set at runtime.Protobuf type
google.dataflow.v1beta3.RuntimeEnvironment-
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalExperiments(String value) Optional.addAdditionalExperimentsBytes(com.google.protobuf.ByteString value) Optional.Optional.addAdditionalPipelineOptionsBytes(com.google.protobuf.ByteString value) Optional.addAllAdditionalExperiments(Iterable<String> values) Optional.Optional.build()clear()Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Required.Required.Optional.Optional.booleanOptional.getAdditionalExperiments(int index) Optional.com.google.protobuf.ByteStringgetAdditionalExperimentsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getAdditionalPipelineOptions(int index) Optional.com.google.protobuf.ByteStringgetAdditionalPipelineOptionsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Deprecated.intOptional.Optional.getAdditionalUserLabelsOrDefault(String key, String defaultValue) Optional.Optional.booleanOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintOptional.booleanOptional.Optional.intOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.intOptional.Deprecated.Optional.com.google.protobuf.ByteStringOptional.intOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.intOptional.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.getZone()Optional.com.google.protobuf.ByteStringOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(RuntimeEnvironment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAdditionalUserLabels(String key, String value) Optional.putAllAdditionalUserLabels(Map<String, String> values) Optional.Optional.setAdditionalExperiments(int index, String value) Optional.setAdditionalPipelineOptions(int index, String value) Optional.setBypassTempDirValidation(boolean value) Optional.setDiskSizeGb(int value) Optional.setEnableStreamingEngine(boolean value) Optional.Optional.setIpConfigurationValue(int value) Optional.setKmsKeyName(String value) Optional.setKmsKeyNameBytes(com.google.protobuf.ByteString value) Optional.setMachineType(String value) Optional.setMachineTypeBytes(com.google.protobuf.ByteString value) Optional.setMaxWorkers(int value) Optional.setNetwork(String value) Optional.setNetworkBytes(com.google.protobuf.ByteString value) Optional.setNumWorkers(int value) Optional.setServiceAccountEmail(String value) Optional.setServiceAccountEmailBytes(com.google.protobuf.ByteString value) Optional.setStreamingMode(StreamingMode value) Optional.setStreamingModeValue(int value) Optional.setSubnetwork(String value) Optional.setSubnetworkBytes(com.google.protobuf.ByteString value) Optional.setTempLocation(String value) Required.setTempLocationBytes(com.google.protobuf.ByteString value) Required.setWorkerRegion(String value) Required.setWorkerRegionBytes(com.google.protobuf.ByteString value) Required.setWorkerZone(String value) Optional.setWorkerZoneBytes(com.google.protobuf.ByteString value) Optional.Optional.setZoneBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<RuntimeEnvironment.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<RuntimeEnvironment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RuntimeEnvironment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RuntimeEnvironment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RuntimeEnvironment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RuntimeEnvironment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RuntimeEnvironment.Builder>
-
mergeFrom
public RuntimeEnvironment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RuntimeEnvironment.Builder>- Throws:
IOException
-
getNumWorkers
public int getNumWorkers()Optional. The initial number of Google Compute Engine instances for the job. The default value is 11.
int32 num_workers = 11;- Specified by:
getNumWorkersin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The numWorkers.
-
setNumWorkers
Optional. The initial number of Google Compute Engine instances for the job. The default value is 11.
int32 num_workers = 11;- Parameters:
value- The numWorkers to set.- Returns:
- This builder for chaining.
-
clearNumWorkers
Optional. The initial number of Google Compute Engine instances for the job. The default value is 11.
int32 num_workers = 11;- Returns:
- This builder for chaining.
-
getMaxWorkers
public int getMaxWorkers()Optional. The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. The default value is 1.
int32 max_workers = 1;- Specified by:
getMaxWorkersin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The maxWorkers.
-
setMaxWorkers
Optional. The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. The default value is 1.
int32 max_workers = 1;- Parameters:
value- The maxWorkers to set.- Returns:
- This builder for chaining.
-
clearMaxWorkers
Optional. The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. The default value is 1.
int32 max_workers = 1;- Returns:
- This builder for chaining.
-
getZone
Optional. 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;- Specified by:
getZonein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()Optional. 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;- Specified by:
getZoneBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for zone.
-
setZone
Optional. 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;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
Optional. 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:
- This builder for chaining.
-
setZoneBytes
Optional. 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;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
getServiceAccountEmail
Optional. The email address of the service account to run the job as.
string service_account_email = 3;- Specified by:
getServiceAccountEmailin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The serviceAccountEmail.
-
getServiceAccountEmailBytes
public com.google.protobuf.ByteString getServiceAccountEmailBytes()Optional. The email address of the service account to run the job as.
string service_account_email = 3;- Specified by:
getServiceAccountEmailBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for serviceAccountEmail.
-
setServiceAccountEmail
Optional. The email address of the service account to run the job as.
string service_account_email = 3;- Parameters:
value- The serviceAccountEmail to set.- Returns:
- This builder for chaining.
-
clearServiceAccountEmail
Optional. The email address of the service account to run the job as.
string service_account_email = 3;- Returns:
- This builder for chaining.
-
setServiceAccountEmailBytes
Optional. The email address of the service account to run the job as.
string service_account_email = 3;- Parameters:
value- The bytes for serviceAccountEmail to set.- Returns:
- This builder for chaining.
-
getTempLocation
Required. The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string temp_location = 4;- Specified by:
getTempLocationin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The tempLocation.
-
getTempLocationBytes
public com.google.protobuf.ByteString getTempLocationBytes()Required. The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string temp_location = 4;- Specified by:
getTempLocationBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for tempLocation.
-
setTempLocation
Required. The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string temp_location = 4;- Parameters:
value- The tempLocation to set.- Returns:
- This builder for chaining.
-
clearTempLocation
Required. The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string temp_location = 4;- Returns:
- This builder for chaining.
-
setTempLocationBytes
Required. The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string temp_location = 4;- Parameters:
value- The bytes for tempLocation to set.- Returns:
- This builder for chaining.
-
getBypassTempDirValidation
public boolean getBypassTempDirValidation()Optional. Whether to bypass the safety checks for the job's temporary directory. Use with caution.
bool bypass_temp_dir_validation = 5;- Specified by:
getBypassTempDirValidationin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bypassTempDirValidation.
-
setBypassTempDirValidation
Optional. Whether to bypass the safety checks for the job's temporary directory. Use with caution.
bool bypass_temp_dir_validation = 5;- Parameters:
value- The bypassTempDirValidation to set.- Returns:
- This builder for chaining.
-
clearBypassTempDirValidation
Optional. Whether to bypass the safety checks for the job's temporary directory. Use with caution.
bool bypass_temp_dir_validation = 5;- Returns:
- This builder for chaining.
-
getMachineType
Optional. The machine type to use for the job. Defaults to the value from the template if not specified.
string machine_type = 6;- Specified by:
getMachineTypein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()Optional. The machine type to use for the job. Defaults to the value from the template if not specified.
string machine_type = 6;- Specified by:
getMachineTypeBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for machineType.
-
setMachineType
Optional. The machine type to use for the job. Defaults to the value from the template if not specified.
string machine_type = 6;- Parameters:
value- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
Optional. The machine type to use for the job. Defaults to the value from the template if not specified.
string machine_type = 6;- Returns:
- This builder for chaining.
-
setMachineTypeBytes
Optional. The machine type to use for the job. Defaults to the value from the template if not specified.
string machine_type = 6;- Parameters:
value- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
getAdditionalExperimentsList
public com.google.protobuf.ProtocolStringList getAdditionalExperimentsList()Optional. Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Specified by:
getAdditionalExperimentsListin interfaceRuntimeEnvironmentOrBuilder- Returns:
- A list containing the additionalExperiments.
-
getAdditionalExperimentsCount
public int getAdditionalExperimentsCount()Optional. Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Specified by:
getAdditionalExperimentsCountin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The count of additionalExperiments.
-
getAdditionalExperiments
Optional. Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Specified by:
getAdditionalExperimentsin interfaceRuntimeEnvironmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The additionalExperiments at the given index.
-
getAdditionalExperimentsBytes
public com.google.protobuf.ByteString getAdditionalExperimentsBytes(int index) Optional. Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Specified by:
getAdditionalExperimentsBytesin interfaceRuntimeEnvironmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the additionalExperiments at the given index.
-
setAdditionalExperiments
Optional. Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Parameters:
index- The index to set the value at.value- The additionalExperiments to set.- Returns:
- This builder for chaining.
-
addAdditionalExperiments
Optional. Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Parameters:
value- The additionalExperiments to add.- Returns:
- This builder for chaining.
-
addAllAdditionalExperiments
Optional. Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Parameters:
values- The additionalExperiments to add.- Returns:
- This builder for chaining.
-
clearAdditionalExperiments
Optional. Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Returns:
- This builder for chaining.
-
addAdditionalExperimentsBytes
public RuntimeEnvironment.Builder addAdditionalExperimentsBytes(com.google.protobuf.ByteString value) Optional. Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Parameters:
value- The bytes of the additionalExperiments to add.- Returns:
- This builder for chaining.
-
getNetwork
Optional. Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 8;- Specified by:
getNetworkin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()Optional. Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 8;- Specified by:
getNetworkBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for network.
-
setNetwork
Optional. Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 8;- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
Optional. Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 8;- Returns:
- This builder for chaining.
-
setNetworkBytes
Optional. Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 8;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
getSubnetwork
Optional. 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;- Specified by:
getSubnetworkin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()Optional. 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;- Specified by:
getSubnetworkBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for subnetwork.
-
setSubnetwork
Optional. 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;- Parameters:
value- The subnetwork to set.- Returns:
- This builder for chaining.
-
clearSubnetwork
Optional. 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:
- This builder for chaining.
-
setSubnetworkBytes
Optional. 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;- Parameters:
value- The bytes for subnetwork to set.- Returns:
- This builder for chaining.
-
getAdditionalUserLabelsCount
public int getAdditionalUserLabelsCount()Description copied from interface:RuntimeEnvironmentOrBuilderOptional. 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;- Specified by:
getAdditionalUserLabelsCountin interfaceRuntimeEnvironmentOrBuilder
-
containsAdditionalUserLabels
Optional. 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;- Specified by:
containsAdditionalUserLabelsin interfaceRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabels
Deprecated.UsegetAdditionalUserLabelsMap()instead.- Specified by:
getAdditionalUserLabelsin interfaceRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabelsMap
Optional. 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;- Specified by:
getAdditionalUserLabelsMapin interfaceRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabelsOrDefault
Optional. 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;- Specified by:
getAdditionalUserLabelsOrDefaultin interfaceRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabelsOrThrow
Optional. 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;- Specified by:
getAdditionalUserLabelsOrThrowin interfaceRuntimeEnvironmentOrBuilder
-
clearAdditionalUserLabels
-
removeAdditionalUserLabels
Optional. 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; -
getMutableAdditionalUserLabels
Deprecated.Use alternate mutation accessors instead. -
putAdditionalUserLabels
Optional. 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; -
putAllAdditionalUserLabels
Optional. 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
Optional. 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;- Specified by:
getKmsKeyNamein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.ByteString getKmsKeyNameBytes()Optional. 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;- Specified by:
getKmsKeyNameBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for kmsKeyName.
-
setKmsKeyName
Optional. 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;- Parameters:
value- The kmsKeyName to set.- Returns:
- This builder for chaining.
-
clearKmsKeyName
Optional. 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:
- This builder for chaining.
-
setKmsKeyNameBytes
Optional. 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;- Parameters:
value- The bytes for kmsKeyName to set.- Returns:
- This builder for chaining.
-
getIpConfigurationValue
public int getIpConfigurationValue()Optional. Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;- Specified by:
getIpConfigurationValuein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The enum numeric value on the wire for ipConfiguration.
-
setIpConfigurationValue
Optional. Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;- Parameters:
value- The enum numeric value on the wire for ipConfiguration to set.- Returns:
- This builder for chaining.
-
getIpConfiguration
Optional. Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;- Specified by:
getIpConfigurationin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The ipConfiguration.
-
setIpConfiguration
Optional. Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;- Parameters:
value- The ipConfiguration to set.- Returns:
- This builder for chaining.
-
clearIpConfiguration
Optional. Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;- Returns:
- This builder for chaining.
-
getWorkerRegion
Required. 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;- Specified by:
getWorkerRegionin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The workerRegion.
-
getWorkerRegionBytes
public com.google.protobuf.ByteString getWorkerRegionBytes()Required. 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;- Specified by:
getWorkerRegionBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for workerRegion.
-
setWorkerRegion
Required. 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;- Parameters:
value- The workerRegion to set.- Returns:
- This builder for chaining.
-
clearWorkerRegion
Required. 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:
- This builder for chaining.
-
setWorkerRegionBytes
Required. 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;- Parameters:
value- The bytes for workerRegion to set.- Returns:
- This builder for chaining.
-
getWorkerZone
Optional. 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;- Specified by:
getWorkerZonein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The workerZone.
-
getWorkerZoneBytes
public com.google.protobuf.ByteString getWorkerZoneBytes()Optional. 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;- Specified by:
getWorkerZoneBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for workerZone.
-
setWorkerZone
Optional. 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;- Parameters:
value- The workerZone to set.- Returns:
- This builder for chaining.
-
clearWorkerZone
Optional. 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:
- This builder for chaining.
-
setWorkerZoneBytes
Optional. 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;- Parameters:
value- The bytes for workerZone to set.- Returns:
- This builder for chaining.
-
getEnableStreamingEngine
public boolean getEnableStreamingEngine()Optional. Whether to enable Streaming Engine for the job.
bool enable_streaming_engine = 17;- Specified by:
getEnableStreamingEnginein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The enableStreamingEngine.
-
setEnableStreamingEngine
Optional. Whether to enable Streaming Engine for the job.
bool enable_streaming_engine = 17;- Parameters:
value- The enableStreamingEngine to set.- Returns:
- This builder for chaining.
-
clearEnableStreamingEngine
Optional. Whether to enable Streaming Engine for the job.
bool enable_streaming_engine = 17;- Returns:
- This builder for chaining.
-
getDiskSizeGb
public int getDiskSizeGb()Optional. The disk size, in gigabytes, to use on each remote Compute Engine worker instance.
int32 disk_size_gb = 18;- Specified by:
getDiskSizeGbin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The diskSizeGb.
-
setDiskSizeGb
Optional. The disk size, in gigabytes, to use on each remote Compute Engine worker instance.
int32 disk_size_gb = 18;- Parameters:
value- The diskSizeGb to set.- Returns:
- This builder for chaining.
-
clearDiskSizeGb
Optional. The disk size, in gigabytes, to use on each remote Compute Engine worker instance.
int32 disk_size_gb = 18;- Returns:
- This builder for chaining.
-
hasStreamingMode
public boolean hasStreamingMode()Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
optional .google.dataflow.v1beta3.StreamingMode streaming_mode = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasStreamingModein interfaceRuntimeEnvironmentOrBuilder- Returns:
- Whether the streamingMode field is set.
-
getStreamingModeValue
public int getStreamingModeValue()Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
optional .google.dataflow.v1beta3.StreamingMode streaming_mode = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStreamingModeValuein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The enum numeric value on the wire for streamingMode.
-
setStreamingModeValue
Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
optional .google.dataflow.v1beta3.StreamingMode streaming_mode = 19 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for streamingMode to set.- Returns:
- This builder for chaining.
-
getStreamingMode
Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
optional .google.dataflow.v1beta3.StreamingMode streaming_mode = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStreamingModein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The streamingMode.
-
setStreamingMode
Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
optional .google.dataflow.v1beta3.StreamingMode streaming_mode = 19 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The streamingMode to set.- Returns:
- This builder for chaining.
-
clearStreamingMode
Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
optional .google.dataflow.v1beta3.StreamingMode streaming_mode = 19 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getAdditionalPipelineOptionsList
public com.google.protobuf.ProtocolStringList getAdditionalPipelineOptionsList()Optional. Additional pipeline option flags for the job.
repeated string additional_pipeline_options = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdditionalPipelineOptionsListin interfaceRuntimeEnvironmentOrBuilder- Returns:
- A list containing the additionalPipelineOptions.
-
getAdditionalPipelineOptionsCount
public int getAdditionalPipelineOptionsCount()Optional. Additional pipeline option flags for the job.
repeated string additional_pipeline_options = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdditionalPipelineOptionsCountin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The count of additionalPipelineOptions.
-
getAdditionalPipelineOptions
Optional. Additional pipeline option flags for the job.
repeated string additional_pipeline_options = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdditionalPipelineOptionsin interfaceRuntimeEnvironmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The additionalPipelineOptions at the given index.
-
getAdditionalPipelineOptionsBytes
public com.google.protobuf.ByteString getAdditionalPipelineOptionsBytes(int index) Optional. Additional pipeline option flags for the job.
repeated string additional_pipeline_options = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdditionalPipelineOptionsBytesin interfaceRuntimeEnvironmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the additionalPipelineOptions at the given index.
-
setAdditionalPipelineOptions
Optional. Additional pipeline option flags for the job.
repeated string additional_pipeline_options = 20 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The additionalPipelineOptions to set.- Returns:
- This builder for chaining.
-
addAdditionalPipelineOptions
Optional. Additional pipeline option flags for the job.
repeated string additional_pipeline_options = 20 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The additionalPipelineOptions to add.- Returns:
- This builder for chaining.
-
addAllAdditionalPipelineOptions
Optional. Additional pipeline option flags for the job.
repeated string additional_pipeline_options = 20 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The additionalPipelineOptions to add.- Returns:
- This builder for chaining.
-
clearAdditionalPipelineOptions
Optional. Additional pipeline option flags for the job.
repeated string additional_pipeline_options = 20 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addAdditionalPipelineOptionsBytes
public RuntimeEnvironment.Builder addAdditionalPipelineOptionsBytes(com.google.protobuf.ByteString value) Optional. Additional pipeline option flags for the job.
repeated string additional_pipeline_options = 20 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the additionalPipelineOptions to add.- Returns:
- This builder for chaining.
-