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

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

        return $this;
    }
public function setQueryTextSentiment ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ Sentiment :: class ) ; $ this -> query_text_sentiment = $ var ; return $ this ; }
The sentiment analysis result for `query_text`.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.Sentiment query_text_sentiment = 1;</code>
@param \Google\Cloud\Dialogflow\V2\Sentiment $var
@return $this
The sentiment analysis result for query_text .