Package com.google.dataflow.v1beta3
Class FlexTemplateRuntimeEnvironment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
- com.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment.Builder
-
- All Implemented Interfaces:
FlexTemplateRuntimeEnvironmentOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- FlexTemplateRuntimeEnvironment
public static final class FlexTemplateRuntimeEnvironment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder> implements FlexTemplateRuntimeEnvironmentOrBuilder
The environment values to be set at runtime for flex template.
Protobuf typegoogle.dataflow.v1beta3.FlexTemplateRuntimeEnvironment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FlexTemplateRuntimeEnvironment.Builder
addAdditionalExperiments(String value)
Additional experiment flags for the job.FlexTemplateRuntimeEnvironment.Builder
addAdditionalExperimentsBytes(com.google.protobuf.ByteString value)
Additional experiment flags for the job.FlexTemplateRuntimeEnvironment.Builder
addAllAdditionalExperiments(Iterable<String> values)
Additional experiment flags for the job.FlexTemplateRuntimeEnvironment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FlexTemplateRuntimeEnvironment
build()
FlexTemplateRuntimeEnvironment
buildPartial()
FlexTemplateRuntimeEnvironment.Builder
clear()
FlexTemplateRuntimeEnvironment.Builder
clearAdditionalExperiments()
Additional experiment flags for the job.FlexTemplateRuntimeEnvironment.Builder
clearAdditionalUserLabels()
FlexTemplateRuntimeEnvironment.Builder
clearAutoscalingAlgorithm()
The algorithm to use for autoscalingFlexTemplateRuntimeEnvironment.Builder
clearDiskSizeGb()
Worker disk size, in gigabytes.FlexTemplateRuntimeEnvironment.Builder
clearDumpHeapOnOom()
If true, save a heap dump before killing a thread or process which is GC thrashing or out of memory.FlexTemplateRuntimeEnvironment.Builder
clearEnableStreamingEngine()
Whether to enable Streaming Engine for the job.FlexTemplateRuntimeEnvironment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FlexTemplateRuntimeEnvironment.Builder
clearFlexrsGoal()
Set FlexRS goal for the job.FlexTemplateRuntimeEnvironment.Builder
clearIpConfiguration()
Configuration for VM IPs.FlexTemplateRuntimeEnvironment.Builder
clearKmsKeyName()
Name for the Cloud KMS key for the job.FlexTemplateRuntimeEnvironment.Builder
clearLauncherMachineType()
The machine type to use for launching the job.FlexTemplateRuntimeEnvironment.Builder
clearMachineType()
The machine type to use for the job.FlexTemplateRuntimeEnvironment.Builder
clearMaxWorkers()
The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.FlexTemplateRuntimeEnvironment.Builder
clearNetwork()
Network to which VMs will be assigned.FlexTemplateRuntimeEnvironment.Builder
clearNumWorkers()
The initial number of Google Compute Engine instances for the job.FlexTemplateRuntimeEnvironment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FlexTemplateRuntimeEnvironment.Builder
clearSaveHeapDumpsToGcsPath()
Cloud Storage bucket (directory) to upload heap dumps to the given location.FlexTemplateRuntimeEnvironment.Builder
clearSdkContainerImage()
Docker registry location of container image to use for the 'worker harness.FlexTemplateRuntimeEnvironment.Builder
clearServiceAccountEmail()
The email address of the service account to run the job as.FlexTemplateRuntimeEnvironment.Builder
clearStagingLocation()
The Cloud Storage path for staging local files.FlexTemplateRuntimeEnvironment.Builder
clearSubnetwork()
Subnetwork to which VMs will be assigned, if desired.FlexTemplateRuntimeEnvironment.Builder
clearTempLocation()
The Cloud Storage path to use for temporary files.FlexTemplateRuntimeEnvironment.Builder
clearWorkerRegion()
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.FlexTemplateRuntimeEnvironment.Builder
clearWorkerZone()
The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.FlexTemplateRuntimeEnvironment.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.FlexTemplateRuntimeEnvironment.Builder
clone()
boolean
containsAdditionalUserLabels(String key)
Additional user labels to be specified for the job.String
getAdditionalExperiments(int index)
Additional experiment flags for the job.com.google.protobuf.ByteString
getAdditionalExperimentsBytes(int index)
Additional experiment flags for the job.int
getAdditionalExperimentsCount()
Additional experiment flags for the job.com.google.protobuf.ProtocolStringList
getAdditionalExperimentsList()
Additional experiment flags for the job.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.AutoscalingAlgorithm
getAutoscalingAlgorithm()
The algorithm to use for autoscalingint
getAutoscalingAlgorithmValue()
The algorithm to use for autoscalingFlexTemplateRuntimeEnvironment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getDiskSizeGb()
Worker disk size, in gigabytes.boolean
getDumpHeapOnOom()
If true, save a heap dump before killing a thread or process which is GC thrashing or out of memory.boolean
getEnableStreamingEngine()
Whether to enable Streaming Engine for the job.FlexResourceSchedulingGoal
getFlexrsGoal()
Set FlexRS goal for the job.int
getFlexrsGoalValue()
Set FlexRS goal 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
getLauncherMachineType()
The machine type to use for launching the job.com.google.protobuf.ByteString
getLauncherMachineTypeBytes()
The machine type to use for launching 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.Map<String,String>
getMutableAdditionalUserLabels()
Deprecated.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 instances for the job.String
getSaveHeapDumpsToGcsPath()
Cloud Storage bucket (directory) to upload heap dumps to the given location.com.google.protobuf.ByteString
getSaveHeapDumpsToGcsPathBytes()
Cloud Storage bucket (directory) to upload heap dumps to the given location.String
getSdkContainerImage()
Docker registry location of container image to use for the 'worker harness.com.google.protobuf.ByteString
getSdkContainerImageBytes()
Docker registry location of container image to use for the 'worker harness.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
getStagingLocation()
The Cloud Storage path for staging local files.com.google.protobuf.ByteString
getStagingLocationBytes()
The Cloud Storage path for staging local files.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
FlexTemplateRuntimeEnvironment.Builder
mergeFrom(FlexTemplateRuntimeEnvironment other)
FlexTemplateRuntimeEnvironment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FlexTemplateRuntimeEnvironment.Builder
mergeFrom(com.google.protobuf.Message other)
FlexTemplateRuntimeEnvironment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FlexTemplateRuntimeEnvironment.Builder
putAdditionalUserLabels(String key, String value)
Additional user labels to be specified for the job.FlexTemplateRuntimeEnvironment.Builder
putAllAdditionalUserLabels(Map<String,String> values)
Additional user labels to be specified for the job.FlexTemplateRuntimeEnvironment.Builder
removeAdditionalUserLabels(String key)
Additional user labels to be specified for the job.FlexTemplateRuntimeEnvironment.Builder
setAdditionalExperiments(int index, String value)
Additional experiment flags for the job.FlexTemplateRuntimeEnvironment.Builder
setAutoscalingAlgorithm(AutoscalingAlgorithm value)
The algorithm to use for autoscalingFlexTemplateRuntimeEnvironment.Builder
setAutoscalingAlgorithmValue(int value)
The algorithm to use for autoscalingFlexTemplateRuntimeEnvironment.Builder
setDiskSizeGb(int value)
Worker disk size, in gigabytes.FlexTemplateRuntimeEnvironment.Builder
setDumpHeapOnOom(boolean value)
If true, save a heap dump before killing a thread or process which is GC thrashing or out of memory.FlexTemplateRuntimeEnvironment.Builder
setEnableStreamingEngine(boolean value)
Whether to enable Streaming Engine for the job.FlexTemplateRuntimeEnvironment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FlexTemplateRuntimeEnvironment.Builder
setFlexrsGoal(FlexResourceSchedulingGoal value)
Set FlexRS goal for the job.FlexTemplateRuntimeEnvironment.Builder
setFlexrsGoalValue(int value)
Set FlexRS goal for the job.FlexTemplateRuntimeEnvironment.Builder
setIpConfiguration(WorkerIPAddressConfiguration value)
Configuration for VM IPs.FlexTemplateRuntimeEnvironment.Builder
setIpConfigurationValue(int value)
Configuration for VM IPs.FlexTemplateRuntimeEnvironment.Builder
setKmsKeyName(String value)
Name for the Cloud KMS key for the job.FlexTemplateRuntimeEnvironment.Builder
setKmsKeyNameBytes(com.google.protobuf.ByteString value)
Name for the Cloud KMS key for the job.FlexTemplateRuntimeEnvironment.Builder
setLauncherMachineType(String value)
The machine type to use for launching the job.FlexTemplateRuntimeEnvironment.Builder
setLauncherMachineTypeBytes(com.google.protobuf.ByteString value)
The machine type to use for launching the job.FlexTemplateRuntimeEnvironment.Builder
setMachineType(String value)
The machine type to use for the job.FlexTemplateRuntimeEnvironment.Builder
setMachineTypeBytes(com.google.protobuf.ByteString value)
The machine type to use for the job.FlexTemplateRuntimeEnvironment.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.FlexTemplateRuntimeEnvironment.Builder
setNetwork(String value)
Network to which VMs will be assigned.FlexTemplateRuntimeEnvironment.Builder
setNetworkBytes(com.google.protobuf.ByteString value)
Network to which VMs will be assigned.FlexTemplateRuntimeEnvironment.Builder
setNumWorkers(int value)
The initial number of Google Compute Engine instances for the job.FlexTemplateRuntimeEnvironment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
FlexTemplateRuntimeEnvironment.Builder
setSaveHeapDumpsToGcsPath(String value)
Cloud Storage bucket (directory) to upload heap dumps to the given location.FlexTemplateRuntimeEnvironment.Builder
setSaveHeapDumpsToGcsPathBytes(com.google.protobuf.ByteString value)
Cloud Storage bucket (directory) to upload heap dumps to the given location.FlexTemplateRuntimeEnvironment.Builder
setSdkContainerImage(String value)
Docker registry location of container image to use for the 'worker harness.FlexTemplateRuntimeEnvironment.Builder
setSdkContainerImageBytes(com.google.protobuf.ByteString value)
Docker registry location of container image to use for the 'worker harness.FlexTemplateRuntimeEnvironment.Builder
setServiceAccountEmail(String value)
The email address of the service account to run the job as.FlexTemplateRuntimeEnvironment.Builder
setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
The email address of the service account to run the job as.FlexTemplateRuntimeEnvironment.Builder
setStagingLocation(String value)
The Cloud Storage path for staging local files.FlexTemplateRuntimeEnvironment.Builder
setStagingLocationBytes(com.google.protobuf.ByteString value)
The Cloud Storage path for staging local files.FlexTemplateRuntimeEnvironment.Builder
setSubnetwork(String value)
Subnetwork to which VMs will be assigned, if desired.FlexTemplateRuntimeEnvironment.Builder
setSubnetworkBytes(com.google.protobuf.ByteString value)
Subnetwork to which VMs will be assigned, if desired.FlexTemplateRuntimeEnvironment.Builder
setTempLocation(String value)
The Cloud Storage path to use for temporary files.FlexTemplateRuntimeEnvironment.Builder
setTempLocationBytes(com.google.protobuf.ByteString value)
The Cloud Storage path to use for temporary files.FlexTemplateRuntimeEnvironment.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FlexTemplateRuntimeEnvironment.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.FlexTemplateRuntimeEnvironment.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.FlexTemplateRuntimeEnvironment.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.FlexTemplateRuntimeEnvironment.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.FlexTemplateRuntimeEnvironment.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.FlexTemplateRuntimeEnvironment.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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
clear
public FlexTemplateRuntimeEnvironment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
getDefaultInstanceForType
public FlexTemplateRuntimeEnvironment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FlexTemplateRuntimeEnvironment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FlexTemplateRuntimeEnvironment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FlexTemplateRuntimeEnvironment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
setField
public FlexTemplateRuntimeEnvironment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
clearField
public FlexTemplateRuntimeEnvironment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
clearOneof
public FlexTemplateRuntimeEnvironment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
setRepeatedField
public FlexTemplateRuntimeEnvironment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
addRepeatedField
public FlexTemplateRuntimeEnvironment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
mergeFrom
public FlexTemplateRuntimeEnvironment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
mergeFrom
public FlexTemplateRuntimeEnvironment.Builder mergeFrom(FlexTemplateRuntimeEnvironment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
mergeFrom
public FlexTemplateRuntimeEnvironment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FlexTemplateRuntimeEnvironment.Builder>
- Throws:
IOException
-
getNumWorkers
public int getNumWorkers()
The initial number of Google Compute Engine instances for the job.
int32 num_workers = 1;
- Specified by:
getNumWorkers
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The numWorkers.
-
setNumWorkers
public FlexTemplateRuntimeEnvironment.Builder setNumWorkers(int value)
The initial number of Google Compute Engine instances for the job.
int32 num_workers = 1;
- Parameters:
value
- The numWorkers to set.- Returns:
- This builder for chaining.
-
clearNumWorkers
public FlexTemplateRuntimeEnvironment.Builder clearNumWorkers()
The initial number of Google Compute Engine instances for the job.
int32 num_workers = 1;
- 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 = 2;
- Specified by:
getMaxWorkers
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The maxWorkers.
-
setMaxWorkers
public FlexTemplateRuntimeEnvironment.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 = 2;
- Parameters:
value
- The maxWorkers to set.- Returns:
- This builder for chaining.
-
clearMaxWorkers
public FlexTemplateRuntimeEnvironment.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 = 2;
- 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 = 3;
- Specified by:
getZone
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- 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 = 3;
- Specified by:
getZoneBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for zone.
-
setZone
public FlexTemplateRuntimeEnvironment.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 = 3;
- Parameters:
value
- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
public FlexTemplateRuntimeEnvironment.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 = 3;
- Returns:
- This builder for chaining.
-
setZoneBytes
public FlexTemplateRuntimeEnvironment.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 = 3;
- Parameters:
value
- The bytes for zone to set.- Returns:
- This builder for chaining.
-
getServiceAccountEmail
public String getServiceAccountEmail()
The email address of the service account to run the job as.
string service_account_email = 4;
- Specified by:
getServiceAccountEmail
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The serviceAccountEmail.
-
getServiceAccountEmailBytes
public com.google.protobuf.ByteString getServiceAccountEmailBytes()
The email address of the service account to run the job as.
string service_account_email = 4;
- Specified by:
getServiceAccountEmailBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for serviceAccountEmail.
-
setServiceAccountEmail
public FlexTemplateRuntimeEnvironment.Builder setServiceAccountEmail(String value)
The email address of the service account to run the job as.
string service_account_email = 4;
- Parameters:
value
- The serviceAccountEmail to set.- Returns:
- This builder for chaining.
-
clearServiceAccountEmail
public FlexTemplateRuntimeEnvironment.Builder clearServiceAccountEmail()
The email address of the service account to run the job as.
string service_account_email = 4;
- Returns:
- This builder for chaining.
-
setServiceAccountEmailBytes
public FlexTemplateRuntimeEnvironment.Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
The email address of the service account to run the job as.
string service_account_email = 4;
- 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 = 5;
- Specified by:
getTempLocation
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- 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 = 5;
- Specified by:
getTempLocationBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for tempLocation.
-
setTempLocation
public FlexTemplateRuntimeEnvironment.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 = 5;
- Parameters:
value
- The tempLocation to set.- Returns:
- This builder for chaining.
-
clearTempLocation
public FlexTemplateRuntimeEnvironment.Builder clearTempLocation()
The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string temp_location = 5;
- Returns:
- This builder for chaining.
-
setTempLocationBytes
public FlexTemplateRuntimeEnvironment.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 = 5;
- Parameters:
value
- The bytes for tempLocation to set.- 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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- 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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for machineType.
-
setMachineType
public FlexTemplateRuntimeEnvironment.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 FlexTemplateRuntimeEnvironment.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 FlexTemplateRuntimeEnvironment.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.
repeated string additional_experiments = 7;
- Specified by:
getAdditionalExperimentsList
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- A list containing the additionalExperiments.
-
getAdditionalExperimentsCount
public int getAdditionalExperimentsCount()
Additional experiment flags for the job.
repeated string additional_experiments = 7;
- Specified by:
getAdditionalExperimentsCount
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The count of additionalExperiments.
-
getAdditionalExperiments
public String getAdditionalExperiments(int index)
Additional experiment flags for the job.
repeated string additional_experiments = 7;
- Specified by:
getAdditionalExperiments
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- 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.
repeated string additional_experiments = 7;
- Specified by:
getAdditionalExperimentsBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the additionalExperiments at the given index.
-
setAdditionalExperiments
public FlexTemplateRuntimeEnvironment.Builder setAdditionalExperiments(int index, String value)
Additional experiment flags for the job.
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 FlexTemplateRuntimeEnvironment.Builder addAdditionalExperiments(String value)
Additional experiment flags for the job.
repeated string additional_experiments = 7;
- Parameters:
value
- The additionalExperiments to add.- Returns:
- This builder for chaining.
-
addAllAdditionalExperiments
public FlexTemplateRuntimeEnvironment.Builder addAllAdditionalExperiments(Iterable<String> values)
Additional experiment flags for the job.
repeated string additional_experiments = 7;
- Parameters:
values
- The additionalExperiments to add.- Returns:
- This builder for chaining.
-
clearAdditionalExperiments
public FlexTemplateRuntimeEnvironment.Builder clearAdditionalExperiments()
Additional experiment flags for the job.
repeated string additional_experiments = 7;
- Returns:
- This builder for chaining.
-
addAdditionalExperimentsBytes
public FlexTemplateRuntimeEnvironment.Builder addAdditionalExperimentsBytes(com.google.protobuf.ByteString value)
Additional experiment flags for the job.
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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- 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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for network.
-
setNetwork
public FlexTemplateRuntimeEnvironment.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 FlexTemplateRuntimeEnvironment.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 FlexTemplateRuntimeEnvironment.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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- 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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for subnetwork.
-
setSubnetwork
public FlexTemplateRuntimeEnvironment.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 FlexTemplateRuntimeEnvironment.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 FlexTemplateRuntimeEnvironment.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:FlexTemplateRuntimeEnvironmentOrBuilder
Additional user labels to be specified for the job. Keys and values must 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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
-
containsAdditionalUserLabels
public boolean containsAdditionalUserLabels(String key)
Additional user labels to be specified for the job. Keys and values must 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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabels
@Deprecated public Map<String,String> getAdditionalUserLabels()
Deprecated.UsegetAdditionalUserLabelsMap()
instead.- Specified by:
getAdditionalUserLabels
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabelsMap
public Map<String,String> getAdditionalUserLabelsMap()
Additional user labels to be specified for the job. Keys and values must 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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabelsOrDefault
public String getAdditionalUserLabelsOrDefault(String key, String defaultValue)
Additional user labels to be specified for the job. Keys and values must 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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabelsOrThrow
public String getAdditionalUserLabelsOrThrow(String key)
Additional user labels to be specified for the job. Keys and values must 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 interfaceFlexTemplateRuntimeEnvironmentOrBuilder
-
clearAdditionalUserLabels
public FlexTemplateRuntimeEnvironment.Builder clearAdditionalUserLabels()
-
removeAdditionalUserLabels
public FlexTemplateRuntimeEnvironment.Builder removeAdditionalUserLabels(String key)
Additional user labels to be specified for the job. Keys and values must 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 FlexTemplateRuntimeEnvironment.Builder putAdditionalUserLabels(String key, String value)
Additional user labels to be specified for the job. Keys and values must 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 FlexTemplateRuntimeEnvironment.Builder putAllAdditionalUserLabels(Map<String,String> values)
Additional user labels to be specified for the job. Keys and values must 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 = 11;
- Specified by:
getKmsKeyName
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- 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 = 11;
- Specified by:
getKmsKeyNameBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for kmsKeyName.
-
setKmsKeyName
public FlexTemplateRuntimeEnvironment.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 = 11;
- Parameters:
value
- The kmsKeyName to set.- Returns:
- This builder for chaining.
-
clearKmsKeyName
public FlexTemplateRuntimeEnvironment.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 = 11;
- Returns:
- This builder for chaining.
-
setKmsKeyNameBytes
public FlexTemplateRuntimeEnvironment.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 = 11;
- 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 = 12;
- Specified by:
getIpConfigurationValue
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The enum numeric value on the wire for ipConfiguration.
-
setIpConfigurationValue
public FlexTemplateRuntimeEnvironment.Builder setIpConfigurationValue(int value)
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 12;
- Parameters:
value
- The enum numeric value on the wire for ipConfiguration to set.- Returns:
- This builder for chaining.
-
getIpConfiguration
public WorkerIPAddressConfiguration getIpConfiguration()
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 12;
- Specified by:
getIpConfiguration
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The ipConfiguration.
-
setIpConfiguration
public FlexTemplateRuntimeEnvironment.Builder setIpConfiguration(WorkerIPAddressConfiguration value)
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 12;
- Parameters:
value
- The ipConfiguration to set.- Returns:
- This builder for chaining.
-
clearIpConfiguration
public FlexTemplateRuntimeEnvironment.Builder clearIpConfiguration()
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 12;
- 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 = 13;
- Specified by:
getWorkerRegion
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- 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 = 13;
- Specified by:
getWorkerRegionBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for workerRegion.
-
setWorkerRegion
public FlexTemplateRuntimeEnvironment.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 = 13;
- Parameters:
value
- The workerRegion to set.- Returns:
- This builder for chaining.
-
clearWorkerRegion
public FlexTemplateRuntimeEnvironment.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 = 13;
- Returns:
- This builder for chaining.
-
setWorkerRegionBytes
public FlexTemplateRuntimeEnvironment.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 = 13;
- 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 = 14;
- Specified by:
getWorkerZone
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- 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 = 14;
- Specified by:
getWorkerZoneBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for workerZone.
-
setWorkerZone
public FlexTemplateRuntimeEnvironment.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 = 14;
- Parameters:
value
- The workerZone to set.- Returns:
- This builder for chaining.
-
clearWorkerZone
public FlexTemplateRuntimeEnvironment.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 = 14;
- Returns:
- This builder for chaining.
-
setWorkerZoneBytes
public FlexTemplateRuntimeEnvironment.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 = 14;
- 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 = 15;
- Specified by:
getEnableStreamingEngine
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The enableStreamingEngine.
-
setEnableStreamingEngine
public FlexTemplateRuntimeEnvironment.Builder setEnableStreamingEngine(boolean value)
Whether to enable Streaming Engine for the job.
bool enable_streaming_engine = 15;
- Parameters:
value
- The enableStreamingEngine to set.- Returns:
- This builder for chaining.
-
clearEnableStreamingEngine
public FlexTemplateRuntimeEnvironment.Builder clearEnableStreamingEngine()
Whether to enable Streaming Engine for the job.
bool enable_streaming_engine = 15;
- Returns:
- This builder for chaining.
-
getFlexrsGoalValue
public int getFlexrsGoalValue()
Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flexrs_goal = 16;
- Specified by:
getFlexrsGoalValue
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The enum numeric value on the wire for flexrsGoal.
-
setFlexrsGoalValue
public FlexTemplateRuntimeEnvironment.Builder setFlexrsGoalValue(int value)
Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flexrs_goal = 16;
- Parameters:
value
- The enum numeric value on the wire for flexrsGoal to set.- Returns:
- This builder for chaining.
-
getFlexrsGoal
public FlexResourceSchedulingGoal getFlexrsGoal()
Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flexrs_goal = 16;
- Specified by:
getFlexrsGoal
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The flexrsGoal.
-
setFlexrsGoal
public FlexTemplateRuntimeEnvironment.Builder setFlexrsGoal(FlexResourceSchedulingGoal value)
Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flexrs_goal = 16;
- Parameters:
value
- The flexrsGoal to set.- Returns:
- This builder for chaining.
-
clearFlexrsGoal
public FlexTemplateRuntimeEnvironment.Builder clearFlexrsGoal()
Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flexrs_goal = 16;
- Returns:
- This builder for chaining.
-
getStagingLocation
public String getStagingLocation()
The Cloud Storage path for staging local files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string staging_location = 17;
- Specified by:
getStagingLocation
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The stagingLocation.
-
getStagingLocationBytes
public com.google.protobuf.ByteString getStagingLocationBytes()
The Cloud Storage path for staging local files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string staging_location = 17;
- Specified by:
getStagingLocationBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for stagingLocation.
-
setStagingLocation
public FlexTemplateRuntimeEnvironment.Builder setStagingLocation(String value)
The Cloud Storage path for staging local files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string staging_location = 17;
- Parameters:
value
- The stagingLocation to set.- Returns:
- This builder for chaining.
-
clearStagingLocation
public FlexTemplateRuntimeEnvironment.Builder clearStagingLocation()
The Cloud Storage path for staging local files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string staging_location = 17;
- Returns:
- This builder for chaining.
-
setStagingLocationBytes
public FlexTemplateRuntimeEnvironment.Builder setStagingLocationBytes(com.google.protobuf.ByteString value)
The Cloud Storage path for staging local files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string staging_location = 17;
- Parameters:
value
- The bytes for stagingLocation to set.- Returns:
- This builder for chaining.
-
getSdkContainerImage
public String getSdkContainerImage()
Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.
string sdk_container_image = 18;
- Specified by:
getSdkContainerImage
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The sdkContainerImage.
-
getSdkContainerImageBytes
public com.google.protobuf.ByteString getSdkContainerImageBytes()
Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.
string sdk_container_image = 18;
- Specified by:
getSdkContainerImageBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for sdkContainerImage.
-
setSdkContainerImage
public FlexTemplateRuntimeEnvironment.Builder setSdkContainerImage(String value)
Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.
string sdk_container_image = 18;
- Parameters:
value
- The sdkContainerImage to set.- Returns:
- This builder for chaining.
-
clearSdkContainerImage
public FlexTemplateRuntimeEnvironment.Builder clearSdkContainerImage()
Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.
string sdk_container_image = 18;
- Returns:
- This builder for chaining.
-
setSdkContainerImageBytes
public FlexTemplateRuntimeEnvironment.Builder setSdkContainerImageBytes(com.google.protobuf.ByteString value)
Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.
string sdk_container_image = 18;
- Parameters:
value
- The bytes for sdkContainerImage to set.- Returns:
- This builder for chaining.
-
getDiskSizeGb
public int getDiskSizeGb()
Worker disk size, in gigabytes.
int32 disk_size_gb = 20;
- Specified by:
getDiskSizeGb
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The diskSizeGb.
-
setDiskSizeGb
public FlexTemplateRuntimeEnvironment.Builder setDiskSizeGb(int value)
Worker disk size, in gigabytes.
int32 disk_size_gb = 20;
- Parameters:
value
- The diskSizeGb to set.- Returns:
- This builder for chaining.
-
clearDiskSizeGb
public FlexTemplateRuntimeEnvironment.Builder clearDiskSizeGb()
Worker disk size, in gigabytes.
int32 disk_size_gb = 20;
- Returns:
- This builder for chaining.
-
getAutoscalingAlgorithmValue
public int getAutoscalingAlgorithmValue()
The algorithm to use for autoscaling
.google.dataflow.v1beta3.AutoscalingAlgorithm autoscaling_algorithm = 21;
- Specified by:
getAutoscalingAlgorithmValue
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The enum numeric value on the wire for autoscalingAlgorithm.
-
setAutoscalingAlgorithmValue
public FlexTemplateRuntimeEnvironment.Builder setAutoscalingAlgorithmValue(int value)
The algorithm to use for autoscaling
.google.dataflow.v1beta3.AutoscalingAlgorithm autoscaling_algorithm = 21;
- Parameters:
value
- The enum numeric value on the wire for autoscalingAlgorithm to set.- Returns:
- This builder for chaining.
-
getAutoscalingAlgorithm
public AutoscalingAlgorithm getAutoscalingAlgorithm()
The algorithm to use for autoscaling
.google.dataflow.v1beta3.AutoscalingAlgorithm autoscaling_algorithm = 21;
- Specified by:
getAutoscalingAlgorithm
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The autoscalingAlgorithm.
-
setAutoscalingAlgorithm
public FlexTemplateRuntimeEnvironment.Builder setAutoscalingAlgorithm(AutoscalingAlgorithm value)
The algorithm to use for autoscaling
.google.dataflow.v1beta3.AutoscalingAlgorithm autoscaling_algorithm = 21;
- Parameters:
value
- The autoscalingAlgorithm to set.- Returns:
- This builder for chaining.
-
clearAutoscalingAlgorithm
public FlexTemplateRuntimeEnvironment.Builder clearAutoscalingAlgorithm()
The algorithm to use for autoscaling
.google.dataflow.v1beta3.AutoscalingAlgorithm autoscaling_algorithm = 21;
- Returns:
- This builder for chaining.
-
getDumpHeapOnOom
public boolean getDumpHeapOnOom()
If true, save a heap dump before killing a thread or process which is GC thrashing or out of memory. The location of the heap file will either be echoed back to the user, or the user will be given the opportunity to download the heap file.
bool dump_heap_on_oom = 22;
- Specified by:
getDumpHeapOnOom
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The dumpHeapOnOom.
-
setDumpHeapOnOom
public FlexTemplateRuntimeEnvironment.Builder setDumpHeapOnOom(boolean value)
If true, save a heap dump before killing a thread or process which is GC thrashing or out of memory. The location of the heap file will either be echoed back to the user, or the user will be given the opportunity to download the heap file.
bool dump_heap_on_oom = 22;
- Parameters:
value
- The dumpHeapOnOom to set.- Returns:
- This builder for chaining.
-
clearDumpHeapOnOom
public FlexTemplateRuntimeEnvironment.Builder clearDumpHeapOnOom()
If true, save a heap dump before killing a thread or process which is GC thrashing or out of memory. The location of the heap file will either be echoed back to the user, or the user will be given the opportunity to download the heap file.
bool dump_heap_on_oom = 22;
- Returns:
- This builder for chaining.
-
getSaveHeapDumpsToGcsPath
public String getSaveHeapDumpsToGcsPath()
Cloud Storage bucket (directory) to upload heap dumps to the given location. Enabling this implies that heap dumps should be generated on OOM (dump_heap_on_oom is set to true).
string save_heap_dumps_to_gcs_path = 23;
- Specified by:
getSaveHeapDumpsToGcsPath
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The saveHeapDumpsToGcsPath.
-
getSaveHeapDumpsToGcsPathBytes
public com.google.protobuf.ByteString getSaveHeapDumpsToGcsPathBytes()
Cloud Storage bucket (directory) to upload heap dumps to the given location. Enabling this implies that heap dumps should be generated on OOM (dump_heap_on_oom is set to true).
string save_heap_dumps_to_gcs_path = 23;
- Specified by:
getSaveHeapDumpsToGcsPathBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for saveHeapDumpsToGcsPath.
-
setSaveHeapDumpsToGcsPath
public FlexTemplateRuntimeEnvironment.Builder setSaveHeapDumpsToGcsPath(String value)
Cloud Storage bucket (directory) to upload heap dumps to the given location. Enabling this implies that heap dumps should be generated on OOM (dump_heap_on_oom is set to true).
string save_heap_dumps_to_gcs_path = 23;
- Parameters:
value
- The saveHeapDumpsToGcsPath to set.- Returns:
- This builder for chaining.
-
clearSaveHeapDumpsToGcsPath
public FlexTemplateRuntimeEnvironment.Builder clearSaveHeapDumpsToGcsPath()
Cloud Storage bucket (directory) to upload heap dumps to the given location. Enabling this implies that heap dumps should be generated on OOM (dump_heap_on_oom is set to true).
string save_heap_dumps_to_gcs_path = 23;
- Returns:
- This builder for chaining.
-
setSaveHeapDumpsToGcsPathBytes
public FlexTemplateRuntimeEnvironment.Builder setSaveHeapDumpsToGcsPathBytes(com.google.protobuf.ByteString value)
Cloud Storage bucket (directory) to upload heap dumps to the given location. Enabling this implies that heap dumps should be generated on OOM (dump_heap_on_oom is set to true).
string save_heap_dumps_to_gcs_path = 23;
- Parameters:
value
- The bytes for saveHeapDumpsToGcsPath to set.- Returns:
- This builder for chaining.
-
getLauncherMachineType
public String getLauncherMachineType()
The machine type to use for launching the job. The default is n1-standard-1.
string launcher_machine_type = 24;
- Specified by:
getLauncherMachineType
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The launcherMachineType.
-
getLauncherMachineTypeBytes
public com.google.protobuf.ByteString getLauncherMachineTypeBytes()
The machine type to use for launching the job. The default is n1-standard-1.
string launcher_machine_type = 24;
- Specified by:
getLauncherMachineTypeBytes
in interfaceFlexTemplateRuntimeEnvironmentOrBuilder
- Returns:
- The bytes for launcherMachineType.
-
setLauncherMachineType
public FlexTemplateRuntimeEnvironment.Builder setLauncherMachineType(String value)
The machine type to use for launching the job. The default is n1-standard-1.
string launcher_machine_type = 24;
- Parameters:
value
- The launcherMachineType to set.- Returns:
- This builder for chaining.
-
clearLauncherMachineType
public FlexTemplateRuntimeEnvironment.Builder clearLauncherMachineType()
The machine type to use for launching the job. The default is n1-standard-1.
string launcher_machine_type = 24;
- Returns:
- This builder for chaining.
-
setLauncherMachineTypeBytes
public FlexTemplateRuntimeEnvironment.Builder setLauncherMachineTypeBytes(com.google.protobuf.ByteString value)
The machine type to use for launching the job. The default is n1-standard-1.
string launcher_machine_type = 24;
- Parameters:
value
- The bytes for launcherMachineType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FlexTemplateRuntimeEnvironment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
mergeUnknownFields
public final FlexTemplateRuntimeEnvironment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlexTemplateRuntimeEnvironment.Builder>
-
-