Reference documentation and code samples for the Google Cloud Design Center V1 Client class CodeRange.

CodeRange represents a portion of code.

Generated from protobuf message `google.cloud.designcenter.v1.CodeRange`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ start` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.CodePosition` Output only. Start position. |
| `↳ end` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.CodePosition` Output only. End position. |

### getStart

Output only. Start position.

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

### hasStart

### clearStart

### setStart

Output only. Start position.

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

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

### getEnd

Output only. End position.

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

### hasEnd

### clearEnd

### setEnd

Output only. End position.

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

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