class AsyncRecognizeMetadata extends Message

Describes the progress of a long-running AsyncRecognize call. It is included in the metadata field of the Operation returned by the GetOperation call of the google::longrunning::Operations service.

Protobuf type Google\Cloud\Speech\V1beta1\AsyncRecognizeMetadata

Methods

__construct()

No description

int
getProgressPercent()

Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.

setProgressPercent(int $var)

Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.

getStartTime()

Time when the request was received.

setStartTime(Timestamp $var)

Time when the request was received.

getLastUpdateTime()

Time of the most recent processing update.

setLastUpdateTime(Timestamp $var)

Time of the most recent processing update.

Details

at line 40
__construct()

at line 52
int getProgressPercent()

Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.

Generated from protobuf field int32 progress_percent = 1;

Return Value

int

at line 64
setProgressPercent(int $var)

Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.

Generated from protobuf field int32 progress_percent = 1;

Parameters

int $var

at line 76
Timestamp getStartTime()

Time when the request was received.

Generated from protobuf field .google.protobuf.Timestamp start_time = 2;

Return Value

Timestamp

at line 87
setStartTime(Timestamp $var)

Time when the request was received.

Generated from protobuf field .google.protobuf.Timestamp start_time = 2;

Parameters

Timestamp $var

at line 99
Timestamp getLastUpdateTime()

Time of the most recent processing update.

Generated from protobuf field .google.protobuf.Timestamp last_update_time = 3;

Return Value

Timestamp

at line 110
setLastUpdateTime(Timestamp $var)

Time of the most recent processing update.

Generated from protobuf field .google.protobuf.Timestamp last_update_time = 3;

Parameters

Timestamp $var