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

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

        return $this;
    }
public function setPrompts ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: STRING ) ; $ this -> prompts = $ arr ; return $ this ; }
Optional. The collection of prompts that the agent can present to the
user in order to collect value for the parameter.

Generated from protobuf field <code>repeated string prompts = 7;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Optional . The collection of prompts that the agent can present to the user in order to collect value for the parameter .