Class 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.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
    implements RuntimeEnvironmentOrBuilder
     The environment values to set at runtime.
     
    Protobuf type google.dataflow.v1beta3.RuntimeEnvironment
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • clear

        public RuntimeEnvironment.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • getDefaultInstanceForType

        public RuntimeEnvironment getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RuntimeEnvironment build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RuntimeEnvironment buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RuntimeEnvironment.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • setField

        public RuntimeEnvironment.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • clearField

        public RuntimeEnvironment.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • clearOneof

        public RuntimeEnvironment.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • setRepeatedField

        public RuntimeEnvironment.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • addRepeatedField

        public RuntimeEnvironment.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • mergeFrom

        public RuntimeEnvironment.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RuntimeEnvironment.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • mergeFrom

        public RuntimeEnvironment.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RuntimeEnvironment.Builder>
        Throws:
        IOException
      • getNumWorkers

        public int getNumWorkers()
         The initial number of Google Compute Engine instnaces for the job.
         
        int32 num_workers = 11;
        Specified by:
        getNumWorkers in interface RuntimeEnvironmentOrBuilder
        Returns:
        The numWorkers.
      • setNumWorkers

        public RuntimeEnvironment.Builder setNumWorkers​(int value)
         The initial number of Google Compute Engine instnaces for the job.
         
        int32 num_workers = 11;
        Parameters:
        value - The numWorkers to set.
        Returns:
        This builder for chaining.
      • clearNumWorkers

        public RuntimeEnvironment.Builder clearNumWorkers()
         The initial number of Google Compute Engine instnaces for the job.
         
        int32 num_workers = 11;
        Returns:
        This builder for chaining.
      • getMaxWorkers

        public 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;
        Specified by:
        getMaxWorkers in interface RuntimeEnvironmentOrBuilder
        Returns:
        The maxWorkers.
      • setMaxWorkers

        public RuntimeEnvironment.Builder setMaxWorkers​(int value)
         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;
        Parameters:
        value - The maxWorkers to set.
        Returns:
        This builder for chaining.
      • clearMaxWorkers

        public RuntimeEnvironment.Builder clearMaxWorkers()
         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:
        This builder for chaining.
      • getZone

        public 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;
        Specified by:
        getZone in interface RuntimeEnvironmentOrBuilder
        Returns:
        The zone.
      • getZoneBytes

        public 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;
        Specified by:
        getZoneBytes in interface RuntimeEnvironmentOrBuilder
        Returns:
        The bytes for zone.
      • setZone

        public RuntimeEnvironment.Builder setZone​(String value)
         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

        public RuntimeEnvironment.Builder clearZone()
         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

        public RuntimeEnvironment.Builder setZoneBytes​(com.google.protobuf.ByteString value)
         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.
      • getServiceAccountEmailBytes

        public com.google.protobuf.ByteString getServiceAccountEmailBytes()
         The email address of the service account to run the job as.
         
        string service_account_email = 3;
        Specified by:
        getServiceAccountEmailBytes in interface RuntimeEnvironmentOrBuilder
        Returns:
        The bytes for serviceAccountEmail.
      • setServiceAccountEmail

        public RuntimeEnvironment.Builder setServiceAccountEmail​(String value)
         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

        public RuntimeEnvironment.Builder clearServiceAccountEmail()
         The email address of the service account to run the job as.
         
        string service_account_email = 3;
        Returns:
        This builder for chaining.
      • setServiceAccountEmailBytes

        public RuntimeEnvironment.Builder setServiceAccountEmailBytes​(com.google.protobuf.ByteString value)
         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

        public 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;
        Specified by:
        getTempLocation in interface RuntimeEnvironmentOrBuilder
        Returns:
        The tempLocation.
      • getTempLocationBytes

        public 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;
        Specified by:
        getTempLocationBytes in interface RuntimeEnvironmentOrBuilder
        Returns:
        The bytes for tempLocation.
      • setTempLocation

        public RuntimeEnvironment.Builder setTempLocation​(String value)
         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

        public RuntimeEnvironment.Builder clearTempLocation()
         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

        public RuntimeEnvironment.Builder setTempLocationBytes​(com.google.protobuf.ByteString value)
         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()
         Whether to bypass the safety checks for the job's temporary directory.
         Use with caution.
         
        bool bypass_temp_dir_validation = 5;
        Specified by:
        getBypassTempDirValidation in interface RuntimeEnvironmentOrBuilder
        Returns:
        The bypassTempDirValidation.
      • setBypassTempDirValidation

        public RuntimeEnvironment.Builder setBypassTempDirValidation​(boolean value)
         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

        public RuntimeEnvironment.Builder clearBypassTempDirValidation()
         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

        public String getMachineType()
         The machine type to use for the job. Defaults to the value from the
         template if not specified.
         
        string machine_type = 6;
        Specified by:
        getMachineType in interface RuntimeEnvironmentOrBuilder
        Returns:
        The machineType.
      • getMachineTypeBytes

        public 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;
        Specified by:
        getMachineTypeBytes in interface RuntimeEnvironmentOrBuilder
        Returns:
        The bytes for machineType.
      • setMachineType

        public RuntimeEnvironment.Builder setMachineType​(String value)
         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

        public RuntimeEnvironment.Builder clearMachineType()
         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

        public RuntimeEnvironment.Builder setMachineTypeBytes​(com.google.protobuf.ByteString value)
         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()
         Additional experiment flags for the job, specified with the
         `--experiments` option.
         
        repeated string additional_experiments = 7;
        Specified by:
        getAdditionalExperimentsList in interface RuntimeEnvironmentOrBuilder
        Returns:
        A list containing the additionalExperiments.
      • getAdditionalExperimentsCount

        public int getAdditionalExperimentsCount()
         Additional experiment flags for the job, specified with the
         `--experiments` option.
         
        repeated string additional_experiments = 7;
        Specified by:
        getAdditionalExperimentsCount in interface RuntimeEnvironmentOrBuilder
        Returns:
        The count of additionalExperiments.
      • getAdditionalExperiments

        public String getAdditionalExperiments​(int index)
         Additional experiment flags for the job, specified with the
         `--experiments` option.
         
        repeated string additional_experiments = 7;
        Specified by:
        getAdditionalExperiments in interface RuntimeEnvironmentOrBuilder
        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)
         Additional experiment flags for the job, specified with the
         `--experiments` option.
         
        repeated string additional_experiments = 7;
        Specified by:
        getAdditionalExperimentsBytes in interface RuntimeEnvironmentOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the additionalExperiments at the given index.
      • setAdditionalExperiments

        public RuntimeEnvironment.Builder setAdditionalExperiments​(int index,
                                                                   String value)
         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

        public RuntimeEnvironment.Builder addAdditionalExperiments​(String value)
         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

        public RuntimeEnvironment.Builder addAllAdditionalExperiments​(Iterable<String> values)
         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

        public RuntimeEnvironment.Builder clearAdditionalExperiments()
         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)
         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

        public String getNetwork()
         Network to which VMs will be assigned.  If empty or unspecified,
         the service will use the network "default".
         
        string network = 8;
        Specified by:
        getNetwork in interface RuntimeEnvironmentOrBuilder
        Returns:
        The network.
      • getNetworkBytes

        public 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;
        Specified by:
        getNetworkBytes in interface RuntimeEnvironmentOrBuilder
        Returns:
        The bytes for network.
      • setNetwork

        public RuntimeEnvironment.Builder setNetwork​(String value)
         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

        public RuntimeEnvironment.Builder clearNetwork()
         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

        public RuntimeEnvironment.Builder setNetworkBytes​(com.google.protobuf.ByteString value)
         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

        public 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;
        Specified by:
        getSubnetwork in interface RuntimeEnvironmentOrBuilder
        Returns:
        The subnetwork.
      • getSubnetworkBytes

        public 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;
        Specified by:
        getSubnetworkBytes in interface RuntimeEnvironmentOrBuilder
        Returns:
        The bytes for subnetwork.
      • setSubnetwork

        public RuntimeEnvironment.Builder setSubnetwork​(String value)
         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

        public RuntimeEnvironment.Builder clearSubnetwork()
         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

        public RuntimeEnvironment.Builder setSubnetworkBytes​(com.google.protobuf.ByteString value)
         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: RuntimeEnvironmentOrBuilder
         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:
        getAdditionalUserLabelsCount in interface RuntimeEnvironmentOrBuilder
      • containsAdditionalUserLabels

        public 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;
        Specified by:
        containsAdditionalUserLabels in interface RuntimeEnvironmentOrBuilder
      • getAdditionalUserLabelsMap

        public 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;
        Specified by:
        getAdditionalUserLabelsMap in interface RuntimeEnvironmentOrBuilder
      • getAdditionalUserLabelsOrDefault

        public 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;
        Specified by:
        getAdditionalUserLabelsOrDefault in interface RuntimeEnvironmentOrBuilder
      • getAdditionalUserLabelsOrThrow

        public 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;
        Specified by:
        getAdditionalUserLabelsOrThrow in interface RuntimeEnvironmentOrBuilder
      • removeAdditionalUserLabels

        public RuntimeEnvironment.Builder removeAdditionalUserLabels​(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;
      • getMutableAdditionalUserLabels

        @Deprecated
        public Map<String,​String> getMutableAdditionalUserLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putAdditionalUserLabels

        public RuntimeEnvironment.Builder putAdditionalUserLabels​(String key,
                                                                  String value)
         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

        public RuntimeEnvironment.Builder putAllAdditionalUserLabels​(Map<String,​String> values)
         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

        public 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;
        Specified by:
        getKmsKeyName in interface RuntimeEnvironmentOrBuilder
        Returns:
        The kmsKeyName.
      • getKmsKeyNameBytes

        public 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;
        Specified by:
        getKmsKeyNameBytes in interface RuntimeEnvironmentOrBuilder
        Returns:
        The bytes for kmsKeyName.
      • setKmsKeyName

        public RuntimeEnvironment.Builder setKmsKeyName​(String value)
         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

        public RuntimeEnvironment.Builder clearKmsKeyName()
         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

        public RuntimeEnvironment.Builder setKmsKeyNameBytes​(com.google.protobuf.ByteString value)
         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()
         Configuration for VM IPs.
         
        .google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;
        Specified by:
        getIpConfigurationValue in interface RuntimeEnvironmentOrBuilder
        Returns:
        The enum numeric value on the wire for ipConfiguration.
      • setIpConfigurationValue

        public RuntimeEnvironment.Builder setIpConfigurationValue​(int value)
         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.
      • setIpConfiguration

        public RuntimeEnvironment.Builder setIpConfiguration​(WorkerIPAddressConfiguration value)
         Configuration for VM IPs.
         
        .google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;
        Parameters:
        value - The ipConfiguration to set.
        Returns:
        This builder for chaining.
      • clearIpConfiguration

        public RuntimeEnvironment.Builder clearIpConfiguration()
         Configuration for VM IPs.
         
        .google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;
        Returns:
        This builder for chaining.
      • getWorkerRegion

        public 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;
        Specified by:
        getWorkerRegion in interface RuntimeEnvironmentOrBuilder
        Returns:
        The workerRegion.
      • getWorkerRegionBytes

        public 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;
        Specified by:
        getWorkerRegionBytes in interface RuntimeEnvironmentOrBuilder
        Returns:
        The bytes for workerRegion.
      • setWorkerRegion

        public RuntimeEnvironment.Builder setWorkerRegion​(String value)
         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

        public RuntimeEnvironment.Builder clearWorkerRegion()
         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

        public RuntimeEnvironment.Builder setWorkerRegionBytes​(com.google.protobuf.ByteString value)
         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

        public 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;
        Specified by:
        getWorkerZone in interface RuntimeEnvironmentOrBuilder
        Returns:
        The workerZone.
      • getWorkerZoneBytes

        public 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;
        Specified by:
        getWorkerZoneBytes in interface RuntimeEnvironmentOrBuilder
        Returns:
        The bytes for workerZone.
      • setWorkerZone

        public RuntimeEnvironment.Builder setWorkerZone​(String value)
         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

        public RuntimeEnvironment.Builder clearWorkerZone()
         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

        public RuntimeEnvironment.Builder setWorkerZoneBytes​(com.google.protobuf.ByteString value)
         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()
         Whether to enable Streaming Engine for the job.
         
        bool enable_streaming_engine = 17;
        Specified by:
        getEnableStreamingEngine in interface RuntimeEnvironmentOrBuilder
        Returns:
        The enableStreamingEngine.
      • setEnableStreamingEngine

        public RuntimeEnvironment.Builder setEnableStreamingEngine​(boolean value)
         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

        public RuntimeEnvironment.Builder clearEnableStreamingEngine()
         Whether to enable Streaming Engine for the job.
         
        bool enable_streaming_engine = 17;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RuntimeEnvironment.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>
      • mergeUnknownFields

        public final RuntimeEnvironment.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeEnvironment.Builder>