public boolean hasContent() {
      return ((bitField0_ & 0x00000002) != 0);
    }
<pre>
Output only. Content parts of the candidate.
</pre>

<code>
.google.cloud.vertexai.v1.Content content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return Whether the content field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Candidate.java