WebRisk/src/V1beta1/ComputeThreatListDiffRequest/Constraints.php
public function setSupportedCompressions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\WebRisk\V1beta1\CompressionType::class);
        $this->supported_compressions = $arr;

        return $this;
    }
public function setSupportedCompressions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\WebRisk\V1beta1\CompressionType::class);
        $this->supported_compressions = $arr;

        return $this;
    }
public function setSupportedCompressions ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: ENUM , \ Google \ Cloud \ WebRisk \ V1beta1 \ CompressionType :: class ) ; $ this -> supported_compressions = $ arr ; return $ this ; }
The compression types supported by the client.

Generated from protobuf field <code>repeated .google.cloud.webrisk.v1beta1.CompressionType supported_compressions = 3;</code>
@param int[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The compression types supported by the client .