Google Cloud Video Transcoder V1beta1 Client - Class TextInput (0.9.1)

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

Identifies which input file and track should be used.

Generated from protobuf message google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput

Namespace

Google \ Cloud \ Video \ Transcoder \ V1beta1 \ TextStream \ TextAtom

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key string

Required. The Input.key that identifies the input file.

↳ track int

Required. The zero-based index of the track in the input file.

getKey

Required. The Input.key that identifies the input file.

Returns
TypeDescription
string

setKey

Required. The Input.key that identifies the input file.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTrack

Required. The zero-based index of the track in the input file.

Returns
TypeDescription
int

setTrack

Required. The zero-based index of the track in the input file.

Parameter
NameDescription
var int
Returns
TypeDescription
$this