@java.lang.Override
    public com.google.cloud.vertexai.api.HarmCategory getCategory() {
      com.google.cloud.vertexai.api.HarmCategory result =
          com.google.cloud.vertexai.api.HarmCategory.forNumber(category_);
      return result == null ? com.google.cloud.vertexai.api.HarmCategory.UNRECOGNIZED : result;
    }
<pre>
Output only. Harm category.
</pre>

<code>
.google.cloud.vertexai.v1.HarmCategory category = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The category.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetyRating.java