Google Cloud Video Transcoder V1beta1 Client - Class EditAtom (0.10.5)

Reference documentation and code samples for the Google Cloud Video Transcoder V1beta1 Client class EditAtom.

Edit atom.

Generated from protobuf message google.cloud.video.transcoder.v1beta1.EditAtom

Namespace

Google \ Cloud \ Video \ Transcoder \ V1beta1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ key
string

A unique key for this atom. Must be specified when using advanced mapping.

↳ inputs
string[]

List of Input.key s identifying files that should be used in this atom. The listed inputs must have the same timeline.

↳ end_time_offset
Google\Protobuf\Duration

End time in seconds for the atom, relative to the input file timeline. When end_time_offset is not specified, the inputs are used until the end of the atom.

↳ start_time_offset
Google\Protobuf\Duration

Start time in seconds for the atom, relative to the input file timeline. The default is 0s .

getKey

A unique key for this atom. Must be specified when using advanced mapping.

Returns
Type
Description
string

setKey

A unique key for this atom. Must be specified when using advanced mapping.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getInputs

List of Input.key s identifying files that should be used in this atom.

The listed inputs must have the same timeline.

Returns
Type
Description

setInputs

List of Input.key s identifying files that should be used in this atom.

The listed inputs must have the same timeline.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getEndTimeOffset

End time in seconds for the atom, relative to the input file timeline.

When end_time_offset is not specified, the inputs are used until the end of the atom.

Returns
Type
Description

hasEndTimeOffset

clearEndTimeOffset

setEndTimeOffset

End time in seconds for the atom, relative to the input file timeline.

When end_time_offset is not specified, the inputs are used until the end of the atom.

Parameter
Name
Description
Returns
Type
Description
$this

getStartTimeOffset

Start time in seconds for the atom, relative to the input file timeline.

The default is 0s .

Returns
Type
Description

hasStartTimeOffset

clearStartTimeOffset

setStartTimeOffset

Start time in seconds for the atom, relative to the input file timeline.

The default is 0s .

Parameter
Name
Description
Returns
Type
Description
$this