# Google Cloud Tpu V2 Client - Class Symptom (2.3.0)

2.3.0 (latest) 2.2.2 2.1.2 2.0.0 1.4.7 1.3.2 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Tpu V2 Client class Symptom.

A Symptom instance.

Generated from protobuf message `google.cloud.tpu.v2.Symptom`

## Namespace

Google \\ Cloud \\ Tpu \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Timestamp when the Symptom is created. |
| `↳ symptom_type` | `int` Type of the Symptom. |
| `↳ details` | `string` Detailed information of the current Symptom. |
| `↳ worker_id` | `string` A string used to uniquely distinguish a worker within a TPU node. |

### getCreateTime

Timestamp when the Symptom is created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Timestamp when the Symptom is created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getSymptomType

Type of the Symptom.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [SymptomType](https://docs.cloud.google.com/php/docs/reference/cloud-tpu/latest/V2.Symptom.SymptomType). |

### setSymptomType

Type of the Symptom.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [SymptomType](https://docs.cloud.google.com/php/docs/reference/cloud-tpu/latest/V2.Symptom.SymptomType). |

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

### getDetails

Detailed information of the current Symptom.

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

### setDetails

Detailed information of the current Symptom.

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

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

### getWorkerId

A string used to uniquely distinguish a worker within a TPU node.

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

### setWorkerId

A string used to uniquely distinguish a worker within a TPU node.

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

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