# Google Cloud Video Live Stream V1 Client - Class TimeSlice (1.4.0)

1.4.0 (latest) 1.3.2 1.2.1 1.1.3 1.0.0 0.7.5 0.6.2 0.5.0 0.4.2 0.3.2 0.2.6 Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class TimeSlice.

TimeSlice represents a tuple of Unix epoch timestamps that specifies a time
range.

Generated from protobuf message `google.cloud.video.livestream.v1.Clip.TimeSlice`

## Namespace

Google \\ Cloud \\ Video \\ LiveStream \\ V1 \\ Clip

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ markin_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The mark-in Unix epoch time in the original live stream manifest. |
| `↳ markout_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The mark-out Unix epoch time in the original live stream manifest. |

### getMarkinTime

The mark-in Unix epoch time in the original live stream manifest.

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

### hasMarkinTime

### clearMarkinTime

### setMarkinTime

The mark-in Unix epoch time in the original live stream manifest.

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

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

### getMarkoutTime

The mark-out Unix epoch time in the original live stream manifest.

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

### hasMarkoutTime

### clearMarkoutTime

### setMarkoutTime

The mark-out Unix epoch time in the original live stream manifest.

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

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