Cloud Text-to-Speech V1 Client - Class SynthesizeLongAudioMetadata (1.12.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
Name Description
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

Deprecated. Do not use.

↳ progress_percentage float

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

getStartTime

Time when the request was received.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Time when the request was received.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLastUpdateTime

Deprecated. Do not use.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastUpdateTime

clearLastUpdateTime

setLastUpdateTime

Deprecated. Do not use.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getProgressPercentage

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

Returns
Type Description
float

setProgressPercentage

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

Parameter
Name Description
var float
Returns
Type Description
$this