itle="class or interface in java.lang.foreign" class="external-link">MemorySegment</a>&nbsp;fieldValue)</span></div>
<div class="block">Setter for field:
 
<div class="snippet-container"><button class="copy snippet-copy" aria-label="Copy snippet" onclick="copySnippet(this)"><span data-copied="Copied!">Copy</span><img src="../../../../../resource-files/copy.svg" alt="Copy snippet"></button>
<pre class="snippet" id="snippet-parent_instance(java.lang.foreign.MemorySegment,java.lang.foreign.MemorySegment)34"><c