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.Builder
addAllExperiments(Iterable<String> values)
The list of experiments to enable.Environment.Builder
addAllServiceOptions(Iterable<String> values)
The list of service options to enable.Environment.Builder
addAllWorkerPools(Iterable<? extends WorkerPool> values)
The worker pools.Environment.Builder
addExperiments(String value)
The list of experiments to enable.Environment.Builder
addExperimentsBytes(com.google.protobuf.ByteString value)
The list of experiments to enable.Environment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Environment.Builder
addServiceOptions(String value)
The list of service options to enable.Environment.Builder
addServiceOptionsBytes(com.google.protobuf.ByteString value)
The list of service options to enable.Environment.Builder
addWorkerPools(int index, WorkerPool value)
The worker pools.Environment.Builder
addWorkerPools(int index, WorkerPool.Builder builderForValue)
The worker pools.Environment.Builder
addWorkerPools(WorkerPool value)
The worker pools.Environment.Builder
addWorkerPools(WorkerPool.Builder builderForValue)
The worker pools.WorkerPool.Builder
addWorkerPoolsBuilder()
The worker pools.WorkerPool.Builder
addWorkerPoolsBuilder(int index)
The worker pools.Environment
build()
Environment
buildPartial()
Environment.Builder
clear()
Environment.Builder
clearClusterManagerApiService()
The type of cluster manager API to use.Environment.Builder
clearDataset()
The dataset for the current project where various workflow related tables are stored.Environment.Builder
clearDebugOptions()
Any debugging options to be supplied to the job.Environment.Builder
clearExperiments()
The list of experiments to enable.Environment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Environment.Builder
clearFlexResourceSchedulingGoal()
Which Flexible Resource Scheduling mode to run in.Environment.Builder
clearInternalExperiments()
Experimental settings.Environment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Environment.Builder
clearSdkPipelineOptions()
The Cloud Dataflow SDK pipeline options specified by the user.Environment.Builder
clearServiceAccountEmail()
Identity to run virtual machines as.Environment.Builder
clearServiceKmsKeyName()
If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK).Environment.Builder
clearServiceOptions()
The list of service options to enable.Environment.Builder
clearShuffleMode()
Output only.Environment.Builder
clearTempStoragePrefix()
The prefix of the resources the system should use for temporary storage.Environment.Builder
clearUserAgent()
A description of the process that generated the request.Environment.Builder
clearVersion()
A structure describing which components and their versions of the service are required in order to run the job.Environment.Builder
clearWorkerPools()
The worker pools.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.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.Environment.Builder
clone()
String
getClusterManagerApiService()
The type of cluster manager API to use.com.google.protobuf.ByteString
getClusterManagerApiServiceBytes()
The type of cluster manager API to use.String
getDataset()
The dataset for the current project where various workflow related tables are stored.com.google.protobuf.ByteString
getDatasetBytes()
The dataset for the current project where various workflow related tables are stored.DebugOptions
getDebugOptions()
Any debugging options to be supplied to the job.DebugOptions.Builder
getDebugOptionsBuilder()
Any debugging options to be supplied to the job.DebugOptionsOrBuilder
getDebugOptionsOrBuilder()
Any debugging options to be supplied to the job.Environment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getExperiments(int index)
The list of experiments to enable.com.google.protobuf.ByteString
getExperimentsBytes(int index)
The list of experiments to enable.int
getExperimentsCount()
The list of experiments to enable.com.google.protobuf.ProtocolStringList
getExperimentsList()
The list of experiments to enable.FlexResourceSchedulingGoal
getFlexResourceSchedulingGoal()
Which Flexible Resource Scheduling mode to run in.int
getFlexResourceSchedulingGoalValue()
Which Flexible Resource Scheduling mode to run in.com.google.protobuf.Any
getInternalExperiments()
Experimental settings.com.google.protobuf.Any.Builder
getInternalExperimentsBuilder()
Experimental settings.com.google.protobuf.AnyOrBuilder
getInternalExperimentsOrBuilder()
Experimental settings.com.google.protobuf.Struct
getSdkPipelineOptions()
The Cloud Dataflow SDK pipeline options specified by the user.com.google.protobuf.Struct.Builder
getSdkPipelineOptionsBuilder()
The Cloud Dataflow SDK pipeline options specified by the user.com.google.protobuf.StructOrBuilder
getSdkPipelineOptionsOrBuilder()
The Cloud Dataflow SDK pipeline options specified by the user.String
getServiceAccountEmail()
Identity to run virtual machines as.com.google.protobuf.ByteString
getServiceAccountEmailBytes()
Identity to run virtual machines as.String
getServiceKmsKeyName()
If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK).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).String
getServiceOptions(int index)
The list of service options to enable.com.google.protobuf.ByteString
getServiceOptionsBytes(int index)
The list of service options to enable.int
getServiceOptionsCount()
The list of service options to enable.com.google.protobuf.ProtocolStringList
getServiceOptionsList()
The list of service options to enable.ShuffleMode
getShuffleMode()
Output only.int
getShuffleModeValue()
Output only.String
getTempStoragePrefix()
The prefix of the resources the system should use for temporary storage.com.google.protobuf.ByteString
getTempStoragePrefixBytes()
The prefix of the resources the system should use for temporary storage.com.google.protobuf.Struct
getUserAgent()
A description of the process that generated the request.com.google.protobuf.Struct.Builder
getUserAgentBuilder()
A description of the process that generated the request.com.google.protobuf.StructOrBuilder
getUserAgentOrBuilder()
A description of the process that generated the request.com.google.protobuf.Struct
getVersion()
A structure describing which components and their versions of the service are required in order to run the job.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.com.google.protobuf.StructOrBuilder
getVersionOrBuilder()
A structure describing which components and their versions of the service are required in order to run the job.WorkerPool
getWorkerPools(int index)
The worker pools.WorkerPool.Builder
getWorkerPoolsBuilder(int index)
The worker pools.List<WorkerPool.Builder>
getWorkerPoolsBuilderList()
The worker pools.int
getWorkerPoolsCount()
The worker pools.List<WorkerPool>
getWorkerPoolsList()
The worker pools.WorkerPoolOrBuilder
getWorkerPoolsOrBuilder(int index)
The worker pools.List<? extends WorkerPoolOrBuilder>
getWorkerPoolsOrBuilderList()
The worker pools.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.boolean
hasDebugOptions()
Any debugging options to be supplied to the job.boolean
hasInternalExperiments()
Experimental settings.boolean
hasSdkPipelineOptions()
The Cloud Dataflow SDK pipeline options specified by the user.boolean
hasUserAgent()
A description of the process that generated the request.boolean
hasVersion()
A structure describing which components and their versions of the service are required in order to run the job.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Environment.Builder
mergeDebugOptions(DebugOptions value)
Any debugging options to be supplied to the job.Environment.Builder
mergeFrom(Environment other)
Environment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Environment.Builder
mergeFrom(com.google.protobuf.Message other)
Environment.Builder
mergeInternalExperiments(com.google.protobuf.Any value)
Experimental settings.Environment.Builder
mergeSdkPipelineOptions(com.google.protobuf.Struct value)
The Cloud Dataflow SDK pipeline options specified by the user.Environment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Environment.Builder
mergeUserAgent(com.google.protobuf.Struct value)
A description of the process that generated the request.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.Environment.Builder
removeWorkerPools(int index)
The worker pools.Environment.Builder
setClusterManagerApiService(String value)
The type of cluster manager API to use.Environment.Builder
setClusterManagerApiServiceBytes(com.google.protobuf.ByteString value)
The type of cluster manager API to use.Environment.Builder
setDataset(String value)
The dataset for the current project where various workflow related tables are stored.Environment.Builder
setDatasetBytes(com.google.protobuf.ByteString value)
The dataset for the current project where various workflow related tables are stored.Environment.Builder
setDebugOptions(DebugOptions value)
Any debugging options to be supplied to the job.Environment.Builder
setDebugOptions(DebugOptions.Builder builderForValue)
Any debugging options to be supplied to the job.Environment.Builder
setExperiments(int index, String value)
The list of experiments to enable.Environment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Environment.Builder
setFlexResourceSchedulingGoal(FlexResourceSchedulingGoal value)
Which Flexible Resource Scheduling mode to run in.Environment.Builder
setFlexResourceSchedulingGoalValue(int value)
Which Flexible Resource Scheduling mode to run in.Environment.Builder
setInternalExperiments(com.google.protobuf.Any value)
Experimental settings.Environment.Builder
setInternalExperiments(com.google.protobuf.Any.Builder builderForValue)
Experimental settings.Environment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Environment.Builder
setSdkPipelineOptions(com.google.protobuf.Struct value)
The Cloud Dataflow SDK pipeline options specified by the user.Environment.Builder
setSdkPipelineOptions(com.google.protobuf.Struct.Builder builderForValue)
The Cloud Dataflow SDK pipeline options specified by the user.Environment.Builder
setServiceAccountEmail(String value)
Identity to run virtual machines as.Environment.Builder
setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
Identity to run virtual machines as.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).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).Environment.Builder
setServiceOptions(int index, String value)
The list of service options to enable.Environment.Builder
setShuffleMode(ShuffleMode value)
Output only.Environment.Builder
setShuffleModeValue(int value)
Output only.Environment.Builder
setTempStoragePrefix(String value)
The prefix of the resources the system should use for temporary storage.Environment.Builder
setTempStoragePrefixBytes(com.google.protobuf.ByteString value)
The prefix of the resources the system should use for temporary storage.Environment.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Environment.Builder
setUserAgent(com.google.protobuf.Struct value)
A description of the process that generated the request.Environment.Builder
setUserAgent(com.google.protobuf.Struct.Builder builderForValue)
A description of the process that generated the request.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.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.Environment.Builder
setWorkerPools(int index, WorkerPool value)
The worker pools.Environment.Builder
setWorkerPools(int index, WorkerPool.Builder builderForValue)
The worker pools.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.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.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.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.-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clear
public Environment.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<Environment.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<Environment.Builder>
-
getDefaultInstanceForType
public Environment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Environment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Environment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Environment.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<Environment.Builder>
-
setField
public Environment.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<Environment.Builder>
-
clearField
public Environment.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<Environment.Builder>
-
clearOneof
public Environment.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<Environment.Builder>
-
setRepeatedField
public Environment.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<Environment.Builder>
-
addRepeatedField
public Environment.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<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(Environment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getTempStoragePrefix
in 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:
getTempStoragePrefixBytes
in 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:
getClusterManagerApiService
in 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:
getClusterManagerApiServiceBytes
in 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:
getExperimentsList
in 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:
getExperimentsCount
in 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:
getExperiments
in 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:
getExperimentsBytes
in 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:
getServiceOptionsList
in 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:
getServiceOptionsCount
in 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:
getServiceOptions
in 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:
getServiceOptionsBytes
in 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:
getServiceKmsKeyName
in 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:
getServiceKmsKeyNameBytes
in 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:
getWorkerPoolsList
in 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:
getWorkerPoolsCount
in 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:
getWorkerPools
in 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:
getWorkerPoolsOrBuilder
in 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:
getWorkerPoolsOrBuilderList
in 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:
hasUserAgent
in 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:
getUserAgent
in 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:
getUserAgentOrBuilder
in 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:
hasVersion
in 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:
getVersion
in 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:
getVersionOrBuilder
in 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:
getDataset
in 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:
getDatasetBytes
in 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:
hasSdkPipelineOptions
in 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:
getSdkPipelineOptions
in 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:
getSdkPipelineOptionsOrBuilder
in interfaceEnvironmentOrBuilder
-
hasInternalExperiments
public boolean hasInternalExperiments()
Experimental settings.
.google.protobuf.Any internal_experiments = 9;
- Specified by:
hasInternalExperiments
in 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:
getInternalExperiments
in 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:
getInternalExperimentsOrBuilder
in interfaceEnvironmentOrBuilder
-
getServiceAccountEmail
public String getServiceAccountEmail()
Identity to run virtual machines as. Defaults to the default account.
string service_account_email = 10;
- Specified by:
getServiceAccountEmail
in 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:
getServiceAccountEmailBytes
in 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:
getFlexResourceSchedulingGoalValue
in 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:
getFlexResourceSchedulingGoal
in 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:
getWorkerRegion
in 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:
getWorkerRegionBytes
in 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:
getWorkerZone
in 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:
getWorkerZoneBytes
in 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:
getShuffleModeValue
in 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:
getShuffleMode
in 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:
hasDebugOptions
in 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:
getDebugOptions
in 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:
getDebugOptionsOrBuilder
in interfaceEnvironmentOrBuilder
-
setUnknownFields
public final Environment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeUnknownFields
public final Environment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
-