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 TemplateMetadata.

Metadata describing a template.

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

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the template. |
| `↳ description` | `string` Optional. A description of the template. |
| `↳ parameters` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.ParameterMetadata>` The parameters for the template. |
| `↳ streaming` | `bool` Optional. Indicates if the template is streaming or not. |
| `↳ supports_at_least_once` | `bool` Optional. Indicates if the streaming template supports at least once mode. |
| `↳ supports_exactly_once` | `bool` Optional. Indicates if the streaming template supports exactly once mode. |
| `↳ default_streaming_mode` | `string` Optional. Indicates the default streaming mode for a streaming template. Only valid if both supports_at_least_once and supports_exactly_once are true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE |

### getName

Required. The name of the template.

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

### setName

Required. The name of the template.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getDescription

Optional. A description of the template.

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

### setDescription

Optional. A description of the template.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getParameters

The parameters for the template.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.ParameterMetadata>` |   |

### setParameters

The parameters for the template.

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

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

### getStreaming

Optional. Indicates if the template is streaming or not.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setStreaming

Optional. Indicates if the template is streaming or not.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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

### getSupportsAtLeastOnce

Optional. Indicates if the streaming template supports at least once mode.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setSupportsAtLeastOnce

Optional. Indicates if the streaming template supports at least once mode.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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

### getSupportsExactlyOnce

Optional. Indicates if the streaming template supports exactly once mode.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setSupportsExactlyOnce

Optional. Indicates if the streaming template supports exactly once mode.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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

### getDefaultStreamingMode

Optional. Indicates the default streaming mode for a streaming template.

Only valid if both supports_at_least_once and supports_exactly_once are
true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE

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

### setDefaultStreamingMode

Optional. Indicates the default streaming mode for a streaming template.

Only valid if both supports_at_least_once and supports_exactly_once are
true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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