Dialogflow/src/V2/StreamingDetectIntentResponse.php
public function setRecognitionResult($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\StreamingRecognitionResult::class);
        $this->recognition_result = $var;

        return $this;
    }
public function setRecognitionResult($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\StreamingRecognitionResult::class);
        $this->recognition_result = $var;

        return $this;
    }
public function setRecognitionResult ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ StreamingRecognitionResult :: class ) ; $ this -> recognition_result = $ var ; return $ this ; }
The result of speech recognition.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 2;</code>
@param \Google\Cloud\Dialogflow\V2\StreamingRecognitionResult $var
@return $this
The result of speech recognition .