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;
    }