public Builder mergeFrom(
          com.google.cloud.vertexai.api.GenerateContentResponse.PromptFeedback other) {
        if (other
            == com.google.cloud.vertexai.api.GenerateContentResponse.PromptFeedback
                .getDefaultInstance()) return this;
        if (other.blockReason_ != 0) {
          setBlockReasonValue(other.getBlockReasonValue());
        }
        if (safetyRatingsBuilder_ == null) {
          if (!other.safetyRatings_.isEmpty()) {
            if (safetyRatings_.isEmpty()) {
              safetyRatings_ = other.safetyRatings_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureSafetyRatingsIsMutable();
              safetyRatings_.addAll(other.safetyRatings_);
            }
            onChanged();
          }
        } else {
          if (!other.safetyRatings_.isEmpty()) {
            if (safetyRatingsBuilder_.isEmpty()) {
              safetyRatingsBuilder_.dispose();
              safetyRatingsBuilder_ = null;
              safetyRatings_ = other.safetyRatings_;
              bitField0_ = (bitField0_ & ~0x00000002);
              safetyRatingsBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                      ? getSafetyRatingsFieldBuilder()
                      : null;
            } else {
              safetyRatingsBuilder_.addAllMessages(other.safetyRatings_);
            }
          }
        }
        if (!other.getBlockReasonMessage().isEmpty()) {
          blockReasonMessage_ = other.blockReasonMessage_;
          bitField0_ |= 0x00000004;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }
<pre>
Content filter results for a prompt sent in the request.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.GenerateContentResponse.PromptFeedback}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java