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

A particular message pertaining to a Dataflow job.

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

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` Deprecated. |
| `↳ time` | `Google\Protobuf\Timestamp` The timestamp of the message. |
| `↳ message_text` | `string` The text of the message. |
| `↳ message_importance` | `int` Importance level of the message. |

### getId

Deprecated.

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

### setId

Deprecated.

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

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

### getTime

The timestamp of the message.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasTime

### clearTime

### setTime

The timestamp of the message.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getMessageText

The text of the message.

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

### setMessageText

The text of the message.

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

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

### getMessageImportance

Importance level of the message.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [JobMessageImportance](https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.JobMessageImportance). |

### setMessageImportance

Importance level of the message.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [JobMessageImportance](https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.JobMessageImportance). |

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