# Interface EnvironmentOrBuilder (0.97.0)

0.97.0 (latest) 0.95.0 0.92.0 0.91.0 0.89.0 0.87.0 0.86.0 0.85.0 0.84.0 0.82.0 0.80.0 0.79.0 0.78.0 0.77.0 0.76.0 0.74.0 0.72.0 0.71.0 0.68.0 0.67.0 0.66.0 0.64.0 0.63.0 0.62.0 0.61.0 0.60.0 0.59.0 0.58.0 0.57.0 0.56.0 0.55.0 0.53.0 0.52.0 0.51.0 0.50.0 0.49.0 0.48.0 0.47.0 0.46.0 0.45.0 0.44.0 0.43.0 0.41.0 0.40.0 0.39.0 0.38.0 0.37.0 0.36.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.28.0 0.27.0 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.5.0

    public interface EnvironmentOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getClusterManagerApiService()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The clusterManagerApiService. |

### getClusterManagerApiServiceBytes()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for clusterManagerApiService. |

### getDataset()

    public abstract String getDataset()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The dataset. |

### getDatasetBytes()

    public abstract ByteString getDatasetBytes()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for dataset. |

### getDebugOptions()

    public abstract DebugOptions getDebugOptions()

Optional. Any debugging options to be supplied to the job.

`
.google.dataflow.v1beta3.DebugOptions debug_options = 17 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/com.google.dataflow.v1beta3.DebugOptions` | The debugOptions. |

### getDebugOptionsOrBuilder()

    public abstract DebugOptionsOrBuilder getDebugOptionsOrBuilder()

Optional. Any debugging options to be supplied to the job.

`
.google.dataflow.v1beta3.DebugOptions debug_options = 17 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/com.google.dataflow.v1beta3.DebugOptionsOrBuilder` |   |

### getExperiments(int index)

    public abstract 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;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The experiments at the given index. |

### getExperimentsBytes(int index)

    public abstract 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;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the experiments at the given index. |

### getExperimentsCount()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of experiments. |

### getExperimentsList()

    public abstract List<String> 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the experiments. |

### getFlexResourceSchedulingGoal()

    public abstract FlexResourceSchedulingGoal getFlexResourceSchedulingGoal()

Optional. Which Flexible Resource Scheduling mode to run in.

`
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flex_resource_scheduling_goal = 11 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/com.google.dataflow.v1beta3.FlexResourceSchedulingGoal` | The flexResourceSchedulingGoal. |

### getFlexResourceSchedulingGoalValue()

    public abstract int getFlexResourceSchedulingGoalValue()

Optional. Which Flexible Resource Scheduling mode to run in.

`
.google.dataflow.v1beta3.FlexResourceSchedulingGoal flex_resource_scheduling_goal = 11 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for flexResourceSchedulingGoal. |

### getInternalExperiments()

    public abstract Any getInternalExperiments()

Experimental settings.

`.google.protobuf.Any internal_experiments = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Any.html` | The internalExperiments. |

### getInternalExperimentsOrBuilder()

    public abstract AnyOrBuilder getInternalExperimentsOrBuilder()

Experimental settings.

`.google.protobuf.Any internal_experiments = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AnyOrBuilder.html` |   |

### getSdkPipelineOptions()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Struct.html` | The sdkPipelineOptions. |

### getSdkPipelineOptionsOrBuilder()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.StructOrBuilder.html` |   |

### getServiceAccountEmail()

    public abstract String getServiceAccountEmail()

Optional. Identity to run virtual machines as. Defaults to the default
account.

`string service_account_email = 10 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The serviceAccountEmail. |

### getServiceAccountEmailBytes()

    public abstract ByteString getServiceAccountEmailBytes()

Optional. Identity to run virtual machines as. Defaults to the default
account.

`string service_account_email = 10 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for serviceAccountEmail. |

### getServiceKmsKeyName()

    public abstract String getServiceKmsKeyName()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The serviceKmsKeyName. |

### getServiceKmsKeyNameBytes()

    public abstract ByteString getServiceKmsKeyNameBytes()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for serviceKmsKeyName. |

### getServiceOptions(int index)

    public abstract String getServiceOptions(int index)

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The serviceOptions at the given index. |

### getServiceOptionsBytes(int index)

    public abstract ByteString getServiceOptionsBytes(int index)

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the serviceOptions at the given index. |

### getServiceOptionsCount()

    public abstract int getServiceOptionsCount()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of serviceOptions. |

### getServiceOptionsList()

    public abstract List<String> getServiceOptionsList()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the serviceOptions. |

### getShuffleMode()

    public abstract ShuffleMode getShuffleMode()

Output only. The shuffle mode used for the job.

