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

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

        return $this;
    }
public function setSynonyms ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: STRING ) ; $ this -> synonyms = $ arr ; return $ this ; }
Optional. A list of synonyms that can also be used to trigger this
item in dialog.

Generated from protobuf field <code>repeated string synonyms = 2;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Optional . A list of synonyms that can also be used to trigger this item in dialog .