# Google Cloud Chronicle V1 Client - Class CompilationPosition (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class CompilationPosition.

CompilationPosition represents the location of a compilation diagnostic in
rule text.

Generated from protobuf message `google.cloud.chronicle.v1.CompilationPosition`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ start_line` | `int` Output only. Start line number, beginning at 1. |
| `↳ start_column` | `int` Output only. Start column number, beginning at 1. |
| `↳ end_line` | `int` Output only. End line number, beginning at 1. |
| `↳ end_column` | `int` Output only. End column number, beginning at 1. |

### getStartLine

Output only. Start line number, beginning at 1.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setStartLine

Output only. Start line number, beginning at 1.

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

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

### getStartColumn

Output only. Start column number, beginning at 1.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setStartColumn

Output only. Start column number, beginning at 1.

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

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

### getEndLine

Output only. End line number, beginning at 1.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setEndLine

Output only. End line number, beginning at 1.

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

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

### getEndColumn

Output only. End column number, beginning at 1.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setEndColumn

Output only. End column number, beginning at 1.

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

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