# Google Cloud Vision Ai V1 Client - Class RelativeTemporalPartition (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class RelativeTemporalPartition.

Partition of asset in relative time. Supported by VIDEO_ON_DEMAND corpus
type.

Generated from protobuf message `google.cloud.visionai.v1.Partition.RelativeTemporalPartition`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ Partition

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ start_offset` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` Start time offset of the partition. |
| `↳ end_offset` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` End time offset of the partition. |

### getStartOffset

Start time offset of the partition.

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

### hasStartOffset

### clearStartOffset

### setStartOffset

Start time offset of the partition.

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

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

### getEndOffset

End time offset of the partition.

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

### hasEndOffset

### clearEndOffset

### setEndOffset

End time offset of the partition.

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

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