Google Cloud Video Live Stream V1 Client - Class TimeInterval (1.2.0)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class TimeInterval.

TimeInterval represents a time interval.

Generated from protobuf message google.cloud.video.livestream.v1.TimeInterval

Namespace

Google \ Cloud \ Video \ LiveStream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

Optional. The start time of the interval.

↳ end_time Google\Protobuf\Timestamp

Optional. The end time of the interval.

getStartTime

Optional. The start time of the interval.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Optional. The start time of the interval.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

Optional. The end time of the interval.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Optional. The end time of the interval.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this