Dialogflow/src/V2/Intent/Message/Text.php
public function setText($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->text = $arr;

        return $this;
    }
public function setText($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->text = $arr;

        return $this;
    }
public function setText ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: STRING ) ; $ this -> text = $ arr ; return $ this ; }
Optional. The collection of the agent's responses.

Generated from protobuf field <code>repeated string text = 1;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Optional . The collection of the agent s responses .