public function setPornographyLikelihood($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\VideoIntelligence\V1\Likelihood::class);
        $this->pornography_likelihood = $var;

        return $this;
    }