@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // TYPE
          return TYPE;
        case 2: // LEVEL
          return LEVEL;
        case 3: // DBNAME
          return DBNAME;
        case 4: // TABLENAME
          return TABLENAME;
        case 5: // PARTITIONNAME
          return PARTITIONNAME;
        case 6: // OPERATION_TYPE
          return OPERATION_TYPE;
        case 7: // IS_TRANSACTIONAL
          return IS_TRANSACTIONAL;
        case 8: // IS_DYNAMIC_PARTITION_WRITE
          return IS_DYNAMIC_PARTITION_WRITE;
        default:
          return null;
      }
    }
Find the _Fields constant that matches fieldId, or null if its not found.
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java