Dialogflow/src/V2/Agent.php
public function setMatchMode($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Agent_MatchMode::class);
        $this->match_mode = $var;

        return $this;
    }
public function setMatchMode($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Agent_MatchMode::class);
        $this->match_mode = $var;

        return $this;
    }
public function setMatchMode ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ Agent_MatchMode :: class ) ; $ this -> match_mode = $ var ; return $ this ; }
Optional. Determines how intents are detected from user queries.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.Agent.MatchMode match_mode = 9;</code>
@param int $var
@return $this
Optional . Determines how intents are detected from user queries .