class_docstr: Describe the name and the different resource components of a slot sharing group.
docstr: Gets the task off-heap memory for this SlotSharingGroup.
  
  :return: The task off-heap memory of the SlotSharingGroup.
docstr_tok: ["Gets","the","task","off-heap","memory","for","this","SlotSharingGroup",".",":","return",":","The","task","off-heap","memory","of","the","SlotSharingGroup","."]
code: def get_task_off_heap_memory(self) -> Optional[MemorySize]:
      """
      Gets the task off-heap memory for this SlotSharingGroup.
  
      :return: The task off-heap memory of the SlotSharingGroup.
      """
      task_off_heap_memory = (
          self._j_slot_sharing_group.getTaskOffHeapMemory()
      )
      return (
          MemorySize(task_off_heap_memory.get())
          if task_off_heap_memory.isPresent()
          else None
      )
  
imports: from typing import Optional
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 5 for calling the SlotSharingGroup obj's underlying member method code with example usage: obj.get_task_off_heap_memory() and returns: unknown