public function setSorrowLikelihood($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Vision\V1\Likelihood::class);
        $this->sorrow_likelihood = $var;

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

        return $this;
    }
public function setSorrowLikelihood ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Vision \ V1 \ Likelihood :: class ) ; $ this -> sorrow_likelihood = $ var ; return $ this ; }
Sorrow likelihood.

Generated from protobuf field <code>.google.cloud.vision.v1.Likelihood sorrow_likelihood = 10;</code>
@param int $var
@return $this
Sorrow likelihood .