@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vertexai.api.SafetyRating)) {
      return super.equals(obj);
    }
    com.google.cloud.vertexai.api.SafetyRating other =
        (com.google.cloud.vertexai.api.SafetyRating) obj;

    if (category_ != other.category_) return false;
    if (probability_ != other.probability_) return false;
    if (java.lang.Float.floatToIntBits(getProbabilityScore())
        != java.lang.Float.floatToIntBits(other.getProbabilityScore())) return false;
    if (severity_ != other.severity_) return false;
    if (java.lang.Float.floatToIntBits(getSeverityScore())
        != java.lang.Float.floatToIntBits(other.getSeverityScore())) return false;
    if (getBlocked() != other.getBlocked()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. Indicates whether the content was filtered out because of this
rating.
</pre>

<code>bool blocked = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

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