class SyncRecognizeResponse extends Message

The only message returned to the client by SyncRecognize. It contains the result as zero or more sequential SpeechRecognitionResult messages.

Protobuf type Google\Cloud\Speech\V1beta1\SyncRecognizeResponse

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

at line 40
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 52
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