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

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
NameDescription
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
TypeDescription
int

setType

Describes the event that occurred.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getUri

The URI to trigger for this event.

Returns
TypeDescription
string

setUri

The URI to trigger for this event.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getId

The ID of the event.

Returns
TypeDescription
string

setId

The ID of the event.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOffset

The offset in seconds if the event type is PROGRESS.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasOffset

clearOffset

setOffset

The offset in seconds if the event type is PROGRESS.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this