Google Cloud Video Stitcher V1 Client - Class Event (1.0.0)

Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class Event.

Describes an event and a trigger URI.

Generated from protobuf message google.cloud.video.stitcher.v1.Event

Namespace

Google \ Cloud \ Video \ Stitcher \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Describes the event that occurred.

↳ uri string

The URI to trigger for this event.

↳ id string

The ID of the event.

↳ offset Google\Protobuf\Duration

The offset in seconds if the event type is PROGRESS.

getType

Describes the event that occurred.

Returns
Type Description
int

setType

Describes the event that occurred.

Parameter
Name Description
var int
Returns
Type Description
$this

getUri

The URI to trigger for this event.

Returns
Type Description
string

setUri

The URI to trigger for this event.

Parameter
Name Description
var string
Returns
Type Description
$this

getId

The ID of the event.

Returns
Type Description
string

setId

The ID of the event.

Parameter
Name Description
var string
Returns
Type Description
$this

getOffset

The offset in seconds if the event type is PROGRESS.

Returns
Type Description
Google\Protobuf\Duration|null

hasOffset

clearOffset

setOffset

The offset in seconds if the event type is PROGRESS.

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