Google Cloud Video Transcoder V1 Client - Class EditAtom (0.8.2)

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

Edit atom.

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

Namespace

Google \ Cloud \ Video \ Transcoder \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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 array

List of Input.keys 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
TypeDescription
string

setKey

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInputs

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

The listed inputs must have the same timeline.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInputs

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

The listed inputs must have the same timeline.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$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
TypeDescription
Google\Protobuf\Duration|null

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
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getStartTimeOffset

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

The default is 0s.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasStartTimeOffset

clearStartTimeOffset

setStartTimeOffset

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

The default is 0s.

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