docstr: Gets the number of this parallel subtask. The numbering starts from 0 and goes up to
  parallelism-1 (parallelism as returned by
  :func:`~RuntimeContext.get_number_of_parallel_subtasks`).
docstr_tok: ["Gets","the","number","of","this","parallel","subtask",".","The","numbering","starts","from","0","and","goes","up","to","parallelism-1","(","parallelism","as","returned","by",":","func",":","`","~RuntimeContext.get_number_of_parallel_subtasks","`",")","."]
code: def get_index_of_this_subtask(self) -> int:
      """
      Gets the number of this parallel subtask. The numbering starts from 0 and goes up to
      parallelism-1 (parallelism as returned by
      :func:`~RuntimeContext.get_number_of_parallel_subtasks`).
      """
      return self._runtime_context.getIndexOfThisSubtask()
  
imports: from pyflink.datastream import RuntimeContext
  from pyflink.datastream.state import AggregatingStateDescriptor, AggregatingState, ReducingStateDescriptor, ReducingState, MapStateDescriptor, MapState, ListStateDescriptor, ListState, ValueStateDescriptor, ValueState
  from pyflink.fn_execution.embedded.state_impl import KeyedStateBackend
  from pyflink.fn_execution.metrics.embedded.metric_impl import MetricGroupImpl
  from pyflink.metrics import MetricGroup
label_desc: Use image node_id 5 for calling the StreamingRuntimeContext obj's underlying member method code with example usage: obj.get_index_of_this_subtask() and returns: self