Cloud Text-to-Speech V1 Client - Class SynthesizeLongAudioMetadata (1.6.1)

Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class SynthesizeLongAudioMetadata.

Metadata for response returned by the SynthesizeLongAudio method.

Generated from protobuf message google.cloud.texttospeech.v1.SynthesizeLongAudioMetadata

Namespace

Google \ Cloud \ TextToSpeech \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

Time when the request was received.

↳ last_update_time Google\Protobuf\Timestamp

Time of the most recent processing update.

↳ progress_percentage float

The progress of the most recent processing update in percentage, ie. 70.0%.

getStartTime

Time when the request was received.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Time when the request was received.

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

getLastUpdateTime

Time of the most recent processing update.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLastUpdateTime

clearLastUpdateTime

setLastUpdateTime

Time of the most recent processing update.

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

getProgressPercentage

The progress of the most recent processing update in percentage, ie. 70.0%.

Returns
TypeDescription
float

setProgressPercentage

The progress of the most recent processing update in percentage, ie. 70.0%.

Parameter
NameDescription
var float
Returns
TypeDescription
$this