l" class="external-link">Optional</a>&lt;com.google.genai.types.Content&gt;</span>&nbsp;<span class="element-name">userContent</span>()</div>
<div class="block">Returns the user content that initiated this invocation.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="invocationId()">
<h3>invocationId</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/j