code: def to_j_row_kind(self):
      JRowKind = get_gateway().jvm.org.apache.flink.types.RowKind
      return getattr(JRowKind, self.name)
  
imports: from enum import Enum
  from typing import List
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 2 for calling the RowKind obj's underlying member method code with example usage: obj.to_j_row_kind() and returns: getattr