public function setAdult($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\VideoIntelligence\V1beta1\Likelihood::class);
        $this->adult = $var;

        return $this;
    }
public function setAdult($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\VideoIntelligence\V1beta1\Likelihood::class);
        $this->adult = $var;

        return $this;
    }
public function setAdult ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ VideoIntelligence \ V1beta1 \ Likelihood :: class ) ; $ this -> adult = $ var ; return $ this ; }
Likelihood of adult content.

Generated from protobuf field <code>.google.cloud.videointelligence.v1beta1.Likelihood adult = 1;</code>
@param int $var
@return $this
Likelihood of adult content .