public com.google.cloud.videointelligence.v1p1beta1.Likelihood getPornographyLikelihood() {
    @SuppressWarnings("deprecation")
    com.google.cloud.videointelligence.v1p1beta1.Likelihood result =
        com.google.cloud.videointelligence.v1p1beta1.Likelihood.valueOf(pornographyLikelihood_);
    return result == null
        ? com.google.cloud.videointelligence.v1p1beta1.Likelihood.UNRECOGNIZED
        : result;
  }
public com . google . cloud . videointelligence . v1p1beta1 . Likelihood getPornographyLikelihood ( ) { @ SuppressWarnings ( "deprecation" ) com . google . cloud . videointelligence . v1p1beta1 . Likelihood result = com . google . cloud . videointelligence . v1p1beta1 . Likelihood . valueOf ( pornographyLikelihood_ ) ; return result == null ? com . google . cloud . videointelligence . v1p1beta1 . Likelihood . UNRECOGNIZED : result ; }
<pre>
Likelihood of the pornography content..
</pre>

<code>.google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2;</code>