Vision/src/V1/SafeSearchAnnotation.php
public function setAdult($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Vision\V1\Likelihood::class);
        $this->adult = $var;

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

        return $this;
    }
public function setAdult ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Vision \ V1 \ Likelihood :: class ) ; $ this -> adult = $ var ; return $ this ; }
Represents the adult content likelihood for the image. Adult content may
contain elements such as nudity, pornographic images or cartoons, or
sexual activities.

Generated from protobuf field <code>.google.cloud.vision.v1.Likelihood adult = 1;</code>
@param int $var
@return $this
Represents the adult content likelihood for the image . Adult content may contain elements such as nudity pornographic images or cartoons or sexual activities .