Dialogflow/src/V2/QueryResult.php
public function setSentimentAnalysisResult($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\SentimentAnalysisResult::class);
        $this->sentiment_analysis_result = $var;

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

        return $this;
    }
public function setSentimentAnalysisResult ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ SentimentAnalysisResult :: class ) ; $ this -> sentiment_analysis_result = $ var ; return $ this ; }
The sentiment analysis result, which depends on the
`sentiment_analysis_request_config` specified in the request.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.SentimentAnalysisResult sentiment_analysis_result = 17;</code>
@param \Google\Cloud\Dialogflow\V2\SentimentAnalysisResult $var
@return $this
The sentiment analysis result which depends on the sentiment_analysis_request_config specified in the request .