Package com.google.dataflow.v1beta3
Class Environment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
- com.google.dataflow.v1beta3.Environment.Builder
-
- All Implemented Interfaces:
EnvironmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Environment
public static final class Environment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder> implements EnvironmentOrBuilder
Describes the environment in which a Dataflow Job runs.
Protobuf typegoogle.dataflow.v1beta3.Environment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Environment.BuilderaddAllExperiments(Iterable<String> values)The list of experiments to enable.Environment.BuilderaddAllServiceOptions(Iterable<String> values)The list of service options to enable.Environment.BuilderaddAllWorkerPools(Iterable<? extends WorkerPool> values)The worker pools.Environment.BuilderaddExperiments(String value)The list of experiments to enable.Environment.BuilderaddExperimentsBytes(com.google.protobuf.ByteString value)The list of experiments to enable.Environment.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Environment.BuilderaddServiceOptions(String value)The list of service options to enable.Environment.BuilderaddServiceOptionsBytes(com.google.protobuf.ByteString value)The list of service options to enable.Environment.BuilderaddWorkerPools(int index, WorkerPool value)The worker pools.Environment.BuilderaddWorkerPools(int index, WorkerPool.Builder builderForValue)The worker pools.Environment.BuilderaddWorkerPools(WorkerPool value)The worker pools.Environment.BuilderaddWorkerPools(WorkerPool.Builder builderForValue)The worker pools.WorkerPool.BuilderaddWorkerPoolsBuilder()The worker pools.WorkerPool.BuilderaddWorkerPoolsBuilder(int index)The worker pools.Environmentbuild()EnvironmentbuildPartial()Environment.Builderclear()Environment.BuilderclearClusterManagerApiService()The type of cluster manager API to use.Environment.BuilderclearDataset()The dataset for the current project where various workflow related tables are stored.Environment.BuilderclearDebugOptions()Any debugging options to be supplied to the job.Environment.BuilderclearExperiments()The list of experiments to enable.Environment.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Environment.BuilderclearFlexResourceSchedulingGoal()Which Flexible Resource Scheduling mode to run in.Environment.BuilderclearInternalExperiments()Experimental settings.Environment.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Environment.BuilderclearSdkPipelineOptions()The Cloud Dataflow SDK pipeline options specified by the user.Environment.BuilderclearServiceAccountEmail()Identity to run virtual machines as.Environment.BuilderclearServiceKmsKeyName()If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK).Environment.BuilderclearServiceOptions()The list of service options to enable.Environment.BuilderclearShuffleMode()Output only.Environment.BuilderclearTempStoragePrefix()The prefix of the resources the system should use for temporary storage.Environment.BuilderclearUserAgent()A description of the process that generated the request.Environment.BuilderclearVersion()A structure describing which components and their versions of the service are required in order to run the job.Environment.BuilderclearWorkerPools()The worker pools.Environment.BuilderclearWorkerRegion()The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.Environment.BuilderclearWorkerZone()The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.Environment.Builderclone()StringgetClusterManagerApiService()The type of cluster manager API to use.com.google.protobuf.ByteStringgetClusterManagerApiServiceBytes()The type of cluster manager API to use.StringgetDataset()The dataset for the current project where various workflow related tables are stored.com.google.protobuf.ByteStringgetDatasetBytes()The dataset for the current project where various workflow related tables are stored.DebugOptionsgetDebugOptions()Any debugging options to be supplied to the job.DebugOptions.BuildergetDebugOptionsBuilder()Any debugging options to be supplied to the job.DebugOptionsOrBuildergetDebugOptionsOrBuilder()Any debugging options to be supplied to the job.EnvironmentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetExperiments(int index)The list of experiments to enable.com.google.protobuf.ByteStringgetExperimentsBytes(int index)The list of experiments to enable.intgetExperimentsCount()The list of experiments to enable.com.google.protobuf.ProtocolStringListgetExperimentsList()The list of experiments to enable.FlexResourceSchedulingGoalgetFlexResourceSchedulingGoal()Which Flexible Resource Scheduling mode to run in.intgetFlexResourceSchedulingGoalValue()Which Flexible Resource Scheduling mode to run in.com.google.protobuf.AnygetInternalExperiments()Experimental settings.com.google.protobuf.Any.BuildergetInternalExperimentsBuilder()Experimental settings.com.google.protobuf.AnyOrBuildergetInternalExperimentsOrBuilder()Experimental settings.com.google.protobuf.StructgetSdkPipelineOptions()The Cloud Dataflow SDK pipeline options specified by the user.com.google.protobuf.Struct.BuildergetSdkPipelineOptionsBuilder()The Cloud Dataflow SDK pipeline options specified by the user.com.google.protobuf.StructOrBuildergetSdkPipelineOptionsOrBuilder()The Cloud Dataflow SDK pipeline options specified by the user.StringgetServiceAccountEmail()Identity to run virtual machines as.com.google.protobuf.ByteStringgetServiceAccountEmailBytes()Identity to run virtual machines as.StringgetServiceKmsKeyName()If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK).com.google.protobuf.ByteStringgetServiceKmsKeyNameBytes()If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK).StringgetServiceOptions(int index)The list of service options to enable.com.google.protobuf.ByteStringgetServiceOptionsBytes(int index)The list of service options to enable.intgetServiceOptionsCount()The list of service options to enable.com.google.protobuf.ProtocolStringListgetServiceOptionsList()The list of service options to enable.ShuffleModegetShuffleMode()Output only.intgetShuffleModeValue()Output only.StringgetTempStoragePrefix()The prefix of the resources the system should use for temporary storage.com.google.protobuf.ByteStringgetTempStoragePrefixBytes()The prefix of the resources the system should use for temporary storage.com.google.protobuf.StructgetUserAgent()A description of the process that generated the request.com.google.protobuf.Struct.BuildergetUserAgentBuilder()A description of the process that generated the request.com.google.protobuf.StructOrBuildergetUserAgentOrBuilder()A description of the process that generated the request.com.google.protobuf.StructgetVersion()A structure describing which components and their versions of the service are required in order to run the job.com.google.protobuf.Struct.BuildergetVersionBuilder()A structure describing which components and their versions of the service are required in order to run the job.com.google.protobuf.StructOrBuildergetVersionOrBuilder()A structure describing which components and their versions of the service are required in order to run the job.WorkerPoolgetWorkerPools(int index)The worker pools.WorkerPool.BuildergetWorkerPoolsBuilder(int index)The worker pools.List<WorkerPool.Builder>getWorkerPoolsBuilderList()The worker pools.intgetWorkerPoolsCount()The worker pools.List<WorkerPool>getWorkerPoolsList()The worker pools.WorkerPoolOrBuildergetWorkerPoolsOrBuilder(int index)The worker pools.List<? extends WorkerPoolOrBuilder>getWorkerPoolsOrBuilderList()The worker pools.StringgetWorkerRegion()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.ByteStringgetWorkerRegionBytes()The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.StringgetWorkerZone()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.ByteStringgetWorkerZoneBytes()The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.booleanhasDebugOptions()Any debugging options to be supplied to the job.booleanhasInternalExperiments()Experimental settings.booleanhasSdkPipelineOptions()The Cloud Dataflow SDK pipeline options specified by the user.booleanhasUserAgent()A description of the process that generated the request.booleanhasVersion()A structure describing which components and their versions of the service are required in order to run the job.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Environment.BuildermergeDebugOptions(DebugOptions value)Any debugging options to be supplied to the job.Environment.BuildermergeFrom(Environment other)Environment.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Environment.BuildermergeFrom(com.google.protobuf.Message other)Environment.BuildermergeInternalExperiments(com.google.protobuf.Any value)Experimental settings.Environment.BuildermergeSdkPipelineOptions(com.google.protobuf.Struct value)The Cloud Dataflow SDK pipeline options specified by the user.Environment.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Environment.BuildermergeUserAgent(com.google.protobuf.Struct value)A description of the process that generated the request.Environment.BuildermergeVersion(com.google.protobuf.Struct value)A structure describing which components and their versions of the service are required in order to run the job.Environment.BuilderremoveWorkerPools(int index)The worker pools.Environment.BuildersetClusterManagerApiService(String value)The type of cluster manager API to use.Environment.BuildersetClusterManagerApiServiceBytes(com.google.protobuf.ByteString value)The type of cluster manager API to use.Environment.BuildersetDataset(String value)The dataset for the current project where various workflow related tables are stored.Environment.BuildersetDatasetBytes(com.google.protobuf.ByteString value)The dataset for the current project where various workflow related tables are stored.Environment.BuildersetDebugOptions(DebugOptions value)Any debugging options to be supplied to the job.Environment.BuildersetDebugOptions(DebugOptions.Builder builderForValue)Any debugging options to be supplied to the job.Environment.BuildersetExperiments(int index, String value)The list of experiments to enable.Environment.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Environment.BuildersetFlexResourceSchedulingGoal(FlexResourceSchedulingGoal value)Which Flexible Resource Scheduling mode to run in.Environment.BuildersetFlexResourceSchedulingGoalValue(int value)Which Flexible Resource Scheduling mode to run in.Environment.BuildersetInternalExperiments(com.google.protobuf.Any value)Experimental settings.Environment.BuildersetInternalExperiments(com.google.protobuf.Any.Builder builderForValue)Experimental settings.Environment.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Environment.BuildersetSdkPipelineOptions(com.google.protobuf.Struct value)The Cloud Dataflow SDK pipeline options specified by the user.Environment.BuildersetSdkPipelineOptions(com.google.protobuf.Struct.Builder builderForValue)The Cloud Dataflow SDK pipeline options specified by the user.Environment.BuildersetServiceAccountEmail(String value)Identity to run virtual machines as.Environment.BuildersetServiceAccountEmailBytes(com.google.protobuf.ByteString value)Identity to run virtual machines as.Environment.BuildersetServiceKmsKeyName(String value)If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK).Environment.BuildersetServiceKmsKeyNameBytes(com.google.protobuf.ByteString value)If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK).Environment.BuildersetServiceOptions(int index, String value)The list of service options to enable.Environment.BuildersetShuffleMode(ShuffleMode value)Output only.Environment.BuildersetShuffleModeValue(int value)Output only.Environment.BuildersetTempStoragePrefix(String value)The prefix of the resources the system should use for temporary storage.Environment.BuildersetTempStoragePrefixBytes(com.google.protobuf.ByteString value)The prefix of the resources the system should use for temporary storage.Environment.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Environment.BuildersetUserAgent(com.google.protobuf.Struct value)A description of the process that generated the request.Environment.BuildersetUserAgent(com.google.protobuf.Struct.Builder builderForValue)A description of the process that generated the request.Environment.BuildersetVersion(com.google.protobuf.Struct value)A structure describing which components and their versions of the service are required in order to run the job.Environment.BuildersetVersion(com.google.protobuf.Struct.Builder builderForValue)A structure describing which components and their versions of the service are required in order to run the job.Environment.BuildersetWorkerPools(int index, WorkerPool value)The worker pools.Environment.BuildersetWorkerPools(int index, WorkerPool.Builder builderForValue)The worker pools.Environment.BuildersetWorkerRegion(String value)The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.Environment.BuildersetWorkerRegionBytes(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.Environment.BuildersetWorkerZone(String value)The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.Environment.BuildersetWorkerZoneBytes(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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clear
public Environment.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
getDefaultInstanceForType
public Environment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Environment build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Environment buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Environment.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
setField
public Environment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clearField
public Environment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clearOneof
public Environment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
setRepeatedField
public Environment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
addRepeatedField
public Environment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(Environment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Environment.Builder>- Throws:
IOException
-
getTempStoragePrefix
public String getTempStoragePrefix()
The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}string temp_storage_prefix = 1;- Specified by:
getTempStoragePrefixin interfaceEnvironmentOrBuilder- Returns:
- The tempStoragePrefix.
-
getTempStoragePrefixBytes
public com.google.protobuf.ByteString getTempStoragePrefixBytes()
The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}string temp_storage_prefix = 1;- Specified by:
getTempStoragePrefixBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for tempStoragePrefix.
-
setTempStoragePrefix
public Environment.Builder setTempStoragePrefix(String value)
The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}string temp_storage_prefix = 1;- Parameters:
value- The tempStoragePrefix to set.- Returns:
- This builder for chaining.
-
clearTempStoragePrefix
public Environment.Builder clearTempStoragePrefix()
The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}string temp_storage_prefix = 1;- Returns:
- This builder for chaining.
-
setTempStoragePrefixBytes
public Environment.Builder setTempStoragePrefixBytes(com.google.protobuf.ByteString value)
The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}string temp_storage_prefix = 1;- Parameters:
value- The bytes for tempStoragePrefix to set.- Returns:
- This builder for chaining.
-
getClusterManagerApiService
public String getClusterManagerApiService()
The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
string cluster_manager_api_service = 2;- Specified by:
getClusterManagerApiServicein interfaceEnvironmentOrBuilder- Returns:
- The clusterManagerApiService.
-
getClusterManagerApiServiceBytes
public com.google.protobuf.ByteString getClusterManagerApiServiceBytes()
The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
string cluster_manager_api_service = 2;- Specified by:
getClusterManagerApiServiceBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for clusterManagerApiService.
-
setClusterManagerApiService
public Environment.Builder setClusterManagerApiService(String value)
The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
string cluster_manager_api_service = 2;- Parameters:
value- The clusterManagerApiService to set.- Returns:
- This builder for chaining.
-
clearClusterManagerApiService
public Environment.Builder clearClusterManagerApiService()
The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
string cluster_manager_api_service = 2;- Returns:
- This builder for chaining.
-
setClusterManagerApiServiceBytes
public Environment.Builder setClusterManagerApiServiceBytes(com.google.protobuf.ByteString value)
The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
string cluster_manager_api_service = 2;- Parameters:
value- The bytes for clusterManagerApiService to set.- Returns:
- This builder for chaining.
-
getExperimentsList
public com.google.protobuf.ProtocolStringList getExperimentsList()
The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
repeated string experiments = 3;- Specified by:
getExperimentsListin interfaceEnvironmentOrBuilder- Returns:
- A list containing the experiments.
-
getExperimentsCount
public int getExperimentsCount()
The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
repeated string experiments = 3;- Specified by:
getExperimentsCountin interfaceEnvironmentOrBuilder- Returns:
- The count of experiments.
-
getExperiments
public String getExperiments(int index)
The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
repeated string experiments = 3;- Specified by:
getExperimentsin interfaceEnvironmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The experiments at the given index.
-
getExperimentsBytes
public com.google.protobuf.ByteString getExperimentsBytes(int index)
The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
repeated string experiments = 3;- Specified by:
getExperimentsBytesin interfaceEnvironmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the experiments at the given index.
-
setExperiments
public Environment.Builder setExperiments(int index, String value)
The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
repeated string experiments = 3;- Parameters:
index- The index to set the value at.value- The experiments to set.- Returns:
- This builder for chaining.
-
addExperiments
public Environment.Builder addExperiments(String value)
The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
repeated string experiments = 3;- Parameters:
value- The experiments to add.- Returns:
- This builder for chaining.
-
addAllExperiments
public Environment.Builder addAllExperiments(Iterable<String> values)
The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
repeated string experiments = 3;- Parameters:
values- The experiments to add.- Returns:
- This builder for chaining.
-
clearExperiments
public Environment.Builder clearExperiments()
The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
repeated string experiments = 3;- Returns:
- This builder for chaining.
-
addExperimentsBytes
public Environment.Builder addExperimentsBytes(com.google.protobuf.ByteString value)
The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
repeated string experiments = 3;- Parameters:
value- The bytes of the experiments to add.- Returns:
- This builder for chaining.
-
getServiceOptionsList
public com.google.protobuf.ProtocolStringList getServiceOptionsList()
The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
repeated string service_options = 16;- Specified by:
getServiceOptionsListin interfaceEnvironmentOrBuilder- Returns:
- A list containing the serviceOptions.
-
getServiceOptionsCount
public int getServiceOptionsCount()
The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
repeated string service_options = 16;- Specified by:
getServiceOptionsCountin interfaceEnvironmentOrBuilder- Returns:
- The count of serviceOptions.
-
getServiceOptions
public String getServiceOptions(int index)
The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
repeated string service_options = 16;- Specified by:
getServiceOptionsin interfaceEnvironmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The serviceOptions at the given index.
-
getServiceOptionsBytes
public com.google.protobuf.ByteString getServiceOptionsBytes(int index)
The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
repeated string service_options = 16;- Specified by:
getServiceOptionsBytesin interfaceEnvironmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the serviceOptions at the given index.
-
setServiceOptions
public Environment.Builder setServiceOptions(int index, String value)
The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
repeated string service_options = 16;- Parameters:
index- The index to set the value at.value- The serviceOptions to set.- Returns:
- This builder for chaining.
-
addServiceOptions
public Environment.Builder addServiceOptions(String value)
The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
repeated string service_options = 16;- Parameters:
value- The serviceOptions to add.- Returns:
- This builder for chaining.
-
addAllServiceOptions
public Environment.Builder addAllServiceOptions(Iterable<String> values)
The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
repeated string service_options = 16;- Parameters:
values- The serviceOptions to add.- Returns:
- This builder for chaining.
-
clearServiceOptions
public Environment.Builder clearServiceOptions()
The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
repeated string service_options = 16;- Returns:
- This builder for chaining.
-
addServiceOptionsBytes
public Environment.Builder addServiceOptionsBytes(com.google.protobuf.ByteString value)
The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
repeated string service_options = 16;- Parameters:
value- The bytes of the serviceOptions to add.- Returns:
- This builder for chaining.
-
getServiceKmsKeyName
public String getServiceKmsKeyName()
If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
string service_kms_key_name = 12;- Specified by:
getServiceKmsKeyNamein interfaceEnvironmentOrBuilder- Returns:
- The serviceKmsKeyName.
-
getServiceKmsKeyNameBytes
public com.google.protobuf.ByteString getServiceKmsKeyNameBytes()
If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
string service_kms_key_name = 12;- Specified by:
getServiceKmsKeyNameBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for serviceKmsKeyName.
-
setServiceKmsKeyName
public Environment.Builder setServiceKmsKeyName(String value)
If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
string service_kms_key_name = 12;- Parameters:
value- The serviceKmsKeyName to set.- Returns:
- This builder for chaining.
-
clearServiceKmsKeyName
public Environment.Builder clearServiceKmsKeyName()
If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
string service_kms_key_name = 12;- Returns:
- This builder for chaining.
-
setServiceKmsKeyNameBytes
public Environment.Builder setServiceKmsKeyNameBytes(com.google.protobuf.ByteString value)
If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
string service_kms_key_name = 12;- Parameters:
value- The bytes for serviceKmsKeyName to set.- Returns:
- This builder for chaining.
-
getWorkerPoolsList
public List<WorkerPool> getWorkerPoolsList()
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;- Specified by:
getWorkerPoolsListin interfaceEnvironmentOrBuilder
-
getWorkerPoolsCount
public int getWorkerPoolsCount()
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;- Specified by:
getWorkerPoolsCountin interfaceEnvironmentOrBuilder
-
getWorkerPools
public WorkerPool getWorkerPools(int index)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;- Specified by:
getWorkerPoolsin interfaceEnvironmentOrBuilder
-
setWorkerPools
public Environment.Builder setWorkerPools(int index, WorkerPool value)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
setWorkerPools
public Environment.Builder setWorkerPools(int index, WorkerPool.Builder builderForValue)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
addWorkerPools
public Environment.Builder addWorkerPools(WorkerPool value)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
addWorkerPools
public Environment.Builder addWorkerPools(int index, WorkerPool value)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
addWorkerPools
public Environment.Builder addWorkerPools(WorkerPool.Builder builderForValue)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
addWorkerPools
public Environment.Builder addWorkerPools(int index, WorkerPool.Builder builderForValue)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
addAllWorkerPools
public Environment.Builder addAllWorkerPools(Iterable<? extends WorkerPool> values)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
clearWorkerPools
public Environment.Builder clearWorkerPools()
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
removeWorkerPools
public Environment.Builder removeWorkerPools(int index)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
getWorkerPoolsBuilder
public WorkerPool.Builder getWorkerPoolsBuilder(int index)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
getWorkerPoolsOrBuilder
public WorkerPoolOrBuilder getWorkerPoolsOrBuilder(int index)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;- Specified by:
getWorkerPoolsOrBuilderin interfaceEnvironmentOrBuilder
-
getWorkerPoolsOrBuilderList
public List<? extends WorkerPoolOrBuilder> getWorkerPoolsOrBuilderList()
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;- Specified by:
getWorkerPoolsOrBuilderListin interfaceEnvironmentOrBuilder
-
addWorkerPoolsBuilder
public WorkerPool.Builder addWorkerPoolsBuilder()
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
addWorkerPoolsBuilder
public WorkerPool.Builder addWorkerPoolsBuilder(int index)
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
getWorkerPoolsBuilderList
public List<WorkerPool.Builder> getWorkerPoolsBuilderList()
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
repeated .google.dataflow.v1beta3.WorkerPool worker_pools = 4;
-
hasUserAgent
public boolean hasUserAgent()
A description of the process that generated the request.
.google.protobuf.Struct user_agent = 5;- Specified by:
hasUserAgentin interfaceEnvironmentOrBuilder- Returns:
- Whether the userAgent field is set.
-
getUserAgent
public com.google.protobuf.Struct getUserAgent()
A description of the process that generated the request.
.google.protobuf.Struct user_agent = 5;- Specified by:
getUserAgentin interfaceEnvironmentOrBuilder- Returns:
- The userAgent.
-
setUserAgent
public Environment.Builder setUserAgent(com.google.protobuf.Struct value)
A description of the process that generated the request.
.google.protobuf.Struct user_agent = 5;
-
setUserAgent
public Environment.Builder setUserAgent(com.google.protobuf.Struct.Builder builderForValue)
A description of the process that generated the request.
.google.protobuf.Struct user_agent = 5;
-
mergeUserAgent
public Environment.Builder mergeUserAgent(com.google.protobuf.Struct value)
A description of the process that generated the request.
.google.protobuf.Struct user_agent = 5;
-
clearUserAgent
public Environment.Builder clearUserAgent()
A description of the process that generated the request.
.google.protobuf.Struct user_agent = 5;
-
getUserAgentBuilder
public com.google.protobuf.Struct.Builder getUserAgentBuilder()
A description of the process that generated the request.
.google.protobuf.Struct user_agent = 5;
-
getUserAgentOrBuilder
public com.google.protobuf.StructOrBuilder getUserAgentOrBuilder()
A description of the process that generated the request.
.google.protobuf.Struct user_agent = 5;- Specified by:
getUserAgentOrBuilderin interfaceEnvironmentOrBuilder
-
hasVersion
public boolean hasVersion()
A structure describing which components and their versions of the service are required in order to run the job.
.google.protobuf.Struct version = 6;- Specified by:
hasVersionin interfaceEnvironmentOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
public com.google.protobuf.Struct getVersion()
A structure describing which components and their versions of the service are required in order to run the job.
.google.protobuf.Struct version = 6;- Specified by:
getVersionin interfaceEnvironmentOrBuilder- Returns:
- The version.
-
setVersion
public Environment.Builder setVersion(com.google.protobuf.Struct value)
A structure describing which components and their versions of the service are required in order to run the job.
.google.protobuf.Struct version = 6;
-
setVersion
public Environment.Builder setVersion(com.google.protobuf.Struct.Builder builderForValue)
A structure describing which components and their versions of the service are required in order to run the job.
.google.protobuf.Struct version = 6;
-
mergeVersion
public Environment.Builder mergeVersion(com.google.protobuf.Struct value)
A structure describing which components and their versions of the service are required in order to run the job.
.google.protobuf.Struct version = 6;
-
clearVersion
public Environment.Builder clearVersion()
A structure describing which components and their versions of the service are required in order to run the job.
.google.protobuf.Struct version = 6;
-
getVersionBuilder
public com.google.protobuf.Struct.Builder getVersionBuilder()
A structure describing which components and their versions of the service are required in order to run the job.
.google.protobuf.Struct version = 6;
-
getVersionOrBuilder
public com.google.protobuf.StructOrBuilder getVersionOrBuilder()
A structure describing which components and their versions of the service are required in order to run the job.
.google.protobuf.Struct version = 6;- Specified by:
getVersionOrBuilderin interfaceEnvironmentOrBuilder
-
getDataset
public String getDataset()
The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}string dataset = 7;- Specified by:
getDatasetin interfaceEnvironmentOrBuilder- Returns:
- The dataset.
-
getDatasetBytes
public com.google.protobuf.ByteString getDatasetBytes()
The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}string dataset = 7;- Specified by:
getDatasetBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for dataset.
-
setDataset
public Environment.Builder setDataset(String value)
The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}string dataset = 7;- Parameters:
value- The dataset to set.- Returns:
- This builder for chaining.
-
clearDataset
public Environment.Builder clearDataset()
The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}string dataset = 7;- Returns:
- This builder for chaining.
-
setDatasetBytes
public Environment.Builder setDatasetBytes(com.google.protobuf.ByteString value)
The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}string dataset = 7;- Parameters:
value- The bytes for dataset to set.- Returns:
- This builder for chaining.
-
hasSdkPipelineOptions
public boolean hasSdkPipelineOptions()
The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
.google.protobuf.Struct sdk_pipeline_options = 8;- Specified by:
hasSdkPipelineOptionsin interfaceEnvironmentOrBuilder- Returns:
- Whether the sdkPipelineOptions field is set.
-
getSdkPipelineOptions
public com.google.protobuf.Struct getSdkPipelineOptions()
The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
.google.protobuf.Struct sdk_pipeline_options = 8;- Specified by:
getSdkPipelineOptionsin interfaceEnvironmentOrBuilder- Returns:
- The sdkPipelineOptions.
-
setSdkPipelineOptions
public Environment.Builder setSdkPipelineOptions(com.google.protobuf.Struct value)
The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
.google.protobuf.Struct sdk_pipeline_options = 8;
-
setSdkPipelineOptions
public Environment.Builder setSdkPipelineOptions(com.google.protobuf.Struct.Builder builderForValue)
The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
.google.protobuf.Struct sdk_pipeline_options = 8;
-
mergeSdkPipelineOptions
public Environment.Builder mergeSdkPipelineOptions(com.google.protobuf.Struct value)
The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
.google.protobuf.Struct sdk_pipeline_options = 8;
-
clearSdkPipelineOptions
public Environment.Builder clearSdkPipelineOptions()
The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
.google.protobuf.Struct sdk_pipeline_options = 8;
-
getSdkPipelineOptionsBuilder
public com.google.protobuf.Struct.Builder getSdkPipelineOptionsBuilder()
The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
.google.protobuf.Struct sdk_pipeline_options = 8;
-
getSdkPipelineOptionsOrBuilder
public com.google.protobuf.StructOrBuilder getSdkPipelineOptionsOrBuilder()
The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
.google.protobuf.Struct sdk_pipeline_options = 8;- Specified by:
getSdkPipelineOptionsOrBuilderin interfaceEnvironmentOrBuilder
-
hasInternalExperiments
public boolean hasInternalExperiments()
Experimental settings.
.google.protobuf.Any internal_experiments = 9;- Specified by:
hasInternalExperimentsin interfaceEnvironmentOrBuilder- Returns:
- Whether the internalExperiments field is set.
-
getInternalExperiments
public com.google.protobuf.Any getInternalExperiments()
Experimental settings.
.google.protobuf.Any internal_experiments = 9;- Specified by:
getInternalExperimentsin interfaceEnvironmentOrBuilder- Returns:
- The internalExperiments.
-
setInternalExperiments
public Environment.Builder setInternalExperiments(com.google.protobuf.Any value)
Experimental settings.
.google.protobuf.Any internal_experiments = 9;
-
setInternalExperiments
public Environment.Builder setInternalExperiments(com.google.protobuf.Any.Builder builderForValue)
Experimental settings.
.google.protobuf.Any internal_experiments = 9;
-
mergeInternalExperiments
public Environment.Builder mergeInternalExperiments(com.google.protobuf.Any value)
Experimental settings.
.google.protobuf.Any internal_experiments = 9;
-
clearInternalExperiments
public Environment.Builder clearInternalExperiments()
Experimental settings.
.google.protobuf.Any internal_experiments = 9;
-
getInternalExperimentsBuilder
public com.google.protobuf.Any.Builder getInternalExperimentsBuilder()
Experimental settings.
.google.protobuf.Any internal_experiments = 9;
-
getInternalExperimentsOrBuilder
public com.google.protobuf.AnyOrBuilder getInternalExperimentsOrBuilder()
Experimental settings.
.google.protobuf.Any internal_experiments = 9;- Specified by:
getInternalExperimentsOrBuilderin interfaceEnvironmentOrBuilder
-
getServiceAccountEmail
public String getServiceAccountEmail()
Identity to run virtual machines as. Defaults to the default account.
string service_account_email = 10;- Specified by:
getServiceAccountEmailin interfaceEnvironmentOrBuilder- Returns:
- The serviceAccountEmail.
-
getServiceAccountEmailBytes
public com.google.protobuf.ByteString getServiceAccountEmailBytes()
Identity to run virtual machines as. Defaults to the default account.
string service_account_email = 10;- Specified by:
getServiceAccountEmailBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for serviceAccountEmail.
-
setServiceAccountEmail
public Environment.Builder setServiceAccountEmail(String value)
Identity to run virtual machines as. Defaults to the default account.
string service_account_email = 10;- Parameters:
value- The serviceAccountEmail to set.- Returns:
- This builder for chaining.
-
clearServiceAccountEmail
public Environment.Builder clearServiceAccountEmail()
Identity to run virtual machines as. Defaults to the default account.
string service_account_email = 10;- Returns:
- This builder for chaining.
-
setServiceAccountEmailBytes
public Environment.Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
Identity to run virtual machines as. Defaults to the default account.
string service_account_email = 10;- Parameters:
value- The bytes for serviceAccountEmail to set.- Returns:
- This builder for chaining.
-
getFlexResourceSchedulingGoalValue
public int getFlexResourceSchedulingGoalValue()
Which Flexible Resource Scheduling mode to run in.
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flex_resource_scheduling_goal = 11;- Specified by:
getFlexResourceSchedulingGoalValuein interfaceEnvironmentOrBuilder- Returns:
- The enum numeric value on the wire for flexResourceSchedulingGoal.
-
setFlexResourceSchedulingGoalValue
public Environment.Builder setFlexResourceSchedulingGoalValue(int value)
Which Flexible Resource Scheduling mode to run in.
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flex_resource_scheduling_goal = 11;- Parameters:
value- The enum numeric value on the wire for flexResourceSchedulingGoal to set.- Returns:
- This builder for chaining.
-
getFlexResourceSchedulingGoal
public FlexResourceSchedulingGoal getFlexResourceSchedulingGoal()
Which Flexible Resource Scheduling mode to run in.
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flex_resource_scheduling_goal = 11;- Specified by:
getFlexResourceSchedulingGoalin interfaceEnvironmentOrBuilder- Returns:
- The flexResourceSchedulingGoal.
-
setFlexResourceSchedulingGoal
public Environment.Builder setFlexResourceSchedulingGoal(FlexResourceSchedulingGoal value)
Which Flexible Resource Scheduling mode to run in.
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flex_resource_scheduling_goal = 11;- Parameters:
value- The flexResourceSchedulingGoal to set.- Returns:
- This builder for chaining.
-
clearFlexResourceSchedulingGoal
public Environment.Builder clearFlexResourceSchedulingGoal()
Which Flexible Resource Scheduling mode to run in.
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flex_resource_scheduling_goal = 11;- 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:
getWorkerRegionin interfaceEnvironmentOrBuilder- 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:
getWorkerRegionBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for workerRegion.
-
setWorkerRegion
public Environment.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 Environment.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 Environment.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.
string worker_zone = 14;- Specified by:
getWorkerZonein interfaceEnvironmentOrBuilder- 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.
string worker_zone = 14;- Specified by:
getWorkerZoneBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for workerZone.
-
setWorkerZone
public Environment.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.
string worker_zone = 14;- Parameters:
value- The workerZone to set.- Returns:
- This builder for chaining.
-
clearWorkerZone
public Environment.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.
string worker_zone = 14;- Returns:
- This builder for chaining.
-
setWorkerZoneBytes
public Environment.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.
string worker_zone = 14;- Parameters:
value- The bytes for workerZone to set.- Returns:
- This builder for chaining.
-
getShuffleModeValue
public int getShuffleModeValue()
Output only. The shuffle mode used for the job.
.google.dataflow.v1beta3.ShuffleMode shuffle_mode = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getShuffleModeValuein interfaceEnvironmentOrBuilder- Returns:
- The enum numeric value on the wire for shuffleMode.
-
setShuffleModeValue
public Environment.Builder setShuffleModeValue(int value)
Output only. The shuffle mode used for the job.
.google.dataflow.v1beta3.ShuffleMode shuffle_mode = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for shuffleMode to set.- Returns:
- This builder for chaining.
-
getShuffleMode
public ShuffleMode getShuffleMode()
Output only. The shuffle mode used for the job.
.google.dataflow.v1beta3.ShuffleMode shuffle_mode = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getShuffleModein interfaceEnvironmentOrBuilder- Returns:
- The shuffleMode.
-
setShuffleMode
public Environment.Builder setShuffleMode(ShuffleMode value)
Output only. The shuffle mode used for the job.
.google.dataflow.v1beta3.ShuffleMode shuffle_mode = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The shuffleMode to set.- Returns:
- This builder for chaining.
-
clearShuffleMode
public Environment.Builder clearShuffleMode()
Output only. The shuffle mode used for the job.
.google.dataflow.v1beta3.ShuffleMode shuffle_mode = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasDebugOptions
public boolean hasDebugOptions()
Any debugging options to be supplied to the job.
.google.dataflow.v1beta3.DebugOptions debug_options = 17;- Specified by:
hasDebugOptionsin interfaceEnvironmentOrBuilder- Returns:
- Whether the debugOptions field is set.
-
getDebugOptions
public DebugOptions getDebugOptions()
Any debugging options to be supplied to the job.
.google.dataflow.v1beta3.DebugOptions debug_options = 17;- Specified by:
getDebugOptionsin interfaceEnvironmentOrBuilder- Returns:
- The debugOptions.
-
setDebugOptions
public Environment.Builder setDebugOptions(DebugOptions value)
Any debugging options to be supplied to the job.
.google.dataflow.v1beta3.DebugOptions debug_options = 17;
-
setDebugOptions
public Environment.Builder setDebugOptions(DebugOptions.Builder builderForValue)
Any debugging options to be supplied to the job.
.google.dataflow.v1beta3.DebugOptions debug_options = 17;
-
mergeDebugOptions
public Environment.Builder mergeDebugOptions(DebugOptions value)
Any debugging options to be supplied to the job.
.google.dataflow.v1beta3.DebugOptions debug_options = 17;
-
clearDebugOptions
public Environment.Builder clearDebugOptions()
Any debugging options to be supplied to the job.
.google.dataflow.v1beta3.DebugOptions debug_options = 17;
-
getDebugOptionsBuilder
public DebugOptions.Builder getDebugOptionsBuilder()
Any debugging options to be supplied to the job.
.google.dataflow.v1beta3.DebugOptions debug_options = 17;
-
getDebugOptionsOrBuilder
public DebugOptionsOrBuilder getDebugOptionsOrBuilder()
Any debugging options to be supplied to the job.
.google.dataflow.v1beta3.DebugOptions debug_options = 17;- Specified by:
getDebugOptionsOrBuilderin interfaceEnvironmentOrBuilder
-
setUnknownFields
public final Environment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeUnknownFields
public final Environment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
-