public boolean hasContent() {
      return sourceCase_ == 1;
    }
<pre>
Document's content represented as a stream of bytes.
</pre>

<code>bytes content = 1;</code>

@return Whether the content field is set.
java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DocumentInputConfig.java