class LongRunningRecognizeRequest extends Message

The top-level message sent by the client for the LongRunningRecognize method.

Protobuf type Google\Cloud\Speech\V1\LongRunningRecognizeRequest

Methods

__construct()

No description

getConfig()

Required Provides information to the recognizer that specifies how to process the request.

setConfig(RecognitionConfig $var)

Required Provides information to the recognizer that specifies how to process the request.

getAudio()

Required The audio data to be recognized.

setAudio(RecognitionAudio $var)

Required The audio data to be recognized.

Details

at line 33
__construct()

at line 45
RecognitionConfig getConfig()

Required Provides information to the recognizer that specifies how to process the request.

Generated from protobuf field .google.cloud.speech.v1.RecognitionConfig config = 1;

Return Value

RecognitionConfig

at line 57
setConfig(RecognitionConfig $var)

Required Provides information to the recognizer that specifies how to process the request.

Generated from protobuf field .google.cloud.speech.v1.RecognitionConfig config = 1;

Parameters

RecognitionConfig $var

at line 69
RecognitionAudio getAudio()

Required The audio data to be recognized.

Generated from protobuf field .google.cloud.speech.v1.RecognitionAudio audio = 2;

Return Value

RecognitionAudio

at line 80
setAudio(RecognitionAudio $var)

Required The audio data to be recognized.

Generated from protobuf field .google.cloud.speech.v1.RecognitionAudio audio = 2;

Parameters

RecognitionAudio $var