0.18.0 (latest) 0.17.1 0.16.0 0.15.3 0.12.0 0.11.0 0.10.1 0.9.2 0.8.1 0.7.0 0.6.0 0.5.1 0.4.7 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataform V1 Client class CompilationError.

An error encountered when attempting to compile a Dataform project.

Generated from protobuf message `google.cloud.dataform.v1.CompilationResult.CompilationError`

## Namespace

Google \\ Cloud \\ Dataform \\ V1 \\ CompilationResult

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ message` | `string` Output only. The error's top level message. |
| `↳ stack` | `string` Output only. The error's full stack trace. |
| `↳ path` | `string` Output only. The path of the file where this error occurred, if available, relative to the project root. |
| `↳ action_target` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.Target` Output only. The identifier of the action where this error occurred, if available. |

### getMessage

Output only. The error's top level message.

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

### setMessage

Output only. The error's top level message.

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

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

### getStack

Output only. The error's full stack trace.

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

### setStack

Output only. The error's full stack trace.

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

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

### getPath

Output only. The path of the file where this error occurred, if
available, relative to the project root.

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

### setPath

Output only. The path of the file where this error occurred, if
available, relative to the project root.

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

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

### getActionTarget

Output only. The identifier of the action where this error occurred, if
available.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.Target|null` |   |

### hasActionTarget

### clearActionTarget

### setActionTarget

Output only. The identifier of the action where this error occurred, if
available.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.Target` |

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