# Google Cloud Dms V1 Client - Class TableEntity (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class TableEntity.

Table's parent is a schema.

Generated from protobuf message `google.cloud.clouddms.v1.TableEntity`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ columns` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ColumnEntity>` Table columns. |
| `↳ constraints` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ConstraintEntity>` Table constraints. |
| `↳ indices` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.IndexEntity>` Table indices. |
| `↳ triggers` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.TriggerEntity>` Table triggers. |
| `↳ custom_features` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Struct` Custom engine specific features. |
| `↳ comment` | `string` Comment associated with the table. |

### getColumns

Table columns.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ColumnEntity>` |   |

### setColumns

Table columns.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ColumnEntity>` |

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

### getConstraints

Table constraints.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ConstraintEntity>` |   |

### setConstraints

Table constraints.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ConstraintEntity>` |

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

### getIndices

Table indices.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.IndexEntity>` |   |

### setIndices

Table indices.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.IndexEntity>` |

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

### getTriggers

Table triggers.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.TriggerEntity>` |   |

### setTriggers

Table triggers.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.TriggerEntity>` |

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

### getCustomFeatures

Custom engine specific features.

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

### hasCustomFeatures

### clearCustomFeatures

### setCustomFeatures

Custom engine specific features.

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

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

### getComment

Comment associated with the table.

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

### setComment

Comment associated with the table.

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

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