class LongRunningRecognizeResponse extends Message

The only message returned to the client by the LongRunningRecognize method.

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\V1\LongRunningRecognizeResponse

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 30
__construct()

at line 42
RepeatedField getResults()

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

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

Return Value

RepeatedField

at line 54
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.v1.SpeechRecognitionResult results = 2;

Parameters

array|RepeatedField $var