Regular expression pattern defining what qualifies as a hotword.

Generated from protobuf field <code>.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;</code>
@param \Google\Cloud\Dlp\V2\CustomInfoType\Regex $var
@return $this
325434
public function setHotwordRegex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CustomInfoType_Regex::class);
        $this->hotword_regex = $var;

        return $this;
    }
3030
public function setIndex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\Admin\V1\Index::class);
        $this->index = $var;

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

        return $this;
    }
787092
public function setGerrit($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\GerritSourceContext::class);
        $this->writeOneof(3, $var);

        return $this;
    }
253680
public function setQueryList($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\QueryList::class);
        $this->writeOneof(2, $var);

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

        return $this;
    }
109500
public function setTag($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\PartOfSpeech_Tag::class);
        $this->tag = $var;

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

        return $this;
    }
993773
public function setRegex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CustomInfoType_Regex::class);
        $this->writeOneof(2, $var);

        return $this;
    }
437111
public function setRegex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\RegexValidation::class);
        $this->writeOneof(1, $var);

        return $this;
    }
279186
public function setExpressions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\RecordCondition_Expressions::class);
        $this->expressions = $var;

        return $this;
    }
317994
public function setCryptoDeterministicConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CryptoDeterministicConfig::class);
        $this->writeOneof(12, $var);

        return $this;
    }
1206523
public function setRedactConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\RedactConfig::class);
        $this->writeOneof(2, $var);

        return $this;
    }
626165
public function setWebDetection($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\WebDetection::class);
        $this->web_detection = $var;

        return $this;
    }
729297
public function setWords($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\Word::class);
        $this->words = $arr;

        return $this;
    }
853619
public function setField($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\StructuredQuery_FieldReference::class);
        $this->writeOneof(2, $var);

        return $this;
    }
1039814
public function setRoadTraffic($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4beta1\CommuteFilter_RoadTraffic::class);
        $this->writeOneof(5, $var);

        return $this;
    }