`
.google.dataflow.v1beta3.ShuffleMode shuffle_mode = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/com.google.dataflow.v1beta3.ShuffleMode` | The shuffleMode. |

### getShuffleModeValue()

    public abstract int getShuffleModeValue()

Output only. The shuffle mode used for the job.

`
.google.dataflow.v1beta3.ShuffleMode shuffle_mode = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for shuffleMode. |

### getStreamingMode()

    public abstract StreamingMode getStreamingMode()

Optional. Specifies the Streaming Engine message processing guarantees.
Reduces cost and latency but might result in duplicate messages committed
to storage. Designed to run simple mapping streaming ETL jobs at the lowest
cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use
case. For more information, see
[Set the pipeline streaming
mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).

`
.google.dataflow.v1beta3.StreamingMode streaming_mode = 19 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/com.google.dataflow.v1beta3.StreamingMode` | The streamingMode. |

### getStreamingModeValue()

    public abstract int getStreamingModeValue()

Optional. Specifies the Streaming Engine message processing guarantees.
Reduces cost and latency but might result in duplicate messages committed
to storage. Designed to run simple mapping streaming ETL jobs at the lowest
cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use
case. For more information, see
[Set the pipeline streaming
mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).

`
.google.dataflow.v1beta3.StreamingMode streaming_mode = 19 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for streamingMode. |

### getTempStoragePrefix()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The tempStoragePrefix. |

### getTempStoragePrefixBytes()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for tempStoragePrefix. |

### getUsePublicIps()

    public abstract boolean getUsePublicIps()

Optional. True when any worker pool that uses public IPs is present.

`bool use_public_ips = 20 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The usePublicIps. |

### getUseStreamingEngineResourceBasedBilling()

    public abstract boolean getUseStreamingEngineResourceBasedBilling()

Output only. Whether the job uses the Streaming Engine resource-based
billing model.

`
bool use_streaming_engine_resource_based_billing = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The useStreamingEngineResourceBasedBilling. |

### getUserAgent()

    public abstract Struct getUserAgent()

Optional. A description of the process that generated the request.

`.google.protobuf.Struct user_agent = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Struct.html` | The userAgent. |

### getUserAgentOrBuilder()

    public abstract StructOrBuilder getUserAgentOrBuilder()

Optional. A description of the process that generated the request.

`.google.protobuf.Struct user_agent = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.StructOrBuilder.html` |   |

### getVersion()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Struct.html` | The version. |

### getVersionOrBuilder()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.StructOrBuilder.html` |   |

### getWorkerPools(int index)

    public abstract 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;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/com.google.dataflow.v1beta3.WorkerPool` |   |

### getWorkerPoolsCount()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getWorkerPoolsList()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/com.google.dataflow.v1beta3.WorkerPool>` |   |

### getWorkerPoolsOrBuilder(int index)

    public abstract 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;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/com.google.dataflow.v1beta3.WorkerPoolOrBuilder` |   |

### getWorkerPoolsOrBuilderList()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.dataflow.v1beta3.WorkerPoolOrBuilder>` |   |

### getWorkerRegion()

    public abstract String getWorkerRegion()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The workerRegion. |

### getWorkerRegionBytes()

    public abstract ByteString getWorkerRegionBytes()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for workerRegion. |

### getWorkerZone()

    public abstract String getWorkerZone()

Optional. The Compute Engine zone
(<https://cloud.google.com/compute/docs/regions-zones/regions-zones>) in
which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
with worker_region. If neither worker_region nor worker_zone is specified,
a zone in the control plane's region is chosen based on available capacity.

`string worker_zone = 14 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The workerZone. |

### getWorkerZoneBytes()

    public abstract ByteString getWorkerZoneBytes()

Optional. The Compute Engine zone
(<https://cloud.google.com/compute/docs/regions-zones/regions-zones>) in
which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
with worker_region. If neither worker_region nor worker_zone is specified,
a zone in the control plane's region is chosen based on available capacity.

`string worker_zone = 14 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for workerZone. |

### hasDebugOptions()

    public abstract boolean hasDebugOptions()

Optional. Any debugging options to be supplied to the job.

`
.google.dataflow.v1beta3.DebugOptions debug_options = 17 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the debugOptions field is set. |

### hasInternalExperiments()

    public abstract boolean hasInternalExperiments()

Experimental settings.

`.google.protobuf.Any internal_experiments = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the internalExperiments field is set. |

### hasSdkPipelineOptions()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the sdkPipelineOptions field is set. |

### hasUserAgent()

    public abstract boolean hasUserAgent()

Optional. A description of the process that generated the request.

`.google.protobuf.Struct user_agent = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the userAgent field is set. |

### hasVersion()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the version field is set. |