class AsyncRecognizeResponse extends Message

The only message returned to the client by AsyncRecognize. It contains the result as zero or more sequential SpeechRecognitionResult messages. It is included in the result.response field of the Operation returned by the GetOperation call of the google::longrunning::Operations service.

Protobuf type Google\Cloud\Speech\V1beta1\AsyncRecognizeResponse

Methods

__construct()

No description

RepeatedField
getResults()

Output-only Sequential list of transcription results corresponding to sequential portions of audio.

setResults(array|RepeatedField $var)

Output-only Sequential list of transcription results corresponding to sequential portions of audio.

Details

at line 29
__construct()

at line 41
RepeatedField getResults()

Output-only Sequential list of transcription results corresponding to sequential portions of audio.

Generated from protobuf field repeated .google.cloud.speech.v1beta1.SpeechRecognitionResult results = 2;

Return Value

RepeatedField

at line 53
setResults(array|RepeatedField $var)

Output-only Sequential list of transcription results corresponding to sequential portions of audio.

Generated from protobuf field repeated .google.cloud.speech.v1beta1.SpeechRecognitionResult results = 2;

Parameters

array|RepeatedField $var