0.11.3 (latest) 0.10.0 0.9.3 0.8.2 0.7.1 0.6.6 0.5.1 0.4.1 0.3.10

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class StreamLocation.

Describes a stream of data, either as input to be processed or as
output of a streaming Dataflow job.

Generated from protobuf message `google.dataflow.v1beta3.StreamLocation`

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ streaming_stage_location` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.StreamingStageLocation` The stream is part of another computation within the current streaming Dataflow job. |
| `↳ pubsub_location` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.PubsubLocation` The stream is a pubsub stream. |
| `↳ side_input_location` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.StreamingSideInputLocation` The stream is a streaming side input. |
| `↳ custom_source_location` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.CustomSourceLocation` The stream is a custom source. |

### getStreamingStageLocation

The stream is part of another computation within the current
streaming Dataflow job.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.StreamingStageLocation|null` |   |

### hasStreamingStageLocation

### setStreamingStageLocation

The stream is part of another computation within the current
streaming Dataflow job.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.StreamingStageLocation` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPubsubLocation

The stream is a pubsub stream.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.PubsubLocation|null` |   |

### hasPubsubLocation

### setPubsubLocation

The stream is a pubsub stream.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.PubsubLocation` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSideInputLocation

The stream is a streaming side input.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.StreamingSideInputLocation|null` |   |

### hasSideInputLocation

### setSideInputLocation

The stream is a streaming side input.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.StreamingSideInputLocation` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCustomSourceLocation

The stream is a custom source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.CustomSourceLocation|null` |   |

### hasCustomSourceLocation

### setCustomSourceLocation

The stream is a custom source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.CustomSourceLocation` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLocation

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |