WebRisk/src/V1beta1/ComputeThreatListDiffRequest.php
public function setConstraints($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\WebRisk\V1beta1\ComputeThreatListDiffRequest_Constraints::class);
        $this->constraints = $var;

        return $this;
    }
public function setConstraints($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\WebRisk\V1beta1\ComputeThreatListDiffRequest_Constraints::class);
        $this->constraints = $var;

        return $this;
    }
public function setConstraints ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ WebRisk \ V1beta1 \ ComputeThreatListDiffRequest_Constraints :: class ) ; $ this -> constraints = $ var ; return $ this ; }
The constraints associated with this request.

Generated from protobuf field <code>.google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3;</code>
@param \Google\Cloud\WebRisk\V1beta1\ComputeThreatListDiffRequest\Constraints $var
@return $this
The constraints associated with this request .